Skip to content

Wifi: use the correct TXBUF_CMD sequence control bit - #2811

Open
lwu309 wants to merge 1 commit into
melonDS-emu:masterfrom
TeamHabiliTAS:wifi-sequence-control-fix
Open

lwu309 wants to merge 1 commit into
melonDS-emu:masterfrom
TeamHabiliTAS:wifi-sequence-control-fix

Conversation

@lwu309

@lwu309 lwu309 commented Nov 21, 2026

Copy link
Copy Markdown

GBATEK specifies that the sequence control bit for W_TXBUF_CMD is Bit13:

4808090h - W_TXBUF_CMD - Multiplay Command Transmit Location (R/W)
...
  13    IEEE Sequence Control (0=From W_TX_SEQNO, 1=Value in Wifi RAM)
        For BEACON: Unknown (always uses W_TX_SEQNO) (no matter of bit13)
  14    Unknown

which is corresponding to 0x2000 (Bit13) instead of 0x4000 (Bit14).

This error causes early disconnection in retail game. I strongly recommend a quick merge decision.

@Arisotura

Copy link
Copy Markdown
Member

I think this warrants further testing, because it doesn't match what I had observed at the time from my own hardware tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants