iw: update to version 4.7
[openwrt/staging/yousong.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -1817,6 +1817,11 @@ enum nl80211_commands {
4 * @NL80211_ATTR_STA_SUPPORT_P2P_PS: whether P2P PS mechanism supported
5 * or not. u8, one of the values of &enum nl80211_sta_p2p_ps_status
6 *
7 + * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
8 + *
9 + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
10 + * transmit power to stay within regulatory limits. u32, dBi.
11 + *
12 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
13 * @NL80211_ATTR_MAX: highest attribute number currently defined
14 * @__NL80211_ATTR_AFTER_LAST: internal use
15 @@ -2197,6 +2202,10 @@ enum nl80211_attrs {
16
17 NL80211_ATTR_STA_SUPPORT_P2P_PS,
18
19 + NL80211_ATTR_PAD,
20 +
21 + NL80211_ATTR_WIPHY_ANTENNA_GAIN,
22 +
23 /* add attributes here, update the policy in nl80211.c */
24
25 __NL80211_ATTR_AFTER_LAST,
26 @@ -2513,6 +2522,7 @@ enum nl80211_sta_bss_param {
27 * attributes carrying the actual values.
28 * @NL80211_STA_INFO_RX_DURATION: aggregate PPDU duration for all frames
29 * received from the station (u64, usec)
30 + * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
31 * @__NL80211_STA_INFO_AFTER_LAST: internal
32 * @NL80211_STA_INFO_MAX: highest possible station info attribute
33 */
34 @@ -2550,6 +2560,7 @@ enum nl80211_sta_info {
35 NL80211_STA_INFO_BEACON_SIGNAL_AVG,
36 NL80211_STA_INFO_TID_STATS,
37 NL80211_STA_INFO_RX_DURATION,
38 + NL80211_STA_INFO_PAD,
39
40 /* keep last */
41 __NL80211_STA_INFO_AFTER_LAST,
42 @@ -2566,6 +2577,7 @@ enum nl80211_sta_info {
43 * transmitted MSDUs (not counting the first attempt; u64)
44 * @NL80211_TID_STATS_TX_MSDU_FAILED: number of failed transmitted
45 * MSDUs (u64)
46 + * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
47 * @NUM_NL80211_TID_STATS: number of attributes here
48 * @NL80211_TID_STATS_MAX: highest numbered attribute here
49 */
50 @@ -2575,6 +2587,7 @@ enum nl80211_tid_stats {
51 NL80211_TID_STATS_TX_MSDU,
52 NL80211_TID_STATS_TX_MSDU_RETRIES,
53 NL80211_TID_STATS_TX_MSDU_FAILED,
54 + NL80211_TID_STATS_PAD,
55
56 /* keep last */
57 NUM_NL80211_TID_STATS,
58 @@ -3011,6 +3024,7 @@ enum nl80211_user_reg_hint_type {
59 * transmitting data (on channel or globally)
60 * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan
61 * (on this channel or globally)
62 + * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
63 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
64 * currently defined
65 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use
66 @@ -3026,6 +3040,7 @@ enum nl80211_survey_info {
67 NL80211_SURVEY_INFO_TIME_RX,
68 NL80211_SURVEY_INFO_TIME_TX,
69 NL80211_SURVEY_INFO_TIME_SCAN,
70 + NL80211_SURVEY_INFO_PAD,
71
72 /* keep last */
73 __NL80211_SURVEY_INFO_AFTER_LAST,
74 @@ -3451,6 +3466,7 @@ enum nl80211_bss_scan_width {
75 * @NL80211_BSS_LAST_SEEN_BOOTTIME: CLOCK_BOOTTIME timestamp when this entry
76 * was last updated by a received frame. The value is expected to be
77 * accurate to about 10ms. (u64, nanoseconds)
78 + * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
79 * @__NL80211_BSS_AFTER_LAST: internal
80 * @NL80211_BSS_MAX: highest BSS attribute
81 */
82 @@ -3471,6 +3487,7 @@ enum nl80211_bss {
83 NL80211_BSS_BEACON_TSF,
84 NL80211_BSS_PRESP_DATA,
85 NL80211_BSS_LAST_SEEN_BOOTTIME,
86 + NL80211_BSS_PAD,
87
88 /* keep last */
89 __NL80211_BSS_AFTER_LAST,