History

cfg80211: pass station supported channel and oper class info

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.

Sunil Dutt committed 13 years ago

Commit c01fc9a1 parent 789fd033 files · +63 −0Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+9−0
@@ -1496,6 +1496,11 @@ enum nl80211_commands { · 1495 unmodified lines
1496 * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32.1496 * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32.
1497 * As specified in the &enum nl80211_rxmgmt_flags.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 * @NL80211_ATTR_MAX: highest attribute number currently defined1504 * @NL80211_ATTR_MAX: highest attribute number currently defined
1500 * @__NL80211_ATTR_AFTER_LAST: internal use1505 * @__NL80211_ATTR_AFTER_LAST: internal use
1501 */1506 */
@@ -1806,6 +1811,10 @@ enum nl80211_attrs { · 304 unmodified lines
1806 1811
1807 NL80211_ATTR_RXMGMT_FLAGS,1812 NL80211_ATTR_RXMGMT_FLAGS,
1808 1813
1814 NL80211_ATTR_STA_SUPPORTED_CHANNELS,
1815
1816 NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES,
1817
1809 /* add attributes here, update the policy in nl80211.c */1818 /* add attributes here, update the policy in nl80211.c */
1810 1819
1811 __NL80211_ATTR_AFTER_LAST,1820 __NL80211_ATTR_AFTER_LAST,