Jelajahi Sumber

qcacld-3.0: Update support for 320MHz to wiphy

Update support for 320MHz to wiphy eht caps structure.

Change-Id: I1acaf5a51360a1c5085a980870e75035c0b536bf
CRs-Fixed: 3180232
Jia Ding 2 tahun lalu
induk
melakukan
29f3bdd27b
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      core/hdd/src/wlan_hdd_eht.c

+ 3 - 0
core/hdd/src/wlan_hdd_eht.c

@@ -133,6 +133,9 @@ hdd_update_wiphy_eht_caps_6ghz(struct hdd_context *hdd_ctx,
 		phy_info[0] |= CHAN_WIDTH_SET_160MHZ_IN_5G;
 	if (max_fw_bw >= WNI_CFG_VHT_CHANNEL_WIDTH_80_PLUS_80MHZ)
 		phy_info[0] |= CHAN_WIDTH_SET_80PLUS80_MHZ_IN_5G;
+
+	if (eht_cap.support_320mhz_6ghz)
+		phy_info[0] |= IEEE80211_EHT_PHY_CAP0_320MHZ_IN_6GHZ;
 }
 
 #ifdef CFG80211_RU_PUNCT_SUPPORT