Changes

716 bytes added ,  23:42, 2 June 2022
Line 95: Line 95:     
Sends command message 0x99 to the state machine.
 
Sends command message 0x99 to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== CloseMode ==
 
== CloseMode ==
Line 100: Line 102:     
Sends command message 0x9A to the state machine.
 
Sends command message 0x9A to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== GetMacAddress ==
 
== GetMacAddress ==
Line 105: Line 109:     
Sends command message 0x18 (GetMacAddress) to the state machine.
 
Sends command message 0x18 (GetMacAddress) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== StartScan ==
 
== StartScan ==
Line 110: Line 116:     
Sends command messages 0xA (SetWlanInterfaceUpDown) and 0x14 (ScanRequest) to the state machine.
 
Sends command messages 0xA (SetWlanInterfaceUpDown) and 0x14 (ScanRequest) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== StopScan ==
 
== StopScan ==
Line 115: Line 123:     
Sends command message 0x16 (CancelScan) to the state machine.
 
Sends command message 0x16 (CancelScan) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== Connect ==
 
== Connect ==
Line 125: Line 135:     
Sends command message 0x23 (CancelJoinNetwork) to the state machine.
 
Sends command message 0x23 (CancelJoinNetwork) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== Disconnect ==
 
== Disconnect ==
Line 130: Line 142:     
Sends command message 0x24 (DisconnectRequest) to the state machine.
 
Sends command message 0x24 (DisconnectRequest) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== GetSystemEvent ==
 
== GetSystemEvent ==
 
Takes an input u32 '''SystemEventType'''. Returns an output Event handle.
 
Takes an input u32 '''SystemEventType'''. Returns an output Event handle.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== GetConnectionStatus ==
 
== GetConnectionStatus ==
 
No input. Returns an output [[#ConnectionStatus]].
 
No input. Returns an output [[#ConnectionStatus]].
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== GetState ==
 
== GetState ==
Line 141: Line 159:     
Sends command message 0x80 (GetState) to the state machine.
 
Sends command message 0x80 (GetState) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== GetScanResult ==
 
== GetScanResult ==
Line 151: Line 171:     
Sends command message 0x2E (GetRssi) to the state machine.
 
Sends command message 0x2E (GetRssi) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== ChangeRxAntenna ==
 
== ChangeRxAntenna ==
Line 166: Line 188:     
Sends command messages 0x24 (DisconnectRequest), 0x34 (RequestSleep), 0x3D and 0x3E to the state machine.
 
Sends command messages 0x24 (DisconnectRequest), 0x34 (RequestSleep), 0x3D and 0x3E to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== RequestWakeUp ==
 
== RequestWakeUp ==
Line 171: Line 195:     
Sends command messages 0x1 (InitalizeWlanDriver), 0x24 (DisconnectRequest), 0x35 (RequestWakeUp), 0x3E, 0x80 (GetState) and 0x81 (GetStateBeforeSleep) to the state machine.
 
Sends command messages 0x1 (InitalizeWlanDriver), 0x24 (DisconnectRequest), 0x35 (RequestWakeUp), 0x3E, 0x80 (GetState) and 0x81 (GetStateBeforeSleep) to the state machine.
 +
 +
This is used by [[Network_Interface_services|nifm]].
    
== ConnectWithWps ==
 
== ConnectWithWps ==
Line 244: Line 270:  
This sends a request which sets a global flag.
 
This sends a request which sets a global flag.
   −
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/RequestWakeUp).
    
This is not used on retail.
 
This is not used on retail.