mac80211: Add support for connection quality monitoring
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 23 Mar 2010 07:02:34 +0000 (09:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Mar 2010 20:04:33 +0000 (16:04 -0400)
commita97c13c34509be460dea23c86f31c02daa2428b5
treeeb5d2860af9d6f3121254f2ef262e197b10bed34
parentd6dc1a386358979e12366d1f35eeb68fc181e101
mac80211: Add support for connection quality monitoring

Add support for the set_cqm_config op. This op function configures the
requested connection quality monitor rssi threshold and rssi hysteresis
values to the hardware  if the hardware supports
IEEE80211_HW_SUPPORTS_CQM.

For unsupported hardware, currently -EOPNOTSUPP is returned, so the mac80211
is currently not doing connection quality monitoring on the host. This could be
added later, if needed.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/mlme.c