iw: update to version 3.3, sync with latest nl80211.h changes
[openwrt.git] / package / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -1475,6 +1475,7 @@ enum nl80211_attrs {
4 #define NL80211_ATTR_FEATURE_FLAGS NL80211_ATTR_FEATURE_FLAGS
5
6 #define NL80211_MAX_SUPP_RATES 32
7 +#define NL80211_MAX_SUPP_HT_RATES 77
8 #define NL80211_MAX_SUPP_REG_RULES 32
9 #define NL80211_TKIP_DATA_OFFSET_ENCR_KEY 0
10 #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16
11 @@ -1536,7 +1537,11 @@ enum nl80211_iftype {
12 * @NL80211_STA_FLAG_WME: station is WME/QoS capable
13 * @NL80211_STA_FLAG_MFP: station uses management frame protection
14 * @NL80211_STA_FLAG_AUTHENTICATED: station is authenticated
15 - * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer
16 + * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
17 + * only be used in managed mode (even in the flags mask). Note that the
18 + * flag can't be changed, it is only valid while adding a station, and
19 + * attempts to change it will silently be ignored (rather than rejected
20 + * as errors.)
21 * @NL80211_STA_FLAG_MAX: highest station flag number currently defined
22 * @__NL80211_STA_FLAG_AFTER_LAST: internal use
23 */
24 @@ -1651,6 +1656,9 @@ enum nl80211_sta_bss_param {
25 * containing info as possible, see &enum nl80211_sta_bss_param
26 * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected
27 * @NL80211_STA_INFO_STA_FLAGS: Contains a struct nl80211_sta_flag_update.
28 + * @NL80211_STA_INFO_BEACON_LOSS: count of times beacon loss was detected (u32)
29 + * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
30 + * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
31 * @__NL80211_STA_INFO_AFTER_LAST: internal
32 * @NL80211_STA_INFO_MAX: highest possible station info attribute
33 */
34 @@ -1673,6 +1681,9 @@ enum nl80211_sta_info {
35 NL80211_STA_INFO_BSS_PARAM,
36 NL80211_STA_INFO_CONNECTED_TIME,
37 NL80211_STA_INFO_STA_FLAGS,
38 + NL80211_STA_INFO_BEACON_LOSS,
39 + NL80211_STA_INFO_CHAIN_SIGNAL,
40 + NL80211_STA_INFO_CHAIN_SIGNAL_AVG,
41
42 /* keep last */
43 __NL80211_STA_INFO_AFTER_LAST,
44 @@ -2098,6 +2109,9 @@ enum nl80211_mntr_flags {
45 * TUs) during which a mesh STA can send only one Action frame containing a
46 * PERR element.
47 *
48 + * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
49 + * or forwarding entity (default is TRUE - forwarding entity)
50 + *
51 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
52 *
53 * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use
54 @@ -2122,6 +2136,7 @@ enum nl80211_meshconf_params {
55 NL80211_MESHCONF_HWMP_RANN_INTERVAL,
56 NL80211_MESHCONF_GATE_ANNOUNCEMENTS,
57 NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL,
58 + NL80211_MESHCONF_FORWARDING,
59
60 /* keep last */
61 __NL80211_MESHCONF_ATTR_AFTER_LAST,
62 @@ -2395,12 +2410,15 @@ enum nl80211_key_attributes {
63 * in an array of rates as defined in IEEE 802.11 7.3.2.2 (u8 values with
64 * 1 = 500 kbps) but without the IE length restriction (at most
65 * %NL80211_MAX_SUPP_RATES in a single array).
66 + * @NL80211_TXRATE_MCS: HT (MCS) rates allowed for TX rate selection
67 + * in an array of MCS numbers.
68 * @__NL80211_TXRATE_AFTER_LAST: internal
69 * @NL80211_TXRATE_MAX: highest TX rate attribute
70 */
71 enum nl80211_tx_rate_attributes {
72 __NL80211_TXRATE_INVALID,
73 NL80211_TXRATE_LEGACY,
74 + NL80211_TXRATE_MCS,
75
76 /* keep last */
77 __NL80211_TXRATE_AFTER_LAST,
This page took 0.055086 seconds and 5 git commands to generate.