qcacmn: Add support for vendor specific dual protected action frame

Currently, driver does not handle dual protected public(9) action
frame having vendor specific(9) action ID and it drops these
frames.

So, to allow these frame, add enum and check in the target if
layer.

Change-Id: I15d6fefaa794c5a6a3993c2ae013f362bc310eba
CRs-Fixed: 3844645
This commit is contained in:
Rahul Gusain
2024-06-26 14:15:20 +05:30
gecommit door Ravindra Konda
bovenliggende 855046f89d
commit c6727cbd55
2 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen

Bestand weergeven

@@ -327,12 +327,14 @@ enum sa_query_action {
/**
* enum protected_dual_actioncode - protected dual action frames
* @PDPA_ACTION_VENDOR_SPECIFIC: PDPA action vendor specific frame
* @PDPA_GAS_INIT_REQ: pdpa gas init request frame
* @PDPA_GAS_INIT_RSP: pdpa gas init response frame
* @PDPA_GAS_COMEBACK_REQ: pdpa gas comeback request frame
* @PDPA_GAS_COMEBACK_RSP: pdpa gas comeback response frame
*/
enum protected_dual_actioncode {
PDPA_ACTION_VENDOR_SPECIFIC = 9,
PDPA_GAS_INIT_REQ = 10,
PDPA_GAS_INIT_RSP = 11,
PDPA_GAS_COMEBACK_REQ = 12,

Bestand weergeven

@@ -387,6 +387,9 @@ mgmt_get_pdpa_action_subtype(uint8_t action_code)
enum mgmt_frame_type frm_type;
switch (action_code) {
case PDPA_ACTION_VENDOR_SPECIFIC:
frm_type = MGMT_ACTION_VENDOR_SPECIFIC;
break;
case PDPA_GAS_INIT_REQ:
frm_type = MGMT_ACTION_PDPA_GAS_INIT_REQ;
break;