OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 --- a/phy.c 1 --- a/phy.c
2 +++ b/phy.c 2 +++ b/phy.c
3 @@ -843,3 +843,30 @@ static int handle_get_txq(struct nl80211 3 @@ -727,3 +727,30 @@ COMMAND(set, antenna, "<bitmap> | all |
4 COMMAND(get, txq, "", -  
5 NL80211_CMD_GET_WIPHY, 0, CIB_PHY, handle_get_txq, 4 NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_antenna,
6 "Get TXQ parameters."); 5 "Set a bitmap of allowed antennas to use for TX and RX.\n"
-   6 "The driver may reject antenna configurations it cannot support.");
7 + 7 +
8 +static int handle_antenna_gain(struct nl80211_state *state, 8 +static int handle_antenna_gain(struct nl80211_state *state,
9 + struct nl_msg *msg, 9 + struct nl_msg *msg,
10 + int argc, char **argv, 10 + int argc, char **argv,
11 + enum id_input id) 11 + enum id_input id)