CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/26 13:25:08
Modified files:
sys/dev/pci : if_qwz_pci.c
sys/dev/ic : qwz.c qwzreg.h qwzvar.h
Log message:
Bring the qwz driver up to WPA2 association on the Qualcomm WCN7850
chip.
Major changes:
1. Fix the RX path.
2. Fix the TX path.
3. Fix MSI interrupt routing.
4. Make the WPA2 4-way handshake complete.
5. Add bus_dmamap_sync() barriers on RX and TX.
6. Update register/descriptor defines from ath11k to ath12k WiFi7.
Known limitations:
- DHCP does not yet complete on most setups: TX of DISCOVER works
(the DHCP server sees it), but the OFFER does not reach the host.
Likely an RX-path or post-handshake GTK state issue. Reported by
kettenis@ with an athn(4) AP on a Vivobook.
- Some hardware (e.g. Honor laptop) hits a firmware page fault
during association. RDDM dump shows a fault in dlpager_main.c
inside the firmware; likely a memory addressing issue specific to
that silicon stepping or IOMMU configuration. Reported by kirill@.
- On APs with PMF (Protected Management Frames) enabled, the
association flaps continuously; on APs without PMF (Apple
hotspot, athn(4)) the connection reaches a stable "active" state
and survives subsequent firmware crashes via the recovery path.
- Firmware occasionally crashes after sustained traffic on some APs
(FritzBox in particular can drive the device into an
unrecoverable "tx credits timeout" state); the driver normally
recovers via the existing RDDM path in if_qwz_pci.c without a
system reboot.
- One PN-replay loop in qwz_dp_peer_rx_pn_replay_config doesn't
iterate the non-QoS TID slot. Cosmetic for normal use; will
land as a separate small commit.
This is a foundation commit: enough to associate and exchange some
frames, but not yet a usable network connection. Further work is
required.
OK kettenis@, kirill@