LDN services: Difference between revisions
Line 1,113: | Line 1,113: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || Type? Must be 0x1-0xF. Always set to 0x3 by the Station/AccessPoint. | | 0x0 || 0x1 || Type? Must be 0x1-0xF. Always set to 0x3 ([1.0.0-?] 0x1 [?-5.1.0] 0x2) by the Station/AccessPoint. | ||
|- | |- | ||
| 0x1 || 0x1 || Low u8 for the size. | | 0x1 || 0x1 || Low u8 for the size. | ||
Line 1,119: | Line 1,119: | ||
| 0x2 || 0x1 || Status. 0 = success, non-zero = error. | | 0x2 || 0x1 || Status. 0 = success, non-zero = error. | ||
|- | |- | ||
| 0x3 || 0x1 || bool flag. The AccessPoint verifies that this is not set. Always set to 1 by the AccessPoint in the response. | | 0x3 || 0x1 || [?+] bool flag. The AccessPoint verifies that this is not set. Always set to 1 by the AccessPoint in the response. | ||
|- | |- | ||
| 0x4 || 0x1 || High u8 for the size. | | 0x4 || 0x1 || [?+] High u8 for the size. | ||
|- | |- | ||
| 0x5 || 0x3 || Unused, zeros. | | 0x5 || 0x3 || Unused, zeros. | ||
Line 1,138: | Line 1,138: | ||
The Station sets the above size to 0x40 if [[#NetworkInfo]]+0x13 is <0x3. The Authentication challenge is only used/enabled if that value is >=0x3, and [[#IUserLocalCommunicationService]] is being used. | The Station sets the above size to 0x40 if [[#NetworkInfo]]+0x13 is <0x3. The Authentication challenge is only used/enabled if that value is >=0x3, and [[#IUserLocalCommunicationService]] is being used. | ||
The AccessPoint sets the above size to 0x0 if the +0x0 Type is <0x3. The AccessPoint will only use/enable the Authentication challenge when the +0x0 Type is >=0x3, and [[#IUserLocalCommunicationService]] is being used. | The AccessPoint sets the above size to 0x0 ([6.0.0+] if the +0x0 Type is <0x3). The AccessPoint will only use/enable the Authentication challenge when the +0x0 Type is >=0x3, and [[#IUserLocalCommunicationService]] is being used. | ||
Station->AccessPoint frame, relative to +0x0 above (frame size depends on whether +0xAC is enabled): | Station->AccessPoint frame, relative to +0x0 above (frame size depends on whether +0xAC is enabled): | ||
Line 1,158: | Line 1,158: | ||
| 0x6A || 0x42 || Zeros, unused by the AccessPoint. | | 0x6A || 0x42 || Zeros, unused by the AccessPoint. | ||
|- | |- | ||
| 0xAC || 0x300 || Authentication challenge data. If enabled, the total frame size must be >= {end offset of this data in the frame}. The frame data does not include this if it's not enabled. | | 0xAC || 0x300 || [6.0.0+] Authentication challenge data. If enabled, the total frame size must be >= {end offset of this data in the frame}. The frame data does not include this if it's not enabled. | ||
|} | |} | ||
Line 1,171: | Line 1,171: | ||
| 0x38 || 0x10 || +0x38 from the data originally sent by the Station. The Station verifies that this matches the previously sent data. | | 0x38 || 0x10 || +0x38 from the data originally sent by the Station. The Station verifies that this matches the previously sent data. | ||
|- | |- | ||
| 0x48 || 0x84 || Only included in the frame if it's enabled (Type >= 0x3). Unused by the Station. | | 0x48 || 0x84 || [?+] Only included in the frame if it's enabled (Type >= 0x3). Unused by the Station. | ||
|- | |- | ||
| 0xCC || 0x100 || If enabled, Authentication challenge response data. Not included in the frame if it's not enabled. | | 0xCC || 0x100 || [6.0.0+] If enabled, Authentication challenge response data. Not included in the frame if it's not enabled. | ||
|} | |} | ||