From: Sunil Dutt Date: Fri, 26 Jun 2020 12:15:52 +0000 (+0530) Subject: Add a vendor command to fetch the currently enabled band(s) X-Git-Tag: hostap_2_10~1081 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d91fb3ce32620dc6a1746e699d47db524199831b;p=thirdparty%2Fhostap.git Add a vendor command to fetch the currently enabled band(s) Introduces a vendor command to get the currently enabled band(s) through QCA_NL80211_VENDOR_SUBCMD_GETBAND. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index af1a3ca89..3304ea80c 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -671,6 +671,10 @@ enum qca_radiotap_vendor_ids { * * @QCA_NL80211_VENDOR_SUBCMD_CONFIG_TWT: Vendor subcommand to configure TWT. * Uses attributes defined in enum qca_wlan_vendor_attr_config_twt. + * + * @QCA_NL80211_VENDOR_SUBCMD_GETBAND: Command to get the enabled band(s) from + * the driver. The band configurations obtained are referred through + * QCA_WLAN_VENDOR_ATTR_SETBAND_MASK. */ enum qca_nl80211_vendor_subcmds { QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0, @@ -852,6 +856,7 @@ enum qca_nl80211_vendor_subcmds { QCA_NL80211_VENDOR_SUBCMD_DRIVER_DISCONNECT_REASON = 189, QCA_NL80211_VENDOR_SUBCMD_CONFIG_TSPEC = 190, QCA_NL80211_VENDOR_SUBCMD_CONFIG_TWT = 191, + QCA_NL80211_VENDOR_SUBCMD_GETBAND = 192, }; enum qca_wlan_vendor_attr {