diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-10 03:37:28 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-10 03:37:28 +0000 |
commit | c33ed4f5a3cfde72d1cdc2bef21193adfc9c2f4c (patch) | |
tree | 632beb8b02adf248a6624fe279b0111995df9df5 /package/iw/patches/500-sta-signal-avg.patch | |
parent | 239c6f2e2d9fb58aad9a159523590628bd354c74 (diff) |
iw: update to 0.9.22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25440 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iw/patches/500-sta-signal-avg.patch')
-rw-r--r-- | package/iw/patches/500-sta-signal-avg.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/iw/patches/500-sta-signal-avg.patch b/package/iw/patches/500-sta-signal-avg.patch deleted file mode 100644 index 1cdbdbc14..000000000 --- a/package/iw/patches/500-sta-signal-avg.patch +++ /dev/null @@ -1,32 +0,0 @@ -iw: add signal average to station information - -From: Bruno Randolf <br1@einfach.org> - - ---- - nl80211.h | 1 + - station.c | 3 +++ - 2 files changed, 4 insertions(+), 0 deletions(-) - ---- a/nl80211.h -+++ b/nl80211.h -@@ -1183,6 +1183,7 @@ enum nl80211_sta_info { - NL80211_STA_INFO_TX_PACKETS, - NL80211_STA_INFO_TX_RETRIES, - NL80211_STA_INFO_TX_FAILED, -+ NL80211_STA_INFO_SIGNAL_AVG, - - /* keep last */ - __NL80211_STA_INFO_AFTER_LAST, ---- a/station.c -+++ b/station.c -@@ -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])); -+ if (sinfo[NL80211_STA_INFO_SIGNAL_AVG]) -+ printf("\n\tsignal avg:\t%d dBm", -+ (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL_AVG])); - - if (sinfo[NL80211_STA_INFO_TX_BITRATE]) { - if (nla_parse_nested(rinfo, NL80211_RATE_INFO_MAX, |