DSWifi
|
ARM9 and ARM7 common definitions. More...
#include <nds/ndstypes.h>
Data Structures | |
struct | WIFI_ACCESSPOINT |
Structure that defines how to connect to an access point. More... | |
struct | Wifi_ConnectedClient |
Structure that represents a DS connected to a host DS. More... | |
struct | Wifi_NintendoVendorInfo |
Information send by Nintendo DS hosts in beacon frames. More... | |
Macros | |
#define | DSWIFI_BEACON_NAME_SIZE 20 |
Size in bytes reserved in beacon frames for the multiplayer host player name. | |
#define | WIFI_MAX_MULTIPLAYER_CLIENTS 15 |
Maxmimum number of multiplayer clients that can connect to a host. | |
Typedefs | |
typedef struct WIFI_ACCESSPOINT | Wifi_AccessPoint |
Structure that defines how to connect to an access point. | |
Enumerations | |
enum | WEPMODES { WEPMODE_NONE = 0 , WEPMODE_40BIT = 1 , WEPMODE_128BIT = 2 } |
Supported WEP modes. More... | |
enum | Wifi_APScanFlags { WSCAN_LIST_AP_COMPATIBLE = 0x1 , WSCAN_LIST_AP_INCOMPATIBLE = 0x2 , WSCAN_LIST_AP_ALL = 0x3 , WSCAN_LIST_NDS_HOSTS = 0x4 , WSCAN_LIST_ALL = 0x7 } |
List of which devices to add to the AP list while scanning for APs. More... | |
enum | Wifi_ConnectedClientState { WIFI_CLIENT_DISCONNECTED = 0 , WIFI_CLIENT_AUTHENTICATED , WIFI_CLIENT_ASSOCIATED } |
Possible states of a client. More... | |
enum | WIFI_STATS { WSTAT_RXQUEUEDPACKETS , WSTAT_TXQUEUEDPACKETS , WSTAT_RXQUEUEDBYTES , WSTAT_TXQUEUEDBYTES , WSTAT_RXQUEUEDLOST , WSTAT_TXQUEUEDREJECTED , WSTAT_RXPACKETS , WSTAT_RXBYTES , WSTAT_RXDATABYTES , WSTAT_TXPACKETS , WSTAT_TXBYTES , WSTAT_TXDATABYTES , WSTAT_ARM7_UPDATES , WSTAT_DEBUG , WSTAT_HW_1B0 , WSTAT_HW_1B1 , WSTAT_HW_1B2 , WSTAT_HW_1B3 , WSTAT_HW_1B4 , WSTAT_HW_1B5 , WSTAT_HW_1B6 , WSTAT_HW_1B7 , WSTAT_HW_1B8 , WSTAT_HW_1B9 , WSTAT_HW_1BA , WSTAT_HW_1BB , WSTAT_HW_1BC , WSTAT_HW_1BD , WSTAT_HW_1BE , WSTAT_HW_1BF , WSTAT_HW_1C0 , WSTAT_HW_1C1 , WSTAT_HW_1C4 , WSTAT_HW_1C5 , WSTAT_HW_1D0 , WSTAT_HW_1D1 , WSTAT_HW_1D2 , WSTAT_HW_1D3 , WSTAT_HW_1D4 , WSTAT_HW_1D5 , WSTAT_HW_1D6 , WSTAT_HW_1D7 , WSTAT_HW_1D8 , WSTAT_HW_1D9 , WSTAT_HW_1DA , WSTAT_HW_1DB , WSTAT_HW_1DC , WSTAT_HW_1DD , WSTAT_HW_1DE , WSTAT_HW_1DF , NUM_WIFI_STATS } |
List of available WiFi statistics. More... | |
ARM9 and ARM7 common definitions.
#define WIFI_MAX_MULTIPLAYER_CLIENTS 15 |
Maxmimum number of multiplayer clients that can connect to a host.
This is limited by W_AID_LOW, which can only go from 0 to 15 (with 0 being reserved by the host).
typedef struct WIFI_ACCESSPOINT Wifi_AccessPoint |
Structure that defines how to connect to an access point.
If a field is not necessary for Wifi_ConnectAP it is marked as such. only 4 fields are absolutely required to be filled in correctly for the connection to work, they are: SSID, ssid_len, bssid, and channel. All others can be ignored (though flags should be set to 0).
enum WEPMODES |
enum Wifi_APScanFlags |
List of which devices to add to the AP list while scanning for APs.
enum WIFI_STATS |
List of available WiFi statistics.