Line 70:
Line 70:
|-
|-
| 0x100D
| 0x100D
+
| 0
| 1
| 1
−
| 0
+
| WD_GetWLStatus
−
| ?
|-
|-
| 0x100E
| 0x100E
Line 132:
Line 132:
WD_SendWMBData first input buffer is the WMB data to send. In the packet, this is copied to the offset after the 06 02 01 00 bytes. First two bytes are byte-swapped, thus flags are first, size second. Input two buffer is unknown.
WD_SendWMBData first input buffer is the WMB data to send. In the packet, this is copied to the offset after the 06 02 01 00 bytes. First two bytes are byte-swapped, thus flags are first, size second. Input two buffer is unknown.
+
+
WD_GetWLStatus copies the internal wd_wlstatus struct to outbuf. After WD_GetWLStatus copies the internal wlstatus struct to outbuf, the status field in the internal struct is set to zero. WD_GetWLStatus returns the internal wlstatus struct unka field.
WD_SetBeacon sets the beacon broadcasted by hw? Perhaps this is used to have hw broadcast static beacons for example in games with local wireless DS communications, and perhaps WD_SendBeacon is for protocols that require beacon data constantly changed by software such as WMB.
WD_SetBeacon sets the beacon broadcasted by hw? Perhaps this is used to have hw broadcast static beacons for example in games with local wireless DS communications, and perhaps WD_SendBeacon is for protocols that require beacon data constantly changed by software such as WMB.
Line 234:
Line 236:
u16 unkc;
u16 unkc;
} wd_sendwmbdata_param;
} wd_sendwmbdata_param;
+
+
typedef struct _wd_wlstatus
+
{
+
u32 status;//When a WL error occurs, 1 is written here. After WD_GetWLStatus copies the internal wlstatus struct to outbuf, this field in the internal struct is set to zero.
+
u32 num;//Number of errors? Internal struct num field is incremented when WL errors occur.
+
u16 unk8;
+
u16 unka;
+
} wd_wlstatus;
</source>
</source>