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

Go to the source code of this file.

Data Structures

struct  tx_power_dual_stream
 
struct  iwlagn_tx_power_dbm_cmd
 
struct  iwl_tx_ant_config_cmd
 
struct  iwl_error_event_table
 
struct  iwl_alive_resp
 
struct  iwl_error_resp
 
struct  iwl_rxon_cmd
 
struct  iwl_rxon_assoc_cmd
 
struct  iwl_rxon_time_cmd
 
struct  iwl5000_channel_switch_cmd
 
struct  iwl6000_channel_switch_cmd
 
struct  iwl_csa_notification
 
struct  iwl_ac_qos
 
struct  iwl_qosparam_cmd
 
struct  iwl_keyinfo
 
struct  sta_id_modify
 
struct  iwl_addsta_cmd
 
struct  iwl_add_sta_resp
 
struct  iwl_rem_sta_resp
 
struct  iwl_rem_sta_cmd
 
struct  iwl_txfifo_flush_cmd
 
struct  iwl_wep_key
 
struct  iwl_wep_cmd
 
struct  iwlagn_non_cfg_phy
 
struct  iwl_rx_phy_res
 
struct  iwl_rx_mpdu_res_start
 
struct  iwl_dram_scratch
 
struct  iwl_tx_cmd
 
struct  agg_tx_status
 
struct  iwlagn_tx_resp
 
struct  iwl_compressed_ba_resp
 
struct  iwl_link_qual_general_params
 
struct  iwl_link_qual_agg_params
 
struct  iwl_link_quality_cmd
 
struct  iwl_bt_cmd
 
struct  iwl_basic_bt_cmd
 
struct  iwl_bt_cmd_v1
 
struct  iwl_bt_cmd_v2
 
struct  iwlagn_bt_sco_cmd
 
struct  iwl_measure_channel
 
struct  iwl_spectrum_cmd
 
struct  iwl_spectrum_resp
 
struct  iwl_measurement_histogram
 
struct  iwl_measurement_cca_counters
 
struct  iwl_spectrum_notification
 
struct  iwl_powertable_cmd
 
struct  iwl_sleep_notification
 
struct  iwl_card_state_cmd
 
struct  iwl_card_state_notif
 
struct  iwl_ct_kill_config
 
struct  iwl_ct_kill_throttling_config
 
struct  iwl_scan_channel
 
struct  iwl_ssid_ie
 
struct  iwl_scan_cmd
 
struct  iwl_scanreq_notification
 
struct  iwl_scanstart_notification
 
struct  iwl_scanresults_notification
 
struct  iwl_scancomplete_notification
 
struct  iwlagn_beacon_notif
 
struct  iwl_tx_beacon_cmd
 
struct  rate_histogram
 
struct  statistics_dbg
 
struct  statistics_rx_phy
 
struct  statistics_rx_ht_phy
 
struct  statistics_rx_non_phy
 
struct  statistics_rx_non_phy_bt
 
struct  statistics_rx
 
struct  statistics_rx_bt
 
struct  statistics_tx_power
 
struct  statistics_tx_non_phy_agg
 
struct  statistics_tx
 
struct  statistics_div
 
struct  statistics_general_common
 
struct  statistics_bt_activity
 
struct  statistics_general
 
struct  statistics_general_bt
 
struct  iwl_statistics_cmd
 
struct  iwl_notif_statistics
 
struct  iwl_bt_notif_statistics
 
struct  iwl_missed_beacon_notif
 
struct  iwl_sensitivity_cmd
 
struct  iwl_enhance_sensitivity_cmd
 
struct  iwl_calib_cfg_elmnt_s
 
struct  iwl_calib_cfg_status_s
 
struct  iwl_calib_cfg_cmd
 
struct  iwl_calib_hdr
 
struct  iwl_calib_cmd
 
struct  iwl_calib_xtal_freq_cmd
 
struct  iwl_calib_temperature_offset_cmd
 
struct  iwl_calib_temperature_offset_v2_cmd
 
struct  iwl_calib_chain_noise_reset_cmd
 
struct  iwl_calib_chain_noise_gain_cmd
 
struct  iwl_led_cmd
 
struct  iwl_wimax_coex_event_entry
 
struct  iwl_wimax_coex_cmd
 
struct  iwl_coex_medium_notification
 
struct  iwl_coex_event_cmd
 
struct  iwl_coex_event_resp
 
struct  iwl_bt_uart_msg
 
struct  iwl_bt_coex_profile_notif
 
struct  iwl_bt_coex_prio_table_cmd
 
struct  iwl_bt_coex_prot_env_cmd
 
struct  iwlagn_d3_config_cmd
 
struct  iwlagn_wowlan_pattern
 
struct  iwlagn_wowlan_patterns_cmd
 
struct  iwlagn_wowlan_wakeup_filter_cmd
 
struct  tkip_sc
 
struct  iwlagn_tkip_rsc_tsc
 
struct  aes_sc
 
struct  iwlagn_aes_rsc_tsc
 
union  iwlagn_all_tsc_rsc
 
struct  iwlagn_wowlan_rsc_tsc_params_cmd
 
struct  iwlagn_mic_keys
 
struct  iwlagn_p1k_cache
 
struct  iwlagn_wowlan_tkip_params_cmd
 
struct  iwlagn_wowlan_kek_kck_material_cmd
 
struct  iwl_wipan_slot
 
struct  iwl_wipan_params_cmd
 
struct  iwl_wipan_p2p_channel_switch_cmd
 
struct  iwl_wipan_noa_descriptor
 
struct  iwl_wipan_noa_attribute
 
struct  iwl_wipan_noa_notification
 

Macros

#define IWL_MIN_NUM_QUEUES   11
 
#define IWL_DEFAULT_CMD_QUEUE_NUM   4
 
#define IWL_IPAN_CMD_QUEUE_NUM   9
 
#define IWL_TX_FIFO_BK   0 /* shared */
 
#define IWL_TX_FIFO_BE   1
 
#define IWL_TX_FIFO_VI   2 /* shared */
 
#define IWL_TX_FIFO_VO   3
 
#define IWL_TX_FIFO_BK_IPAN   IWL_TX_FIFO_BK
 
#define IWL_TX_FIFO_BE_IPAN   4
 
#define IWL_TX_FIFO_VI_IPAN   IWL_TX_FIFO_VI
 
#define IWL_TX_FIFO_VO_IPAN   5
 
#define IWL_TX_FIFO_AUX   5
 
#define IWL_TX_FIFO_UNUSED   255
 
#define IWLAGN_CMD_FIFO_NUM   7
 
#define IWL_IPAN_MCAST_QUEUE   8
 
#define RATE_MCS_CODE_MSK   0x7
 
#define RATE_MCS_SPATIAL_POS   3
 
#define RATE_MCS_SPATIAL_MSK   0x18
 
#define RATE_MCS_HT_DUP_POS   5
 
#define RATE_MCS_HT_DUP_MSK   0x20
 
#define RATE_MCS_RATE_MSK   0xff
 
#define RATE_MCS_FLAGS_POS   8
 
#define RATE_MCS_HT_POS   8
 
#define RATE_MCS_HT_MSK   0x100
 
#define RATE_MCS_CCK_POS   9
 
#define RATE_MCS_CCK_MSK   0x200
 
#define RATE_MCS_GF_POS   10
 
#define RATE_MCS_GF_MSK   0x400
 
#define RATE_MCS_HT40_POS   11
 
#define RATE_MCS_HT40_MSK   0x800
 
#define RATE_MCS_DUP_POS   12
 
#define RATE_MCS_DUP_MSK   0x1000
 
#define RATE_MCS_SGI_POS   13
 
#define RATE_MCS_SGI_MSK   0x2000
 
#define RATE_MCS_ANT_POS   14
 
#define RATE_MCS_ANT_A_MSK   0x04000
 
#define RATE_MCS_ANT_B_MSK   0x08000
 
#define RATE_MCS_ANT_C_MSK   0x10000
 
#define RATE_MCS_ANT_AB_MSK   (RATE_MCS_ANT_A_MSK | RATE_MCS_ANT_B_MSK)
 
#define RATE_MCS_ANT_ABC_MSK   (RATE_MCS_ANT_AB_MSK | RATE_MCS_ANT_C_MSK)
 
#define RATE_ANT_NUM   3
 
#define POWER_TABLE_NUM_ENTRIES   33
 
#define POWER_TABLE_NUM_HT_OFDM_ENTRIES   32
 
#define POWER_TABLE_CCK_ENTRY   32
 
#define IWL_PWR_NUM_HT_OFDM_ENTRIES   24
 
#define IWL_PWR_CCK_ENTRIES   2
 
#define IWLAGN_TX_POWER_AUTO   0x7f
 
#define IWLAGN_TX_POWER_NO_CLOSED   (0x1 << 6)
 
#define UCODE_VALID_OK   cpu_to_le32(0x1)
 
#define RXON_RX_CHAIN_DRIVER_FORCE_MSK   cpu_to_le16(0x1 << 0)
 
#define RXON_RX_CHAIN_DRIVER_FORCE_POS   (0)
 
#define RXON_RX_CHAIN_VALID_MSK   cpu_to_le16(0x7 << 1)
 
#define RXON_RX_CHAIN_VALID_POS   (1)
 
#define RXON_RX_CHAIN_FORCE_SEL_MSK   cpu_to_le16(0x7 << 4)
 
#define RXON_RX_CHAIN_FORCE_SEL_POS   (4)
 
#define RXON_RX_CHAIN_FORCE_MIMO_SEL_MSK   cpu_to_le16(0x7 << 7)
 
#define RXON_RX_CHAIN_FORCE_MIMO_SEL_POS   (7)
 
#define RXON_RX_CHAIN_CNT_MSK   cpu_to_le16(0x3 << 10)
 
#define RXON_RX_CHAIN_CNT_POS   (10)
 
#define RXON_RX_CHAIN_MIMO_CNT_MSK   cpu_to_le16(0x3 << 12)
 
#define RXON_RX_CHAIN_MIMO_CNT_POS   (12)
 
#define RXON_RX_CHAIN_MIMO_FORCE_MSK   cpu_to_le16(0x1 << 14)
 
#define RXON_RX_CHAIN_MIMO_FORCE_POS   (14)
 
#define RXON_FLG_BAND_24G_MSK   cpu_to_le32(1 << 0)
 
#define RXON_FLG_CCK_MSK   cpu_to_le32(1 << 1)
 
#define RXON_FLG_AUTO_DETECT_MSK   cpu_to_le32(1 << 2)
 
#define RXON_FLG_TGG_PROTECT_MSK   cpu_to_le32(1 << 3)
 
#define RXON_FLG_SHORT_SLOT_MSK   cpu_to_le32(1 << 4)
 
#define RXON_FLG_SHORT_PREAMBLE_MSK   cpu_to_le32(1 << 5)
 
#define RXON_FLG_DIS_DIV_MSK   cpu_to_le32(1 << 7)
 
#define RXON_FLG_ANT_SEL_MSK   cpu_to_le32(0x0f00)
 
#define RXON_FLG_ANT_A_MSK   cpu_to_le32(1 << 8)
 
#define RXON_FLG_ANT_B_MSK   cpu_to_le32(1 << 9)
 
#define RXON_FLG_RADAR_DETECT_MSK   cpu_to_le32(1 << 12)
 
#define RXON_FLG_TGJ_NARROW_BAND_MSK   cpu_to_le32(1 << 13)
 
#define RXON_FLG_TSF2HOST_MSK   cpu_to_le32(1 << 15)
 
#define RXON_FLG_CTRL_CHANNEL_LOC_POS   (22)
 
#define RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK   cpu_to_le32(0x1 << 22)
 
#define RXON_FLG_HT_OPERATING_MODE_POS   (23)
 
#define RXON_FLG_HT_PROT_MSK   cpu_to_le32(0x1 << 23)
 
#define RXON_FLG_HT40_PROT_MSK   cpu_to_le32(0x2 << 23)
 
#define RXON_FLG_CHANNEL_MODE_POS   (25)
 
#define RXON_FLG_CHANNEL_MODE_MSK   cpu_to_le32(0x3 << 25)
 
#define RXON_FLG_CHANNEL_MODE_LEGACY   cpu_to_le32(CHANNEL_MODE_LEGACY << RXON_FLG_CHANNEL_MODE_POS)
 
#define RXON_FLG_CHANNEL_MODE_PURE_40   cpu_to_le32(CHANNEL_MODE_PURE_40 << RXON_FLG_CHANNEL_MODE_POS)
 
#define RXON_FLG_CHANNEL_MODE_MIXED   cpu_to_le32(CHANNEL_MODE_MIXED << RXON_FLG_CHANNEL_MODE_POS)
 
#define RXON_FLG_SELF_CTS_EN   cpu_to_le32(0x1<<30)
 
#define RXON_FILTER_PROMISC_MSK   cpu_to_le32(1 << 0)
 
#define RXON_FILTER_CTL2HOST_MSK   cpu_to_le32(1 << 1)
 
#define RXON_FILTER_ACCEPT_GRP_MSK   cpu_to_le32(1 << 2)
 
#define RXON_FILTER_DIS_DECRYPT_MSK   cpu_to_le32(1 << 3)
 
#define RXON_FILTER_DIS_GRP_DECRYPT_MSK   cpu_to_le32(1 << 4)
 
#define RXON_FILTER_ASSOC_MSK   cpu_to_le32(1 << 5)
 
#define RXON_FILTER_BCON_AWARE_MSK   cpu_to_le32(1 << 6)
 
#define IWL_CONN_MAX_LISTEN_INTERVAL   10
 
#define IWL_MAX_UCODE_BEACON_INTERVAL   4 /* 4096 */
 
#define QOS_PARAM_FLG_UPDATE_EDCA_MSK   cpu_to_le32(0x01)
 
#define QOS_PARAM_FLG_TGN_MSK   cpu_to_le32(0x02)
 
#define QOS_PARAM_FLG_TXOP_TYPE_MSK   cpu_to_le32(0x10)
 
#define AC_NUM   4
 
#define IWL_AP_ID   0
 
#define IWL_AP_ID_PAN   1
 
#define IWL_STA_ID   2
 
#define IWLAGN_PAN_BCAST_ID   14
 
#define IWLAGN_BROADCAST_ID   15
 
#define IWLAGN_STATION_COUNT   16
 
#define IWL_TID_NON_QOS   IWL_MAX_TID_COUNT
 
#define STA_FLG_TX_RATE_MSK   cpu_to_le32(1 << 2)
 
#define STA_FLG_PWR_SAVE_MSK   cpu_to_le32(1 << 8)
 
#define STA_FLG_PAN_STATION   cpu_to_le32(1 << 13)
 
#define STA_FLG_RTS_MIMO_PROT_MSK   cpu_to_le32(1 << 17)
 
#define STA_FLG_AGG_MPDU_8US_MSK   cpu_to_le32(1 << 18)
 
#define STA_FLG_MAX_AGG_SIZE_POS   (19)
 
#define STA_FLG_MAX_AGG_SIZE_MSK   cpu_to_le32(3 << 19)
 
#define STA_FLG_HT40_EN_MSK   cpu_to_le32(1 << 21)
 
#define STA_FLG_MIMO_DIS_MSK   cpu_to_le32(1 << 22)
 
#define STA_FLG_AGG_MPDU_DENSITY_POS   (23)
 
#define STA_FLG_AGG_MPDU_DENSITY_MSK   cpu_to_le32(7 << 23)
 
#define STA_CONTROL_MODIFY_MSK   0x01
 
#define STA_KEY_FLG_ENCRYPT_MSK   cpu_to_le16(0x0007)
 
#define STA_KEY_FLG_NO_ENC   cpu_to_le16(0x0000)
 
#define STA_KEY_FLG_WEP   cpu_to_le16(0x0001)
 
#define STA_KEY_FLG_CCMP   cpu_to_le16(0x0002)
 
#define STA_KEY_FLG_TKIP   cpu_to_le16(0x0003)
 
#define STA_KEY_FLG_KEYID_POS   8
 
#define STA_KEY_FLG_INVALID   cpu_to_le16(0x0800)
 
#define STA_KEY_FLG_MAP_KEY_MSK   cpu_to_le16(0x0008)
 
#define STA_KEY_FLG_KEY_SIZE_MSK   cpu_to_le16(0x1000)
 
#define STA_KEY_MULTICAST_MSK   cpu_to_le16(0x4000)
 
#define STA_KEY_MAX_NUM   8
 
#define STA_KEY_MAX_NUM_PAN   16
 
#define IWLAGN_HW_KEY_DEFAULT   0xfe
 
#define STA_MODIFY_KEY_MASK   0x01
 
#define STA_MODIFY_TID_DISABLE_TX   0x02
 
#define STA_MODIFY_TX_RATE_MSK   0x04
 
#define STA_MODIFY_ADDBA_TID_MSK   0x08
 
#define STA_MODIFY_DELBA_TID_MSK   0x10
 
#define STA_MODIFY_SLEEP_TX_COUNT_MSK   0x20
 
#define BUILD_RAxTID(sta_id, tid)   (((sta_id) << 4) + (tid))
 
#define ADD_STA_SUCCESS_MSK   0x1
 
#define ADD_STA_NO_ROOM_IN_TABLE   0x2
 
#define ADD_STA_NO_BLOCK_ACK_RESOURCE   0x4
 
#define ADD_STA_MODIFY_NON_EXIST_STA   0x8
 
#define REM_STA_SUCCESS_MSK   0x1
 
#define IWL_SCD_BK_MSK   cpu_to_le32(BIT(0))
 
#define IWL_SCD_BE_MSK   cpu_to_le32(BIT(1))
 
#define IWL_SCD_VI_MSK   cpu_to_le32(BIT(2))
 
#define IWL_SCD_VO_MSK   cpu_to_le32(BIT(3))
 
#define IWL_SCD_MGMT_MSK   cpu_to_le32(BIT(3))
 
#define IWL_PAN_SCD_BK_MSK   cpu_to_le32(BIT(4))
 
#define IWL_PAN_SCD_BE_MSK   cpu_to_le32(BIT(5))
 
#define IWL_PAN_SCD_VI_MSK   cpu_to_le32(BIT(6))
 
#define IWL_PAN_SCD_VO_MSK   cpu_to_le32(BIT(7))
 
#define IWL_PAN_SCD_MGMT_MSK   cpu_to_le32(BIT(7))
 
#define IWL_PAN_SCD_MULTICAST_MSK   cpu_to_le32(BIT(8))
 
#define IWL_AGG_TX_QUEUE_MSK   cpu_to_le32(0xffc00)
 
#define IWL_DROP_SINGLE   0
 
#define IWL_DROP_ALL   (BIT(IWL_RXON_CTX_BSS) | BIT(IWL_RXON_CTX_PAN))
 
#define WEP_KEY_WEP_TYPE   1
 
#define WEP_KEYS_MAX   4
 
#define WEP_INVALID_OFFSET   0xff
 
#define WEP_KEY_LEN_64   5
 
#define WEP_KEY_LEN_128   13
 
#define RX_RES_STATUS_NO_CRC32_ERROR   cpu_to_le32(1 << 0)
 
#define RX_RES_STATUS_NO_RXE_OVERFLOW   cpu_to_le32(1 << 1)
 
#define RX_RES_PHY_FLAGS_BAND_24_MSK   cpu_to_le16(1 << 0)
 
#define RX_RES_PHY_FLAGS_MOD_CCK_MSK   cpu_to_le16(1 << 1)
 
#define RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK   cpu_to_le16(1 << 2)
 
#define RX_RES_PHY_FLAGS_NARROW_BAND_MSK   cpu_to_le16(1 << 3)
 
#define RX_RES_PHY_FLAGS_ANTENNA_MSK   0x70
 
#define RX_RES_PHY_FLAGS_ANTENNA_POS   4
 
#define RX_RES_PHY_FLAGS_AGG_MSK   cpu_to_le16(1 << 7)
 
#define RX_RES_STATUS_SEC_TYPE_MSK   (0x7 << 8)
 
#define RX_RES_STATUS_SEC_TYPE_NONE   (0x0 << 8)
 
#define RX_RES_STATUS_SEC_TYPE_WEP   (0x1 << 8)
 
#define RX_RES_STATUS_SEC_TYPE_CCMP   (0x2 << 8)
 
#define RX_RES_STATUS_SEC_TYPE_TKIP   (0x3 << 8)
 
#define RX_RES_STATUS_SEC_TYPE_ERR   (0x7 << 8)
 
#define RX_RES_STATUS_STATION_FOUND   (1<<6)
 
#define RX_RES_STATUS_NO_STATION_INFO_MISMATCH   (1<<7)
 
#define RX_RES_STATUS_DECRYPT_TYPE_MSK   (0x3 << 11)
 
#define RX_RES_STATUS_NOT_DECRYPT   (0x0 << 11)
 
#define RX_RES_STATUS_DECRYPT_OK   (0x3 << 11)
 
#define RX_RES_STATUS_BAD_ICV_MIC   (0x1 << 11)
 
#define RX_RES_STATUS_BAD_KEY_TTAK   (0x2 << 11)
 
#define RX_MPDU_RES_STATUS_ICV_OK   (0x20)
 
#define RX_MPDU_RES_STATUS_MIC_OK   (0x40)
 
#define RX_MPDU_RES_STATUS_TTAK_OK   (1 << 7)
 
#define RX_MPDU_RES_STATUS_DEC_DONE_MSK   (0x800)
 
#define IWLAGN_RX_RES_PHY_CNT   8
 
