qcacld-3.0: SAP concurrency changes

SAP concurrency changes to support
SBS

Change-Id: I8a509b20ab172bce2df977f69a78f5ec0070535a
CRs-Fixed: 3052123
This commit is contained in:
Utkarsh Bhatnagar
2021-10-08 10:46:17 +05:30
gecommit door Madan Koyyalamudi
bovenliggende cea21cd5c9
commit fb350af4eb
12 gewijzigde bestanden met toevoegingen van 279 en 33 verwijderingen

Bestand weergeven

@@ -976,7 +976,8 @@ sap_validate_chan(struct sap_context *sap_context,
mac_handle,
sap_context->chan_freq,
sap_context->phyMode,
sap_context->cc_switch_mode);
sap_context->cc_switch_mode,
sap_context->sessionId);
sap_debug("After check overlap: sap freq %d con freq:%d",
sap_context->chan_freq, con_ch_freq);
ch_params = sap_context->ch_params;

Bestand weergeven

@@ -454,6 +454,7 @@ uint16_t wlansap_check_cc_intf(struct sap_context *sap_ctx)
struct mac_context *mac;
uint16_t intf_ch_freq;
eCsrPhyMode phy_mode;
uint8_t vdev_id;
mac = sap_get_mac_context();
if (!mac) {
@@ -461,11 +462,13 @@ uint16_t wlansap_check_cc_intf(struct sap_context *sap_ctx)
return 0;
}
phy_mode = sap_ctx->phyMode;
vdev_id = sap_ctx->sessionId;
intf_ch_freq = sme_check_concurrent_channel_overlap(
MAC_HANDLE(mac),
sap_ctx->chan_freq,
phy_mode,
sap_ctx->cc_switch_mode);
sap_ctx->cc_switch_mode,
vdev_id);
return intf_ch_freq;
}
#endif
@@ -3250,14 +3253,14 @@ qdf_freq_t wlansap_get_chan_band_restrict(struct sap_context *sap_ctx,
cc_mode = sap_ctx->cc_switch_mode;
phy_mode = sap_ctx->phyMode;
vdev_id = wlan_vdev_get_id(sap_ctx->vdev);
intf_ch_freq = sme_check_concurrent_channel_overlap(
MAC_HANDLE(mac),
restart_freq,
phy_mode,
cc_mode);
cc_mode, vdev_id);
if (intf_ch_freq)
restart_freq = intf_ch_freq;
vdev_id = sap_ctx->vdev->vdev_objmgr.vdev_id;
sap_debug("vdev: %d, CSA target freq: %d", vdev_id, restart_freq);
return restart_freq;