Re: [PATCH net] wifi: ath12k: properly set single_chip_mlo_supp to true in ath12k_core_alloc()

From: neil . armstrong
Date: Wed Mar 19 2025 - 06:22:24 EST


On 19/03/2025 11:18, Dmitry Baryshkov wrote:
On Wed, Mar 19, 2025 at 11:00:34AM +0100, neil.armstrong@xxxxxxxxxx wrote:
Hi,

On 19/03/2025 10:46, Baochen Qiang wrote:


On 3/19/2025 5:12 PM, neil.armstrong@xxxxxxxxxx wrote:
Hi,

On 19/03/2025 10:06, Vasanthakumar Thiagarajan wrote:


On 3/19/2025 1:34 PM, Neil Armstrong wrote:
On 18/03/2025 17:35, Jeff Johnson wrote:
On 3/3/2025 7:00 AM, Neil Armstrong wrote:
In commit 46d16f7e1d14 ("wifi: ath12k: rename mlo_capable_flags to
single_chip_mlo_supp")
the line:
    ab->mlo_capable_flags = ATH12K_INTRA_DEVICE_MLO_SUPPORT;
was incorrectly updated to:
    ab->single_chip_mlo_supp = false;
leading to always disabling INTRA_DEVICE_MLO even if the device supports it.

The firmware "WLAN.HMT.1.1.c5-00156-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1"
crashes on driver initialization with:
  ath12k_pci 0000:01:00.0: chip_id 0x2 chip_family 0x4 board_id 0x3d soc_id 0x40170200
  ath12k_pci 0000:01:00.0: fw_version 0x110f009c fw_build_timestamp 2024-05-30 11:35
fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00156-
QCAHMTSWPL_V1.0_V2.0_SILICONZ-1

this FW version is not upstream yet, why are you testing with it?

I was not aware the driver supported only a small subset of firmwares.

Yes, this has been communicated by Kalle (and now by Jeff) for ages:
using any firmware outside of linux-firmware is not supported, unless
you have been explicitly told to use a particular binary. Firmware
coming from the Android / Mobile might use different knobs and have
different expectations regarding driver behaviour.


The patch remain valid nevertheless, the 46d16f7e1d14 changeset remains
bogus and needs to be fixed whatever the firmware version or ongoing work
to fix MLO in the future.

Neil