cvs commit: src/sys/dev/ath if_ath.c if_athrate.h if_athvar.h
src/sys/dev/ath/ath_rate/amrr amrr.c src/sys/dev/ath/ath_rate/onoe
onoe.c src/sys/dev/ath/ath_rate/sample sample.c sample.h
Sam Leffler
sam at FreeBSD.org
Wed Dec 13 11:34:45 PST 2006
sam 2006-12-13 19:34:35 UTC
FreeBSD src repository
Modified files:
sys/dev/ath if_ath.c if_athrate.h if_athvar.h
sys/dev/ath/ath_rate/amrr amrr.c
sys/dev/ath/ath_rate/onoe onoe.c
sys/dev/ath/ath_rate/sample sample.c sample.h
Log:
Track v0.9.20.3 hal:
o no more ds_vdata in tx/rx descriptors
o split h/w tx/rx descriptor from s/w status
o as part of the descriptor split change the rate control module api
so the ath_buf is passed in to the module so it can fetch both
descriptor and status information as needed
o add some const poisoning
Also for sample rate control algorithm:
o split debug msgs (node, rate, any)
o uniformly bounds check rate indices (and in some cases correct checks)
o move array index ops to after bounds checking
o use final tsi from the status block instead of the h/w descriptor
o replace h/w descriptor struct's with proper mask+shift defs (this
doesn't belong here; everything is known by the driver and should
just be sent down so there's no h/w-specific knowledge)
MFC after: 1 month
Revision Changes Path
1.12 +4 -3 src/sys/dev/ath/ath_rate/amrr/amrr.c
1.12 +5 -4 src/sys/dev/ath/ath_rate/onoe/onoe.c
1.15 +163 -125 src/sys/dev/ath/ath_rate/sample/sample.c
1.6 +39 -85 src/sys/dev/ath/ath_rate/sample/sample.h
1.157 +71 -68 src/sys/dev/ath/if_ath.c
1.5 +2 -1 src/sys/dev/ath/if_athrate.h
1.55 +6 -4 src/sys/dev/ath/if_athvar.h
More information about the cvs-src
mailing list