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
1328 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide1328 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1329 * information about the removed STA MLD setup links.1329 * information about the removed STA MLD setup links.
1330 *1330 *
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 *
1331 * @NL80211_CMD_MAX: highest used command number1336 * @NL80211_CMD_MAX: highest used command number
1332 * @__NL80211_CMD_AFTER_LAST: internal use1337 * @__NL80211_CMD_AFTER_LAST: internal use
1333 */1338 */
@@ -1583,6 +1588,8 @@ enum nl80211_commands { · 249 unmodified lines
1583 1588
1584 NL80211_CMD_LINKS_REMOVED,1589 NL80211_CMD_LINKS_REMOVED,
1585 1590
1591 NL80211_CMD_SET_TID_TO_LINK_MAPPING,
1592
1586 /* add new commands above here */1593 /* add new commands above here */
1587 1594
1588 /* used to define NL80211_CMD_MAX below */1595 /* used to define NL80211_CMD_MAX below */
@@ -2835,6 +2842,15 @@ enum nl80211_commands { · 1246 unmodified lines
2835 * include BSSes that can only be used in restricted scenarios and/or2842 * include BSSes that can only be used in restricted scenarios and/or
2836 * cannot be used at all.2843 * cannot be used at all.
2837 *2844 *
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 *
2838 * @NUM_NL80211_ATTR: total number of nl80211_attrs available2854 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
2839 * @NL80211_ATTR_MAX: highest attribute number currently defined2855 * @NL80211_ATTR_MAX: highest attribute number currently defined
2840 * @__NL80211_ATTR_AFTER_LAST: internal use2856 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3375,6 +3391,9 @@ enum nl80211_attrs { · 534 unmodified lines
3375 3391
3376 NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA,3392 NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA,
3377 3393
3394 NL80211_ATTR_MLO_TTLM_DLINK,
3395 NL80211_ATTR_MLO_TTLM_ULINK,
3396
3378 /* add attributes here, update the policy in nl80211.c */3397 /* add attributes here, update the policy in nl80211.c */
3379 3398
3380 __NL80211_ATTR_AFTER_LAST,3399 __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