iw: update to version 4.14
[openwrt/openwrt.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -2153,6 +2153,9 @@ enum nl80211_commands {
4 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
5 * @NL80211_ATTR_PORT_AUTHORIZED: (reserved)
6 *
7 + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
8 + * transmit power to stay within regulatory limits. u32, dBi.
9 + *
10 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
11 * @NL80211_ATTR_MAX: highest attribute number currently defined
12 * @__NL80211_ATTR_AFTER_LAST: internal use
13 @@ -2579,6 +2582,8 @@ enum nl80211_attrs {
14 NL80211_ATTR_PMKR0_NAME,
15 NL80211_ATTR_PORT_AUTHORIZED,
16
17 + NL80211_ATTR_WIPHY_ANTENNA_GAIN,
18 +
19 /* add attributes here, update the policy in nl80211.c */
20
21 __NL80211_ATTR_AFTER_LAST,
22 @@ -3862,9 +3867,6 @@ enum nl80211_bss_scan_width {
23 * @NL80211_BSS_PARENT_BSSID. (u64).
24 * @NL80211_BSS_PARENT_BSSID: the BSS according to which @NL80211_BSS_PARENT_TSF
25 * is set.
26 - * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
27 - * Contains a nested array of signal strength attributes (u8, dBm),
28 - * using the nesting index as the antenna number.
29 * @__NL80211_BSS_AFTER_LAST: internal
30 * @NL80211_BSS_MAX: highest BSS attribute
31 */
32 @@ -3888,7 +3890,6 @@ enum nl80211_bss {
33 NL80211_BSS_PAD,
34 NL80211_BSS_PARENT_TSF,
35 NL80211_BSS_PARENT_BSSID,
36 - NL80211_BSS_CHAIN_SIGNAL,
37
38 /* keep last */
39 __NL80211_BSS_AFTER_LAST,