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
Cette révision appartient à :
Naveen Rawat
2015-11-13 09:58:27 -08:00
révisé par Satish Singh
Parent 544c67ff9f
révision d457067574
2 fichiers modifiés avec 18 ajouts et 0 suppressions

Voir le fichier

@@ -141,6 +141,7 @@
#define SIR_MAC_ACTION_MHF 14
#define SIR_MAC_SELF_PROTECTED 15
#define SIR_MAC_ACTION_WME 17
#define SIR_MAC_ACTION_FST 18
#define SIR_MAC_ACTION_VHT 21
/* QoS management action codes */

Voir le fichier

@@ -2130,6 +2130,23 @@ void lim_process_action_frame(tpAniSirGlobal mac_ctx,
}
break;
#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:
lim_log(mac_ctx, LOGE,
FL("Action category %d not handled"),