On Wed, Aug 24, 2011 at 1:35 AM, Alex S. <al_91...@hotmail.com> wrote:
>
> Hi,
>
> I am working on an amateur radio project, so I'd like to get access to the
> 2.4GHz channels below 2412. I'm using OpenWRT and have modified my CRDA
> regulatory.bin file to allow those frequencies, but I still only have access
> to channels 1-11. Poking around in the source for ath9k, I see
> ath9k_2ghz_chantable in init.c. Will adding values here open up extra
> channels? If so, what exactly is the format of "CHAN2G(2467, 11)"? The 2467
> is obviously the frequency but what is the significance of the second
> number? I added the channels from 2312-2407 and after recompiling it doesn't
> seem to have changed anything.

* changing regulatory not advisable
*second number is hw specific value for the channel, we use this index
to do some HAL configuration like ANI, calibration or any other
operation in the driver code using this index for
struct ath9k_channel
*you should have hit
BUILD_BUG_ON(ARRAY_SIZE(ath9k_2ghz_chantable) +
                     ARRAY_SIZE(ath9k_5ghz_chantable) !=
                     ATH9K_NUM_CHANNELS);



>
> Thanks for any help,
> Alex
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to