#define IWLAGN_RX_RES_AGC_IDX   1
 
#define IWLAGN_RX_RES_RSSI_AB_IDX   2
 
#define IWLAGN_RX_RES_RSSI_C_IDX   3
 
#define IWLAGN_OFDM_AGC_MSK   0xfe00
 
#define IWLAGN_OFDM_AGC_BIT_POS   9
 
#define IWLAGN_OFDM_RSSI_INBAND_A_BITMSK   0x00ff
 
#define IWLAGN_OFDM_RSSI_ALLBAND_A_BITMSK   0xff00
 
#define IWLAGN_OFDM_RSSI_A_BIT_POS   0
 
#define IWLAGN_OFDM_RSSI_INBAND_B_BITMSK   0xff0000
 
#define IWLAGN_OFDM_RSSI_ALLBAND_B_BITMSK   0xff000000
 
#define IWLAGN_OFDM_RSSI_B_BIT_POS   16
 
#define IWLAGN_OFDM_RSSI_INBAND_C_BITMSK   0x00ff
 
#define IWLAGN_OFDM_RSSI_ALLBAND_C_BITMSK   0xff00
 
#define IWLAGN_OFDM_RSSI_C_BIT_POS   0
 
#define TX_CMD_FLG_PROT_REQUIRE_MSK   cpu_to_le32(1 << 0)
 
#define TX_CMD_FLG_ACK_MSK   cpu_to_le32(1 << 3)
 
#define TX_CMD_FLG_STA_RATE_MSK   cpu_to_le32(1 << 4)
 
#define TX_CMD_FLG_IMM_BA_RSP_MASK   cpu_to_le32(1 << 6)
 
#define TX_CMD_FLG_ANT_SEL_MSK   cpu_to_le32(0xf00)
 
#define TX_CMD_FLG_IGNORE_BT   cpu_to_le32(1 << 12)
 
#define TX_CMD_FLG_SEQ_CTL_MSK   cpu_to_le32(1 << 13)
 
#define TX_CMD_FLG_MORE_FRAG_MSK   cpu_to_le32(1 << 14)
 
#define TX_CMD_FLG_TSF_MSK   cpu_to_le32(1 << 16)
 
#define TX_CMD_FLG_MH_PAD_MSK   cpu_to_le32(1 << 20)
 
#define TX_CMD_FLG_AGG_CCMP_MSK   cpu_to_le32(1 << 22)
 
#define TX_CMD_FLG_DUR_MSK   cpu_to_le32(1 << 25)
 
#define TX_CMD_SEC_WEP   0x01
 
#define TX_CMD_SEC_CCM   0x02
 
#define TX_CMD_SEC_TKIP   0x03
 
#define TX_CMD_SEC_MSK   0x03
 
#define TX_CMD_SEC_SHIFT   6
 
#define TX_CMD_SEC_KEY128   0x08
 
#define WEP_IV_LEN   4
 
#define WEP_ICV_LEN   4
 
#define CCMP_MIC_LEN   8
 
#define TKIP_ICV_LEN   4
 
#define TX_PACKET_MODE_REGULAR   0x0000
 
#define TX_PACKET_MODE_BURST_SEQ   0x0100
 
#define TX_PACKET_MODE_BURST_FIRST   0x0200
 
#define AGG_TX_STATUS_MSK   0x00000fff /* bits 0:11 */
 
#define AGG_TX_TRY_MSK   0x0000f000 /* bits 12:15 */
 
#define AGG_TX_STATE_LAST_SENT_MSK
 
#define AGG_TX_STATE_TRY_CNT_POS   12
 
#define AGG_TX_STATE_TRY_CNT_MSK   0xf000
 
#define AGG_TX_STATE_SEQ_NUM_POS   16
 
#define AGG_TX_STATE_SEQ_NUM_MSK   0xffff0000
 
#define IWL50_TX_RES_INIT_RATE_INDEX_POS   0
 
#define IWL50_TX_RES_INIT_RATE_INDEX_MSK   0x0f
 
#define IWL50_TX_RES_RATE_TABLE_COLOR_POS   4
 
#define IWL50_TX_RES_RATE_TABLE_COLOR_MSK   0x70
 
#define IWL50_TX_RES_INV_RATE_INDEX_MSK   0x80
 
#define IWLAGN_TX_RES_TID_POS   0
 
#define IWLAGN_TX_RES_TID_MSK   0x0f
 
#define IWLAGN_TX_RES_RA_POS   4
 
#define IWLAGN_TX_RES_RA_MSK   0xf0
 
#define LINK_QUAL_FLAGS_SET_STA_TLC_RTS_MSK   (1 << 0)
 
#define LINK_QUAL_AC_NUM   AC_NUM
 
#define LINK_QUAL_MAX_RETRY_NUM   16
 
#define LINK_QUAL_ANT_A_MSK   (1 << 0)
 
#define LINK_QUAL_ANT_B_MSK   (1 << 1)
 
#define LINK_QUAL_ANT_MSK   (LINK_QUAL_ANT_A_MSK|LINK_QUAL_ANT_B_MSK)
 
#define LINK_QUAL_AGG_TIME_LIMIT_DEF   (4000) /* 4 milliseconds */
 
#define LINK_QUAL_AGG_TIME_LIMIT_MAX   (8000)
 
#define LINK_QUAL_AGG_TIME_LIMIT_MIN   (100)
 
#define LINK_QUAL_AGG_DISABLE_START_DEF   (3)
 
#define LINK_QUAL_AGG_DISABLE_START_MAX   (255)
 
#define LINK_QUAL_AGG_DISABLE_START_MIN   (0)
 
#define LINK_QUAL_AGG_FRAME_LIMIT_DEF   (63)
 
#define LINK_QUAL_AGG_FRAME_LIMIT_MAX   (63)
 
#define LINK_QUAL_AGG_FRAME_LIMIT_MIN   (0)
 
#define BT_COEX_DISABLE   (0x0)
 
#define BT_ENABLE_CHANNEL_ANNOUNCE   BIT(0)
 
#define BT_ENABLE_PRIORITY   BIT(1)
 
#define BT_ENABLE_2_WIRE   BIT(2)
 
#define BT_COEX_DISABLE   (0x0)
 
#define BT_COEX_ENABLE   (BT_ENABLE_CHANNEL_ANNOUNCE | BT_ENABLE_PRIORITY)
 
#define BT_LEAD_TIME_MIN   (0x0)
 
#define BT_LEAD_TIME_DEF   (0x1E)
 
#define BT_LEAD_TIME_MAX   (0xFF)
 
#define BT_MAX_KILL_MIN   (0x1)
 
#define BT_MAX_KILL_DEF   (0x5)
 
#define BT_MAX_KILL_MAX   (0xFF)
 
#define BT_DURATION_LIMIT_DEF   625
 
#define BT_DURATION_LIMIT_MAX   1250
 
#define BT_DURATION_LIMIT_MIN   625
 
#define BT_ON_THRESHOLD_DEF   4
 
#define BT_ON_THRESHOLD_MAX   1000
 
#define BT_ON_THRESHOLD_MIN   1
 
#define BT_FRAG_THRESHOLD_DEF   0
 
#define BT_FRAG_THRESHOLD_MAX   0
 
#define BT_FRAG_THRESHOLD_MIN   0
 
#define BT_AGG_THRESHOLD_DEF   1200
 
#define BT_AGG_THRESHOLD_MAX   8000
 
#define BT_AGG_THRESHOLD_MIN   400
 
#define IWLAGN_BT_FLAG_CHANNEL_INHIBITION   BIT(0)
 
#define IWLAGN_BT_FLAG_COEX_MODE_MASK   (BIT(3)|BIT(4)|BIT(5))
 
#define IWLAGN_BT_FLAG_COEX_MODE_SHIFT   3
 
#define IWLAGN_BT_FLAG_COEX_MODE_DISABLED   0
 
#define IWLAGN_BT_FLAG_COEX_MODE_LEGACY_2W   1
 
#define IWLAGN_BT_FLAG_COEX_MODE_3W   2
 
#define IWLAGN_BT_FLAG_COEX_MODE_4W   3
 
#define IWLAGN_BT_FLAG_UCODE_DEFAULT   BIT(6)
 
#define IWLAGN_BT_FLAG_SYNC_2_BT_DISABLE   BIT(7)
 
#define IWLAGN_BT_PSP_MIN_RSSI_THRESHOLD   -75 /* dBm */
 
#define IWLAGN_BT_PSP_MAX_RSSI_THRESHOLD   -65 /* dBm */
 
#define IWLAGN_BT_PRIO_BOOST_MAX   0xFF
 
#define IWLAGN_BT_PRIO_BOOST_MIN   0x00
 
#define IWLAGN_BT_PRIO_BOOST_DEFAULT   0xF0
 
#define IWLAGN_BT_PRIO_BOOST_DEFAULT32   0xF0F0F0F0
 
#define IWLAGN_BT_MAX_KILL_DEFAULT   5
 
#define IWLAGN_BT3_T7_DEFAULT   1
 
#define IWLAGN_BT_KILL_ACK_MASK_DEFAULT   cpu_to_le32(0xffff0000)
 
#define IWLAGN_BT_KILL_CTS_MASK_DEFAULT   cpu_to_le32(0xffff0000)
 
#define IWLAGN_BT_KILL_ACK_CTS_MASK_SCO   cpu_to_le32(0xffffffff)
 
#define IWLAGN_BT_KILL_ACK_CTS_MASK_REDUCE   cpu_to_le32(0)
 
#define IWLAGN_BT3_PRIO_SAMPLE_DEFAULT   2
 
#define IWLAGN_BT3_T2_DEFAULT   0xc
 
#define IWLAGN_BT_VALID_ENABLE_FLAGS   cpu_to_le16(BIT(0))
 
#define IWLAGN_BT_VALID_BOOST   cpu_to_le16(BIT(1))
 
#define IWLAGN_BT_VALID_MAX_KILL   cpu_to_le16(BIT(2))
 
#define IWLAGN_BT_VALID_3W_TIMERS   cpu_to_le16(BIT(3))
 
#define IWLAGN_BT_VALID_KILL_ACK_MASK   cpu_to_le16(BIT(4))
 
#define IWLAGN_BT_VALID_KILL_CTS_MASK   cpu_to_le16(BIT(5))
 
#define IWLAGN_BT_VALID_REDUCED_TX_PWR   cpu_to_le16(BIT(6))
 
#define IWLAGN_BT_VALID_3W_LUT   cpu_to_le16(BIT(7))
 
#define IWLAGN_BT_ALL_VALID_MSK
 
#define IWLAGN_BT_REDUCED_TX_PWR   BIT(0)
 
#define IWLAGN_BT_DECISION_LUT_SIZE   12
 
#define IWLAGN_BT_SCO_ACTIVE   cpu_to_le32(BIT(0))
 
#define MEASUREMENT_FILTER_FLAG
 
#define NUM_ELEMENTS_IN_HISTOGRAM   8
 
#define IWL_POWER_VEC_SIZE   5
 
#define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK   cpu_to_le16(BIT(0))
 
#define IWL_POWER_POWER_SAVE_ENA_MSK   cpu_to_le16(BIT(0))
 
#define IWL_POWER_POWER_MANAGEMENT_ENA_MSK   cpu_to_le16(BIT(1))
 
#define IWL_POWER_SLEEP_OVER_DTIM_MSK   cpu_to_le16(BIT(2))
 
#define IWL_POWER_PCI_PM_MSK   cpu_to_le16(BIT(3))
 
#define IWL_POWER_FAST_PD   cpu_to_le16(BIT(4))
 
#define IWL_POWER_BEACON_FILTERING   cpu_to_le16(BIT(5))
 
#define IWL_POWER_SHADOW_REG_ENA   cpu_to_le16(BIT(6))
 
#define IWL_POWER_CT_KILL_SET   cpu_to_le16(BIT(7))
 
#define IWL_POWER_BT_SCO_ENA   cpu_to_le16(BIT(8))
 
#define IWL_POWER_ADVANCE_PM_ENA_MSK   cpu_to_le16(BIT(9))
 
#define CARD_STATE_CMD_DISABLE   0x00 /* Put card to sleep */
 
#define CARD_STATE_CMD_ENABLE   0x01 /* Wake up card */
 
#define CARD_STATE_CMD_HALT   0x02 /* Power down permanently */
 
#define HW_CARD_DISABLED   0x01
 
#define SW_CARD_DISABLED   0x02
 
#define CT_CARD_DISABLED   0x04
 
#define RXON_CARD_DISABLED   0x10
 
#define SCAN_CHANNEL_TYPE_PASSIVE   cpu_to_le32(0)
 
#define SCAN_CHANNEL_TYPE_ACTIVE   cpu_to_le32(1)
 
#define IWL_SCAN_PROBE_MASK(n)   cpu_to_le32((BIT(n) | (BIT(n) - BIT(1))))
 
#define PROBE_OPTION_MAX   20
 
#define TX_CMD_LIFE_TIME_INFINITE   cpu_to_le32(0xFFFFFFFF)
 
#define IWL_GOOD_CRC_TH_DISABLED   0
 
#define IWL_GOOD_CRC_TH_DEFAULT   cpu_to_le16(1)
 
#define IWL_GOOD_CRC_TH_NEVER   cpu_to_le16(0xffff)
 
#define IWL_MAX_CMD_SIZE   4096
 
#define CAN_ABORT_STATUS   cpu_to_le32(0x1)
 
#define ABORT_STATUS   0x2
 
#define SCAN_OWNER_STATUS   0x1
 
#define MEASURE_OWNER_STATUS   0x2
 
#define IWL_PROBE_STATUS_OK   0
 
#define IWL_PROBE_STATUS_TX_FAILED   BIT(0)
 
#define IWL_PROBE_STATUS_FAIL_TTL   BIT(1)
 
#define IWL_PROBE_STATUS_FAIL_BT   BIT(2)
 
#define NUMBER_OF_STATISTICS   1 /* first __le32 is good CRC */
 
#define IWL_TEMP_CONVERT   260
 
#define SUP_RATE_11A_MAX_NUM_CHANNELS   8
 
#define SUP_RATE_11B_MAX_NUM_CHANNELS   4
 
#define SUP_RATE_11G_MAX_NUM_CHANNELS   12
 
#define INTERFERENCE_DATA_AVAILABLE   cpu_to_le32(1)
 
#define UCODE_STATISTICS_CLEAR_MSK   (0x1 << 0)
 
#define UCODE_STATISTICS_FREQUENCY_MSK   (0x1 << 1)
 
#define UCODE_STATISTICS_NARROW_BAND_MSK   (0x1 << 2)
 
#define IWL_STATS_CONF_CLEAR_STATS   cpu_to_le32(0x1) /* see above */
 
#define IWL_STATS_CONF_DISABLE_NOTIF   cpu_to_le32(0x2)/* see above */
 
#define STATISTICS_REPLY_FLG_BAND_24G_MSK   cpu_to_le32(0x2)
 
#define STATISTICS_REPLY_FLG_HT40_MODE_MSK   cpu_to_le32(0x8)
 
#define IWL_MISSED_BEACON_THRESHOLD_MIN   (1)
 
#define IWL_MISSED_BEACON_THRESHOLD_DEF   (5)
 
#define IWL_MISSED_BEACON_THRESHOLD_MAX   IWL_MISSED_BEACON_THRESHOLD_DEF
 
#define HD_TABLE_SIZE   (11) /* number of entries */
 
#define HD_MIN_ENERGY_CCK_DET_INDEX   (0) /* table indexes */
 
#define HD_MIN_ENERGY_OFDM_DET_INDEX   (1)
 
#define HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX   (2)
 
#define HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX   (3)
 
#define HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX   (4)
 
#define HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX   (5)
 
#define HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX   (6)
 
#define HD_BARKER_CORR_TH_ADD_MIN_INDEX   (7)
 
#define HD_BARKER_CORR_TH_ADD_MIN_MRC_INDEX   (8)
 
#define HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX   (9)
 
#define HD_OFDM_ENERGY_TH_IN_INDEX   (10)
 
#define HD_INA_NON_SQUARE_DET_OFDM_INDEX   (11)
 
#define HD_INA_NON_SQUARE_DET_CCK_INDEX   (12)
 
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_INDEX   (13)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_INDEX   (14)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_INDEX   (15)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_INDEX   (16)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_INDEX   (17)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_INDEX   (18)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_INDEX   (19)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_INDEX   (20)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_INDEX   (21)
 
#define HD_RESERVED   (22)
 
#define ENHANCE_HD_TABLE_SIZE   (23)
 
#define ENHANCE_HD_TABLE_ENTRIES   (ENHANCE_HD_TABLE_SIZE - HD_TABLE_SIZE)
 
#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V1   cpu_to_le16(0)
 
#define HD_INA_NON_SQUARE_DET_CCK_DATA_V1   cpu_to_le16(0)
 
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V1   cpu_to_le16(0)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V1   cpu_to_le16(668)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1   cpu_to_le16(4)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V1   cpu_to_le16(486)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V1   cpu_to_le16(37)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V1   cpu_to_le16(853)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1   cpu_to_le16(4)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V1   cpu_to_le16(476)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V1   cpu_to_le16(99)
 
#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V2   cpu_to_le16(1)
 
#define HD_INA_NON_SQUARE_DET_CCK_DATA_V2   cpu_to_le16(1)
 
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V2   cpu_to_le16(1)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V2   cpu_to_le16(600)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2   cpu_to_le16(40)
 
#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V2   cpu_to_le16(486)
 
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V2   cpu_to_le16(45)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V2   cpu_to_le16(853)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2   cpu_to_le16(60)
 
#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V2   cpu_to_le16(476)
 
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V2   cpu_to_le16(99)
 
#define SENSITIVITY_CMD_CONTROL_DEFAULT_TABLE   cpu_to_le16(0)
 
#define SENSITIVITY_CMD_CONTROL_WORK_TABLE   cpu_to_le16(1)
 
#define IWL_CALIB_INIT_CFG_ALL
 
#define IWL_CALIB_RT_CFG_ALL
 
#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK   cpu_to_le32(BIT(0))
 
#define DEFAULT_RADIO_SENSOR_OFFSET   cpu_to_le16(2700)
 
#define COEX_EVT_FLAG_MEDIUM_FREE_NTFY_FLG   (0x1)
 
#define COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG   (0x2)
 
#define COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG   (0x4)
 
#define COEX_CU_UNASSOC_IDLE_RP   4
 
#define COEX_CU_UNASSOC_MANUAL_SCAN_RP   4
 
#define COEX_CU_UNASSOC_AUTO_SCAN_RP   4
 
#define COEX_CU_CALIBRATION_RP   4
 
#define COEX_CU_PERIODIC_CALIBRATION_RP   4
 
#define COEX_CU_CONNECTION_ESTAB_RP   4
 
#define COEX_CU_ASSOCIATED_IDLE_RP   4
 
#define COEX_CU_ASSOC_MANUAL_SCAN_RP   4
 
#define COEX_CU_ASSOC_AUTO_SCAN_RP   4
 
#define COEX_CU_ASSOC_ACTIVE_LEVEL_RP   4
 
#define COEX_CU_RF_ON_RP   6
 
#define COEX_CU_RF_OFF_RP   4
 
#define COEX_CU_STAND_ALONE_DEBUG_RP   6
 
#define COEX_CU_IPAN_ASSOC_LEVEL_RP   4
 
#define COEX_CU_RSRVD1_RP   4
 
#define COEX_CU_RSRVD2_RP   4
 
#define COEX_CU_UNASSOC_IDLE_WP   3
 
#define COEX_CU_UNASSOC_MANUAL_SCAN_WP   3
 
#define COEX_CU_UNASSOC_AUTO_SCAN_WP   3
 
#define COEX_CU_CALIBRATION_WP   3
 
#define COEX_CU_PERIODIC_CALIBRATION_WP   3
 
#define COEX_CU_CONNECTION_ESTAB_WP   3
 
#define COEX_CU_ASSOCIATED_IDLE_WP   3
 
#define COEX_CU_ASSOC_MANUAL_SCAN_WP   3
 
#define COEX_CU_ASSOC_AUTO_SCAN_WP   3
 
#define COEX_CU_ASSOC_ACTIVE_LEVEL_WP   3
 
#define COEX_CU_RF_ON_WP   3
 
#define COEX_CU_RF_OFF_WP   3
 
#define COEX_CU_STAND_ALONE_DEBUG_WP   6
 
#define COEX_CU_IPAN_ASSOC_LEVEL_WP   3
 
#define COEX_CU_RSRVD1_WP   3
 
#define COEX_CU_RSRVD2_WP   3
 
#define COEX_UNASSOC_IDLE_FLAGS   0
 
#define COEX_UNASSOC_MANUAL_SCAN_FLAGS
 
#define COEX_UNASSOC_AUTO_SCAN_FLAGS
 
#define COEX_CALIBRATION_FLAGS
 
#define COEX_PERIODIC_CALIBRATION_FLAGS   0
 
#define COEX_CONNECTION_ESTAB_FLAGS
 
#define COEX_ASSOCIATED_IDLE_FLAGS   0
 
#define COEX_ASSOC_MANUAL_SCAN_FLAGS
 
#define COEX_ASSOC_AUTO_SCAN_FLAGS
 
#define COEX_ASSOC_ACTIVE_LEVEL_FLAGS   0
 
#define COEX_RF_ON_FLAGS   0
 
#define COEX_RF_OFF_FLAGS   0
 
