qcacmn: Fix for monitor issues in WKK
Fix for monitor issues in WKK. Change-Id: Ie0dbd39b6a9b0014d85b2bdd58113326ac937ba0 CRs-Fixed: 3109099
This commit is contained in:

committed by
Madan Koyyalamudi

parent
15ee4b1a2a
commit
10c1ced2ac
@@ -5634,11 +5634,16 @@ static void dp_soc_deinit(void *txrx_soc)
|
||||
{
|
||||
struct dp_soc *soc = (struct dp_soc *)txrx_soc;
|
||||
struct htt_soc *htt_soc = soc->htt_handle;
|
||||
struct dp_mon_ops *mon_ops;
|
||||
|
||||
qdf_atomic_set(&soc->cmn_init_done, 0);
|
||||
|
||||
soc->arch_ops.txrx_soc_deinit(soc);
|
||||
|
||||
mon_ops = dp_mon_ops_get(soc);
|
||||
if (mon_ops && mon_ops->mon_soc_deinit)
|
||||
mon_ops->mon_soc_deinit(soc);
|
||||
|
||||
/* free peer tables & AST tables allocated during peer_map_attach */
|
||||
if (soc->peer_map_attach_success) {
|
||||
dp_peer_find_detach(soc);
|
||||
@@ -13037,6 +13042,7 @@ void *dp_soc_init(struct dp_soc *soc, HTC_HANDLE htc_handle,
|
||||
struct hal_reo_params reo_params;
|
||||
uint8_t i;
|
||||
int num_dp_msi;
|
||||
struct dp_mon_ops *mon_ops;
|
||||
|
||||
wlan_minidump_log(soc, sizeof(*soc), soc->ctrl_psoc,
|
||||
WLAN_MD_DP_SOC, "dp_soc");
|
||||
@@ -13197,6 +13203,10 @@ void *dp_soc_init(struct dp_soc *soc, HTC_HANDLE htc_handle,
|
||||
|
||||
soc->features.pn_in_reo_dest = hal_reo_enable_pn_in_dest(soc->hal_soc);
|
||||
|
||||
mon_ops = dp_mon_ops_get(soc);
|
||||
if (mon_ops && mon_ops->mon_soc_init)
|
||||
mon_ops->mon_soc_init(soc);
|
||||
|
||||
qdf_atomic_set(&soc->cmn_init_done, 1);
|
||||
|
||||
qdf_nbuf_queue_init(&soc->htt_stats.msg);
|
||||
|
Reference in New Issue
Block a user