The information of the peer's supported channels and supported operating classes are required for the driver to perform TDLS off channel operations. This commit enhances the function nl80211_(new)set_station to pass this information of the peer to the driver.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -1496,6 +1496,11 @@ enum nl80211_commands { · 1495 unmodified lines | ||
| 1496 | 1496 | * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32. |
| 1497 | 1497 | * As specified in the &enum nl80211_rxmgmt_flags. |
| 1498 | 1498 | * |
| 1499 | + * @NL80211_ATTR_STA_SUPPORTED_CHANNELS: array of supported channels. | |
| 1500 | + * | |
| 1501 | + * @NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES: array of supported | |
| 1502 | + * supported operating classes. | |
| 1503 | + * | |
| 1499 | 1504 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1500 | 1505 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 1501 | 1506 | */ |
| @@ -1806,6 +1811,10 @@ enum nl80211_attrs { · 304 unmodified lines | ||
| 1806 | 1811 | |
| 1807 | 1812 | NL80211_ATTR_RXMGMT_FLAGS, |
| 1808 | 1813 | |
| 1814 | + NL80211_ATTR_STA_SUPPORTED_CHANNELS, | |
| 1815 | + | |
| 1816 | + NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES, | |
| 1817 | + | |
| 1809 | 1818 | /* add attributes here, update the policy in nl80211.c */ |
| 1810 | 1819 | |
| 1811 | 1820 | __NL80211_ATTR_AFTER_LAST, |