iw: update to 5.4
[openwrt/staging/mkresin.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -2373,6 +2373,9 @@ enum nl80211_commands {
4 * the allowed channel bandwidth configurations. (u8 attribute)
5 * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251, Table 13.
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 @@ -2835,6 +2838,8 @@ enum nl80211_attrs {
14 NL80211_ATTR_WIPHY_EDMG_CHANNELS,
15 NL80211_ATTR_WIPHY_EDMG_BW_CONFIG,
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 @@ -5484,6 +5489,10 @@ enum nl80211_feature_flags {
23 * @NL80211_EXT_FEATURE_SAE_OFFLOAD: Device wants to do SAE authentication in
24 * station mode (SAE password is passed as part of the connect command).
25 *
26 + * @NL80211_EXT_FEATURE_AQL: The driver supports the Airtime Queue Limit (AQL)
27 + * feature, which prevents bufferbloat by using the expected transmission
28 + * time to limit the amount of data buffered in the hardware.
29 + *
30 * @NUM_NL80211_EXT_FEATURES: number of extended features.
31 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
32 */
33 @@ -5529,6 +5538,8 @@ enum nl80211_ext_feature_index {
34 NL80211_EXT_FEATURE_EXT_KEY_ID,
35 NL80211_EXT_FEATURE_STA_TX_PWR,
36 NL80211_EXT_FEATURE_SAE_OFFLOAD,
37 + NL80211_EXT_FEATURE_VLAN_OFFLOAD,
38 + NL80211_EXT_FEATURE_AQL,
39
40 /* add new features before the definition below */
41 NUM_NL80211_EXT_FEATURES,