Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
orinoco.h File Reference
#include <linux/interrupt.h>
#include <linux/suspend.h>
#include <linux/netdevice.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <net/cfg80211.h>
#include "hermes.h"

Go to the source code of this file.

Data Structures

struct  orinoco_key
 
struct  orinoco_tkip_key
 
struct  orinoco_private
 

Macros

#define DRIVER_VERSION   "0.15"
 
#define WIRELESS_SPY   /* enable iwspy support */
 
#define MAX_SCAN_LEN   4096
 
#define ORINOCO_SEQ_LEN   8
 
#define ORINOCO_MAX_KEY_SIZE   14
 
#define ORINOCO_MAX_KEYS   4
 
#define TKIP_KEYLEN   16
 
#define MIC_KEYLEN   8
 
#define DEBUG(n, args...)   do { } while (0)
 

Enumerations

enum  orinoco_alg { ORINOCO_ALG_NONE, ORINOCO_ALG_WEP, ORINOCO_ALG_TKIP }
 
enum  fwtype { FIRMWARE_TYPE_AGERE, FIRMWARE_TYPE_INTERSIL, FIRMWARE_TYPE_SYMBOL }
 

Functions

struct orinoco_privatealloc_orinocodev (int sizeof_card, struct device *device, int(*hard_reset)(struct orinoco_private *), int(*stop_fw)(struct orinoco_private *, int))
 
void free_orinocodev (struct orinoco_private *priv)
 
int orinoco_init (struct orinoco_private *priv)
 
int orinoco_if_add (struct orinoco_private *priv, unsigned long base_addr, unsigned int irq, const struct net_device_ops *ops)
 
void orinoco_if_del (struct orinoco_private *priv)
 
int orinoco_up (struct orinoco_private *priv)
 
void orinoco_down (struct orinoco_private *priv)
 
irqreturn_t orinoco_interrupt (int irq, void *dev_id)
 
void __orinoco_ev_info (struct net_device *dev, struct hermes *hw)
 
void __orinoco_ev_rx (struct net_device *dev, struct hermes *hw)
 
int orinoco_process_xmit_skb (struct sk_buff *skb, struct net_device *dev, struct orinoco_private *priv, int *tx_control, u8 *mic)
 
int orinoco_open (struct net_device *dev)
 
int orinoco_stop (struct net_device *dev)
 
struct net_device_statsorinoco_get_stats (struct net_device *dev)
 
void orinoco_set_multicast_list (struct net_device *dev)
 
int orinoco_change_mtu (struct net_device *dev, int new_mtu)
 
void orinoco_tx_timeout (struct net_device *dev)
 

Variables

struct orinoco_key __packed
 

Macro Definition Documentation

#define DEBUG (   n,
  args... 
)    do { } while (0)

Definition at line 178 of file orinoco.h.

#define DRIVER_VERSION   "0.15"

Definition at line 10 of file orinoco.h.

#define MAX_SCAN_LEN   4096

Definition at line 26 of file orinoco.h.

#define MIC_KEYLEN   8

Definition at line 38 of file orinoco.h.

#define ORINOCO_MAX_KEY_SIZE   14

Definition at line 29 of file orinoco.h.

#define ORINOCO_MAX_KEYS   4

Definition at line 30 of file orinoco.h.

#define ORINOCO_SEQ_LEN   8

Definition at line 28 of file orinoco.h.

#define TKIP_KEYLEN   16

Definition at line 37 of file orinoco.h.

#define WIRELESS_SPY   /* enable iwspy support */

Definition at line 24 of file orinoco.h.

Enumeration Type Documentation

enum fwtype
Enumerator:
FIRMWARE_TYPE_AGERE 
FIRMWARE_TYPE_INTERSIL 
FIRMWARE_TYPE_SYMBOL 

Definition at line 52 of file orinoco.h.

Enumerator:
ORINOCO_ALG_NONE 
ORINOCO_ALG_WEP 
ORINOCO_ALG_TKIP 

Definition at line 46 of file orinoco.h.

Function Documentation

void __orinoco_ev_info ( struct net_device dev,
struct hermes hw 
)

Definition at line 1408 of file main.c.

void __orinoco_ev_rx ( struct net_device dev,
struct hermes hw 
)

Definition at line 840 of file main.c.

struct orinoco_private* alloc_orinocodev ( int  sizeof_card,
struct device device,
int(*)(struct orinoco_private *)  hard_reset,
int(*)(struct orinoco_private *, int stop_fw 
)
read

Definition at line 2175 of file main.c.

void free_orinocodev ( struct orinoco_private priv)

Definition at line 2322 of file main.c.

int orinoco_change_mtu ( struct net_device dev,
int  new_mtu 
)

Definition at line 318 of file main.c.

void orinoco_down ( struct orinoco_private priv)

Definition at line 2396 of file main.c.

struct net_device_stats* orinoco_get_stats ( struct net_device dev)
read

Definition at line 294 of file main.c.

int orinoco_if_add ( struct orinoco_private priv,
unsigned long  base_addr,
unsigned int  irq,
const struct net_device_ops ops 
)

Definition at line 2249 of file main.c.

void orinoco_if_del ( struct orinoco_private priv)

Definition at line 2313 of file main.c.

int orinoco_init ( struct orinoco_private priv)

Definition at line 2031 of file main.c.

irqreturn_t orinoco_interrupt ( int  irq,
void dev_id 
)

Definition at line 1893 of file main.c.

int orinoco_open ( struct net_device dev)

Definition at line 254 of file main.c.

int orinoco_process_xmit_skb ( struct sk_buff skb,
struct net_device dev,
struct orinoco_private priv,
int tx_control,
u8 mic 
)

Definition at line 364 of file main.c.

void orinoco_set_multicast_list ( struct net_device dev)

Definition at line 302 of file main.c.

int orinoco_stop ( struct net_device dev)

Definition at line 274 of file main.c.

void orinoco_tx_timeout ( struct net_device dev)

Definition at line 662 of file main.c.

int orinoco_up ( struct orinoco_private priv)

Definition at line 2364 of file main.c.

Variable Documentation