Felix Fietkau wrote: > Wouldn't it be better to do this for all AR93xx chipsets in > ar9003_hw_apply_minccapwr_thresh instead of initvals? > I'm pretty sure this patch will leave most other devices non-compliant.
The threshold values are adjusted for each chip and are not the same for all chips in the AR9003 family, so this is done in the initvals. ar9003_hw_apply_minccapwr_thresh() will be used only for chips which contain the new 'MinCCApwr' field in struct ar9300_BaseExtension_1. This is not present in almost all the AR9003-family chips. I believe it has been introduced in AR955x. Sujith _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel