You are not logged in.

#1 2016-02-23 22:11:17

rorique
Member
Registered: 2015-03-22
Posts: 16

ath9k: cannot see networks, probably regulatory domain related

I need to use a network on band 12 or 13. I can see other networks, some with weird names like "x00/x00". Connecting to some networks is possible without any problems. I read the wiki and tried what was recommended in this forum, without any success and don't know what to do now. I would appreciate any help and ideas for this problem.

iw list | grep -A 15 Frequencies:
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (disabled)
dmesg | grep ath:
[    9.329878] ath: phy0: Disable PLL PowerSave
[    9.336029] ath: phy0: Enable LNA combining
[    9.337144] ath: phy0: ASPM enabled: 0x42
[    9.337146] ath: EEPROM regdomain: 0x6a
[    9.337147] ath: EEPROM indicates we should expect a direct regpair map
[    9.337149] ath: Country alpha2 being used: 00
[    9.337150] ath: Regpair used: 0x6a
[   41.375159] ath: EEPROM regdomain: 0x833a
[   41.375162] ath: EEPROM indicates we should expect a country code
[   41.375163] ath: doing EEPROM country->regdmn map search
[   41.375165] ath: country maps to regdmn code: 0x37
[   41.375166] ath: Country alpha2 being used: GB
[   41.375167] ath: Regpair used: 0x37
[   41.375169] ath: regdomain 0x833a dynamically updated by country IE
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
	Subsystem: AzureWave Device 1186
	Kernel driver in use: ath9k
	Kernel modules: ath9k

Offline

#2 2016-02-24 11:09:36

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: ath9k: cannot see networks, probably regulatory domain related

If you type

iw help

you see that

iw list

simply lists wireless devices, not networks.
Since a kernel driver for your atheros is in use, I assume your network interface is also available. Check it by typing

ip link

If you see something like "wlan0" or "wifi0", this is it. Switch to root and set the interface up:

ip link set <interface name> up

Now the scan works as follows:

iw dev <interface name> scan

This should list every network your wireless device can see.


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#3 2016-02-24 14:01:29

rorique
Member
Registered: 2015-03-22
Posts: 16

Re: ath9k: cannot see networks, probably regulatory domain related

I can see the same networks this way as I was before using wifi-menu. The ones, that I would like to use but cannot, look like this:

TSF: 709435597500 usec (8d, 05:03:55)
	freq: 2437
	beacon interval: 100 TUs
	capability: ESS Privacy ShortPreamble SpectrumMgmt ShortSlotTime RadioMeasure (0x1531)
	signal: -58.00 dBm
	last seen: 203 ms ago
	Information elements from Probe Response frame:
	SSID: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
	Supported rates: 9.0 11.0* 12.0 18.0 24.0 36.0 48.0 54.0 
	DS Parameter set: channel 6
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
	Country: GB	Environment: Indoor/Outdoor
		Channels [1 - 13] @ 20 dBm
	Power constraint: 0 dB
	TPC report: TX power: 6 dBm
	ERP: <no flags>
	ERP D4.0: <no flags>
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP TKIP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
	Extended supported rates: 6.0 
	HT capabilities:
		Capabilities: 0x19ad
			RX LDPC
			HT20
			SM Power Save disabled
			RX HT20 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 1
		 * HT protection: no
		 * non-GF present: 1
		 * OBSS non-GF present: 0
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	Extended capabilities: Extended Channel Switching, 6
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP TKIP
		 * Authentication suites: PSK
	WMM: information: 01 80

Please notice the strange SSID.

Offline

#4 2016-02-24 15:20:56

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: ath9k: cannot see networks, probably regulatory domain related

You did not mention in your first post that you already used wifi-menu, otherwise I wouldn't have bother you with iw dev...
Your SSID is a sequence of null characters
https://en.wikipedia.org/wiki/Null_character
You said something about band 12 or 13, which I never heard before. I googled it and I assume you want to connect to LTE.
Have you asked someone else with a different network-card/driver to search for the same network? If he/she sees the same strange SSID, I would contact your provider/network-admin. Otherwise it's probably your card's/driver's fault and there is not much you can do about it...


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#5 2016-02-24 16:12:07

rorique
Member
Registered: 2015-03-22
Posts: 16

Re: ath9k: cannot see networks, probably regulatory domain related

The issue only exists on my machine. Other people don't see the null characters and can also connect to the network.
The thread at https://bbs.archlinux.org/viewtopic.php?id=194381 for example shows a similar problem. Specific to me is, that using crda does not help and as you can see in my first message, band 12 & 13 show "(no IR)" after me changing the regulatory domain to "GB".

Offline

Board footer

Powered by FluxBB