From: Sunil Dutt Date: Tue, 22 Nov 2016 15:20:08 +0000 (+0530) Subject: Define a QCA vendor command to abort vendor scan X-Git-Tag: hostap_2_7~2107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a793f5c2b43c58e19dac9550a672533865baf35;p=thirdparty%2Fhostap.git Define a QCA vendor command to abort vendor scan 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 2e9e4ac6f..2ce2a8960 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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, };