Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
islpci_mgt.h File Reference
#include <linux/wireless.h>
#include <linux/skbuff.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  __packed
 
struct  islpci_mgmtframe
 

Macros

#define K_DEBUG(f, m, args...)   do { if(f & m) printk(KERN_DEBUG args); } while(0)
 
#define DEBUG(f, args...)   K_DEBUG(f, pc_debug, args)
 
#define init_wds   0 /* help compiler optimize away dead code */
 
#define PCIDEVICE_LATENCY_TIMER_MIN   0x40
 
#define PCIDEVICE_LATENCY_TIMER_VAL   0x50
 
#define SHOW_NOTHING   0x00 /* overrules everything */
 
#define SHOW_ANYTHING   0xFF
 
#define SHOW_ERROR_MESSAGES   0x01
 
#define SHOW_TRAPS   0x02
 
#define SHOW_FUNCTION_CALLS   0x04
 
#define SHOW_TRACING   0x08
 
#define SHOW_QUEUE_INDEXES   0x10
 
#define SHOW_PIMFOR_FRAMES   0x20
 
#define SHOW_BUFFER_CONTENTS   0x40
 
#define VERBOSE   0x01
 
#define CARD_DEFAULT_CHANNEL   6
 
#define CARD_DEFAULT_MODE   INL_MODE_CLIENT
 
#define CARD_DEFAULT_IW_MODE   IW_MODE_INFRA
 
#define CARD_DEFAULT_BSSTYPE   DOT11_BSSTYPE_INFRA
 
#define CARD_DEFAULT_CLIENT_SSID   ""
 
#define CARD_DEFAULT_AP_SSID   "default"
 
#define CARD_DEFAULT_KEY1   "default_key_1"
 
#define CARD_DEFAULT_KEY2   "default_key_2"
 
#define CARD_DEFAULT_KEY3   "default_key_3"
 
#define CARD_DEFAULT_KEY4   "default_key_4"
 
#define CARD_DEFAULT_WEP   0
 
#define CARD_DEFAULT_FILTER   0
 
#define CARD_DEFAULT_WDS   0
 
#define CARD_DEFAULT_AUTHEN   DOT11_AUTH_OS
 
#define CARD_DEFAULT_DOT1X   0
 
#define CARD_DEFAULT_MLME_MODE   DOT11_MLME_AUTO
 
#define CARD_DEFAULT_CONFORMANCE   OID_INL_CONFORMANCE_NONE
 
#define CARD_DEFAULT_PROFILE   DOT11_PROFILE_MIXED_G_WIFI
 
#define CARD_DEFAULT_MAXFRAMEBURST   DOT11_MAXFRAMEBURST_MIXED_SAFE
 
#define PIMFOR_ETHERTYPE   0x8828
 
#define PIMFOR_HEADER_SIZE   12
 
#define PIMFOR_VERSION   1
 
#define PIMFOR_OP_GET   0
 
#define PIMFOR_OP_SET   1
 
#define PIMFOR_OP_RESPONSE   2
 
#define PIMFOR_OP_ERROR   3
 
#define PIMFOR_OP_TRAP   4
 
#define PIMFOR_OP_RESERVED   5 /* till 255 */
 
#define PIMFOR_DEV_ID_MHLI_MIB   0
 
#define PIMFOR_FLAG_APPLIC_ORIGIN   0x01
 
#define PIMFOR_FLAG_LITTLE_ENDIAN   0x02
 

Functions

void display_buffer (char *, int)
 
int islpci_mgt_receive (struct net_device *ndev)
 
int islpci_mgmt_rx_fill (struct net_device *ndev)
 
void islpci_mgt_cleanup_transmit (struct net_device *ndev)
 
int islpci_mgt_transaction (struct net_device *ndev, int operation, unsigned long oid, void *senddata, int sendlen, struct islpci_mgmtframe **recvframe)
 

Variables

int pc_debug
 

Macro Definition Documentation

#define CARD_DEFAULT_AP_SSID   "default"

Definition at line 60 of file islpci_mgt.h.

#define CARD_DEFAULT_AUTHEN   DOT11_AUTH_OS

Definition at line 68 of file islpci_mgt.h.

#define CARD_DEFAULT_BSSTYPE   DOT11_BSSTYPE_INFRA

Definition at line 58 of file islpci_mgt.h.

#define CARD_DEFAULT_CHANNEL   6

Definition at line 55 of file islpci_mgt.h.

#define CARD_DEFAULT_CLIENT_SSID   ""

Definition at line 59 of file islpci_mgt.h.

#define CARD_DEFAULT_CONFORMANCE   OID_INL_CONFORMANCE_NONE

Definition at line 71 of file islpci_mgt.h.

#define CARD_DEFAULT_DOT1X   0

Definition at line 69 of file islpci_mgt.h.

#define CARD_DEFAULT_FILTER   0

Definition at line 66 of file islpci_mgt.h.

#define CARD_DEFAULT_IW_MODE   IW_MODE_INFRA

Definition at line 57 of file islpci_mgt.h.