#define COEX_STAND_ALONE_DEBUG_FLAGS
 
#define COEX_IPAN_ASSOC_LEVEL_FLAGS
 
#define COEX_RSRVD1_FLAGS   0
 
#define COEX_RSRVD2_FLAGS   0
 
#define COEX_CU_RF_ON_FLAGS
 
#define COEX_FLAGS_STA_TABLE_VALID_MSK   (0x1)
 
#define COEX_FLAGS_UNASSOC_WA_UNMASK_MSK   (0x4)
 
#define COEX_FLAGS_ASSOC_WA_UNMASK_MSK   (0x8)
 
#define COEX_FLAGS_COEX_ENABLE_MSK   (0x80)
 
#define COEX_MEDIUM_BUSY   (0x0) /* radio belongs to WiMAX */
 
#define COEX_MEDIUM_ACTIVE   (0x1) /* radio belongs to WiFi */
 
#define COEX_MEDIUM_PRE_RELEASE   (0x2) /* received radio release */
 
#define COEX_MEDIUM_MSK   (0x7)
 
#define COEX_MEDIUM_CHANGED   (0x8)
 
#define COEX_MEDIUM_CHANGED_MSK   (0x8)
 
#define COEX_MEDIUM_SHIFT   (3)
 
#define COEX_EVENT_REQUEST_MSK   (0x1)
 
#define BT_SESSION_ACTIVITY_1_UART_MSG   0x1
 
#define BT_SESSION_ACTIVITY_2_UART_MSG   0x2
 
#define BT_UART_MSG_FRAME1MSGTYPE_POS   (0)
 
#define BT_UART_MSG_FRAME1MSGTYPE_MSK   (0x7 << BT_UART_MSG_FRAME1MSGTYPE_POS)
 
#define BT_UART_MSG_FRAME1SSN_POS   (3)
 
#define BT_UART_MSG_FRAME1SSN_MSK   (0x3 << BT_UART_MSG_FRAME1SSN_POS)
 
#define BT_UART_MSG_FRAME1UPDATEREQ_POS   (5)
 
#define BT_UART_MSG_FRAME1UPDATEREQ_MSK   (0x1 << BT_UART_MSG_FRAME1UPDATEREQ_POS)
 
#define BT_UART_MSG_FRAME1RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME1RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME1RESERVED_POS)
 
#define BT_UART_MSG_FRAME2OPENCONNECTIONS_POS   (0)
 
#define BT_UART_MSG_FRAME2OPENCONNECTIONS_MSK   (0x3 << BT_UART_MSG_FRAME2OPENCONNECTIONS_POS)
 
#define BT_UART_MSG_FRAME2TRAFFICLOAD_POS   (2)
 
#define BT_UART_MSG_FRAME2TRAFFICLOAD_MSK   (0x3 << BT_UART_MSG_FRAME2TRAFFICLOAD_POS)
 
#define BT_UART_MSG_FRAME2CHLSEQN_POS   (4)
 
#define BT_UART_MSG_FRAME2CHLSEQN_MSK   (0x1 << BT_UART_MSG_FRAME2CHLSEQN_POS)
 
#define BT_UART_MSG_FRAME2INBAND_POS   (5)
 
#define BT_UART_MSG_FRAME2INBAND_MSK   (0x1 << BT_UART_MSG_FRAME2INBAND_POS)
 
#define BT_UART_MSG_FRAME2RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME2RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME2RESERVED_POS)
 
#define BT_UART_MSG_FRAME3SCOESCO_POS   (0)
 
#define BT_UART_MSG_FRAME3SCOESCO_MSK   (0x1 << BT_UART_MSG_FRAME3SCOESCO_POS)
 
#define BT_UART_MSG_FRAME3SNIFF_POS   (1)
 
#define BT_UART_MSG_FRAME3SNIFF_MSK   (0x1 << BT_UART_MSG_FRAME3SNIFF_POS)
 
#define BT_UART_MSG_FRAME3A2DP_POS   (2)
 
#define BT_UART_MSG_FRAME3A2DP_MSK   (0x1 << BT_UART_MSG_FRAME3A2DP_POS)
 
#define BT_UART_MSG_FRAME3ACL_POS   (3)
 
#define BT_UART_MSG_FRAME3ACL_MSK   (0x1 << BT_UART_MSG_FRAME3ACL_POS)
 
#define BT_UART_MSG_FRAME3MASTER_POS   (4)
 
#define BT_UART_MSG_FRAME3MASTER_MSK   (0x1 << BT_UART_MSG_FRAME3MASTER_POS)
 
#define BT_UART_MSG_FRAME3OBEX_POS   (5)
 
#define BT_UART_MSG_FRAME3OBEX_MSK   (0x1 << BT_UART_MSG_FRAME3OBEX_POS)
 
#define BT_UART_MSG_FRAME3RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME3RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME3RESERVED_POS)
 
#define BT_UART_MSG_FRAME4IDLEDURATION_POS   (0)
 
#define BT_UART_MSG_FRAME4IDLEDURATION_MSK   (0x3F << BT_UART_MSG_FRAME4IDLEDURATION_POS)
 
#define BT_UART_MSG_FRAME4RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME4RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME4RESERVED_POS)
 
#define BT_UART_MSG_FRAME5TXACTIVITY_POS   (0)
 
#define BT_UART_MSG_FRAME5TXACTIVITY_MSK   (0x3 << BT_UART_MSG_FRAME5TXACTIVITY_POS)
 
#define BT_UART_MSG_FRAME5RXACTIVITY_POS   (2)
 
#define BT_UART_MSG_FRAME5RXACTIVITY_MSK   (0x3 << BT_UART_MSG_FRAME5RXACTIVITY_POS)
 
#define BT_UART_MSG_FRAME5ESCORETRANSMIT_POS   (4)
 
#define BT_UART_MSG_FRAME5ESCORETRANSMIT_MSK   (0x3 << BT_UART_MSG_FRAME5ESCORETRANSMIT_POS)
 
#define BT_UART_MSG_FRAME5RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME5RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME5RESERVED_POS)
 
#define BT_UART_MSG_FRAME6SNIFFINTERVAL_POS   (0)
 
#define BT_UART_MSG_FRAME6SNIFFINTERVAL_MSK   (0x1F << BT_UART_MSG_FRAME6SNIFFINTERVAL_POS)
 
#define BT_UART_MSG_FRAME6DISCOVERABLE_POS   (5)
 
#define BT_UART_MSG_FRAME6DISCOVERABLE_MSK   (0x1 << BT_UART_MSG_FRAME6DISCOVERABLE_POS)
 
#define BT_UART_MSG_FRAME6RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME6RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME6RESERVED_POS)
 
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_POS   (0)
 
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_MSK   (0x7 << BT_UART_MSG_FRAME7SNIFFACTIVITY_POS)
 
#define BT_UART_MSG_FRAME7PAGE_POS   (3)
 
#define BT_UART_MSG_FRAME7PAGE_MSK   (0x1 << BT_UART_MSG_FRAME7PAGE_POS)
 
#define BT_UART_MSG_FRAME7INQUIRY_POS   (4)
 
#define BT_UART_MSG_FRAME7INQUIRY_MSK   (0x1 << BT_UART_MSG_FRAME7INQUIRY_POS)
 
#define BT_UART_MSG_FRAME7CONNECTABLE_POS   (5)
 
#define BT_UART_MSG_FRAME7CONNECTABLE_MSK   (0x1 << BT_UART_MSG_FRAME7CONNECTABLE_POS)
 
#define BT_UART_MSG_FRAME7RESERVED_POS   (6)
 
#define BT_UART_MSG_FRAME7RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME7RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME1RESERVED1_POS   (5)
 
#define BT_UART_MSG_2_FRAME1RESERVED1_MSK   (0x1<<BT_UART_MSG_2_FRAME1RESERVED1_POS)
 
#define BT_UART_MSG_2_FRAME1RESERVED2_POS   (6)
 
#define BT_UART_MSG_2_FRAME1RESERVED2_MSK   (0x3<<BT_UART_MSG_2_FRAME1RESERVED2_POS)
 
#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS   (0)
 
#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_MSK   (0x3F<<BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS)
 
#define BT_UART_MSG_2_FRAME2RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME2RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME2RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS   (0)
 
#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_MSK   (0xF<<BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS)
 
#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS   (4)
 
#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS)
 
#define BT_UART_MSG_2_FRAME3LEMASTER_POS   (5)
 
#define BT_UART_MSG_2_FRAME3LEMASTER_MSK   (0x1<<BT_UART_MSG_2_FRAME3LEMASTER_POS)
 
#define BT_UART_MSG_2_FRAME3RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME3RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME3RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS   (0)
 
#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_MSK   (0xF<<BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS)
 
#define BT_UART_MSG_2_FRAME4NUMLECONN_POS   (4)
 
#define BT_UART_MSG_2_FRAME4NUMLECONN_MSK   (0x3<<BT_UART_MSG_2_FRAME4NUMLECONN_POS)
 
#define BT_UART_MSG_2_FRAME4RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME4RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME4RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME5BTMINRSSI_POS   (0)
 
#define BT_UART_MSG_2_FRAME5BTMINRSSI_MSK   (0xF<<BT_UART_MSG_2_FRAME5BTMINRSSI_POS)
 
#define BT_UART_MSG_2_FRAME5LESCANINITMODE_POS   (4)
 
#define BT_UART_MSG_2_FRAME5LESCANINITMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME5LESCANINITMODE_POS)
 
#define BT_UART_MSG_2_FRAME5LEADVERMODE_POS   (5)
 
#define BT_UART_MSG_2_FRAME5LEADVERMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME5LEADVERMODE_POS)
 
#define BT_UART_MSG_2_FRAME5RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME5RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME5RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS   (0)
 
#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_MSK   (0x1F<<BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS)
 
#define BT_UART_MSG_2_FRAME6RFU_POS   (5)
 
#define BT_UART_MSG_2_FRAME6RFU_MSK   (0x1<<BT_UART_MSG_2_FRAME6RFU_POS)
 
#define BT_UART_MSG_2_FRAME6RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME6RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME6RESERVED_POS)
 
#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS   (0)
 
#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_MSK   (0x7<<BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS)
 
#define BT_UART_MSG_2_FRAME7LEPROFILE1_POS   (3)
 
#define BT_UART_MSG_2_FRAME7LEPROFILE1_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE1_POS)
 
#define BT_UART_MSG_2_FRAME7LEPROFILE2_POS   (4)
 
#define BT_UART_MSG_2_FRAME7LEPROFILE2_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE2_POS)
 
#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS   (5)
 
#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS)
 
#define BT_UART_MSG_2_FRAME7RESERVED_POS   (6)
 
#define BT_UART_MSG_2_FRAME7RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME7RESERVED_POS)
 
#define BT_ENABLE_REDUCED_TXPOWER_THRESHOLD   (-62)
 
#define BT_DISABLE_REDUCED_TXPOWER_THRESHOLD   (-65)
 
#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_POS   0
 
#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_MSK   0x1
 
#define IWL_BT_COEX_PRIO_TBL_PRIO_POS   1
 
#define IWL_BT_COEX_PRIO_TBL_PRIO_MASK   0x0e
 
#define IWL_BT_COEX_PRIO_TBL_RESERVED_POS   4
 
#define IWL_BT_COEX_PRIO_TBL_RESERVED_MASK   0xf0
 
#define IWL_BT_COEX_PRIO_TBL_PRIO_SHIFT   1
 
#define IWL_BT_COEX_ENV_CLOSE   0
 
#define IWL_BT_COEX_ENV_OPEN   1
 
#define IWLAGN_WOWLAN_MIN_PATTERN_LEN   16
 
#define IWLAGN_WOWLAN_MAX_PATTERN_LEN   128
 
#define IWLAGN_WOWLAN_MAX_PATTERNS   20
 
#define IWLAGN_NUM_RSC   16
 
#define IWLAGN_MIC_KEY_SIZE   8
 
#define IWLAGN_P1K_SIZE   5
 
#define IWLAGN_NUM_RX_P1K_CACHE   2
 
#define IWLAGN_KCK_MAX_SIZE   32
 
#define IWLAGN_KEK_MAX_SIZE   32
 
#define IWL_MIN_SLOT_TIME   20
 
#define IWL_WIPAN_PARAMS_FLG_LEAVE_CHANNEL_CTS   BIT(1) /* reserved */
 
#define IWL_WIPAN_PARAMS_FLG_LEAVE_CHANNEL_QUIET   BIT(2) /* reserved */
 
#define IWL_WIPAN_PARAMS_FLG_SLOTTED_MODE   BIT(3) /* reserved */
 
#define IWL_WIPAN_PARAMS_FLG_FILTER_BEACON_NOTIF   BIT(4)
 
#define IWL_WIPAN_PARAMS_FLG_FULL_SLOTTED_MODE   BIT(5)
 

Enumerations

enum  {
  REPLY_ALIVE = 0x1, REPLY_ERROR = 0x2, REPLY_ECHO = 0x3, REPLY_RXON = 0x10,
  REPLY_RXON_ASSOC = 0x11, REPLY_QOS_PARAM = 0x13, REPLY_RXON_TIMING = 0x14, REPLY_ADD_STA = 0x18,
  REPLY_REMOVE_STA = 0x19, REPLY_REMOVE_ALL_STA = 0x1a, REPLY_TXFIFO_FLUSH = 0x1e, REPLY_WEPKEY = 0x20,
  REPLY_TX = 0x1c, REPLY_LEDS_CMD = 0x48, REPLY_TX_LINK_QUALITY_CMD = 0x4e, COEX_PRIORITY_TABLE_CMD = 0x5a,
  COEX_MEDIUM_NOTIFICATION = 0x5b, COEX_EVENT_CMD = 0x5c, TEMPERATURE_NOTIFICATION = 0x62, CALIBRATION_CFG_CMD = 0x65,
  CALIBRATION_RES_NOTIFICATION = 0x66, CALIBRATION_COMPLETE_NOTIFICATION = 0x67, REPLY_QUIET_CMD = 0x71, REPLY_CHANNEL_SWITCH = 0x72,
  CHANNEL_SWITCH_NOTIFICATION = 0x73, REPLY_SPECTRUM_MEASUREMENT_CMD = 0x74, SPECTRUM_MEASURE_NOTIFICATION = 0x75, POWER_TABLE_CMD = 0x77,
  PM_SLEEP_NOTIFICATION = 0x7A, PM_DEBUG_STATISTIC_NOTIFIC = 0x7B, REPLY_SCAN_CMD = 0x80, REPLY_SCAN_ABORT_CMD = 0x81,
  SCAN_START_NOTIFICATION = 0x82, SCAN_RESULTS_NOTIFICATION = 0x83, SCAN_COMPLETE_NOTIFICATION = 0x84, BEACON_NOTIFICATION = 0x90,
  REPLY_TX_BEACON = 0x91, WHO_IS_AWAKE_NOTIFICATION = 0x94, REPLY_TX_POWER_DBM_CMD = 0x95, QUIET_NOTIFICATION = 0x96,
  REPLY_TX_PWR_TABLE_CMD = 0x97, REPLY_TX_POWER_DBM_CMD_V1 = 0x98, TX_ANT_CONFIGURATION_CMD = 0x98, MEASURE_ABORT_NOTIFICATION = 0x99,
  REPLY_BT_CONFIG = 0x9b, REPLY_STATISTICS_CMD = 0x9c, STATISTICS_NOTIFICATION = 0x9d, REPLY_CARD_STATE_CMD = 0xa0,
  CARD_STATE_NOTIFICATION = 0xa1, MISSED_BEACONS_NOTIFICATION = 0xa2, REPLY_CT_KILL_CONFIG_CMD = 0xa4, SENSITIVITY_CMD = 0xa8,
  REPLY_PHY_CALIBRATION_CMD = 0xb0, REPLY_RX_PHY_CMD = 0xc0, REPLY_RX_MPDU_CMD = 0xc1, REPLY_RX = 0xc3,
  REPLY_COMPRESSED_BA = 0xc5, REPLY_BT_COEX_PRIO_TABLE = 0xcc, REPLY_BT_COEX_PROT_ENV = 0xcd, REPLY_BT_COEX_PROFILE_NOTIF = 0xce,
  REPLY_WIPAN_PARAMS = 0xb2, REPLY_WIPAN_RXON = 0xb3, REPLY_WIPAN_RXON_TIMING = 0xb4, REPLY_WIPAN_RXON_ASSOC = 0xb6,
  REPLY_WIPAN_QOS_PARAM = 0xb7, REPLY_WIPAN_WEPKEY = 0xb8, REPLY_WIPAN_P2P_CHANNEL_SWITCH = 0xb9, REPLY_WIPAN_NOA_NOTIFICATION = 0xbc,
  REPLY_WIPAN_DEACTIVATION_COMPLETE = 0xbd, REPLY_WOWLAN_PATTERNS = 0xe0, REPLY_WOWLAN_WAKEUP_FILTER = 0xe1, REPLY_WOWLAN_TSC_RSC_PARAMS = 0xe2,
  REPLY_WOWLAN_TKIP_PARAMS = 0xe3, REPLY_WOWLAN_KEK_KCK_MATERIAL = 0xe4, REPLY_WOWLAN_GET_STATUS = 0xe5, REPLY_D3_CONFIG = 0xd3,
  REPLY_MAX = 0xff
}
 
enum  {
  RXON_DEV_TYPE_AP = 1, RXON_DEV_TYPE_ESS = 3, RXON_DEV_TYPE_IBSS = 4, RXON_DEV_TYPE_SNIFFER = 6,
  RXON_DEV_TYPE_CP = 7, RXON_DEV_TYPE_2STA = 8, RXON_DEV_TYPE_P2P = 9
}
 
enum  { CHANNEL_MODE_LEGACY = 0, CHANNEL_MODE_PURE_40 = 1, CHANNEL_MODE_MIXED = 2, CHANNEL_MODE_RESERVED = 3 }
 
enum  {
  TX_STATUS_SUCCESS = 0x01, TX_STATUS_DIRECT_DONE = 0x02, TX_STATUS_POSTPONE_DELAY = 0x40, TX_STATUS_POSTPONE_FEW_BYTES = 0x41,
  TX_STATUS_POSTPONE_BT_PRIO = 0x42, TX_STATUS_POSTPONE_QUIET_PERIOD = 0x43, TX_STATUS_POSTPONE_CALC_TTAK = 0x44, TX_STATUS_FAIL_INTERNAL_CROSSED_RETRY = 0x81,
  TX_STATUS_FAIL_SHORT_LIMIT = 0x82, TX_STATUS_FAIL_LONG_LIMIT = 0x83, TX_STATUS_FAIL_FIFO_UNDERRUN = 0x84, TX_STATUS_FAIL_DRAIN_FLOW = 0x85,
  TX_STATUS_FAIL_RFKILL_FLUSH = 0x86, TX_STATUS_FAIL_LIFE_EXPIRE = 0x87, TX_STATUS_FAIL_DEST_PS = 0x88, TX_STATUS_FAIL_HOST_ABORTED = 0x89,
  TX_STATUS_FAIL_BT_RETRY = 0x8a, TX_STATUS_FAIL_STA_INVALID = 0x8b, TX_STATUS_FAIL_FRAG_DROPPED = 0x8c, TX_STATUS_FAIL_TID_DISABLE = 0x8d,
  TX_STATUS_FAIL_FIFO_FLUSHED = 0x8e, TX_STATUS_FAIL_INSUFFICIENT_CF_POLL = 0x8f, TX_STATUS_FAIL_PASSIVE_NO_RX = 0x90, TX_STATUS_FAIL_NO_BEACON_ON_RADAR = 0x91
}
 
enum  { TX_POWER_PA_NOT_ACTIVE = 0x0 }
 
enum  {
  TX_STATUS_MSK = 0x000000ff, TX_STATUS_DELAY_MSK = 0x00000040, TX_STATUS_ABORT_MSK = 0x00000080, TX_PACKET_MODE_MSK = 0x0000ff00,
  TX_FIFO_NUMBER_MSK = 0x00070000, TX_RESERVED = 0x00780000, TX_POWER_PA_DETECT_MSK = 0x7f800000, TX_ABORT_REQUIRED_MSK = 0x80000000
}
 
enum  {
  AGG_TX_STATE_TRANSMITTED = 0x00, AGG_TX_STATE_UNDERRUN_MSK = 0x01, AGG_TX_STATE_BT_PRIO_MSK = 0x02, AGG_TX_STATE_FEW_BYTES_MSK = 0x04,
  AGG_TX_STATE_ABORT_MSK = 0x08, AGG_TX_STATE_LAST_SENT_TTL_MSK = 0x10, AGG_TX_STATE_LAST_SENT_TRY_CNT_MSK = 0x20, AGG_TX_STATE_LAST_SENT_BT_KILL_MSK = 0x40,
  AGG_TX_STATE_SCD_QUERY_MSK = 0x80, AGG_TX_STATE_TEST_BAD_CRC32_MSK = 0x100, AGG_TX_STATE_RESPONSE_MSK = 0x1ff, AGG_TX_STATE_DUMP_TX_MSK = 0x200,
  AGG_TX_STATE_DELAY_TX_MSK = 0x400
}
 
enum  iwl_bt_kill_idx { IWL_BT_KILL_DEFAULT = 0, IWL_BT_KILL_OVERRIDE = 1, IWL_BT_KILL_REDUCE = 2 }
 
