diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-28 18:34:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-28 18:34:06 +0000 |
commit | d9ad14d717c122ed6f643e2445acdfeeb6a04e98 (patch) | |
tree | 5b27ea56f984ace688fc88b203418aebe4e9a695 /package/madwifi/patches/310-noise_get.patch | |
parent | 5f713d6adb6eea0707716abb51455489282150cf (diff) | |
download | upstream-d9ad14d717c122ed6f643e2445acdfeeb6a04e98.tar.gz upstream-d9ad14d717c122ed6f643e2445acdfeeb6a04e98.tar.bz2 upstream-d9ad14d717c122ed6f643e2445acdfeeb6a04e98.zip |
update madwifi to latest trunk, include a few more fixes/improvements
SVN-Revision: 10294
Diffstat (limited to 'package/madwifi/patches/310-noise_get.patch')
-rw-r--r-- | package/madwifi/patches/310-noise_get.patch | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/package/madwifi/patches/310-noise_get.patch b/package/madwifi/patches/310-noise_get.patch index dec7217210..bbfd82dbb6 100644 --- a/package/madwifi/patches/310-noise_get.patch +++ b/package/madwifi/patches/310-noise_get.patch @@ -1,24 +1,25 @@ -Index: madwifi-dfs-r3053/ath/if_ath.c +Index: madwifi-trunk-r3280/ath/if_ath.c =================================================================== ---- madwifi-dfs-r3053.orig/ath/if_ath.c 2007-12-13 05:25:14.210435274 +0100 -+++ madwifi-dfs-r3053/ath/if_ath.c 2007-12-13 05:25:14.558455106 +0100 -@@ -1648,7 +1648,6 @@ - /* XXXAPSD: build in check against max triggers we could see - * based on ic->ic_uapsdmaxtriggers. */ - hw_tsf = ath_hal_gettsf64(ah); +--- madwifi-trunk-r3280.orig/ath/if_ath.c 2008-01-28 17:30:33.325904012 +0100 ++++ madwifi-trunk-r3280/ath/if_ath.c 2008-01-28 17:31:21.850243393 +0100 +@@ -1674,8 +1674,6 @@ + * get to reality. This value is used in monitor mode and by tools like + * Wireshark and Kismet. + */ - ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan)); - +- ATH_RXBUF_LOCK_IRQ(sc); if (sc->sc_rxbufcur == NULL) -@@ -8815,6 +8814,7 @@ - if (ath_calinterval == ATH_LONG_CALINTERVAL) - ath_calinterval = ATH_SHORT_CALINTERVAL; + sc->sc_rxbufcur = STAILQ_FIRST(&sc->sc_rxbuf); +@@ -8868,6 +8866,7 @@ + sc->sc_curchan.channel); + sc->sc_stats.ast_per_calfail++; } + ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan)); - DPRINTF(sc, ATH_DEBUG_CALIBRATE, "%s: channel %u/%x -- IQ %s.\n", - __func__, sc->sc_curchan.channel, sc->sc_curchan.channelFlags, -@@ -8869,6 +8869,7 @@ + ath_hal_process_noisefloor(ah); + if (isIQdone == AH_TRUE) { +@@ -8936,6 +8935,7 @@ struct ath_softc *sc = dev->priv; (void) ath_chan_set(sc, ic->ic_curchan); @@ -26,7 +27,7 @@ Index: madwifi-dfs-r3053/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 -@@ -9095,6 +9096,7 @@ +@@ -9204,6 +9204,7 @@ } ath_hal_process_noisefloor(ah); |