diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-04-30 12:04:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-04-30 12:04:27 -0400 |
commit | f6595444c1ee798f9c227107bb3ab14730c6497a (patch) | |
tree | e8e06d7c2057c69e19848ee3abd6720927f5f9f9 /include/uapi | |
parent | 0006433a5be9e0e155ad493e33c6e9bf3868a87f (diff) | |
parent | f55ee0834247c88cb6981cb11eb1870392878371 (diff) |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Conflicts:
net/mac80211/chan.c
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nl80211.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 1ba9d626aa83..406010d4def0 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
@@ -1579,6 +1579,10 @@ enum nl80211_commands { | |||
1579 | * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32. | 1579 | * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32. |
1580 | * As specified in the &enum nl80211_tdls_peer_capability. | 1580 | * As specified in the &enum nl80211_tdls_peer_capability. |
1581 | * | 1581 | * |
1582 | * @NL80211_ATTR_IFACE_SOCKET_OWNER: flag attribute, if set during interface | ||
1583 | * creation then the new interface will be owned by the netlink socket | ||
1584 | * that created it and will be destroyed when the socket is closed | ||
1585 | * | ||
1582 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 1586 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
1583 | * @__NL80211_ATTR_AFTER_LAST: internal use | 1587 | * @__NL80211_ATTR_AFTER_LAST: internal use |
1584 | */ | 1588 | */ |
@@ -1914,6 +1918,8 @@ enum nl80211_attrs { | |||
1914 | 1918 | ||
1915 | NL80211_ATTR_TDLS_PEER_CAPABILITY, | 1919 | NL80211_ATTR_TDLS_PEER_CAPABILITY, |
1916 | 1920 | ||
1921 | NL80211_ATTR_IFACE_SOCKET_OWNER, | ||
1922 | |||
1917 | /* add attributes here, update the policy in nl80211.c */ | 1923 | /* add attributes here, update the policy in nl80211.c */ |
1918 | 1924 | ||
1919 | __NL80211_ATTR_AFTER_LAST, | 1925 | __NL80211_ATTR_AFTER_LAST, |
@@ -2336,9 +2342,34 @@ enum nl80211_band_attr { | |||
2336 | * using this channel as the primary or any of the secondary channels | 2342 | * using this channel as the primary or any of the secondary channels |
2337 | * isn't possible | 2343 | * isn't possible |
2338 | * @NL80211_FREQUENCY_ATTR_DFS_CAC_TIME: DFS CAC time in milliseconds. | 2344 | * @NL80211_FREQUENCY_ATTR_DFS_CAC_TIME: DFS CAC time in milliseconds. |
2345 | * @NL80211_FREQUENCY_ATTR_INDOOR_ONLY: Only indoor use is permitted on this | ||
2346 | * channel. A channel that has the INDOOR_ONLY attribute can only be | ||
2347 | * used when there is a clear assessment that the device is operating in | ||
2348 | * an indoor surroundings, i.e., it is connected to AC power (and not | ||
2349 | * through portable DC inverters) or is under the control of a master | ||
2350 | * that is acting as an AP and is connected to AC power. | ||
2351 | * @NL80211_FREQUENCY_ATTR_GO_CONCURRENT: GO operation is allowed on this | ||
2352 | * channel if it's connected concurrently to a BSS on the same channel on | ||
2353 | * the 2 GHz band or to a channel in the same UNII band (on the 5 GHz | ||
2354 | * band), and IEEE80211_CHAN_RADAR is not set. Instantiating a GO on a | ||
2355 | * channel that has the GO_CONCURRENT attribute set can be done when there | ||
2356 | * is a clear assessment that the device is operating under the guidance of | ||
2357 | * an authorized master, i.e., setting up a GO while the device is also | ||
2358 | * connected to an AP with DFS and radar detection on the UNII band (it is | ||
2359 | * up to user-space, i.e., wpa_supplicant to perform the required | ||
2360 | * verifications) | ||
2361 | * @NL80211_FREQUENCY_ATTR_NO_20MHZ: 20 MHz operation is not allowed | ||
2362 | * on this channel in current regulatory domain. | ||
2363 | * @NL80211_FREQUENCY_ATTR_NO_10MHZ: 10 MHz operation is not allowed | ||
2364 | * on this channel in current regulatory domain. | ||
2339 | * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number | 2365 | * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number |
2340 | * currently defined | 2366 | * currently defined |
2341 | * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use | 2367 | * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use |
2368 | * | ||
2369 | * See https://apps.fcc.gov/eas/comments/GetPublishedDocument.html?id=327&tn=528122 | ||
2370 | * for more information on the FCC description of the relaxations allowed | ||
2371 | * by NL80211_FREQUENCY_ATTR_INDOOR_ONLY and | ||
2372 | * NL80211_FREQUENCY_ATTR_GO_CONCURRENT. | ||
2342 | */ | 2373 | */ |
2343 | enum nl80211_frequency_attr { | 2374 | enum nl80211_frequency_attr { |
2344 | __NL80211_FREQUENCY_ATTR_INVALID, | 2375 | __NL80211_FREQUENCY_ATTR_INVALID, |
@@ -2355,6 +2386,10 @@ enum nl80211_frequency_attr { | |||
2355 | NL80211_FREQUENCY_ATTR_NO_80MHZ, | 2386 | NL80211_FREQUENCY_ATTR_NO_80MHZ, |
2356 | NL80211_FREQUENCY_ATTR_NO_160MHZ, | 2387 | NL80211_FREQUENCY_ATTR_NO_160MHZ, |
2357 | NL80211_FREQUENCY_ATTR_DFS_CAC_TIME, | 2388 | NL80211_FREQUENCY_ATTR_DFS_CAC_TIME, |
2389 | NL80211_FREQUENCY_ATTR_INDOOR_ONLY, | ||
2390 | NL80211_FREQUENCY_ATTR_GO_CONCURRENT, | ||
2391 | NL80211_FREQUENCY_ATTR_NO_20MHZ, | ||
2392 | NL80211_FREQUENCY_ATTR_NO_10MHZ, | ||
2358 | 2393 | ||
2359 | /* keep last */ | 2394 | /* keep last */ |
2360 | __NL80211_FREQUENCY_ATTR_AFTER_LAST, | 2395 | __NL80211_FREQUENCY_ATTR_AFTER_LAST, |
@@ -2573,10 +2608,13 @@ enum nl80211_dfs_regions { | |||
2573 | * present has been registered with the wireless core that | 2608 | * present has been registered with the wireless core that |
2574 | * has listed NL80211_FEATURE_CELL_BASE_REG_HINTS as a | 2609 | * has listed NL80211_FEATURE_CELL_BASE_REG_HINTS as a |
2575 | * supported feature. | 2610 | * supported feature. |
2611 | * @NL80211_USER_REG_HINT_INDOOR: a user sent an hint indicating that the | ||
2612 | * platform is operating in an indoor environment. | ||
2576 | */ | 2613 | */ |
2577 | enum nl80211_user_reg_hint_type { | 2614 | enum nl80211_user_reg_hint_type { |
2578 | NL80211_USER_REG_HINT_USER = 0, | 2615 | NL80211_USER_REG_HINT_USER = 0, |
2579 | NL80211_USER_REG_HINT_CELL_BASE = 1, | 2616 | NL80211_USER_REG_HINT_CELL_BASE = 1, |
2617 | NL80211_USER_REG_HINT_INDOOR = 2, | ||
2580 | }; | 2618 | }; |
2581 | 2619 | ||
2582 | /** | 2620 | /** |
@@ -3891,6 +3929,9 @@ enum nl80211_ap_sme_features { | |||
3891 | * interface. An active monitor interface behaves like a normal monitor | 3929 | * interface. An active monitor interface behaves like a normal monitor |
3892 | * interface, but gets added to the driver. It ensures that incoming | 3930 | * interface, but gets added to the driver. It ensures that incoming |
3893 | * unicast packets directed at the configured interface address get ACKed. | 3931 | * unicast packets directed at the configured interface address get ACKed. |
3932 | * @NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE: This driver supports dynamic | ||
3933 | * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the | ||
3934 | * lifetime of a BSS. | ||
3894 | */ | 3935 | */ |
3895 | enum nl80211_feature_flags { | 3936 | enum nl80211_feature_flags { |
3896 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, | 3937 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
@@ -3911,6 +3952,7 @@ enum nl80211_feature_flags { | |||
3911 | NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15, | 3952 | NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15, |
3912 | NL80211_FEATURE_USERSPACE_MPM = 1 << 16, | 3953 | NL80211_FEATURE_USERSPACE_MPM = 1 << 16, |
3913 | NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17, | 3954 | NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17, |
3955 | NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18, | ||
3914 | }; | 3956 | }; |
3915 | 3957 | ||
3916 | /** | 3958 | /** |