aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/madwifi/Makefile4
-rw-r--r--package/madwifi/patches/100-kernel_cflags.patch18
-rw-r--r--package/madwifi/patches/102-multicall_binary.patch68
-rw-r--r--package/madwifi/patches/104-autocreate_none.patch6
-rw-r--r--package/madwifi/patches/105-ratectl_attach.patch6
-rw-r--r--package/madwifi/patches/110-init_fix_PR_914.patch6
-rw-r--r--package/madwifi/patches/111-minstrel_crash.patch6
-rw-r--r--package/madwifi/patches/112-keycache_PR_962.patch22
-rw-r--r--package/madwifi/patches/113-no_ibss_pwrsave.patch6
-rw-r--r--package/madwifi/patches/116-adhoc_beacon_PR_1033.patch6
-rw-r--r--package/madwifi/patches/121-ibss_hostap.patch32
-rw-r--r--package/madwifi/patches/122-replayfail_workaround.patch6
-rw-r--r--package/madwifi/patches/123-ccmp_checks.patch6
-rw-r--r--package/madwifi/patches/124-linux24_compat.patch6
-rw-r--r--package/madwifi/patches/126-rxerr_frames.patch6
-rw-r--r--package/madwifi/patches/127-beacon_node.patch6
-rw-r--r--package/madwifi/patches/128-revert_ioaccess.patch6
-rw-r--r--package/madwifi/patches/200-no_debug.patch48
-rw-r--r--package/madwifi/patches/300-napi_polling.patch18
-rw-r--r--package/madwifi/patches/301-tx_locking.patch12
-rw-r--r--package/madwifi/patches/305-pureg_fix.patch30
-rw-r--r--package/madwifi/patches/309-micfail_detect.patch68
-rw-r--r--package/madwifi/patches/310-noise_get.patch6
23 files changed, 199 insertions, 199 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 766a1d685d..ad811af1dc 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -10,13 +10,13 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=madwifi
-PKG_VERSION:=r2756-20071018
+PKG_VERSION:=r2799-20071030
PKG_BRANCH:=madwifi-ng
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_BRANCH)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://snapshots.madwifi.org/$(PKG_BRANCH)
-PKG_MD5SUM:=6141c846fec12b3d0c80409c81eebc39
+PKG_MD5SUM:=58fdb5d5acf73ccd4577f17fbd7c6a22
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_BRANCH)-$(PKG_VERSION)
diff --git a/package/madwifi/patches/100-kernel_cflags.patch b/package/madwifi/patches/100-kernel_cflags.patch
index 5f1e70b797..0621e792b5 100644
--- a/package/madwifi/patches/100-kernel_cflags.patch
+++ b/package/madwifi/patches/100-kernel_cflags.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/hal/public/mips-be-elf.inc
+Index: madwifi-ng-r2799-20071030/hal/public/mips-be-elf.inc
===================================================================
---- madwifi-ng-r2756-20071018.orig/hal/public/mips-be-elf.inc 2007-10-24 06:20:16.897652218 +0200
-+++ madwifi-ng-r2756-20071018/hal/public/mips-be-elf.inc 2007-10-24 06:20:16.989657465 +0200
+--- madwifi-ng-r2799-20071030.orig/hal/public/mips-be-elf.inc 2007-10-31 14:04:47.029301526 +0100
++++ madwifi-ng-r2799-20071030/hal/public/mips-be-elf.inc 2007-10-31 14:04:47.125306996 +0100
@@ -71,5 +71,5 @@
LDOPTS= -EB
@@ -9,10 +9,10 @@ Index: madwifi-ng-r2756-20071018/hal/public/mips-be-elf.inc
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
+COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
-Index: madwifi-ng-r2756-20071018/hal/public/mips-le-elf.inc
+Index: madwifi-ng-r2799-20071030/hal/public/mips-le-elf.inc
===================================================================
---- madwifi-ng-r2756-20071018.orig/hal/public/mips-le-elf.inc 2007-10-24 06:20:16.901652447 +0200
-+++ madwifi-ng-r2756-20071018/hal/public/mips-le-elf.inc 2007-10-24 06:20:17.001658146 +0200
+--- madwifi-ng-r2799-20071030.orig/hal/public/mips-le-elf.inc 2007-10-31 14:04:47.037301982 +0100
++++ madwifi-ng-r2799-20071030/hal/public/mips-le-elf.inc 2007-10-31 14:04:47.133307452 +0100
@@ -68,5 +68,5 @@
LDOPTS= -EL
@@ -20,10 +20,10 @@ Index: madwifi-ng-r2756-20071018/hal/public/mips-le-elf.inc
-COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
+COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
-Index: madwifi-ng-r2756-20071018/hal/public/xscale-be-elf.inc
+Index: madwifi-ng-r2799-20071030/hal/public/xscale-be-elf.inc
===================================================================
---- madwifi-ng-r2756-20071018.orig/hal/public/xscale-be-elf.inc 2007-10-24 06:20:16.913653133 +0200
-+++ madwifi-ng-r2756-20071018/hal/public/xscale-be-elf.inc 2007-10-24 06:20:17.005658375 +0200
+--- madwifi-ng-r2799-20071030.orig/hal/public/xscale-be-elf.inc 2007-10-31 14:04:47.045302437 +0100
++++ madwifi-ng-r2799-20071030/hal/public/xscale-be-elf.inc 2007-10-31 14:04:47.137307681 +0100
@@ -77,5 +77,5 @@
LDOPTS= -EB
diff --git a/package/madwifi/patches/102-multicall_binary.patch b/package/madwifi/patches/102-multicall_binary.patch
index 4937ee33ad..e5eb0d2df4 100644
--- a/package/madwifi/patches/102-multicall_binary.patch
+++ b/package/madwifi/patches/102-multicall_binary.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/tools/80211debug.c
+Index: madwifi-ng-r2799-20071030/tools/80211debug.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/80211debug.c 2007-10-24 06:20:16.793646294 +0200
-+++ madwifi-ng-r2756-20071018/tools/80211debug.c 2007-10-24 06:20:17.233671372 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/80211debug.c 2007-10-31 14:04:46.925295598 +0100
++++ madwifi-ng-r2799-20071030/tools/80211debug.c 2007-10-31 14:04:47.537330476 +0100
@@ -49,6 +49,10 @@
#include <getopt.h>
#include <err.h>
@@ -33,10 +33,10 @@ Index: madwifi-ng-r2756-20071018/tools/80211debug.c
const char *ifname = "ath0";
const char *cp, *tp;
const char *sep;
-Index: madwifi-ng-r2756-20071018/tools/80211stats.c
+Index: madwifi-ng-r2799-20071030/tools/80211stats.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/80211stats.c 2007-10-24 06:20:16.801646748 +0200
-+++ madwifi-ng-r2756-20071018/tools/80211stats.c 2007-10-24 06:20:17.233671372 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/80211stats.c 2007-10-31 14:04:46.929295827 +0100
++++ madwifi-ng-r2799-20071030/tools/80211stats.c 2007-10-31 14:04:47.537330476 +0100
@@ -60,6 +60,10 @@
#include "net80211/ieee80211_crypto.h"
#include "net80211/ieee80211_ioctl.h"
@@ -68,10 +68,10 @@ Index: madwifi-ng-r2756-20071018/tools/80211stats.c
int c, len;
struct ieee80211req_sta_info *si;
u_int8_t buf[24*1024], *cp;
-Index: madwifi-ng-r2756-20071018/tools/athchans.c
+Index: madwifi-ng-r2799-20071030/tools/athchans.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/athchans.c 2007-10-24 06:20:16.805646977 +0200
-+++ madwifi-ng-r2756-20071018/tools/athchans.c 2007-10-24 06:20:17.241671823 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/athchans.c 2007-10-31 14:04:46.937296283 +0100
++++ madwifi-ng-r2799-20071030/tools/athchans.c 2007-10-31 14:04:47.545330932 +0100
@@ -59,6 +59,10 @@
#include "net80211/ieee80211_crypto.h"
#include "net80211/ieee80211_ioctl.h"
@@ -104,10 +104,10 @@ Index: madwifi-ng-r2756-20071018/tools/athchans.c
const char *ifname = "wifi0";
struct ieee80211req_chanlist chanlist;
int c;
-Index: madwifi-ng-r2756-20071018/tools/athctrl.c
+Index: madwifi-ng-r2799-20071030/tools/athctrl.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/athctrl.c 2007-10-24 06:20:16.813647434 +0200
-+++ madwifi-ng-r2756-20071018/tools/athctrl.c 2007-10-24 06:20:17.245672052 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/athctrl.c 2007-10-31 14:04:46.945296738 +0100
++++ madwifi-ng-r2799-20071030/tools/athctrl.c 2007-10-31 14:04:47.549331161 +0100
@@ -53,6 +53,10 @@
#include <net/if.h>
@@ -139,10 +139,10 @@ Index: madwifi-ng-r2756-20071018/tools/athctrl.c
char device[IFNAMSIZ + 1];
int distance = -1;
int c;
-Index: madwifi-ng-r2756-20071018/tools/athdebug.c
+Index: madwifi-ng-r2799-20071030/tools/athdebug.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/athdebug.c 2007-10-24 06:20:16.821647888 +0200
-+++ madwifi-ng-r2756-20071018/tools/athdebug.c 2007-10-24 06:20:17.249672281 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/athdebug.c 2007-10-31 14:04:46.953297193 +0100
++++ madwifi-ng-r2799-20071030/tools/athdebug.c 2007-10-31 14:04:47.557331616 +0100
@@ -52,6 +52,10 @@
#include <getopt.h>
#include <err.h>
@@ -175,10 +175,10 @@ Index: madwifi-ng-r2756-20071018/tools/athdebug.c
#ifdef __linux__
const char *ifname = "wifi0";
#else
-Index: madwifi-ng-r2756-20071018/tools/athkey.c
+Index: madwifi-ng-r2799-20071030/tools/athkey.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/athkey.c 2007-10-24 06:20:16.825648116 +0200
-+++ madwifi-ng-r2756-20071018/tools/athkey.c 2007-10-24 06:20:17.249672281 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/athkey.c 2007-10-31 14:04:46.957297422 +0100
++++ madwifi-ng-r2799-20071030/tools/athkey.c 2007-10-31 14:04:47.557331616 +0100
@@ -59,6 +59,10 @@
#include "net80211/ieee80211_crypto.h"
#include "net80211/ieee80211_ioctl.h"
@@ -210,10 +210,10 @@ Index: madwifi-ng-r2756-20071018/tools/athkey.c
const char *ifname = "wifi0";
struct ieee80211req_key setkey;
struct ieee80211req_del_key delkey;
-Index: madwifi-ng-r2756-20071018/tools/athstats.c
+Index: madwifi-ng-r2799-20071030/tools/athstats.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/athstats.c 2007-10-24 06:20:16.833648573 +0200
-+++ madwifi-ng-r2756-20071018/tools/athstats.c 2007-10-24 06:20:17.249672281 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/athstats.c 2007-10-31 14:04:46.965297878 +0100
++++ madwifi-ng-r2799-20071030/tools/athstats.c 2007-10-31 14:04:47.557331616 +0100
@@ -63,6 +63,10 @@
#include "wireless_copy.h"
#include "if_athioctl.h"
@@ -246,10 +246,10 @@ Index: madwifi-ng-r2756-20071018/tools/athstats.c
#ifdef __linux__
const char *ifname = "wifi0";
#else
-Index: madwifi-ng-r2756-20071018/tools/do_multi.c
+Index: madwifi-ng-r2799-20071030/tools/do_multi.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ madwifi-ng-r2756-20071018/tools/do_multi.c 2007-10-24 06:20:17.249672281 +0200
++++ madwifi-ng-r2799-20071030/tools/do_multi.c 2007-10-31 14:04:47.557331616 +0100
@@ -0,0 +1,32 @@
+#include <string.h>
+#include "do_multi.h"
@@ -283,10 +283,10 @@ Index: madwifi-ng-r2756-20071018/tools/do_multi.c
+
+ return ret;
+}
-Index: madwifi-ng-r2756-20071018/tools/do_multi.h
+Index: madwifi-ng-r2799-20071030/tools/do_multi.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ madwifi-ng-r2756-20071018/tools/do_multi.h 2007-10-24 06:20:17.249672281 +0200
++++ madwifi-ng-r2799-20071030/tools/do_multi.h 2007-10-31 14:04:47.557331616 +0100
@@ -0,0 +1,10 @@
+
+int a80211debug_init(int argc, char *argv[]);
@@ -298,10 +298,10 @@ Index: madwifi-ng-r2756-20071018/tools/do_multi.h
+int athstats_init(int argc, char *argv[]);
+int wlanconfig_init(int argc, char *argv[]);
+int athinfo_init(int argc, char *argv[]);
-Index: madwifi-ng-r2756-20071018/tools/Makefile
+Index: madwifi-ng-r2799-20071030/tools/Makefile
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/Makefile 2007-10-24 06:20:16.849649487 +0200
-+++ madwifi-ng-r2756-20071018/tools/Makefile 2007-10-24 06:20:17.253672511 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/Makefile 2007-10-31 14:04:46.981298791 +0100
++++ madwifi-ng-r2799-20071030/tools/Makefile 2007-10-31 14:04:47.561331846 +0100
@@ -47,9 +47,12 @@
endif
@@ -367,10 +367,10 @@ Index: madwifi-ng-r2756-20071018/tools/Makefile
install: $(ALL)
install -d $(DESTDIR)$(BINDIR)
-Index: madwifi-ng-r2756-20071018/tools/wlanconfig.c
+Index: madwifi-ng-r2799-20071030/tools/wlanconfig.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/wlanconfig.c 2007-10-24 06:20:16.857649938 +0200
-+++ madwifi-ng-r2756-20071018/tools/wlanconfig.c 2007-10-24 06:20:17.253672511 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/wlanconfig.c 2007-10-31 14:04:46.989299247 +0100
++++ madwifi-ng-r2799-20071030/tools/wlanconfig.c 2007-10-31 14:04:47.561331846 +0100
@@ -62,6 +62,10 @@
#include "net80211/ieee80211_crypto.h"
#include "net80211/ieee80211_ioctl.h"
@@ -402,10 +402,10 @@ Index: madwifi-ng-r2756-20071018/tools/wlanconfig.c
const char *ifname, *cmd;
unsigned char bnounit = 0;
char *if_base = NULL;
-Index: madwifi-ng-r2756-20071018/tools/ath_info.c
+Index: madwifi-ng-r2799-20071030/tools/ath_info.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/ath_info.c 2007-10-24 06:20:16.865650396 +0200
-+++ madwifi-ng-r2756-20071018/tools/ath_info.c 2007-10-24 06:20:17.253672511 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/ath_info.c 2007-10-31 14:04:46.997299702 +0100
++++ madwifi-ng-r2799-20071030/tools/ath_info.c 2007-10-31 14:04:47.561331846 +0100
@@ -722,8 +722,13 @@
"unlawful radio transmissions!\n\n");
}
diff --git a/package/madwifi/patches/104-autocreate_none.patch b/package/madwifi/patches/104-autocreate_none.patch
index f6f0210a9e..dccb153b73 100644
--- a/package/madwifi/patches/104-autocreate_none.patch
+++ b/package/madwifi/patches/104-autocreate_none.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:16.761644468 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:17.585691429 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:46.893293774 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:47.893350767 +0100
@@ -426,7 +426,7 @@
HAL_STATUS status;
int error = 0;
diff --git a/package/madwifi/patches/105-ratectl_attach.patch b/package/madwifi/patches/105-ratectl_attach.patch
index 094c3c56d1..edce19a968 100644
--- a/package/madwifi/patches/105-ratectl_attach.patch
+++ b/package/madwifi/patches/105-ratectl_attach.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_rate.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_rate.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_rate.c 2007-10-24 06:20:16.729642648 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_rate.c 2007-10-24 06:20:17.797703513 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_rate.c 2007-10-31 14:04:46.861291953 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_rate.c 2007-10-31 14:04:48.109363075 +0100
@@ -100,8 +100,18 @@
ieee80211_load_module(buf);
diff --git a/package/madwifi/patches/110-init_fix_PR_914.patch b/package/madwifi/patches/110-init_fix_PR_914.patch
index a903e70b48..cc7f81e340 100644
--- a/package/madwifi/patches/110-init_fix_PR_914.patch
+++ b/package/madwifi/patches/110-init_fix_PR_914.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:17.585691429 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:18.005715364 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:47.893350767 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:48.321375158 +0100
@@ -2122,7 +2122,10 @@
ath_draintxq(sc);
if (!sc->sc_invalid) {
diff --git a/package/madwifi/patches/111-minstrel_crash.patch b/package/madwifi/patches/111-minstrel_crash.patch
index 562c336028..bf85258d02 100644
--- a/package/madwifi/patches/111-minstrel_crash.patch
+++ b/package/madwifi/patches/111-minstrel_crash.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c
+Index: madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:16.665638998 +0200
-+++ madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:18.217727448 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_rate/minstrel/minstrel.c 2007-10-31 14:04:46.797288304 +0100
++++ madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c 2007-10-31 14:04:48.537387466 +0100
@@ -393,6 +393,9 @@
struct minstrel_node *sn = ATH_NODE_MINSTREL(an);
int rc1, rc2, rc3; /* Index into the rate table, so for example, it is 0..11 */
diff --git a/package/madwifi/patches/112-keycache_PR_962.patch b/package/madwifi/patches/112-keycache_PR_962.patch
index 955725b985..ca98ccad83 100644
--- a/package/madwifi/patches/112-keycache_PR_962.patch
+++ b/package/madwifi/patches/112-keycache_PR_962.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:18.005715364 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:18.429739529 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:48.321375158 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:48.749399549 +0100
@@ -5853,7 +5853,8 @@
* frame; it'll be dropped where it's not wanted.
*/
@@ -12,11 +12,11 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
struct ath_node *an;
/*
* Fast path: node is present in the key map;
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_node.c 2007-10-24 06:20:16.625636718 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_node.c 2007-10-24 06:20:18.437739986 +0200
-@@ -1271,8 +1271,6 @@
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_node.c 2007-10-31 14:04:46.757286024 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_node.c 2007-10-31 14:04:48.753399778 +0100
+@@ -1275,8 +1275,6 @@
IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
return ni;
@@ -25,7 +25,7 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
}
#ifdef IEEE80211_DEBUG_REFCNT
EXPORT_SYMBOL(ieee80211_find_rxnode_debug);
-@@ -1280,6 +1278,20 @@
+@@ -1284,6 +1282,20 @@
EXPORT_SYMBOL(ieee80211_find_rxnode);
#endif
@@ -46,10 +46,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
/*
* Return a reference to the appropriate node for sending
* a data frame. This handles node discovery in adhoc networks.
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.h
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_node.h 2007-10-24 06:20:16.633637175 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_node.h 2007-10-24 06:20:18.441740211 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_node.h 2007-10-31 14:04:46.765286480 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_node.h 2007-10-31 14:04:48.761400233 +0100
@@ -328,6 +328,8 @@
*pni = NULL; /* guard against use */
}
diff --git a/package/madwifi/patches/113-no_ibss_pwrsave.patch b/package/madwifi/patches/113-no_ibss_pwrsave.patch
index c1917f38ff..2a8dabb769 100644
--- a/package/madwifi/patches/113-no_ibss_pwrsave.patch
+++ b/package/madwifi/patches/113-no_ibss_pwrsave.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_scan.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_scan.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_scan.c 2007-10-24 06:20:16.585634439 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_scan.c 2007-10-24 06:20:18.673753437 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_scan.c 2007-10-31 14:04:46.717283745 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_scan.c 2007-10-31 14:04:48.993413455 +0100
@@ -291,7 +291,8 @@
struct ieee80211com *ic = vap->iv_ic;
int delay;
diff --git a/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch b/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
index 3f2078e7e7..5eb7074c67 100644
--- a/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
+++ b/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:18.429739529 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:18.881765287 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:48.749399549 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:49.201425309 +0100
@@ -4559,16 +4559,31 @@
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
diff --git a/package/madwifi/patches/121-ibss_hostap.patch b/package/madwifi/patches/121-ibss_hostap.patch
index df7a06629a..422fdcc76b 100644
--- a/package/madwifi/patches/121-ibss_hostap.patch
+++ b/package/madwifi/patches/121-ibss_hostap.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:18.881765287 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:19.097777599 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:49.201425309 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:49.421437847 +0100
@@ -409,7 +409,6 @@
* and use the next two bits as the index of the VAP.
*/
@@ -149,10 +149,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
if (ni != NULL) {
struct ath_node *an = ATH_NODE(ni);
ieee80211_keyix_t keyix;
-Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
+Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_athvar.h 2007-10-24 06:20:16.501629651 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_athvar.h 2007-10-24 06:20:19.101777824 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:46.633278957 +0100
++++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:49.429438302 +0100
@@ -209,7 +209,7 @@
#define ATH_RXBUF 40 /* number of RX buffers */
#define ATH_TXBUF 200 /* number of TX buffers */
@@ -170,10 +170,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
u_int8_t sc_nbcnvaps; /* # of vaps sending beacons */
u_int sc_fftxqmin; /* aggregation threshold */
HAL_INT sc_imask; /* interrupt mask copy */
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_beacon.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_beacon.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_beacon.c 2007-10-24 06:20:16.505629880 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_beacon.c 2007-10-24 06:20:19.109778282 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_beacon.c 2007-10-31 14:04:46.637279186 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_beacon.c 2007-10-31 14:04:49.433438531 +0100
@@ -111,7 +111,7 @@
bo->bo_tim = frm;
@@ -183,10 +183,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_beacon.c
*frm++ = IEEE80211_ELEMID_IBSSPARMS;
*frm++ = 2;
*frm++ = 0; *frm++ = 0; /* TODO: ATIM window */
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_input.c 2007-10-24 06:20:16.513630337 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_input.c 2007-10-24 06:20:19.113778513 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_input.c 2007-10-31 14:04:46.645279641 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_input.c 2007-10-31 14:04:49.437438757 +0100
@@ -2990,7 +2990,13 @@
return;
}
@@ -217,11 +217,11 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
}
IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_INPUT, wh->i_addr2,
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_node.c 2007-10-24 06:20:18.437739986 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_node.c 2007-10-24 06:20:19.113778513 +0200
-@@ -1084,8 +1084,25 @@
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_node.c 2007-10-31 14:04:48.753399778 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_node.c 2007-10-31 14:04:49.441438986 +0100
+@@ -1088,8 +1088,25 @@
IEEE80211_NODE_TABLE_LOCK_ASSERT(nt);
hash = IEEE80211_NODE_HASH(macaddr);
diff --git a/package/madwifi/patches/122-replayfail_workaround.patch b/package/madwifi/patches/122-replayfail_workaround.patch
index fe8db8523d..638d04c960 100644
--- a/package/madwifi/patches/122-replayfail_workaround.patch
+++ b/package/madwifi/patches/122-replayfail_workaround.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_linux.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_linux.c 2007-10-24 06:20:16.461627371 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_linux.c 2007-10-24 06:20:19.373793330 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_linux.c 2007-10-31 14:04:46.593276677 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c 2007-10-31 14:04:49.705454030 +0100
@@ -333,6 +333,9 @@
k->wk_cipher->ic_name, k->wk_keyix,
(unsigned long long)rsc );
diff --git a/package/madwifi/patches/123-ccmp_checks.patch b/package/madwifi/patches/123-ccmp_checks.patch
index f5bd34eecd..ccbb10d27f 100644
--- a/package/madwifi/patches/123-ccmp_checks.patch
+++ b/package/madwifi/patches/123-ccmp_checks.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_ccmp.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto_ccmp.c 2007-10-24 06:20:16.429625551 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_ccmp.c 2007-10-24 06:20:19.581805179 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto_ccmp.c 2007-10-31 14:04:46.561274856 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c 2007-10-31 14:04:49.913465886 +0100
@@ -475,6 +475,9 @@
uint8_t *mic, *pos;
u_int space;
diff --git a/package/madwifi/patches/124-linux24_compat.patch b/package/madwifi/patches/124-linux24_compat.patch
index 0340cf6ea9..8721ec7c82 100644
--- a/package/madwifi/patches/124-linux24_compat.patch
+++ b/package/madwifi/patches/124-linux24_compat.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
+Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_athvar.h 2007-10-24 06:20:19.101777824 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_athvar.h 2007-10-24 06:20:19.789817035 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:49.429438302 +0100
++++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:50.117477510 +0100
@@ -128,6 +128,11 @@
#define NETDEV_TX_BUSY 1
#endif
diff --git a/package/madwifi/patches/126-rxerr_frames.patch b/package/madwifi/patches/126-rxerr_frames.patch
index e88396fc0a..506e9637cd 100644
--- a/package/madwifi/patches/126-rxerr_frames.patch
+++ b/package/madwifi/patches/126-rxerr_frames.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:19.097777599 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.001829115 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:49.421437847 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:50.329489593 +0100
@@ -5834,8 +5834,9 @@
/*
* Reject error frames if we have no vaps that
diff --git a/package/madwifi/patches/127-beacon_node.patch b/package/madwifi/patches/127-beacon_node.patch
index 087eeee75b..9da8b25756 100644
--- a/package/madwifi/patches/127-beacon_node.patch
+++ b/package/madwifi/patches/127-beacon_node.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.001829115 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.213841201 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:50.329489593 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:50.577503726 +0100
@@ -4162,6 +4162,8 @@
}
bf = avp->av_bcbuf;
diff --git a/package/madwifi/patches/128-revert_ioaccess.patch b/package/madwifi/patches/128-revert_ioaccess.patch
index 5aaa4ddc92..284d4be4b4 100644
--- a/package/madwifi/patches/128-revert_ioaccess.patch
+++ b/package/madwifi/patches/128-revert_ioaccess.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath_hal/ah_os.h
+Index: madwifi-ng-r2799-20071030/ath_hal/ah_os.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_hal/ah_os.h 2007-10-24 19:56:29.632449329 +0200
-+++ madwifi-ng-r2756-20071018/ath_hal/ah_os.h 2007-10-24 19:56:39.192994154 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_hal/ah_os.h 2007-10-31 14:04:46.433267559 +0100
++++ madwifi-ng-r2799-20071030/ath_hal/ah_os.h 2007-10-31 14:04:50.785515582 +0100
@@ -172,44 +172,25 @@
* never byte-swapped by PCI chipsets or bridges, but always
* written directly (i.e. the format defined by the manufacturer).
diff --git a/package/madwifi/patches/200-no_debug.patch b/package/madwifi/patches/200-no_debug.patch
index da8aac8501..916be8de88 100644
--- a/package/madwifi/patches/200-no_debug.patch
+++ b/package/madwifi/patches/200-no_debug.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.213841201 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.433853739 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:50.577503726 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:50.997527661 +0100
@@ -75,7 +75,7 @@
#include <net80211/if_llc.h>
#endif
@@ -11,10 +11,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
#include "net80211/if_athproto.h"
#include "if_athvar.h"
-Index: madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c
+Index: madwifi-ng-r2799-20071030/ath_rate/amrr/amrr.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_rate/amrr/amrr.c 2007-10-24 06:20:16.253615519 +0200
-+++ madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c 2007-10-24 06:20:20.433853739 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_rate/amrr/amrr.c 2007-10-31 14:04:46.353263000 +0100
++++ madwifi-ng-r2799-20071030/ath_rate/amrr/amrr.c 2007-10-31 14:04:51.001527890 +0100
@@ -70,7 +70,7 @@
#include "amrr.h"
@@ -24,10 +24,10 @@ Index: madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c
#ifdef AMRR_DEBUG
#define DPRINTF(sc, _fmt, ...) do { \
if (sc->sc_debug & 0x10) \
-Index: madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c
+Index: madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:18.217727448 +0200
-+++ madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:20.441854191 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_rate/minstrel/minstrel.c 2007-10-31 14:04:48.537387466 +0100
++++ madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c 2007-10-31 14:04:51.009528346 +0100
@@ -117,7 +117,7 @@
#include "minstrel.h"
@@ -37,10 +37,10 @@ Index: madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c
#ifdef MINSTREL_DEBUG
enum {
ATH_DEBUG_RATE = 0x00000010 /* rate control */
-Index: madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c
+Index: madwifi-ng-r2799-20071030/ath_rate/onoe/onoe.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_rate/onoe/onoe.c 2007-10-24 06:20:16.269616432 +0200
-+++ madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c 2007-10-24 06:20:20.445854420 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_rate/onoe/onoe.c 2007-10-31 14:04:46.369263913 +0100
++++ madwifi-ng-r2799-20071030/ath_rate/onoe/onoe.c 2007-10-31 14:04:51.013528575 +0100
@@ -66,7 +66,7 @@
#include "onoe.h"
@@ -50,10 +50,10 @@ Index: madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c
#ifdef ONOE_DEBUG
enum {
ATH_DEBUG_RATE = 0x00000010, /* rate control */
-Index: madwifi-ng-r2756-20071018/ath_rate/sample/sample.c
+Index: madwifi-ng-r2799-20071030/ath_rate/sample/sample.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath_rate/sample/sample.c 2007-10-24 06:20:16.277616884 +0200
-+++ madwifi-ng-r2756-20071018/ath_rate/sample/sample.c 2007-10-24 06:20:20.449854648 +0200
+--- madwifi-ng-r2799-20071030.orig/ath_rate/sample/sample.c 2007-10-31 14:04:46.377264368 +0100
++++ madwifi-ng-r2799-20071030/ath_rate/sample/sample.c 2007-10-31 14:04:51.017528801 +0100
@@ -68,7 +68,7 @@
#include "sample.h"
@@ -63,10 +63,10 @@ Index: madwifi-ng-r2756-20071018/ath_rate/sample/sample.c
#ifdef SAMPLE_DEBUG
enum {
ATH_DEBUG_NODE = 0x00080000, /* node management */
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_var.h
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_var.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_var.h 2007-10-24 06:20:16.285617342 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_var.h 2007-10-24 06:20:20.453854879 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_var.h 2007-10-31 14:04:46.385264824 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_var.h 2007-10-31 14:04:51.017528801 +0100
@@ -35,8 +35,8 @@
#ifndef _NET80211_IEEE80211_VAR_H_
#define _NET80211_IEEE80211_VAR_H_
@@ -78,10 +78,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_var.h
/* Definitions for IEEE 802.11 drivers. */
#include <net80211/ieee80211_linux.h>
-Index: madwifi-ng-r2756-20071018/tools/do_multi.c
+Index: madwifi-ng-r2799-20071030/tools/do_multi.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/do_multi.c 2007-10-24 06:20:17.249672281 +0200
-+++ madwifi-ng-r2756-20071018/tools/do_multi.c 2007-10-24 06:20:20.453854879 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/do_multi.c 2007-10-31 14:04:47.557331616 +0100
++++ madwifi-ng-r2799-20071030/tools/do_multi.c 2007-10-31 14:04:51.017528801 +0100
@@ -9,16 +9,20 @@
progname = basename(argv[0]);
@@ -103,10 +103,10 @@ Index: madwifi-ng-r2756-20071018/tools/do_multi.c
if(strcmp(progname, "athkey") == 0)
ret = athkey_init(argc, argv);
if(strcmp(progname, "athstats") == 0)
-Index: madwifi-ng-r2756-20071018/tools/Makefile
+Index: madwifi-ng-r2799-20071030/tools/Makefile
===================================================================
---- madwifi-ng-r2756-20071018.orig/tools/Makefile 2007-10-24 06:20:17.253672511 +0200
-+++ madwifi-ng-r2756-20071018/tools/Makefile 2007-10-24 06:20:20.453854879 +0200
+--- madwifi-ng-r2799-20071030.orig/tools/Makefile 2007-10-31 14:04:47.561331846 +0100
++++ madwifi-ng-r2799-20071030/tools/Makefile 2007-10-31 14:04:51.017528801 +0100
@@ -48,7 +48,7 @@
diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch
index f883ae4165..58c5d1097f 100644
--- a/package/madwifi/patches/300-napi_polling.patch
+++ b/package/madwifi/patches/300-napi_polling.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.433853739 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.749871745 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:50.997527661 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:51.313545672 +0100
@@ -170,7 +170,7 @@
int, u_int64_t);
static void ath_setdefantenna(struct ath_softc *, u_int);
@@ -264,10 +264,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
}
ATH_UNLOCK(sc);
-Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
+Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_athvar.h 2007-10-24 06:20:19.789817035 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_athvar.h 2007-10-24 06:20:20.749871745 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:50.117477510 +0100
++++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:51.317545898 +0100
@@ -50,6 +50,10 @@
#include <asm/io.h>
#include <linux/list.h>
@@ -304,10 +304,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
#define ATH_RXBUF_LOCK_INIT(_sc) spin_lock_init(&(_sc)->sc_rxbuflock)
#define ATH_RXBUF_LOCK_DESTROY(_sc)
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_input.c 2007-10-24 06:20:19.113778513 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_input.c 2007-10-24 06:20:20.757872202 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_input.c 2007-10-31 14:04:49.437438757 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_input.c 2007-10-31 14:04:51.325546356 +0100
@@ -1128,8 +1128,9 @@
if (ni->ni_vlan != 0 && vap->iv_vlgrp != NULL) {
/* attach vlan tag */
diff --git a/package/madwifi/patches/301-tx_locking.patch b/package/madwifi/patches/301-tx_locking.patch
index 3502e48ce7..b082dbda8b 100644
--- a/package/madwifi/patches/301-tx_locking.patch
+++ b/package/madwifi/patches/301-tx_locking.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.749871745 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.997885880 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:51.313545672 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:51.569560260 +0100
@@ -2693,7 +2693,7 @@
/* NB: use this lock to protect an->an_tx_ffbuf (and txq->axq_stageq)
* in athff_can_aggregate() call too.
@@ -62,10 +62,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
ff_flush_done:
ff_bypass:
-Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
+Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_athvar.h 2007-10-24 06:20:20.749871745 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_athvar.h 2007-10-24 06:20:21.001886105 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:51.317545898 +0100
++++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:51.569560260 +0100
@@ -504,6 +504,8 @@
#define ATH_TXQ_INTR_PERIOD 5 /* axq_intrcnt period for intr gen */
#define ATH_TXQ_LOCK_INIT(_tq) spin_lock_init(&(_tq)->axq_lock)
diff --git a/package/madwifi/patches/305-pureg_fix.patch b/package/madwifi/patches/305-pureg_fix.patch
index 8c4e874873..c51b5c87bf 100644
--- a/package/madwifi/patches/305-pureg_fix.patch
+++ b/package/madwifi/patches/305-pureg_fix.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.997885880 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:21.225898872 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:51.569560260 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:51.797573253 +0100
@@ -3519,7 +3519,9 @@
rfilt |= HAL_RX_FILTER_PROM;
if (ic->ic_opmode == IEEE80211_M_STA ||
@@ -13,10 +13,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
rfilt |= HAL_RX_FILTER_BEACON;
if ((sc->sc_nmonvaps > 0) || ((sc->sc_nvaps > 0) && (sc->sc_nibssvaps > 0)))
rfilt |= (HAL_RX_FILTER_CONTROL | HAL_RX_FILTER_BEACON |
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_input.c 2007-10-24 06:20:20.757872202 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_input.c 2007-10-24 06:20:21.229899101 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_input.c 2007-10-31 14:04:51.325546356 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_input.c 2007-10-31 14:04:51.801573482 +0100
@@ -321,11 +321,12 @@
bssid = wh->i_addr3;
}
@@ -97,10 +97,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
/*
* If scanning, just pass information to the scan module.
*/
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_node.c 2007-10-24 06:20:19.113778513 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_node.c 2007-10-24 06:20:21.237899558 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_node.c 2007-10-31 14:04:49.441438986 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_node.c 2007-10-31 14:04:51.805573711 +0100
@@ -332,10 +332,16 @@
/* Update country ie information */
ieee80211_build_countryie(ic);
@@ -120,10 +120,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
(void) ieee80211_sta_join1(PASS_NODE(ni));
}
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_proto.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_proto.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_proto.c 2007-10-24 06:20:16.117607766 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_proto.c 2007-10-24 06:20:21.237899558 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_proto.c 2007-10-31 14:04:46.217255250 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_proto.c 2007-10-31 14:04:51.809573937 +0100
@@ -586,6 +586,28 @@
{ 4, { 2, 4, 11, 22 } }, /* IEEE80211_MODE_TURBO_G (mixed b/g) */
};
@@ -153,10 +153,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_proto.c
/*
* Mark the basic rates for the 11g rate table based on the
* specified mode. For 11b compatibility we mark only 11b
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_var.h
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_var.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_var.h 2007-10-24 06:20:20.453854879 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_var.h 2007-10-24 06:20:21.237899558 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_var.h 2007-10-31 14:04:51.017528801 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_var.h 2007-10-31 14:04:51.809573937 +0100
@@ -592,6 +592,8 @@
void ieee80211_build_countryie(struct ieee80211com *);
int ieee80211_media_setup(struct ieee80211com *, struct ifmedia *, u_int32_t,
diff --git a/package/madwifi/patches/309-micfail_detect.patch b/package/madwifi/patches/309-micfail_detect.patch
index 88273e29b8..cf3948a8d3 100644
--- a/package/madwifi/patches/309-micfail_detect.patch
+++ b/package/madwifi/patches/309-micfail_detect.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:21.225898872 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:21.505914829 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:51.797573253 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:52.073588984 +0100
@@ -5743,6 +5743,7 @@
u_int64_t rs_tsf;
u_int processed = 0, early_stop = 0;
@@ -75,10 +75,10 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c
/*
* Locate the node for sender, track state, and then
* pass the (referenced) node up to the 802.11 layer
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_ccmp.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto_ccmp.c 2007-10-24 06:20:19.581805179 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_ccmp.c 2007-10-24 06:20:21.505914829 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto_ccmp.c 2007-10-31 14:04:49.913465886 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c 2007-10-31 14:04:52.073588984 +0100
@@ -73,7 +73,7 @@
static int ccmp_encap(struct ieee80211_key *, struct sk_buff *, u_int8_t);
static int ccmp_decap(struct ieee80211_key *, struct sk_buff *, int);
@@ -97,10 +97,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_ccmp.c
{
return 1;
}
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto.h
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto.h 2007-10-24 06:20:16.013601842 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto.h 2007-10-24 06:20:21.513915288 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto.h 2007-10-31 14:04:46.109249096 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto.h 2007-10-31 14:04:52.073588984 +0100
@@ -145,7 +145,7 @@
int (*ic_encap)(struct ieee80211_key *, struct sk_buff *, u_int8_t);
int (*ic_decap)(struct ieee80211_key *, struct sk_buff *, int);
@@ -123,10 +123,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto.h
}
/*
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_none.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_none.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto_none.c 2007-10-24 06:20:16.017602067 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_none.c 2007-10-24 06:20:21.513915288 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto_none.c 2007-10-31 14:04:46.113249322 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_none.c 2007-10-31 14:04:52.073588984 +0100
@@ -52,7 +52,7 @@
static int none_encap(struct ieee80211_key *, struct sk_buff *, u_int8_t);
static int none_decap(struct ieee80211_key *, struct sk_buff *, int);
@@ -145,10 +145,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_none.c
{
struct ieee80211vap *vap = k->wk_private;
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_tkip.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_tkip.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto_tkip.c 2007-10-24 06:20:16.025602525 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_tkip.c 2007-10-24 06:20:21.513915288 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto_tkip.c 2007-10-31 14:04:46.121249780 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_tkip.c 2007-10-31 14:04:52.077589210 +0100
@@ -57,7 +57,7 @@
static int tkip_encap(struct ieee80211_key *, struct sk_buff *, u_int8_t);
static int tkip_enmic(struct ieee80211_key *, struct sk_buff *, int);
@@ -176,10 +176,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_tkip.c
struct ieee80211vap *vap = ctx->tc_vap;
u8 mic[IEEE80211_WEP_MICLEN];
u8 mic0[IEEE80211_WEP_MICLEN];
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_wep.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_wep.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_crypto_wep.c 2007-10-24 06:20:16.033602982 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_wep.c 2007-10-24 06:20:21.513915288 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_crypto_wep.c 2007-10-31 14:04:46.129250236 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_wep.c 2007-10-31 14:04:52.077589210 +0100
@@ -54,7 +54,7 @@
static int wep_encap(struct ieee80211_key *, struct sk_buff *, u_int8_t);
static int wep_decap(struct ieee80211_key *, struct sk_buff *, int);
@@ -198,10 +198,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_crypto_wep.c
{
return 1;
}
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_input.c 2007-10-24 06:20:21.229899101 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_input.c 2007-10-24 06:20:21.517915515 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_input.c 2007-10-31 14:04:51.801573482 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_input.c 2007-10-31 14:04:52.081589439 +0100
@@ -632,7 +632,7 @@
* Next strip any MSDU crypto bits.
*/
@@ -259,10 +259,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_input.c
#ifdef IEEE80211_DEBUG
/*
* Debugging support.
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_proto.h
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_proto.h
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_proto.h 2007-10-24 06:20:16.045603664 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_proto.h 2007-10-24 06:20:21.517915515 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_proto.h 2007-10-31 14:04:46.141250920 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_proto.h 2007-10-31 14:04:52.081589439 +0100
@@ -91,6 +91,7 @@
void ieee80211_set11gbasicrates(struct ieee80211_rateset *, enum ieee80211_phymode);
enum ieee80211_phymode ieee80211_get11gbasicrates(struct ieee80211_rateset *);
@@ -271,10 +271,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_proto.h
/*
* Return the size of the 802.11 header for a management or data frame.
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_linux.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_linux.c 2007-10-24 06:20:19.373793330 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_linux.c 2007-10-24 06:20:21.517915515 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_linux.c 2007-10-31 14:04:49.705454030 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c 2007-10-31 14:04:52.081589439 +0100
@@ -339,8 +339,8 @@
/* TODO: needed parameters: count, keyid, key type, src address, TSC */
snprintf(buf, sizeof(buf), "%s(keyid=%d %scast addr=%s)", tag,
@@ -286,10 +286,10 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_linux.c
memset(&wrqu, 0, sizeof(wrqu));
wrqu.data.length = strlen(buf);
wireless_send_event(dev, IWEVCUSTOM, &wrqu, buf);
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_output.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_output.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_output.c 2007-10-24 06:20:16.061604575 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_output.c 2007-10-24 06:20:21.521915740 +0200
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_output.c 2007-10-31 14:04:46.157251830 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_output.c 2007-10-31 14:04:52.081589439 +0100
@@ -1079,13 +1079,16 @@
cip = (struct ieee80211_cipher *) key->wk_cipher;
ciphdrsize = cip->ic_header;
@@ -310,11 +310,11 @@ Index: madwifi-ng-r2756-20071018/net80211/ieee80211_output.c
/*
* Allocate sk_buff for each subsequent fragment; First fragment
-Index: madwifi-ng-r2756-20071018/net80211/ieee80211_node.c
+Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_node.c 2007-10-24 06:20:21.237899558 +0200
-+++ madwifi-ng-r2756-20071018/net80211/ieee80211_node.c 2007-10-24 06:20:21.521915740 +0200
-@@ -1880,11 +1880,13 @@
+--- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_node.c 2007-10-31 14:04:51.805573711 +0100
++++ madwifi-ng-r2799-20071030/net80211/ieee80211_node.c 2007-10-31 14:04:52.085589669 +0100
+@@ -1884,11 +1884,13 @@
/* From this point onwards we can no longer find the node,
* so no more references are generated
*/
diff --git a/package/madwifi/patches/310-noise_get.patch b/package/madwifi/patches/310-noise_get.patch
index c62437f2f3..73de2b8546 100644
--- a/package/madwifi/patches/310-noise_get.patch
+++ b/package/madwifi/patches/310-noise_get.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2756-20071018/ath/if_ath.c
+Index: madwifi-ng-r2799-20071030/ath/if_ath.c
===================================================================
---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-27 19:20:14.495461544 +0200
-+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-27 19:23:13.621669358 +0200
+--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:52.073588984 +0100
++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:52.417608587 +0100
@@ -1417,7 +1417,6 @@
* Wireshark and Kismet.
*/