aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-26 16:52:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-26 16:52:05 +0000
commit272d51ddd31edc24e3ca3100a32712e9e94c4bc2 (patch)
tree01fab2b91e15768a37ac18ad95a58f769aca1a2f /package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
parent0016ac20053ff8675fb038f82a7803ba1bcb162d (diff)
downloadupstream-272d51ddd31edc24e3ca3100a32712e9e94c4bc2.tar.gz
upstream-272d51ddd31edc24e3ca3100a32712e9e94c4bc2.tar.bz2
upstream-272d51ddd31edc24e3ca3100a32712e9e94c4bc2.zip
update madwifi to latest trunk - performance enhancements
SVN-Revision: 7341
Diffstat (limited to 'package/madwifi/patches/116-adhoc_beacon_PR_1033.patch')
-rw-r--r--package/madwifi/patches/116-adhoc_beacon_PR_1033.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch b/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch
index 76bd8de54a..73ba122450 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 @@
-diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
---- madwifi.old/ath/if_ath.c 2007-05-21 07:33:42.392925296 +0200
-+++ madwifi.dev/ath/if_ath.c 2007-05-21 07:39:50.536958896 +0200
-@@ -4359,16 +4359,31 @@
+diff -urN madwifi-ng-r2377-20070526.old/ath/if_ath.c madwifi-ng-r2377-20070526.dev/ath/if_ath.c
+--- madwifi-ng-r2377-20070526.old/ath/if_ath.c 2007-05-26 18:51:08.747757680 +0200
++++ madwifi-ng-r2377-20070526.dev/ath/if_ath.c 2007-05-26 18:51:08.841743392 +0200
+@@ -4373,16 +4373,31 @@
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_node *ni;
@@ -37,7 +37,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
/* XXX conditionalize multi-bss support? */
if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
/*
-@@ -4382,20 +4397,61 @@
+@@ -4396,20 +4411,61 @@
if (sc->sc_stagbeacons)
intval /= ATH_BCBUF; /* for staggered beacons */
if ((sc->sc_nostabeacons) &&
@@ -108,7 +108,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
int dtimperiod, dtimcount;
int cfpperiod, cfpcount;
-@@ -4411,13 +4467,13 @@
+@@ -4425,13 +4481,13 @@
dtimcount = 0; /* XXX? */
cfpperiod = 1; /* NB: no PCF support yet */
cfpcount = 0;
@@ -125,7 +125,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
do {
nexttbtt += intval;
if (--dtimcount < 0) {
-@@ -4425,7 +4481,7 @@
+@@ -4439,7 +4495,7 @@
if (--cfpcount < 0)
cfpcount = cfpperiod - 1;
}
@@ -134,7 +134,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
#undef FUDGE
memset(&bs, 0, sizeof(bs));
bs.bs_intval = intval;
-@@ -4477,7 +4533,7 @@
+@@ -4491,7 +4547,7 @@
DPRINTF(sc, ATH_DEBUG_BEACON,
"%s: tsf %llu tsf:tu %u intval %u nexttbtt %u dtim %u nextdtim %u bmiss %u sleep %u cfp:period %u maxdur %u next %u timoffset %u\n",
__func__,
@@ -143,7 +143,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
bs.bs_intval,
bs.bs_nexttbtt,
bs.bs_dtimperiod,
-@@ -4496,7 +4552,7 @@
+@@ -4510,7 +4566,7 @@
ath_hal_intrset(ah, sc->sc_imask);
} else {
ath_hal_intrset(ah, 0);
@@ -152,7 +152,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
intval |= HAL_BEACON_RESET_TSF;
if (ic->ic_opmode == IEEE80211_M_IBSS) {
/*
-@@ -4533,8 +4589,40 @@
+@@ -4547,8 +4603,40 @@
if (ic->ic_opmode == IEEE80211_M_IBSS && sc->sc_hasveol)
ath_beacon_start_adhoc(sc, vap);
}