Add QCA vendor command and attributes for MSDU queue depth threshold
This allow MSDU queue depth threshold in target to be set per peer per TID. This command contains MAC address, TID, update mask, and threshold values. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
703470bfa1
commit
b4cd8b7e1a
1 changed files with 35 additions and 0 deletions
|
@ -382,6 +382,10 @@ enum qca_radiotap_vendor_ids {
|
|||
* Mode changes w.r.t Wi-Fi connection update (VIZ creation / deletion,
|
||||
* channel change, etc.) are updated with this event. Attributes for this
|
||||
* interface are defined in enum qca_wlan_vendor_attr_mac.
|
||||
*
|
||||
* @QCA_NL80211_VENDOR_SUBCMD_SET_QDEPTH_THRESH: Set MSDU queue depth threshold
|
||||
* per peer per TID. Attributes for this command are define in
|
||||
* enum qca_wlan_set_qdepth_thresh_attr.
|
||||
*/
|
||||
enum qca_nl80211_vendor_subcmds {
|
||||
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
|
||||
|
@ -523,6 +527,7 @@ enum qca_nl80211_vendor_subcmds {
|
|||
QCA_NL80211_VENDOR_SUBCMD_GET_RROP_INFO = 163,
|
||||
QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS = 164,
|
||||
QCA_NL80211_VENDOR_SUBCMD_WLAN_MAC_INFO = 165,
|
||||
QCA_NL80211_VENDOR_SUBCMD_SET_QDEPTH_THRESH = 166,
|
||||
};
|
||||
|
||||
|
||||
|
@ -1588,6 +1593,36 @@ enum qca_wlan_gpio_attr {
|
|||
QCA_WLAN_VENDOR_ATTR_GPIO_PARAM_LAST - 1
|
||||
};
|
||||
|
||||
/**
|
||||
* qca_wlan_set_qdepth_thresh_attr - Parameters for setting
|
||||
* MSDUQ depth threshold per peer per tid in the target
|
||||
*
|
||||
* Associated Vendor Command:
|
||||
* QCA_NL80211_VENDOR_SUBCMD_SET_QDEPTH_THRESH
|
||||
*/
|
||||
enum qca_wlan_set_qdepth_thresh_attr {
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_INVALID = 0,
|
||||
/* 6-byte MAC address */
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_MAC_ADDR,
|
||||
/* Unsigned 32-bit attribute for holding the TID */
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_TID,
|
||||
/* Unsigned 32-bit attribute for holding the update mask
|
||||
* bit 0 - Update high priority msdu qdepth threshold
|
||||
* bit 1 - Update low priority msdu qdepth threshold
|
||||
* bit 2 - Update UDP msdu qdepth threshold
|
||||
* bit 3 - Update Non UDP msdu qdepth threshold
|
||||
* rest of bits are reserved
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_UPDATE_MASK,
|
||||
/* Unsigned 32-bit attribute for holding the threshold value */
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_VALUE,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_MAX =
|
||||
QCA_WLAN_VENDOR_ATTR_QDEPTH_THRESH_LAST - 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum qca_wlan_vendor_attr_get_hw_capability - Wi-Fi hardware capability
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue