aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-04-07 22:32:28 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-07 22:32:28 (GMT)
commitf6ce70dc0d53ecb5df8af08a36d2379370129b56 (patch)
tree44d412910d0aa9ebbefc1717438a80b9a7162345 /wpa_supplicant/wnm_sta.h
parente9cb7b9275951c1b7f70aba2d83fec91f4923f1b (diff)
downloadhostap-f6ce70dc0d53ecb5df8af08a36d2379370129b56.zip
hostap-f6ce70dc0d53ecb5df8af08a36d2379370129b56.tar.gz
hostap-f6ce70dc0d53ecb5df8af08a36d2379370129b56.tar.bz2
WNM: Fix neighbor report subelement formats
Number of of subelements were using incorrect format definition. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
-rw-r--r--wpa_supplicant/wnm_sta.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h
index de87301..e34522a 100644
--- a/wpa_supplicant/wnm_sta.h
+++ b/wpa_supplicant/wnm_sta.h
@@ -27,7 +27,7 @@ struct bss_transition_candidate {
struct bss_termination_duration {
u8 present;
- u8 duration[12];
+ u8 duration[10];
};
struct bearing {
@@ -38,20 +38,20 @@ struct bearing {
struct measurement_pilot {
u8 present;
u8 measurement_pilot;
- u8 num_vendor_specific;
- u8 vendor_specific[255];
+ u8 subelem_len;
+ u8 subelems[255];
};
struct rrm_enabled_capabilities {
u8 present;
- u8 capabilities[4];
+ u8 capabilities[5];
};
struct multiple_bssid {
u8 present;
u8 max_bssid_indicator;
- u8 num_vendor_specific;
- u8 vendor_specific[255];
+ u8 subelem_len;
+ u8 subelems[255];
};
struct neighbor_report {