Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
testmode.c File Reference
#include "testmode.h"
#include <linux/slab.h>
#include <net/genetlink.h>
#include "wlcore.h"
#include "debug.h"
#include "acx.h"
#include "ps.h"
#include "io.h"

Go to the source code of this file.

Macros

#define WL1271_TM_MAX_DATA_LENGTH   1024
 
#define WL1271_TM_CMD_MAX   (__WL1271_TM_CMD_AFTER_LAST - 1)
 
#define WL1271_TM_ATTR_MAX   (__WL1271_TM_ATTR_AFTER_LAST - 1)
 

Enumerations

enum  wl1271_tm_commands {
  WL1271_TM_CMD_UNSPEC, WL1271_TM_CMD_TEST, WL1271_TM_CMD_INTERROGATE, WL1271_TM_CMD_CONFIGURE,
  WL1271_TM_CMD_NVS_PUSH, WL1271_TM_CMD_SET_PLT_MODE, WL1271_TM_CMD_RECOVER, WL1271_TM_CMD_GET_MAC,
  __WL1271_TM_CMD_AFTER_LAST
}
 
enum  wl1271_tm_attrs {
  WL1271_TM_ATTR_UNSPEC, WL1271_TM_ATTR_CMD_ID, WL1271_TM_ATTR_ANSWER, WL1271_TM_ATTR_DATA,
  WL1271_TM_ATTR_IE_ID, WL1271_TM_ATTR_PLT_MODE, __WL1271_TM_ATTR_AFTER_LAST
}
 

Functions

int wl1271_tm_cmd (struct ieee80211_hw *hw, void *data, int len)
 

Macro Definition Documentation

#define WL1271_TM_ATTR_MAX   (__WL1271_TM_ATTR_AFTER_LAST - 1)

Definition at line 60 of file testmode.c.

#define WL1271_TM_CMD_MAX   (__WL1271_TM_CMD_AFTER_LAST - 1)

Definition at line 48 of file testmode.c.

#define WL1271_TM_MAX_DATA_LENGTH   1024

Definition at line 34 of file testmode.c.

Enumeration Type Documentation

Enumerator:
WL1271_TM_ATTR_UNSPEC 
WL1271_TM_ATTR_CMD_ID 
WL1271_TM_ATTR_ANSWER 
WL1271_TM_ATTR_DATA 
WL1271_TM_ATTR_IE_ID 
WL1271_TM_ATTR_PLT_MODE 
__WL1271_TM_ATTR_AFTER_LAST 

Definition at line 50 of file testmode.c.

Enumerator:
WL1271_TM_CMD_UNSPEC 
WL1271_TM_CMD_TEST 
WL1271_TM_CMD_INTERROGATE 
WL1271_TM_CMD_CONFIGURE 
WL1271_TM_CMD_NVS_PUSH 
WL1271_TM_CMD_SET_PLT_MODE 
WL1271_TM_CMD_RECOVER 
WL1271_TM_CMD_GET_MAC 
__WL1271_TM_CMD_AFTER_LAST 

Definition at line 36 of file testmode.c.

Function Documentation

int wl1271_tm_cmd ( struct ieee80211_hw hw,
void data,
int  len 
)

Definition at line 359 of file testmode.c.