projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/madwifi: apply AR71XX PCI workaround on ATH79 as well
[openwrt.git]
/
package
/
madwifi
/
patches
/
348-ackcts.patch
diff --git
a/package/madwifi/patches/348-ackcts.patch
b/package/madwifi/patches/348-ackcts.patch
index 65db2a058b6ea104e239fbc2593a575bca953672..42b6fe2613febe7039ef61a56d44443ce6549570 100644
(file)
--- a/
package/madwifi/patches/348-ackcts.patch
+++ b/
package/madwifi/patches/348-ackcts.patch
@@
-1,8
+1,6
@@
-Index: madwifi-trunk-r3314/ath/if_ath.c
-===================================================================
---- madwifi-trunk-r3314.orig/ath/if_ath.c
-+++ madwifi-trunk-r3314/ath/if_ath.c
-@@ -2721,6 +2721,9 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -2723,6 +2723,9 @@ ar_device(int devid)
static int
ath_set_ack_bitrate(struct ath_softc *sc, int high)
{
static int
ath_set_ack_bitrate(struct ath_softc *sc, int high)
{
@@
-12,7
+10,7
@@
Index: madwifi-trunk-r3314/ath/if_ath.c
if (ar_device(sc->devid) == 5212 || ar_device(sc->devid) == 5213) {
/* set ack to be sent at low bit-rate */
/* registers taken from the OpenBSD 5212 HAL */
if (ar_device(sc->devid) == 5212 || ar_device(sc->devid) == 5213) {
/* set ack to be sent at low bit-rate */
/* registers taken from the OpenBSD 5212 HAL */
-@@ -107
80,8 +10783,13 @@
+@@ -107
91,8 +10794,13 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl
break;
#endif
case ATH_ACKRATE:
break;
#endif
case ATH_ACKRATE:
@@
-28,11
+26,9
@@
Index: madwifi-trunk-r3314/ath/if_ath.c
break;
case ATH_RP:
ath_rp_record(sc,
break;
case ATH_RP:
ath_rp_record(sc,
-Index: madwifi-trunk-r3314/ath/if_athvar.h
-===================================================================
---- madwifi-trunk-r3314.orig/ath/if_athvar.h
-+++ madwifi-trunk-r3314/ath/if_athvar.h
-@@ -681,6 +681,7 @@
+--- a/ath/if_athvar.h
++++ b/ath/if_athvar.h
+@@ -681,6 +681,7 @@ struct ath_softc {
unsigned int sc_devstopped:1; /* stopped due to of no tx bufs */
unsigned int sc_stagbeacons:1; /* use staggered beacons */
unsigned int sc_dfswait:1; /* waiting on channel for radar detect */
unsigned int sc_devstopped:1; /* stopped due to of no tx bufs */
unsigned int sc_stagbeacons:1; /* use staggered beacons */
unsigned int sc_dfswait:1; /* waiting on channel for radar detect */