#define CARD_DEFAULT_KEY1   "default_key_1"

Definition at line 61 of file islpci_mgt.h.

#define CARD_DEFAULT_KEY2   "default_key_2"

Definition at line 62 of file islpci_mgt.h.

#define CARD_DEFAULT_KEY3   "default_key_3"

Definition at line 63 of file islpci_mgt.h.

#define CARD_DEFAULT_KEY4   "default_key_4"

Definition at line 64 of file islpci_mgt.h.

#define CARD_DEFAULT_MAXFRAMEBURST   DOT11_MAXFRAMEBURST_MIXED_SAFE

Definition at line 73 of file islpci_mgt.h.

#define CARD_DEFAULT_MLME_MODE   DOT11_MLME_AUTO

Definition at line 70 of file islpci_mgt.h.

#define CARD_DEFAULT_MODE   INL_MODE_CLIENT

Definition at line 56 of file islpci_mgt.h.

#define CARD_DEFAULT_PROFILE   DOT11_PROFILE_MIXED_G_WIFI

Definition at line 72 of file islpci_mgt.h.

#define CARD_DEFAULT_WDS   0

Definition at line 67 of file islpci_mgt.h.

#define CARD_DEFAULT_WEP   0

Definition at line 65 of file islpci_mgt.h.

#define DEBUG (   f,
  args... 
)    K_DEBUG(f, pc_debug, args)

Definition at line 32 of file islpci_mgt.h.

#define init_wds   0 /* help compiler optimize away dead code */

Definition at line 35 of file islpci_mgt.h.

#define K_DEBUG (   f,
  m,
  args... 
)    do { if(f & m) printk(KERN_DEBUG args); } while(0)

Definition at line 31 of file islpci_mgt.h.

#define PCIDEVICE_LATENCY_TIMER_MIN   0x40

Definition at line 39 of file islpci_mgt.h.

#define PCIDEVICE_LATENCY_TIMER_VAL   0x50

Definition at line 40 of file islpci_mgt.h.

#define PIMFOR_DEV_ID_MHLI_MIB   0

Definition at line 85 of file islpci_mgt.h.

#define PIMFOR_ETHERTYPE   0x8828

Definition at line 76 of file islpci_mgt.h.

#define PIMFOR_FLAG_APPLIC_ORIGIN   0x01

Definition at line 86 of file islpci_mgt.h.

#define PIMFOR_FLAG_LITTLE_ENDIAN   0x02

Definition at line 87 of file islpci_mgt.h.

#define PIMFOR_HEADER_SIZE   12

Definition at line 77 of file islpci_mgt.h.

#define PIMFOR_OP_ERROR   3

Definition at line 82 of file islpci_mgt.h.

#define PIMFOR_OP_GET   0

Definition at line 79 of file islpci_mgt.h.

#define PIMFOR_OP_RESERVED   5 /* till 255 */

Definition at line 84 of file islpci_mgt.h.

#define PIMFOR_OP_RESPONSE   2

Definition at line 81 of file islpci_mgt.h.

#define PIMFOR_OP_SET   1

Definition at line 80 of file islpci_mgt.h.

#define PIMFOR_OP_TRAP   4

Definition at line 83 of file islpci_mgt.h.

#define PIMFOR_VERSION   1

Definition at line 78 of file islpci_mgt.h.

#define SHOW_ANYTHING   0xFF

Definition at line 44 of file islpci_mgt.h.

#define SHOW_BUFFER_CONTENTS   0x40

Definition at line 51 of file islpci_mgt.h.

#define SHOW_ERROR_MESSAGES   0x01

Definition at line 45 of file islpci_mgt.h.

#define SHOW_FUNCTION_CALLS   0x04

Definition at line 47 of file islpci_mgt.h.

#define SHOW_NOTHING   0x00 /* overrules everything */

Definition at line 43 of file islpci_mgt.h.

#define SHOW_PIMFOR_FRAMES   0x20

Definition at line 50 of file islpci_mgt.h.

#define SHOW_QUEUE_INDEXES   0x10

Definition at line 49 of file islpci_mgt.h.

#define SHOW_TRACING   0x08

Definition at line 48 of file islpci_mgt.h.

#define SHOW_TRAPS   0x02

Definition at line 46 of file islpci_mgt.h.

#define VERBOSE   0x01

Definition at line 52 of file islpci_mgt.h.

Function Documentation

void display_buffer ( char ,
int   
)
int islpci_mgmt_rx_fill ( struct net_device ndev)

Definition at line 108 of file islpci_mgt.c.

void islpci_mgt_cleanup_transmit ( struct net_device ndev)

Definition at line 415 of file islpci_mgt.c.

int islpci_mgt_receive ( struct net_device ndev)

Definition at line 272 of file islpci_mgt.c.

int islpci_mgt_transaction ( struct net_device ndev,
int  operation,
unsigned long  oid,
void senddata,
int  sendlen,
struct islpci_mgmtframe **  recvframe 
)

Definition at line 449 of file islpci_mgt.c.

Variable Documentation

int pc_debug

Definition at line 40 of file islpci_mgt.c.