Hi KP I have sucessfully compiled the atheros regdomain patch on kernel 3.10.55 corresponding to BuC 5.1.1, and also to 5.1.2
I am reluctant to use 5.1.2 as I had problems with the reboot command,
so I verified the patch by backporting to kernel version 3.10.55
Here are the results
SALT# modprobe ath5k
SALT# iwlist wlan0 channel
wlan0 24 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 149 : 5.745 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz
as you can see there are only channels 1-11 in the 2.4 GHz band
SALT# cat /etc/modprobe.conf
# Here will be placed module aliases and options, for ex.
#options nf_conntrack hashsize=262144
#options ath ctry_default=756
enabling the ctry_default parameter in ath leads to
SALT# rmmod ath5k
SALT# rmmod ath
SALT# modprobe ath5k
SALT# iwlist wlan0 channel
wlan0 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Here we have the channels 12 and 13 enabled in wlan0
The different initialization is reflected in the kernel messages
[ 74.732973] ath: EEPROM regdomain: 0x0
[ 74.733019] ath: EEPROM indicates default country code should be used
[ 74.733048] ath: doing EEPROM country->regdmn map search
[ 74.733093] ath: country maps to regdmn code: 0x3a
[ 74.733126] ath: Country alpha2 being used: US
[ 74.733155] ath: Regpair used: 0x3a
[ 69.094981] ath: EEPROM regdomain: 0x0
[ 69.095030] ath: EEPROM indicates default country code should be used
[ 69.095060] ath: doing EEPROM country->regdmn map search
[ 69.095104] ath: country maps to regdmn code: 0x37
[ 69.095139] ath: Country alpha2 being used: CH
[ 69.095169] ath: Regpair used: 0x37
For what it is worth, this only applies to atheros cards and it only
applies if the EEPROM uses regdomain 0x00 and the modprobe parameter is
set to a valid country code.
I have not ported this to maint, as I still have the reboot problem with
my WRAP on 3.10.57. I am pretty sure it is not related to this driver
patch, but I am a bit lost why the WRAP would not reboot.
cheers
Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho
_______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
