aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-01-30 05:13:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:44 -0500
commit7fee5372d814c4be9546e5c28ac0058258d8df3e (patch)
tree021aefd5c32d265f2ca6c9b379c11e0484aeba74 /include
parent7a7dec656252a5784218a22abf76ad1cdef115d0 (diff)
mac80211: remove HW_SIGNAL_DB
Giving the signal in dB isn't much more useful to userspace than giving the signal in unspecified units. This removes some radiotap information for zd1211 (the only driver using this flag), but it helps a lot for getting cfg80211-based scanning which won't support dB, and zd1211 being dB is a little fishy anyway. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Bruno Randolf <bruno@thinktube.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index e2144f0e8728..409e2c69269d 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -860,11 +860,6 @@ enum ieee80211_tkip_key_type {
860 * expect values between 0 and @max_signal. 860 * expect values between 0 and @max_signal.
861 * If possible please provide dB or dBm instead. 861 * If possible please provide dB or dBm instead.
862 * 862 *
863 * @IEEE80211_HW_SIGNAL_DB:
864 * Hardware gives signal values in dB, decibel difference from an
865 * arbitrary, fixed reference. We expect values between 0 and @max_signal.
866 * If possible please provide dBm instead.
867 *
868 * @IEEE80211_HW_SIGNAL_DBM: 863 * @IEEE80211_HW_SIGNAL_DBM:
869 * Hardware gives signal values in dBm, decibel difference from 864 * Hardware gives signal values in dBm, decibel difference from
870 * one milliwatt. This is the preferred method since it is standardized 865 * one milliwatt. This is the preferred method since it is standardized
@@ -900,15 +895,14 @@ enum ieee80211_hw_flags {
900 IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE = 1<<3, 895 IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE = 1<<3,
901 IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4, 896 IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4,
902 IEEE80211_HW_SIGNAL_UNSPEC = 1<<5, 897 IEEE80211_HW_SIGNAL_UNSPEC = 1<<5,
903 IEEE80211_HW_SIGNAL_DB = 1<<6, 898 IEEE80211_HW_SIGNAL_DBM = 1<<6,
904 IEEE80211_HW_SIGNAL_DBM = 1<<7, 899 IEEE80211_HW_NOISE_DBM = 1<<7,
905 IEEE80211_HW_NOISE_DBM = 1<<8, 900 IEEE80211_HW_SPECTRUM_MGMT = 1<<8,
906 IEEE80211_HW_SPECTRUM_MGMT = 1<<9, 901 IEEE80211_HW_AMPDU_AGGREGATION = 1<<9,
907 IEEE80211_HW_AMPDU_AGGREGATION = 1<<10, 902 IEEE80211_HW_SUPPORTS_PS = 1<<10,
908 IEEE80211_HW_SUPPORTS_PS = 1<<11, 903 IEEE80211_HW_PS_NULLFUNC_STACK = 1<<11,
909 IEEE80211_HW_PS_NULLFUNC_STACK = 1<<12, 904 IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 1<<12,
910 IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 1<<13, 905 IEEE80211_HW_MFP_CAPABLE = 1<<13,
911 IEEE80211_HW_MFP_CAPABLE = 1<<14,
912}; 906};
913 907
914/** 908/**