X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d5f3c621079f0cb13ff469e1a963e06c4907d4a1..5f125e79f4b12ae3b848c6ce895777e3a7423e42:/package/madwifi/patches/425-rc_rexmit.patch diff --git a/package/madwifi/patches/425-rc_rexmit.patch b/package/madwifi/patches/425-rc_rexmit.patch index 6b06a8502..252767a8c 100644 --- a/package/madwifi/patches/425-rc_rexmit.patch +++ b/package/madwifi/patches/425-rc_rexmit.patch @@ -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 +@@ -8638,6 +8638,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 +@@ -8690,15 +8692,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; @@ -241,7 +241,7 @@ static void --- a/ath_rate/minstrel/minstrel.h +++ b/ath_rate/minstrel/minstrel.h -@@ -171,36 +171,6 @@ struct minstrel_node { +@@ -172,36 +172,6 @@ struct minstrel_node { #define ATH_NODE_MINSTREL(an) ((struct minstrel_node *)&an[1]) @@ -303,7 +303,7 @@ /* don't use a bit-rate that has been failing */ if (sn->stats[size_bin][x].successive_failures > 3) continue; -@@ -234,10 +230,6 @@ pick_sample_ndx(struct sample_node *sn, +@@ -234,10 +230,6 @@ pick_sample_ndx(struct sample_node *sn, if (sn->rates[ndx].rate > 22 && ndx > current_ndx + 2) continue; @@ -468,11 +468,10 @@ 0, 0, --- a/ath_rate/sample/sample.h +++ b/ath_rate/sample/sample.h -@@ -98,36 +98,4 @@ struct sample_node { +@@ -98,35 +98,4 @@ struct sample_node { }; #define ATH_NODE_SAMPLE(an) ((struct sample_node *)&an[1]) -- -/* - * Definitions for pulling the rate and trie counts from - * a 5212 h/w descriptor. These Don't belong here; the