aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/523-mac80211_configure_antenna_gain.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-28 11:10:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-05-28 11:10:41 +0000
commite6250644be2b94bd8be657464030e699e5d87f18 (patch)
tree9cf5b644513ca6e8d892e91e89d55276401c34c1 /package/mac80211/patches/523-mac80211_configure_antenna_gain.patch
parent61c0c6ab6862216e07b2de7903e055a63ac543f1 (diff)
downloadupstream-e6250644be2b94bd8be657464030e699e5d87f18.tar.gz
upstream-e6250644be2b94bd8be657464030e699e5d87f18.tar.bz2
upstream-e6250644be2b94bd8be657464030e699e5d87f18.zip
mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36743
Diffstat (limited to 'package/mac80211/patches/523-mac80211_configure_antenna_gain.patch')
-rw-r--r--package/mac80211/patches/523-mac80211_configure_antenna_gain.patch8
1 files changed, 4 insertions, 4 deletions
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);