cfg80211: Add connection quality monitoring support to nl80211
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 23 Mar 2010 07:02:33 +0000 (09:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Mar 2010 20:02:37 +0000 (16:02 -0400)
commitd6dc1a386358979e12366d1f35eeb68fc181e101
tree4b65ba21328d6984d008b62795dd60d99c350632
parent921ca03c8f8e982f27fc406bc301caf2196b99f7
cfg80211: Add connection quality monitoring support to nl80211

Add support for basic configuration of a connection quality monitoring to the
nl80211 interface, and basic support for notifying about triggered monitoring
events.

Via this interface a user-space connection manager may configure and receive
pre-warning events of deteriorating WLAN connection quality, and start
preparing for roaming in advance, before the connection is already lost.

An example usage of such a trigger is starting scanning for nearby AP's in
an attempt to find one with better connection quality, and associate to it
before the connection characteristics of the existing connection become too bad
or the association is even lost, leading in a prolonged delay in connectivity.

The interface currently supports only RSSI, but it could be later extended
to include other parameters, such as signal-to-noise ratio, if need for that
arises.

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/linux/nl80211.h
include/net/cfg80211.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h