From: Ilan Peer Date: Wed, 16 Dec 2020 11:00:24 +0000 (+0200) Subject: common: Add PASN parsing to ieee802_11_parse_extension() X-Git-Tag: hostap_2_10~682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6709b4ceb814002ff77acf8b8b43152e27fdb354;p=thirdparty%2Fhostap.git common: Add PASN parsing to ieee802_11_parse_extension() Signed-off-by: Ilan Peer --- diff --git a/src/common/ieee802_11_common.c b/src/common/ieee802_11_common.c index 886b8d0a6..d68419cd8 100644 --- a/src/common/ieee802_11_common.c +++ b/src/common/ieee802_11_common.c @@ -303,6 +303,10 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen, break; elems->he_6ghz_band_cap = pos; break; + case WLAN_EID_EXT_PASN_PARAMS: + elems->pasn_params = pos; + elems->pasn_params_len = elen; + break; default: if (show_errors) { wpa_printf(MSG_MSGDUMP, diff --git a/src/common/ieee802_11_common.h b/src/common/ieee802_11_common.h index 6bbe3b7a3..8a16f1666 100644 --- a/src/common/ieee802_11_common.h +++ b/src/common/ieee802_11_common.h @@ -116,6 +116,7 @@ struct ieee802_11_elems { const u8 *he_6ghz_band_cap; const u8 *sae_pk; const u8 *s1g_capab; + const u8 *pasn_params; u8 ssid_len; u8 supp_rates_len; @@ -169,6 +170,7 @@ struct ieee802_11_elems { u8 he_operation_len; u8 short_ssid_list_len; u8 sae_pk_len; + u8 pasn_params_len; struct mb_ies_info mb_ies; struct frag_ies_info frag_ies;