FreeBSD kernel iwm device code
if_iwm_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iwm_cfg
 

Macros

#define IWM_DEFAULT_MAX_TX_POWER   22
 
#define IWM_ANT_NONE   0x0
 
#define IWM_ANT_A   (1 << 0)
 
#define IWM_ANT_B   (1 << 1)
 
#define IWM_ANT_C   (1 << 2)
 
#define IWM_ANT_AB   (IWM_ANT_A | IWM_ANT_B)
 
#define IWM_ANT_AC   (IWM_ANT_A | IWM_ANT_C)
 
#define IWM_ANT_BC   (IWM_ANT_B | IWM_ANT_C)
 
#define IWM_ANT_ABC   (IWM_ANT_A | IWM_ANT_B | IWM_ANT_C)
 
#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_7000   (16 * 512 * sizeof(uint16_t)) /* 16 KB */
 
#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000   (32 * 512 * sizeof(uint16_t)) /* 32 KB */
 
#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_9000   IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000
 

Enumerations

enum  iwm_device_family { IWM_DEVICE_FAMILY_UNDEFINED , IWM_DEVICE_FAMILY_7000 , IWM_DEVICE_FAMILY_8000 , IWM_DEVICE_FAMILY_9000 }
 
enum  iwm_nvm_type { IWM_NVM , IWM_NVM_EXT , IWM_NVM_SDP }
 

Functions

static uint8_t num_of_ant (uint8_t mask)
 

Variables

: Official name of the device

struct iwm_cfg

@fw_name: Firmware filename. @host_interrupt_operation_mode: device needs host interrupt operation mode set @nvm_hw_section_num: the ID of the HW NVM section @apmg_wake_up_wa: should the MAC access REQ be asserted when a command is in flight. This is due to a HW bug in 7260, 3160 and 7265. @nvm_type: see &enum iwl_nvm_type

const struct iwm_cfg iwm7260_cfg
 
const struct iwm_cfg iwm3160_cfg
 
const struct iwm_cfg iwm3165_cfg
 
const struct iwm_cfg iwm3168_cfg
 
const struct iwm_cfg iwm7265_cfg
 
const struct iwm_cfg iwm7265d_cfg
 
const struct iwm_cfg iwm8260_cfg
 
const struct iwm_cfg iwm8265_cfg
 
const struct iwm_cfg iwm9560_cfg
 
const struct iwm_cfg iwm9260_cfg
 

Macro Definition Documentation

◆ IWM_ANT_A

#define IWM_ANT_A   (1 << 0)

Definition at line 88 of file if_iwm_config.h.

◆ IWM_ANT_AB

#define IWM_ANT_AB   (IWM_ANT_A | IWM_ANT_B)

Definition at line 91 of file if_iwm_config.h.

◆ IWM_ANT_ABC

#define IWM_ANT_ABC   (IWM_ANT_A | IWM_ANT_B | IWM_ANT_C)

Definition at line 94 of file if_iwm_config.h.

◆ IWM_ANT_AC

#define IWM_ANT_AC   (IWM_ANT_A | IWM_ANT_C)

Definition at line 92 of file if_iwm_config.h.

◆ IWM_ANT_B

#define IWM_ANT_B   (1 << 1)

Definition at line 89 of file if_iwm_config.h.

◆ IWM_ANT_BC

#define IWM_ANT_BC   (IWM_ANT_B | IWM_ANT_C)

Definition at line 93 of file if_iwm_config.h.

◆ IWM_ANT_C

#define IWM_ANT_C   (1 << 2)

Definition at line 90 of file if_iwm_config.h.

◆ IWM_ANT_NONE

#define IWM_ANT_NONE   0x0

Definition at line 87 of file if_iwm_config.h.

◆ IWM_DEFAULT_MAX_TX_POWER

#define IWM_DEFAULT_MAX_TX_POWER   22

Definition at line 84 of file if_iwm_config.h.

◆ IWM_OTP_LOW_IMAGE_SIZE_FAMILY_7000

#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_7000   (16 * 512 * sizeof(uint16_t)) /* 16 KB */

Definition at line 104 of file if_iwm_config.h.

◆ IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000

#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000   (32 * 512 * sizeof(uint16_t)) /* 32 KB */

Definition at line 105 of file if_iwm_config.h.

◆ IWM_OTP_LOW_IMAGE_SIZE_FAMILY_9000

#define IWM_OTP_LOW_IMAGE_SIZE_FAMILY_9000   IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000

Definition at line 106 of file if_iwm_config.h.

Enumeration Type Documentation

◆ iwm_device_family

Enumerator
IWM_DEVICE_FAMILY_UNDEFINED 
IWM_DEVICE_FAMILY_7000 
IWM_DEVICE_FAMILY_8000 
IWM_DEVICE_FAMILY_9000 

Definition at line 77 of file if_iwm_config.h.

◆ iwm_nvm_type

enum iwl_nvm_type - nvm formats @IWM_NVM: the regular format @IWM_NVM_EXT: extended NVM format @IWM_NVM_SDP: NVM format used by 3168 series

Enumerator
IWM_NVM 
IWM_NVM_EXT 
IWM_NVM_SDP 

Definition at line 115 of file if_iwm_config.h.

Function Documentation

◆ num_of_ant()

static uint8_t num_of_ant ( uint8_t  mask)
inlinestatic

Definition at line 96 of file if_iwm_config.h.

References IWM_ANT_A, IWM_ANT_B, and IWM_ANT_C.

Referenced by iwm_rx_diversity_allowed().

Here is the caller graph for this function:

Variable Documentation

◆ iwm3160_cfg

const struct iwm_cfg iwm3160_cfg
extern

Definition at line 103 of file if_iwm_7000.c.

◆ iwm3165_cfg

const struct iwm_cfg iwm3165_cfg
extern

Definition at line 110 of file if_iwm_7000.c.

◆ iwm3168_cfg

const struct iwm_cfg iwm3168_cfg
extern

Definition at line 117 of file if_iwm_7000.c.

◆ iwm7260_cfg

const struct iwm_cfg iwm7260_cfg
extern

Definition at line 96 of file if_iwm_7000.c.

◆ iwm7265_cfg

const struct iwm_cfg iwm7265_cfg
extern

Definition at line 125 of file if_iwm_7000.c.

Referenced by iwm_attach().

◆ iwm7265d_cfg

const struct iwm_cfg iwm7265d_cfg
extern

Definition at line 132 of file if_iwm_7000.c.

Referenced by iwm_attach().

◆ iwm8260_cfg

const struct iwm_cfg iwm8260_cfg
extern

Definition at line 91 of file if_iwm_8000.c.

◆ iwm8265_cfg

const struct iwm_cfg iwm8265_cfg
extern

Definition at line 98 of file if_iwm_8000.c.

◆ iwm9260_cfg

const struct iwm_cfg iwm9260_cfg
extern

Definition at line 90 of file if_iwm_9260.c.

◆ iwm9560_cfg

const struct iwm_cfg iwm9560_cfg
extern

Definition at line 90 of file if_iwm_9000.c.