Add RSN overriding elements into IE parsing
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
6b0ce29d25
commit
c16ac89be2
2 changed files with 12 additions and 0 deletions
|
@ -140,6 +140,14 @@ static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen,
|
||||||
elems->sae_pk = pos + 4;
|
elems->sae_pk = pos + 4;
|
||||||
elems->sae_pk_len = elen - 4;
|
elems->sae_pk_len = elen - 4;
|
||||||
break;
|
break;
|
||||||
|
case WFA_RSNE_OVERRIDE_OUI_TYPE:
|
||||||
|
elems->rsne_override = pos;
|
||||||
|
elems->rsne_override_len = elen;
|
||||||
|
break;
|
||||||
|
case WFA_RSNE_OVERRIDE_2_OUI_TYPE:
|
||||||
|
elems->rsne_override_2 = pos;
|
||||||
|
elems->rsne_override_2_len = elen;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
wpa_printf(MSG_MSGDUMP, "Unknown WFA "
|
wpa_printf(MSG_MSGDUMP, "Unknown WFA "
|
||||||
"information element ignored "
|
"information element ignored "
|
||||||
|
|
|
@ -116,6 +116,8 @@ struct ieee802_11_elems {
|
||||||
const u8 *prior_access_mle;
|
const u8 *prior_access_mle;
|
||||||
const u8 *mbssid_known_bss;
|
const u8 *mbssid_known_bss;
|
||||||
const u8 *mbssid;
|
const u8 *mbssid;
|
||||||
|
const u8 *rsne_override;
|
||||||
|
const u8 *rsne_override_2;
|
||||||
|
|
||||||
u8 ssid_len;
|
u8 ssid_len;
|
||||||
u8 supp_rates_len;
|
u8 supp_rates_len;
|
||||||
|
@ -179,6 +181,8 @@ struct ieee802_11_elems {
|
||||||
size_t prior_access_mle_len;
|
size_t prior_access_mle_len;
|
||||||
u8 mbssid_known_bss_len;
|
u8 mbssid_known_bss_len;
|
||||||
u8 mbssid_len;
|
u8 mbssid_len;
|
||||||
|
size_t rsne_override_len;
|
||||||
|
size_t rsne_override_2_len;
|
||||||
|
|
||||||
struct mb_ies_info mb_ies;
|
struct mb_ies_info mb_ies;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue