Message ID | 20220327171340.7893-1-erik.stromdahl@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2c977be2cc5cd4743d2f223360e685d91f0cdffc |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] ath10k: add support for MSDU IDs for USB devices | expand |
Erik Stromdahl <erik.stromdahl@gmail.com> writes: > 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. > > Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> On what hardware and firmware version did you test these patches? I'll then add the Tested-on tag: https://wireless.wiki.kernel.org/en/users/drivers/ath10k/submittingpatches#tested-on_tag
On 3/28/22 07:28, Kalle Valo wrote: > Erik Stromdahl <erik.stromdahl@gmail.com> writes: > >> 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. >> >> Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> > > On what hardware and firmware version did you test these patches? I'll > then add the Tested-on tag: > > https://wireless.wiki.kernel.org/en/users/drivers/ath10k/submittingpatches#tested-on_tag > Hardware: Linksys WUSB6100M Fw version: QCA9377 hw1.0 USB 1.0.0.299 Above fw version is printed by the driver at startup: ath10k_log_dbg: usb 1-3 firmware 1.0.0.299 booted The firmware file can be obtained from here: https://www.linksys.com/se/support-article?articleNum=198580
Erik Stromdahl <erik.stromdahl@gmail.com> writes: > On 3/28/22 07:28, Kalle Valo wrote: >> Erik Stromdahl <erik.stromdahl@gmail.com> writes: >> >>> 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. >>> >>> Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> >> >> On what hardware and firmware version did you test these patches? I'll >> then add the Tested-on tag: >> >> https://wireless.wiki.kernel.org/en/users/drivers/ath10k/submittingpatches#tested-on_tag >> > > Hardware: Linksys WUSB6100M > Fw version: QCA9377 hw1.0 USB 1.0.0.299 > > Above fw version is printed by the driver at startup: > > ath10k_log_dbg: usb 1-3 firmware 1.0.0.299 booted Thanks, I added this: Tested-on: QCA9377 hw1.0 USB 1.0.0.299
Erik Stromdahl <erik.stromdahl@gmail.com> wrote: > 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> 2 patches applied to ath-next branch of ath.git, thanks. 2c977be2cc5c ath10k: add support for MSDU IDs for USB devices d930e2560ebe ath10k: enable napi on RX path for usb
diff --git a/drivers/net/wireless/ath/ath10k/usb.c b/drivers/net/wireless/ath/ath10k/usb.c index 3d98f19c6ec8..7ed2022ac3c2 100644 --- a/drivers/net/wireless/ath/ath10k/usb.c +++ b/drivers/net/wireless/ath/ath10k/usb.c @@ -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);
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. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> --- drivers/net/wireless/ath/ath10k/usb.c | 1 + 1 file changed, 1 insertion(+)