diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-12-22 13:45:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:11 -0500 |
commit | 0e5ce1f33049a823f508f4a3f53ba186b12396b8 (patch) | |
tree | 1bd83ce139e0531d38947d1aa95670f5eca3b826 /drivers/net/wireless/atmel.c | |
parent | 5b5e807fb8b56e31319fe8b27e1b072bb80862a8 (diff) |
misc wireless annotations
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/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 32fbaf20d272..63ec7a70ee76 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -2675,9 +2675,9 @@ static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
2675 | } | 2675 | } |
2676 | 2676 | ||
2677 | struct auth_body { | 2677 | struct auth_body { |
2678 | u16 alg; | 2678 | __le16 alg; |
2679 | u16 trans_seq; | 2679 | __le16 trans_seq; |
2680 | u16 status; | 2680 | __le16 status; |
2681 | u8 el_id; | 2681 | u8 el_id; |
2682 | u8 chall_text_len; | 2682 | u8 chall_text_len; |
2683 | u8 chall_text[253]; | 2683 | u8 chall_text[253]; |
@@ -2712,9 +2712,9 @@ static void atmel_scan(struct atmel_private *priv, int specific_ssid) | |||
2712 | u8 SSID[MAX_SSID_LENGTH]; | 2712 | u8 SSID[MAX_SSID_LENGTH]; |
2713 | u8 scan_type; | 2713 | u8 scan_type; |
2714 | u8 channel; | 2714 | u8 channel; |
2715 | u16 BSS_type; | 2715 | __le16 BSS_type; |
2716 | u16 min_channel_time; | 2716 | __le16 min_channel_time; |
2717 | u16 max_channel_time; | 2717 | __le16 max_channel_time; |
2718 | u8 options; | 2718 | u8 options; |
2719 | u8 SSID_size; | 2719 | u8 SSID_size; |
2720 | } cmd; | 2720 | } cmd; |
@@ -2757,7 +2757,7 @@ static void join(struct atmel_private *priv, int type) | |||
2757 | u8 SSID[MAX_SSID_LENGTH]; | 2757 | u8 SSID[MAX_SSID_LENGTH]; |
2758 | u8 BSS_type; /* this is a short in a scan command - weird */ | 2758 | u8 BSS_type; /* this is a short in a scan command - weird */ |
2759 | u8 channel; | 2759 | u8 channel; |
2760 | u16 timeout; | 2760 | __le16 timeout; |
2761 | u8 SSID_size; | 2761 | u8 SSID_size; |
2762 | u8 reserved; | 2762 | u8 reserved; |
2763 | } cmd; | 2763 | } cmd; |
@@ -2862,8 +2862,8 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc) | |||
2862 | int bodysize; | 2862 | int bodysize; |
2863 | struct ieee80211_hdr_4addr header; | 2863 | struct ieee80211_hdr_4addr header; |
2864 | struct ass_req_format { | 2864 | struct ass_req_format { |
2865 | u16 capability; | 2865 | __le16 capability; |
2866 | u16 listen_interval; | 2866 | __le16 listen_interval; |
2867 | u8 ap[6]; /* nothing after here directly accessible */ | 2867 | u8 ap[6]; /* nothing after here directly accessible */ |
2868 | u8 ssid_el_id; | 2868 | u8 ssid_el_id; |
2869 | u8 ssid_len; | 2869 | u8 ssid_len; |
@@ -3084,9 +3084,9 @@ static void authenticate(struct atmel_private *priv, u16 frame_len) | |||
3084 | static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype) | 3084 | static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype) |
3085 | { | 3085 | { |
3086 | struct ass_resp_format { | 3086 | struct ass_resp_format { |
3087 | u16 capability; | 3087 | __le16 capability; |
3088 | u16 status; | 3088 | __le16 status; |
3089 | u16 ass_id; | 3089 | __le16 ass_id; |
3090 | u8 el_id; | 3090 | u8 el_id; |
3091 | u8 length; | 3091 | u8 length; |
3092 | u8 rates[4]; | 3092 | u8 rates[4]; |
@@ -3293,9 +3293,9 @@ static void atmel_management_frame(struct atmel_private *priv, | |||
3293 | never let an engineer loose with a data structure design. */ | 3293 | never let an engineer loose with a data structure design. */ |
3294 | { | 3294 | { |
3295 | struct beacon_format { | 3295 | struct beacon_format { |
3296 | u64 timestamp; | 3296 | __le64 timestamp; |
3297 | u16 interval; | 3297 | __le16 interval; |
3298 | u16 capability; | 3298 | __le16 capability; |
3299 | u8 ssid_el_id; | 3299 | u8 ssid_el_id; |
3300 | u8 ssid_length; | 3300 | u8 ssid_length; |
3301 | /* ssid here */ | 3301 | /* ssid here */ |