Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
prism2mgmt.c File Reference
#include <linux/if_arp.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/wireless.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <asm/byteorder.h>
#include <linux/random.h>
#include <linux/usb.h>
#include <linux/bitops.h>
#include "p80211types.h"
#include "p80211hdr.h"
#include "p80211mgmt.h"
#include "p80211conv.h"
#include "p80211msg.h"
#include "p80211netdev.h"
#include "p80211metadef.h"
#include "p80211metastruct.h"
#include "hfa384x.h"
#include "prism2mgmt.h"

Go to the source code of this file.

Macros

#define p80211rate_to_p2bit(n)
 
#define REQBASICRATE(N)
 
#define REQSUPPRATE(N)
 

Functions

int prism2mgmt_scan (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_scan_results (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_start (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_readpda (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_ramdl_state (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_ramdl_write (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_flashdl_state (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_flashdl_write (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_autojoin (wlandevice_t *wlandev, void *msgp)
 
int prism2mgmt_wlansniff (wlandevice_t *wlandev, void *msgp)
 

Macro Definition Documentation

#define p80211rate_to_p2bit (   n)
Value:
((((n)&~BIT(7)) == 2) ? BIT(0) : \
(((n)&~BIT(7)) == 4) ? BIT(1) : \
(((n)&~BIT(7)) == 11) ? BIT(2) : \
(((n)&~BIT(7)) == 22) ? BIT(3) : 0)

Definition at line 87 of file prism2mgmt.c.

#define REQBASICRATE (   N)
Value:
if ((count >= N) && DOT11_RATE5_ISBASIC_GET(item->supprates[(N)-1])) { \
req->basicrate ## N .data = item->supprates[(N)-1]; \
req->basicrate ## N .status = \
P80211ENUM_msgitem_status_data_ok; \
}
#define REQSUPPRATE (   N)
Value:
if (count >= N) { \
req->supprate ## N .data = item->supprates[(N)-1]; \
req->supprate ## N .status = \
P80211ENUM_msgitem_status_data_ok; \
}

Function Documentation

int prism2mgmt_autojoin ( wlandevice_t wlandev,
void msgp 
)

Definition at line 1008 of file prism2mgmt.c.

int prism2mgmt_flashdl_state ( wlandevice_t wlandev,
void msgp 
)

Definition at line 876 of file prism2mgmt.c.

int prism2mgmt_flashdl_write ( wlandevice_t wlandev,
void msgp 
)

Definition at line 947 of file prism2mgmt.c.

int prism2mgmt_ramdl_state ( wlandevice_t wlandev,
void msgp 
)

Definition at line 758 of file prism2mgmt.c.

int prism2mgmt_ramdl_write ( wlandevice_t wlandev,
void msgp 
)

Definition at line 814 of file prism2mgmt.c.

int prism2mgmt_readpda ( wlandevice_t wlandev,
void msgp 
)

Definition at line 692 of file prism2mgmt.c.

int prism2mgmt_scan ( wlandevice_t wlandev,
void msgp 
)

Definition at line 116 of file prism2mgmt.c.

int prism2mgmt_scan_results ( wlandevice_t wlandev,
void msgp 
)

Definition at line 361 of file prism2mgmt.c.

int prism2mgmt_start ( wlandevice_t wlandev,
void msgp 
)

Definition at line 515 of file prism2mgmt.c.

int prism2mgmt_wlansniff ( wlandevice_t wlandev,
void msgp 
)

Definition at line 1079 of file prism2mgmt.c.