qcacld-3.0: Control Pre Punc and UL MU-MIMO feature via INI

Control Preamble Puncturing feature via INI "he_rx_pream_punc"
and UL MU-MIMO feature via INI "enable_ul_mimo".

Change-Id: Ib4d6fd10c9e4f46c1baa5070f94d8dddd4978757
CRs-Fixed: 3305742
此提交包含在:
abhinav kumar
2022-10-14 19:25:12 +05:30
提交者 Madan Koyyalamudi
父節點 b5ed3450a2
當前提交 59426b95be
共有 3 個檔案被更改,包括 18 行新增2 行删除

查看文件

@@ -10722,6 +10722,22 @@ void sme_update_tgt_he_cap(mac_handle_t mac_handle,
&cfg->he_cap_5g,
sizeof(tDot11fIEhe_cap));
if (!mac_ctx->mlme_cfg->he_caps.dot11_he_cap.rx_pream_puncturing) {
sme_debug("feature is disabled via INI, FW caps 2G:%d, 5G:%d",
mac_ctx->he_cap_2g.rx_pream_puncturing,
mac_ctx->he_cap_5g.rx_pream_puncturing);
mac_ctx->he_cap_2g.rx_pream_puncturing = 0;
mac_ctx->he_cap_5g.rx_pream_puncturing = 0;
}
if (!mac_ctx->mlme_cfg->he_caps.enable_ul_mimo) {
sme_debug("feature is disabled via INI, FW caps 2G:%d, 5G:%d",
mac_ctx->he_cap_2g.ul_mu, mac_ctx->he_cap_5g.ul_mu);
mac_ctx->he_cap_2g.ul_mu = 0;
mac_ctx->he_cap_5g.ul_mu = 0;
}
/* modify HE Caps field according to INI setting */
mac_ctx->he_cap_2g.bfee_sts_lt_80 =
QDF_MIN(cfg->he_cap_2g.bfee_sts_lt_80,