Changes

m
Changed "Ad-Hoc" text to "master mode" text.
Line 129: Line 129:  
WD_SendBeacon second input is the Nintendo tag code 0xDD data, starting after the timestamp. First input might be a u16* for the Nintendo tag timestamp?
 
WD_SendBeacon second input is the Nintendo tag code 0xDD data, starting after the timestamp. First input might be a u16* for the Nintendo tag timestamp?
   −
WD_SetLinkState might change which "mode"/"state" is used; 0 for Infrastructure, 1 for Ad-Hoc?
+
WD_SetLinkState might change which "mode"/"state" is used; 0 for Infrastructure, 1 for master mode?
   −
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 frame, 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_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.
Line 137: Line 137:  
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.
   −
The state is set to the mode, upon the initial open. For Infrastructure mode, mode should be 3, while for Ad-Hoc this should be 1? Initial open meaning the first open after the device is closed, or after a IOS_Reload, without net_init being called.  
+
The state is set to the mode, upon the initial open. For Infrastructure mode, mode should be 3, while for master mode this should be 1? Initial open meaning the first open after the device is closed, or after a IOS_Reload, without net_init being called.  
    
Configuration, info, and wd_sendwmbdata_param structs:
 
Configuration, info, and wd_sendwmbdata_param structs:
Line 212: Line 212:  
u8 beacon_nintagdata[128];
 
u8 beacon_nintagdata[128];
 
               wd_privacy mpParent_privacy;//Mode 3, tkip, and aes crypto modes are removed, leaving only modes none, WEP40, and WEP104.
 
               wd_privacy mpParent_privacy;//Mode 3, tkip, and aes crypto modes are removed, leaving only modes none, WEP40, and WEP104.
         } mpParent;//Ad-Hoc?
+
         } mpParent;//Master mode?
 
} wd_config;
 
} wd_config;
  
340

edits