Network Interface services: Difference between revisions
No edit summary |
No edit summary |
||
Line 281: | Line 281: | ||
= SfNetworkProfileData = | = SfNetworkProfileData = | ||
This is "nn::nifm::detail::sf::NetworkProfileData". This is a 0x17C-byte struct. This is converted to/from [[#NetworkProfileData]] by sdknso. | This is "nn::nifm::detail::sf::NetworkProfileData". This is a 0x17C-byte struct. This is converted to/from [[#NetworkProfileData]] by sdknso. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0xC2 || [[#IpSettingData]] | |||
|- | |||
| 0x116 || 0x66 || [[#SfWirelessSettingData]] | |||
|} | |||
= NetworkProfileData = | = NetworkProfileData = | ||
Line 294: | Line 305: | ||
|- | |- | ||
| 0xCC || 0xC2 || [[#IpSettingData]] | | 0xCC || 0xC2 || [[#IpSettingData]] | ||
|} | |||
= SfWirelessSettingData = | |||
This is a 0x66-byte struct. This is converted to/from [[#WirelessSettingData]] during the [[#NetworkProfileData]] conversion. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x1 || SSID length?(Clamped to max len 0x20 during [[#NetworkProfileData]] conversion) | |||
|- | |||
| 0x1 || 0x21 || NUL-terminated SSID string? | |||
|- | |||
| 0x22 || 0x1 || | |||
|- | |||
| 0x23 || 0x1 || | |||
|- | |||
| 0x24 || 0x1 || | |||
|- | |||
| 0x25 || 0x41 || | |||
|} | |} | ||
= WirelessSettingData = | = WirelessSettingData = | ||
This is "nn::nifm::WirelessSettingData". This is a 0x70-byte struct. | This is "nn::nifm::WirelessSettingData". This is a 0x70-byte struct. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x1 || SSID [[#SfWirelessSettingData|length]]? | |||
|- | |||
| 0x1 || 0x21 || NUL-terminated SSID string? | |||
|- | |||
| 0x22 || 0x1 || | |||
|- | |||
| 0x23 || 0x1 || Padding | |||
|- | |||
| 0x24 || 0x4 || | |||
|- | |||
| 0x28 || 0x4 || | |||
|- | |||
| 0x2C || 0x41 || | |||
|- | |||
| 0x6D || 0x3 || Padding | |||
|} | |||
= IpSettingData = | = IpSettingData = |