Showing the changes to include/uapi/linux (1 of 161 files). Show all
Unified · Split
| @@ -581,7 +581,14 @@ · 580 unmodified lines | ||
| 581 | 581 | * operation, %NL80211_ATTR_MAC contains the peer MAC address, and |
| 582 | 582 | * %NL80211_ATTR_REASON_CODE the reason code to be used (only with |
| 583 | 583 | * %NL80211_TDLS_TEARDOWN). |
| 584 | − * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. | |
| 584 | + * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The | |
| 585 | + * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be | |
| 586 | + * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as | |
| 587 | + * 802.11 management frames, while TDLS action codes (802.11-2012 | |
| 588 | + * 8.5.13.1) will be encapsulated and sent as data frames. The currently | |
| 589 | + * supported Public Action code is %WLAN_PUB_ACTION_TDLS_DISCOVER_RES | |
| 590 | + * and the currently supported TDLS actions codes are given in | |
| 591 | + * &enum ieee80211_tdls_actioncode. | |
| 585 | 592 | * |
| 586 | 593 | * @NL80211_CMD_UNEXPECTED_FRAME: Used by an application controlling an AP |
| 587 | 594 | * (or GO) interface (i.e. hostapd) to ask for unexpected frames to |
| @@ -1508,6 +1515,11 @@ enum nl80211_commands { · 920 unmodified lines | ||
| 1508 | 1515 | * to react to radar events, e.g. initiate a channel switch or leave the |
| 1509 | 1516 | * IBSS network. |
| 1510 | 1517 | * |
| 1518 | + * @NL80211_ATTR_SUPPORT_5_MHZ: A flag indicating that the device supports | |
| 1519 | + * 5 MHz channel bandwidth. | |
| 1520 | + * @NL80211_ATTR_SUPPORT_10_MHZ: A flag indicating that the device supports | |
| 1521 | + * 10 MHz channel bandwidth. | |
| 1522 | + * | |
| 1511 | 1523 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1512 | 1524 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 1513 | 1525 | */ |
| @@ -1824,6 +1836,9 @@ enum nl80211_attrs { · 310 unmodified lines | ||
| 1824 | 1836 | |
| 1825 | 1837 | NL80211_ATTR_HANDLE_DFS, |
| 1826 | 1838 | |
| 1839 | + NL80211_ATTR_SUPPORT_5_MHZ, | |
| 1840 | + NL80211_ATTR_SUPPORT_10_MHZ, | |
| 1841 | + | |
| 1827 | 1842 | /* add attributes here, update the policy in nl80211.c */ |
| 1828 | 1843 | |
| 1829 | 1844 | __NL80211_ATTR_AFTER_LAST, |
| @@ -2224,10 +2239,9 @@ enum nl80211_band_attr { · 394 unmodified lines | ||
| 2224 | 2239 | * @NL80211_FREQUENCY_ATTR_FREQ: Frequency in MHz |
| 2225 | 2240 | * @NL80211_FREQUENCY_ATTR_DISABLED: Channel is disabled in current |
| 2226 | 2241 | * regulatory domain. |
| 2227 | − * @NL80211_FREQUENCY_ATTR_PASSIVE_SCAN: Only passive scanning is | |
| 2228 | − * permitted on this channel in current regulatory domain. | |
| 2229 | − * @NL80211_FREQUENCY_ATTR_NO_IBSS: IBSS networks are not permitted | |
| 2230 | − * on this channel in current regulatory domain. | |
| 2242 | + * @NL80211_FREQUENCY_ATTR_NO_IR: no mechanisms that initiate radiation | |
| 2243 | + * are permitted on this channel, this includes sending probe | |
| 2244 | + * requests, or modes of operation that require beaconing. | |
| 2231 | 2245 | * @NL80211_FREQUENCY_ATTR_RADAR: Radar detection is mandatory |
| 2232 | 2246 | * on this channel in current regulatory domain. |
| 2233 | 2247 | * @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in mBm |
| @@ -2254,8 +2268,8 @@ enum nl80211_frequency_attr { · 20 unmodified lines | ||
| 2254 | 2268 | __NL80211_FREQUENCY_ATTR_INVALID, |
| 2255 | 2269 | NL80211_FREQUENCY_ATTR_FREQ, |
| 2256 | 2270 | NL80211_FREQUENCY_ATTR_DISABLED, |
| 2257 | − NL80211_FREQUENCY_ATTR_PASSIVE_SCAN, | |
| 2258 | − NL80211_FREQUENCY_ATTR_NO_IBSS, | |
| 2271 | + NL80211_FREQUENCY_ATTR_NO_IR, | |
| 2272 | + __NL80211_FREQUENCY_ATTR_NO_IBSS, | |
| 2259 | 2273 | NL80211_FREQUENCY_ATTR_RADAR, |
| 2260 | 2274 | NL80211_FREQUENCY_ATTR_MAX_TX_POWER, |
| 2261 | 2275 | NL80211_FREQUENCY_ATTR_DFS_STATE, |
| @@ -2271,6 +2285,9 @@ enum nl80211_frequency_attr { · 9 unmodified lines | ||
| 2271 | 2285 | }; |
| 2272 | 2286 | |
| 2273 | 2287 | #define NL80211_FREQUENCY_ATTR_MAX_TX_POWER NL80211_FREQUENCY_ATTR_MAX_TX_POWER |
| 2288 | +#define NL80211_FREQUENCY_ATTR_PASSIVE_SCAN NL80211_FREQUENCY_ATTR_NO_IR | |
| 2289 | +#define NL80211_FREQUENCY_ATTR_NO_IBSS NL80211_FREQUENCY_ATTR_NO_IR | |
| 2290 | +#define NL80211_FREQUENCY_ATTR_NO_IR NL80211_FREQUENCY_ATTR_NO_IR | |
| 2274 | 2291 | |
| 2275 | 2292 | /** |
| 2276 | 2293 | * enum nl80211_bitrate_attr - bitrate attributes |
| @@ -2413,8 +2430,9 @@ enum nl80211_sched_scan_match_attr { · 136 unmodified lines | ||
| 2413 | 2430 | * @NL80211_RRF_DFS: DFS support is required to be used |
| 2414 | 2431 | * @NL80211_RRF_PTP_ONLY: this is only for Point To Point links |
| 2415 | 2432 | * @NL80211_RRF_PTMP_ONLY: this is only for Point To Multi Point links |
| 2416 | − * @NL80211_RRF_PASSIVE_SCAN: passive scan is required | |
| 2417 | − * @NL80211_RRF_NO_IBSS: no IBSS is allowed | |
| 2433 | + * @NL80211_RRF_NO_IR: no mechanisms that initiate radiation are allowed, | |
| 2434 | + * this includes probe requests or modes of operation that require | |
| 2435 | + * beaconing. | |
| 2418 | 2436 | */ |
| 2419 | 2437 | enum nl80211_reg_rule_flags { |
| 2420 | 2438 | NL80211_RRF_NO_OFDM = 1<<0, |
| @@ -2424,10 +2442,17 @@ enum nl80211_reg_rule_flags { · 3 unmodified lines | ||
| 2424 | 2442 | NL80211_RRF_DFS = 1<<4, |
| 2425 | 2443 | NL80211_RRF_PTP_ONLY = 1<<5, |
| 2426 | 2444 | NL80211_RRF_PTMP_ONLY = 1<<6, |
| 2427 | − NL80211_RRF_PASSIVE_SCAN = 1<<7, | |
| 2428 | − NL80211_RRF_NO_IBSS = 1<<8, | |
| 2445 | + NL80211_RRF_NO_IR = 1<<7, | |
| 2446 | + __NL80211_RRF_NO_IBSS = 1<<8, | |
| 2429 | 2447 | }; |
| 2430 | 2448 | |
| 2449 | +#define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR | |
| 2450 | +#define NL80211_RRF_NO_IBSS NL80211_RRF_NO_IR | |
| 2451 | +#define NL80211_RRF_NO_IR NL80211_RRF_NO_IR | |
| 2452 | + | |
| 2453 | +/* For backport compatibility with older userspace */ | |
| 2454 | +#define NL80211_RRF_NO_IR_ALL (NL80211_RRF_NO_IR | __NL80211_RRF_NO_IBSS) | |
| 2455 | + | |
| 2431 | 2456 | /** |
| 2432 | 2457 | * enum nl80211_dfs_regions - regulatory DFS regions |
| 2433 | 2458 | * |