diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-10-23 01:07:55 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-10-23 01:07:55 +0000 |
commit | 08721c0e6a7d81eff029b2ea8250f03a68d6178b (patch) | |
tree | d12577b7a8566dacd16276f90751a3cb93600fff /package/madwifi/patches | |
parent | 855a24be339f27e9ab0ccaf4619be1a1d2330a50 (diff) |
madwifi: improve reliability of the antenna diversity setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13029 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r-- | package/madwifi/patches/385-antenna_fix.patch | 10 | ||||
-rw-r--r-- | package/madwifi/patches/450-new_hal.patch | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/package/madwifi/patches/385-antenna_fix.patch b/package/madwifi/patches/385-antenna_fix.patch new file mode 100644 index 000000000..3205502fc --- /dev/null +++ b/package/madwifi/patches/385-antenna_fix.patch @@ -0,0 +1,10 @@ +--- a/ath/if_ath.c ++++ b/ath/if_ath.c +@@ -6666,6 +6666,7 @@ ath_setdefantenna(struct ath_softc *sc, + struct ath_hal *ah = sc->sc_ah; + + /* XXX block beacon interrupts */ ++ ath_hal_setdiversity(ah, (sc->sc_diversity != 0)); + ath_hal_setdefantenna(ah, antenna); + if (sc->sc_defant != antenna) + sc->sc_stats.ast_ant_defswitch++; diff --git a/package/madwifi/patches/450-new_hal.patch b/package/madwifi/patches/450-new_hal.patch index 778f6da25..8b6094e45 100644 --- a/package/madwifi/patches/450-new_hal.patch +++ b/package/madwifi/patches/450-new_hal.patch @@ -108,7 +108,7 @@ /* * Check if the MAC has multi-rate retry support. * We do this by trying to setup a fake extended -@@ -7487,7 +7495,7 @@ ath_txq_setup(struct ath_softc *sc, int +@@ -7488,7 +7496,7 @@ ath_txq_setup(struct ath_softc *sc, int if (qtype == HAL_TX_QUEUE_UAPSD) qi.tqi_qflags = HAL_TXQ_TXDESCINT_ENABLE; else |