mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-19 11:11:26 -04:00
qcacld-3.0: Bring back changes of Antenna sharing for STA
Change-id Iafd5666179d079c7bcc950277092cef3046356bf was added to remove antenna sharing support from SAP and STA case but customer needs those changes for SAP case only. So bringing back changes for STA case. CRs-Fixed: 2117829 Change-Id: I79f7c5ae1fd642f0b26170f066a5409638cdd873
This commit is contained in:
parent
f8800692cd
commit
e6a1cda95e
6 changed files with 10 additions and 3 deletions
|
|
@ -933,6 +933,7 @@ typedef struct sAniSirGlobal {
|
|||
|
||||
csr_readyToSuspendCallback readyToSuspendCallback;
|
||||
void *readyToSuspendContext;
|
||||
uint8_t lteCoexAntShare;
|
||||
uint8_t beacon_offload;
|
||||
bool pmf_offload;
|
||||
uint32_t fEnableDebugLog;
|
||||
|
|
|
|||
|
|
@ -293,6 +293,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
|||
|
||||
if (mac_ctx->roam.configParam.is_force_1x1 &&
|
||||
is_vendor_ap_present &&
|
||||
mac_ctx->lteCoexAntShare &&
|
||||
IS_24G_CH(session->currentOperChannel)) {
|
||||
session->supported_nss_1x1 = true;
|
||||
session->vdev_nss = 1;
|
||||
|
|
|
|||
|
|
@ -389,8 +389,9 @@ static void lim_handle_join_rsp_status(tpAniSirGlobal mac_ctx,
|
|||
bss_ies, bss_ie_len) != NULL);
|
||||
|
||||
if (mac_ctx->roam.configParam.is_force_1x1 &&
|
||||
is_vendor_ap_1_present && (session_entry->nss == 2) &&
|
||||
IS_5G_CH(session_entry->currentOperChannel)) {
|
||||
is_vendor_ap_1_present && (session_entry->nss == 2) &&
|
||||
(mac_ctx->lteCoexAntShare == 0 ||
|
||||
IS_5G_CH(session_entry->currentOperChannel))) {
|
||||
/* SET vdev param */
|
||||
pe_debug("sending SMPS intolrent vdev_param");
|
||||
wma_cli_set_command(session_entry->smeSessionId,
|
||||
|
|
|
|||
|
|
@ -14251,6 +14251,7 @@ void sme_update_tgt_services(tHalHandle hal, struct wma_tgt_services *cfg)
|
|||
{
|
||||
tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal);
|
||||
|
||||
mac_ctx->lteCoexAntShare = cfg->lte_coex_ant_share;
|
||||
mac_ctx->beacon_offload = cfg->beacon_offload;
|
||||
mac_ctx->pmf_offload = cfg->pmf_offload;
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
* @early_rx: early rx
|
||||
* @pno_offload: pno offload
|
||||
* @beacon_offload: beacon offload
|
||||
* @lte_coex_ant_share: LTE coex ant share
|
||||
* @en_tdls: enable tdls
|
||||
* @en_tdls_offchan: enable tdls offchan
|
||||
* @en_tdls_uapsd_buf_sta: enable sta tdls uapsd buf
|
||||
|
|
@ -57,6 +58,7 @@ struct wma_tgt_services {
|
|||
#endif /* FEATURE_WLAN_SCAN_PNO */
|
||||
bool beacon_offload;
|
||||
bool pmf_offload;
|
||||
uint32_t lte_coex_ant_share;
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
bool en_tdls;
|
||||
bool en_tdls_offchan;
|
||||
|
|
|
|||
|
|
@ -4074,7 +4074,8 @@ static inline void wma_update_target_services(tp_wma_handle wh,
|
|||
if (WMI_SERVICE_IS_ENABLED(wh->wmi_service_bitmap, WMI_SERVICE_EXTSCAN))
|
||||
g_fw_wlan_feat_caps |= (1 << EXTENDED_SCAN);
|
||||
#endif /* FEATURE_WLAN_EXTSCAN */
|
||||
|
||||
cfg->lte_coex_ant_share = WMI_SERVICE_IS_ENABLED(wh->wmi_service_bitmap,
|
||||
WMI_SERVICE_LTE_ANT_SHARE_SUPPORT);
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
/* Enable TDLS */
|
||||
if (WMI_SERVICE_IS_ENABLED(wh->wmi_service_bitmap, WMI_SERVICE_TDLS)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue