qcacld-3.0: Add bearer switch request in connect path

If LL_LT_SAP is already present and if STA tries to
come up on same mac, then it may result in data loss
on LL_LT_SAP as STA will need ROC on the connection
channel for some time, to avoid these data loss during
STA connection, add logic to switch the bearer for LL_LT_SAP
data to non-wlan and once connection completes, switch back
the bearer to wlan.

Change-Id: I7ace6c6f4f41548ec112882dc81be6c6b5a4eae0
CRs-Fixed: 3627656
This commit is contained in:
Ashish Kumar Dhanotiya
2023-09-28 01:00:51 +05:30
committed by Rahul Choudhary
parent b74949ee0f
commit 0afa4fa7e5
6 changed files with 227 additions and 38 deletions

View File

@@ -39,6 +39,7 @@
#include "wlan_vdev_mgr_utils_api.h"
#include "wlan_tdls_api.h"
#include "wlan_mlo_mgr_link_switch.h"
#include "wlan_ll_sap_api.h"
QDF_STATUS if_mgr_connect_start(struct wlan_objmgr_vdev *vdev,
struct if_mgr_event_data *event_data)
@@ -189,6 +190,8 @@ QDF_STATUS if_mgr_connect_complete(struct wlan_objmgr_vdev *vdev,
policy_mgr_check_concurrent_intf_and_restart_sap(psoc,
wlan_util_vdev_mgr_get_acs_mode_for_vdev(vdev));
wlan_ll_sap_switch_bearer_on_sta_connect_complete(psoc, vdev_id);
return QDF_STATUS_SUCCESS;
}