Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH ath-next 0/3] wifi: ath6kl: fix issues found on big-endian MIPS
@ 2026-11-29 15:47 Josef Schlehofer
  2026-11-29 15:47 ` [PATCH ath-next 1/3] wifi: ath6kl: use little-endian BMI command fields Josef Schlehofer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Josef Schlehofer @ 2026-11-29 15:47 UTC (permalink / raw)
  To: Jeff Johnson; +Cc: linux-wireless

While bringing up an AR6006 on a big-endian MIPS router (QCA9563), I
found three issues in ath6kl that do not depend on the new chip:

- BMI command fields are sent in host byte order.
- API 1 firmware is freed with vfree() although kmemdup() allocated
  it.
- Firmware capabilities are read as bytes instead of with test_bit().

All three fixes were tested on the router with backports 6.18.55
(OpenWrt 25.12, kernel 6.12), using local AR6006 support patches. On
ath-next they build cleanly with W=1 for big- and little-endian MIPS.

AR6006 support will follow separately. The firmware question is here:
https://lore.kernel.org/r/20261129142154.53536-1-pepe.schlehofer@gmail.com

Josef Schlehofer (3):
  wifi: ath6kl: use little-endian BMI command fields
  wifi: ath6kl: use kvfree() for firmware
  wifi: ath6kl: use test_bit() for firmware capabilities

 drivers/net/wireless/ath/ath6kl/bmi.c  | 55 ++++++++++++++------------
 drivers/net/wireless/ath/ath6kl/core.c |  2 +-
 drivers/net/wireless/ath/ath6kl/init.c | 11 +-----
 3 files changed, 32 insertions(+), 36 deletions(-)


base-commit: 18d0bedbb5f0538396cb7f763ed9cd1dd69c5b23
-- 
2.54.0 (Apple Git-157)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-29 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 15:47 [PATCH ath-next 0/3] wifi: ath6kl: fix issues found on big-endian MIPS Josef Schlehofer
2026-11-29 15:47 ` [PATCH ath-next 1/3] wifi: ath6kl: use little-endian BMI command fields Josef Schlehofer
2026-11-29 15:47 ` [PATCH ath-next 2/3] wifi: ath6kl: use kvfree() for firmware Josef Schlehofer
2026-11-29 15:47 ` [PATCH ath-next 3/3] wifi: ath6kl: use test_bit() for firmware capabilities Josef Schlehofer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox