aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-03 19:00:38 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-03 19:00:38 (GMT)
commit2eba45c8de1a22a419b12a815d5beae82bd80fad (patch)
treef081e1e37824d50a18e63df634b12bb7bbf05620 /hostapd/wpa.h
parent5306f43fc3967da86728d28a6bc53f1b74dc3ae6 (diff)
downloadhostap-06-2eba45c8de1a22a419b12a815d5beae82bd80fad.zip
hostap-06-2eba45c8de1a22a419b12a815d5beae82bd80fad.tar.gz
hostap-06-2eba45c8de1a22a419b12a815d5beae82bd80fad.tar.bz2
Added endianness annotation for sparse
Diffstat (limited to 'hostapd/wpa.h')
-rw-r--r--hostapd/wpa.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hostapd/wpa.h b/hostapd/wpa.h
index 44cb92d..d353844 100644
--- a/hostapd/wpa.h
+++ b/hostapd/wpa.h
@@ -27,7 +27,7 @@
struct ft_rrb_frame {
u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
u8 packet_type; /* FT_PACKET_REQUEST/FT_PACKET_RESPONSE */
- u16 action_length; /* little endian length of action_frame */
+ le16 action_length; /* little endian length of action_frame */
u8 ap_address[ETH_ALEN];
/*
* Followed by action_length bytes of FT Action frame (from Category
@@ -55,7 +55,7 @@ struct ft_rrb_frame {
struct ft_r0kh_r1kh_pull_frame {
u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
u8 packet_type; /* FT_PACKET_R0KH_R1KH_PULL */
- u16 data_length; /* little endian length of data (44) */
+ le16 data_length; /* little endian length of data (44) */
u8 ap_address[ETH_ALEN];
u8 nonce[16];
@@ -69,7 +69,7 @@ struct ft_r0kh_r1kh_pull_frame {
struct ft_r0kh_r1kh_resp_frame {
u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
u8 packet_type; /* FT_PACKET_R0KH_R1KH_RESP */
- u16 data_length; /* little endian length of data (76) */
+ le16 data_length; /* little endian length of data (76) */
u8 ap_address[ETH_ALEN];
u8 nonce[16]; /* copied from pull */
@@ -84,7 +84,7 @@ struct ft_r0kh_r1kh_resp_frame {
struct ft_r0kh_r1kh_push_frame {
u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
u8 packet_type; /* FT_PACKET_R0KH_R1KH_PUSH */
- u16 data_length; /* little endian length of data (80) */
+ le16 data_length; /* little endian length of data (80) */
u8 ap_address[ETH_ALEN];
/* Encrypted with AES key-wrap */