iw: update to iw 3.14
[openwrt/openwrt.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -1555,6 +1555,9 @@ enum nl80211_commands {
4 * data is in the format defined for the payload of the QoS Map Set element
5 * in IEEE Std 802.11-2012, 8.4.2.97.
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 * @NL80211_ATTR_MAX: highest attribute number currently defined
11 * @__NL80211_ATTR_AFTER_LAST: internal use
12 */
13 @@ -1883,6 +1886,8 @@ enum nl80211_attrs {
14
15 NL80211_ATTR_QOS_MAP,
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 @@ -2442,9 +2447,15 @@ enum nl80211_reg_rule_attr {
23 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
24 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
25 * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,
26 - * only report BSS with matching SSID.
27 + * only report BSS with matching SSID.
28 * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a
29 - * BSS in scan results. Filtering is turned off if not specified.
30 + * BSS in scan results. Filtering is turned off if not specified. Note that
31 + * if this attribute is in a match set of its own, then it is treated as
32 + * the default value for all matchsets with an SSID, rather than being a
33 + * matchset of its own without an RSSI filter. This is due to problems with
34 + * how this API was implemented in the past. Also, due to the same problem,
35 + * the only way to create a matchset with only an RSSI filter (with this
36 + * attribute) is if there's only a single matchset with the RSSI attribute.
37 * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter
38 * attribute number currently defined
39 * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use