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
14961496 * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32.
14971497 * As specified in the &enum nl80211_rxmgmt_flags.
14981498 *
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+ *
14991504 * @NL80211_ATTR_MAX: highest attribute number currently defined
15001505 * @__NL80211_ATTR_AFTER_LAST: internal use
15011506 */
@@ -1806,6 +1811,10 @@ enum nl80211_attrs { · 304 unmodified lines
18061811
18071812 NL80211_ATTR_RXMGMT_FLAGS,
18081813
1814+ NL80211_ATTR_STA_SUPPORTED_CHANNELS,
1815+
1816+ NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES,
1817+
18091818 /* add attributes here, update the policy in nl80211.c */
18101819
18111820 __NL80211_ATTR_AFTER_LAST,