From: Felix Fietkau Date: Wed, 7 Nov 2007 13:02:09 +0000 (+0000) Subject: update madwifi to latest rev - works around some crashiness X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5bc6d1c39e6541fefaf357946500f1c9bca03fa5;p=openwrt%2Fstaging%2Fmkresin.git update madwifi to latest rev - works around some crashiness SVN-Revision: 9507 --- diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index ad811af1dc..952da7e9fc 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:=r2799-20071030 +PKG_VERSION:=r2834-20071106 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:=58fdb5d5acf73ccd4577f17fbd7c6a22 +PKG_MD5SUM:=3de6b07146001b53bc45de5d3dd95bc2 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 0621e792b5..286c808c2b 100644 --- a/package/madwifi/patches/100-kernel_cflags.patch +++ b/package/madwifi/patches/100-kernel_cflags.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/hal/public/mips-be-elf.inc +Index: madwifi-ng-r2834-20071106/hal/public/mips-be-elf.inc =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/hal/public/mips-be-elf.inc 2007-11-07 14:01:59.849362290 +0100 ++++ madwifi-ng-r2834-20071106/hal/public/mips-be-elf.inc 2007-11-07 14:01:59.941367534 +0100 @@ -71,5 +71,5 @@ LDOPTS= -EB @@ -9,10 +9,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/hal/public/mips-le-elf.inc +Index: madwifi-ng-r2834-20071106/hal/public/mips-le-elf.inc =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/hal/public/mips-le-elf.inc 2007-11-07 14:01:59.857362746 +0100 ++++ madwifi-ng-r2834-20071106/hal/public/mips-le-elf.inc 2007-11-07 14:01:59.949367989 +0100 @@ -68,5 +68,5 @@ LDOPTS= -EL @@ -20,10 +20,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/hal/public/xscale-be-elf.inc +Index: madwifi-ng-r2834-20071106/hal/public/xscale-be-elf.inc =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/hal/public/xscale-be-elf.inc 2007-11-07 14:01:59.865363201 +0100 ++++ madwifi-ng-r2834-20071106/hal/public/xscale-be-elf.inc 2007-11-07 14:01:59.953368219 +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 e5eb0d2df4..e70e24c4a1 100644 --- a/package/madwifi/patches/102-multicall_binary.patch +++ b/package/madwifi/patches/102-multicall_binary.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/tools/80211debug.c +Index: madwifi-ng-r2834-20071106/tools/80211debug.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/80211debug.c 2007-11-07 14:01:59.745356362 +0100 ++++ madwifi-ng-r2834-20071106/tools/80211debug.c 2007-11-07 14:02:00.181381212 +0100 @@ -49,6 +49,10 @@ #include #include @@ -33,10 +33,10 @@ Index: madwifi-ng-r2799-20071030/tools/80211debug.c const char *ifname = "ath0"; const char *cp, *tp; const char *sep; -Index: madwifi-ng-r2799-20071030/tools/80211stats.c +Index: madwifi-ng-r2834-20071106/tools/80211stats.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/80211stats.c 2007-11-07 14:01:59.753356821 +0100 ++++ madwifi-ng-r2834-20071106/tools/80211stats.c 2007-11-07 14:02:00.181381212 +0100 @@ -60,6 +60,10 @@ #include "net80211/ieee80211_crypto.h" #include "net80211/ieee80211_ioctl.h" @@ -68,10 +68,10 @@ Index: madwifi-ng-r2799-20071030/tools/80211stats.c int c, len; struct ieee80211req_sta_info *si; u_int8_t buf[24*1024], *cp; -Index: madwifi-ng-r2799-20071030/tools/athchans.c +Index: madwifi-ng-r2834-20071106/tools/athchans.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/athchans.c 2007-11-07 14:01:59.757357047 +0100 ++++ madwifi-ng-r2834-20071106/tools/athchans.c 2007-11-07 14:02:00.189381667 +0100 @@ -59,6 +59,10 @@ #include "net80211/ieee80211_crypto.h" #include "net80211/ieee80211_ioctl.h" @@ -104,10 +104,10 @@ Index: madwifi-ng-r2799-20071030/tools/athchans.c const char *ifname = "wifi0"; struct ieee80211req_chanlist chanlist; int c; -Index: madwifi-ng-r2799-20071030/tools/athctrl.c +Index: madwifi-ng-r2834-20071106/tools/athctrl.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/athctrl.c 2007-11-07 14:01:59.765357502 +0100 ++++ madwifi-ng-r2834-20071106/tools/athctrl.c 2007-11-07 14:02:00.193381896 +0100 @@ -53,6 +53,10 @@ #include @@ -139,10 +139,10 @@ Index: madwifi-ng-r2799-20071030/tools/athctrl.c char device[IFNAMSIZ + 1]; int distance = -1; int c; -Index: madwifi-ng-r2799-20071030/tools/athdebug.c +Index: madwifi-ng-r2834-20071106/tools/athdebug.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/athdebug.c 2007-11-07 14:01:59.773357960 +0100 ++++ madwifi-ng-r2834-20071106/tools/athdebug.c 2007-11-07 14:02:00.193381896 +0100 @@ -52,6 +52,10 @@ #include #include @@ -175,10 +175,10 @@ Index: madwifi-ng-r2799-20071030/tools/athdebug.c #ifdef __linux__ const char *ifname = "wifi0"; #else -Index: madwifi-ng-r2799-20071030/tools/athkey.c +Index: madwifi-ng-r2834-20071106/tools/athkey.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/athkey.c 2007-11-07 14:01:59.777358186 +0100 ++++ madwifi-ng-r2834-20071106/tools/athkey.c 2007-11-07 14:02:00.193381896 +0100 @@ -59,6 +59,10 @@ #include "net80211/ieee80211_crypto.h" #include "net80211/ieee80211_ioctl.h" @@ -210,10 +210,10 @@ Index: madwifi-ng-r2799-20071030/tools/athkey.c const char *ifname = "wifi0"; struct ieee80211req_key setkey; struct ieee80211req_del_key delkey; -Index: madwifi-ng-r2799-20071030/tools/athstats.c +Index: madwifi-ng-r2834-20071106/tools/athstats.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/athstats.c 2007-11-07 14:01:59.785358642 +0100 ++++ madwifi-ng-r2834-20071106/tools/athstats.c 2007-11-07 14:02:00.193381896 +0100 @@ -63,6 +63,10 @@ #include "wireless_copy.h" #include "if_athioctl.h" @@ -246,10 +246,10 @@ Index: madwifi-ng-r2799-20071030/tools/athstats.c #ifdef __linux__ const char *ifname = "wifi0"; #else -Index: madwifi-ng-r2799-20071030/tools/do_multi.c +Index: madwifi-ng-r2834-20071106/tools/do_multi.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ madwifi-ng-r2799-20071030/tools/do_multi.c 2007-10-31 14:04:47.557331616 +0100 ++++ madwifi-ng-r2834-20071106/tools/do_multi.c 2007-11-07 14:02:00.197382122 +0100 @@ -0,0 +1,32 @@ +#include +#include "do_multi.h" @@ -283,10 +283,10 @@ Index: madwifi-ng-r2799-20071030/tools/do_multi.c + + return ret; +} -Index: madwifi-ng-r2799-20071030/tools/do_multi.h +Index: madwifi-ng-r2834-20071106/tools/do_multi.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ madwifi-ng-r2799-20071030/tools/do_multi.h 2007-10-31 14:04:47.557331616 +0100 ++++ madwifi-ng-r2834-20071106/tools/do_multi.h 2007-11-07 14:02:00.197382122 +0100 @@ -0,0 +1,10 @@ + +int a80211debug_init(int argc, char *argv[]); @@ -298,10 +298,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/tools/Makefile +Index: madwifi-ng-r2834-20071106/tools/Makefile =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/Makefile 2007-11-07 14:01:59.801359556 +0100 ++++ madwifi-ng-r2834-20071106/tools/Makefile 2007-11-07 14:02:00.197382122 +0100 @@ -47,9 +47,12 @@ endif @@ -367,10 +367,10 @@ Index: madwifi-ng-r2799-20071030/tools/Makefile install: $(ALL) install -d $(DESTDIR)$(BINDIR) -Index: madwifi-ng-r2799-20071030/tools/wlanconfig.c +Index: madwifi-ng-r2834-20071106/tools/wlanconfig.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/wlanconfig.c 2007-11-07 14:01:59.809360011 +0100 ++++ madwifi-ng-r2834-20071106/tools/wlanconfig.c 2007-11-07 14:02:00.197382122 +0100 @@ -62,6 +62,10 @@ #include "net80211/ieee80211_crypto.h" #include "net80211/ieee80211_ioctl.h" @@ -402,11 +402,11 @@ Index: madwifi-ng-r2799-20071030/tools/wlanconfig.c const char *ifname, *cmd; unsigned char bnounit = 0; char *if_base = NULL; -Index: madwifi-ng-r2799-20071030/tools/ath_info.c +Index: madwifi-ng-r2834-20071106/tools/ath_info.c =================================================================== ---- 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 @@ +--- madwifi-ng-r2834-20071106.orig/tools/ath_info.c 2007-11-07 14:01:59.817360466 +0100 ++++ madwifi-ng-r2834-20071106/tools/ath_info.c 2007-11-07 14:02:00.201382352 +0100 +@@ -736,7 +736,12 @@ "unlawful radio transmissions!\n\n"); } @@ -414,8 +414,7 @@ Index: madwifi-ng-r2799-20071030/tools/ath_info.c +int +athinfo_init(int argc, char *argv[]) +#else - int - main(int argc, char *argv[]) + int main(int argc, char *argv[]) +#endif { u_int32_t dev_addr; diff --git a/package/madwifi/patches/104-autocreate_none.patch b/package/madwifi/patches/104-autocreate_none.patch index dccb153b73..01dd144531 100644 --- a/package/madwifi/patches/104-autocreate_none.patch +++ b/package/madwifi/patches/104-autocreate_none.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:01:59.713354541 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:00.533401273 +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 edce19a968..d4a9c2f93d 100644 --- a/package/madwifi/patches/105-ratectl_attach.patch +++ b/package/madwifi/patches/105-ratectl_attach.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_rate.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_rate.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_rate.c 2007-11-07 14:01:59.685352943 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_rate.c 2007-11-07 14:02:00.745413352 +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 cc7f81e340..f14f53680a 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-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:00.533401273 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:00.957425434 +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 bf85258d02..6f7d5e96d5 100644 --- a/package/madwifi/patches/111-minstrel_crash.patch +++ b/package/madwifi/patches/111-minstrel_crash.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c +Index: madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_rate/minstrel/minstrel.c 2007-11-07 14:01:59.625349524 +0100 ++++ madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c 2007-11-07 14:02:01.169437517 +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 ca98ccad83..9d738b117f 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-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:00.957425434 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:01.785472625 +0100 @@ -5853,7 +5853,8 @@ * frame; it'll be dropped where it's not wanted. */ @@ -12,11 +12,11 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c struct ath_node *an; /* * Fast path: node is present in the key map; -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.c =================================================================== ---- 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 @@ +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.c 2007-11-07 14:01:59.581347018 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.c 2007-11-07 14:02:01.789472851 +0100 +@@ -1290,8 +1290,6 @@ IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt); return ni; @@ -25,7 +25,7 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c } #ifdef IEEE80211_DEBUG_REFCNT EXPORT_SYMBOL(ieee80211_find_rxnode_debug); -@@ -1284,6 +1282,20 @@ +@@ -1299,6 +1297,20 @@ EXPORT_SYMBOL(ieee80211_find_rxnode); #endif @@ -46,10 +46,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/net80211/ieee80211_node.h +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.h 2007-11-07 14:01:59.589347473 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.h 2007-11-07 14:02:01.873477636 +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 2a8dabb769..a8c8185a62 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-r2799-20071030/net80211/ieee80211_scan.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_scan.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_scan.c 2007-11-07 14:01:59.541344736 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_scan.c 2007-11-07 14:02:02.281500890 +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 5eb7074c67..8643f6a60f 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-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:01.785472625 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:02.637521177 +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 422fdcc76b..bb0bbc044a 100644 --- a/package/madwifi/patches/121-ibss_hostap.patch +++ b/package/madwifi/patches/121-ibss_hostap.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:02.637521177 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:02.861533944 +0100 @@ -409,7 +409,6 @@ * and use the next two bits as the index of the VAP. */ @@ -149,10 +149,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c if (ni != NULL) { struct ath_node *an = ATH_NODE(ni); ieee80211_keyix_t keyix; -Index: madwifi-ng-r2799-20071030/ath/if_athvar.h +Index: madwifi-ng-r2834-20071106/ath/if_athvar.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_athvar.h 2007-11-07 14:01:59.457339950 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_athvar.h 2007-11-07 14:02:02.861533944 +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-r2799-20071030/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-r2799-20071030/net80211/ieee80211_beacon.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_beacon.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_beacon.c 2007-11-07 14:01:59.461340176 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_beacon.c 2007-11-07 14:02:02.869534399 +0100 @@ -111,7 +111,7 @@ bo->bo_tim = frm; @@ -183,10 +183,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_beacon.c *frm++ = IEEE80211_ELEMID_IBSSPARMS; *frm++ = 2; *frm++ = 0; *frm++ = 0; /* TODO: ATIM window */ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_input.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_input.c 2007-11-07 14:01:59.469340634 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_input.c 2007-11-07 14:02:02.873534629 +0100 @@ -2990,7 +2990,13 @@ return; } @@ -217,11 +217,11 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c } IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_INPUT, wh->i_addr2, -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.c =================================================================== ---- 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 @@ +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.c 2007-11-07 14:02:01.789472851 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.c 2007-11-07 14:02:02.873534629 +0100 +@@ -1103,8 +1103,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 638d04c960..6d458a5025 100644 --- a/package/madwifi/patches/122-replayfail_workaround.patch +++ b/package/madwifi/patches/122-replayfail_workaround.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_linux.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_linux.c 2007-11-07 14:01:59.417337671 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_linux.c 2007-11-07 14:02:03.137549672 +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 ccbb10d27f..efc9aeff11 100644 --- a/package/madwifi/patches/123-ccmp_checks.patch +++ b/package/madwifi/patches/123-ccmp_checks.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_ccmp.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto_ccmp.c 2007-11-07 14:01:59.385335846 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_ccmp.c 2007-11-07 14:02:03.345561529 +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 8721ec7c82..69657b2615 100644 --- a/package/madwifi/patches/124-linux24_compat.patch +++ b/package/madwifi/patches/124-linux24_compat.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_athvar.h +Index: madwifi-ng-r2834-20071106/ath/if_athvar.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_athvar.h 2007-11-07 14:02:02.861533944 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_athvar.h 2007-11-07 14:02:03.557573608 +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 506e9637cd..145e9d8d52 100644 --- a/package/madwifi/patches/126-rxerr_frames.patch +++ b/package/madwifi/patches/126-rxerr_frames.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:02.861533944 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:03.853590479 +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 9da8b25756..71b85850aa 100644 --- a/package/madwifi/patches/127-beacon_node.patch +++ b/package/madwifi/patches/127-beacon_node.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:03.853590479 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:04.077603246 +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 284d4be4b4..987515bfaf 100644 --- a/package/madwifi/patches/128-revert_ioaccess.patch +++ b/package/madwifi/patches/128-revert_ioaccess.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath_hal/ah_os.h +Index: madwifi-ng-r2834-20071106/ath_hal/ah_os.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_hal/ah_os.h 2007-11-07 14:01:59.257328552 +0100 ++++ madwifi-ng-r2834-20071106/ath_hal/ah_os.h 2007-11-07 14:02:04.329617605 +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 916be8de88..21e9ba07c8 100644 --- a/package/madwifi/patches/200-no_debug.patch +++ b/package/madwifi/patches/200-no_debug.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:04.077603246 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:04.537629461 +0100 @@ -75,7 +75,7 @@ #include #endif @@ -11,10 +11,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c #include "net80211/if_athproto.h" #include "if_athvar.h" -Index: madwifi-ng-r2799-20071030/ath_rate/amrr/amrr.c +Index: madwifi-ng-r2834-20071106/ath_rate/amrr/amrr.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_rate/amrr/amrr.c 2007-11-07 14:01:59.177323993 +0100 ++++ madwifi-ng-r2834-20071106/ath_rate/amrr/amrr.c 2007-11-07 14:02:04.545629914 +0100 @@ -70,7 +70,7 @@ #include "amrr.h" @@ -24,10 +24,10 @@ Index: madwifi-ng-r2799-20071030/ath_rate/amrr/amrr.c #ifdef AMRR_DEBUG #define DPRINTF(sc, _fmt, ...) do { \ if (sc->sc_debug & 0x10) \ -Index: madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c +Index: madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_rate/minstrel/minstrel.c 2007-11-07 14:02:01.169437517 +0100 ++++ madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c 2007-11-07 14:02:04.549630142 +0100 @@ -117,7 +117,7 @@ #include "minstrel.h" @@ -37,10 +37,10 @@ Index: madwifi-ng-r2799-20071030/ath_rate/minstrel/minstrel.c #ifdef MINSTREL_DEBUG enum { ATH_DEBUG_RATE = 0x00000010 /* rate control */ -Index: madwifi-ng-r2799-20071030/ath_rate/onoe/onoe.c +Index: madwifi-ng-r2834-20071106/ath_rate/onoe/onoe.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_rate/onoe/onoe.c 2007-11-07 14:01:59.193324906 +0100 ++++ madwifi-ng-r2834-20071106/ath_rate/onoe/onoe.c 2007-11-07 14:02:04.553630371 +0100 @@ -66,7 +66,7 @@ #include "onoe.h" @@ -50,10 +50,10 @@ Index: madwifi-ng-r2799-20071030/ath_rate/onoe/onoe.c #ifdef ONOE_DEBUG enum { ATH_DEBUG_RATE = 0x00000010, /* rate control */ -Index: madwifi-ng-r2799-20071030/ath_rate/sample/sample.c +Index: madwifi-ng-r2834-20071106/ath_rate/sample/sample.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath_rate/sample/sample.c 2007-11-07 14:01:59.201325359 +0100 ++++ madwifi-ng-r2834-20071106/ath_rate/sample/sample.c 2007-11-07 14:02:04.557630601 +0100 @@ -68,7 +68,7 @@ #include "sample.h" @@ -63,10 +63,10 @@ Index: madwifi-ng-r2799-20071030/ath_rate/sample/sample.c #ifdef SAMPLE_DEBUG enum { ATH_DEBUG_NODE = 0x00080000, /* node management */ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_var.h +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_var.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_var.h 2007-11-07 14:01:59.209325817 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_var.h 2007-11-07 14:02:04.561630827 +0100 @@ -35,8 +35,8 @@ #ifndef _NET80211_IEEE80211_VAR_H_ #define _NET80211_IEEE80211_VAR_H_ @@ -78,10 +78,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_var.h /* Definitions for IEEE 802.11 drivers. */ #include -Index: madwifi-ng-r2799-20071030/tools/do_multi.c +Index: madwifi-ng-r2834-20071106/tools/do_multi.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/do_multi.c 2007-11-07 14:02:00.197382122 +0100 ++++ madwifi-ng-r2834-20071106/tools/do_multi.c 2007-11-07 14:02:04.565631053 +0100 @@ -9,16 +9,20 @@ progname = basename(argv[0]); @@ -103,10 +103,10 @@ Index: madwifi-ng-r2799-20071030/tools/do_multi.c if(strcmp(progname, "athkey") == 0) ret = athkey_init(argc, argv); if(strcmp(progname, "athstats") == 0) -Index: madwifi-ng-r2799-20071030/tools/Makefile +Index: madwifi-ng-r2834-20071106/tools/Makefile =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/tools/Makefile 2007-11-07 14:02:00.197382122 +0100 ++++ madwifi-ng-r2834-20071106/tools/Makefile 2007-11-07 14:02:04.565631053 +0100 @@ -48,7 +48,7 @@ diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch index 58c5d1097f..e2abe304b9 100644 --- a/package/madwifi/patches/300-napi_polling.patch +++ b/package/madwifi/patches/300-napi_polling.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:04.537629461 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:04.865648150 +0100 @@ -170,7 +170,7 @@ int, u_int64_t); static void ath_setdefantenna(struct ath_softc *, u_int); @@ -252,7 +252,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c unsigned int i; /* XXX return value */ -@@ -9336,9 +9417,9 @@ +@@ -9343,9 +9424,9 @@ dev->mtu = mtu; if ((dev->flags & IFF_RUNNING) && !sc->sc_invalid) { /* NB: the rx buffers may need to be reallocated */ @@ -264,10 +264,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c } ATH_UNLOCK(sc); -Index: madwifi-ng-r2799-20071030/ath/if_athvar.h +Index: madwifi-ng-r2834-20071106/ath/if_athvar.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_athvar.h 2007-11-07 14:02:03.557573608 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_athvar.h 2007-11-07 14:02:04.865648150 +0100 @@ -50,6 +50,10 @@ #include #include @@ -304,10 +304,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/net80211/ieee80211_input.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_input.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_input.c 2007-11-07 14:02:02.873534629 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_input.c 2007-11-07 14:02:04.873648608 +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 b082dbda8b..99008ee923 100644 --- a/package/madwifi/patches/301-tx_locking.patch +++ b/package/madwifi/patches/301-tx_locking.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:04.865648150 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:05.117662515 +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-r2799-20071030/ath/if_ath.c ff_flush_done: ff_bypass: -Index: madwifi-ng-r2799-20071030/ath/if_athvar.h +Index: madwifi-ng-r2834-20071106/ath/if_athvar.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_athvar.h 2007-11-07 14:02:04.865648150 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_athvar.h 2007-11-07 14:02:05.117662515 +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 c51b5c87bf..4afeb5b33a 100644 --- a/package/madwifi/patches/305-pureg_fix.patch +++ b/package/madwifi/patches/305-pureg_fix.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:05.117662515 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:05.345675505 +0100 @@ -3519,7 +3519,9 @@ rfilt |= HAL_RX_FILTER_PROM; if (ic->ic_opmode == IEEE80211_M_STA || @@ -13,10 +13,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/net80211/ieee80211_input.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_input.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_input.c 2007-11-07 14:02:04.873648608 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_input.c 2007-11-07 14:02:05.349675734 +0100 @@ -321,11 +321,12 @@ bssid = wh->i_addr3; } @@ -97,10 +97,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c /* * If scanning, just pass information to the scan module. */ -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.c 2007-11-07 14:02:02.873534629 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.c 2007-11-07 14:02:05.357676193 +0100 @@ -332,10 +332,16 @@ /* Update country ie information */ ieee80211_build_countryie(ic); @@ -120,10 +120,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c (void) ieee80211_sta_join1(PASS_NODE(ni)); } -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_proto.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_proto.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_proto.c 2007-11-07 14:01:59.041316241 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_proto.c 2007-11-07 14:02:05.357676193 +0100 @@ -586,6 +586,28 @@ { 4, { 2, 4, 11, 22 } }, /* IEEE80211_MODE_TURBO_G (mixed b/g) */ }; @@ -153,10 +153,10 @@ Index: madwifi-ng-r2799-20071030/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-r2799-20071030/net80211/ieee80211_var.h +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_var.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_var.h 2007-11-07 14:02:04.561630827 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_var.h 2007-11-07 14:02:05.361676419 +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 cf3948a8d3..753fc14b31 100644 --- a/package/madwifi/patches/309-micfail_detect.patch +++ b/package/madwifi/patches/309-micfail_detect.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:05.345675505 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:05.625691466 +0100 @@ -5743,6 +5743,7 @@ u_int64_t rs_tsf; u_int processed = 0, early_stop = 0; @@ -10,7 +10,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c DPRINTF(sc, ATH_DEBUG_RX_PROC, "%s\n", __func__); process_rx_again: -@@ -5839,24 +5840,7 @@ +@@ -5839,24 +5840,8 @@ } if (rs->rs_status & HAL_RXERR_MIC) { sc->sc_stats.ast_rx_badmic++; @@ -33,10 +33,11 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c -#endif - } + mic_fail = 1; ++ goto rx_accept; } /* * Reject error frames if we have no vaps that -@@ -5920,8 +5904,9 @@ +@@ -5920,8 +5905,9 @@ /* * Finished monitor mode handling, now reject * error frames before passing to other vaps @@ -47,11 +48,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c dev_kfree_skb(skb); skb = NULL; goto rx_next; -@@ -5952,6 +5937,27 @@ - sc->sc_hwmap[rs->rs_rate].ieeerate, - rs->rs_rssi); +@@ -5930,6 +5916,26 @@ + /* remove the CRC */ + skb_trim(skb, skb->len - IEEE80211_CRC_LEN); -+ /* MIC failure. Drop the packet in any case */ + if (mic_fail) { + /* Ignore control frames which are reported with mic error */ + if ((((struct ieee80211_frame *)skb->data)->i_fc[0] & @@ -70,15 +70,23 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c + skb = NULL; + mic_fail = 0; + goto rx_next; -+ } ++ } + + /* + * From this point on we assume the frame is at least + * as large as ieee80211_frame_min; verify that. +@@ -5952,6 +5958,7 @@ + sc->sc_hwmap[rs->rs_rate].ieeerate, + rs->rs_rssi); + ++ /* MIC failure. Drop the packet in any case */ /* * Locate the node for sender, track state, and then * pass the (referenced) node up to the 802.11 layer -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_ccmp.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto_ccmp.c 2007-11-07 14:02:03.345561529 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_ccmp.c 2007-11-07 14:02:05.625691466 +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 +105,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_ccmp.c { return 1; } -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto.h +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto.h 2007-11-07 14:01:58.929309860 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto.h 2007-11-07 14:02:05.633691920 +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 +131,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto.h } /* -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_none.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_none.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto_none.c 2007-11-07 14:01:58.937310316 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_none.c 2007-11-07 14:02:05.633691920 +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 +153,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_none.c { struct ieee80211vap *vap = k->wk_private; -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_tkip.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_tkip.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto_tkip.c 2007-11-07 14:01:58.945310770 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_tkip.c 2007-11-07 14:02:05.633691920 +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 +184,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_tkip.c struct ieee80211vap *vap = ctx->tc_vap; u8 mic[IEEE80211_WEP_MICLEN]; u8 mic0[IEEE80211_WEP_MICLEN]; -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_wep.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_wep.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_crypto_wep.c 2007-11-07 14:01:58.953311229 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_crypto_wep.c 2007-11-07 14:02:05.633691920 +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 +206,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_crypto_wep.c { return 1; } -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_input.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_input.c 2007-11-07 14:02:05.349675734 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_input.c 2007-11-07 14:02:05.637692150 +0100 @@ -632,7 +632,7 @@ * Next strip any MSDU crypto bits. */ @@ -259,10 +267,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c #ifdef IEEE80211_DEBUG /* * Debugging support. -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_proto.h +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_proto.h =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_proto.h 2007-11-07 14:01:58.965311910 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_proto.h 2007-11-07 14:02:05.637692150 +0100 @@ -91,6 +91,7 @@ void ieee80211_set11gbasicrates(struct ieee80211_rateset *, enum ieee80211_phymode); enum ieee80211_phymode ieee80211_get11gbasicrates(struct ieee80211_rateset *); @@ -271,10 +279,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_proto.h /* * Return the size of the 802.11 header for a management or data frame. -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_linux.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_linux.c 2007-11-07 14:02:03.137549672 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_linux.c 2007-11-07 14:02:05.641692376 +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 +294,10 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c memset(&wrqu, 0, sizeof(wrqu)); wrqu.data.length = strlen(buf); wireless_send_event(dev, IWEVCUSTOM, &wrqu, buf); -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_output.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_output.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_output.c 2007-11-07 14:01:58.981312821 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_output.c 2007-11-07 14:02:05.641692376 +0100 @@ -1079,13 +1079,16 @@ cip = (struct ieee80211_cipher *) key->wk_cipher; ciphdrsize = cip->ic_header; @@ -310,11 +318,11 @@ Index: madwifi-ng-r2799-20071030/net80211/ieee80211_output.c /* * Allocate sk_buff for each subsequent fragment; First fragment -Index: madwifi-ng-r2799-20071030/net80211/ieee80211_node.c +Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.c =================================================================== ---- 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 @@ +--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.c 2007-11-07 14:02:05.357676193 +0100 ++++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.c 2007-11-07 14:02:05.645692605 +0100 +@@ -1899,11 +1899,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 73de2b8546..927d56f4b2 100644 --- a/package/madwifi/patches/310-noise_get.patch +++ b/package/madwifi/patches/310-noise_get.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2799-20071030/ath/if_ath.c +Index: madwifi-ng-r2834-20071106/ath/if_ath.c =================================================================== ---- 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 +--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:05.625691466 +0100 ++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:06.001712892 +0100 @@ -1417,7 +1417,6 @@ * Wireshark and Kismet. */ @@ -10,7 +10,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c ATH_RXBUF_LOCK_IRQ(sc); if (sc->sc_rxbufcur == NULL) -@@ -8174,6 +8173,7 @@ +@@ -8182,6 +8181,7 @@ struct net_device *dev = (struct net_device *) arg; struct ath_softc *sc = dev->priv; struct ath_hal *ah = sc->sc_ah; @@ -18,7 +18,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c /* u_int32_t nchans; */ HAL_BOOL isIQdone = AH_FALSE; -@@ -8202,6 +8202,7 @@ +@@ -8210,6 +8210,7 @@ ath_calinterval = ATH_LONG_CALINTERVAL; else ath_calinterval = ATH_SHORT_CALINTERVAL; @@ -26,7 +26,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c sc->sc_cal_ch.expires = jiffies + (ath_calinterval * HZ); add_timer(&sc->sc_cal_ch); -@@ -8252,6 +8253,7 @@ +@@ -8260,6 +8261,7 @@ struct ath_softc *sc = dev->priv; (void) ath_chan_set(sc, ic->ic_curchan); @@ -34,7 +34,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c /* * If we are returning to our bss channel then mark state * so the next recv'd beacon's TSF will be used to sync the -@@ -8466,6 +8468,7 @@ +@@ -8474,6 +8476,7 @@ } ath_hal_process_noisefloor(ah);