enum  iwl_measurement_state { IWL_MEASUREMENT_START = 0, IWL_MEASUREMENT_STOP = 1 }
 
enum  iwl_measurement_status {
  IWL_MEASUREMENT_OK = 0, IWL_MEASUREMENT_CONCURRENT = 1, IWL_MEASUREMENT_CSA_CONFLICT = 2, IWL_MEASUREMENT_TGH_CONFLICT = 3,
  IWL_MEASUREMENT_STOPPED = 6, IWL_MEASUREMENT_TIMEOUT = 7, IWL_MEASUREMENT_PERIODIC_FAILED = 8
}
 
enum  iwl_measure_type {
  IWL_MEASURE_BASIC = (1 << 0), IWL_MEASURE_CHANNEL_LOAD = (1 << 1), IWL_MEASURE_HISTOGRAM_RPI = (1 << 2), IWL_MEASURE_HISTOGRAM_NOISE = (1 << 3),
  IWL_MEASURE_FRAME = (1 << 4), IWL_MEASURE_IDLE = (1 << 7)
}
 
enum  {
  IWL_PM_NO_SLEEP = 0, IWL_PM_SLP_MAC = 1, IWL_PM_SLP_FULL_MAC_UNASSOCIATE = 2, IWL_PM_SLP_FULL_MAC_CARD_STATE = 3,
  IWL_PM_SLP_PHY = 4, IWL_PM_SLP_REPENT = 5, IWL_PM_WAKEUP_BY_TIMER = 6, IWL_PM_WAKEUP_BY_DRIVER = 7,
  IWL_PM_WAKEUP_BY_RFKILL = 8, IWL_PM_NUM_OF_MODES = 12
}
 
enum  iwl_scan_flags { IWL_SCAN_FLAGS_ACTION_FRAME_TX = BIT(1) }
 
enum  iwl_ibss_manager { IWL_NOT_IBSS_MANAGER = 0, IWL_IBSS_MANAGER = 1 }
 
enum  {
  IWL_PHY_CALIBRATE_DC_CMD = 8, IWL_PHY_CALIBRATE_LO_CMD = 9, IWL_PHY_CALIBRATE_TX_IQ_CMD = 11, IWL_PHY_CALIBRATE_CRYSTAL_FRQ_CMD = 15,
  IWL_PHY_CALIBRATE_BASE_BAND_CMD = 16, IWL_PHY_CALIBRATE_TX_IQ_PERD_CMD = 17, IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD = 18
}
 
enum  iwl_ucode_calib_cfg {
  IWL_CALIB_CFG_RX_BB_IDX = BIT(0), IWL_CALIB_CFG_DC_IDX = BIT(1), IWL_CALIB_CFG_LO_IDX = BIT(2), IWL_CALIB_CFG_TX_IQ_IDX = BIT(3),
  IWL_CALIB_CFG_RX_IQ_IDX = BIT(4), IWL_CALIB_CFG_NOISE_IDX = BIT(5), IWL_CALIB_CFG_CRYSTAL_IDX = BIT(6), IWL_CALIB_CFG_TEMPERATURE_IDX = BIT(7),
  IWL_CALIB_CFG_PAPD_IDX = BIT(8), IWL_CALIB_CFG_SENSITIVITY_IDX = BIT(9), IWL_CALIB_CFG_TX_PWR_IDX = BIT(10)
}
 
enum  {
  COEX_UNASSOC_IDLE = 0, COEX_UNASSOC_MANUAL_SCAN = 1, COEX_UNASSOC_AUTO_SCAN = 2, COEX_CALIBRATION = 3,
  COEX_PERIODIC_CALIBRATION = 4, COEX_CONNECTION_ESTAB = 5, COEX_ASSOCIATED_IDLE = 6, COEX_ASSOC_MANUAL_SCAN = 7,
  COEX_ASSOC_AUTO_SCAN = 8, COEX_ASSOC_ACTIVE_LEVEL = 9, COEX_RF_ON = 10, COEX_RF_OFF = 11,
  COEX_STAND_ALONE_DEBUG = 12, COEX_IPAN_ASSOC_LEVEL = 13, COEX_RSRVD1 = 14, COEX_RSRVD2 = 15,
  COEX_NUM_OF_EVENTS = 16
}
 
enum  iwl_bt_coex_profile_traffic_load { IWL_BT_COEX_TRAFFIC_LOAD_NONE = 0, IWL_BT_COEX_TRAFFIC_LOAD_LOW = 1, IWL_BT_COEX_TRAFFIC_LOAD_HIGH = 2, IWL_BT_COEX_TRAFFIC_LOAD_CONTINUOUS = 3 }
 
enum  bt_coex_prio_table_events {
  BT_COEX_PRIO_TBL_EVT_INIT_CALIB1 = 0, BT_COEX_PRIO_TBL_EVT_INIT_CALIB2 = 1, BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_LOW1 = 2, BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_LOW2 = 3,
  BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_HIGH1 = 4, BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_HIGH2 = 5, BT_COEX_PRIO_TBL_EVT_DTIM = 6, BT_COEX_PRIO_TBL_EVT_SCAN52 = 7,
  BT_COEX_PRIO_TBL_EVT_SCAN24 = 8, BT_COEX_PRIO_TBL_EVT_RESERVED0 = 9, BT_COEX_PRIO_TBL_EVT_RESERVED1 = 10, BT_COEX_PRIO_TBL_EVT_RESERVED2 = 11,
  BT_COEX_PRIO_TBL_EVT_RESERVED3 = 12, BT_COEX_PRIO_TBL_EVT_RESERVED4 = 13, BT_COEX_PRIO_TBL_EVT_RESERVED5 = 14, BT_COEX_PRIO_TBL_EVT_RESERVED6 = 15,
  BT_COEX_PRIO_TBL_EVT_MAX
}
 
enum  bt_coex_prio_table_priorities {
  BT_COEX_PRIO_TBL_DISABLED = 0, BT_COEX_PRIO_TBL_PRIO_LOW = 1, BT_COEX_PRIO_TBL_PRIO_HIGH = 2, BT_COEX_PRIO_TBL_PRIO_BYPASS = 3,
  BT_COEX_PRIO_TBL_PRIO_COEX_OFF = 4, BT_COEX_PRIO_TBL_PRIO_COEX_ON = 5, BT_COEX_PRIO_TBL_PRIO_RSRVD1 = 6, BT_COEX_PRIO_TBL_PRIO_RSRVD2 = 7,
  BT_COEX_PRIO_TBL_MAX
}
 
enum  iwlagn_d3_wakeup_filters { IWLAGN_D3_WAKEUP_RFKILL = BIT(0), IWLAGN_D3_WAKEUP_SYSASSERT = BIT(1) }
 
enum  iwlagn_wowlan_wakeup_filters {
  IWLAGN_WOWLAN_WAKEUP_MAGIC_PACKET = BIT(0), IWLAGN_WOWLAN_WAKEUP_PATTERN_MATCH = BIT(1), IWLAGN_WOWLAN_WAKEUP_BEACON_MISS = BIT(2), IWLAGN_WOWLAN_WAKEUP_LINK_CHANGE = BIT(3),
  IWLAGN_WOWLAN_WAKEUP_GTK_REKEY_FAIL = BIT(4), IWLAGN_WOWLAN_WAKEUP_EAP_IDENT_REQ = BIT(5), IWLAGN_WOWLAN_WAKEUP_4WAY_HANDSHAKE = BIT(6), IWLAGN_WOWLAN_WAKEUP_ALWAYS = BIT(7),
  IWLAGN_WOWLAN_WAKEUP_ENABLE_NET_DETECT = BIT(8)
}
 

Functions

struct iwl_bt_uart_msg __attribute__ ((packed))
 

Variables

struct tx_power_dual_stream __packed
 
u8 header
 
u8 frame1
 
u8 frame2
 
u8 frame3
 
u8 frame4
 
u8 frame5
 
u8 frame6
 
u8 frame7
 
struct iwl_bt_uart_msg last_bt_uart_msg
 
u8 bt_status
 
u8 bt_traffic_load
 
u8 bt_ci_compliance
 
u8 reserved
 
enum bt_coex_prio_table_events __attribute__
 
u8 prio_tbl [BT_COEX_PRIO_TBL_EVT_MAX]
 
u8 action
 
u8 type
 

Macro Definition Documentation

#define ABORT_STATUS   0x2

Definition at line 2422 of file commands.h.

#define AC_NUM   4

Definition at line 766 of file commands.h.

#define ADD_STA_MODIFY_NON_EXIST_STA   0x8

Definition at line 945 of file commands.h.

#define ADD_STA_NO_BLOCK_ACK_RESOURCE   0x4

Definition at line 944 of file commands.h.

#define ADD_STA_NO_ROOM_IN_TABLE   0x2

Definition at line 943 of file commands.h.

#define ADD_STA_SUCCESS_MSK   0x1

Definition at line 942 of file commands.h.

#define AGG_TX_STATE_LAST_SENT_MSK
Value:
AGG_TX_STATE_LAST_SENT_TRY_CNT_MSK | \
AGG_TX_STATE_LAST_SENT_BT_KILL_MSK)

Definition at line 1408 of file commands.h.

#define AGG_TX_STATE_SEQ_NUM_MSK   0xffff0000

Definition at line 1418 of file commands.h.

#define AGG_TX_STATE_SEQ_NUM_POS   16

Definition at line 1417 of file commands.h.

#define AGG_TX_STATE_TRY_CNT_MSK   0xf000

Definition at line 1414 of file commands.h.

#define AGG_TX_STATE_TRY_CNT_POS   12

Definition at line 1413 of file commands.h.

#define AGG_TX_STATUS_MSK   0x00000fff /* bits 0:11 */

Definition at line 1405 of file commands.h.

#define AGG_TX_TRY_MSK   0x0000f000 /* bits 12:15 */

Definition at line 1406 of file commands.h.

#define BT_AGG_THRESHOLD_DEF   1200

Definition at line 1870 of file commands.h.

#define BT_AGG_THRESHOLD_MAX   8000

Definition at line 1871 of file commands.h.

#define BT_AGG_THRESHOLD_MIN   400

Definition at line 1872 of file commands.h.

#define BT_COEX_DISABLE   (0x0)

Definition at line 1847 of file commands.h.

#define BT_COEX_DISABLE   (0x0)

Definition at line 1847 of file commands.h.

#define BT_COEX_ENABLE   (BT_ENABLE_CHANNEL_ANNOUNCE | BT_ENABLE_PRIORITY)

Definition at line 1848 of file commands.h.

#define BT_DISABLE_REDUCED_TXPOWER_THRESHOLD   (-65)

Definition at line 3688 of file commands.h.

#define BT_DURATION_LIMIT_DEF   625

Definition at line 1858 of file commands.h.

#define BT_DURATION_LIMIT_MAX   1250

Definition at line 1859 of file commands.h.

#define BT_DURATION_LIMIT_MIN   625

Definition at line 1860 of file commands.h.

#define BT_ENABLE_2_WIRE   BIT(2)

Definition at line 1845 of file commands.h.

#define BT_ENABLE_CHANNEL_ANNOUNCE   BIT(0)

Definition at line 1843 of file commands.h.

#define BT_ENABLE_PRIORITY   BIT(1)

Definition at line 1844 of file commands.h.

#define BT_ENABLE_REDUCED_TXPOWER_THRESHOLD   (-62)

Definition at line 3687 of file commands.h.

#define BT_FRAG_THRESHOLD_DEF   0

Definition at line 1866 of file commands.h.

#define BT_FRAG_THRESHOLD_MAX   0

Definition at line 1867 of file commands.h.

#define BT_FRAG_THRESHOLD_MIN   0

Definition at line 1868 of file commands.h.

#define BT_LEAD_TIME_DEF   (0x1E)

Definition at line 1851 of file commands.h.

#define BT_LEAD_TIME_MAX   (0xFF)

Definition at line 1852 of file commands.h.

#define BT_LEAD_TIME_MIN   (0x0)

Definition at line 1850 of file commands.h.

#define BT_MAX_KILL_DEF   (0x5)

Definition at line 1855 of file commands.h.

#define BT_MAX_KILL_MAX   (0xFF)

Definition at line 1856 of file commands.h.

#define BT_MAX_KILL_MIN   (0x1)

Definition at line 1854 of file commands.h.

#define BT_ON_THRESHOLD_DEF   4

Definition at line 1862 of file commands.h.

#define BT_ON_THRESHOLD_MAX   1000

Definition at line 1863 of file commands.h.

#define BT_ON_THRESHOLD_MIN   1

Definition at line 1864 of file commands.h.

#define BT_SESSION_ACTIVITY_1_UART_MSG   0x1

Definition at line 3508 of file commands.h.

#define BT_SESSION_ACTIVITY_2_UART_MSG   0x2

Definition at line 3509 of file commands.h.

#define BT_UART_MSG_2_FRAME1RESERVED1_MSK   (0x1<<BT_UART_MSG_2_FRAME1RESERVED1_POS)

Definition at line 3611 of file commands.h.

#define BT_UART_MSG_2_FRAME1RESERVED1_POS   (5)

Definition at line 3610 of file commands.h.

#define BT_UART_MSG_2_FRAME1RESERVED2_MSK   (0x3<<BT_UART_MSG_2_FRAME1RESERVED2_POS)

Definition at line 3614 of file commands.h.

#define BT_UART_MSG_2_FRAME1RESERVED2_POS   (6)

Definition at line 3613 of file commands.h.

#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_MSK   (0x3F<<BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS)

Definition at line 3618 of file commands.h.

#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS   (0)

Definition at line 3617 of file commands.h.

#define BT_UART_MSG_2_FRAME2RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME2RESERVED_POS)

Definition at line 3621 of file commands.h.

#define BT_UART_MSG_2_FRAME2RESERVED_POS   (6)

Definition at line 3620 of file commands.h.

#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_MSK   (0xF<<BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS)

Definition at line 3625 of file commands.h.

#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS   (0)

Definition at line 3624 of file commands.h.

#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS)

Definition at line 3628 of file commands.h.

#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS   (4)

Definition at line 3627 of file commands.h.

#define BT_UART_MSG_2_FRAME3LEMASTER_MSK   (0x1<<BT_UART_MSG_2_FRAME3LEMASTER_POS)

Definition at line 3631 of file commands.h.

#define BT_UART_MSG_2_FRAME3LEMASTER_POS   (5)

Definition at line 3630 of file commands.h.

#define BT_UART_MSG_2_FRAME3RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME3RESERVED_POS)

Definition at line 3634 of file commands.h.

#define BT_UART_MSG_2_FRAME3RESERVED_POS   (6)

Definition at line 3633 of file commands.h.

#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_MSK   (0xF<<BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS)

Definition at line 3638 of file commands.h.

#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS   (0)

Definition at line 3637 of file commands.h.

#define BT_UART_MSG_2_FRAME4NUMLECONN_MSK   (0x3<<BT_UART_MSG_2_FRAME4NUMLECONN_POS)

Definition at line 3641 of file commands.h.

#define BT_UART_MSG_2_FRAME4NUMLECONN_POS   (4)

Definition at line 3640 of file commands.h.

#define BT_UART_MSG_2_FRAME4RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME4RESERVED_POS)

Definition at line 3644 of file commands.h.

#define BT_UART_MSG_2_FRAME4RESERVED_POS   (6)

Definition at line 3643 of file commands.h.

#define BT_UART_MSG_2_FRAME5BTMINRSSI_MSK   (0xF<<BT_UART_MSG_2_FRAME5BTMINRSSI_POS)

Definition at line 3648 of file commands.h.

#define BT_UART_MSG_2_FRAME5BTMINRSSI_POS   (0)

Definition at line 3647 of file commands.h.

#define BT_UART_MSG_2_FRAME5LEADVERMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME5LEADVERMODE_POS)

Definition at line 3654 of file commands.h.

#define BT_UART_MSG_2_FRAME5LEADVERMODE_POS   (5)

Definition at line 3653 of file commands.h.

#define BT_UART_MSG_2_FRAME5LESCANINITMODE_MSK   (0x1<<BT_UART_MSG_2_FRAME5LESCANINITMODE_POS)

Definition at line 3651 of file commands.h.

#define BT_UART_MSG_2_FRAME5LESCANINITMODE_POS   (4)

Definition at line 3650 of file commands.h.

#define BT_UART_MSG_2_FRAME5RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME5RESERVED_POS)

Definition at line 3657 of file commands.h.

#define BT_UART_MSG_2_FRAME5RESERVED_POS   (6)

Definition at line 3656 of file commands.h.

#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_MSK   (0x1F<<BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS)

Definition at line 3661 of file commands.h.

#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS   (0)

Definition at line 3660 of file commands.h.

#define BT_UART_MSG_2_FRAME6RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME6RESERVED_POS)

Definition at line 3667 of file commands.h.

#define BT_UART_MSG_2_FRAME6RESERVED_POS   (6)

Definition at line 3666 of file commands.h.

#define BT_UART_MSG_2_FRAME6RFU_MSK   (0x1<<BT_UART_MSG_2_FRAME6RFU_POS)

Definition at line 3664 of file commands.h.

#define BT_UART_MSG_2_FRAME6RFU_POS   (5)

Definition at line 3663 of file commands.h.

#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_MSK   (0x7<<BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS)

Definition at line 3671 of file commands.h.

#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS   (0)

Definition at line 3670 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILE1_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE1_POS)

Definition at line 3674 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILE1_POS   (3)

Definition at line 3673 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILE2_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE2_POS)

Definition at line 3677 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILE2_POS   (4)

Definition at line 3676 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_MSK   (0x1<<BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS)

Definition at line 3680 of file commands.h.

#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS   (5)

Definition at line 3679 of file commands.h.

#define BT_UART_MSG_2_FRAME7RESERVED_MSK   (0x3<<BT_UART_MSG_2_FRAME7RESERVED_POS)

Definition at line 3683 of file commands.h.

#define BT_UART_MSG_2_FRAME7RESERVED_POS   (6)

Definition at line 3682 of file commands.h.

#define BT_UART_MSG_FRAME1MSGTYPE_MSK   (0x7 << BT_UART_MSG_FRAME1MSGTYPE_POS)

Definition at line 3513 of file commands.h.

#define BT_UART_MSG_FRAME1MSGTYPE_POS   (0)

Definition at line 3512 of file commands.h.

#define BT_UART_MSG_FRAME1RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME1RESERVED_POS)

Definition at line 3522 of file commands.h.

#define BT_UART_MSG_FRAME1RESERVED_POS   (6)

Definition at line 3521 of file commands.h.

#define BT_UART_MSG_FRAME1SSN_MSK   (0x3 << BT_UART_MSG_FRAME1SSN_POS)

Definition at line 3516 of file commands.h.

#define BT_UART_MSG_FRAME1SSN_POS   (3)

Definition at line 3515 of file commands.h.

#define BT_UART_MSG_FRAME1UPDATEREQ_MSK   (0x1 << BT_UART_MSG_FRAME1UPDATEREQ_POS)

Definition at line 3519 of file commands.h.

#define BT_UART_MSG_FRAME1UPDATEREQ_POS   (5)

Definition at line 3518 of file commands.h.

#define BT_UART_MSG_FRAME2CHLSEQN_MSK   (0x1 << BT_UART_MSG_FRAME2CHLSEQN_POS)

Definition at line 3532 of file commands.h.

#define BT_UART_MSG_FRAME2CHLSEQN_POS   (4)

Definition at line 3531 of file commands.h.

#define BT_UART_MSG_FRAME2INBAND_MSK   (0x1 << BT_UART_MSG_FRAME2INBAND_POS)

Definition at line 3535 of file commands.h.

#define BT_UART_MSG_FRAME2INBAND_POS   (5)

Definition at line 3534 of file commands.h.

#define BT_UART_MSG_FRAME2OPENCONNECTIONS_MSK   (0x3 << BT_UART_MSG_FRAME2OPENCONNECTIONS_POS)

Definition at line 3526 of file commands.h.

#define BT_UART_MSG_FRAME2OPENCONNECTIONS_POS   (0)

Definition at line 3525 of file commands.h.

#define BT_UART_MSG_FRAME2RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME2RESERVED_POS)

Definition at line 3538 of file commands.h.

#define BT_UART_MSG_FRAME2RESERVED_POS   (6)

Definition at line 3537 of file commands.h.

#define BT_UART_MSG_FRAME2TRAFFICLOAD_MSK   (0x3 << BT_UART_MSG_FRAME2TRAFFICLOAD_POS)

Definition at line 3529 of file commands.h.

#define BT_UART_MSG_FRAME2TRAFFICLOAD_POS   (2)

Definition at line 3528 of file commands.h.

#define BT_UART_MSG_FRAME3A2DP_MSK   (0x1 << BT_UART_MSG_FRAME3A2DP_POS)

Definition at line 3548 of file commands.h.

#define BT_UART_MSG_FRAME3A2DP_POS   (2)

Definition at line 3547 of file commands.h.

#define BT_UART_MSG_FRAME3ACL_MSK   (0x1 << BT_UART_MSG_FRAME3ACL_POS)

Definition at line 3551 of file commands.h.

#define BT_UART_MSG_FRAME3ACL_POS   (3)

Definition at line 3550 of file commands.h.

#define BT_UART_MSG_FRAME3MASTER_MSK   (0x1 << BT_UART_MSG_FRAME3MASTER_POS)

Definition at line 3554 of file commands.h.

#define BT_UART_MSG_FRAME3MASTER_POS   (4)

Definition at line 3553 of file commands.h.

#define BT_UART_MSG_FRAME3OBEX_MSK   (0x1 << BT_UART_MSG_FRAME3OBEX_POS)

Definition at line 3557 of file commands.h.

#define BT_UART_MSG_FRAME3OBEX_POS   (5)

Definition at line 3556 of file commands.h.

#define BT_UART_MSG_FRAME3RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME3RESERVED_POS)

Definition at line 3560 of file commands.h.

#define BT_UART_MSG_FRAME3RESERVED_POS   (6)

Definition at line 3559 of file commands.h.

#define BT_UART_MSG_FRAME3SCOESCO_MSK   (0x1 << BT_UART_MSG_FRAME3SCOESCO_POS)

Definition at line 3542 of file commands.h.

#define BT_UART_MSG_FRAME3SCOESCO_POS   (0)

Definition at line 3541 of file commands.h.

#define BT_UART_MSG_FRAME3SNIFF_MSK   (0x1 << BT_UART_MSG_FRAME3SNIFF_POS)

Definition at line 3545 of file commands.h.

#define BT_UART_MSG_FRAME3SNIFF_POS   (1)

Definition at line 3544 of file commands.h.

#define BT_UART_MSG_FRAME4IDLEDURATION_MSK   (0x3F << BT_UART_MSG_FRAME4IDLEDURATION_POS)

Definition at line 3564 of file commands.h.

#define BT_UART_MSG_FRAME4IDLEDURATION_POS   (0)

Definition at line 3563 of file commands.h.

#define BT_UART_MSG_FRAME4RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME4RESERVED_POS)

Definition at line 3567 of file commands.h.

#define BT_UART_MSG_FRAME4RESERVED_POS   (6)

Definition at line 3566 of file commands.h.

#define BT_UART_MSG_FRAME5ESCORETRANSMIT_MSK   (0x3 << BT_UART_MSG_FRAME5ESCORETRANSMIT_POS)

Definition at line 3577 of file commands.h.

#define BT_UART_MSG_FRAME5ESCORETRANSMIT_POS   (4)

Definition at line 3576 of file commands.h.

#define BT_UART_MSG_FRAME5RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME5RESERVED_POS)

Definition at line 3580 of file commands.h.

#define BT_UART_MSG_FRAME5RESERVED_POS   (6)

Definition at line 3579 of file commands.h.

#define BT_UART_MSG_FRAME5RXACTIVITY_MSK   (0x3 << BT_UART_MSG_FRAME5RXACTIVITY_POS)

Definition at line 3574 of file commands.h.

#define BT_UART_MSG_FRAME5RXACTIVITY_POS   (2)

Definition at line 3573 of file commands.h.

#define BT_UART_MSG_FRAME5TXACTIVITY_MSK   (0x3 << BT_UART_MSG_FRAME5TXACTIVITY_POS)

Definition at line 3571 of file commands.h.

#define BT_UART_MSG_FRAME5TXACTIVITY_POS   (0)

Definition at line 3570 of file commands.h.

#define BT_UART_MSG_FRAME6DISCOVERABLE_MSK   (0x1 << BT_UART_MSG_FRAME6DISCOVERABLE_POS)

Definition at line 3587 of file commands.h.

#define BT_UART_MSG_FRAME6DISCOVERABLE_POS   (5)

Definition at line 3586 of file commands.h.

#define BT_UART_MSG_FRAME6RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME6RESERVED_POS)

Definition at line 3590 of file commands.h.

#define BT_UART_MSG_FRAME6RESERVED_POS   (6)

Definition at line 3589 of file commands.h.

#define BT_UART_MSG_FRAME6SNIFFINTERVAL_MSK   (0x1F << BT_UART_MSG_FRAME6SNIFFINTERVAL_POS)

Definition at line 3584 of file commands.h.

#define BT_UART_MSG_FRAME6SNIFFINTERVAL_POS   (0)

Definition at line 3583 of file commands.h.

#define BT_UART_MSG_FRAME7CONNECTABLE_MSK   (0x1 << BT_UART_MSG_FRAME7CONNECTABLE_POS)

Definition at line 3603 of file commands.h.

#define BT_UART_MSG_FRAME7CONNECTABLE_POS   (5)

Definition at line 3602 of file commands.h.

#define BT_UART_MSG_FRAME7INQUIRY_MSK   (0x1 << BT_UART_MSG_FRAME7INQUIRY_POS)

Definition at line 3600 of file commands.h.

#define BT_UART_MSG_FRAME7INQUIRY_POS   (4)

Definition at line 3599 of file commands.h.

#define BT_UART_MSG_FRAME7PAGE_MSK   (0x1 << BT_UART_MSG_FRAME7PAGE_POS)

Definition at line 3597 of file commands.h.

#define BT_UART_MSG_FRAME7PAGE_POS   (3)

Definition at line 3596 of file commands.h.

#define BT_UART_MSG_FRAME7RESERVED_MSK   (0x3 << BT_UART_MSG_FRAME7RESERVED_POS)

Definition at line 3606 of file commands.h.

#define BT_UART_MSG_FRAME7RESERVED_POS   (6)

Definition at line 3605 of file commands.h.

#define BT_UART_MSG_FRAME7SNIFFACTIVITY_MSK   (0x7 << BT_UART_MSG_FRAME7SNIFFACTIVITY_POS)

Definition at line 3594 of file commands.h.

#define BT_UART_MSG_FRAME7SNIFFACTIVITY_POS   (0)

Definition at line 3593 of file commands.h.

#define BUILD_RAxTID (   sta_id,
  tid 
)    (((sta_id) << 4) + (tid))

Definition at line 843 of file commands.h.

#define CAN_ABORT_STATUS   cpu_to_le32(0x1)

Definition at line 2420 of file commands.h.

#define CARD_STATE_CMD_DISABLE   0x00 /* Put card to sleep */

Definition at line 2217 of file commands.h.

#define CARD_STATE_CMD_ENABLE   0x01 /* Wake up card */

Definition at line 2218 of file commands.h.

#define CARD_STATE_CMD_HALT   0x02 /* Power down permanently */

Definition at line 2219 of file commands.h.

#define CCMP_MIC_LEN   8

Definition at line 1233 of file commands.h.

#define COEX_ASSOC_ACTIVE_LEVEL_FLAGS   0

Definition at line 3361 of file commands.h.

#define COEX_ASSOC_AUTO_SCAN_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3358 of file commands.h.

#define COEX_ASSOC_MANUAL_SCAN_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3355 of file commands.h.

#define COEX_ASSOCIATED_IDLE_FLAGS   0

Definition at line 3354 of file commands.h.

#define COEX_CALIBRATION_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3342 of file commands.h.

#define COEX_CONNECTION_ESTAB_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG | \
COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG)

Definition at line 3350 of file commands.h.

#define COEX_CU_ASSOC_ACTIVE_LEVEL_RP   4

Definition at line 3310 of file commands.h.

#define COEX_CU_ASSOC_ACTIVE_LEVEL_WP   3

Definition at line 3327 of file commands.h.

#define COEX_CU_ASSOC_AUTO_SCAN_RP   4

Definition at line 3309 of file commands.h.

#define COEX_CU_ASSOC_AUTO_SCAN_WP   3

Definition at line 3326 of file commands.h.

#define COEX_CU_ASSOC_MANUAL_SCAN_RP   4

Definition at line 3308 of file commands.h.

#define COEX_CU_ASSOC_MANUAL_SCAN_WP   3

Definition at line 3325 of file commands.h.

#define COEX_CU_ASSOCIATED_IDLE_RP   4

Definition at line 3307 of file commands.h.

#define COEX_CU_ASSOCIATED_IDLE_WP   3

Definition at line 3324 of file commands.h.

#define COEX_CU_CALIBRATION_RP   4

Definition at line 3304 of file commands.h.

#define COEX_CU_CALIBRATION_WP   3

Definition at line 3321 of file commands.h.

#define COEX_CU_CONNECTION_ESTAB_RP   4

Definition at line 3306 of file commands.h.

#define COEX_CU_CONNECTION_ESTAB_WP   3

Definition at line 3323 of file commands.h.

#define COEX_CU_IPAN_ASSOC_LEVEL_RP   4

Definition at line 3314 of file commands.h.

#define COEX_CU_IPAN_ASSOC_LEVEL_WP   3

Definition at line 3331 of file commands.h.

#define COEX_CU_PERIODIC_CALIBRATION_RP   4

Definition at line 3305 of file commands.h.

#define COEX_CU_PERIODIC_CALIBRATION_WP   3

Definition at line 3322 of file commands.h.

#define COEX_CU_RF_OFF_RP   4

Definition at line 3312 of file commands.h.

#define COEX_CU_RF_OFF_WP   3

Definition at line 3329 of file commands.h.

#define COEX_CU_RF_ON_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG | \
COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG)

Definition at line 3377 of file commands.h.

#define COEX_CU_RF_ON_RP   6

Definition at line 3311 of file commands.h.

#define COEX_CU_RF_ON_WP   3

Definition at line 3328 of file commands.h.

#define COEX_CU_RSRVD1_RP   4

Definition at line 3315 of file commands.h.

#define COEX_CU_RSRVD1_WP   3

Definition at line 3332 of file commands.h.

#define COEX_CU_RSRVD2_RP   4

Definition at line 3316 of file commands.h.

#define COEX_CU_RSRVD2_WP   3

Definition at line 3333 of file commands.h.

#define COEX_CU_STAND_ALONE_DEBUG_RP   6

Definition at line 3313 of file commands.h.

#define COEX_CU_STAND_ALONE_DEBUG_WP   6

Definition at line 3330 of file commands.h.

#define COEX_CU_UNASSOC_AUTO_SCAN_RP   4

Definition at line 3303 of file commands.h.

#define COEX_CU_UNASSOC_AUTO_SCAN_WP   3

Definition at line 3320 of file commands.h.

#define COEX_CU_UNASSOC_IDLE_RP   4

Definition at line 3301 of file commands.h.

#define COEX_CU_UNASSOC_IDLE_WP   3

Definition at line 3318 of file commands.h.

#define COEX_CU_UNASSOC_MANUAL_SCAN_RP   4

Definition at line 3302 of file commands.h.

#define COEX_CU_UNASSOC_MANUAL_SCAN_WP   3

Definition at line 3319 of file commands.h.

#define COEX_EVENT_REQUEST_MSK   (0x1)

Definition at line 3475 of file commands.h.

#define COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG   (0x4)

Definition at line 3299 of file commands.h.

#define COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG   (0x2)

Definition at line 3298 of file commands.h.

#define COEX_EVT_FLAG_MEDIUM_FREE_NTFY_FLG   (0x1)

Definition at line 3297 of file commands.h.

#define COEX_FLAGS_ASSOC_WA_UNMASK_MSK   (0x8)

Definition at line 3429 of file commands.h.

#define COEX_FLAGS_COEX_ENABLE_MSK   (0x80)

Definition at line 3431 of file commands.h.

#define COEX_FLAGS_STA_TABLE_VALID_MSK   (0x1)

Definition at line 3425 of file commands.h.

#define COEX_FLAGS_UNASSOC_WA_UNMASK_MSK   (0x4)

Definition at line 3427 of file commands.h.

#define COEX_IPAN_ASSOC_LEVEL_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG | \
COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG)

Definition at line 3367 of file commands.h.

#define COEX_MEDIUM_ACTIVE   (0x1) /* radio belongs to WiFi */

Definition at line 3454 of file commands.h.

#define COEX_MEDIUM_BUSY   (0x0) /* radio belongs to WiMAX */

Definition at line 3453 of file commands.h.

#define COEX_MEDIUM_CHANGED   (0x8)

Definition at line 3459 of file commands.h.

#define COEX_MEDIUM_CHANGED_MSK   (0x8)

Definition at line 3460 of file commands.h.

#define COEX_MEDIUM_MSK   (0x7)

Definition at line 3456 of file commands.h.

#define COEX_MEDIUM_PRE_RELEASE   (0x2) /* received radio release */

Definition at line 3455 of file commands.h.

#define COEX_MEDIUM_SHIFT   (3)

Definition at line 3461 of file commands.h.

#define COEX_PERIODIC_CALIBRATION_FLAGS   0

Definition at line 3345 of file commands.h.

#define COEX_RF_OFF_FLAGS   0

Definition at line 3363 of file commands.h.

#define COEX_RF_ON_FLAGS   0

Definition at line 3362 of file commands.h.

#define COEX_RSRVD1_FLAGS   0

Definition at line 3371 of file commands.h.

#define COEX_RSRVD2_FLAGS   0

Definition at line 3372 of file commands.h.

#define COEX_STAND_ALONE_DEBUG_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3364 of file commands.h.

#define COEX_UNASSOC_AUTO_SCAN_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3339 of file commands.h.

#define COEX_UNASSOC_IDLE_FLAGS   0

Definition at line 3335 of file commands.h.

#define COEX_UNASSOC_MANUAL_SCAN_FLAGS
Value:
COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG)

Definition at line 3336 of file commands.h.

#define CT_CARD_DISABLED   0x04

Definition at line 2233 of file commands.h.

#define DEFAULT_RADIO_SENSOR_OFFSET   cpu_to_le16(2700)

Definition at line 3234 of file commands.h.

#define ENHANCE_HD_TABLE_ENTRIES   (ENHANCE_HD_TABLE_SIZE - HD_TABLE_SIZE)

Definition at line 3041 of file commands.h.

#define ENHANCE_HD_TABLE_SIZE   (23)

Definition at line 3038 of file commands.h.

#define HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX   (2)

Definition at line 3011 of file commands.h.

#define HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX   (3)

Definition at line 3012 of file commands.h.

#define HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX   (5)

Definition at line 3014 of file commands.h.

#define HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX   (6)

Definition at line 3015 of file commands.h.

#define HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX   (9)

Definition at line 3018 of file commands.h.

#define HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX   (4)

Definition at line 3013 of file commands.h.

#define HD_BARKER_CORR_TH_ADD_MIN_INDEX   (7)

Definition at line 3016 of file commands.h.

#define HD_BARKER_CORR_TH_ADD_MIN_MRC_INDEX   (8)

Definition at line 3017 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V1   cpu_to_le16(99)

Definition at line 3053 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V2   cpu_to_le16(99)

Definition at line 3065 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_INDEX   (21)

Definition at line 3034 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1   cpu_to_le16(4)

Definition at line 3051 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2   cpu_to_le16(60)

Definition at line 3063 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_INDEX   (19)

Definition at line 3032 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V1   cpu_to_le16(476)

Definition at line 3052 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V2   cpu_to_le16(476)

Definition at line 3064 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_INDEX   (20)

Definition at line 3033 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V1   cpu_to_le16(853)

Definition at line 3050 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V2   cpu_to_le16(853)

Definition at line 3062 of file commands.h.

#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_INDEX   (18)

Definition at line 3031 of file commands.h.

#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V1   cpu_to_le16(0)

Definition at line 3045 of file commands.h.

#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V2   cpu_to_le16(1)

Definition at line 3057 of file commands.h.

#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_INDEX   (13)

Definition at line 3026 of file commands.h.

#define HD_INA_NON_SQUARE_DET_CCK_DATA_V1   cpu_to_le16(0)

Definition at line 3044 of file commands.h.

#define HD_INA_NON_SQUARE_DET_CCK_DATA_V2   cpu_to_le16(1)

Definition at line 3056 of file commands.h.

#define HD_INA_NON_SQUARE_DET_CCK_INDEX   (12)

Definition at line 3025 of file commands.h.

#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V1   cpu_to_le16(0)

Definition at line 3043 of file commands.h.

#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V2   cpu_to_le16(1)

Definition at line 3055 of file commands.h.

#define HD_INA_NON_SQUARE_DET_OFDM_INDEX   (11)

Definition at line 3024 of file commands.h.

#define HD_MIN_ENERGY_CCK_DET_INDEX   (0) /* table indexes */

Definition at line 3009 of file commands.h.

#define HD_MIN_ENERGY_OFDM_DET_INDEX   (1)

Definition at line 3010 of file commands.h.

#define HD_OFDM_ENERGY_TH_IN_INDEX   (10)

Definition at line 3019 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V1   cpu_to_le16(37)

Definition at line 3049 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V2   cpu_to_le16(45)

Definition at line 3061 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_INDEX   (17)

Definition at line 3030 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1   cpu_to_le16(4)

Definition at line 3047 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2   cpu_to_le16(40)

Definition at line 3059 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_INDEX   (15)

Definition at line 3028 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V1   cpu_to_le16(486)

Definition at line 3048 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V2   cpu_to_le16(486)

Definition at line 3060 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_INDEX   (16)

Definition at line 3029 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V1   cpu_to_le16(668)

Definition at line 3046 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V2   cpu_to_le16(600)

Definition at line 3058 of file commands.h.

#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_INDEX   (14)

Definition at line 3027 of file commands.h.

#define HD_RESERVED   (22)

Definition at line 3035 of file commands.h.

#define HD_TABLE_SIZE   (11) /* number of entries */

SENSITIVITY_CMD = 0xa8 (command, has simple generic response)

This command sets up the Rx signal detector for a sensitivity level that is high enough to lock onto all signals within the associated network, but low enough to ignore signals that are below a certain threshold, so as not to have too many "false alarms". False alarms are signals that the Rx DSP tries to lock onto, but then discards after determining that they are noise.

The optimum number of false alarms is between 5 and 50 per 200 TUs (200 * 1024 uSecs, i.e. 204.8 milliseconds) of actual Rx time (i.e. time listening, not transmitting). Driver must adjust sensitivity so that the ratio of actual false alarms to actual Rx time falls within this range.

While associated, uCode delivers STATISTICS_NOTIFICATIONs after each received beacon. These provide information to the driver to analyze the sensitivity. Don't analyze statistics that come in from scanning, or any other non-associated-network source. Pertinent statistics include:

From "general" statistics (struct statistics_rx_non_phy):

(beacon_energy_[abc] & 0x0FF00) >> 8 (unsigned, higher value is lower level) Measure of energy of desired signal. Used for establishing a level below which the device does not detect signals.

(beacon_silence_rssi_[abc] & 0x0FF00) >> 8 (unsigned, units in dB) Measure of background noise in silent period after beacon.

channel_load uSecs of actual Rx time during beacon period (varies according to how much time was spent transmitting).

From "cck" and "ofdm" statistics (struct statistics_rx_phy), separately:

false_alarm_cnt Signal locks abandoned early (before phy-level header).

plcp_err Signal locks abandoned late (during phy-level header).

NOTE: Both false_alarm_cnt and plcp_err increment monotonically from beacon to beacon, i.e. each value is an accumulation of all errors before and including the latest beacon. Values will wrap around to 0 after counting up to 2^32 - 1. Driver must differentiate vs. previous beacon's values to determine # false alarms in the current beacon period.

Total number of false alarms = false_alarms + plcp_errs

For OFDM, adjust the following table entries in struct iwl_sensitivity_cmd (notice that the start points for OFDM are at or close to settings for maximum sensitivity):

                                        START  /  MIN  /  MAX

HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX 90 / 85 / 120 HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX 170 / 170 / 210 HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX 105 / 105 / 140 HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX 220 / 220 / 270

If actual rate of OFDM false alarms (+ plcp_errors) is too high (greater than 50 for each 204.8 msecs listening), reduce sensitivity by adding 1 to all 4 of the table entries above, up to the max for each entry. Conversely, if false alarm rate is too low (less than 5 for each 204.8 msecs listening), subtract 1 from each entry to increase sensitivity.

For CCK sensitivity, keep track of the following:

1). 20-beacon history of maximum background noise, indicated by (beacon_silence_rssi_[abc] & 0x0FF00), units in dB, across the 3 receivers. For any given beacon, the "silence reference" is the maximum of last 60 samples (20 beacons * 3 receivers).

2). 10-beacon history of strongest signal level, as indicated by (beacon_energy_[abc] & 0x0FF00) >> 8, across the 3 receivers, i.e. the strength of the signal through the best receiver at the moment. These measurements are "upside down", with lower values for stronger signals, so max energy will be minimum value.

Then for any given beacon, the driver must determine the weakest of the strongest signals; this is the minimum level that needs to be successfully detected, when using the best receiver at the moment. "Max cck energy" is the maximum (higher value means lower energy!) of the last 10 minima. Once this is determined, driver must add a little margin by adding "6" to it.

3). Number of consecutive beacon periods with too few false alarms. Reset this to 0 at the first beacon period that falls within the "good" range (5 to 50 false alarms per 204.8 milliseconds rx).

Then, adjust the following CCK table entries in struct iwl_sensitivity_cmd (notice that the start points for CCK are at maximum sensitivity):

                                        START  /  MIN  /  MAX

HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX 125 / 125 / 200 HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX 200 / 200 / 400 HD_MIN_ENERGY_CCK_DET_INDEX 100 / 0 / 100

If actual rate of CCK false alarms (+ plcp_errors) is too high (greater than 50 for each 204.8 msecs listening), method for reducing sensitivity is:

1) Add 3 to value in HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX, up to max 400.

2) If current value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX is < 160, sensitivity has been reduced a significant amount; bring it up to a moderate 161. Otherwise, add 3, up to max 200.

3) a) If current value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX is > 160, sensitivity has been reduced only a moderate or small amount; subtract 2 from value in HD_MIN_ENERGY_CCK_DET_INDEX, down to min 0. Otherwise (if gain has been significantly reduced), don't change the HD_MIN_ENERGY_CCK_DET_INDEX value.

