qcacld-3.0: Add support for FST Action frames
This is qcacld-2.0 to qcacld-3.0 propagation Currently driver drops the action frame category 18 - FST action frames. This patch adds support for these frames in wlan host code. Change-Id: I7021e328b7ebe9a1e46f526e3928c7d1279e1ad7 CRs-Fixed: 921117
This commit is contained in:

committed by
Satish Singh

parent
544c67ff9f
commit
d457067574
@@ -141,6 +141,7 @@
|
|||||||
#define SIR_MAC_ACTION_MHF 14
|
#define SIR_MAC_ACTION_MHF 14
|
||||||
#define SIR_MAC_SELF_PROTECTED 15
|
#define SIR_MAC_SELF_PROTECTED 15
|
||||||
#define SIR_MAC_ACTION_WME 17
|
#define SIR_MAC_ACTION_WME 17
|
||||||
|
#define SIR_MAC_ACTION_FST 18
|
||||||
#define SIR_MAC_ACTION_VHT 21
|
#define SIR_MAC_ACTION_VHT 21
|
||||||
|
|
||||||
/* QoS management action codes */
|
/* QoS management action codes */
|
||||||
|
@@ -2130,6 +2130,23 @@ void lim_process_action_frame(tpAniSirGlobal mac_ctx,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
case SIR_MAC_ACTION_FST: {
|
||||||
|
tpSirMacMgmtHdr hdr;
|
||||||
|
uint32_t frame_len;
|
||||||
|
|
||||||
|
hdr = WMA_GET_RX_MAC_HEADER(rx_pkt_info);
|
||||||
|
frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info);
|
||||||
|
|
||||||
|
lim_log(mac_ctx, LOG1, FL("Received FST MGMT action frame"));
|
||||||
|
/* Forward to the SME to HDD */
|
||||||
|
lim_send_sme_mgmt_frame_ind(mac_ctx, hdr->fc.subType,
|
||||||
|
(uint8_t *)hdr,
|
||||||
|
frame_len + sizeof(tSirMacMgmtHdr),
|
||||||
|
session->smeSessionId,
|
||||||
|
WMA_GET_RX_CH(rx_pkt_info),
|
||||||
|
session, 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
lim_log(mac_ctx, LOGE,
|
lim_log(mac_ctx, LOGE,
|
||||||
FL("Action category %d not handled"),
|
FL("Action category %d not handled"),
|
||||||
|
Reference in New Issue
Block a user