]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor command to fetch the currently enabled band(s)
authorSunil Dutt <usdutt@codeaurora.org>
Fri, 26 Jun 2020 12:15:52 +0000 (17:45 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 17 Jul 2020 20:23:03 +0000 (23:23 +0300)
Introduces a vendor command to get the currently enabled band(s)
through QCA_NL80211_VENDOR_SUBCMD_GETBAND.

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

index af1a3ca894f7d0dffc3c44b2d27d69db0b660199..3304ea80ceed0b3e00a78646955c267e5b5da360 100644 (file)
@@ -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 {