Skip to content

WD/Wifi: Add Wifi control implementations#247

Merged
DacoTaco merged 9 commits into
devkitPro:masterfrom
abdelali221:master
Jan 22, 2026
Merged

WD/Wifi: Add Wifi control implementations#247
DacoTaco merged 9 commits into
devkitPro:masterfrom
abdelali221:master

Conversation

@abdelali221

Copy link
Copy Markdown
Contributor

This PR brings to libogc the ability to talk with the Wireless Driver (WD) and perform some basic operations, such as :

  • Init WD with Modes.
  • Lock/Unlock WD.
  • Scan for WiFi Access Points.
  • Retrieve some infos from WD.

More operations will hopefully come soon.

@DacoTaco DacoTaco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just a quick look over the code. please check the comments.
also, can you provide an example on how to use the code? a small console app is ok and can be integrated in the wii-examples repo later

Comment thread libogc/wd.c Outdated
Comment thread libogc/wd.c Outdated
Comment thread libogc/wd.c Outdated
Comment thread libogc/wd.c Outdated
@abdelali221

abdelali221 commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

this is just a quick look over the code. please check the comments. also, can you provide an example on how to use the code? a small console app is ok and can be integrated in the wii-examples repo later

Sure.
It's pretty much what I have already done.

GetLength, GetIE (Get the data), GetNumberOfIEs.
@abdelali221

Copy link
Copy Markdown
Contributor Author

@DacoTaco Would you mind reviewing the latest commit?

The way I interpreted IEs was wrong, which lead to the code being absolutely useless and broken (The last commit happened because of the lack of tests).

@DacoTaco DacoTaco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only one comment left.

tested on my wii with provided example code :
wdexample.zip

Comment thread libogc/wd.c Outdated
Comment thread libogc/wd.c Outdated

@DacoTaco DacoTaco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DacoTaco DacoTaco changed the title Add WD implementation. WD/Wifi: Add Wifi control implementations Jan 22, 2026
@DacoTaco DacoTaco merged commit b051279 into devkitPro:master Jan 22, 2026
1 check passed
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