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:
Venkata Sharath Chandra Manchala
2018-03-01 13:45:46 -08:00
zatwierdzone przez nshrivas
rodzic 1ac430d086
commit 0ad4fdafb1
2 zmienionych plików z 11 dodań i 5 usunięć

Wyświetl plik

@@ -7165,13 +7165,11 @@ int dp_set_pktlog_wifi3(struct dp_pdev *pdev, uint32_t event,
*/
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++) {
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);
}
break;

Wyświetl plik

@@ -31,6 +31,10 @@
* 0 means each tx completion is 1 unit
*/
#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
#define MAX_PDEV_CNT 3
#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
*/
#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
/* Tx configuration */