5 Commits

Author SHA1 Message Date
Hasanuddin Abu Bakar
10b51c3dc0 mwifiex: rebase PS5 IW620 patch for linux 7.1.y (#5)
* mwifiex: rebase PS5 IW620 patch for linux 7.1

- Rebase ps5-iw620.patch onto nxp-imx/mwifiex lf-6.18.20_2.0.0, which carries the cfg80211 API updates needed by Linux 7.1.

- Restore PS5 IW620 Wi-Fi module builds on the linux-7.1.y kernel by avoiding the net_device versus wireless_dev API mismatch.

- Target the PS5 IW620 PCIe path and disable unrelated SDIO/USB targets so the build does not pull unresolved sdio_* symbols.

- Export the PCI module alias so the PS5 IW620 module can autoload when the device is present.

- Keep the PS5 connected-state scan workaround, which fake-completes scans while associated to reduce firmware/driver instability.

- Preserve the legacy scan option behavior used by the PS5 load parameters.

- Update README fresh-build instructions to use the new NXP base ref.

* mwifiex: avoid IW620 scan and regulatory firmware quirks

The PS5 IW620 firmware accepts the core STA path but rejects the channel-attribute regulatory download with CHAN_REGION_CFG status 0x3. That shows up at boot as sub_id=0x200046 action=1 [FW_CMDRESP], even though the interface can still scan and associate.

Skip the channel attribute download for the PCIEIW620/PCIE9097 card type used by PS5 so the driver does not send the firmware command that fails on this platform.

Also treat a scan response with exactly zero optional TLV bytes as valid. NXP used a strict greater-than check, so normal scan responses without trailing TLVs were logged as scan_resp_size: Incorrect size of TLV buff size even when AP parsing completed successfully.

Keep the existing PS5 behavior that forces legacy scan mode and fake-completes connected-state scans for stability.

* Fix mwifiex installer ref

---------

Co-authored-by: Anderson <22428720+buzzer-re@users.noreply.github.com>
2026-06-21 22:29:47 +02:00
buzzer-re
3adf09d20c fix copy firmware path 2026-05-13 22:54:42 -03:00
buzzer-re
a92c9b972b Copy firmware from usb boot partition 2026-05-11 20:57:13 -03:00
buzzer-re
3feb65e7e0 add install instructions 2026-05-10 19:05:42 -03:00
buzzer-re
1e3c814f50 first commit 2026-05-04 14:06:04 -03:00