From caa1688c1b94ea45ef79c36ee5673a2ae62ef373 Mon Sep 17 00:00:00 2001 From: Lincoln Tran Date: Fri, 10 Jul 2020 16:09:37 -0700 Subject: [PATCH] qcacmn: Vendor command to get the configured band This commit introduces the vendor command to get the configured band through QCA_NL80211_VENDOR_SUBCMD_GETBAND. Change-Id: I3f3de10a3bd32eda2634b400d5191bf67a46eaaa CRs-fixed: 2729768 --- os_if/linux/qca_vendor.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 5c33920449d6..d249be467b52 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -430,6 +430,11 @@ * * @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 configured band from + * the host driver. The band configurations obtained are referred through + * QCA_WLAN_VENDOR_ATTR_SETBAND_MASK. + * */ enum qca_nl80211_vendor_subcmds { @@ -656,6 +661,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_tos {