1 Index: madwifi-trunk-r3280/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3280.orig/ath/if_ath.c 2008-01-28 17:30:33.325904012 +0100
4 +++ madwifi-trunk-r3280/ath/if_ath.c 2008-01-28 17:31:21.850243393 +0100
6 * get to reality. This value is used in monitor mode and by tools like
7 * Wireshark and Kismet.
9 - ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan));
11 ATH_RXBUF_LOCK_IRQ(sc);
12 if (sc->sc_rxbufcur == NULL)
13 sc->sc_rxbufcur = STAILQ_FIRST(&sc->sc_rxbuf);
15 sc->sc_curchan.channel);
16 sc->sc_stats.ast_per_calfail++;
18 + ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan));
20 ath_hal_process_noisefloor(ah);
21 if (isIQdone == AH_TRUE) {
23 struct ath_softc *sc = dev->priv;
25 (void) ath_chan_set(sc, ic->ic_curchan);
26 + ic->ic_channoise = ath_hal_get_channel_noise(sc->sc_ah, &(sc->sc_curchan));
28 * If we are returning to our bss channel then mark state
29 * so the next recv'd beacon's TSF will be used to sync the
33 ath_hal_process_noisefloor(ah);
34 + ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan));
36 * Reset rssi stats; maybe not the best place...