提交 e871fb63 编写于 作者: M Maharaja Kennadyrajan 提交者: Kalle Valo

ath10k: fix the Transmit Power Control stats display format

This patch helps to fix TPC stats to display the stats
properly. Here cosmetic change has been done to print the
TPC stats for all the cases 1.CDD 2.STBC 3.TXBF
Signed-off-by: NMaharaja Kennadyrajan <c_mkenna@qti.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 fb7fa766
...@@ -1816,7 +1816,7 @@ static void ath10k_tpc_stats_fill(struct ath10k *ar, ...@@ -1816,7 +1816,7 @@ static void ath10k_tpc_stats_fill(struct ath10k *ar,
tpc_stats->num_tx_chain, tpc_stats->num_tx_chain,
tpc_stats->rate_max); tpc_stats->rate_max);
for (j = 0; j < tpc_stats->num_tx_chain ; j++) { for (j = 0; j < WMI_TPC_FLAG; j++) {
switch (j) { switch (j) {
case WMI_TPC_TABLE_TYPE_CDD: case WMI_TPC_TABLE_TYPE_CDD:
if (tpc_stats->flag[j] == ATH10K_TPC_TABLE_TYPE_FLAG) { if (tpc_stats->flag[j] == ATH10K_TPC_TABLE_TYPE_FLAG) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册