]> git.ipfire.org Git - thirdparty/hostap.git/commit
ACS: Use frequency params in ACS (offload) completed event interface
authorAnkita Bajaj <bankita@codeaurora.org>
Mon, 18 Nov 2019 09:09:04 +0000 (14:39 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 20 Dec 2019 10:31:01 +0000 (12:31 +0200)
commit41cac481a889e27cca73038e6c922624dfe2d07a
tree955d895b8052ec602e9e7ee2912df8c32827d074
parent840532aea5ad6f37684a5bbd1f813e4974760757
ACS: Use frequency params in ACS (offload) completed event interface

Replace channel fields with frequency fields in ACS completed event
interface from the driver layer. Use
QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_FREQUENCY and
QCA_WLAN_VENDOR_ATTR_ACS_SECONDARY_FREQUENCY attributes if the driver
includes them in the QCA_NL80211_VENDOR_SUBCMD_DO_ACS event, otherwise
use QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_CHANNEL and
QCA_WLAN_VENDOR_ATTR_ACS_SECONDARY_CHANNEL attributes to maintain
backwards compatibility with old drivers.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/drv_callbacks.c
src/drivers/driver.h
src/drivers/driver_nl80211_event.c