Changes

243 bytes added ,  20:00, 23 October 2020
Line 1,194: Line 1,194:     
[[Mario Kart Live: Home Circuit|mklive]] sets the SSID to a string generated from random data, the PresharedKey is also set to random data.
 
[[Mario Kart Live: Home Circuit|mklive]] sets the SSID to a string generated from random data, the PresharedKey is also set to random data.
 +
 +
[[#Scan_2|Scan]] only uses the following fields: SupportedPlatform/Priority, Frequency/Channel, and all fields which are used for key derivation.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 1,229: Line 1,231:  
| 0x89 || 0x1 || PerformanceRequirement.
 
| 0x89 || 0x1 || PerformanceRequirement.
 
|-
 
|-
| 0x8A || 0x1 || Security type. 0 = use defaults, 1 = plaintext, 2 = encrypted.
+
| 0x8A || 0x1 || Security type, used during key derivation. 0 = use defaults, 1 = plaintext, 2 = encrypted.
 
|-
 
|-
 
| 0x8B || 0x1 || StaticAesKeyIndex. s8, used as the array-index for selecting the KeySource used with [[SPL_services#GenerateAesKek|GenerateAesKek]] during key derivation. Should be 1-2, otherwise GenerateAesKek is skipped and zeros are used for the AccessKey instead.
 
| 0x8B || 0x1 || StaticAesKeyIndex. s8, used as the array-index for selecting the KeySource used with [[SPL_services#GenerateAesKek|GenerateAesKek]] during key derivation. Should be 1-2, otherwise GenerateAesKek is skipped and zeros are used for the AccessKey instead.
Line 1,243: Line 1,245:  
| 0x110 || {above count} || Array of s8 with the above count for total entries. The flags are loaded by: <nowiki>"loaded_flags |= BIT(s8_entryvalue)"</nowiki>, with each entry. Afterwards, loaded_flags is masked with 0x7. loaded_flags must be non-zero.
 
| 0x110 || {above count} || Array of s8 with the above count for total entries. The flags are loaded by: <nowiki>"loaded_flags |= BIT(s8_entryvalue)"</nowiki>, with each entry. Afterwards, loaded_flags is masked with 0x7. loaded_flags must be non-zero.
 
|-
 
|-
| 0x1C0 || 0x1 || PresharedKeyBinarySize. Must be 0x20.
+
| 0x1C0 || 0x1 || PresharedKeyBinarySize. Set to 0x20 if 0. Must be 0x20 during key derivation.
 
|-
 
|-
| 0x1C1 || 0x20 || PresharedKey.
+
| 0x1C1 || 0x20 || PresharedKey. Used during key derivation.
 
|}
 
|}