diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-09-02 23:26:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-08 14:23:20 -0400 |
commit | 9734cb23a02f8de5fa99225ca61c7019ca9f232f (patch) | |
tree | d5556d4c8f905276e76ac2bc939a8f68e75211f0 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | c90a74bae10dc2a4677d1bd06b6400db229d3e1e (diff) |
iwlwifi: fix host command header according the HW spec
This patch aligns definition of host command with the spec. The
inaccuracies weren't critical though.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index edf3d0f3f9c7..1943de3f7649 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -225,12 +225,6 @@ struct iwl_frame { | |||
225 | struct list_head list; | 225 | struct list_head list; |
226 | }; | 226 | }; |
227 | 227 | ||
228 | #define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf) | ||
229 | #define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8) | ||
230 | #define SEQ_TO_INDEX(x) ((u8)(x & 0xff)) | ||
231 | #define INDEX_TO_SEQ(x) ((u8)(x & 0xff)) | ||
232 | #define SEQ_HUGE_FRAME (0x4000) | ||
233 | #define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000) | ||
234 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) | 228 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) |
235 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) | 229 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) |
236 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) | 230 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) |