Try ath10k mesh on 9377

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.

### ROS系统中ath10k WiFi网卡驱动的安装与配置 在ROS(Robot Operating System)环境中,如果使用的是基于高通Atheros QCA9880芯片组的WiFi网卡(如MX-530VX型号[^2]),可能需要手动安装或更新`ath10k`驱动程序以确保其正常工作。以下是针对该问题的具体解决方案: #### 1. 检查当前系统的硬件支持情况 运行以下命令来确认系统是否已识别到无线网卡: ```bash lspci | grep Network ``` 此命令将显示网络适配器的相关信息。如果输出中包含了类似于“QCA9880”的字符串,则说明系统已经检测到了对应的硬件。 #### 2. 更新内核版本 较新的Linux发行版通常自带了对`ath10k`的支持,但如果使用的Ubuntu版本较低(如14.04 LTS[^1]),则建议升级至更高版本的内核。可以通过以下方式获取最新稳定版内核: ```bash sudo apt update && sudo apt install linux-generic-lts-xenial reboot ``` #### 3. 下载并编译最新的ath10k固件文件 有时默认提供的固件可能存在兼容性问题,因此可以从官方仓库拉取更合适的版本: ```bash git clone https://github.com/kvalo/ath10k-firmware.git /lib/firmware/ath10k/ cd /lib/firmware/ath10k/QCA9880/hw2.0 wget https://github.com/qca/open-ath10k/raw/master/firmware/sdio/ath10k_qca988x_hw2.0.fw -O firmware-5.bin_wowlan mv firmware-5.bin_wowlan firmware-5.bin chmod +r * sync ``` 上述操作会替换掉原有的旧固件,并加载适合QCA9880的新二进制数据。 #### 4. 修改参数避免潜在错误日志刷屏现象 编辑模块加载选项防止某些情况下产生的大量警告消息干扰正常使用体验: ```bash echo "options ath10k_core skip_otp=y" | sudo tee -a /etc/modprobe.d/ath10k.conf > /dev/null update-initramfs -u ``` #### 5. 测试连接功能 最后重启计算机使更改生效后再尝试开启Wi-Fi服务验证一切运作良好与否: ```bash nmcli radio wifi on iwconfig wlan0 ping www.google.com ``` 通过以上步骤应该可以成功解决大部分有关于Ath10K系列无线网卡驱动方面的常见难题。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值