From: Josef Schlehofer <pepe.schlehofer@gmail.com>
To: Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH ath-next 0/3] wifi: ath6kl: fix issues found on big-endian MIPS
Date: Sun, 29 Nov 2026 16:47:07 +0100 [thread overview]
Message-ID: <20261129154710.86640-1-pepe.schlehofer@gmail.com> (raw)
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)
next reply other threads:[~2026-11-29 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 15:47 Josef Schlehofer [this message]
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
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=20261129154710.86640-1-pepe.schlehofer@gmail.com \
--to=pepe.schlehofer@gmail.com \
--cc=jjohnson@kernel.org \
--cc=linux-wireless@vger.kernel.org \
/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