VHT: Include VHT capabilities and operation elements in parsing
Signed-hostap: Mahesh Palivela <maheshp@posedge.com>
This commit is contained in:
parent
179099e676
commit
74b95d1dc0
2 changed files with 12 additions and 0 deletions
|
@ -253,6 +253,14 @@ ParseRes ieee802_11_parse_elems(const u8 *start, size_t len,
|
||||||
elems->ht_operation = pos;
|
elems->ht_operation = pos;
|
||||||
elems->ht_operation_len = elen;
|
elems->ht_operation_len = elen;
|
||||||
break;
|
break;
|
||||||
|
case WLAN_EID_VHT_CAP:
|
||||||
|
elems->vht_capabilities = pos;
|
||||||
|
elems->vht_capabilities_len = elen;
|
||||||
|
break;
|
||||||
|
case WLAN_EID_VHT_OPERATION:
|
||||||
|
elems->vht_operation = pos;
|
||||||
|
elems->vht_operation_len = elen;
|
||||||
|
break;
|
||||||
case WLAN_EID_LINK_ID:
|
case WLAN_EID_LINK_ID:
|
||||||
if (elen < 18)
|
if (elen < 18)
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -33,6 +33,8 @@ struct ieee802_11_elems {
|
||||||
const u8 *timeout_int;
|
const u8 *timeout_int;
|
||||||
const u8 *ht_capabilities;
|
const u8 *ht_capabilities;
|
||||||
const u8 *ht_operation;
|
const u8 *ht_operation;
|
||||||
|
const u8 *vht_capabilities;
|
||||||
|
const u8 *vht_operation;
|
||||||
const u8 *vendor_ht_cap;
|
const u8 *vendor_ht_cap;
|
||||||
const u8 *p2p;
|
const u8 *p2p;
|
||||||
const u8 *link_id;
|
const u8 *link_id;
|
||||||
|
@ -63,6 +65,8 @@ struct ieee802_11_elems {
|
||||||
u8 timeout_int_len;
|
u8 timeout_int_len;
|
||||||
u8 ht_capabilities_len;
|
u8 ht_capabilities_len;
|
||||||
u8 ht_operation_len;
|
u8 ht_operation_len;
|
||||||
|
u8 vht_capabilities_len;
|
||||||
|
u8 vht_operation_len;
|
||||||
u8 vendor_ht_cap_len;
|
u8 vendor_ht_cap_len;
|
||||||
u8 p2p_len;
|
u8 p2p_len;
|
||||||
u8 interworking_len;
|
u8 interworking_len;
|
||||||
|
|
Loading…
Reference in a new issue