diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-17 01:59:03 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-06 15:08:40 +0400 |
commit | 53e1116ebd3c0bab4d6daf0da4492f813b778cf8 (patch) | |
tree | 58f683b0efaa194aa0c7457e08f686dd657f3929 /drivers/net/wireless/iwlwifi/iwl-agn-rx.c | |
parent | cc66880ba58ef6b9ee645fa1e1c074746ff03ce4 (diff) | |
download | linux-53e1116ebd3c0bab4d6daf0da4492f813b778cf8.tar.xz |
iwlwifi: give HT format to mac80211/radiotap
We know whether we received a frame in GF format
or not, add it to the radiotap information.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c b/drivers/net/wireless/iwlwifi/iwl-agn-rx.c index 403de96f9747..5035d2db14b1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rx.c @@ -1012,6 +1012,8 @@ static int iwlagn_rx_reply_rx(struct iwl_priv *priv, rx_status.flag |= RX_FLAG_40MHZ; if (rate_n_flags & RATE_MCS_SGI_MSK) rx_status.flag |= RX_FLAG_SHORT_GI; + if (rate_n_flags & RATE_MCS_GF_MSK) + rx_status.flag |= RX_FLAG_HT_GF; iwlagn_pass_packet_to_mac80211(priv, header, len, ampdu_status, rxb, &rx_status); |