qcacmn: Add support for QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS
Add support for handling vendor sub command QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS and its attributes. CRs-Fixed: 2100587 Change-Id: I8734deb4eb2e2481329131d47b747d266463350a
This commit is contained in:

committed by
snandini

vanhempi
625276bc31
commit
727c4b3880
@@ -218,6 +218,16 @@
|
||||
* a cookie (%QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_COOKIE) from
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_START to identify the scan to
|
||||
* be stopped.
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS: Set the active Type Of Service on the
|
||||
* specific interface. This can be used to modify some of the low level
|
||||
* scan parameters (off channel dwell time, home channel time) in the
|
||||
* driver/firmware. These parameters are maintained within the host
|
||||
* driver.
|
||||
* This command is valid only when the interface is in the connected
|
||||
* state.
|
||||
* These scan parameters shall be reset by the driver/firmware once
|
||||
* disconnected. The attributes used with this command are defined in
|
||||
* enum qca_wlan_vendor_attr_active_tos.
|
||||
*/
|
||||
|
||||
enum qca_nl80211_vendor_subcmds {
|
||||
@@ -411,6 +421,29 @@ enum qca_nl80211_vendor_subcmds {
|
||||
|
||||
QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_START = 154,
|
||||
QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_STOP = 155,
|
||||
QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS = 156,
|
||||
};
|
||||
|
||||
enum qca_wlan_vendor_tos {
|
||||
QCA_WLAN_VENDOR_TOS_BK = 0,
|
||||
QCA_WLAN_VENDOR_TOS_BE = 1,
|
||||
QCA_WLAN_VENDOR_TOS_VI = 2,
|
||||
QCA_WLAN_VENDOR_TOS_VO = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum qca_wlan_vendor_attr_active_tos - Used by the vendor command
|
||||
* QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS.
|
||||
*/
|
||||
enum qca_wlan_vendor_attr_active_tos {
|
||||
QCA_WLAN_VENDOR_ATTR_ACTIVE_TOS_INVALID = 0,
|
||||
/* Type Of Service - Represented by qca_wlan_vendor_tos */
|
||||
QCA_WLAN_VENDOR_ATTR_ACTIVE_TOS = 1,
|
||||
/* Flag attribute representing the start (attribute included) or stop
|
||||
* (attribute not included) of the respective TOS.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_ACTIVE_TOS_START = 2,
|
||||
QCA_WLAN_VENDOR_ATTR_ACTIVE_TOS_MAX = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Viittaa uudesa ongelmassa
Block a user