|
@@ -265,6 +265,10 @@ static void lim_handle_join_rsp_status(tpAniSirGlobal mac_ctx,
|
|
|
tpPESession session_entry, tSirResultCodes result_code,
|
|
|
tpSirSmeJoinRsp sme_join_rsp)
|
|
|
{
|
|
|
+ uint16_t bss_ie_len;
|
|
|
+ void *bss_ies;
|
|
|
+ bool is_vendor_ap_1_present;
|
|
|
+
|
|
|
#ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
|
|
|
tSirSmeHTProfile *ht_profile;
|
|
|
#endif
|
|
@@ -361,6 +365,24 @@ static void lim_handle_join_rsp_status(tpAniSirGlobal mac_ctx,
|
|
|
ht_profile->apChanWidth = session_entry->ch_width;
|
|
|
}
|
|
|
#endif
|
|
|
+ bss_ie_len = lim_get_ielen_from_bss_description(
|
|
|
+ &session_entry->pLimJoinReq->bssDescription);
|
|
|
+ bss_ies = &session_entry->pLimJoinReq->bssDescription.ieFields;
|
|
|
+ is_vendor_ap_1_present = (cfg_get_vendor_ie_ptr_from_oui(mac_ctx,
|
|
|
+ SIR_MAC_VENDOR_AP_1_OUI, SIR_MAC_VENDOR_AP_1_OUI_LEN,
|
|
|
+ bss_ies, bss_ie_len) != NULL);
|
|
|
+
|
|
|
+ if (mac_ctx->roam.configParam.is_force_1x1 &&
|
|
|
+ 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,
|
|
|
+ (int)WMI_VDEV_PARAM_SMPS_INTOLERANT,
|
|
|
+ 1, VDEV_CMD);
|
|
|
+
|
|
|
+ }
|
|
|
} else {
|
|
|
if (session_entry->beacon != NULL) {
|
|
|
qdf_mem_free(session_entry->beacon);
|