]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HE: Remove VHT Operation Information from HE Operation element
authorRajkumar Manoharan <rmanohar@codeaurora.org>
Fri, 24 Apr 2020 22:45:35 +0000 (15:45 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 17 May 2020 13:32:49 +0000 (16:32 +0300)
The VHT Operation Information subfield is conditonally present, so do
not hardcoded it in struct ieee80211_he_operation. These members of the
struct are not currently used, so these can be removed without impact to
functionality.

Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
src/common/ieee802_11_defs.h

index 49266ada9871396caf811eab690d72f201b4540f..0dd386f9e15d90ee969b365fcdb34c08444f346a 100644 (file)
@@ -2146,10 +2146,9 @@ struct ieee80211_he_operation {
        le32 he_oper_params; /* HE Operation Parameters[3] and
                              * BSS Color Information[1] */
        le16 he_mcs_nss_set;
-       u8 vht_op_info_chwidth;
-       u8 vht_op_info_chan_center_freq_seg0_idx;
-       u8 vht_op_info_chan_center_freq_seg1_idx;
-       /* Followed by conditional MaxBSSID Indicator subfield (u8) */
+       /* Followed by conditional VHT Operation Information (3 octets),
+        * Max Co-Hosted BSSID Indicator subfield (1 octet), and/or 6 GHz
+        * Operation Information subfield (5 octets). */
 } STRUCT_PACKED;
 
 /* IEEE P802.11ax/D6.0, Figure 9-787k - 6 GHz Operation Information field */