wlan.c File Reference

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 Documentation

#define __WLAN_C__

Definition at line 37 of file wlan.c.

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


Function Documentation

int WlanInit ( NUTDEVICE dev  ) 

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

Definition at line 201 of file wlan.c.

References wlandrv_IOCTL().

int WlanOutput ( NUTDEVICE dev,
NETBUF nb 
)

Definition at line 223 of file wlan.c.

References ERROR, and wlandrv_PutPacket().


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                           
}

Definition at line 102 of file wlan.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/