Re: chan info: invalid frequency 0 (idx 41 out of bounds)

2023-10-12 Thread Kalle Valo
"Luca Weiss"  writes:

> Anybody have an idea about the issue I sent a few months ago?

I don't recall anyone reporting anything similar before. As the ath10k
firmware can be different on devices it is a possibility that's
something specific with your firmware version. Unfortunately I don't
have any tips how to try solve this.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


Re: chan info: invalid frequency 0 (idx 41 out of bounds)

2023-10-11 Thread Luca Weiss
Hi all,

Anybody have an idea about the issue I sent a few months ago?

Regards
Luca

On Fri Jun 9, 2023 at 1:41 PM CEST, Luca Weiss wrote:
> Hi all,
>
> I'm seeing a problem(?) since a while with the following warning being
> printed to dmesg regularly when running on sm7225-fairphone-fp4 with
> e.g. v6.4 kernel:
>
> [   44.891535] ath10k_snoc 1880.wifi: chan info: invalid frequency 0 (idx 
> 41 out of bounds)
>
> To be clear this is not a regression, from what I recall I've always
> seen this warning happening since bringing up wifi on this board, also
> with older kernel versions.
>
> Enabling some debug log for chan info shows the following behavior:
>
> [   44.048918] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2412 
> cmd_flags 0 noise_floor -96 rx_clear_count 1208242 cycle_count 5988267
> [   44.100461] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2417 
> cmd_flags 0 noise_floor -96 rx_clear_count 425031 cycle_count 6010605
> [   44.165736] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2422 
> cmd_flags 0 noise_floor -96 rx_clear_count 351782 cycle_count 6010443
> [   44.215593] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2427 
> cmd_flags 0 noise_floor -96 rx_clear_count 898429 cycle_count 6010242
> [   44.259399] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2432 
> cmd_flags 0 noise_floor -96 rx_clear_count 674101 cycle_count 6011164
> [   44.313452] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2437 
> cmd_flags 0 noise_floor -96 rx_clear_count 1927966 cycle_count 6010919
> [   44.366818] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2442 
> cmd_flags 0 noise_floor -96 rx_clear_count 752382 cycle_count 6011096
> [   44.415512] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2447 
> cmd_flags 0 noise_floor -96 rx_clear_count 283823 cycle_count 6011699
> [   44.468153] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2452 
> cmd_flags 0 noise_floor -96 rx_clear_count 113502 cycle_count 6010550
> [   44.532340] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2457 
> cmd_flags 0 noise_floor -96 rx_clear_count 114628 cycle_count 6010540
> [   44.574636] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2462 
> cmd_flags 0 noise_floor -96 rx_clear_count 2607035 cycle_count 6011370
> [   44.733290] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2467 
> cmd_flags 0 noise_floor -96 rx_clear_count 217628 cycle_count 18010493
> [   44.891491] ath10k_snoc 1880.wifi: chan info err_code 0 freq 2472 
> cmd_flags 0 noise_floor -96 rx_clear_count 138280 cycle_count 18013512
> [   44.891523] ath10k_snoc 1880.wifi: chan info err_code 0 freq 0 
> cmd_flags 1 noise_floor 0 rx_clear_count 0 cycle_count 0
> [   44.891535] ath10k_snoc 1880.wifi: chan info: invalid frequency 0 (idx 
> 41 out of bounds)
> [   45.065699] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5180 
> cmd_flags 0 noise_floor -96 rx_clear_count 5623 cycle_count 18011896
> [   45.207280] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5200 
> cmd_flags 0 noise_floor -96 rx_clear_count 0 cycle_count 18010178
> [   45.356698] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5220 
> cmd_flags 0 noise_floor -96 rx_clear_count 145755 cycle_count 18010585
> [   45.515675] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5240 
> cmd_flags 0 noise_floor -96 rx_clear_count 493478 cycle_count 18010598
> [   45.665588] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5260 
> cmd_flags 0 noise_floor -96 rx_clear_count 0 cycle_count 18009959
> [   45.815610] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5280 
> cmd_flags 0 noise_floor -96 rx_clear_count 1178 cycle_count 18010173
> [   45.967808] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5300 
> cmd_flags 0 noise_floor -96 rx_clear_count 0 cycle_count 18022249
> [   46.128716] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5320 
> cmd_flags 0 noise_floor -96 rx_clear_count 0 cycle_count 17987593
> [   46.277628] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5500 
> cmd_flags 0 noise_floor -96 rx_clear_count 88490 cycle_count 18018964
> [   46.432316] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5520 
> cmd_flags 0 noise_floor -96 rx_clear_count 66334 cycle_count 17993843
> [   46.520274] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5540 
> cmd_flags 0 noise_floor -96 rx_clear_count 269069 cycle_count 9322999
> [   46.663392] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5560 
> cmd_flags 0 noise_floor -96 rx_clear_count 188003 cycle_count 18019229
> [   46.814223] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5580 
> cmd_flags 0 noise_floor -96 rx_clear_count 28928 cycle_count 17997429
> [   46.966960] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5600 
> cmd_flags 0 noise_floor -96 rx_clear_count 1316 cycle_count 17995217
> [   47.120005] ath10k_snoc 1880.wifi: chan info err_code 0 freq 5620 
> cmd_flags 0 noise_floor -96