diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-02-17 15:27:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 15:02:53 -0500 |
commit | 62bb2ac5cb6c2f813e151617525ec518e2d1c649 (patch) | |
tree | 75e6d81f02580de06897fa2972b86aec881fe3c4 /include/net/mac80211.h | |
parent | 31f66be44a657a14e0ab3536e4877c66c9ce031e (diff) |
mac80211: deprecate RX status noise
The noise value as is won't be used, isn't
filled by most drivers and doesn't really
make a whole lot of sense on a per packet
basis -- proper cfg80211 survey support in
mac80211 will need to be different.
Mark the struct member as deprecated so it
will be removed from drivers.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 45d7d44d7cbe..936bc410d061 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -543,7 +543,7 @@ enum mac80211_rx_flags { | |||
543 | * @signal: signal strength when receiving this frame, either in dBm, in dB or | 543 | * @signal: signal strength when receiving this frame, either in dBm, in dB or |
544 | * unspecified depending on the hardware capabilities flags | 544 | * unspecified depending on the hardware capabilities flags |
545 | * @IEEE80211_HW_SIGNAL_* | 545 | * @IEEE80211_HW_SIGNAL_* |
546 | * @noise: noise when receiving this frame, in dBm. | 546 | * @noise: noise when receiving this frame, in dBm (DEPRECATED). |
547 | * @antenna: antenna used | 547 | * @antenna: antenna used |
548 | * @rate_idx: index of data rate into band's supported rates or MCS index if | 548 | * @rate_idx: index of data rate into band's supported rates or MCS index if |
549 | * HT rates are use (RX_FLAG_HT) | 549 | * HT rates are use (RX_FLAG_HT) |
@@ -554,7 +554,7 @@ struct ieee80211_rx_status { | |||
554 | enum ieee80211_band band; | 554 | enum ieee80211_band band; |
555 | int freq; | 555 | int freq; |
556 | int signal; | 556 | int signal; |
557 | int noise; | 557 | int noise __deprecated; |
558 | int antenna; | 558 | int antenna; |
559 | int rate_idx; | 559 | int rate_idx; |
560 | int flag; | 560 | int flag; |