aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2014-11-05 08:42:48 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-22 19:13:45 (GMT)
commitb361d580ec7c477ca5ceeee1d18bcdb962f2a200 (patch)
tree74683f139240fc7b36ab8b6dfe87bc0d7ada43a2 /wpa_supplicant/events.c
parentf936b73c4f5bd23645059d155e05022f2088d0be (diff)
downloadhostap-b361d580ec7c477ca5ceeee1d18bcdb962f2a200.zip
hostap-b361d580ec7c477ca5ceeee1d18bcdb962f2a200.tar.gz
hostap-b361d580ec7c477ca5ceeee1d18bcdb962f2a200.tar.bz2
SME: Add RRM support to association request
In case the AP we are associating with advertises support for RRM, advertise our own RRM support in the (Re)Association Request frame. This is done by adding an RRM Capabilities IE. The underlying driver is expected to further add a Power Capabilities IE to the request, and set the Radio Measurement flag in the Capability Info field. At this point the RRM Capabilities IE advertises no measurement support. Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 0ffda4d..ffa980d 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -228,6 +228,8 @@ void wpa_supplicant_mark_disassoc(struct wpa_supplicant *wpa_s)
wpa_s->current_ssid = NULL;
eapol_sm_notify_config(wpa_s->eapol, NULL, NULL);
wpa_s->key_mgmt = 0;
+
+ wpas_rrm_reset(wpa_s);
}