Nut/OS  5.0.5
API Reference
wlan.c File Reference
#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>
Include dependency graph for wlan.c:

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 Documentation

#define __WLAN_C__
#define ERROR   -1
#define OK   0

Referenced by WlanInit().


Function Documentation

int WlanInit ( NUTDEVICE dev)

References _NUTDEVICE::dev_dcb, ERROR, memset(), NULL, NutHeapAlloc, OK, wlandrv_Attach(), wlandrv_Init(), and wlandrv_ProbeDevice().

Here is the call graph for this function:

int WlanIOCtl ( NUTDEVICE dev,
int  req,
void *  conf 
)

References wlandrv_IOCTL().

Here is the call graph for this function:

int WlanOutput ( NUTDEVICE dev,
NETBUF nb 
)

References ERROR, and wlandrv_PutPacket().

Here is the call graph for this function:


Variable Documentation

Initial value:
 {
    0,                          
    {'w', 'l', 'a', 'n', '0', 0, 0, 0, 0},      
    IFTYP_NET,                  
    0,                          
    0,                          
    &ifn_eth0,                  
    0,                          
    WlanInit,                   
    WlanIOCtl,                  
    0,                          
    0,                          
    0,                          
    0,                          
    0,                          
    0                           
}