EHT: Parse elements received in Management frames
Parse and store pointers to EHT Capabilities and Operation elements received in Management frames. Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com> Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
This commit is contained in:
parent
d54e3d0495
commit
340c0e2122
2 changed files with 12 additions and 0 deletions
|
@ -307,6 +307,14 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen,
|
|||
elems->pasn_params = pos;
|
||||
elems->pasn_params_len = elen;
|
||||
break;
|
||||
case WLAN_EID_EXT_EHT_CAPABILITIES:
|
||||
elems->eht_capabilities = pos;
|
||||
elems->eht_capabilities_len = elen;
|
||||
break;
|
||||
case WLAN_EID_EXT_EHT_OPERATION:
|
||||
elems->eht_operation = pos;
|
||||
elems->eht_operation_len = elen;
|
||||
break;
|
||||
default:
|
||||
if (show_errors) {
|
||||
wpa_printf(MSG_MSGDUMP,
|
||||
|
|
|
@ -117,6 +117,8 @@ struct ieee802_11_elems {
|
|||
const u8 *sae_pk;
|
||||
const u8 *s1g_capab;
|
||||
const u8 *pasn_params;
|
||||
const u8 *eht_capabilities;
|
||||
const u8 *eht_operation;
|
||||
|
||||
u8 ssid_len;
|
||||
u8 supp_rates_len;
|
||||
|
@ -171,6 +173,8 @@ struct ieee802_11_elems {
|
|||
u8 short_ssid_list_len;
|
||||
u8 sae_pk_len;
|
||||
u8 pasn_params_len;
|
||||
u8 eht_capabilities_len;
|
||||
u8 eht_operation_len;
|
||||
|
||||
struct mb_ies_info mb_ies;
|
||||
struct frag_ies_info frag_ies;
|
||||
|
|
Loading…
Reference in a new issue