Rebase from upstream commit : 3bb9dcf44627ffdd313fe92c563ae454b6ff8aa6
[librecmc/librecmc.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -2299,6 +2299,9 @@ enum nl80211_commands {
4   *     This is also used for capability advertisement in the wiphy information,
5   *     with the appropriate sub-attributes.
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 @@ -2748,6 +2751,8 @@ enum nl80211_attrs {
14  
15         NL80211_ATTR_PEER_MEASUREMENTS,
16  
17 +       NL80211_ATTR_WIPHY_ANTENNA_GAIN,
18 +
19         /* add attributes here, update the policy in nl80211.c */
20  
21         __NL80211_ATTR_AFTER_LAST,