diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 16742d9b79c0..c56581da9432 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -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; }; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 2e946cdb9b52..370a63ab9db3 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -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; }