aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-01 12:00:07 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-05 15:38:32 -0500
commitfe8431f89e25de722610ee5beb2892bd019d1fed (patch)
tree93212c4f0e7f897c8c53bbd0b93f31640ec33e4b /include/net
parentc04a4ff71b6a59cb5c8deec961b9196226e89573 (diff)
mac80211: add an rx flag for ignoring a packet's signal strength
For A-MPDU rx it makes sense to only process the signal strength once per aggregate instead of once per subframe. Additonally, some hardware (e.g. Atheros) only provides valid signal strength information for the last subframe. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 7477f020ee7a..c06974accfa6 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -659,6 +659,8 @@ ieee80211_tx_info_clear_status(struct ieee80211_tx_info *info)
659 * @RX_FLAG_HT: HT MCS was used and rate_idx is MCS index 659 * @RX_FLAG_HT: HT MCS was used and rate_idx is MCS index
660 * @RX_FLAG_40MHZ: HT40 (40 MHz) was used 660 * @RX_FLAG_40MHZ: HT40 (40 MHz) was used
661 * @RX_FLAG_SHORT_GI: Short guard interval was used 661 * @RX_FLAG_SHORT_GI: Short guard interval was used
662 * @RX_FLAG_NO_SIGNAL_VAL: The signal strength value is not present.
663 * Valid only for data frames (mainly A-MPDU)
662 */ 664 */
663enum mac80211_rx_flags { 665enum mac80211_rx_flags {
664 RX_FLAG_MMIC_ERROR = 1<<0, 666 RX_FLAG_MMIC_ERROR = 1<<0,
@@ -672,6 +674,7 @@ enum mac80211_rx_flags {
672 RX_FLAG_HT = 1<<9, 674 RX_FLAG_HT = 1<<9,
673 RX_FLAG_40MHZ = 1<<10, 675 RX_FLAG_40MHZ = 1<<10,
674 RX_FLAG_SHORT_GI = 1<<11, 676 RX_FLAG_SHORT_GI = 1<<11,
677 RX_FLAG_NO_SIGNAL_VAL = 1<<12,
675}; 678};
676 679
677/** 680/**