mac80211: add support for "active" monitor interfaces which allow userspace tools...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 523-mac80211_configure_antenna_gain.patch
index a3ba00dc46ddbae52482b81763b76c30b68fbd43..1b0730bd60caa98463c0747ae5f4bc4e45078f4c 100644 (file)
@@ -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,
        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
   *
   * @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);