From c33ed4f5a3cfde72d1cdc2bef21193adfc9c2f4c Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 10 Feb 2011 03:37:28 +0000 Subject: iw: update to 0.9.22 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25440 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/iw/patches/501-ibss-bintval.patch | 55 ------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 package/iw/patches/501-ibss-bintval.patch (limited to 'package/iw/patches/501-ibss-bintval.patch') diff --git a/package/iw/patches/501-ibss-bintval.patch b/package/iw/patches/501-ibss-bintval.patch deleted file mode 100644 index 791e2a071..000000000 --- a/package/iw/patches/501-ibss-bintval.patch +++ /dev/null @@ -1,55 +0,0 @@ -iw: Add ibss join parameter for beacon interval - -From: Bruno Randolf - -NL80211_ATTR_BEACON_INTERVAL already exists, we just have to use it. - -Signed-off-by: Bruno Randolf ---- - ibss.c | 19 ++++++++++++++++--- - 1 files changed, 16 insertions(+), 3 deletions(-) - ---- a/ibss.c -+++ b/ibss.c -@@ -26,6 +26,7 @@ static int join_ibss(struct nl80211_stat - int n_rates = 0; - char *value = NULL, *sptr = NULL; - float rate; -+ int bintval; - - if (argc < 2) - return 1; -@@ -57,6 +58,17 @@ static int join_ibss(struct nl80211_stat - } - } - -+ if (argc > 1 && strcmp(argv[0], "beacon-interval") == 0) { -+ argv++; -+ argc--; -+ bintval = strtoul(argv[0], &end, 10); -+ if (*end != '\0') -+ return 1; -+ NLA_PUT_U32(msg, NL80211_ATTR_BEACON_INTERVAL, bintval); -+ argv++; -+ argc--; -+ } -+ - /* basic rates */ - if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { - argv++; -@@ -122,11 +134,12 @@ COMMAND(ibss, leave, NULL, - NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss, - "Leave the current IBSS cell."); - COMMAND(ibss, join, -- " [fixed-freq] [] " -- "[basic-rates ] [mcast-rate ] [key d:0:abcde]", -+ " [fixed-freq] [] [beacon-interval " -+ "] [basic-rates ] [mcast-rate ] [key d:0:abcde]", - NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss, - "Join the IBSS cell with the given SSID, if it doesn't exist create\n" - "it on the given frequency. When fixed frequency is requested, don't\n" - "join/create a cell on a different frequency. When a fixed BSSID is\n" - "requested use that BSSID and do not adopt another cell's BSSID even\n" -- "if it has higher TSF and the same SSID."); -+ "if it has higher TSF and the same SSID. If an IBSS is created, create\n" -+ "it with the specified basic-rates and beacon-interval (in TU)."); -- cgit v1.2.3