DSWifi
Loading...
Searching...
No Matches
Data Fields
WIFI_ACCESSPOINT Struct Reference

Structure that defines how to connect to an access point. More...

#include <dswifi9.h>

Data Fields

u8 base_rates [16]
 List of the base rates "required" by the AP (same format as maxrate). Zero-terminated list [not required to connect].
 
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].
 
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].
 
u8 rssi_past [8]
 rssi_past indicates the RSSI values for the last 8 beacons received ([7] is the most recent) [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].
 

Detailed Description

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).


The documentation for this struct was generated from the following file: