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 /net/mac80211/rx.c | |
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 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index b5c48de81d8b..1da57c8e849a 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -178,14 +178,6 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, | |||
178 | pos++; | 178 | pos++; |
179 | } | 179 | } |
180 | 180 | ||
181 | /* IEEE80211_RADIOTAP_DBM_ANTNOISE */ | ||
182 | if (local->hw.flags & IEEE80211_HW_NOISE_DBM) { | ||
183 | *pos = status->noise; | ||
184 | rthdr->it_present |= | ||
185 | cpu_to_le32(1 << IEEE80211_RADIOTAP_DBM_ANTNOISE); | ||
186 | pos++; | ||
187 | } | ||
188 | |||
189 | /* IEEE80211_RADIOTAP_LOCK_QUALITY is missing */ | 181 | /* IEEE80211_RADIOTAP_LOCK_QUALITY is missing */ |
190 | 182 | ||
191 | /* IEEE80211_RADIOTAP_ANTENNA */ | 183 | /* IEEE80211_RADIOTAP_ANTENNA */ |
@@ -1077,7 +1069,6 @@ ieee80211_rx_h_sta_process(struct ieee80211_rx_data *rx) | |||
1077 | sta->rx_fragments++; | 1069 | sta->rx_fragments++; |
1078 | sta->rx_bytes += rx->skb->len; | 1070 | sta->rx_bytes += rx->skb->len; |
1079 | sta->last_signal = status->signal; | 1071 | sta->last_signal = status->signal; |
1080 | sta->last_noise = status->noise; | ||
1081 | 1072 | ||
1082 | /* | 1073 | /* |
1083 | * Change STA power saving mode only at the end of a frame | 1074 | * Change STA power saving mode only at the end of a frame |