#include <compiler.h>
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <sys/heap.h>
#include <sys/timer.h>
#include <netinet/if_ether.h>
#include <net/ether.h>
#include <net/if_var.h>
#include <dev/wlantypes.h>
#include <dev/wlan.h>
#include <dev/wlandrv.h>
Go to the source code of this file.
Defines | |
#define | __WLAN_C__ |
#define | ERROR -1 |
#define | OK 0 |
Functions | |
int | WlanInit (NUTDEVICE *dev) |
int | WlanIOCtl (NUTDEVICE *dev, int req, void *conf) |
int | WlanOutput (NUTDEVICE *dev, NETBUF *nb) |
Variables | |
NUTDEVICE | devWlan |
#define ERROR -1 |
Definition at line 58 of file wlan.c.
Referenced by WlanInit(), and WlanOutput().
#define OK 0 |
Definition at line 59 of file wlan.c.
Referenced by WlanInit().
int WlanInit | ( | NUTDEVICE * | dev | ) |
Definition at line 145 of file wlan.c.
References _NUTDEVICE::dev_dcb, ERROR, memset(), NutHeapAlloc, OK, wlandrv_Attach(), wlandrv_Init(), and wlandrv_ProbeDevice().
int WlanIOCtl | ( | NUTDEVICE * | dev, |
int | req, | ||
void * | conf | ||
) |
Definition at line 202 of file wlan.c.
References wlandrv_IOCTL().
Definition at line 224 of file wlan.c.
References ERROR, and wlandrv_PutPacket().