qosmio
1656
Question for everyone.
Has anyone recently tried to reload the ath11k module? The only way to fully load an updated ath11k module was to reboot, as this was a common issue from this post.
I just noticed I am able to reload it now.
/etc/init.d/wpad stop
/sbin/wifi down
rmmod ath11k_ahb
rmmod ath11k
rmmod mac80211
rmmod cfg80211
sleep 1
modprobe ath11k_ahb
/etc/init.d/wpad start
/sbin/wifi up
Tried it 3 times, and all 3 times it came up.
➤ dmesg --color=always|grep -E "c000000.wifi|ath11k|remoteproc"
[Fri Mar 1 12:21:36 2024] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[Fri Mar 1 12:21:39 2024] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[Fri Mar 1 12:21:46 2024] ath11k c000000.wifi: ipq8074 hw2.0
[Fri Mar 1 12:21:46 2024] ath11k c000000.wifi: FW memory mode: 0
[Fri Mar 1 12:21:46 2024] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[Fri Mar 1 12:21:46 2024] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[Fri Mar 1 12:21:47 2024] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[Fri Mar 1 12:21:47 2024] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[Fri Mar 1 12:21:47 2024] ath11k c000000.wifi: fw_version 0x290104a5 fw_build_timestamp 2023-08-02 20:32 fw_build_id WLAN.HK.2.9.0.1-01890-QCAHKSWPL_SILICONZ-1
[Fri Mar 1 12:21:47 2024] ath11k c000000.wifi: htt event 48 not handled
[Fri Mar 1 12:21:47 2024] ath11k c000000.wifi: nss init soc nss if_num 203 userpd_id 0
[Fri Mar 1 12:22:57 2024] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[Fri Mar 1 12:22:58 2024] ath11k c000000.wifi: ipq8074 hw2.0
[Fri Mar 1 12:22:58 2024] ath11k c000000.wifi: FW memory mode: 0
[Fri Mar 1 12:22:58 2024] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[Fri Mar 1 12:22:58 2024] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[Fri Mar 1 12:22:59 2024] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[Fri Mar 1 12:22:59 2024] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[Fri Mar 1 12:22:59 2024] ath11k c000000.wifi: fw_version 0x290104a5 fw_build_timestamp 2023-08-02 20:32 fw_build_id WLAN.HK.2.9.0.1-01890-QCAHKSWPL_SILICONZ-1
[Fri Mar 1 12:22:59 2024] ath11k c000000.wifi: htt event 48 not handled
[Fri Mar 1 12:24:13 2024] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[Fri Mar 1 12:24:14 2024] ath11k c000000.wifi: ipq8074 hw2.0
[Fri Mar 1 12:24:14 2024] ath11k c000000.wifi: FW memory mode: 0
[Fri Mar 1 12:24:14 2024] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[Fri Mar 1 12:24:14 2024] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[Fri Mar 1 12:24:15 2024] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[Fri Mar 1 12:24:15 2024] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[Fri Mar 1 12:24:15 2024] ath11k c000000.wifi: fw_version 0x290104a5 fw_build_timestamp 2023-08-02 20:32 fw_build_id WLAN.HK.2.9.0.1-01890-QCAHKSWPL_SILICONZ-1
[Fri Mar 1 12:24:15 2024] ath11k c000000.wifi: htt event 48 not handled
[Fri Mar 1 12:25:27 2024] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[Fri Mar 1 12:25:28 2024] ath11k c000000.wifi: ipq8074 hw2.0
[Fri Mar 1 12:25:28 2024] ath11k c000000.wifi: FW memory mode: 0
[Fri Mar 1 12:25:28 2024] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[Fri Mar 1 12:25:28 2024] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[Fri Mar 1 12:25:28 2024] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
I don't see anything in upstream if there was a change made to remoteproc or specific to q6v5. @robimarko / @Ansuel any insight?
Sweet, should make it easy to enable/disable NSS on the fly, and other module load params without reboots 
2 Likes