aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-27 01:54:06 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:10 -0500
commit5b5e807fb8b56e31319fe8b27e1b072bb80862a8 (patch)
treecd72cb9c83895ab8533b4551193b193b0fb5e19d /drivers/net/wireless/ipw2200.h
parente62e1ee02900bc315d7aeba55196a78f8f62f1c5 (diff)
ipw2200: do not byteswap struct ipw_associate
keep it little-endian, update places that use its members Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2200.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h
index fae57a9f8be4..fdc187e0769d 100644
--- a/drivers/net/wireless/ipw2200.h
+++ b/drivers/net/wireless/ipw2200.h
@@ -881,20 +881,20 @@ struct ipw_associate {
881 u8 auth_type:4, auth_key:4; 881 u8 auth_type:4, auth_key:4;
882 u8 assoc_type; 882 u8 assoc_type;
883 u8 reserved; 883 u8 reserved;
884 u16 policy_support; 884 __le16 policy_support;
885 u8 preamble_length; 885 u8 preamble_length;
886 u8 ieee_mode; 886 u8 ieee_mode;
887 u8 bssid[ETH_ALEN]; 887 u8 bssid[ETH_ALEN];
888 u32 assoc_tsf_msw; 888 __le32 assoc_tsf_msw;
889 u32 assoc_tsf_lsw; 889 __le32 assoc_tsf_lsw;
890 u16 capability; 890 __le16 capability;
891 u16 listen_interval; 891 __le16 listen_interval;
892 u16 beacon_interval; 892 __le16 beacon_interval;
893 u8 dest[ETH_ALEN]; 893 u8 dest[ETH_ALEN];
894 u16 atim_window; 894 __le16 atim_window;
895 u8 smr; 895 u8 smr;
896 u8 reserved1; 896 u8 reserved1;
897 u16 reserved2; 897 __le16 reserved2;
898} __attribute__ ((packed)); 898} __attribute__ ((packed));
899 899
900struct ipw_supported_rates { 900struct ipw_supported_rates {
@@ -1759,7 +1759,7 @@ enum {
1759#define HC_IBSS_RECONF 4 1759#define HC_IBSS_RECONF 4
1760#define HC_DISASSOC_QUIET 5 1760#define HC_DISASSOC_QUIET 5
1761 1761
1762#define HC_QOS_SUPPORT_ASSOC 0x01 1762#define HC_QOS_SUPPORT_ASSOC cpu_to_le16(0x01)
1763 1763
1764#define IPW_RATE_CAPABILITIES 1 1764#define IPW_RATE_CAPABILITIES 1
1765#define IPW_RATE_CONNECT 0 1765#define IPW_RATE_CONNECT 0