From b2c0b83c66044131c8a5053c780688f14ff3586f Mon Sep 17 00:00:00 2001 From: Rajkumar Manoharan Date: Fri, 24 Apr 2020 15:45:35 -0700 Subject: [PATCH] HE: Remove VHT Operation Information from HE Operation element 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 --- src/common/ieee802_11_defs.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h index 49266ada9..0dd386f9e 100644 --- a/src/common/ieee802_11_defs.h +++ b/src/common/ieee802_11_defs.h @@ -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 */