Rebase from upstream commit : 3bb9dcf44627ffdd313fe92c563ae454b6ff8aa6
[librecmc/librecmc.git] / package / network / utils / iw / patches / 120-antenna_gain.patch
index 27ba390c7ffeb90df5a0fbda2d4cdee52e11d7e1..c81bcab602b52de5770a0256b0a06cb34b8d6053 100644 (file)
@@ -1,9 +1,9 @@
 --- a/phy.c
 +++ b/phy.c
-@@ -727,3 +727,30 @@ COMMAND(set, antenna, "<bitmap> | all |
      NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_antenna,
-       "Set a bitmap of allowed antennas to use for TX and RX.\n"
-       "The driver may reject antenna configurations it cannot support.");
+@@ -843,3 +843,30 @@ static int handle_get_txq(struct nl80211
COMMAND(get, txq, "",
+       NL80211_CMD_GET_WIPHY, 0, CIB_PHY, handle_get_txq,
+       "Get TXQ parameters.");
 +
 +static int handle_antenna_gain(struct nl80211_state *state,
 +                             struct nl_msg *msg,