AP/GO interface teardown optimization
authorMoshe Benji <Moshe.Benji@intel.com>
Wed, 5 Mar 2014 12:55:29 +0000 (14:55 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 5 Mar 2014 21:57:02 +0000 (23:57 +0200)
commit354c903f8e47ae0fb41fb54ecc018e61d9573506
treec27f11ea9808df85054b4ea015b24720656a669f
parent8bc4372f37921d88bb0e65fae80577bcbb2c8067
AP/GO interface teardown optimization

This commit adds an option to optimize AP teardown by leaving the
deletion of keys (including group keys) and stations to the driver.

This optimization option should be used if the driver supports stations
and keys removal when stopping an AP.

For example, the optimization option will always be used for cfg80211
drivers since cfg80211 shall always remove stations and keys when
stopping an AP (in order to support cases where the AP is disabled
without the knowledge of wpa_supplicant/hostapd).

Signed-off-by: Moshe Benji <moshe.benji@intel.com>
hostapd/main.c
src/ap/ap_mlme.c
src/ap/hostapd.c
src/ap/hostapd.h
src/ap/sta_info.c
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/ap.c