CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/08 02:47:07
Modified files:
sys/dev/ic : rtwn.c
Log message:
rtwn: send complete H2C commands to the firmware
Since urtwn(4) moved to the shared rtwn_fw_cmd() in 2016, only the
command id byte reached the H2C mailbox and the payload was zero
(RSSI 0, MACID_CONFIG rate mask 0). Write the full 16/32-bit words
again, as urtwn(4) did before.
For RTL8192C-family chips, lay out extended commands as the firmware
expects, [id, b2, b3, b4] + [b0, b1], matching FreeBSD r92c_fw_cmd()
and Linux rtl8xxxu.
Patch by Mikolaj Kucharski