summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/310-noise_get.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-01 03:01:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-01 03:01:58 +0000
commita91f7dcfd824d920378d2034f97cb2e06274226d (patch)
tree142c36f37e0f42439a540dcf785bc72e05d31165 /package/madwifi/patches/310-noise_get.patch
parentc05f60e0d0c4f57b99e21982f4bff5d385d073d0 (diff)
downloadmtk-20170518-a91f7dcfd824d920378d2034f97cb2e06274226d.zip
mtk-20170518-a91f7dcfd824d920378d2034f97cb2e06274226d.tar.gz
mtk-20170518-a91f7dcfd824d920378d2034f97cb2e06274226d.tar.bz2
madwifi: refresh patches
SVN-Revision: 11316
Diffstat (limited to 'package/madwifi/patches/310-noise_get.patch')
-rw-r--r--package/madwifi/patches/310-noise_get.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/madwifi/patches/310-noise_get.patch b/package/madwifi/patches/310-noise_get.patch
index 512b959..841305e 100644
--- a/package/madwifi/patches/310-noise_get.patch
+++ b/package/madwifi/patches/310-noise_get.patch
@@ -1,7 +1,7 @@
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
---- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-03-07 01:53:50.021034889 +0100
-+++ madwifi-trunk-r3314/ath/if_ath.c 2008-03-07 01:54:31.203381737 +0100
+--- madwifi-trunk-r3314.orig/ath/if_ath.c
++++ madwifi-trunk-r3314/ath/if_ath.c
@@ -1695,8 +1695,6 @@
* get to reality. This value is used in monitor mode and by tools like
* Wireshark and Kismet.
@@ -11,7 +11,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
ATH_RXBUF_LOCK_IRQ(sc);
if (sc->sc_rxbufcur == NULL)
sc->sc_rxbufcur = STAILQ_FIRST(&sc->sc_rxbuf);
-@@ -8967,6 +8965,7 @@
+@@ -8966,6 +8964,7 @@
sc->sc_curchan.channel);
sc->sc_stats.ast_per_calfail++;
}
@@ -19,7 +19,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
ath_hal_process_noisefloor(ah);
if (isIQdone == AH_TRUE) {
-@@ -9035,6 +9034,7 @@
+@@ -9034,6 +9033,7 @@
struct ath_softc *sc = dev->priv;
(void) ath_chan_set(sc, ic->ic_curchan);
@@ -27,7 +27,7 @@ Index: madwifi-trunk-r3314/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
-@@ -9303,6 +9303,7 @@
+@@ -9302,6 +9302,7 @@
}
ath_hal_process_noisefloor(ah);
@@ -37,8 +37,8 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
*/
Index: madwifi-trunk-r3314/net80211/ieee80211_wireless.c
===================================================================
---- madwifi-trunk-r3314.orig/net80211/ieee80211_wireless.c 2008-03-07 01:53:48.708960118 +0100
-+++ madwifi-trunk-r3314/net80211/ieee80211_wireless.c 2008-03-07 01:54:31.211382196 +0100
+--- madwifi-trunk-r3314.orig/net80211/ieee80211_wireless.c
++++ madwifi-trunk-r3314/net80211/ieee80211_wireless.c
@@ -4358,6 +4358,7 @@
si->isi_state = ni->ni_flags;
si->isi_authmode = ni->ni_authmode;
@@ -49,8 +49,8 @@ Index: madwifi-trunk-r3314/net80211/ieee80211_wireless.c
si->isi_erp = ni->ni_erp;
Index: madwifi-trunk-r3314/net80211/ieee80211_ioctl.h
===================================================================
---- madwifi-trunk-r3314.orig/net80211/ieee80211_ioctl.h 2008-03-07 01:53:48.440944845 +0100
-+++ madwifi-trunk-r3314/net80211/ieee80211_ioctl.h 2008-03-07 01:54:31.211382196 +0100
+--- madwifi-trunk-r3314.orig/net80211/ieee80211_ioctl.h
++++ madwifi-trunk-r3314/net80211/ieee80211_ioctl.h
@@ -311,6 +311,7 @@
u_int16_t isi_state; /* state flags */
u_int8_t isi_authmode; /* authentication algorithm */