projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ubus - the new openwrt message bus / rpc daemon
[openwrt.git]
/
package
/
madwifi
/
patches
/
345-minstrel_sampling.patch
diff --git
a/package/madwifi/patches/345-minstrel_sampling.patch
b/package/madwifi/patches/345-minstrel_sampling.patch
index
51416e5
..
63fcb8a
100644
(file)
--- a/
package/madwifi/patches/345-minstrel_sampling.patch
+++ b/
package/madwifi/patches/345-minstrel_sampling.patch
@@
-1,6
+1,6
@@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -8
094,6 +8094,7 @@
+@@ -8
103,6 +8103,7 @@ ath_tx_start(struct net_device *dev, str
ath_hal_setupxtxdesc(sc->sc_ah, ds, mrr.rate1, mrr.retries1,
mrr.rate2, mrr.retries2,
mrr.rate3, mrr.retries3);
ath_hal_setupxtxdesc(sc->sc_ah, ds, mrr.rate1, mrr.retries1,
mrr.rate2, mrr.retries2,
mrr.rate3, mrr.retries3);
@@
-10,7
+10,7
@@
#ifndef ATH_SUPERG_FF
--- a/ath/if_athvar.h
+++ b/ath/if_athvar.h
#ifndef ATH_SUPERG_FF
--- a/ath/if_athvar.h
+++ b/ath/if_athvar.h
-@@ -446,6 +446,7 @@
+@@ -446,6 +446,7 @@
struct ath_buf {
u_int16_t bf_flags; /* tx descriptor flags */
u_int64_t bf_tsf;
int16_t bf_channoise;
u_int16_t bf_flags; /* tx descriptor flags */
u_int64_t bf_tsf;
int16_t bf_channoise;
@@
-20,7
+20,7
@@
* multiple segments.
--- a/ath_rate/minstrel/minstrel.c
+++ b/ath_rate/minstrel/minstrel.c
* multiple segments.
--- a/ath_rate/minstrel/minstrel.c
+++ b/ath_rate/minstrel/minstrel.c
-@@ -333,15 +333,19 @@
+@@ -333,15 +333,19 @@
ath_rate_findrate(struct ath_softc *sc,
if (sn->static_rate_ndx >= 0) {
ndx = sn->static_rate_ndx;
} else {
if (sn->static_rate_ndx >= 0) {
ndx = sn->static_rate_ndx;
} else {
@@
-41,7
+41,7
@@
}
/* Don't look for slowest rate (i.e. slowest
}
/* Don't look for slowest rate (i.e. slowest
-@@ -398,11 +402,14 @@
+@@ -398,11 +402,14 @@
ath_rate_get_mrr(struct ath_softc *sc, s
if (sn->num_rates <= 0)
return;
if (sn->num_rates <= 0)
return;
@@
-58,7
+58,7
@@
rc1 = sn->max_tp_rate;
} else {
rc1 = sn->max_tp_rate2;
rc1 = sn->max_tp_rate;
} else {
rc1 = sn->max_tp_rate2;
-@@ -525,6 +532,9 @@
+@@ -525,6 +532,9 @@
ath_rate_tx_complete(struct ath_softc *s
if (tries <= tries1)
return;
if (tries <= tries1)
return;
@@
-70,7
+70,7
@@
tries = tries - tries1;
--- a/net80211/ieee80211_rate.h
+++ b/net80211/ieee80211_rate.h
tries = tries - tries1;
--- a/net80211/ieee80211_rate.h
+++ b/net80211/ieee80211_rate.h
-@@ -87,6 +87,7 @@
+@@ -87,6 +87,7 @@
struct ieee80211_mrr {
int retries2;
int rate3;
int retries3;
int retries2;
int rate3;
int retries3;
This page took
0.023591 seconds
and
4
git commands to generate.