Hi finger.
Here is the dmesg stuff.
Here is the dialogue for the whole ath start-up. It looks like ath gets there first. Does the 30 mean 0x30 regdom for ETSI? Don’t know where it gets the country from AM is Armenia. It might be in the same timezone as EET. Then comes my module option for cfg80211 quickly overidden by something else. I assume it’s ath but it already seemed to do that.
The frequencies shown by the first set of cfg802 messages is similar but not the same as the FI settings and then the AM settings are different from the first lot.
22.502730] ath: EEPROM indicates we should expect a direct regpair map
22.502735] ath: Country alpha2 being used: AM
22.502737] ath: Regpair used: 0x30
23.124978] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
23.125489] ath5k phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
23.176195] firewire_ohci 0000:02:0b.2: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x2
23.677243] firewire_core 0000:02:0b.2: created device fw0: GUID 0000000000000000, S400
23.987090] cfg80211: World regulatory domain updated:
23.987172] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
23.987256] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
23.987337] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
23.987420] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
23.987501] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
23.987581] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
23.987680] cfg80211: Calling CRDA for country: FI
23.993338] cfg80211: Regulatory domain changed to country: FI
23.993426] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
23.993510] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
23.993587] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
23.993667] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
23.993745] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
23.993848] cfg80211: Calling CRDA for country: AM
23.999248] cfg80211: Current regulatory domain intersected:
23.999333] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
23.999416] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
23.999495] cfg80211: (5170000 KHz - 5250000 KHz @ 20000 KHz), (N/A, 1800 mBm)
23.999572] cfg80211: (5250000 KHz - 5330000 KHz @ 20000 KHz), (N/A, 1800 mBm)
Later on in dmesg I see:
53.503709] wlan0: authenticate with cc:5d:4e:29:d9:44
53.515164] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 1/3)
53.716067] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 2/3)
53.917091] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 3/3)
54.118090] wlan0: authentication with cc:5d:4e:29:d9:44 timed out
55.067627] wlan0: authenticate with cc:5d:4e:29:d9:44
55.086743] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 1/3)
55.287058] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 2/3)
55.488070] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 3/3)
Here’s what happens when I use iw from the CLI:
AKUPAKKU:/home/aku # iw reg get
country 98:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 20), (N/A, 18)
(5250 - 5330 @ 20), (N/A, 18), DFS
This matches the final cfg802 messages. Does the "intersected" message mean that these are common values?
AKUPAKKU:/home/aku # iw reg set FI
AKUPAKKU:/home/aku # iw reg get
country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
These are somewhat different again. Country shown as zero (ISO 3166, Finland = 246) but could it be a regdom of 0x00 which is wildcard?
The values do correspond to the values I get from the box that is working fine.
There follows a section of the log after I’ve done the cli stuff. I noted that if I do not do any CLI stuff, I do not see all the calls to CRDA/cfg80211 so doing iw reg set FI has put some cats among those pigeons. Also, I see it is setting country = 97 when my original iw reg get showed 98. This sequence of messages is repeated continuosly.
Feb 18 16:22:54 AKUPAKKU kernel: 928.616075] cfg80211: Calling CRDA to update world regulatory domain
Feb 18 16:22:54 AKUPAKKU kernel: 928.621248] cfg80211: World regulatory domain updated:
Feb 18 16:22:54 AKUPAKKU kernel: 928.621256] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621260] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621265] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621269] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621273] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621277] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621419] cfg80211: Calling CRDA for country: 97
Feb 18 16:22:54 AKUPAKKU kernel: 928.624069] wlan0: authentication with cc:5d:4e:29:d9:44 timed out
Feb 18 16:22:54 AKUPAKKU kernel: 929.562640] wlan0: authenticate with cc:5d:4e:29:d9:44
Feb 18 16:22:54 AKUPAKKU kernel: 929.567608] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 1/3)
Feb 18 16:22:55 AKUPAKKU kernel: 929.768023] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 2/3)
Feb 18 16:22:55 AKUPAKKU kernel: 929.969028] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 3/3)
Feb 18 16:22:52 AKUPAKKU kernel: 927.078029] wlan0: authentication with cc:5d:4e:29:d9:44 timed out
Feb 18 16:22:53 AKUPAKKU dhcpcd[2160]: wlan0: timed out
Feb 18 16:22:53 AKUPAKKU kernel: 928.016693] wlan0: authenticate with cc:5d:4e:29:d9:44
Feb 18 16:22:53 AKUPAKKU kernel: 928.021585] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 1/3)
Feb 18 16:22:53 AKUPAKKU dhcpcd[2160]: wlan0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-wlan0.info'
Feb 18 16:22:53 AKUPAKKU dhcpcd[2160]: wlan0: lease expired 207043 seconds ago
Feb 18 16:22:53 AKUPAKKU dhcpcd[2160]: wlan0: broadcasting for a lease
Feb 18 16:22:53 AKUPAKKU kernel: 928.222027] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 2/3)
Feb 18 16:22:53 AKUPAKKU kernel: 928.423024] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 3/3)
Feb 18 16:22:54 AKUPAKKU kernel: 928.616075] cfg80211: Calling CRDA to update world regulatory domain
Feb 18 16:22:54 AKUPAKKU kernel: 928.621248] cfg80211: World regulatory domain updated:
Feb 18 16:22:54 AKUPAKKU kernel: 928.621256] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621260] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621265] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621269] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Feb 18 16:22:54 AKUPAKKU kernel: 928.621419] cfg80211: Calling CRDA for country: 97
Feb 18 16:22:54 AKUPAKKU kernel: 928.624069] wlan0: authentication with cc:5d:4e:29:d9:44 timed out
Feb 18 16:22:54 AKUPAKKU kernel: 929.562640] wlan0: authenticate with cc:5d:4e:29:d9:44
Feb 18 16:22:54 AKUPAKKU kernel: 929.567608] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 1/3)
Feb 18 16:22:55 AKUPAKKU kernel: 929.768023] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 2/3)
Feb 18 16:22:55 AKUPAKKU kernel: 929.969028] wlan0: direct probe to cc:5d:4e:29:d9:44 (try 3/3)
Feb 18 16:22:55 AKUPAKKU kernel: 930.170168] wlan0: authentication with cc:5d:4e:29:d9:44 timed out
Cheers - AK.