Привет!
Собираю встраиваемое устройство, включил в конфиге ядра поддержку ath9k, wifi модуль подключаю по PCI-e. Девайс корректно определяется системой:
# lspci
01:00.0 Class 0280: Device 168c:0032 (rev 01)
Добавляется интерфейс wlan0 и он виден:
# iw wlan0 info
Interface wlan0
ifindex 8
wdev 0x1
addr 00:0e:8e:54:5e:4b
type managed
wiphy 0
txpower 15.00 dBm
При попытке сканировать - все ок, нужная сеть находится:
iw wlan0 scan | grep ASUS
SSID: ASUS_E8_2G
* Manufacturer: ASUSTeK Computer Inc.
* Device name: ASUS WPS Router
Но при попытке подключеня - почему-то выбрасывает, сеть открытая без пароля:
[ 2321.117451] wlan0: authenticate with 2c:4d:54:03:6e:e8
[ 2321.121497] wlan0: Allocated STA 2c:4d:54:03:6e:e8
[ 2321.136855] wlan0: Inserted STA 2c:4d:54:03:6e:e8
[ 2321.136869] wlan0: send auth to 2c:4d:54:03:6e:e8 (try 1/3)
[ 2322.089539] wlan0: send auth to 2c:4d:54:03:6e:e8 (try 2/3)
[ 2323.059536] wlan0: send auth to 2c:4d:54:03:6e:e8 (try 3/3)
[ 2323.137271] wlan0: authenticated
[ 2323.139270] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 2
[ 2323.139685] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 1
[ 2323.139704] wlan0: Removed STA 2c:4d:54:03:6e:e8
[ 2323.139920] wlan0: Destroyed STA 2c:4d:54:03:6e:e8
[ 2323.147607] wlan0: Allocated STA 2c:4d:54:03:6e:e8
[ 2323.162823] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 2
[ 2323.162935] wlan0: Inserted STA 2c:4d:54:03:6e:e8
[ 2323.169593] wlan0: associate with 2c:4d:54:03:6e:e8 (try 1/3)
[ 2324.059535] wlan0: associate with 2c:4d:54:03:6e:e8 (try 2/3)
[ 2325.059537] wlan0: associate with 2c:4d:54:03:6e:e8 (try 3/3)
[ 2325.167297] wlan0: RX AssocResp from 2c:4d:54:03:6e:e8 (capab=0x401 status=0 aid=2)
[ 2325.173953] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 3
[ 2325.173962] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 4
[ 2325.173982] wlan0: WMM AC=0 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0, downgraded=0
[ 2325.174005] wlan0: WMM AC=1 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=0, downgraded=0
[ 2325.174018] wlan0: WMM AC=2 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2325.174031] wlan0: WMM AC=3 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2325.174127] wlan0: associated
[ 2325.176078] cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
[ 2325.176088] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176097] cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
[ 2325.176104] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176110] cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
[ 2325.176117] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176123] cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
[ 2325.176129] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176135] cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
[ 2325.176141] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176147] cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
[ 2325.176154] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176160] cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
[ 2325.176166] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176172] cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
[ 2325.176178] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176184] cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
[ 2325.176190] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176196] cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
[ 2325.176202] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176208] cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
[ 2325.176215] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176222] cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
[ 2325.176228] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176234] cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
[ 2325.176241] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2325.176248] cfg80211: Disabling freq 2484 MHz
[ 2325.176286] ath: EEPROM regdomain: 0x833a
[ 2325.176291] ath: EEPROM indicates we should expect a country code
[ 2325.176298] ath: doing EEPROM country->regdmn map search
[ 2325.176305] ath: country maps to regdmn code: 0x37
[ 2325.176312] ath: Country alpha2 being used: GB
[ 2325.176316] ath: Regpair used: 0x37
[ 2325.176324] ath: regdomain 0x833a dynamically updated by country IE
[ 2325.176353] cfg80211: Regulatory domain changed to country: GB
[ 2325.181090] cfg80211: DFS Master region: ETSI
[ 2325.184163] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2325.192908] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2325.199845] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2325.208290] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2325.216750] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[ 2325.223774] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 2326.049581] wlan0: detected beacon loss from AP (missed 7 beacons) - probing
[ 2326.549554] wlan0: Failed to send nullfunc to AP 2c:4d:54:03:6e:e8 after 500ms, disconnecting
[ 2326.599557] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 3
[ 2326.599578] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 2
[ 2326.599585] wlan0: moving STA 2c:4d:54:03:6e:e8 to state 1
[ 2326.599606] wlan0: Removed STA 2c:4d:54:03:6e:e8
[ 2326.599823] wlan0: Destroyed STA 2c:4d:54:03:6e:e8
[ 2326.608287] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 2326.608301] cfg80211: Restoring regulatory settings
[ 2326.608314] cfg80211: Kicking the queue
[ 2326.608346] cfg80211: Ignoring regulatory request set by core since the driver uses its own custom regulatory domain
[ 2326.608377] cfg80211: World regulatory domain updated:
[ 2326.612396] cfg80211: DFS Master region: unset
[ 2326.615552] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2326.624297] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2326.631238] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2326.639603] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2326.646523] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2326.654983] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2326.663441] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2326.670462] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2326.677381] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Где я накосячил?
p.s. хотел свернуть лог в спойлер, но тег /cut/ почему-то не пашет