DSWifi
|
Structure that defines how to connect to an access point. More...
#include <dswifi_common.h>
Data Fields | |
u8 | bssid [6] |
BSSID is the AP's SSID. Setting it to all 00's indicates this is not known and it will be ignored [REQUIRED]. | |
u8 | channel |
Valid channels are 1-13, setting the channel to 0 will indicate the system should search. [REQUIRED]. | |
u16 | flags |
Flags indicating various parameters for the AP. [not required, but the WFLAG_APDATA_ADHOC flag will be used]. | |
u8 | macaddr [6] |
MAC address of the "AP" is only necessary in ad-hoc mode. [generally not required to connect]. | |
u16 | maxrate |
Max rate is measured in steps of 1/2Mbit - 5.5Mbit will be represented as 11, or 0x0B [not required to connect]. | |
Wifi_NintendoVendorInfo | nintendo |
Information send by Nintendo DS hosts in beacon frames, used if WFLAG_APDATA_NINTENDO_TAG is set in "flags". | |
u16 | rssi |
Running average of the recent RSSI values for this AP, will be set to 0 after not receiving beacons for a while. [not required to connect]. | |
u32 | spinlock |
Internal data word used to lock the record to guarantee data coherence. [not required to connect]. | |
char | ssid [33] |
AP's SSID. Zero terminated is not necessary. If ssid[0] is zero, the SSID will be ignored in trying to find an AP to connect to. [REQUIRED]. | |
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).