b) Save a snapshot of the "silence reference".

If actual rate of CCK false alarms (+ plcp_errors) is too low (less than 5 for each 204.8 msecs listening), method for increasing sensitivity is used only if:

1a) Previous beacon did not have too many false alarms 1b) AND difference between previous "silence reference" and current "silence reference" (prev - current) is 2 or more, OR 2) 100 or more consecutive beacon periods have had rate of less than 5 false alarms per 204.8 milliseconds rx time.

Method for increasing sensitivity:

1) Subtract 3 from value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX, down to min 125.

2) Subtract 3 from value in HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX, down to min 200.

3) Add 2 to value in HD_MIN_ENERGY_CCK_DET_INDEX, up to max 100.

If actual rate of CCK false alarms (+ plcp_errors) is within good range (between 5 and 50 for each 204.8 msecs listening):

1) Save a snapshot of the silence reference.

2) If previous beacon had too many CCK false alarms (+ plcp_errors), give some extra margin to energy threshold by subtracting 8 from value in HD_MIN_ENERGY_CCK_DET_INDEX.

For all cases (too few, too many, good range), make sure that the CCK detection threshold (energy) is below the energy level for robust detection over the past 10 beacon periods, the "Max cck energy". Lower values mean higher energy; this means making sure that the value in HD_MIN_ENERGY_CCK_DET_INDEX is at or above "Max cck energy".

Definition at line 3008 of file commands.h.

#define HW_CARD_DISABLED   0x01

Definition at line 2231 of file commands.h.

#define INTERFERENCE_DATA_AVAILABLE   cpu_to_le32(1)

Definition at line 2585 of file commands.h.

#define IWL50_TX_RES_INIT_RATE_INDEX_MSK   0x0f

Definition at line 1458 of file commands.h.

#define IWL50_TX_RES_INIT_RATE_INDEX_POS   0

Definition at line 1457 of file commands.h.

#define IWL50_TX_RES_INV_RATE_INDEX_MSK   0x80

Definition at line 1461 of file commands.h.

#define IWL50_TX_RES_RATE_TABLE_COLOR_MSK   0x70

Definition at line 1460 of file commands.h.

#define IWL50_TX_RES_RATE_TABLE_COLOR_POS   4

Definition at line 1459 of file commands.h.

#define IWL_AGG_TX_QUEUE_MSK   cpu_to_le32(0xffc00)

Definition at line 987 of file commands.h.

#define IWL_AP_ID   0

Definition at line 789 of file commands.h.

#define IWL_AP_ID_PAN   1

Definition at line 790 of file commands.h.

#define IWL_BT_COEX_ENV_CLOSE   0

Definition at line 3758 of file commands.h.

#define IWL_BT_COEX_ENV_OPEN   1

Definition at line 3759 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_PRIO_MASK   0x0e

Definition at line 3712 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_PRIO_POS   1

Definition at line 3711 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_PRIO_SHIFT   1

Definition at line 3715 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_RESERVED_MASK   0xf0

Definition at line 3714 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_RESERVED_POS   4

Definition at line 3713 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_MSK   0x1

Definition at line 3710 of file commands.h.

#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_POS   0

Definition at line 3709 of file commands.h.

#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK   cpu_to_le32(BIT(0))

Definition at line 3193 of file commands.h.

#define IWL_CALIB_INIT_CFG_ALL
#define IWL_CALIB_RT_CFG_ALL
#define IWL_CONN_MAX_LISTEN_INTERVAL   10

Definition at line 660 of file commands.h.

#define IWL_DEFAULT_CMD_QUEUE_NUM   4

Definition at line 207 of file commands.h.

#define IWL_DROP_ALL   (BIT(IWL_RXON_CTX_BSS) | BIT(IWL_RXON_CTX_PAN))

Definition at line 990 of file commands.h.

#define IWL_DROP_SINGLE   0

Definition at line 989 of file commands.h.

#define IWL_GOOD_CRC_TH_DEFAULT   cpu_to_le16(1)

Definition at line 2314 of file commands.h.

#define IWL_GOOD_CRC_TH_DISABLED   0

Definition at line 2313 of file commands.h.

#define IWL_GOOD_CRC_TH_NEVER   cpu_to_le16(0xffff)

Definition at line 2315 of file commands.h.

#define IWL_IPAN_CMD_QUEUE_NUM   9

Definition at line 208 of file commands.h.

#define IWL_IPAN_MCAST_QUEUE   8

Definition at line 229 of file commands.h.

#define IWL_MAX_CMD_SIZE   4096

Definition at line 2316 of file commands.h.

#define IWL_MAX_UCODE_BEACON_INTERVAL   4 /* 4096 */

Definition at line 661 of file commands.h.

#define IWL_MIN_NUM_QUEUES   11

Definition at line 202 of file commands.h.

#define IWL_MIN_SLOT_TIME   20

Definition at line 3908 of file commands.h.

#define IWL_MISSED_BEACON_THRESHOLD_DEF   (5)

Definition at line 2825 of file commands.h.

#define IWL_MISSED_BEACON_THRESHOLD_MAX   IWL_MISSED_BEACON_THRESHOLD_DEF

Definition at line 2826 of file commands.h.

#define IWL_MISSED_BEACON_THRESHOLD_MIN   (1)

Definition at line 2824 of file commands.h.

#define IWL_PAN_SCD_BE_MSK   cpu_to_le32(BIT(5))

Definition at line 981 of file commands.h.

#define IWL_PAN_SCD_BK_MSK   cpu_to_le32(BIT(4))

Definition at line 980 of file commands.h.

#define IWL_PAN_SCD_MGMT_MSK   cpu_to_le32(BIT(7))

Definition at line 984 of file commands.h.

#define IWL_PAN_SCD_MULTICAST_MSK   cpu_to_le32(BIT(8))

Definition at line 985 of file commands.h.

#define IWL_PAN_SCD_VI_MSK   cpu_to_le32(BIT(6))

Definition at line 982 of file commands.h.

#define IWL_PAN_SCD_VO_MSK   cpu_to_le32(BIT(7))

Definition at line 983 of file commands.h.

#define IWL_POWER_ADVANCE_PM_ENA_MSK   cpu_to_le16(BIT(9))

Definition at line 2174 of file commands.h.

#define IWL_POWER_BEACON_FILTERING   cpu_to_le16(BIT(5))

Definition at line 2170 of file commands.h.

#define IWL_POWER_BT_SCO_ENA   cpu_to_le16(BIT(8))

Definition at line 2173 of file commands.h.

#define IWL_POWER_CT_KILL_SET   cpu_to_le16(BIT(7))

Definition at line 2172 of file commands.h.

#define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK   cpu_to_le16(BIT(0))

Definition at line 2164 of file commands.h.

#define IWL_POWER_FAST_PD   cpu_to_le16(BIT(4))

Definition at line 2169 of file commands.h.

#define IWL_POWER_PCI_PM_MSK   cpu_to_le16(BIT(3))

Definition at line 2168 of file commands.h.

#define IWL_POWER_POWER_MANAGEMENT_ENA_MSK   cpu_to_le16(BIT(1))

Definition at line 2166 of file commands.h.

#define IWL_POWER_POWER_SAVE_ENA_MSK   cpu_to_le16(BIT(0))

Definition at line 2165 of file commands.h.

#define IWL_POWER_SHADOW_REG_ENA   cpu_to_le16(BIT(6))

Definition at line 2171 of file commands.h.

#define IWL_POWER_SLEEP_OVER_DTIM_MSK   cpu_to_le16(BIT(2))

Definition at line 2167 of file commands.h.

#define IWL_POWER_VEC_SIZE   5

struct iwl_powertable_cmd - Power Table Command : See below:

POWER_TABLE_CMD = 0x77 (command, has simple generic response)

PM allow: bit 0 - '0' Driver not allow power management '1' Driver allow PM (use rest of parameters)

uCode send sleep notifications: bit 1 - '0' Don't send sleep notification '1' send sleep notification (SEND_PM_NOTIFICATION)

Sleep over DTIM bit 2 - '0' PM have to walk up every DTIM '1' PM could sleep over DTIM till listen Interval.

PCI power managed bit 3 - '0' (PCI_CFG_LINK_CTRL & 0x1) '1' !(PCI_CFG_LINK_CTRL & 0x1)

Fast PD bit 4 - '1' Put radio to sleep when receiving frame for others

Force sleep Modes bit 31/30- '00' use both mac/xtal sleeps '01' force Mac sleep '10' force xtal sleep '11' Illegal set

NOTE: if sleep_interval[SLEEP_INTRVL_TABLE_SIZE-1] > DTIM period then ucode assume sleep over DTIM is allowed and we don't need to wake up for every DTIM.

Definition at line 2162 of file commands.h.

#define IWL_PROBE_STATUS_FAIL_BT   BIT(2)

Definition at line 2451 of file commands.h.

#define IWL_PROBE_STATUS_FAIL_TTL   BIT(1)

Definition at line 2450 of file commands.h.

#define IWL_PROBE_STATUS_OK   0

Definition at line 2447 of file commands.h.

#define IWL_PROBE_STATUS_TX_FAILED   BIT(0)

Definition at line 2448 of file commands.h.

#define IWL_PWR_CCK_ENTRIES   2

Definition at line 334 of file commands.h.

#define IWL_PWR_NUM_HT_OFDM_ENTRIES   24

Definition at line 333 of file commands.h.

#define IWL_SCAN_PROBE_MASK (   n)    cpu_to_le32((BIT(n) | (BIT(n) - BIT(1))))

Definition at line 2295 of file commands.h.

#define IWL_SCD_BE_MSK   cpu_to_le32(BIT(1))

Definition at line 974 of file commands.h.

#define IWL_SCD_BK_MSK   cpu_to_le32(BIT(0))

Definition at line 973 of file commands.h.

#define IWL_SCD_MGMT_MSK   cpu_to_le32(BIT(3))

Definition at line 977 of file commands.h.

#define IWL_SCD_VI_MSK   cpu_to_le32(BIT(2))

Definition at line 975 of file commands.h.

#define IWL_SCD_VO_MSK   cpu_to_le32(BIT(3))

Definition at line 976 of file commands.h.

#define IWL_STA_ID   2

Definition at line 791 of file commands.h.

#define IWL_STATS_CONF_CLEAR_STATS   cpu_to_le32(0x1) /* see above */

Definition at line 2766 of file commands.h.

#define IWL_STATS_CONF_DISABLE_NOTIF   cpu_to_le32(0x2)/* see above */

Definition at line 2767 of file commands.h.

#define IWL_TEMP_CONVERT   260

Definition at line 2520 of file commands.h.

#define IWL_TID_NON_QOS   IWL_MAX_TID_COUNT

Definition at line 796 of file commands.h.

#define IWL_TX_FIFO_AUX   5

Definition at line 219 of file commands.h.

#define IWL_TX_FIFO_BE   1

Definition at line 211 of file commands.h.

#define IWL_TX_FIFO_BE_IPAN   4

Definition at line 215 of file commands.h.

#define IWL_TX_FIFO_BK   0 /* shared */

Definition at line 210 of file commands.h.

#define IWL_TX_FIFO_BK_IPAN   IWL_TX_FIFO_BK

Definition at line 214 of file commands.h.

#define IWL_TX_FIFO_UNUSED   255

Definition at line 220 of file commands.h.

#define IWL_TX_FIFO_VI   2 /* shared */

Definition at line 212 of file commands.h.

#define IWL_TX_FIFO_VI_IPAN   IWL_TX_FIFO_VI

Definition at line 216 of file commands.h.

#define IWL_TX_FIFO_VO   3

Definition at line 213 of file commands.h.

#define IWL_TX_FIFO_VO_IPAN   5

Definition at line 217 of file commands.h.

#define IWL_WIPAN_PARAMS_FLG_FILTER_BEACON_NOTIF   BIT(4)

Definition at line 3926 of file commands.h.

#define IWL_WIPAN_PARAMS_FLG_FULL_SLOTTED_MODE   BIT(5)

Definition at line 3927 of file commands.h.

#define IWL_WIPAN_PARAMS_FLG_LEAVE_CHANNEL_CTS   BIT(1) /* reserved */

Definition at line 3923 of file commands.h.

#define IWL_WIPAN_PARAMS_FLG_LEAVE_CHANNEL_QUIET   BIT(2) /* reserved */

Definition at line 3924 of file commands.h.

#define IWL_WIPAN_PARAMS_FLG_SLOTTED_MODE   BIT(3) /* reserved */

Definition at line 3925 of file commands.h.

#define IWLAGN_BROADCAST_ID   15

Definition at line 793 of file commands.h.

#define IWLAGN_BT3_PRIO_SAMPLE_DEFAULT   2

Definition at line 1926 of file commands.h.

#define IWLAGN_BT3_T2_DEFAULT   0xc

Definition at line 1928 of file commands.h.

#define IWLAGN_BT3_T7_DEFAULT   1

Definition at line 1913 of file commands.h.

#define IWLAGN_BT_ALL_VALID_MSK
Value:
IWLAGN_BT_VALID_BOOST | \
IWLAGN_BT_VALID_MAX_KILL | \
IWLAGN_BT_VALID_3W_TIMERS | \
IWLAGN_BT_VALID_KILL_ACK_MASK | \
IWLAGN_BT_VALID_KILL_CTS_MASK | \
IWLAGN_BT_VALID_REDUCED_TX_PWR | \
IWLAGN_BT_VALID_3W_LUT)

Definition at line 1939 of file commands.h.

#define IWLAGN_BT_DECISION_LUT_SIZE   12

Definition at line 1950 of file commands.h.

#define IWLAGN_BT_FLAG_CHANNEL_INHIBITION   BIT(0)

Definition at line 1890 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_3W   2

Definition at line 1896 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_4W   3

Definition at line 1897 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_DISABLED   0

Definition at line 1894 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_LEGACY_2W   1

Definition at line 1895 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_MASK   (BIT(3)|BIT(4)|BIT(5))

Definition at line 1892 of file commands.h.

#define IWLAGN_BT_FLAG_COEX_MODE_SHIFT   3

Definition at line 1893 of file commands.h.

#define IWLAGN_BT_FLAG_SYNC_2_BT_DISABLE   BIT(7)

Definition at line 1901 of file commands.h.

#define IWLAGN_BT_FLAG_UCODE_DEFAULT   BIT(6)

Definition at line 1899 of file commands.h.

#define IWLAGN_BT_KILL_ACK_CTS_MASK_REDUCE   cpu_to_le32(0)

Definition at line 1924 of file commands.h.

#define IWLAGN_BT_KILL_ACK_CTS_MASK_SCO   cpu_to_le32(0xffffffff)

Definition at line 1923 of file commands.h.

#define IWLAGN_BT_KILL_ACK_MASK_DEFAULT   cpu_to_le32(0xffff0000)

Definition at line 1921 of file commands.h.

#define IWLAGN_BT_KILL_CTS_MASK_DEFAULT   cpu_to_le32(0xffff0000)

Definition at line 1922 of file commands.h.

#define IWLAGN_BT_MAX_KILL_DEFAULT   5

Definition at line 1911 of file commands.h.

#define IWLAGN_BT_PRIO_BOOST_DEFAULT   0xF0

Definition at line 1908 of file commands.h.

#define IWLAGN_BT_PRIO_BOOST_DEFAULT32   0xF0F0F0F0

Definition at line 1909 of file commands.h.

#define IWLAGN_BT_PRIO_BOOST_MAX   0xFF

Definition at line 1906 of file commands.h.

#define IWLAGN_BT_PRIO_BOOST_MIN   0x00

Definition at line 1907 of file commands.h.

#define IWLAGN_BT_PSP_MAX_RSSI_THRESHOLD   -65 /* dBm */

Definition at line 1904 of file commands.h.

#define IWLAGN_BT_PSP_MIN_RSSI_THRESHOLD   -75 /* dBm */

Definition at line 1903 of file commands.h.

#define IWLAGN_BT_REDUCED_TX_PWR   BIT(0)

Definition at line 1948 of file commands.h.

#define IWLAGN_BT_SCO_ACTIVE   cpu_to_le32(BIT(0))

Definition at line 1995 of file commands.h.

#define IWLAGN_BT_VALID_3W_LUT   cpu_to_le16(BIT(7))

Definition at line 1937 of file commands.h.

#define IWLAGN_BT_VALID_3W_TIMERS   cpu_to_le16(BIT(3))

Definition at line 1933 of file commands.h.

#define IWLAGN_BT_VALID_BOOST   cpu_to_le16(BIT(1))

Definition at line 1931 of file commands.h.

#define IWLAGN_BT_VALID_ENABLE_FLAGS   cpu_to_le16(BIT(0))

Definition at line 1930 of file commands.h.

#define IWLAGN_BT_VALID_KILL_ACK_MASK   cpu_to_le16(BIT(4))

Definition at line 1934 of file commands.h.

#define IWLAGN_BT_VALID_KILL_CTS_MASK   cpu_to_le16(BIT(5))

Definition at line 1935 of file commands.h.

#define IWLAGN_BT_VALID_MAX_KILL   cpu_to_le16(BIT(2))

Definition at line 1932 of file commands.h.

#define IWLAGN_BT_VALID_REDUCED_TX_PWR   cpu_to_le16(BIT(6))

Definition at line 1936 of file commands.h.

#define IWLAGN_CMD_FIFO_NUM   7

Definition at line 222 of file commands.h.

#define IWLAGN_HW_KEY_DEFAULT   0xfe

Definition at line 831 of file commands.h.

#define IWLAGN_KCK_MAX_SIZE   32

Definition at line 3890 of file commands.h.

#define IWLAGN_KEK_MAX_SIZE   32

Definition at line 3891 of file commands.h.

#define IWLAGN_MIC_KEY_SIZE   8

Definition at line 3865 of file commands.h.

#define IWLAGN_NUM_RSC   16

Definition at line 3829 of file commands.h.

#define IWLAGN_NUM_RX_P1K_CACHE   2

Definition at line 3877 of file commands.h.

#define IWLAGN_OFDM_AGC_BIT_POS   9

Definition at line 1089 of file commands.h.

#define IWLAGN_OFDM_AGC_MSK   0xfe00

Definition at line 1088 of file commands.h.

#define IWLAGN_OFDM_RSSI_A_BIT_POS   0

Definition at line 1092 of file commands.h.

#define IWLAGN_OFDM_RSSI_ALLBAND_A_BITMSK   0xff00

Definition at line 1091 of file commands.h.

#define IWLAGN_OFDM_RSSI_ALLBAND_B_BITMSK   0xff000000

Definition at line 1094 of file commands.h.

#define IWLAGN_OFDM_RSSI_ALLBAND_C_BITMSK   0xff00

Definition at line 1097 of file commands.h.

#define IWLAGN_OFDM_RSSI_B_BIT_POS   16

Definition at line 1095 of file commands.h.

#define IWLAGN_OFDM_RSSI_C_BIT_POS   0

Definition at line 1098 of file commands.h.

#define IWLAGN_OFDM_RSSI_INBAND_A_BITMSK   0x00ff

Definition at line 1090 of file commands.h.

#define IWLAGN_OFDM_RSSI_INBAND_B_BITMSK   0xff0000

Definition at line 1093 of file commands.h.

#define IWLAGN_OFDM_RSSI_INBAND_C_BITMSK   0x00ff

Definition at line 1096 of file commands.h.

#define IWLAGN_P1K_SIZE   5

Definition at line 3866 of file commands.h.

#define IWLAGN_PAN_BCAST_ID   14

Definition at line 792 of file commands.h.

#define IWLAGN_RX_RES_AGC_IDX   1

Definition at line 1085 of file commands.h.

#define IWLAGN_RX_RES_PHY_CNT   8

Definition at line 1084 of file commands.h.

#define IWLAGN_RX_RES_RSSI_AB_IDX   2

Definition at line 1086 of file commands.h.

#define IWLAGN_RX_RES_RSSI_C_IDX   3

Definition at line 1087 of file commands.h.

#define IWLAGN_STATION_COUNT   16

Definition at line 794 of file commands.h.

#define IWLAGN_TX_POWER_AUTO   0x7f

Command REPLY_TX_POWER_DBM_CMD = 0x98 struct iwlagn_tx_power_dbm_cmd

Definition at line 351 of file commands.h.

#define IWLAGN_TX_POWER_NO_CLOSED   (0x1 << 6)

Definition at line 352 of file commands.h.

#define IWLAGN_TX_RES_RA_MSK   0xf0

Definition at line 1467 of file commands.h.

#define IWLAGN_TX_RES_RA_POS   4

Definition at line 1466 of file commands.h.

#define IWLAGN_TX_RES_TID_MSK   0x0f

Definition at line 1465 of file commands.h.

#define IWLAGN_TX_RES_TID_POS   0

Definition at line 1464 of file commands.h.

#define IWLAGN_WOWLAN_MAX_PATTERN_LEN   128

Definition at line 3787 of file commands.h.

#define IWLAGN_WOWLAN_MAX_PATTERNS   20

Definition at line 3797 of file commands.h.

#define IWLAGN_WOWLAN_MIN_PATTERN_LEN   16

Definition at line 3786 of file commands.h.

#define LINK_QUAL_AC_NUM   AC_NUM

Definition at line 1540 of file commands.h.

#define LINK_QUAL_AGG_DISABLE_START_DEF   (3)

Definition at line 1586 of file commands.h.

#define LINK_QUAL_AGG_DISABLE_START_MAX   (255)

