Showing the changes to include/uapi/linux (1 of 213 files). Show all
Unified · Split
| @@ -1579,6 +1579,10 @@ enum nl80211_commands { · 1578 unmodified lines | ||
| 1579 | 1579 | * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32. |
| 1580 | 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 | 1586 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1583 | 1587 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 1584 | 1588 | */ |
| @@ -1914,6 +1918,8 @@ enum nl80211_attrs { · 329 unmodified lines | ||
| 1914 | 1918 | |
| 1915 | 1919 | NL80211_ATTR_TDLS_PEER_CAPABILITY, |
| 1916 | 1920 | |
| 1921 | + NL80211_ATTR_IFACE_SOCKET_OWNER, | |
| 1922 | + | |
| 1917 | 1923 | /* add attributes here, update the policy in nl80211.c */ |
| 1918 | 1924 | |
| 1919 | 1925 | __NL80211_ATTR_AFTER_LAST, |
| @@ -2336,9 +2342,34 @@ enum nl80211_band_attr { · 416 unmodified lines | ||
| 2336 | 2342 | * using this channel as the primary or any of the secondary channels |
| 2337 | 2343 | * isn't possible |
| 2338 | 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 | 2365 | * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number |
| 2340 | 2366 | * currently defined |
| 2341 | 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 | 2374 | enum nl80211_frequency_attr { |
| 2344 | 2375 | __NL80211_FREQUENCY_ATTR_INVALID, |
| @@ -2355,6 +2386,10 @@ enum nl80211_frequency_attr { · 10 unmodified lines | ||
| 2355 | 2386 | NL80211_FREQUENCY_ATTR_NO_80MHZ, |
| 2356 | 2387 | NL80211_FREQUENCY_ATTR_NO_160MHZ, |
| 2357 | 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 | 2394 | /* keep last */ |
| 2360 | 2395 | __NL80211_FREQUENCY_ATTR_AFTER_LAST, |
| @@ -2573,10 +2608,13 @@ enum nl80211_dfs_regions { · 212 unmodified lines | ||
| 2573 | 2608 | * present has been registered with the wireless core that |
| 2574 | 2609 | * has listed NL80211_FEATURE_CELL_BASE_REG_HINTS as a |
| 2575 | 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 | 2614 | enum nl80211_user_reg_hint_type { |
| 2578 | 2615 | NL80211_USER_REG_HINT_USER = 0, |
| 2579 | 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 { · 1308 unmodified lines | ||
| 3891 | 3929 | * interface. An active monitor interface behaves like a normal monitor |
| 3892 | 3930 | * interface, but gets added to the driver. It ensures that incoming |
| 3893 | 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 | 3936 | enum nl80211_feature_flags { |
| 3896 | 3937 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
| @@ -3911,6 +3952,7 @@ enum nl80211_feature_flags { · 14 unmodified lines | ||
| 3911 | 3952 | NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15, |
| 3912 | 3953 | NL80211_FEATURE_USERSPACE_MPM = 1 << 16, |
| 3913 | 3954 | NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17, |
| 3955 | + NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18, | |
| 3914 | 3956 | }; |
| 3915 | 3957 | |
| 3916 | 3958 | /** |