aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_common.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-21 03:30:16 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:05 -0500
commit8a9faf3cd08b91aca1502dbe18e3b5063fda2e87 (patch)
tree4588f25ca8cd11833252370c3b0c7566004de050 /drivers/net/wireless/hostap/hostap_common.h
parent3eb9b41f2474c53fe469fbe383955d5aae9e76e4 (diff)
hostap 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/hostap/hostap_common.h')
-rw-r--r--drivers/net/wireless/hostap/hostap_common.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/drivers/net/wireless/hostap/hostap_common.h b/drivers/net/wireless/hostap/hostap_common.h
index 517f89845144..b470c743c2d1 100644
--- a/drivers/net/wireless/hostap/hostap_common.h
+++ b/drivers/net/wireless/hostap/hostap_common.h
@@ -188,10 +188,10 @@
188 188
189struct hfa384x_comp_ident 189struct hfa384x_comp_ident
190{ 190{
191 u16 id; 191 __le16 id;
192 u16 variant; 192 __le16 variant;
193 u16 major; 193 __le16 major;
194 u16 minor; 194 __le16 minor;
195} __attribute__ ((packed)); 195} __attribute__ ((packed));
196 196
197#define HFA384X_COMP_ID_PRI 0x15 197#define HFA384X_COMP_ID_PRI 0x15
@@ -200,33 +200,33 @@ struct hfa384x_comp_ident
200 200
201struct hfa384x_sup_range 201struct hfa384x_sup_range
202{ 202{
203 u16 role; 203 __le16 role;
204 u16 id; 204 __le16 id;
205 u16 variant; 205 __le16 variant;
206 u16 bottom; 206 __le16 bottom;
207 u16 top; 207 __le16 top;
208} __attribute__ ((packed)); 208} __attribute__ ((packed));
209 209
210 210
211struct hfa384x_build_id 211struct hfa384x_build_id
212{ 212{
213 u16 pri_seq; 213 __le16 pri_seq;
214 u16 sec_seq; 214 __le16 sec_seq;
215} __attribute__ ((packed)); 215} __attribute__ ((packed));
216 216
217/* FD01 - Download Buffer */ 217/* FD01 - Download Buffer */
218struct hfa384x_rid_download_buffer 218struct hfa384x_rid_download_buffer
219{ 219{
220 u16 page; 220 __le16 page;
221 u16 offset; 221 __le16 offset;
222 u16 length; 222 __le16 length;
223} __attribute__ ((packed)); 223} __attribute__ ((packed));
224 224
225/* BSS connection quality (RID FD43 range, RID FD51 dBm-normalized) */ 225/* BSS connection quality (RID FD43 range, RID FD51 dBm-normalized) */
226struct hfa384x_comms_quality { 226struct hfa384x_comms_quality {
227 u16 comm_qual; /* 0 .. 92 */ 227 __le16 comm_qual; /* 0 .. 92 */
228 u16 signal_level; /* 27 .. 154 */ 228 __le16 signal_level; /* 27 .. 154 */
229 u16 noise_level; /* 27 .. 154 */ 229 __le16 noise_level; /* 27 .. 154 */
230} __attribute__ ((packed)); 230} __attribute__ ((packed));
231 231
232 232