qcacld-3.0: Dump txrx hw ring info during disconnection

Dump the txrx hw ring after a disconnection in STA mode.
This will help in debugging back-pressure issues.

Change-Id: Id4c9a391d6804e5a24a38a77b4cbee9ace0fd999
CRs-Fixed: 2831358
This commit is contained in:
Rakesh Pillai
2020-12-02 19:10:09 +05:30
gecommit door snandini
bovenliggende f678cd3477
commit 83f27ea80d
2 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen

Bestand weergeven

@@ -1544,6 +1544,7 @@ static void hdd_send_association_event(struct net_device *dev,
struct hdd_adapter *adapter = WLAN_HDD_GET_PRIV_PTR(dev);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
ol_txrx_soc_handle soc = cds_get_context(QDF_MODULE_ID_SOC);
union iwreq_data wrqu;
int we_event;
char *msg;
@@ -1695,6 +1696,7 @@ static void hdd_send_association_event(struct net_device *dev,
/* stop timer in sta/p2p_cli */
hdd_bus_bw_compute_reset_prev_txrx_stats(adapter);
hdd_bus_bw_compute_timer_try_stop(hdd_ctx);
cdp_display_txrx_hw_info(soc);
}
hdd_ipa_set_tx_flow_info();

Bestand weergeven

@@ -9546,6 +9546,7 @@ static void hdd_display_periodic_stats(struct hdd_context *hdd_ctx,
QDF_STATS_VERBOSITY_LEVEL_LOW);
wlan_hdd_display_netif_queue_history
(hdd_ctx, QDF_STATS_VERBOSITY_LEVEL_LOW);
cdp_display_txrx_hw_info(soc);
qdf_dp_trace_dump_stats();
}
counter = 0;