qcacld-3.0: Disable UL MIMO feature as per INI

Host update “UL MU-MIMO” bit as HE cap in assoc request
based on below 2 things:
1. "enable_ul_mimo" INI
2. FW capability WMI_HECAP_PHY_ULMUMIMOOFDMA_GET

Fix is to overwrite he_cap->ul_mu feature in assoc request
configured via above FW capability with value of ini
"enable_ul_mimo".

Change-Id: I6ede13ec107a194f11a094ccd954155e859c02ec
CRs-Fixed: 3750038
这个提交包含在:
Abhinav Kumar
2024-03-04 21:47:08 -08:00
提交者 Ravindra Konda
父节点 1b03ebf40c
当前提交 2610e0b2e7
修改 2 个文件,包含 15 行新增4 行删除

查看文件

@@ -1112,7 +1112,15 @@ QDF_STATUS mlme_update_tgt_he_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
mlme_obj->cfg.he_caps.dot11_he_cap.bfee_sts_lt_80 = 0;
mlme_obj->cfg.he_caps.dot11_he_cap.bfee_sts_gt_80 = 0;
}
mlme_obj->cfg.he_caps.dot11_he_cap.ul_mu = he_cap->ul_mu;
if (!mlme_obj->cfg.he_caps.enable_ul_mimo) {
mlme_debug("UL MIMO feature is disabled via ini, fw caps :%d",
he_cap->ul_mu);
mlme_obj->cfg.he_caps.dot11_he_cap.ul_mu = 0;
} else {
mlme_obj->cfg.he_caps.dot11_he_cap.ul_mu = he_cap->ul_mu;
}
mlme_obj->cfg.he_caps.dot11_he_cap.su_feedback_tone16 =
he_cap->su_feedback_tone16;
mlme_obj->cfg.he_caps.dot11_he_cap.mu_feedback_tone16 =