qcacld-3.0: Issue disconnect for STA if new interface is Mon intf

Currently, when Rx monitor mode interface is coming up, STA is
not disconnected causing RXDMA ring to be used as both error ring
and destination ring. This is causing backpressure in RXDMA ring.
To fix this, issue disconnect for STA when Rx monitor mode is
being added.

Change-Id: I95e73edd80472a8aae9092ebdbce5e514b1cd531
CRs-Fixed: 3799325
This commit is contained in:
Ananya Gupta
2024-05-08 13:09:03 +05:30
committed by Ravindra Konda
parent d05999febd
commit 25b2dea7fd
6 changed files with 31 additions and 15 deletions

View File

@@ -76,17 +76,16 @@ void wlan_dp_set_fisa_dynamic_aggr_size_support(bool dynamic_aggr_size_support);
#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
/**
* wlan_dp_is_local_pkt_capture_enabled() - Get local packet capture config
* wlan_dp_is_local_pkt_capture_active() - Get local packet capture config
* @psoc: pointer to psoc object
*
* Return: true if local packet capture is enabled from ini
* false otherwise
* Return: true if local packet capture is active, false otherwise
*/
bool
wlan_dp_is_local_pkt_capture_enabled(struct wlan_objmgr_psoc *psoc);
wlan_dp_is_local_pkt_capture_active(struct wlan_objmgr_psoc *psoc);
#else
static inline bool
wlan_dp_is_local_pkt_capture_enabled(struct wlan_objmgr_psoc *psoc)
wlan_dp_is_local_pkt_capture_active(struct wlan_objmgr_psoc *psoc)
{
return false;
}