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 "debug.h"
#include <net/netlink.h>

Go to the source code of this file.

Macros

#define ATH6KL_TM_DATA_MAX_LEN   5000
 

Enumerations

enum  ath6kl_tm_attr {
  __ATH6KL_TM_ATTR_INVALID = 0, ATH6KL_TM_ATTR_CMD = 1, ATH6KL_TM_ATTR_DATA = 2, __ATH6KL_TM_ATTR_AFTER_LAST,
  ATH6KL_TM_ATTR_MAX = __ATH6KL_TM_ATTR_AFTER_LAST - 1
}
 
enum  ath6kl_tm_cmd { ATH6KL_TM_CMD_TCMD = 0, ATH6KL_TM_CMD_RX_REPORT = 1 }
 

Functions

void ath6kl_tm_rx_event (struct ath6kl *ar, void *buf, size_t buf_len)
 
int ath6kl_tm_cmd (struct wiphy *wiphy, void *data, int len)
 

Macro Definition Documentation

#define ATH6KL_TM_DATA_MAX_LEN   5000

Definition at line 38 of file testmode.c.

Enumeration Type Documentation

Enumerator:
__ATH6KL_TM_ATTR_INVALID 
ATH6KL_TM_ATTR_CMD 
ATH6KL_TM_ATTR_DATA 
__ATH6KL_TM_ATTR_AFTER_LAST 
ATH6KL_TM_ATTR_MAX 

Definition at line 23 of file testmode.c.

Enumerator:
ATH6KL_TM_CMD_TCMD 
ATH6KL_TM_CMD_RX_REPORT 

Definition at line 33 of file testmode.c.

Function Documentation

int ath6kl_tm_cmd ( struct wiphy wiphy,
void data,
int  len 
)

Definition at line 69 of file testmode.c.

void ath6kl_tm_rx_event ( struct ath6kl ar,
void buf,
size_t  buf_len 
)

Definition at line 46 of file testmode.c.