ATH11K Archive mirror
 help / color / mirror / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>,
	Kalle Valo <quic_kvalo@quicinc.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Regressions <regressions@lists.linux.dev>,
	Linux Atheros 11K <ath11k@lists.infradead.org>
Subject: Fwd: ath11k: QCN9074: ce desc not available for wmi command
Date: Thu, 15 Jun 2023 14:07:19 +0700	[thread overview]
Message-ID: <1326a6e4-758d-3344-d90c-8a126748b034@gmail.com> (raw)

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> Hello, 
> 
> We are trying to connect 2x QCN9074 together (one as AP, the other as client). 
> 
> Using Ubuntu 22.04 hwe 5.19 generic kernel allows to pair both units in 800.11ac 80MHz only. Any other combinations of 802.11ax or ac/ax with 160MHz bandwidth does not work. The client kernel freezes when associating to QCN9074 AP without specific logs and requires reboot. I'll post another bug once I can get more logs. 
> 
> Since quite some patches came through since 5.19 - some of them related to 160MHz bandwidth. I tried multiple newer mainline kernels without success and usually the same error. 
> 
> Building kernel from latest ath master branch: 6.4.0-rc4-wt-ath+ gives the following dmesg output:
> 
> [  353.587072] ath11k_pci 0000:04:00.0: BAR 0: assigned [mem 0xa4200000-0xa43fffff 64bit]
> [  353.587180] ath11k_pci 0000:04:00.0: MSI vectors: 1
> [  353.587186] ath11k_pci 0000:04:00.0: qcn9074 hw1.0
> [  353.741799] mhi mhi0: Requested to power ON
> [  353.741806] mhi mhi0: Power on setup success
> [  353.912479] mhi mhi0: Wait for device to enter SBL or Mission mode
> [  354.007221] ath11k_pci 0000:04:00.0: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
> [  354.007225] ath11k_pci 0000:04:00.0: fw_version 0x2403072e fw_build_timestamp 2021-06-06 23:27 fw_build_id 
> [  355.333791] ath11k_pci 0000:04:00.0: leaving PCI ASPM disabled to avoid MHI M2 problems
> [  355.729786] ath11k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
> [  358.960477] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 36866
> [  358.960481] ath11k_pci 0000:04:00.0: failed to send WMI_STA_POWERSAVE_PARAM_CMDID
> [  358.960484] ath11k_pci 0000:04:00.0: could not set uapsd params -105
> [  358.960485] ath11k_pci 0000:04:00.0: failed to set sta uapsd: -105
> [  362.032472] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 90113
> [  362.032477] ath11k_pci 0000:04:00.0: failed to send WMI_REQUEST_STATS cmd
> [  362.032479] ath11k_pci 0000:04:00.0: could not request fw stats (-105)
> [  362.032480] ath11k_pci 0000:04:00.0: failed to request fw pdev stats: -105
> [  365.104479] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 20482
> [  365.104483] ath11k_pci 0000:04:00.0: failed to submit WMI_VDEV_DELETE_CMDID
> [  365.104485] ath11k_pci 0000:04:00.0: failed to delete WMI vdev 0: -105
> [  365.104487] ath11k_pci 0000:04:00.0: failed to delete vdev 0: -105
> [  368.176472] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 16387
> [  368.176476] ath11k_pci 0000:04:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [  368.176479] ath11k_pci 0000:04:00.0: failed to enable PMF QOS: (-105
> [  371.248474] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 16387
> [  371.248478] ath11k_pci 0000:04:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [  371.248480] ath11k_pci 0000:04:00.0: failed to enable PMF QOS: (-105
> [  374.320393] ath11k_pci 0000:04:00.0: ce desc not available for wmi command 16387
> [  374.320397] ath11k_pci 0000:04:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [  374.320400] ath11k_pci 0000:04:00.0: failed to enable PMF QOS: (-105
> 
> Both PCs are Intel x86 (same bug for AMD). We have multiple references of QCN9074 that we tested:
> - Sparklan WPEQ-405AX (our preferred one, as they are the only vendor I know that went through FCC certification) - This unit can associate to APs only with the firmware Sparklan provided. Otherwise, link strength is reported low and barely no APs are listed after scanning.
> - Emwicon WMX7406 - has better performances with Sparklan's vendor FW. Works with ath11k-firmware 2.7.0.1 but shows lower TX mostly.
> 
> Tested FW (non exhaustive):
> # ath11k-firmware 2.5.0.1
> 823915206101779f8cab6b89066e1040  /lib/firmware/ath11k/QCN9074/hw1.0/amss.bin
> 668f53050a92db5b4281ae5f26c7e35d  /lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin
> fcca36959c5f56f9f0fb7015083dc806  /lib/firmware/ath11k/QCN9074/hw1.0/m3.bin
> 
> # ath11k-firmware 2.7.0.1
> 465d0a063d049f7e4b79d267a035c6c7  /lib/firmware/ath11k/QCN9074/hw1.0/amss.bin
> 668f53050a92db5b4281ae5f26c7e35d  /lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin
> ad8fafb9c1deab744c972469be916e72  /lib/firmware/ath11k/QCN9074/hw1.0/m3.bin
> 
> # Vendor firmware 
> 1e88ff2e2b5bcf7f130397cb5b21ef39  /lib/firmware/ath11k/QCN9074/hw1.0/amss.bin
> 7b3ce8686713a724946466ec1fefc2f4  /lib/firmware/ath11k/QCN9074/hw1.0/board.bin
> d0a6f7ccd52f9e3886f0bc96309f7b9a  /lib/firmware/ath11k/QCN9074/hw1.0/m3.bin
> 
> 
> Attached dmesg log with ath11k debug_mask=0xFFFF and lspci. 
> 
> Thank you

See Bugzilla for the full thread and attached dmesg.

Manikanta: This regression is apparently caused by a commit of yours.
Would you like to take a look on it?

Anyway, I'm adding it to regzbot:

#regzbot introduced: 13aa2fb692d371 https://bugzilla.kernel.org/show_bug.cgi?id=217536
#regzbot title: Threaded NAPI causes ce desc unavailable error on ath11k

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217536

-- 
An old man doll... just what I always wanted! - Clara

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

             reply	other threads:[~2023-06-15  7:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15  7:07 Bagas Sanjaya [this message]
2023-06-26 12:49 ` Fwd: ath11k: QCN9074: ce desc not available for wmi command Linux regression tracking (Thorsten Leemhuis)
2023-07-11  6:57   ` Kalle Valo
2023-07-25  9:17   ` Manikanta Pubbisetty
2023-07-26  9:21     ` Linux regression tracking (Thorsten Leemhuis)
2023-07-26  9:49       ` Manikanta Pubbisetty
2023-09-03 23:30         ` Tyler Stachecki
2023-09-04  9:47           ` Manikanta Pubbisetty
2023-10-26 23:06             ` Tyler Stachecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326a6e4-758d-3344-d90c-8a126748b034@gmail.com \
    --to=bagasdotme@gmail.com \
    --cc=ath11k@lists.infradead.org \
    --cc=johannes@sipsolutions.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_kvalo@quicinc.com \
    --cc=quic_mpubbise@quicinc.com \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).