Definition at line 1587 of file commands.h.

#define LINK_QUAL_AGG_DISABLE_START_MIN   (0)

Definition at line 1588 of file commands.h.

#define LINK_QUAL_AGG_FRAME_LIMIT_DEF   (63)

Definition at line 1590 of file commands.h.

#define LINK_QUAL_AGG_FRAME_LIMIT_MAX   (63)

Definition at line 1591 of file commands.h.

#define LINK_QUAL_AGG_FRAME_LIMIT_MIN   (0)

Definition at line 1592 of file commands.h.

#define LINK_QUAL_AGG_TIME_LIMIT_DEF   (4000) /* 4 milliseconds */

Definition at line 1582 of file commands.h.

#define LINK_QUAL_AGG_TIME_LIMIT_MAX   (8000)

Definition at line 1583 of file commands.h.

#define LINK_QUAL_AGG_TIME_LIMIT_MIN   (100)

Definition at line 1584 of file commands.h.

#define LINK_QUAL_ANT_A_MSK   (1 << 0)

Definition at line 1546 of file commands.h.

#define LINK_QUAL_ANT_B_MSK   (1 << 1)

Definition at line 1547 of file commands.h.

#define LINK_QUAL_ANT_MSK   (LINK_QUAL_ANT_A_MSK|LINK_QUAL_ANT_B_MSK)

Definition at line 1548 of file commands.h.

#define LINK_QUAL_FLAGS_SET_STA_TLC_RTS_MSK   (1 << 0)

Definition at line 1537 of file commands.h.

#define LINK_QUAL_MAX_RETRY_NUM   16

Definition at line 1543 of file commands.h.

#define MEASURE_OWNER_STATUS   0x2

Definition at line 2445 of file commands.h.

#define MEASUREMENT_FILTER_FLAG
Value:
RXON_FILTER_CTL2HOST_MSK | \
RXON_FILTER_ACCEPT_GRP_MSK | \
RXON_FILTER_DIS_DECRYPT_MSK | \
RXON_FILTER_DIS_GRP_DECRYPT_MSK | \
RXON_FILTER_ASSOC_MSK | \
RXON_FILTER_BCON_AWARE_MSK)

Definition at line 2010 of file commands.h.

#define NUM_ELEMENTS_IN_HISTOGRAM   8

Definition at line 2072 of file commands.h.

#define NUMBER_OF_STATISTICS   1 /* first __le32 is good CRC */

Definition at line 2453 of file commands.h.

#define POWER_TABLE_CCK_ENTRY   32

Definition at line 331 of file commands.h.

#define POWER_TABLE_NUM_ENTRIES   33

Definition at line 329 of file commands.h.

#define POWER_TABLE_NUM_HT_OFDM_ENTRIES   32

Definition at line 330 of file commands.h.

#define PROBE_OPTION_MAX   20

Definition at line 2311 of file commands.h.

#define QOS_PARAM_FLG_TGN_MSK   cpu_to_le32(0x02)

Definition at line 762 of file commands.h.

#define QOS_PARAM_FLG_TXOP_TYPE_MSK   cpu_to_le32(0x10)

Definition at line 763 of file commands.h.

#define QOS_PARAM_FLG_UPDATE_EDCA_MSK   cpu_to_le32(0x01)

Definition at line 761 of file commands.h.

#define RATE_ANT_NUM   3

Definition at line 327 of file commands.h.

#define RATE_MCS_ANT_A_MSK   0x04000

Definition at line 322 of file commands.h.

#define RATE_MCS_ANT_AB_MSK   (RATE_MCS_ANT_A_MSK | RATE_MCS_ANT_B_MSK)

Definition at line 325 of file commands.h.

#define RATE_MCS_ANT_ABC_MSK   (RATE_MCS_ANT_AB_MSK | RATE_MCS_ANT_C_MSK)

Definition at line 326 of file commands.h.

#define RATE_MCS_ANT_B_MSK   0x08000

Definition at line 323 of file commands.h.

#define RATE_MCS_ANT_C_MSK   0x10000

Definition at line 324 of file commands.h.

#define RATE_MCS_ANT_POS   14

rate_n_flags Tx antenna masks 4965 has 2 transmitters 5100 has 1 transmitter B 5150 has 1 transmitter A 5300 has 3 transmitters 5350 has 3 transmitters bit14:16

Definition at line 321 of file commands.h.

#define RATE_MCS_CCK_MSK   0x200

Definition at line 294 of file commands.h.

#define RATE_MCS_CCK_POS   9

Definition at line 293 of file commands.h.

#define RATE_MCS_CODE_MSK   0x7

iwlagn rate_n_flags bit fields

rate_n_flags format is used in following iwlagn commands: REPLY_RX (response only) REPLY_RX_MPDU (response only) REPLY_TX (both command and response) REPLY_TX_LINK_QUALITY_CMD

High-throughput (HT) rate format for bits 7:0 (bit 8 must be "1"): 2-0: 0) 6 Mbps 1) 12 Mbps 2) 18 Mbps 3) 24 Mbps 4) 36 Mbps 5) 48 Mbps 6) 54 Mbps 7) 60 Mbps

4-3: 0) Single stream (SISO) 1) Dual stream (MIMO) 2) Triple stream (MIMO)

5: Value of 0x20 in bits 7:0 indicates 6 Mbps HT40 duplicate data

Legacy OFDM rate format for bits 7:0 (bit 8 must be "0", bit 9 "0"): 3-0: 0xD) 6 Mbps 0xF) 9 Mbps 0x5) 12 Mbps 0x7) 18 Mbps 0x9) 24 Mbps 0xB) 36 Mbps 0x1) 48 Mbps 0x3) 54 Mbps

Legacy CCK rate format for bits 7:0 (bit 8 must be "0", bit 9 "1"): 6-0: 10) 1 Mbps 20) 2 Mbps 55) 5.5 Mbps 110) 11 Mbps

Definition at line 279 of file commands.h.

#define RATE_MCS_DUP_MSK   0x1000

Definition at line 306 of file commands.h.

#define RATE_MCS_DUP_POS   12

Definition at line 305 of file commands.h.

#define RATE_MCS_FLAGS_POS   8

Definition at line 288 of file commands.h.

#define RATE_MCS_GF_MSK   0x400

Definition at line 298 of file commands.h.

#define RATE_MCS_GF_POS   10

Definition at line 297 of file commands.h.

#define RATE_MCS_HT40_MSK   0x800

Definition at line 302 of file commands.h.

#define RATE_MCS_HT40_POS   11

Definition at line 301 of file commands.h.

#define RATE_MCS_HT_DUP_MSK   0x20

Definition at line 283 of file commands.h.

#define RATE_MCS_HT_DUP_POS   5

Definition at line 282 of file commands.h.

#define RATE_MCS_HT_MSK   0x100

Definition at line 290 of file commands.h.

#define RATE_MCS_HT_POS   8

Definition at line 289 of file commands.h.

#define RATE_MCS_RATE_MSK   0xff

Definition at line 285 of file commands.h.

#define RATE_MCS_SGI_MSK   0x2000

Definition at line 310 of file commands.h.

#define RATE_MCS_SGI_POS   13

Definition at line 309 of file commands.h.

#define RATE_MCS_SPATIAL_MSK   0x18

Definition at line 281 of file commands.h.

#define RATE_MCS_SPATIAL_POS   3

Definition at line 280 of file commands.h.

#define REM_STA_SUCCESS_MSK   0x1

Definition at line 953 of file commands.h.

#define RX_MPDU_RES_STATUS_DEC_DONE_MSK   (0x800)

Definition at line 1081 of file commands.h.

#define RX_MPDU_RES_STATUS_ICV_OK   (0x20)

Definition at line 1078 of file commands.h.

#define RX_MPDU_RES_STATUS_MIC_OK   (0x40)

Definition at line 1079 of file commands.h.

#define RX_MPDU_RES_STATUS_TTAK_OK   (1 << 7)

Definition at line 1080 of file commands.h.

#define RX_RES_PHY_FLAGS_AGG_MSK   cpu_to_le16(1 << 7)

Definition at line 1060 of file commands.h.

#define RX_RES_PHY_FLAGS_ANTENNA_MSK   0x70

Definition at line 1058 of file commands.h.

#define RX_RES_PHY_FLAGS_ANTENNA_POS   4

Definition at line 1059 of file commands.h.

#define RX_RES_PHY_FLAGS_BAND_24_MSK   cpu_to_le16(1 << 0)

Definition at line 1054 of file commands.h.

#define RX_RES_PHY_FLAGS_MOD_CCK_MSK   cpu_to_le16(1 << 1)

Definition at line 1055 of file commands.h.

#define RX_RES_PHY_FLAGS_NARROW_BAND_MSK   cpu_to_le16(1 << 3)

Definition at line 1057 of file commands.h.

#define RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK   cpu_to_le16(1 << 2)

Definition at line 1056 of file commands.h.

#define RX_RES_STATUS_BAD_ICV_MIC   (0x1 << 11)

Definition at line 1075 of file commands.h.

#define RX_RES_STATUS_BAD_KEY_TTAK   (0x2 << 11)

Definition at line 1076 of file commands.h.

#define RX_RES_STATUS_DECRYPT_OK   (0x3 << 11)

Definition at line 1074 of file commands.h.

#define RX_RES_STATUS_DECRYPT_TYPE_MSK   (0x3 << 11)

Definition at line 1072 of file commands.h.

#define RX_RES_STATUS_NO_CRC32_ERROR   cpu_to_le32(1 << 0)

Definition at line 1051 of file commands.h.

#define RX_RES_STATUS_NO_RXE_OVERFLOW   cpu_to_le32(1 << 1)

Definition at line 1052 of file commands.h.

#define RX_RES_STATUS_NO_STATION_INFO_MISMATCH   (1<<7)

Definition at line 1070 of file commands.h.

#define RX_RES_STATUS_NOT_DECRYPT   (0x0 << 11)

Definition at line 1073 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_CCMP   (0x2 << 8)

Definition at line 1065 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_ERR   (0x7 << 8)

Definition at line 1067 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_MSK   (0x7 << 8)

Definition at line 1062 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_NONE   (0x0 << 8)

Definition at line 1063 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_TKIP   (0x3 << 8)

Definition at line 1066 of file commands.h.

#define RX_RES_STATUS_SEC_TYPE_WEP   (0x1 << 8)

Definition at line 1064 of file commands.h.

#define RX_RES_STATUS_STATION_FOUND   (1<<6)

Definition at line 1069 of file commands.h.

#define RXON_CARD_DISABLED   0x10

Definition at line 2234 of file commands.h.

#define RXON_FILTER_ACCEPT_GRP_MSK   cpu_to_le32(1 << 2)

Definition at line 590 of file commands.h.

#define RXON_FILTER_ASSOC_MSK   cpu_to_le32(1 << 5)

Definition at line 596 of file commands.h.

#define RXON_FILTER_BCON_AWARE_MSK   cpu_to_le32(1 << 6)

Definition at line 598 of file commands.h.

#define RXON_FILTER_CTL2HOST_MSK   cpu_to_le32(1 << 1)

Definition at line 588 of file commands.h.

#define RXON_FILTER_DIS_DECRYPT_MSK   cpu_to_le32(1 << 3)

Definition at line 592 of file commands.h.

#define RXON_FILTER_DIS_GRP_DECRYPT_MSK   cpu_to_le32(1 << 4)

Definition at line 594 of file commands.h.

#define RXON_FILTER_PROMISC_MSK   cpu_to_le32(1 << 0)

Definition at line 586 of file commands.h.

#define RXON_FLG_ANT_A_MSK   cpu_to_le32(1 << 8)

Definition at line 548 of file commands.h.

#define RXON_FLG_ANT_B_MSK   cpu_to_le32(1 << 9)

Definition at line 549 of file commands.h.

#define RXON_FLG_ANT_SEL_MSK   cpu_to_le32(0x0f00)

Definition at line 547 of file commands.h.

#define RXON_FLG_AUTO_DETECT_MSK   cpu_to_le32(1 << 2)

Definition at line 539 of file commands.h.

#define RXON_FLG_BAND_24G_MSK   cpu_to_le32(1 << 0)

Definition at line 536 of file commands.h.

#define RXON_FLG_CCK_MSK   cpu_to_le32(1 << 1)

Definition at line 537 of file commands.h.

#define RXON_FLG_CHANNEL_MODE_LEGACY   cpu_to_le32(CHANNEL_MODE_LEGACY << RXON_FLG_CHANNEL_MODE_POS)

Definition at line 577 of file commands.h.

#define RXON_FLG_CHANNEL_MODE_MIXED   cpu_to_le32(CHANNEL_MODE_MIXED << RXON_FLG_CHANNEL_MODE_POS)

Definition at line 579 of file commands.h.

#define RXON_FLG_CHANNEL_MODE_MSK   cpu_to_le32(0x3 << 25)

Definition at line 568 of file commands.h.

#define RXON_FLG_CHANNEL_MODE_POS   (25)

Definition at line 567 of file commands.h.

#define RXON_FLG_CHANNEL_MODE_PURE_40   cpu_to_le32(CHANNEL_MODE_PURE_40 << RXON_FLG_CHANNEL_MODE_POS)

Definition at line 578 of file commands.h.

#define RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK   cpu_to_le32(0x1 << 22)

Definition at line 560 of file commands.h.

#define RXON_FLG_CTRL_CHANNEL_LOC_POS   (22)

Definition at line 559 of file commands.h.

#define RXON_FLG_DIS_DIV_MSK   cpu_to_le32(1 << 7)

Definition at line 546 of file commands.h.

#define RXON_FLG_HT40_PROT_MSK   cpu_to_le32(0x2 << 23)

Definition at line 565 of file commands.h.

#define RXON_FLG_HT_OPERATING_MODE_POS   (23)

Definition at line 562 of file commands.h.

#define RXON_FLG_HT_PROT_MSK   cpu_to_le32(0x1 << 23)

Definition at line 564 of file commands.h.

#define RXON_FLG_RADAR_DETECT_MSK   cpu_to_le32(1 << 12)

Definition at line 551 of file commands.h.

#define RXON_FLG_SELF_CTS_EN   cpu_to_le32(0x1<<30)

Definition at line 582 of file commands.h.

#define RXON_FLG_SHORT_PREAMBLE_MSK   cpu_to_le32(1 << 5)

Definition at line 544 of file commands.h.

#define RXON_FLG_SHORT_SLOT_MSK   cpu_to_le32(1 << 4)

Definition at line 543 of file commands.h.

#define RXON_FLG_TGG_PROTECT_MSK   cpu_to_le32(1 << 3)

Definition at line 541 of file commands.h.

#define RXON_FLG_TGJ_NARROW_BAND_MSK   cpu_to_le32(1 << 13)

Definition at line 552 of file commands.h.

#define RXON_FLG_TSF2HOST_MSK   cpu_to_le32(1 << 15)

Definition at line 555 of file commands.h.

#define RXON_RX_CHAIN_CNT_MSK   cpu_to_le16(0x3 << 10)

Definition at line 527 of file commands.h.

#define RXON_RX_CHAIN_CNT_POS   (10)

Definition at line 528 of file commands.h.

#define RXON_RX_CHAIN_DRIVER_FORCE_MSK   cpu_to_le16(0x1 << 0)

Definition at line 519 of file commands.h.

#define RXON_RX_CHAIN_DRIVER_FORCE_POS   (0)

Definition at line 520 of file commands.h.

#define RXON_RX_CHAIN_FORCE_MIMO_SEL_MSK   cpu_to_le16(0x7 << 7)

Definition at line 525 of file commands.h.

#define RXON_RX_CHAIN_FORCE_MIMO_SEL_POS   (7)

Definition at line 526 of file commands.h.

#define RXON_RX_CHAIN_FORCE_SEL_MSK   cpu_to_le16(0x7 << 4)

Definition at line 523 of file commands.h.

#define RXON_RX_CHAIN_FORCE_SEL_POS   (4)

Definition at line 524 of file commands.h.

#define RXON_RX_CHAIN_MIMO_CNT_MSK   cpu_to_le16(0x3 << 12)

Definition at line 529 of file commands.h.

#define RXON_RX_CHAIN_MIMO_CNT_POS   (12)

Definition at line 530 of file commands.h.

#define RXON_RX_CHAIN_MIMO_FORCE_MSK   cpu_to_le16(0x1 << 14)

Definition at line 531 of file commands.h.

#define RXON_RX_CHAIN_MIMO_FORCE_POS   (14)

Definition at line 532 of file commands.h.

#define RXON_RX_CHAIN_VALID_MSK   cpu_to_le16(0x7 << 1)

Definition at line 521 of file commands.h.

#define RXON_RX_CHAIN_VALID_POS   (1)

Definition at line 522 of file commands.h.

#define SCAN_CHANNEL_TYPE_ACTIVE   cpu_to_le32(1)

Definition at line 2256 of file commands.h.

#define SCAN_CHANNEL_TYPE_PASSIVE   cpu_to_le32(0)

Definition at line 2255 of file commands.h.

#define SCAN_OWNER_STATUS   0x1

Definition at line 2444 of file commands.h.

#define SENSITIVITY_CMD_CONTROL_DEFAULT_TABLE   cpu_to_le16(0)

Definition at line 3069 of file commands.h.

#define SENSITIVITY_CMD_CONTROL_WORK_TABLE   cpu_to_le16(1)

Definition at line 3070 of file commands.h.

#define STA_CONTROL_MODIFY_MSK   0x01

Definition at line 811 of file commands.h.

#define STA_FLG_AGG_MPDU_8US_MSK   cpu_to_le32(1 << 18)

Definition at line 802 of file commands.h.

#define STA_FLG_AGG_MPDU_DENSITY_MSK   cpu_to_le32(7 << 23)

Definition at line 808 of file commands.h.

#define STA_FLG_AGG_MPDU_DENSITY_POS   (23)

Definition at line 807 of file commands.h.

#define STA_FLG_HT40_EN_MSK   cpu_to_le32(1 << 21)

Definition at line 805 of file commands.h.

#define STA_FLG_MAX_AGG_SIZE_MSK   cpu_to_le32(3 << 19)

Definition at line 804 of file commands.h.

#define STA_FLG_MAX_AGG_SIZE_POS   (19)

Definition at line 803 of file commands.h.

#define STA_FLG_MIMO_DIS_MSK   cpu_to_le32(1 << 22)

Definition at line 806 of file commands.h.

#define STA_FLG_PAN_STATION   cpu_to_le32(1 << 13)

Definition at line 800 of file commands.h.

#define STA_FLG_PWR_SAVE_MSK   cpu_to_le32(1 << 8)

Definition at line 799 of file commands.h.

#define STA_FLG_RTS_MIMO_PROT_MSK   cpu_to_le32(1 << 17)

Definition at line 801 of file commands.h.

#define STA_FLG_TX_RATE_MSK   cpu_to_le32(1 << 2)

Definition at line 798 of file commands.h.

#define STA_KEY_FLG_CCMP   cpu_to_le16(0x0002)

Definition at line 817 of file commands.h.

#define STA_KEY_FLG_ENCRYPT_MSK   cpu_to_le16(0x0007)

Definition at line 814 of file commands.h.

#define STA_KEY_FLG_INVALID   cpu_to_le16(0x0800)

Definition at line 821 of file commands.h.

#define STA_KEY_FLG_KEY_SIZE_MSK   cpu_to_le16(0x1000)

Definition at line 826 of file commands.h.

#define STA_KEY_FLG_KEYID_POS   8

Definition at line 820 of file commands.h.

#define STA_KEY_FLG_MAP_KEY_MSK   cpu_to_le16(0x0008)

Definition at line 823 of file commands.h.

#define STA_KEY_FLG_NO_ENC   cpu_to_le16(0x0000)

Definition at line 815 of file commands.h.

#define STA_KEY_FLG_TKIP   cpu_to_le16(0x0003)

Definition at line 818 of file commands.h.

#define STA_KEY_FLG_WEP   cpu_to_le16(0x0001)

Definition at line 816 of file commands.h.

#define STA_KEY_MAX_NUM   8

Definition at line 828 of file commands.h.

#define STA_KEY_MAX_NUM_PAN   16

Definition at line 829 of file commands.h.

#define STA_KEY_MULTICAST_MSK   cpu_to_le16(0x4000)

Definition at line 827 of file commands.h.

#define STA_MODIFY_ADDBA_TID_MSK   0x08

Definition at line 837 of file commands.h.

#define STA_MODIFY_DELBA_TID_MSK   0x10

Definition at line 838 of file commands.h.

#define STA_MODIFY_KEY_MASK   0x01

Definition at line 834 of file commands.h.

#define STA_MODIFY_SLEEP_TX_COUNT_MSK   0x20

Definition at line 839 of file commands.h.

#define STA_MODIFY_TID_DISABLE_TX   0x02

Definition at line 835 of file commands.h.

#define STA_MODIFY_TX_RATE_MSK   0x04

Definition at line 836 of file commands.h.

#define STATISTICS_REPLY_FLG_BAND_24G_MSK   cpu_to_le32(0x2)

Definition at line 2787 of file commands.h.

#define STATISTICS_REPLY_FLG_HT40_MODE_MSK   cpu_to_le32(0x8)

Definition at line 2788 of file commands.h.

#define SUP_RATE_11A_MAX_NUM_CHANNELS   8

Definition at line 2522 of file commands.h.

#define SUP_RATE_11B_MAX_NUM_CHANNELS   4

Definition at line 2523 of file commands.h.

