qcacmn: Disable TLV for PKTLOG LITE
Disable HTT_PPDU_STATS_TX_MGMTCTRL_PAYLOAD_TLV for Pktlog Tx path for MCL only as it is currently a requirement for WIN to keep it enabled. Change-Id: If162384783139613f1bdad1d3820288a7887286d CRs-Fixed: 2182626
This commit is contained in:

committed by
nshrivas

orang tua
1ac430d086
melakukan
0ad4fdafb1
@@ -7165,13 +7165,11 @@ int dp_set_pktlog_wifi3(struct dp_pdev *pdev, uint32_t event,
|
|||||||
*/
|
*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* To enable HTT_H2T_MSG_TYPE_PPDU_STATS_CFG in FW
|
|
||||||
* passing value 0xffff. Once these macros will define
|
|
||||||
* in htt header file will use proper macros
|
|
||||||
*/
|
|
||||||
for (mac_id = 0; mac_id < max_mac_rings; mac_id++) {
|
for (mac_id = 0; mac_id < max_mac_rings; mac_id++) {
|
||||||
pdev->pktlog_ppdu_stats = true;
|
pdev->pktlog_ppdu_stats = true;
|
||||||
dp_h2t_cfg_stats_msg_send(pdev, 0xffff,
|
dp_h2t_cfg_stats_msg_send(pdev,
|
||||||
|
DP_PPDU_TXLITE_STATS_BITMASK_CFG,
|
||||||
pdev->pdev_id + mac_id);
|
pdev->pdev_id + mac_id);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@@ -31,6 +31,10 @@
|
|||||||
* 0 means each tx completion is 1 unit
|
* 0 means each tx completion is 1 unit
|
||||||
*/
|
*/
|
||||||
#define DP_TX_NAPI_BUDGET_DIV_MASK 0
|
#define DP_TX_NAPI_BUDGET_DIV_MASK 0
|
||||||
|
|
||||||
|
/* PPDU Stats Configuration - Configure bitmask for enabling tx ppdu tlv's */
|
||||||
|
#define DP_PPDU_TXLITE_STATS_BITMASK_CFG 0x1FFF
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define MAX_PDEV_CNT 3
|
#define MAX_PDEV_CNT 3
|
||||||
#define WLAN_CFG_INT_NUM_CONTEXTS 4
|
#define WLAN_CFG_INT_NUM_CONTEXTS 4
|
||||||
@@ -39,6 +43,10 @@
|
|||||||
* 0xFFFF means each 64K tx frame completions account for 1 unit of NAPI budget
|
* 0xFFFF means each 64K tx frame completions account for 1 unit of NAPI budget
|
||||||
*/
|
*/
|
||||||
#define DP_TX_NAPI_BUDGET_DIV_MASK 0xFFFF
|
#define DP_TX_NAPI_BUDGET_DIV_MASK 0xFFFF
|
||||||
|
|
||||||
|
/* PPDU Stats Configuration - Configure bitmask for enabling tx ppdu tlv's */
|
||||||
|
#define DP_PPDU_TXLITE_STATS_BITMASK_CFG 0xFFFF
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Tx configuration */
|
/* Tx configuration */
|
||||||
|
Reference in New Issue
Block a user