qcacmn: Add support to handle vendor specific protected action frame

Host add support to handle action frames with category field
ACTION_CATEGORY_VENDOR_SPECIFIC_PROTECTED(vendor specific
protected action frames).

Change-Id: Iae105fe7c5c37438b29d9b2bc135961f795c5ab8
CRs-Fixed: 3262366
This commit is contained in:
Surabhi Vishnoi 2021-03-11 12:29:49 +05:30 • committed by Madan Koyyalamudi
commit bb50ad7900
2 changed files with 7 additions and 1 deletions

View file

@ -530,7 +530,9 @@ struct action_frm_hdr {
* @MGMT_ACTION_BA_ADDBA_RESPONSE: ADDBA response action frame
* @MGMT_ACTION_BA_DELBA: DELBA action frame
* @MGMT_ACTION_2040_BSS_COEXISTENCE: 20-40 bss coex action frame
* @MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC: category vendor spcific action frame
* @MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC: category vendor specific action frame
* @MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC_PROTECTED: category vendor specific
* protected action frame
* @MGMT_ACTION_EXT_CHANNEL_SWITCH_ID: ext channel switch id action frame
* @MGMT_ACTION_VENDOR_SPECIFIC: vendor specific action frame
* @MGMT_ACTION_TDLS_DISCRESP: TDLS discovery response frame
@ -657,6 +659,7 @@ enum mgmt_frame_type {
MGMT_ACTION_BA_DELBA,
MGMT_ACTION_2040_BSS_COEXISTENCE,
MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC,
MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC_PROTECTED,
MGMT_ACTION_EXT_CHANNEL_SWITCH_ID,
MGMT_ACTION_VENDOR_SPECIFIC,
MGMT_ACTION_TDLS_DISCRESP,

View file

@ -871,6 +871,9 @@ mgmt_txrx_get_action_frm_subtype(uint8_t *mpdu_data_ptr)
case ACTION_CATEGORY_VENDOR_SPECIFIC:
frm_type = MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC;
break;
case ACTION_CATEGORY_VENDOR_SPECIFIC_PROTECTED:
frm_type = MGMT_ACTION_CATEGORY_VENDOR_SPECIFIC_PROTECTED;
break;
case ACTION_CATEGORY_FST:
frm_type = mgmt_get_fst_action_subtype(action_hdr->action_code);
break;