svn commit: r185482 - head/sys/dev/ath/ath_rate/sample

Sam Leffler sam at freebsd.org
Mon Dec 8 23:14:31 UTC 2008


Vladimir Grebenschikov wrote:
>       * On Sun, 2008-11-30 at 19:06 +0000, Sam Leffler wrote:
>   
>> Author: sam
>> Date: Sun Nov 30 19:06:35 2008
>> New Revision: 185482
>> URL: http://svn.freebsd.org/changeset/base/185482
>>
>> Log:
>>   Major overhaul:
>>   o eliminate private state indexed by 802.11 rate codes; use the hal's
>>     rate tables directly to get the same info
>>   o calculate a mask of operational rates to optimize lookups and checks
>>     (instead of using for loops and similar)
>>   o optimize size bin operations
>>   o ignore rates marked as "do not use" in the hal phy tables
>>   o fix bug that caused upshifting to break in 11g once the rate dropped
>>     below 11Mb/s
>>   o add more intelligent multi-rate tx schedules
>>   o add support for 1/2 and 1/4 width channels
>>   o add dev.ath.X.sample_stats sysctl to dump runtime statistics to the console
>>     (needs to go up to a user app)
>>   o export more tuning knobs via sysctls (still a couple of magic constants)
>>     
>
> Looks like, after that commit, I can't use if_ath loaded as module any
> more:
>
> # kldload /boot/kernel/ath_rate.ko
> kldload: can't load /boot/kernel/ath_rate.ko: No such file or directory
> # dmesg | tail -n1 
> link_elf: symbol ath_hal_computetxtime undefined
> #
>
> Yes, I've read UPDATING entry 20081130.
> But I have no ath_hal entry in my kernel config, 
> I've loaded ath as KLDs.
>
> How to fix that problem ?
>
>
>   
Try the attached change.

    Sam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.diff
Type: text/x-patch
Size: 351 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081208/1aa62b14/sample-0001.bin


More information about the freebsd-current mailing list