Changes

Jump to navigation Jump to search
581 bytes added ,  17:03, 1 June 2022
no edit summary
Line 107: Line 107:     
== StartScan ==
 
== StartScan ==
Takes a type-0x15 input buffer. No output.  
+
Takes a type-0x15 input buffer buffer containing a [[#ScanRequest]]. No output.  
    
Sends command messages 0xA and 0x14 to the state machine.
 
Sends command messages 0xA and 0x14 to the state machine.
Line 479: Line 479:     
= Ssid =
 
= Ssid =
This is "nn::wlan::Ssid". This is a 0x20-byte struct.
+
This is "nn::wlan::Ssid". This is a 0x22-byte struct.
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x1 || Length
 +
|-
 +
| 0x1 || 0x20 || Ssid
 +
|-
 +
| 0x21 || 0x1 || Reserved
 +
|}
    
= MacAddress =
 
= MacAddress =
Line 493: Line 506:  
! Description
 
! Description
 
|-
 
|-
| 0x0 || 0x20 || [[#Ssid|Ssid]]
+
| 0x0 || 0x22 || [[#Ssid|Ssid]]
|-
  −
| 0x20 || 0x6 || [[#MacAddress|Bssid]]
   
|-
 
|-
| 0x26 || 0x2 || Reserved
+
| 0x22 || 0x6 || [[#MacAddress|Bssid]]
 
|-
 
|-
 
| 0x28 || 0x1 ||  
 
| 0x28 || 0x1 ||  
Line 533: Line 544:  
| 0x8 || 0x2 || Channel
 
| 0x8 || 0x2 || Channel
 
|-
 
|-
| 0xA || 0x6 || AccessPoint MAC address
+
| 0xA || 0x6 || [[#MacAddress|Bssid]]
 
|-
 
|-
| 0x10 || 0x22 || u8 SSID_len, then the SSID data.
+
| 0x10 || 0x22 || [[#Ssid|Ssid]]
 
|-
 
|-
 
| 0x32 || 0x2 ||  
 
| 0x32 || 0x2 ||  
Line 544: Line 555:  
|-
 
|-
 
| 0x38 || 0x2 ||  
 
| 0x38 || 0x2 ||  
 +
|}
 +
 +
= ScanRequest =
 +
This is a 0x1B8-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x4 || ScanType
 +
|-
 +
| 0x4 || 0x2 * 38 ||
 +
|-
 +
| 0x50 || 0x1 ||
 +
|-
 +
| 0x51 || 0x3 || Reserved
 +
|-
 +
| 0x54 || 0x4 || ChannelScanTime
 +
|-
 +
| 0x58 || 0x4 || HomeChannelTime
 +
|-
 +
| 0x5C || 0x22 * 10 || Array of [[#Ssid|Ssid]]
 +
|-
 +
| 0x1B0 || 0x1 || SsidCount
 +
|-
 +
| 0x1B1 || 0x6 || [[#MacAddress|Bssid]]
 +
|-
 +
| 0x1B7 || 0x1 || Reserved
 
|}
 
|}
  

Navigation menu