Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5400870a authored by Bapiraju Alla's avatar Bapiraju Alla Committed by nshrivas
Browse files

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
parent a3452477
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2142,6 +2142,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 =