summaryrefslogtreecommitdiff
path: root/package/iw/patches/110-freq.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 15:16:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 15:16:21 +0000
commit0594958cad349a3acbb8430c549fb1358ba87836 (patch)
treeddb747343d7c2b542fb20715de6c9e85576c1778 /package/iw/patches/110-freq.patch
parent3d7914783f4a8b271728b361abcab1c5c7d45da4 (diff)
iw: update to 0.9.21, add support for showing the in-use flag for survey data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iw/patches/110-freq.patch')
-rw-r--r--package/iw/patches/110-freq.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/iw/patches/110-freq.patch b/package/iw/patches/110-freq.patch
deleted file mode 100644
index f73d303bb6..0000000000
--- a/package/iw/patches/110-freq.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/interface.c
-+++ b/interface.c
-@@ -260,6 +260,27 @@ static int print_iface_handler(struct nl
- printf("%s\tifindex %d\n", indent, nla_get_u32(tb_msg[NL80211_ATTR_IFINDEX]));
- if (tb_msg[NL80211_ATTR_IFTYPE])
- printf("%s\ttype %s\n", indent, iftype_name(nla_get_u32(tb_msg[NL80211_ATTR_IFTYPE])));
-+ if (tb_msg[NL80211_ATTR_WIPHY_FREQ]) {
-+ const char *mode;
-+
-+ if (tb_msg[NL80211_ATTR_WIPHY_CHANNEL_TYPE])
-+ switch(nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_CHANNEL_TYPE])) {
-+ case NL80211_CHAN_HT20:
-+ mode = "HT20";
-+ break;
-+ case NL80211_CHAN_HT40PLUS:
-+ mode = "HT40+";
-+ break;
-+ case NL80211_CHAN_HT40MINUS:
-+ mode = "HT40-";
-+ break;
-+ default:
-+ mode = "";
-+ }
-+
-+ printf("%s\tfrequency %d MHz %s\n", indent, nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_FREQ]), mode);
-+ }
-+
-
- return NL_SKIP;
- }