qcacmn: Rename QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY
Rename QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY to QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY to allow extension for other interface type(s). A subsequent commit will extend the renamed definitions in a manner that is inconsistent with the current naming. This is a precursor for AP/P2P concurrency policy configuration support via updated vendor command QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY. Change-Id: I1df8e7b289a8d7f1982f5daab732a36ad013d9ca CRs-Fixed: 3302835
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0906d287f3
commit
115f04aa57
@@ -486,10 +486,10 @@
|
||||
* This event contains Tx VDEV group information contains other VDEVs
|
||||
* interface index and status information.
|
||||
*
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY: Vendor command to
|
||||
* configure the concurrent session policies when multiple STA interfaces
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY: Vendor command to
|
||||
* configure the concurrent session policies when multiple interfaces
|
||||
* are (getting) active. The attributes used by this command are defined
|
||||
* in enum qca_wlan_vendor_attr_concurrent_sta_policy.
|
||||
* in enum qca_wlan_vendor_attr_concurrent_policy.
|
||||
*
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_USABLE_CHANNELS: Userspace can use this command
|
||||
* to query usable channels for different interface types such as STA,
|
||||
@@ -866,7 +866,7 @@ enum qca_nl80211_vendor_subcmds {
|
||||
QCA_NL80211_VENDOR_SUBCMD_UPDATE_SSID = 194,
|
||||
QCA_NL80211_VENDOR_SUBCMD_WIFI_FW_STATS = 195,
|
||||
QCA_NL80211_VENDOR_SUBCMD_MBSSID_TX_VDEV_STATUS = 196,
|
||||
QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY = 197,
|
||||
QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY = 197,
|
||||
QCA_NL80211_VENDOR_SUBCMD_USABLE_CHANNELS = 198,
|
||||
QCA_NL80211_VENDOR_SUBCMD_GET_RADAR_HISTORY = 199,
|
||||
QCA_NL80211_VENDOR_SUBCMD_MDNS_OFFLOAD = 200,
|
||||
@@ -1432,6 +1432,12 @@ enum qca_wlan_vendor_attr_get_tdls_capabilities {
|
||||
QCA_WLAN_VENDOR_ATTR_TDLS_GET_CAPS_AFTER_LAST - 1,
|
||||
};
|
||||
|
||||
/* Compatibility defines for previously used subcmd names.
|
||||
* These values should not be used in any new implementation.
|
||||
*/
|
||||
#define QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY \
|
||||
QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY
|
||||
|
||||
enum qca_wlan_vendor_attr {
|
||||
QCA_WLAN_VENDOR_ATTR_INVALID = 0,
|
||||
/* used by QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY */
|
||||
@@ -11867,24 +11873,35 @@ enum qca_wlan_concurrent_sta_policy_config {
|
||||
};
|
||||
|
||||
/**
|
||||
* enum qca_wlan_vendor_attr_concurrent_sta_policy - Defines attributes
|
||||
* used by QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_MULTI_STA_POLICY vendor command.
|
||||
* enum qca_wlan_vendor_attr_concurrent_policy - Defines attributes
|
||||
* used by QCA_NL80211_VENDOR_SUBCMD_CONCURRENT_POLICY vendor command.
|
||||
*
|
||||
* @QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_CONFIG:
|
||||
* @QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_STA_CONFIG:
|
||||
* u8 attribute. Configures the concurrent STA policy configuration.
|
||||
* Possible values are defined in enum qca_wlan_concurrent_sta_policy_config.
|
||||
*/
|
||||
enum qca_wlan_vendor_attr_concurrent_sta_policy {
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_INVALID = 0,
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_CONFIG = 1,
|
||||
enum qca_wlan_vendor_attr_concurrent_policy {
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_INVALID = 0,
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_STA_CONFIG = 1,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_MAX =
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_AFTER_LAST - 1,
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_MAX =
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_AFTER_LAST - 1,
|
||||
|
||||
};
|
||||
|
||||
/* Compatibility defines for previously used enum
|
||||
* qca_wlan_vendor_attr_concurrent_policy names. These values should not be used
|
||||
* in any new implementation.
|
||||
*/
|
||||
#define QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_CONFIG \
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_STA_CONFIG
|
||||
#define QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_MAX \
|
||||
QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_MAX
|
||||
#define qca_wlan_vendor_attr_concurrent_sta_policy \
|
||||
qca_wlan_vendor_attr_concurrent_policy
|
||||
|
||||
/**
|
||||
* enum qca_sta_connect_fail_reason_codes - Defines values carried
|
||||
* by QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_CONNECT_FAIL_REASON_CODE vendor
|
||||
|
Reference in New Issue
Block a user