diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-30 15:37:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-30 15:38:13 -0400 |
commit | f5c044e53a6b319776c7140b22fee9be3bc1f758 (patch) | |
tree | 01b7c012361d81fd0152c56971ea19500525af57 /include/net | |
parent | 49b5c7f473f1bbcb30275dcaee2c06dfb8ec2279 (diff) |
mac80211: remove deprecated noise field from ieee80211_rx_status
Also remove associated IEEE80211_HW_NOISE_DBM from ieee80211_hw_flags.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 2879c8ef5571..00502b1a9e38 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -560,7 +560,6 @@ enum mac80211_rx_flags { | |||
560 | * @signal: signal strength when receiving this frame, either in dBm, in dB or | 560 | * @signal: signal strength when receiving this frame, either in dBm, in dB or |
561 | * unspecified depending on the hardware capabilities flags | 561 | * unspecified depending on the hardware capabilities flags |
562 | * @IEEE80211_HW_SIGNAL_* | 562 | * @IEEE80211_HW_SIGNAL_* |
563 | * @noise: noise when receiving this frame, in dBm (DEPRECATED). | ||
564 | * @antenna: antenna used | 563 | * @antenna: antenna used |
565 | * @rate_idx: index of data rate into band's supported rates or MCS index if | 564 | * @rate_idx: index of data rate into band's supported rates or MCS index if |
566 | * HT rates are use (RX_FLAG_HT) | 565 | * HT rates are use (RX_FLAG_HT) |
@@ -571,7 +570,6 @@ struct ieee80211_rx_status { | |||
571 | enum ieee80211_band band; | 570 | enum ieee80211_band band; |
572 | int freq; | 571 | int freq; |
573 | int signal; | 572 | int signal; |
574 | int noise __deprecated; | ||
575 | int antenna; | 573 | int antenna; |
576 | int rate_idx; | 574 | int rate_idx; |
577 | int flag; | 575 | int flag; |
@@ -934,10 +932,6 @@ enum ieee80211_tkip_key_type { | |||
934 | * one milliwatt. This is the preferred method since it is standardized | 932 | * one milliwatt. This is the preferred method since it is standardized |
935 | * between different devices. @max_signal does not need to be set. | 933 | * between different devices. @max_signal does not need to be set. |
936 | * | 934 | * |
937 | * @IEEE80211_HW_NOISE_DBM: | ||
938 | * Hardware can provide noise (radio interference) values in units dBm, | ||
939 | * decibel difference from one milliwatt. | ||
940 | * | ||
941 | * @IEEE80211_HW_SPECTRUM_MGMT: | 935 | * @IEEE80211_HW_SPECTRUM_MGMT: |
942 | * Hardware supports spectrum management defined in 802.11h | 936 | * Hardware supports spectrum management defined in 802.11h |
943 | * Measurement, Channel Switch, Quieting, TPC | 937 | * Measurement, Channel Switch, Quieting, TPC |
@@ -1001,7 +995,7 @@ enum ieee80211_hw_flags { | |||
1001 | IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4, | 995 | IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4, |
1002 | IEEE80211_HW_SIGNAL_UNSPEC = 1<<5, | 996 | IEEE80211_HW_SIGNAL_UNSPEC = 1<<5, |
1003 | IEEE80211_HW_SIGNAL_DBM = 1<<6, | 997 | IEEE80211_HW_SIGNAL_DBM = 1<<6, |
1004 | IEEE80211_HW_NOISE_DBM = 1<<7, | 998 | /* use this hole */ |
1005 | IEEE80211_HW_SPECTRUM_MGMT = 1<<8, | 999 | IEEE80211_HW_SPECTRUM_MGMT = 1<<8, |
1006 | IEEE80211_HW_AMPDU_AGGREGATION = 1<<9, | 1000 | IEEE80211_HW_AMPDU_AGGREGATION = 1<<9, |
1007 | IEEE80211_HW_SUPPORTS_PS = 1<<10, | 1001 | IEEE80211_HW_SUPPORTS_PS = 1<<10, |