cvs commit: src/sys/netproto/802_11 ieee80211_ratectl.h src/sys/netproto/802_11/wlan_ratectl/amrr ieee80211_ratectl_amrr.c ieee80211_ratectl_amrr.h src/sys/dev/netif/acx acx111.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Oct 21 01:41:16 PDT 2006
sephe 2006/10/21 01:37:04 PDT
DragonFly src repository
Modified files:
sys/netproto/802_11 ieee80211_ratectl.h
sys/netproto/802_11/wlan_ratectl/amrr ieee80211_ratectl_amrr.c
ieee80211_ratectl_amrr.h
sys/dev/netif/acx acx111.c
Log:
Change the AMRR TX rate control algorithm:
- Bookkeeping number of TX (counter1), and number of "fail to TX at
desired rate" (counter2), instead of bookkeeping number of TX at
each rate (old_counter[1-4]).
- Calculate "failure" and "success" conditions using 'counter1' and
'counter2', instead of only using 'old_counter1' and 'old_counter2'.
The mistake of the old way is that 'old_counter3' and 'old_counter4'
should also be taken as "fail to TX at desired rate".
- Nuke no longer needed macro after above changes.
This change is tested with acx(4). The testing result shows much
better TX performance under bad enviroment (e.g. lots of concrete
obstacles between STA and AP, long distance etc.).
Revision Changes Path
1.2 +0 -1 src/sys/netproto/802_11/ieee80211_ratectl.h
1.4 +22 -28 src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.c
1.2 +2 -2 src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.h
1.5 +2 -2 src/sys/dev/netif/acx/acx111.c
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211_ratectl.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/acx/acx111.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list