Skip to contentSkip to conversation

Magic numbers in pll-initialization in hw.c for AR9280 rev. 2.0

ath9k-devel Robert Budde 1 participant 1 message Sep 30, 2009

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I am trying to set up different bandwidths (5, 10, 20 MHz) on the AR9280 rev. 2.0 chipset.

In hw.c, ath9k_hw_init_pll seems to do all necessary adjustments to the pll. While for other chipsets the pll-variable is assembled bit by bit dependent on certain values there are only two hardcoded magic numbers for the AR9280 rev. 2.0 in 5 GHz mode.

Can somebody give me a hint how to set up 5 and 10 MHz bandwidth for this case?

There is also a lot of undocumented "magic" involved with other functions in hw.c and phy.c (e.g. ath9k_hw_9280_spur_mitigate, ath9k_hw_set_channel). How to decrypt these?

Thanks a lot!

Best regards,

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090930/a33ede7f/attachment.htm