qcacmn: Add flag to enable CFR capture in Probe response

Add cfr_enable flag in Probe response, so that FW can start CFR
capture for particular client.

Change-Id: Id38b61317384a069308de4931463f1aef4f65f38
CRs-Fixed: 2502030
This commit is contained in:
Abhiram Jogadenu 2019-07-31 11:09:59 +05:30 • committed by nshrivas
commit 9fb7c768c3
2 changed files with 6 additions and 1 deletions

View file

@ -1296,6 +1296,8 @@ struct seg_hdr_info {
* bit 4: if set, HE
* @frame_type: Data or Management frame
* Data:1 Mgmt:0
* @cfr_enable: flag to enable CFR capture
* 0:disable 1:enable
*/
struct tx_send_params {
uint32_t pwr:8,
@ -1306,7 +1308,8 @@ struct tx_send_params {
bw_mask:7,
preamble_type:5,
frame_type:1,
reserved:11;
cfr_enable:1,
reserved:10;
};
/**

View file

@ -3131,6 +3131,8 @@ static inline QDF_STATUS populate_tx_send_params(uint8_t *bufp,
param.preamble_type);
WMI_TX_SEND_PARAM_FRAME_TYPE_SET(tx_param->tx_param_dword1,
param.frame_type);
WMI_TX_SEND_PARAM_CFR_CAPTURE_SET(tx_param->tx_param_dword1,
param.cfr_enable);
return status;
}