Re: [PATCH 4/4] ath5k: Implement mac80211 callback set_coverage

Lukáš Turek
2009-12-06T19:00:21Z

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On 6.12.2009 19:34 Felix Fietkau wrote:
> This part is wrong. The slot time can be either short or long, based on
> configuration and PHY type.
I did some test, and the value returned by ath5k_hw_get_slot_time was always
9, even when connected to 802.11b-only AP. I didn't try the turbo mode,
though. Unfortunately I don't know how to calculate ACK timeouts for
a different slot time - the formula I used is the only one in both Madwifi's
and FreeBSD's athctrl.

Also the calculation of initial slot time is not expained anywhere, there are
only some magic values in initvals.c.

Lukas Turek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]