summaryrefslogtreecommitdiff
path: root/package/iw/patches/302-sta-retries.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-10 03:37:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-10 03:37:28 +0000
commit1ede637d89b6b2477b9f7717a76dd549e4fd085f (patch)
tree47f5a0b97e49a8b2230f59339b7117bb1e23c282 /package/iw/patches/302-sta-retries.patch
parentebb2cdbea857ac013f8f942af1a26ea9594ad36c (diff)
downloadmtk-20170518-1ede637d89b6b2477b9f7717a76dd549e4fd085f.zip
mtk-20170518-1ede637d89b6b2477b9f7717a76dd549e4fd085f.tar.gz
mtk-20170518-1ede637d89b6b2477b9f7717a76dd549e4fd085f.tar.bz2
iw: update to 0.9.22
SVN-Revision: 25440
Diffstat (limited to 'package/iw/patches/302-sta-retries.patch')
-rw-r--r--package/iw/patches/302-sta-retries.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/iw/patches/302-sta-retries.patch b/package/iw/patches/302-sta-retries.patch
deleted file mode 100644
index 8c1ce13..0000000
--- a/package/iw/patches/302-sta-retries.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-iw: print station retry counters
-
-From: Bruno Randolf <br1@einfach.org>
-
-Signed-off-by: Bruno Randolf <br1@einfach.org>
----
- station.c | 8 ++++++++
- 1 files changed, 8 insertions(+), 0 deletions(-)
-
---- a/station.c
-+++ b/station.c
-@@ -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 },
-+ [NL80211_STA_INFO_TX_RETRIES] = { .type = NLA_U32 },
-+ [NL80211_STA_INFO_TX_FAILED] = { .type = NLA_U32 },
- };
-
- static struct nla_policy rate_policy[NL80211_RATE_INFO_MAX + 1] = {
-@@ -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]));
-+ if (sinfo[NL80211_STA_INFO_TX_RETRIES])
-+ printf("\n\ttx retries:\t%u",
-+ nla_get_u32(sinfo[NL80211_STA_INFO_TX_RETRIES]));
-+ if (sinfo[NL80211_STA_INFO_TX_FAILED])
-+ printf("\n\ttx failed:\t%u",
-+ nla_get_u32(sinfo[NL80211_STA_INFO_TX_FAILED]));
- if (sinfo[NL80211_STA_INFO_SIGNAL])
- printf("\n\tsignal: \t%d dBm",
- (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL]));