]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: deprecate qual value
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 29 Oct 2009 07:41:25 +0000 (08:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Oct 2009 20:50:39 +0000 (16:50 -0400)
commit39462c7669e09bc42f319f2bb72204ef9cab1913
treec800cd4fcbc9f675341e95a76e080460eb1eac85
parentd8f026ce03c716f3b0e079b9fd0c3d7294cd41df
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>
include/net/mac80211.h
net/mac80211/debugfs_sta.c
net/mac80211/rx.c
net/mac80211/sta_info.h