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>
This commit is contained in:

committed by
John W. Linville

parent
31f66be44a
commit
62bb2ac5cb
@@ -543,7 +543,7 @@ enum mac80211_rx_flags {
|
||||
* @signal: signal strength when receiving this frame, either in dBm, in dB or
|
||||
* unspecified depending on the hardware capabilities flags
|
||||
* @IEEE80211_HW_SIGNAL_*
|
||||
* @noise: noise when receiving this frame, in dBm.
|
||||
* @noise: noise when receiving this frame, in dBm (DEPRECATED).
|
||||
* @antenna: antenna used
|
||||
* @rate_idx: index of data rate into band's supported rates or MCS index if
|
||||
* HT rates are use (RX_FLAG_HT)
|
||||
@@ -554,7 +554,7 @@ struct ieee80211_rx_status {
|
||||
enum ieee80211_band band;
|
||||
int freq;
|
||||
int signal;
|
||||
int noise;
|
||||
int noise __deprecated;
|
||||
int antenna;
|
||||
int rate_idx;
|
||||
int flag;
|
||||
|
Reference in New Issue
Block a user