c944e02ba65bf4392e14eac7c4891702ae15baca
[openwrt/openwrt.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -2527,6 +2527,9 @@ enum nl80211_commands {
4 * override mask. Used with NL80211_ATTR_S1G_CAPABILITY in
5 * NL80211_CMD_ASSOCIATE or NL80211_CMD_CONNECT.
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 @@ -3016,6 +3019,8 @@ enum nl80211_attrs {
14 NL80211_ATTR_S1G_CAPABILITY,
15 NL80211_ATTR_S1G_CAPABILITY_MASK,
16
17 + NL80211_ATTR_WIPHY_ANTENNA_GAIN,
18 +
19 /* add attributes here, update the policy in nl80211.c */
20
21 __NL80211_ATTR_AFTER_LAST,