aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/iw/patches/302-sta-retries.patch6
-rw-r--r--package/iw/patches/401-antenna.patch8
-rw-r--r--package/iw/patches/500-sta-signal-avg.patch8
-rw-r--r--package/iw/patches/501-ibss-bintval.patch6
4 files changed, 8 insertions, 20 deletions
diff --git a/package/iw/patches/302-sta-retries.patch b/package/iw/patches/302-sta-retries.patch
index 6141d29233..8c1ce13efc 100644
--- a/package/iw/patches/302-sta-retries.patch
+++ b/package/iw/patches/302-sta-retries.patch
@@ -7,11 +7,9 @@ Signed-off-by: Bruno Randolf <br1@einfach.org>
station.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
-diff --git a/station.c b/station.c
-index 8cf038d..7639553 100644
--- a/station.c
+++ b/station.c
-@@ -48,6 +48,8 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -48,6 +48,8 @@ static int print_sta_handler(struct nl_m
[NL80211_STA_INFO_LLID] = { .type = NLA_U16 },
[NL80211_STA_INFO_PLID] = { .type = NLA_U16 },
[NL80211_STA_INFO_PLINK_STATE] = { .type = NLA_U8 },
@@ -20,7 +18,7 @@ index 8cf038d..7639553 100644
};
static struct nla_policy rate_policy[NL80211_RATE_INFO_MAX + 1] = {
-@@ -96,6 +98,12 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -96,6 +98,12 @@ static int print_sta_handler(struct nl_m
if (sinfo[NL80211_STA_INFO_TX_PACKETS])
printf("\n\ttx packets:\t%u",
nla_get_u32(sinfo[NL80211_STA_INFO_TX_PACKETS]));
diff --git a/package/iw/patches/401-antenna.patch b/package/iw/patches/401-antenna.patch
index fbac49eb7a..62f37c2e2d 100644
--- a/package/iw/patches/401-antenna.patch
+++ b/package/iw/patches/401-antenna.patch
@@ -15,11 +15,9 @@ v8: Simplfied option parser as requested.
phy.c | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)
-diff --git a/info.c b/info.c
-index ce85514..75cadf0 100644
--- a/info.c
+++ b/info.c
-@@ -168,6 +168,13 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
+@@ -168,6 +168,13 @@ static int print_phy_handler(struct nl_m
printf("\tCoverage class: %d (up to %dm)\n", coverage, 450 * coverage);
}
@@ -33,11 +31,9 @@ index ce85514..75cadf0 100644
if (tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES]) {
printf("\tSupported interface modes:\n");
nla_for_each_nested(nl_mode, tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES], rem_mode)
-diff --git a/phy.c b/phy.c
-index 7c6c7c8..e3bd4e8 100644
--- a/phy.c
+++ b/phy.c
-@@ -307,3 +307,51 @@ COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
+@@ -307,3 +307,51 @@ COMMAND(set, txpower, "<auto|fixed|limit
COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
NL80211_CMD_SET_WIPHY, 0, CIB_NETDEV, handle_txpower,
"Specify transmit power level and setting type.");
diff --git a/package/iw/patches/500-sta-signal-avg.patch b/package/iw/patches/500-sta-signal-avg.patch
index 8758ddc72e..1cdbdbc149 100644
--- a/package/iw/patches/500-sta-signal-avg.patch
+++ b/package/iw/patches/500-sta-signal-avg.patch
@@ -8,11 +8,9 @@ From: Bruno Randolf <br1@einfach.org>
station.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
-diff --git a/nl80211.h b/nl80211.h
-index 276fec0..9da840d 100644
--- a/nl80211.h
+++ b/nl80211.h
-@@ -1179,6 +1179,7 @@ enum nl80211_sta_info {
+@@ -1183,6 +1183,7 @@ enum nl80211_sta_info {
NL80211_STA_INFO_TX_PACKETS,
NL80211_STA_INFO_TX_RETRIES,
NL80211_STA_INFO_TX_FAILED,
@@ -20,11 +18,9 @@ index 276fec0..9da840d 100644
/* keep last */
__NL80211_STA_INFO_AFTER_LAST,
-diff --git a/station.c b/station.c
-index 7639553..20f4ad4 100644
--- a/station.c
+++ b/station.c
-@@ -107,6 +107,9 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -107,6 +107,9 @@ static int print_sta_handler(struct nl_m
if (sinfo[NL80211_STA_INFO_SIGNAL])
printf("\n\tsignal: \t%d dBm",
(int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL]));
diff --git a/package/iw/patches/501-ibss-bintval.patch b/package/iw/patches/501-ibss-bintval.patch
index aa18641e60..791e2a0716 100644
--- a/package/iw/patches/501-ibss-bintval.patch
+++ b/package/iw/patches/501-ibss-bintval.patch
@@ -9,11 +9,9 @@ Signed-off-by: Bruno Randolf <br1@einfach.org>
ibss.c | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
-diff --git a/ibss.c b/ibss.c
-index ed2c73a..9c9c133 100644
--- a/ibss.c
+++ b/ibss.c
-@@ -26,6 +26,7 @@ static int join_ibss(struct nl80211_state *state,
+@@ -26,6 +26,7 @@ static int join_ibss(struct nl80211_stat
int n_rates = 0;
char *value = NULL, *sptr = NULL;
float rate;
@@ -21,7 +19,7 @@ index ed2c73a..9c9c133 100644
if (argc < 2)
return 1;
-@@ -57,6 +58,17 @@ static int join_ibss(struct nl80211_state *state,
+@@ -57,6 +58,17 @@ static int join_ibss(struct nl80211_stat
}
}