diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-07 11:28:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-02-07 11:28:21 +0000 |
commit | 1827efa54460402b0b5530e2af2d55def530f4ad (patch) | |
tree | 31562d4525cda7730c4ce5a31ae1cb79dff6c286 /package/iw/patches/100-rx_rate.patch | |
parent | ea63948914b33029f287188c4fb984ee9f97e8e0 (diff) | |
download | upstream-1827efa54460402b0b5530e2af2d55def530f4ad.tar.gz upstream-1827efa54460402b0b5530e2af2d55def530f4ad.tar.bz2 upstream-1827efa54460402b0b5530e2af2d55def530f4ad.zip |
iw: update to version 3.3, sync with latest nl80211.h changes
SVN-Revision: 30347
Diffstat (limited to 'package/iw/patches/100-rx_rate.patch')
-rw-r--r-- | package/iw/patches/100-rx_rate.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/iw/patches/100-rx_rate.patch b/package/iw/patches/100-rx_rate.patch index e3df6ca092..780a7d4396 100644 --- a/package/iw/patches/100-rx_rate.patch +++ b/package/iw/patches/100-rx_rate.patch @@ -43,9 +43,9 @@ struct nlattr *sinfo[NL80211_STA_INFO_MAX + 1]; - struct nlattr *rinfo[NL80211_RATE_INFO_MAX + 1]; char mac_addr[20], state_name[10], dev[20]; + struct nl80211_sta_flag_update *sta_flags; static struct nla_policy stats_policy[NL80211_STA_INFO_MAX + 1] = { - [NL80211_STA_INFO_INACTIVE_TIME] = { .type = NLA_U32 }, -@@ -45,6 +75,7 @@ static int print_sta_handler(struct nl_m +@@ -46,6 +76,7 @@ static int print_sta_handler(struct nl_m [NL80211_STA_INFO_TX_PACKETS] = { .type = NLA_U32 }, [NL80211_STA_INFO_SIGNAL] = { .type = NLA_U8 }, [NL80211_STA_INFO_TX_BITRATE] = { .type = NLA_NESTED }, @@ -53,8 +53,8 @@ [NL80211_STA_INFO_LLID] = { .type = NLA_U16 }, [NL80211_STA_INFO_PLID] = { .type = NLA_U16 }, [NL80211_STA_INFO_PLINK_STATE] = { .type = NLA_U8 }, -@@ -52,13 +83,6 @@ static int print_sta_handler(struct nl_m - [NL80211_STA_INFO_TX_FAILED] = { .type = NLA_U32 }, +@@ -55,13 +86,6 @@ static int print_sta_handler(struct nl_m + { .minlen = sizeof(struct nl80211_sta_flag_update) }, }; - static struct nla_policy rate_policy[NL80211_RATE_INFO_MAX + 1] = { @@ -67,7 +67,7 @@ nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), genlmsg_attrlen(gnlh, 0), NULL); -@@ -111,25 +135,8 @@ static int print_sta_handler(struct nl_m +@@ -114,25 +138,8 @@ static int print_sta_handler(struct nl_m printf("\n\tsignal avg:\t%d dBm", (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL_AVG])); |