]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Define a QCA vendor command to abort vendor scan
authorSunil Dutt <usdutt@qti.qualcomm.com>
Tue, 22 Nov 2016 15:20:08 +0000 (20:50 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 30 Nov 2016 15:11:01 +0000 (17:11 +0200)
The new QCA_NL80211_VENDOR_SUBCMD_ABORT_SCAN command can be used to
abort an ongoing scan that was started with
QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/qca-vendor.h

index 2e9e4ac6f87b45966b442c91ff2d67d8ab825c98..2ce2a8960a8b82ece19f4597ac22e78569f8a293 100644 (file)
@@ -232,6 +232,11 @@ enum qca_radiotap_vendor_ids {
  * @QCA_NL80211_VENDOR_SUBCMD_CONFIGURE_TDLS: Configure the TDLS behavior
  *     in the host driver. The different TDLS configurations are defined
  *     by the attributes in enum qca_wlan_vendor_attr_tdls_configuration.
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_ABORT_SCAN: Abort an ongoing vendor scan that was
+ *     started with QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN. This command
+ *     carries the scan cookie of the corresponding scan request. The scan
+ *     cookie is represented by QCA_WLAN_VENDOR_ATTR_SCAN_COOKIE.
  */
 enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@@ -339,6 +344,7 @@ enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_DMG_RF_SET_SELECTED_SECTOR = 142,
        QCA_NL80211_VENDOR_SUBCMD_CONFIGURE_TDLS = 143,
        /* 144 - reserved for QCA */
+       QCA_NL80211_VENDOR_SUBCMD_ABORT_SCAN = 145,
 };