CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/04 13:26:48

Modified files:
        sys/dev/pci    : if_mwx.c if_mwxreg.h 

Log message:
Fix mwx_mcu_send_mbuf() for both mt7925 and mt7921 and the next bit
of 7925 bringup.

mwx_mcu_send_mbuf() handling of the len field was not quite right. Also
implement the mt7925 bits for UNI commands. Fix an issue with the wakeup
of commands, register the command in sc_mcu_wait before enqueuing the
command into the tx queue. Cleanup on error as well.

Implement mt7925_mcu_get_nic_capability() and mt7925_mcu_fw_log_2_host()
with this mwx_mcu_init() is done.

In mwx_dma_txwi_enqueue() use the right len0 value (mt_desc is a pointer).

With this MT7925 prints the mac-address (mwx_mcu_init() succeeds) but
more is needed mwx_init_hardware() after that mwx_preinit() should pass
which is a big step.

For MT7921 it seems this fixes the TX issue I was trying to fix for
so long. Also with this the driver works like before with the new
firmware package.

Mostly adapted form a large diff from mlarkin@

Reply via email to