From e5ffd435f1404098a4acc019ead0a4a11029bfb0 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 5 Feb 2014 20:52:34 +0000 Subject: iw: update to iw 3.14 - update iw to 3.14 - remove some patches that are obsolete - 200-reduce_size.patch has new coalesce removed from Makefile matching prev. ver - refresh patches This increases the size of the binary by 6.7%: 87801 4400 320 92521 16969 iw-3.10/iw 93995 4424 324 98743 181b7 iw-3.14/iw Signed-off-by: Dirk Neukirchen git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39486 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/utils/iw/patches/100-rx_rate.patch | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 package/network/utils/iw/patches/100-rx_rate.patch (limited to 'package/network/utils/iw/patches/100-rx_rate.patch') diff --git a/package/network/utils/iw/patches/100-rx_rate.patch b/package/network/utils/iw/patches/100-rx_rate.patch deleted file mode 100644 index cc23e07501..0000000000 --- a/package/network/utils/iw/patches/100-rx_rate.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/station.c -+++ b/station.c -@@ -43,7 +43,7 @@ static void print_power_mode(struct nlat - } - } - --void parse_tx_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen) -+void parse_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen) - { - int rate = 0; - char *pos = buf; -@@ -107,6 +107,7 @@ static int print_sta_handler(struct nl_m - [NL80211_STA_INFO_SIGNAL] = { .type = NLA_U8 }, - [NL80211_STA_INFO_T_OFFSET] = { .type = NLA_U64 }, - [NL80211_STA_INFO_TX_BITRATE] = { .type = NLA_NESTED }, -+ [NL80211_STA_INFO_RX_BITRATE] = { .type = NLA_NESTED }, - [NL80211_STA_INFO_LLID] = { .type = NLA_U16 }, - [NL80211_STA_INFO_PLID] = { .type = NLA_U16 }, - [NL80211_STA_INFO_PLINK_STATE] = { .type = NLA_U8 }, -@@ -177,10 +178,17 @@ static int print_sta_handler(struct nl_m - if (sinfo[NL80211_STA_INFO_TX_BITRATE]) { - char buf[100]; - -- parse_tx_bitrate(sinfo[NL80211_STA_INFO_TX_BITRATE], buf, sizeof(buf)); -+ parse_bitrate(sinfo[NL80211_STA_INFO_TX_BITRATE], buf, sizeof(buf)); - printf("\n\ttx bitrate:\t%s", buf); - } - -+ if (sinfo[NL80211_STA_INFO_RX_BITRATE]) { -+ char buf[100]; -+ -+ parse_bitrate(sinfo[NL80211_STA_INFO_RX_BITRATE], buf, sizeof(buf)); -+ printf("\n\trx bitrate:\t%s", buf); -+ } -+ - if (sinfo[NL80211_STA_INFO_LLID]) - printf("\n\tmesh llid:\t%d", - nla_get_u16(sinfo[NL80211_STA_INFO_LLID])); ---- a/iw.h -+++ b/iw.h -@@ -170,7 +170,7 @@ enum print_ie_type { - void print_ies(unsigned char *ie, int ielen, bool unknown, - enum print_ie_type ptype); - --void parse_tx_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen); -+void parse_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen); - - DECLARE_SECTION(set); - DECLARE_SECTION(get); ---- a/link.c -+++ b/link.c -@@ -165,7 +165,7 @@ static int print_link_sta(struct nl_msg - if (sinfo[NL80211_STA_INFO_TX_BITRATE]) { - char buf[100]; - -- parse_tx_bitrate(sinfo[NL80211_STA_INFO_TX_BITRATE], buf, sizeof(buf)); -+ parse_bitrate(sinfo[NL80211_STA_INFO_TX_BITRATE], buf, sizeof(buf)); - printf("\ttx bitrate: %s\n", buf); - } - -- cgit v1.2.3