qcacld-3.0: Fix EHT IE missing on sta profile

Populate EHT IE based on band of mlo link. Currently
driver only populate it for 2 GHz AP, extend it to 5 GHz
AP as well.

Change-Id: Ib60d6c4f96546f87ec2ea44780e65cd730169b20
CRs-Fixed: 3298778
Bu işleme şunda yer alıyor:
Liangwei Dong
2022-09-20 10:39:46 +08:00
işlemeyi yapan: Madan Koyyalamudi
ebeveyn 501c0b65fd
işleme 6489476382
2 değiştirilmiş dosya ile 7 ekleme ve 0 silme

Dosyayı Görüntüle

@@ -8419,6 +8419,9 @@ lim_revise_req_eht_cap_per_band(struct mlme_legacy_priv *mlme_priv,
if (wlan_reg_is_24ghz_ch_freq(session->curr_op_freq)) {
mlme_priv->eht_config = mac->eht_cap_2g;
pe_debug("revise 2G eht cap");
} else {
mlme_priv->eht_config = mac->eht_cap_5g;
pe_debug("revise 5G eht cap");
}
}

Dosyayı Görüntüle

@@ -8836,6 +8836,7 @@ populate_dot11f_eht_caps_by_band(struct mac_context *mac_ctx,
bool is_2g,
tDot11fIEeht_cap *eht_cap)
{
pe_debug("is_2g %d", is_2g);
if (is_2g)
qdf_mem_copy(eht_cap,
&mac_ctx->eht_cap_2g,
@@ -11478,8 +11479,11 @@ QDF_STATUS populate_dot11f_assoc_req_mlo_ie(struct mac_context *mac_ctx,
pe_err("malloc failed for eht_cap_ie");
}
} else if (frm->eht_cap.present && !eht_caps.present) {
pe_debug("eht non inher");
non_inher_ext_ie_lists[non_inher_ext_len++] =
WLAN_EXTN_ELEMID_EHTCAP;
} else {
pe_debug("eht ie not included");
}
populate_dot11f_non_inheritance(