#define SUP_RATE_11G_MAX_NUM_CHANNELS   12

Definition at line 2524 of file commands.h.

#define SW_CARD_DISABLED   0x02

Definition at line 2232 of file commands.h.

#define TKIP_ICV_LEN   4

Definition at line 1234 of file commands.h.

#define TX_CMD_FLG_ACK_MSK   cpu_to_le32(1 << 3)

Definition at line 1166 of file commands.h.

#define TX_CMD_FLG_AGG_CCMP_MSK   cpu_to_le32(1 << 22)

Definition at line 1212 of file commands.h.

#define TX_CMD_FLG_ANT_SEL_MSK   cpu_to_le32(0xf00)

Definition at line 1181 of file commands.h.

#define TX_CMD_FLG_DUR_MSK   cpu_to_le32(1 << 25)

Definition at line 1215 of file commands.h.

#define TX_CMD_FLG_IGNORE_BT   cpu_to_le32(1 << 12)

Definition at line 1185 of file commands.h.

#define TX_CMD_FLG_IMM_BA_RSP_MASK   cpu_to_le32(1 << 6)

Definition at line 1178 of file commands.h.

#define TX_CMD_FLG_MH_PAD_MSK   cpu_to_le32(1 << 20)

Definition at line 1208 of file commands.h.

#define TX_CMD_FLG_MORE_FRAG_MSK   cpu_to_le32(1 << 14)

Definition at line 1195 of file commands.h.

#define TX_CMD_FLG_PROT_REQUIRE_MSK   cpu_to_le32(1 << 0)

Definition at line 1161 of file commands.h.

#define TX_CMD_FLG_SEQ_CTL_MSK   cpu_to_le32(1 << 13)

Definition at line 1191 of file commands.h.

#define TX_CMD_FLG_STA_RATE_MSK   cpu_to_le32(1 << 4)

Definition at line 1174 of file commands.h.

#define TX_CMD_FLG_TSF_MSK   cpu_to_le32(1 << 16)

Definition at line 1200 of file commands.h.

#define TX_CMD_LIFE_TIME_INFINITE   cpu_to_le32(0xFFFFFFFF)

Definition at line 2312 of file commands.h.

#define TX_CMD_SEC_CCM   0x02

Definition at line 1222 of file commands.h.

#define TX_CMD_SEC_KEY128   0x08

Definition at line 1226 of file commands.h.

#define TX_CMD_SEC_MSK   0x03

Definition at line 1224 of file commands.h.

#define TX_CMD_SEC_SHIFT   6

Definition at line 1225 of file commands.h.

#define TX_CMD_SEC_TKIP   0x03

Definition at line 1223 of file commands.h.

#define TX_CMD_SEC_WEP   0x01

Definition at line 1221 of file commands.h.

#define TX_PACKET_MODE_BURST_FIRST   0x0200

Definition at line 1368 of file commands.h.

#define TX_PACKET_MODE_BURST_SEQ   0x0100

Definition at line 1367 of file commands.h.

#define TX_PACKET_MODE_REGULAR   0x0000

Definition at line 1366 of file commands.h.

#define UCODE_STATISTICS_CLEAR_MSK   (0x1 << 0)

Definition at line 2747 of file commands.h.

#define UCODE_STATISTICS_FREQUENCY_MSK   (0x1 << 1)

Definition at line 2748 of file commands.h.

#define UCODE_STATISTICS_NARROW_BAND_MSK   (0x1 << 2)

Definition at line 2749 of file commands.h.

#define UCODE_VALID_OK   cpu_to_le32(0x1)

Definition at line 377 of file commands.h.

#define WEP_ICV_LEN   4

Definition at line 1232 of file commands.h.

#define WEP_INVALID_OFFSET   0xff

Definition at line 1041 of file commands.h.

#define WEP_IV_LEN   4

Definition at line 1231 of file commands.h.

#define WEP_KEY_LEN_128   13

Definition at line 1043 of file commands.h.

#define WEP_KEY_LEN_64   5

Definition at line 1042 of file commands.h.

#define WEP_KEY_WEP_TYPE   1

Definition at line 1039 of file commands.h.

#define WEP_KEYS_MAX   4

Definition at line 1040 of file commands.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
REPLY_ALIVE 
REPLY_ERROR 
REPLY_ECHO 
REPLY_RXON 
REPLY_RXON_ASSOC 
REPLY_QOS_PARAM 
REPLY_RXON_TIMING 
REPLY_ADD_STA 
REPLY_REMOVE_STA 
REPLY_REMOVE_ALL_STA 
REPLY_TXFIFO_FLUSH 
REPLY_WEPKEY 
REPLY_TX 
REPLY_LEDS_CMD 
REPLY_TX_LINK_QUALITY_CMD 
COEX_PRIORITY_TABLE_CMD 
COEX_MEDIUM_NOTIFICATION 
COEX_EVENT_CMD 
TEMPERATURE_NOTIFICATION 
CALIBRATION_CFG_CMD 
CALIBRATION_RES_NOTIFICATION 
CALIBRATION_COMPLETE_NOTIFICATION 
REPLY_QUIET_CMD 
REPLY_CHANNEL_SWITCH 
CHANNEL_SWITCH_NOTIFICATION 
REPLY_SPECTRUM_MEASUREMENT_CMD 
SPECTRUM_MEASURE_NOTIFICATION 
POWER_TABLE_CMD 
PM_SLEEP_NOTIFICATION 
PM_DEBUG_STATISTIC_NOTIFIC 
REPLY_SCAN_CMD 
REPLY_SCAN_ABORT_CMD 
SCAN_START_NOTIFICATION 
SCAN_RESULTS_NOTIFICATION 
SCAN_COMPLETE_NOTIFICATION 
BEACON_NOTIFICATION 
REPLY_TX_BEACON 
WHO_IS_AWAKE_NOTIFICATION 
REPLY_TX_POWER_DBM_CMD 
QUIET_NOTIFICATION 
REPLY_TX_PWR_TABLE_CMD 
REPLY_TX_POWER_DBM_CMD_V1 
TX_ANT_CONFIGURATION_CMD 
MEASURE_ABORT_NOTIFICATION 
REPLY_BT_CONFIG 
REPLY_STATISTICS_CMD 
STATISTICS_NOTIFICATION 
REPLY_CARD_STATE_CMD 
CARD_STATE_NOTIFICATION 
MISSED_BEACONS_NOTIFICATION 
REPLY_CT_KILL_CONFIG_CMD 
SENSITIVITY_CMD 
REPLY_PHY_CALIBRATION_CMD 
REPLY_RX_PHY_CMD 
REPLY_RX_MPDU_CMD 
REPLY_RX 
REPLY_COMPRESSED_BA 
REPLY_BT_COEX_PRIO_TABLE 
REPLY_BT_COEX_PROT_ENV 
REPLY_BT_COEX_PROFILE_NOTIF 
REPLY_WIPAN_PARAMS 
REPLY_WIPAN_RXON 
REPLY_WIPAN_RXON_TIMING 
REPLY_WIPAN_RXON_ASSOC 
REPLY_WIPAN_QOS_PARAM 
REPLY_WIPAN_WEPKEY 
REPLY_WIPAN_P2P_CHANNEL_SWITCH 
REPLY_WIPAN_NOA_NOTIFICATION 
REPLY_WIPAN_DEACTIVATION_COMPLETE 
REPLY_WOWLAN_PATTERNS 
REPLY_WOWLAN_WAKEUP_FILTER 
REPLY_WOWLAN_TSC_RSC_PARAMS 
REPLY_WOWLAN_TKIP_PARAMS 
REPLY_WOWLAN_KEK_KCK_MATERIAL 
REPLY_WOWLAN_GET_STATUS 
REPLY_D3_CONFIG 
REPLY_MAX 

Definition at line 76 of file commands.h.

anonymous enum
Enumerator:
RXON_DEV_TYPE_AP 
RXON_DEV_TYPE_ESS 
RXON_DEV_TYPE_IBSS 
RXON_DEV_TYPE_SNIFFER 
RXON_DEV_TYPE_CP 
RXON_DEV_TYPE_2STA 
RXON_DEV_TYPE_P2P 

Definition at line 508 of file commands.h.

anonymous enum
Enumerator:
CHANNEL_MODE_LEGACY 
CHANNEL_MODE_PURE_40 
CHANNEL_MODE_MIXED 
CHANNEL_MODE_RESERVED 

Definition at line 571 of file commands.h.

anonymous enum
Enumerator:
TX_STATUS_SUCCESS 
TX_STATUS_DIRECT_DONE 
TX_STATUS_POSTPONE_DELAY 
TX_STATUS_POSTPONE_FEW_BYTES 
TX_STATUS_POSTPONE_BT_PRIO 
TX_STATUS_POSTPONE_QUIET_PERIOD 
TX_STATUS_POSTPONE_CALC_TTAK 
TX_STATUS_FAIL_INTERNAL_CROSSED_RETRY 
TX_STATUS_FAIL_SHORT_LIMIT 
TX_STATUS_FAIL_LONG_LIMIT 
TX_STATUS_FAIL_FIFO_UNDERRUN 
TX_STATUS_FAIL_DRAIN_FLOW 
TX_STATUS_FAIL_RFKILL_FLUSH 
TX_STATUS_FAIL_LIFE_EXPIRE 
TX_STATUS_FAIL_DEST_PS 
TX_STATUS_FAIL_HOST_ABORTED 
TX_STATUS_FAIL_BT_RETRY 
TX_STATUS_FAIL_STA_INVALID 
TX_STATUS_FAIL_FRAG_DROPPED 
TX_STATUS_FAIL_TID_DISABLE 
TX_STATUS_FAIL_FIFO_FLUSHED 
TX_STATUS_FAIL_INSUFFICIENT_CF_POLL 
TX_STATUS_FAIL_PASSIVE_NO_RX 
TX_STATUS_FAIL_NO_BEACON_ON_RADAR 

Definition at line 1337 of file commands.h.

anonymous enum
Enumerator:
TX_POWER_PA_NOT_ACTIVE 

Definition at line 1370 of file commands.h.

anonymous enum
Enumerator:
TX_STATUS_MSK 
TX_STATUS_DELAY_MSK 
TX_STATUS_ABORT_MSK 
TX_PACKET_MODE_MSK 
TX_FIFO_NUMBER_MSK 
TX_RESERVED 
TX_POWER_PA_DETECT_MSK 
TX_ABORT_REQUIRED_MSK 

Definition at line 1374 of file commands.h.

anonymous enum
Enumerator:
AGG_TX_STATE_TRANSMITTED 
AGG_TX_STATE_UNDERRUN_MSK 
AGG_TX_STATE_BT_PRIO_MSK 
AGG_TX_STATE_FEW_BYTES_MSK 
AGG_TX_STATE_ABORT_MSK 
AGG_TX_STATE_LAST_SENT_TTL_MSK 
AGG_TX_STATE_LAST_SENT_TRY_CNT_MSK 
AGG_TX_STATE_LAST_SENT_BT_KILL_MSK 
AGG_TX_STATE_SCD_QUERY_MSK 
AGG_TX_STATE_TEST_BAD_CRC32_MSK 
AGG_TX_STATE_RESPONSE_MSK 
AGG_TX_STATE_DUMP_TX_MSK 
AGG_TX_STATE_DELAY_TX_MSK 

Definition at line 1389 of file commands.h.

anonymous enum
Enumerator:
IWL_PM_NO_SLEEP 
IWL_PM_SLP_MAC 
IWL_PM_SLP_FULL_MAC_UNASSOCIATE 
IWL_PM_SLP_FULL_MAC_CARD_STATE 
IWL_PM_SLP_PHY 
IWL_PM_SLP_REPENT 
IWL_PM_WAKEUP_BY_TIMER 
IWL_PM_WAKEUP_BY_DRIVER 
IWL_PM_WAKEUP_BY_RFKILL 
IWL_PM_NUM_OF_MODES 

Definition at line 2200 of file commands.h.

anonymous enum

REPLY_PHY_CALIBRATION_CMD = 0xb0 (command, has simple generic response)

This command sets the relative gains of agn device's 3 radio receiver chains.

After the first association, driver should accumulate signal and noise statistics from the STATISTICS_NOTIFICATIONs that follow the first 20 beacons from the associated network (don't collect statistics that come in from scanning, or any other non-network source).

DISCONNECTED ANTENNA:

Driver should determine which antennas are actually connected, by comparing average beacon signal levels for the 3 Rx chains. Accumulate (add) the following values over 20 beacons, one accumulator for each of the chains a/b/c, from struct statistics_rx_non_phy:

beacon_rssi_[abc] & 0x0FF (unsigned, units in dB)

Find the strongest signal from among a/b/c. Compare the other two to the strongest. If any signal is more than 15 dB (times 20, unless you divide the accumulated values by 20) below the strongest, the driver considers that antenna to be disconnected, and should not try to use that antenna/chain for Rx or Tx. If both A and B seem to be disconnected, driver should declare the stronger one as connected, and attempt to use it (A and B are the only 2 Tx chains!).

RX BALANCE:

Driver should balance the 3 receivers (but just the ones that are connected to antennas, see above) for gain, by comparing the average signal levels detected during the silence after each beacon (background noise). Accumulate (add) the following values over 20 beacons, one accumulator for each of the chains a/b/c, from struct statistics_rx_non_phy:

beacon_silence_rssi_[abc] & 0x0FF (unsigned, units in dB)

Find the weakest background noise level from among a/b/c. This Rx chain will be the reference, with 0 gain adjustment. Attenuate other channels by finding noise difference:

(accum_noise[i] - accum_noise[reference]) / 30

The "30" adjusts the dB in the 20 accumulated samples to units of 1.5 dB. For use in diff_gain_[abc] fields of struct iwl_calibration_cmd, the driver should limit the difference results to a range of 0-3 (0-4.5 dB), and set bit 2 to indicate "reduce gain". The value for the reference (weakest) chain should be "0".

diff_gain_[abc] bit fields: 2: (1) reduce gain, (0) increase gain 1-0: amount of gain, units of 1.5 dB

Enumerator:
IWL_PHY_CALIBRATE_DC_CMD 
IWL_PHY_CALIBRATE_LO_CMD 
IWL_PHY_CALIBRATE_TX_IQ_CMD 
IWL_PHY_CALIBRATE_CRYSTAL_FRQ_CMD 
IWL_PHY_CALIBRATE_BASE_BAND_CMD 
IWL_PHY_CALIBRATE_TX_IQ_PERD_CMD 
IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD 

Definition at line 3149 of file commands.h.

anonymous enum
Enumerator:
COEX_UNASSOC_IDLE 
COEX_UNASSOC_MANUAL_SCAN 
COEX_UNASSOC_AUTO_SCAN 
COEX_CALIBRATION 
COEX_PERIODIC_CALIBRATION 
COEX_CONNECTION_ESTAB 
COEX_ASSOCIATED_IDLE 
COEX_ASSOC_MANUAL_SCAN 
COEX_ASSOC_AUTO_SCAN 
COEX_ASSOC_ACTIVE_LEVEL 
COEX_RF_ON 
COEX_RF_OFF 
COEX_STAND_ALONE_DEBUG 
COEX_IPAN_ASSOC_LEVEL 
COEX_RSRVD1 
COEX_RSRVD2 
COEX_NUM_OF_EVENTS 

Definition at line 3383 of file commands.h.

Enumerator:
BT_COEX_PRIO_TBL_EVT_INIT_CALIB1 
BT_COEX_PRIO_TBL_EVT_INIT_CALIB2 
BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_LOW1 
BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_LOW2 
BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_HIGH1 
BT_COEX_PRIO_TBL_EVT_PERIODIC_CALIB_HIGH2 
BT_COEX_PRIO_TBL_EVT_DTIM 
BT_COEX_PRIO_TBL_EVT_SCAN52 
BT_COEX_PRIO_TBL_EVT_SCAN24 
BT_COEX_PRIO_TBL_EVT_RESERVED0 
BT_COEX_PRIO_TBL_EVT_RESERVED1 
BT_COEX_PRIO_TBL_EVT_RESERVED2 
BT_COEX_PRIO_TBL_EVT_RESERVED3 
BT_COEX_PRIO_TBL_EVT_RESERVED4 
BT_COEX_PRIO_TBL_EVT_RESERVED5 
BT_COEX_PRIO_TBL_EVT_RESERVED6 
BT_COEX_PRIO_TBL_EVT_MAX 

Definition at line 3721 of file commands.h.

Enumerator:
BT_COEX_PRIO_TBL_DISABLED 
BT_COEX_PRIO_TBL_PRIO_LOW 
BT_COEX_PRIO_TBL_PRIO_HIGH 
BT_COEX_PRIO_TBL_PRIO_BYPASS 
BT_COEX_PRIO_TBL_PRIO_COEX_OFF 
BT_COEX_PRIO_TBL_PRIO_COEX_ON 
BT_COEX_PRIO_TBL_PRIO_RSRVD1 
BT_COEX_PRIO_TBL_PRIO_RSRVD2 
BT_COEX_PRIO_TBL_MAX 

Definition at line 3742 of file commands.h.

Enumerator:
IWL_BT_COEX_TRAFFIC_LOAD_NONE 
IWL_BT_COEX_TRAFFIC_LOAD_LOW 
IWL_BT_COEX_TRAFFIC_LOAD_HIGH 
IWL_BT_COEX_TRAFFIC_LOAD_CONTINUOUS 

Definition at line 3497 of file commands.h.

Enumerator:
IWL_BT_KILL_DEFAULT 
IWL_BT_KILL_OVERRIDE 
IWL_BT_KILL_REDUCE 

Definition at line 1915 of file commands.h.

Enumerator:
IWL_NOT_IBSS_MANAGER 
IWL_IBSS_MANAGER 

Definition at line 2486 of file commands.h.

Enumerator:
IWL_MEASURE_BASIC 
IWL_MEASURE_CHANNEL_LOAD 
IWL_MEASURE_HISTOGRAM_RPI 
IWL_MEASURE_HISTOGRAM_NOISE 
IWL_MEASURE_FRAME 
IWL_MEASURE_IDLE 

Definition at line 2085 of file commands.h.

Enumerator:
IWL_MEASUREMENT_START 
IWL_MEASUREMENT_STOP 

Definition at line 2056 of file commands.h.

Enumerator:
IWL_MEASUREMENT_OK 
IWL_MEASUREMENT_CONCURRENT 
IWL_MEASUREMENT_CSA_CONFLICT 
IWL_MEASUREMENT_TGH_CONFLICT 
IWL_MEASUREMENT_STOPPED 
IWL_MEASUREMENT_TIMEOUT 
IWL_MEASUREMENT_PERIODIC_FAILED 

Definition at line 2061 of file commands.h.

Enumerator:
IWL_SCAN_FLAGS_ACTION_FRAME_TX 

Definition at line 2371 of file commands.h.

Enumerator:
IWL_CALIB_CFG_RX_BB_IDX 
IWL_CALIB_CFG_DC_IDX 
IWL_CALIB_CFG_LO_IDX 
IWL_CALIB_CFG_TX_IQ_IDX 
IWL_CALIB_CFG_RX_IQ_IDX 
IWL_CALIB_CFG_NOISE_IDX 
IWL_CALIB_CFG_CRYSTAL_IDX 
IWL_CALIB_CFG_TEMPERATURE_IDX 
IWL_CALIB_CFG_PAPD_IDX 
IWL_CALIB_CFG_SENSITIVITY_IDX 
IWL_CALIB_CFG_TX_PWR_IDX 

Definition at line 3162 of file commands.h.

Enumerator:
IWLAGN_D3_WAKEUP_RFKILL 
IWLAGN_D3_WAKEUP_SYSASSERT 

Definition at line 3773 of file commands.h.

Enumerator:
IWLAGN_WOWLAN_WAKEUP_MAGIC_PACKET 
IWLAGN_WOWLAN_WAKEUP_PATTERN_MATCH 
IWLAGN_WOWLAN_WAKEUP_BEACON_MISS 
IWLAGN_WOWLAN_WAKEUP_LINK_CHANGE 
IWLAGN_WOWLAN_WAKEUP_GTK_REKEY_FAIL 
IWLAGN_WOWLAN_WAKEUP_EAP_IDENT_REQ 
IWLAGN_WOWLAN_WAKEUP_4WAY_HANDSHAKE 
IWLAGN_WOWLAN_WAKEUP_ALWAYS 
IWLAGN_WOWLAN_WAKEUP_ENABLE_NET_DETECT 

Definition at line 3807 of file commands.h.

Function Documentation

struct iwl_bt_uart_msg __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 3769 of file commands.h.

u8 bt_ci_compliance

Definition at line 3711 of file commands.h.

u8 bt_status

Definition at line 3709 of file commands.h.

u8 bt_traffic_load

Definition at line 3710 of file commands.h.

u8 frame1

Definition at line 3701 of file commands.h.

u8 frame2

Definition at line 3702 of file commands.h.

u8 frame3

Definition at line 3703 of file commands.h.

u8 frame4

Definition at line 3704 of file commands.h.

u8 frame5

Definition at line 3705 of file commands.h.

u8 frame6

Definition at line 3706 of file commands.h.

u8 frame7

Definition at line 3707 of file commands.h.

Definition at line 3700 of file commands.h.

struct iwl_bt_uart_msg last_bt_uart_msg

Definition at line 3708 of file commands.h.

Definition at line 3757 of file commands.h.

u8 reserved[2]

Definition at line 3712 of file commands.h.

Definition at line 3770 of file commands.h.