ath10k: add support for MSDU IDs for USB devices
authorErik Stromdahl <erik.stromdahl@gmail.com>
Wed, 30 Mar 2022 08:11:49 +0000 (11:11 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 1 Apr 2022 11:46:03 +0000 (14:46 +0300)
commit 93bbdec6683e1c8ba2cc4e6 ("ath10k: htt: support MSDU ids with
SDIO") introduced MSDU ID allocation in the htt TX path for high latency
devices. This feature needs to be enabled for USB as well in order to
have a functional TX path.

Tested-on: QCA9377 hw1.0 USB 1.0.0.299

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220327171340.7893-1-erik.stromdahl@gmail.com
drivers/net/wireless/ath/ath10k/usb.c

index 3d98f19..7ed2022 100644 (file)
@@ -1013,6 +1013,7 @@ static int ath10k_usb_probe(struct usb_interface *interface,
        bus_params.dev_type = ATH10K_DEV_TYPE_HL;
        /* TODO: don't know yet how to get chip_id with USB */
        bus_params.chip_id = 0;
+       bus_params.hl_msdu_ids = true;
        ret = ath10k_core_register(ar, &bus_params);
        if (ret) {
                ath10k_warn(ar, "failed to register driver core: %d\n", ret);