qcacmn: Extend txrx_stats command to print wlan cfg

Add iwpriv <interface> txrx_stats 29 and
iwpriv <interface> txrx_stats 30 to print wlan_cfg
parameters for both soc and pdev.

Change-Id: I666fe4fa999e82e92ea2961ab662e3e629b58bc7
CRs-Fixed: 2331949
Cette révision appartient à :
Venkata Sharath Chandra Manchala
2018-10-09 20:23:02 -07:00
révisé par nshrivas
Parent 068e6b92df
révision f167af18e5
4 fichiers modifiés avec 312 ajouts et 30 suppressions

Voir le fichier

@@ -208,6 +208,24 @@ struct wlan_cfg_dp_soc_ctxt {
bool rxdma1_enable;
};
/**
* struct wlan_cfg_dp_pdev_ctxt - Configuration parameters for pdev (radio)
* @rx_dma_buf_ring_size - Size of RxDMA buffer ring
* @dma_mon_buf_ring_size - Size of RxDMA Monitor buffer ring
* @dma_mon_dest_ring_size - Size of RxDMA Monitor Destination ring
* @dma_mon_status_ring_size - Size of RxDMA Monitor Status ring
* @rxdma_monitor_desc_ring - rxdma monitor desc ring size
*/
struct wlan_cfg_dp_pdev_ctxt {
int rx_dma_buf_ring_size;
int dma_mon_buf_ring_size;
int dma_mon_dest_ring_size;
int dma_mon_status_ring_size;
int rxdma_monitor_desc_ring;
int num_mac_rings;
int nss_enabled;
};
/**
* wlan_cfg_soc_attach() - Attach configuration interface for SoC
* @ctrl_obj - PSOC object