WLAN services: Difference between revisions

Line 201: Line 201:


This flag is eventually checked by code which runs via RequestSleep, and in one case with wlan:dtc cmd19 (also used by requests done by nnMain).
This flag is eventually checked by code which runs via RequestSleep, and in one case with wlan:dtc cmd19 (also used by requests done by nnMain).
This is not used on retail.


== Cmd27 ==
== Cmd27 ==
Line 206: Line 208:


This memcpys data from state into the output buffer, clamped to a maximum of 0x40 entries (nifm hard-codes the count to 0x26).
This memcpys data from state into the output buffer, clamped to a maximum of 0x40 entries (nifm hard-codes the count to 0x26).
This is used by [[Network_Interface_services|nifm]].


== Cmd30 ==
== Cmd30 ==
Line 224: Line 228:


This internally sends a request which is then eventually handled (if the input doesn't match state already + other state fields are valid) by configuring "pm2_sleep_ret_ext" with a global struct selected via the input value. Afterwards another func is called with input value 2.
This internally sends a request which is then eventually handled (if the input doesn't match state already + other state fields are valid) by configuring "pm2_sleep_ret_ext" with a global struct selected via the input value. Afterwards another func is called with input value 2.
This is used by [[Network_Interface_services|nifm]].


= wlan:lcl =
= wlan:lcl =