iw: Refresh patches
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 27 Jan 2011 08:56:14 +0000 (08:56 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 27 Jan 2011 08:56:14 +0000 (08:56 +0000)
SVN-Revision: 25135

package/iw/patches/302-sta-retries.patch
package/iw/patches/401-antenna.patch
package/iw/patches/500-sta-signal-avg.patch
package/iw/patches/501-ibss-bintval.patch

index 6141d292330775b9366d96e33374a62f45212b0c..8c1ce13efc2a87a781045421a4bbd5eced86345f 100644 (file)
@@ -7,11 +7,9 @@ Signed-off-by: Bruno Randolf <br1@einfach.org>
  station.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)
 
-diff --git a/station.c b/station.c
-index 8cf038d..7639553 100644
 --- a/station.c
 +++ b/station.c
-@@ -48,6 +48,8 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -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 },
@@ -20,7 +18,7 @@ index 8cf038d..7639553 100644
        };
  
        static struct nla_policy rate_policy[NL80211_RATE_INFO_MAX + 1] = {
-@@ -96,6 +98,12 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -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]));
index fbac49eb7a0e0eeb072896791568dd1636cf05d6..62f37c2e2d4f3862ad05dc39cff700038ab9ba55 100644 (file)
@@ -15,11 +15,9 @@ v8:  Simplfied option parser as requested.
  phy.c  |   39 +++++++++++++++++++++++++++++++++++++++
  2 files changed, 46 insertions(+), 0 deletions(-)
 
-diff --git a/info.c b/info.c
-index ce85514..75cadf0 100644
 --- a/info.c
 +++ b/info.c
-@@ -168,6 +168,13 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
+@@ -168,6 +168,13 @@ static int print_phy_handler(struct nl_m
                printf("\tCoverage class: %d (up to %dm)\n", coverage, 450 * coverage);
        }
  
@@ -33,11 +31,9 @@ index ce85514..75cadf0 100644
        if (tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES]) {
                printf("\tSupported interface modes:\n");
                nla_for_each_nested(nl_mode, tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES], rem_mode)
-diff --git a/phy.c b/phy.c
-index 7c6c7c8..e3bd4e8 100644
 --- a/phy.c
 +++ b/phy.c
-@@ -307,3 +307,51 @@ COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
+@@ -307,3 +307,51 @@ COMMAND(set, txpower, "<auto|fixed|limit
  COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
        NL80211_CMD_SET_WIPHY, 0, CIB_NETDEV, handle_txpower,
        "Specify transmit power level and setting type.");
index 8758ddc72e6a0d028193c89c4eb3b76da4d0c8c6..1cdbdbc149634962844a2b496cef71486aad6dff 100644 (file)
@@ -8,11 +8,9 @@ From: Bruno Randolf <br1@einfach.org>
  station.c |    3 +++
  2 files changed, 4 insertions(+), 0 deletions(-)
 
-diff --git a/nl80211.h b/nl80211.h
-index 276fec0..9da840d 100644
 --- a/nl80211.h
 +++ b/nl80211.h
-@@ -1179,6 +1179,7 @@ enum nl80211_sta_info {
+@@ -1183,6 +1183,7 @@ enum nl80211_sta_info {
        NL80211_STA_INFO_TX_PACKETS,
        NL80211_STA_INFO_TX_RETRIES,
        NL80211_STA_INFO_TX_FAILED,
@@ -20,11 +18,9 @@ index 276fec0..9da840d 100644
  
        /* keep last */
        __NL80211_STA_INFO_AFTER_LAST,
-diff --git a/station.c b/station.c
-index 7639553..20f4ad4 100644
 --- a/station.c
 +++ b/station.c
-@@ -107,6 +107,9 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
+@@ -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]));
index aa18641e60a8d30404eed0c3c3e6c04da74138f8..791e2a0716b4b859ecfc62a1602d3e218783a33f 100644 (file)
@@ -9,11 +9,9 @@ Signed-off-by: Bruno Randolf <br1@einfach.org>
  ibss.c |   19 ++++++++++++++++---
  1 files changed, 16 insertions(+), 3 deletions(-)
 
-diff --git a/ibss.c b/ibss.c
-index ed2c73a..9c9c133 100644
 --- a/ibss.c
 +++ b/ibss.c
-@@ -26,6 +26,7 @@ static int join_ibss(struct nl80211_state *state,
+@@ -26,6 +26,7 @@ static int join_ibss(struct nl80211_stat
        int n_rates = 0;
        char *value = NULL, *sptr = NULL;
        float rate;
@@ -21,7 +19,7 @@ index ed2c73a..9c9c133 100644
  
        if (argc < 2)
                return 1;
-@@ -57,6 +58,17 @@ static int join_ibss(struct nl80211_state *state,
+@@ -57,6 +58,17 @@ static int join_ibss(struct nl80211_stat
                }
        }