summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-15 19:25:00 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 16:35:44 +0100
commit9a886586c82aa02cb49f8c85e961595716884545 (patch)
tree915cc9035a0172d93a421025ba1e8bdf871a1502 /drivers/net/wireless/iwlegacy/3945.h
parentnl80211: conditionally add back TCP WoWLAN information (diff)
downloadlinux-9a886586c82aa02cb49f8c85e961595716884545.tar.xz
linux-9a886586c82aa02cb49f8c85e961595716884545.zip
wireless: move sequence number arithmetic to ieee80211.h
Move the sequence number arithmetic code from mac80211 to ieee80211.h so others can use it. Also rename the functions from _seq to _sn, they operate on the sequence number, not the sequence_control field. Also move macros to convert the sequence control to/from the sequence number value from various drivers. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945.h')
-rw-r--r--drivers/net/wireless/iwlegacy/3945.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945.h b/drivers/net/wireless/iwlegacy/3945.h
index 1d45075e0d5b..9a8703def0ba 100644
--- a/drivers/net/wireless/iwlegacy/3945.h
+++ b/drivers/net/wireless/iwlegacy/3945.h
@@ -150,10 +150,6 @@ struct il3945_frame {
struct list_head list;
};
-#define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4)
-#define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ)
-#define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4)
-
#define SUP_RATE_11A_MAX_NUM_CHANNELS 8
#define SUP_RATE_11B_MAX_NUM_CHANNELS 4
#define SUP_RATE_11G_MAX_NUM_CHANNELS 12