Преглед изворни кода

qcacmn: remove nss info in host tx stats

TX NSS field is not supported from WMB TX completion ring, remove
the NSS print in host TX stats in case introducing some confusion.

Change-Id: I594eb5cd7b2bf88de14f45ff6ad8e3248eb36617
CRs-Fixed: 2350789
Jinwei Chen пре 6 година
родитељ
комит
a42581d479
1 измењених фајлова са 0 додато и 10 уклоњено
  1. 0 10
      dp/wifi3.0/dp_main.c

+ 0 - 10
dp/wifi3.0/dp_main.c

@@ -7174,9 +7174,6 @@ static inline void
 dp_print_tx_rates(struct dp_vdev *vdev)
 {
 	struct dp_pdev *pdev = (struct dp_pdev *)vdev->pdev;
-	uint8_t index;
-	char nss[DP_NSS_LENGTH];
-	int nss_index;
 
 	DP_PRINT_STATS("Tx Rate Info:\n");
 	dp_print_common_rates_info(pdev->stats.tx.pkt_type);
@@ -7195,13 +7192,6 @@ dp_print_tx_rates(struct dp_vdev *vdev)
 			pdev->stats.tx.bw[0], pdev->stats.tx.bw[1],
 			pdev->stats.tx.bw[2], pdev->stats.tx.bw[3]);
 
-	index = 0;
-	for (nss_index = 0; nss_index < SS_COUNT; nss_index++) {
-		index += qdf_snprint(&nss[index], DP_NSS_LENGTH - index,
-				" %d", pdev->stats.tx.nss[nss_index]);
-	}
-
-	DP_PRINT_STATS("NSS(1-8) = %s", nss);
 	DP_PRINT_STATS("OFDMA = %d", pdev->stats.tx.ofdma);
 	DP_PRINT_STATS("STBC = %d", pdev->stats.tx.stbc);
 	DP_PRINT_STATS("LDPC = %d", pdev->stats.tx.ldpc);