In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
453 bytes added ,  19:49, 15 February 2010
Ioctl 0x100f function is WD_SetBeacon. Added fields to wd_info.
Line 58: Line 58:  
| 1  
 
| 1  
 
| WD_Scan  
 
| WD_Scan  
 +
|-
 +
| 0x100B
 +
| ?
 +
| ?
 +
| ?
 
|-
 
|-
 
| 0x100C  
 
| 0x100C  
Line 70: Line 75:  
|-
 
|-
 
| 0x100F  
 
| 0x100F  
| ?
+
| 1
| ?
+
| 0
| ?
+
| WD_SetBeacon
 
|-
 
|-
 
| 0x1010  
 
| 0x1010  
Line 122: Line 127:     
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_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 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.  
Line 205: Line 212:  
         u8 mac[6];
 
         u8 mac[6];
 
         u16 ntr_allowed_channels;//Bit 0 is unused. Bit 1 means channel 1 is available, and so on.
 
         u16 ntr_allowed_channels;//Bit 0 is unused. Bit 1 means channel 1 is available, and so on.
         u8 unk[136];
+
        u16 unk8;
 +
        char country[2];//Text country code.
 +
        u32 unkc;
 +
        char wlversion[0x50];//IOSVersion tag from WL.
 +
         u8 unk[0x30];
 
} wd_info;
 
} wd_info;
  
340

edits

Navigation menu