projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d8a9d
)
iwlwifi: mvm: add TXOP to HE radiotap data
author
Johannes Berg
<
[email protected]
>
Thu, 14 Jun 2018 12:54:38 +0000
(14:54 +0200)
committer
Luca Coelho
<
[email protected]
>
Sat, 6 Oct 2018 07:25:47 +0000
(10:25 +0300)
We have this data available, so add it.
Signed-off-by: Johannes Berg <
[email protected]
>
Signed-off-by: Luca Coelho <
[email protected]
>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
index 647fa905ebba491c39fee2b00077b0f2ef9e5d5a..52709130cb0bf90edfad23d682fccd2b4a6eef19 100644
(file)
--- a/
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
+++ b/
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
@@
-1010,6
+1010,11
@@
static void iwl_mvm_decode_he_phy_data(struct iwl_mvm *mvm,
he_phy_data),
IEEE80211_RADIOTAP_HE_DATA3_BSS_COLOR);
+ he->data2 |= cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_TXOP_KNOWN);
+ he->data6 |= le16_encode_bits(FIELD_GET(IWL_RX_HE_PHY_TXOP_DUR_MASK,
+ he_phy_data),
+ IEEE80211_RADIOTAP_HE_DATA6_TXOP);
+
if (he_mu) {
bool sigb_data;