MBO: Parse MBO IE in ieee802_11_parse_elems()
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
016082e9e6
commit
f4c74e1360
2 changed files with 7 additions and 0 deletions
|
@ -115,6 +115,11 @@ static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen,
|
||||||
elems->osen = pos;
|
elems->osen = pos;
|
||||||
elems->osen_len = elen;
|
elems->osen_len = elen;
|
||||||
break;
|
break;
|
||||||
|
case MBO_OUI_TYPE:
|
||||||
|
/* MBO-OCE */
|
||||||
|
elems->mbo = pos;
|
||||||
|
elems->mbo_len = elen;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
wpa_printf(MSG_MSGDUMP, "Unknown WFA "
|
wpa_printf(MSG_MSGDUMP, "Unknown WFA "
|
||||||
"information element ignored "
|
"information element ignored "
|
||||||
|
|
|
@ -58,6 +58,7 @@ struct ieee802_11_elems {
|
||||||
const u8 *bss_max_idle_period;
|
const u8 *bss_max_idle_period;
|
||||||
const u8 *ssid_list;
|
const u8 *ssid_list;
|
||||||
const u8 *osen;
|
const u8 *osen;
|
||||||
|
const u8 *mbo;
|
||||||
const u8 *ampe;
|
const u8 *ampe;
|
||||||
const u8 *mic;
|
const u8 *mic;
|
||||||
const u8 *pref_freq_list;
|
const u8 *pref_freq_list;
|
||||||
|
@ -87,6 +88,7 @@ struct ieee802_11_elems {
|
||||||
u8 ext_capab_len;
|
u8 ext_capab_len;
|
||||||
u8 ssid_list_len;
|
u8 ssid_list_len;
|
||||||
u8 osen_len;
|
u8 osen_len;
|
||||||
|
u8 mbo_len;
|
||||||
u8 ampe_len;
|
u8 ampe_len;
|
||||||
u8 mic_len;
|
u8 mic_len;
|
||||||
u8 pref_freq_list_len;
|
u8 pref_freq_list_len;
|
||||||
|
|
Loading…
Reference in a new issue