#define WIFI_INIT \
pd_ioctl(0,WIFI_MODE,BSS,0); \
pd_ioctl(0,WIFI_SSID,,0); \
pd_ioctl(0,WIFI_OWNCHAN,,0); \
pd_ioctl(0,WIFI_OWNSSID,,0); \
pd_ioctl(0,WIFI_WEP_FLAG,,0); \
pd_ioctl(0,WIFI_WEP_AUTH,,0); \
pd_ioctl(0,WIFI_WEP_USEKEY,,0); \
pd_ioctl(0,WIFI_WEP_KEY0,,0); \
pd_ioctl(0,WIFI_WEP_KEY1,,0); \
pd_ioctl(0,WIFI_WEP_KEY2,,0); \
pd_ioctl(0,WIFI_WEP_KEY3,,0); \
pd_ioctl(0,WIFI_ROAM,manual,0); \
Listing 3If this macro
is not defined in the main program, a default WIFI_INIT is executed. What it boils
down to is that this macro and its parameters are all you need to know about to
go wireless with a Rabbit.