mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-29 10:37:04 +00:00
iwlwifi: mvm: report RU offset is known
We already report the RU offset, so we'd better also
report that we know the value.
Fixes: e5721e3f77
("iwlwifi: mvm: add radiotap data for HE")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
caf3216f65
commit
a76938f35e
1 changed files with 2 additions and 1 deletions
|
@ -1102,7 +1102,8 @@ static void iwl_mvm_rx_he(struct iwl_mvm *mvm, struct sk_buff *skb,
|
||||||
le16_encode_bits(offs,
|
le16_encode_bits(offs,
|
||||||
IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET);
|
IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET);
|
||||||
he->data2 |=
|
he->data2 |=
|
||||||
cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN);
|
cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN |
|
||||||
|
IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET_KNOWN);
|
||||||
if (he_phy_data & IWL_RX_HE_PHY_RU_ALLOC_SEC80)
|
if (he_phy_data & IWL_RX_HE_PHY_RU_ALLOC_SEC80)
|
||||||
he->data2 |=
|
he->data2 |=
|
||||||
cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC);
|
cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC);
|
||||||
|
|
Loading…
Add table
Reference in a new issue