mac80211: deprecate qual value
This value is unused by mac80211, because it was only be used by wireless extensions, and turned out to not be useful there because the quality value needs to be comparable between scan results and the current value which is impossible when the qual value is calculated taking into account noise, for example. Since it is unused anyway, this patch deprecates it in the hope that drivers will remove their sometimes quite expensive calculations of the value. I'm open to actual uses of the value, but the best way of using it seems to be what the Intel drivers do which should probably be generalised if we have noise values from the hardware. 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
eddcbb94f7
commit
c27f2fded5
@ -57,7 +57,6 @@ STA_FILE(tx_filtered, tx_filtered_count, LU);
|
||||
STA_FILE(tx_retry_failed, tx_retry_failed, LU);
|
||||
STA_FILE(tx_retry_count, tx_retry_count, LU);
|
||||
STA_FILE(last_signal, last_signal, D);
|
||||
STA_FILE(last_qual, last_qual, D);
|
||||
STA_FILE(last_noise, last_noise, D);
|
||||
STA_FILE(wep_weak_iv_count, wep_weak_iv_count, LU);
|
||||
|
||||
@ -205,7 +204,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
|
||||
DEBUGFS_ADD(tx_retry_failed);
|
||||
DEBUGFS_ADD(tx_retry_count);
|
||||
DEBUGFS_ADD(last_signal);
|
||||
DEBUGFS_ADD(last_qual);
|
||||
DEBUGFS_ADD(last_noise);
|
||||
DEBUGFS_ADD(wep_weak_iv_count);
|
||||
}
|
||||
|
Reference in New Issue
Block a user