Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
iwl-testmode.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define TRACE_BUFF_SIZE_MAX   0x200000
 
#define TRACE_BUFF_SIZE_MIN   0x20000
 
#define TRACE_BUFF_SIZE_DEF   TRACE_BUFF_SIZE_MIN
 
#define TRACE_BUFF_PADD   0x2000
 
#define DUMP_CHUNK_SIZE   (PAGE_SIZE - 1024)
 
#define SRAM_DATA_SEG_OFFSET   0x800000
 

Enumerations

enum  iwl_tm_cmd_t {
  IWL_TM_CMD_APP2DEV_UCODE = 1, IWL_TM_CMD_APP2DEV_DIRECT_REG_READ32 = 2, IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE32 = 3, IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE8 = 4,
  IWL_TM_CMD_APP2DEV_GET_DEVICENAME = 5, IWL_TM_CMD_APP2DEV_LOAD_INIT_FW = 6, IWL_TM_CMD_APP2DEV_CFG_INIT_CALIB = 7, IWL_TM_CMD_APP2DEV_LOAD_RUNTIME_FW = 8,
  IWL_TM_CMD_APP2DEV_GET_EEPROM = 9, IWL_TM_CMD_APP2DEV_FIXRATE_REQ = 10, IWL_TM_CMD_APP2DEV_BEGIN_TRACE = 11, IWL_TM_CMD_APP2DEV_END_TRACE = 12,
  IWL_TM_CMD_APP2DEV_READ_TRACE = 13, IWL_TM_CMD_DEV2APP_SYNC_RSP = 14, IWL_TM_CMD_DEV2APP_UCODE_RX_PKT = 15, IWL_TM_CMD_DEV2APP_EEPROM_RSP = 16,
  IWL_TM_CMD_APP2DEV_OWNERSHIP = 17, RESERVED_18 = 18, RESERVED_19 = 19, RESERVED_20 = 20,
  RESERVED_21 = 21, IWL_TM_CMD_APP2DEV_LOAD_WOWLAN_FW = 22, IWL_TM_CMD_APP2DEV_GET_FW_VERSION = 23, IWL_TM_CMD_APP2DEV_GET_DEVICE_ID = 24,
  IWL_TM_CMD_APP2DEV_GET_FW_INFO = 25, IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_READ = 26, IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_DUMP = 27, IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_WRITE = 28,
  IWL_TM_CMD_APP2DEV_NOTIFICATIONS = 29, IWL_TM_CMD_MAX = 30
}
 
enum  iwl_tm_attr_t {
  IWL_TM_ATTR_NOT_APPLICABLE = 0, IWL_TM_ATTR_COMMAND = 1, IWL_TM_ATTR_UCODE_CMD_ID = 2, IWL_TM_ATTR_UCODE_CMD_DATA = 3,
  IWL_TM_ATTR_REG_OFFSET = 4, IWL_TM_ATTR_REG_VALUE8 = 5, IWL_TM_ATTR_REG_VALUE32 = 6, IWL_TM_ATTR_SYNC_RSP = 7,
  IWL_TM_ATTR_UCODE_RX_PKT = 8, IWL_TM_ATTR_EEPROM = 9, IWL_TM_ATTR_TRACE_ADDR = 10, IWL_TM_ATTR_TRACE_SIZE = 11,
  IWL_TM_ATTR_TRACE_DUMP = 12, IWL_TM_ATTR_FIXRATE = 13, IWL_TM_ATTR_UCODE_OWNER = 14, IWL_TM_ATTR_MEM_ADDR = 15,
  IWL_TM_ATTR_BUFFER_SIZE = 16, IWL_TM_ATTR_BUFFER_DUMP = 17, IWL_TM_ATTR_FW_VERSION = 18, IWL_TM_ATTR_DEVICE_ID = 19,
  IWL_TM_ATTR_FW_TYPE = 20, IWL_TM_ATTR_FW_INST_SIZE = 21, IWL_TM_ATTR_FW_DATA_SIZE = 22, IWL_TM_ATTR_UCODE_CMD_SKB = 23,
  IWL_TM_ATTR_ENABLE_NOTIFICATION = 24, IWL_TM_ATTR_MAX = 25
}
 

Macro Definition Documentation

