PASN: PASN Encrypted Data element parsing
Add the PASN Encrypted Data element from IEEE P802.11bh/D6.0 into the element parser. This is needed for P2P2. Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
This commit is contained in:
parent
58cc67c72f
commit
d582f8ce9b
3 changed files with 7 additions and 0 deletions
|
@ -413,6 +413,10 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen,
|
|||
elems->mbssid_known_bss = pos;
|
||||
elems->mbssid_known_bss_len = elen;
|
||||
break;
|
||||
case WLAN_EID_EXT_PASN_ENCRYPTED_DATA:
|
||||
elems->pasn_encrypted_data = pos;
|
||||
elems->pasn_encrypted_data_len = elen;
|
||||
break;
|
||||
default:
|
||||
if (show_errors) {
|
||||
wpa_printf(MSG_MSGDUMP,
|
||||
|
|
|
@ -66,6 +66,7 @@ struct ieee802_11_elems {
|
|||
const u8 *vendor_vht;
|
||||
const u8 *p2p;
|
||||
const u8 *p2p2_ie;
|
||||
const u8 *pasn_encrypted_data;
|
||||
const u8 *wfd;
|
||||
const u8 *link_id;
|
||||
const u8 *interworking;
|
||||
|
@ -141,6 +142,7 @@ struct ieee802_11_elems {
|
|||
u8 vendor_vht_len;
|
||||
u8 p2p_len;
|
||||
u8 p2p2_ie_len;
|
||||
u8 pasn_encrypted_data_len;
|
||||
u8 wfd_len;
|
||||
u8 interworking_len;
|
||||
u8 qos_map_set_len;
|
||||
|
|
|
@ -526,6 +526,7 @@
|
|||
#define WLAN_EID_EXT_QOS_CHARACTERISTICS 113
|
||||
#define WLAN_EID_EXT_AKM_SUITE_SELECTOR 114
|
||||
#define WLAN_EID_EXT_BANDWIDTH_INDICATION 135
|
||||
#define WLAN_EID_EXT_PASN_ENCRYPTED_DATA 140
|
||||
|
||||
/* Extended Capabilities field */
|
||||
#define WLAN_EXT_CAPAB_20_40_COEX 0
|
||||
|
|
Loading…
Add table
Reference in a new issue