qcacld-3.0: Set 40MHz capability in HE 2G PHY

Set IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G flag in wiphy
2.4GHz capabilities

Change-Id: Ia142c4c307ea2f7edb9fac018d5be62ca93a3a11
CRs-Fixed: 2693444
This commit is contained in:
Bapiraju Alla 2020-06-08 10:06:32 +05:30 • committed by nshrivas
commit 1e8daa1ec3

View file

@ -2134,6 +2134,8 @@ static void hdd_update_wiphy_he_cap(struct hdd_context *hdd_ctx)
hdd_ctx->iftype_data_2g->he_cap.has_he = he_cap_cfg.present;
band_2g->n_iftype_data = 1;
band_2g->iftype_data = hdd_ctx->iftype_data_2g;
hdd_ctx->iftype_data_2g->he_cap.he_cap_elem.phy_cap_info[0] |=
IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G;
}
if (band_5g) {
hdd_ctx->iftype_data_5g->types_mask =