1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16224 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-05-31 02:25:32 +00:00
parent 79a885602f
commit fa902124b5
28 changed files with 406 additions and 283 deletions

View File

@@ -20,7 +20,7 @@
struct ath_ratectrl {
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -8634,6 +8634,8 @@ ath_tx_processq(struct ath_softc *sc, st
@@ -8635,6 +8635,8 @@ ath_tx_processq(struct ath_softc *sc, st
ni = bf->bf_node;
if (ni != NULL) {
@@ -29,7 +29,7 @@
an = ATH_NODE(ni);
if (ts->ts_status == 0) {
u_int8_t txant = ts->ts_antenna;
@@ -8686,15 +8688,43 @@ ath_tx_processq(struct ath_softc *sc, st
@@ -8687,15 +8689,43 @@ ath_tx_processq(struct ath_softc *sc, st
lr = ts->ts_longretry;
sc->sc_stats.ast_tx_shortretry += sr;
sc->sc_stats.ast_tx_longretry += lr;