common: Add PASN parsing to ieee802_11_parse_extension()

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
Ilan Peer 2020-12-16 13:00:24 +02:00 committed by Jouni Malinen
parent 46bfc3a849
commit 6709b4ceb8
2 changed files with 6 additions and 0 deletions

View file

@ -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,

View file

@ -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;