nl80211: Allocate QCA vendor subcmd for DFS CAC Start event

When DFS offloading capability is supported by the driver, the driver
should use this event to indicate when channel availability check (CAC)
is started on a DFS channel.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Ahmad Kholaif 2015-02-05 13:13:48 -08:00 committed by Jouni Malinen
parent 1db718b3ce
commit e0761c5b4a

View file

@ -1,6 +1,6 @@
/* /*
* Qualcomm Atheros OUI and vendor specific assignments * Qualcomm Atheros OUI and vendor specific assignments
* Copyright (c) 2014, Qualcomm Atheros, Inc. * Copyright (c) 2014-2015, Qualcomm Atheros, Inc.
* *
* This software may be distributed under the terms of the BSD license. * This software may be distributed under the terms of the BSD license.
* See README for more details. * See README for more details.
@ -69,6 +69,9 @@ enum qca_radiotap_vendor_ids {
* @QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES: Command to get the features * @QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES: Command to get the features
* supported by the driver. enum qca_wlan_vendor_features defines * supported by the driver. enum qca_wlan_vendor_features defines
* the possible features. * the possible features.
*
* @QCA_NL80211_VENDOR_SUBCMD_CAC_STARTED: Event used by driver, which
* supports DFS offloading, to indicate a channel availability check start.
*/ */
enum qca_nl80211_vendor_subcmds { enum qca_nl80211_vendor_subcmds {
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0, QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@ -115,6 +118,7 @@ enum qca_nl80211_vendor_subcmds {
/* 53 - reserved for QCA */ /* 53 - reserved for QCA */
QCA_NL80211_VENDOR_SUBCMD_DO_ACS = 54, QCA_NL80211_VENDOR_SUBCMD_DO_ACS = 54,
QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES = 55, QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES = 55,
QCA_NL80211_VENDOR_SUBCMD_CAC_STARTED = 56,
}; };