|
@@ -6505,6 +6505,44 @@ dp_get_host_peer_stats(struct cdp_pdev *pdev_handle, char *mac_addr)
|
|
|
dp_peer_rxtid_stats(peer, dp_rx_tid_stats_cb, NULL);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * dp_txrx_stats_help() - Helper function for Txrx_Stats
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+static void dp_txrx_stats_help(void)
|
|
|
+{
|
|
|
+ dp_info("Command: iwpriv wlan0 txrx_stats <stats_option> <mac_id>");
|
|
|
+ dp_info("stats_option:");
|
|
|
+ dp_info(" 1 -- HTT Tx Statistics");
|
|
|
+ dp_info(" 2 -- HTT Rx Statistics");
|
|
|
+ dp_info(" 3 -- HTT Tx HW Queue Statistics");
|
|
|
+ dp_info(" 4 -- HTT Tx HW Sched Statistics");
|
|
|
+ dp_info(" 5 -- HTT Error Statistics");
|
|
|
+ dp_info(" 6 -- HTT TQM Statistics");
|
|
|
+ dp_info(" 7 -- HTT TQM CMDQ Statistics");
|
|
|
+ dp_info(" 8 -- HTT TX_DE_CMN Statistics");
|
|
|
+ dp_info(" 9 -- HTT Tx Rate Statistics");
|
|
|
+ dp_info(" 10 -- HTT Rx Rate Statistics");
|
|
|
+ dp_info(" 11 -- HTT Peer Statistics");
|
|
|
+ dp_info(" 12 -- HTT Tx SelfGen Statistics");
|
|
|
+ dp_info(" 13 -- HTT Tx MU HWQ Statistics");
|
|
|
+ dp_info(" 14 -- HTT RING_IF_INFO Statistics");
|
|
|
+ dp_info(" 15 -- HTT SRNG Statistics");
|
|
|
+ dp_info(" 16 -- HTT SFM Info Statistics");
|
|
|
+ dp_info(" 17 -- HTT PDEV_TX_MU_MIMO_SCHED INFO Statistics");
|
|
|
+ dp_info(" 18 -- HTT Peer List Details");
|
|
|
+ dp_info(" 20 -- Clear Host Statistics");
|
|
|
+ dp_info(" 21 -- Host Rx Rate Statistics");
|
|
|
+ dp_info(" 22 -- Host Tx Rate Statistics");
|
|
|
+ dp_info(" 23 -- Host Tx Statistics");
|
|
|
+ dp_info(" 24 -- Host Rx Statistics");
|
|
|
+ dp_info(" 25 -- Host AST Statistics");
|
|
|
+ dp_info(" 26 -- Host SRNG PTR Statistics");
|
|
|
+ dp_info(" 27 -- Host Mon Statistics");
|
|
|
+ dp_info(" 28 -- Host REO Queue Statistics");
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* dp_print_host_stats()- Function to print the stats aggregated at host
|
|
|
* @vdev_handle: DP_VDEV handle
|
|
@@ -6564,7 +6602,8 @@ dp_print_host_stats(struct cdp_vdev *vdev_handle,
|
|
|
dp_get_host_peer_stats((struct cdp_pdev *)pdev, req->peer_addr);
|
|
|
break;
|
|
|
default:
|
|
|
- DP_TRACE(FATAL, "Wrong Input For TxRx Host Stats");
|
|
|
+ dp_info("Wrong Input For TxRx Host Stats");
|
|
|
+ dp_txrx_stats_help();
|
|
|
break;
|
|
|
}
|
|
|
return 0;
|