summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-02-17 21:27:26 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:02:53 -0500
commit62bb2ac5cb6c2f813e151617525ec518e2d1c649 (patch)
tree75e6d81f02580de06897fa2972b86aec881fe3c4 /net/mac80211/rx.c
parent31f66be44a657a14e0ab3536e4877c66c9ce031e (diff)
downloadop-kernel-dev-62bb2ac5cb6c2f813e151617525ec518e2d1c649.zip
op-kernel-dev-62bb2ac5cb6c2f813e151617525ec518e2d1c649.tar.gz
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 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index b5c48de..1da57c8 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -178,14 +178,6 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
pos++;
}
- /* IEEE80211_RADIOTAP_DBM_ANTNOISE */
- if (local->hw.flags & IEEE80211_HW_NOISE_DBM) {
- *pos = status->noise;
- rthdr->it_present |=
- cpu_to_le32(1 << IEEE80211_RADIOTAP_DBM_ANTNOISE);
- pos++;
- }
-
/* IEEE80211_RADIOTAP_LOCK_QUALITY is missing */
/* IEEE80211_RADIOTAP_ANTENNA */
@@ -1077,7 +1069,6 @@ ieee80211_rx_h_sta_process(struct ieee80211_rx_data *rx)
sta->rx_fragments++;
sta->rx_bytes += rx->skb->len;
sta->last_signal = status->signal;
- sta->last_noise = status->noise;
/*
* Change STA power saving mode only at the end of a frame
OpenPOWER on IntegriCloud