X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F523-mac80211_configure_antenna_gain.patch;fp=package%2Fmac80211%2Fpatches%2F523-mac80211_configure_antenna_gain.patch;h=1b0730bd60caa98463c0747ae5f4bc4e45078f4c;hp=a3ba00dc46ddbae52482b81763b76c30b68fbd43;hb=e3aa0face6e37020904a823aa2b098952f929863;hpb=142c1f8172aa0a07ed72810276faa52e865e3976 diff --git a/package/mac80211/patches/523-mac80211_configure_antenna_gain.patch b/package/mac80211/patches/523-mac80211_configure_antenna_gain.patch index a3ba00dc46..1b0730bd60 100644 --- a/package/mac80211/patches/523-mac80211_configure_antenna_gain.patch +++ b/package/mac80211/patches/523-mac80211_configure_antenna_gain.patch @@ -72,7 +72,7 @@ u32 tx_ant, rx_ant; --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c -@@ -2269,6 +2269,19 @@ static int ieee80211_get_tx_power(struct +@@ -2272,6 +2272,19 @@ static int ieee80211_get_tx_power(struct return 0; } @@ -92,7 +92,7 @@ static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev, const u8 *addr) { -@@ -3459,6 +3472,7 @@ struct cfg80211_ops mac80211_config_ops +@@ -3462,6 +3475,7 @@ struct cfg80211_ops mac80211_config_ops .set_wiphy_params = ieee80211_set_wiphy_params, .set_tx_power = ieee80211_set_tx_power, .get_tx_power = ieee80211_get_tx_power, @@ -102,7 +102,7 @@ CFG80211_TESTMODE_CMD(ieee80211_testmode_cmd) --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h -@@ -1921,6 +1921,7 @@ struct cfg80211_update_ft_ies_params { +@@ -1922,6 +1922,7 @@ struct cfg80211_update_ft_ies_params { * (as advertised by the nl80211 feature flag.) * @get_tx_power: store the current TX power into the dbm variable; * return 0 if successful @@ -110,7 +110,7 @@ * * @set_wds_peer: set the WDS peer for a WDS interface * -@@ -2134,6 +2135,7 @@ struct cfg80211_ops { +@@ -2135,6 +2136,7 @@ struct cfg80211_ops { enum nl80211_tx_power_setting type, int mbm); int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev, int *dbm);