]> git.ipfire.org Git - thirdparty/hostap.git/commit
Enable beacon protection only when driver indicates support
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Thu, 3 Dec 2020 07:47:33 +0000 (13:17 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2021 22:47:43 +0000 (00:47 +0200)
commitd36d4209fd99b5699353accbad3d12ff7670f01e
treeb23b713214914d071932896970908494ebc15194
parent9d99814e22a2cd7debf3bf842838f9eaed328a6c
Enable beacon protection only when driver indicates support

Enabling beacon protection will cause STA connection/AP setup failures
if the driver doesn't support beacon protection. To avoid this, check
the driver capability before enabling beacon protection.

This commit also adds a capability flag to indicate beacon protection
support in client mode only.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
hostapd/hostapd.conf
src/ap/ieee802_11_shared.c
src/ap/wnm_ap.c
src/ap/wpa_auth_glue.c
src/drivers/driver.h
src/drivers/driver_nl80211_capa.c
wpa_supplicant/wpa_supplicant.conf
wpa_supplicant/wpas_glue.c