#define DUMP_CHUNK_SIZE   (PAGE_SIZE - 1024)

Definition at line 304 of file iwl-testmode.h.

#define SRAM_DATA_SEG_OFFSET   0x800000

Definition at line 307 of file iwl-testmode.h.

#define TRACE_BUFF_PADD   0x2000

Definition at line 301 of file iwl-testmode.h.

#define TRACE_BUFF_SIZE_DEF   TRACE_BUFF_SIZE_MIN

Definition at line 300 of file iwl-testmode.h.

#define TRACE_BUFF_SIZE_MAX   0x200000

Definition at line 298 of file iwl-testmode.h.

#define TRACE_BUFF_SIZE_MIN   0x20000

Definition at line 299 of file iwl-testmode.h.

Enumeration Type Documentation

Enumerator:
IWL_TM_ATTR_NOT_APPLICABLE 
IWL_TM_ATTR_COMMAND 
IWL_TM_ATTR_UCODE_CMD_ID 
IWL_TM_ATTR_UCODE_CMD_DATA 
IWL_TM_ATTR_REG_OFFSET 
IWL_TM_ATTR_REG_VALUE8 
IWL_TM_ATTR_REG_VALUE32 
IWL_TM_ATTR_SYNC_RSP 
IWL_TM_ATTR_UCODE_RX_PKT 
IWL_TM_ATTR_EEPROM 
IWL_TM_ATTR_TRACE_ADDR 
IWL_TM_ATTR_TRACE_SIZE 
IWL_TM_ATTR_TRACE_DUMP 
IWL_TM_ATTR_FIXRATE 
IWL_TM_ATTR_UCODE_OWNER 
IWL_TM_ATTR_MEM_ADDR 
IWL_TM_ATTR_BUFFER_SIZE 
IWL_TM_ATTR_BUFFER_DUMP 
IWL_TM_ATTR_FW_VERSION 
IWL_TM_ATTR_DEVICE_ID 
IWL_TM_ATTR_FW_TYPE 
IWL_TM_ATTR_FW_INST_SIZE 
IWL_TM_ATTR_FW_DATA_SIZE 
IWL_TM_ATTR_UCODE_CMD_SKB 
IWL_TM_ATTR_ENABLE_NOTIFICATION 
IWL_TM_ATTR_MAX 

Definition at line 268 of file iwl-testmode.h.

Enumerator:
IWL_TM_CMD_APP2DEV_UCODE 
IWL_TM_CMD_APP2DEV_DIRECT_REG_READ32 
IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE32 
IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE8 
IWL_TM_CMD_APP2DEV_GET_DEVICENAME 
IWL_TM_CMD_APP2DEV_LOAD_INIT_FW 
IWL_TM_CMD_APP2DEV_CFG_INIT_CALIB 
IWL_TM_CMD_APP2DEV_LOAD_RUNTIME_FW 
IWL_TM_CMD_APP2DEV_GET_EEPROM 
IWL_TM_CMD_APP2DEV_FIXRATE_REQ 
IWL_TM_CMD_APP2DEV_BEGIN_TRACE 
IWL_TM_CMD_APP2DEV_END_TRACE 
IWL_TM_CMD_APP2DEV_READ_TRACE 
IWL_TM_CMD_DEV2APP_SYNC_RSP 
IWL_TM_CMD_DEV2APP_UCODE_RX_PKT 
IWL_TM_CMD_DEV2APP_EEPROM_RSP 
IWL_TM_CMD_APP2DEV_OWNERSHIP 
RESERVED_18 
RESERVED_19 
RESERVED_20 
RESERVED_21 
IWL_TM_CMD_APP2DEV_LOAD_WOWLAN_FW 
IWL_TM_CMD_APP2DEV_GET_FW_VERSION 
IWL_TM_CMD_APP2DEV_GET_DEVICE_ID 
IWL_TM_CMD_APP2DEV_GET_FW_INFO 
IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_READ 
IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_DUMP 
IWL_TM_CMD_APP2DEV_INDIRECT_BUFFER_WRITE 
IWL_TM_CMD_APP2DEV_NOTIFICATIONS 
IWL_TM_CMD_MAX 

Definition at line 129 of file iwl-testmode.h.