mac80211: properly remove RX_ENC_FLAG_40MHZ
Somehow I missed this in my RX rate cleanup series, causing some drivers to not report correct bandwidth since this flag isn't used by mac80211 anymore. Fix this, and make hwsim also report higher bandwidths appropriately. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Этот коммит содержится в:
@@ -889,7 +889,9 @@ static void iwlagn_rx_reply_rx(struct iwl_priv *priv,
|
||||
if (rate_n_flags & RATE_MCS_HT_MSK)
|
||||
rx_status.encoding = RX_ENC_HT;
|
||||
if (rate_n_flags & RATE_MCS_HT40_MSK)
|
||||
rx_status.enc_flags |= RX_ENC_FLAG_40MHZ;
|
||||
rx_status.bw = RATE_INFO_BW_40;
|
||||
else
|
||||
rx_status.bw = RATE_INFO_BW_20;
|
||||
if (rate_n_flags & RATE_MCS_SGI_MSK)
|
||||
rx_status.enc_flags |= RX_ENC_FLAG_SHORT_GI;
|
||||
if (rate_n_flags & RATE_MCS_GF_MSK)
|
||||
|
Ссылка в новой задаче
Block a user