wifi: ath6kl: fix issues found on big-endian MIPS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wifi: ath6kl: use little-endian BMI command fieldsdrivers/ | +29 | 0 replies | |
| 2/3 | wifi: ath6kl: use kvfree() for firmwaredrivers/ | +1 | 0 replies | |
| 3/3 | wifi: ath6kl: use test_bit() for firmware capabilitiesdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH ath-next 0/3] wifi: ath6kl: fix issues found on big-endian MIPS
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/[email protected]
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
Signature · 1 line
2.54.0 (Apple Git-157)