qcacmn: Fix BW mapping on host and add Tx nss stat

Stats counters for BW were not printed correctly due to difference in
mapping of BW on host and FW.

Also added Tx NSS stats during aggregate vdev stats

Change-Id: I348a5f9f974544ffe17ba403cd64769eff05c9b5
CRs-Fixed: 2203582
这个提交包含在:
Prathyusha Guduri
2018-03-15 11:36:49 +05:30
提交者 nshrivas
父节点 2438a563c5
当前提交 668c22c96b
修改 2 个文件,包含 5 行新增4 行删除

查看文件

@@ -5266,8 +5266,8 @@ dp_print_tx_rates(struct dp_vdev *vdev)
pdev->stats.tx.sgi_count[3]);
DP_PRINT_STATS("BW Counts = 20MHZ %d, 40MHZ %d, 80MHZ %d, 160MHZ %d",
pdev->stats.tx.bw[0], pdev->stats.tx.bw[1],
pdev->stats.tx.bw[2], pdev->stats.tx.bw[3]);
pdev->stats.tx.bw[2], pdev->stats.tx.bw[3],
pdev->stats.tx.bw[4], pdev->stats.tx.bw[5]);
DP_PRINT_STATS("OFDMA = %d", pdev->stats.tx.ofdma);
DP_PRINT_STATS("STBC = %d", pdev->stats.tx.stbc);