diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-21 06:25:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-21 06:25:34 +0000 |
commit | d169d2d02af5bafaf176a614beee0ee3f73474e9 (patch) | |
tree | e94729b3478c188b6dd9851af04a50b04abc8ef1 /package/madwifi/patches/116-adhoc_beacon_PR_1033.patch | |
parent | 10b572b451aee76a3ba15dfad0342a7080c47fb2 (diff) | |
download | upstream-d169d2d02af5bafaf176a614beee0ee3f73474e9.tar.gz upstream-d169d2d02af5bafaf176a614beee0ee3f73474e9.tar.bz2 upstream-d169d2d02af5bafaf176a614beee0ee3f73474e9.zip |
madwifi: switch to latest madwifi-hal-0.9.30.13 snapshot as reference merge in refcount branch as well and clean up openwrt patches (a few fixes got merged upstream)
SVN-Revision: 7300
Diffstat (limited to 'package/madwifi/patches/116-adhoc_beacon_PR_1033.patch')
-rw-r--r-- | package/madwifi/patches/116-adhoc_beacon_PR_1033.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch b/package/madwifi/patches/116-adhoc_beacon_PR_1033.patch index 92a147c1b3..76bd8de54a 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 -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcount-r2313-20070505.dev/ath/if_ath.c ---- madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c 2007-05-13 18:17:55.862076712 +0200 -+++ madwifi-ng-refcount-r2313-20070505.dev/ath/if_ath.c 2007-05-13 18:17:56.119037648 +0200 -@@ -4411,16 +4411,31 @@ +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 @@ struct ieee80211com *ic = &sc->sc_ic; struct ath_hal *ah = sc->sc_ah; struct ieee80211_node *ni; @@ -37,7 +37,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun /* XXX conditionalize multi-bss support? */ if (ic->ic_opmode == IEEE80211_M_HOSTAP) { /* -@@ -4434,20 +4449,61 @@ +@@ -4382,20 +4397,61 @@ if (sc->sc_stagbeacons) intval /= ATH_BCBUF; /* for staggered beacons */ if ((sc->sc_nostabeacons) && @@ -108,7 +108,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun int dtimperiod, dtimcount; int cfpperiod, cfpcount; -@@ -4463,13 +4519,13 @@ +@@ -4411,13 +4467,13 @@ dtimcount = 0; /* XXX? */ cfpperiod = 1; /* NB: no PCF support yet */ cfpcount = 0; @@ -125,7 +125,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun do { nexttbtt += intval; if (--dtimcount < 0) { -@@ -4477,7 +4533,7 @@ +@@ -4425,7 +4481,7 @@ if (--cfpcount < 0) cfpcount = cfpperiod - 1; } @@ -134,16 +134,16 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun #undef FUDGE memset(&bs, 0, sizeof(bs)); bs.bs_intval = intval; -@@ -4529,7 +4585,7 @@ +@@ -4477,7 +4533,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__, -- (long long) tsf, tsftu, -+ (long long) hw_tsf, hw_tsftu, +- (unsigned long long) tsf, tsftu, ++ (unsigned long long) hw_tsf, hw_tsftu, bs.bs_intval, bs.bs_nexttbtt, bs.bs_dtimperiod, -@@ -4548,7 +4604,7 @@ +@@ -4496,7 +4552,7 @@ ath_hal_intrset(ah, sc->sc_imask); } else { ath_hal_intrset(ah, 0); @@ -152,7 +152,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun intval |= HAL_BEACON_RESET_TSF; if (ic->ic_opmode == IEEE80211_M_IBSS) { /* -@@ -4585,8 +4641,40 @@ +@@ -4533,8 +4589,40 @@ if (ic->ic_opmode == IEEE80211_M_IBSS && sc->sc_hasveol) ath_beacon_start_adhoc(sc, vap); } |