Dmesg of 9377
[12556.068295] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 168c:3365
[12556.068298] ath10k_pci 0000:03:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 1
[12556.068954] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[12556.132321] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[12556.620726] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[12556.626990] ath: EEPROM regdomain: 0x0
[12556.626991] ath: EEPROM indicates default country code should be used
[12556.626992] ath: doing EEPROM country->regdmn map search
[12556.626992] ath: country maps to regdmn code: 0x3a
[12556.626992] ath: Country alpha2 being used: US
[12556.626993] ath: Regpair used: 0x3a
[12556.628180] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[12556.651253] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[12556.652680] pcieport 0000:00:1c.6: AER: Multiple Corrected error received: id=00e6
[12556.652697] pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e6(Receiver ID)
[12556.652706] pcieport 0000:00:1c.6: device [8086:a296] error status/mask=00000001/00002000
[12556.652711] pcieport 0000:00:1c.6: [ 0] Receiver Error (First)
[12556.652720] pcieport 0000:00:1c.6: AER: Multiple Corrected error received: id=00e6
[12556.652729] pcieport 0000:00:1c.6: can't find device of ID00e6
[12556.690523] pcieport 0000:00:1c.6: AER: Multiple Corrected error received: id=00e6
[12556.690540] pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e6(Receiver ID)
[12556.690548] pcieport 0000:00:1c.6: device [8086:a296] error status/mask=00000001/00002000
[12556.690553] pcieport 0000:00:1c.6: [ 0] Receiver Error (First)
[12557.319719] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[12557.386510] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[12566.304181] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[12566.543770] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
modinfo of ath10k firmwre
thomas@PC3039:~/work/refers/ath/drivers/net/wireless/ath/ath10k$ modinfo ath10k_pci | grep firmware
firmware: ath10k/QCA9377/hw1.0/board.bin
firmware: ath10k/QCA9377/hw1.0/firmware-5.bin
经测试该驱动在下列模式下可以正常工作:
- AP mode
- Station mode
注意:使用iwconfig 查看PHY Rate总是6Mbps, 这是ath10k的一个已知问题:
tx rate is reported as 6mbps due to firmware limitation (no tx rate information in tx completions);
instead see /sys/kernel/debug/ieee80211/phyX/ath10k/fw_stats
查看需要超级用户权限:
root@PC3039:/sys/kernel/debug/ieee80211/phy0/ath10k# cat fw_stats
ath10k PEER stats (2)
=================
Peer MAC address 00:00:00:00:00:01
Peer RSSI 0
Peer TX rate 0
Peer RX rate 0
Peer RX duration 0
Peer MAC address c0:56:27:46:84:c1
Peer RSSI 43
Peer TX rate 866700
Peer RX rate 292500
Peer RX duration 0
尝试mesh mode, 但其所依赖的rawmode 9377的firmware是不支持的.
10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c
从https://github.com/kvalo/ath10k-firmware.git下载最新的firmware测试,发现都不支持rawmode.