History

wifi: cfg80211: Add support for setting TID to link mapping

Add support for setting the TID to link mapping for a non-AP MLD station. This is useful in cases user space needs to restrict the possible set of active links, e.g., since it got a BSS Transition Management request forcing to use only a subset of the valid links etc.

Ilan Peer committed 2 years ago

Commit b61e6b41 parent 9adc8b65 files · +112 −0Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+19−0
@@ -1328,6 +1328,11 @@ · 1327 unmodified lines
13281328 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
13291329 * information about the removed STA MLD setup links.
13301330 *
1331+ * @NL80211_CMD_SET_TID_TO_LINK_MAPPING: Set the TID to Link Mapping for a
1332+ * non-AP MLD station. The %NL80211_ATTR_MLO_TTLM_DLINK and
1333+ * %NL80211_ATTR_MLO_TTLM_ULINK attributes are used to specify the
1334+ * TID to Link mapping for downlink/uplink traffic.
1335+ *
13311336 * @NL80211_CMD_MAX: highest used command number
13321337 * @__NL80211_CMD_AFTER_LAST: internal use
13331338 */
@@ -1583,6 +1588,8 @@ enum nl80211_commands { · 249 unmodified lines
15831588
15841589 NL80211_CMD_LINKS_REMOVED,
15851590
1591+ NL80211_CMD_SET_TID_TO_LINK_MAPPING,
1592+
15861593 /* add new commands above here */
15871594
15881595 /* used to define NL80211_CMD_MAX below */
@@ -2835,6 +2842,15 @@ enum nl80211_commands { · 1246 unmodified lines
28352842 * include BSSes that can only be used in restricted scenarios and/or
28362843 * cannot be used at all.
28372844 *
2845+ * @NL80211_ATTR_MLO_TTLM_DLINK: Binary attribute specifying the downlink TID to
2846+ * link mapping. The length is 8 * sizeof(u16). For each TID the link
2847+ * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2848+ * in Draft P802.11be_D4.0.
2849+ * @NL80211_ATTR_MLO_TTLM_ULINK: Binary attribute specifying the uplink TID to
2850+ * link mapping. The length is 8 * sizeof(u16). For each TID the link
2851+ * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2852+ * in Draft P802.11be_D4.0.
2853+ *
28382854 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
28392855 * @NL80211_ATTR_MAX: highest attribute number currently defined
28402856 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3375,6 +3391,9 @@ enum nl80211_attrs { · 534 unmodified lines
33753391
33763392 NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA,
33773393
3394+ NL80211_ATTR_MLO_TTLM_DLINK,
3395+ NL80211_ATTR_MLO_TTLM_ULINK,
3396+
33783397 /* add attributes here, update the policy in nl80211.c */
33793398
33803399 __NL80211_ATTR_AFTER_LAST,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t