|
#define | IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a) |
|
#define | IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a) |
|
#define | IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a) |
|
#define | RX_QUEUE_SIZE 256 |
|
#define | RX_QUEUE_MASK 255 |
|
#define | RX_QUEUE_SIZE_LOG 8 |
|
#define | RX_FREE_BUFFERS 64 |
|
#define | RX_LOW_WATERMARK 8 |
|
#define | U32_PAD(n) ((4-(n))&0x3) |
|
#define | CT_KILL_THRESHOLD_LEGACY 110 /* in Celsius */ |
|
#define | IL_NOISE_MEAS_NOT_AVAILABLE (-127) |
|
#define | DEFAULT_RTS_THRESHOLD 2347U |
|
#define | MIN_RTS_THRESHOLD 0U |
|
#define | MAX_RTS_THRESHOLD 2347U |
|
#define | MAX_MSDU_SIZE 2304U |
|
#define | MAX_MPDU_SIZE 2346U |
|
#define | DEFAULT_BEACON_INTERVAL 100U |
|
#define | DEFAULT_SHORT_RETRY_LIMIT 7U |
|
#define | DEFAULT_LONG_RETRY_LIMIT 4U |
|
#define | rxb_addr(r) page_address(r->page) |
|
#define | TFD_TX_CMD_SLOTS 256 |
|
#define | TFD_CMD_SLOTS 32 |
|
#define | IL_EEPROM_ACCESS_TIMEOUT 5000 /* uSec */ |
|
#define | IL_EEPROM_SEM_TIMEOUT 10 /* microseconds */ |
|
#define | IL_EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ |
|
#define | IL_NUM_TX_CALIB_GROUPS 5 |
|
#define | EEPROM_SKU_CAP_SW_RF_KILL_ENABLE (1 << 0) |
|
#define | EEPROM_SKU_CAP_HW_RF_KILL_ENABLE (1 << 1) |
|
#define | EEPROM_3945_EEPROM_VERSION (0x2f) |
|
#define | EEPROM_TX_POWER_TX_CHAINS (2) |
|
#define | EEPROM_TX_POWER_BANDS (8) |
|
#define | EEPROM_TX_POWER_MEASUREMENTS (3) |
|
#define | EEPROM_4965_TX_POWER_VERSION (5) |
|
#define | EEPROM_4965_EEPROM_VERSION (0x2f) |
|
#define | EEPROM_4965_CALIB_VERSION_OFFSET (2*0xB6) /* 2 bytes */ |
|
#define | EEPROM_4965_CALIB_TXPOWER_OFFSET (2*0xE8) /* 48 bytes */ |
|
#define | EEPROM_4965_BOARD_REVISION (2*0x4F) /* 2 bytes */ |
|
#define | EEPROM_4965_BOARD_PBA (2*0x56+1) /* 9 bytes */ |
|
#define | EEPROM_DEVICE_ID (2*0x08) /* 2 bytes */ |
|
#define | EEPROM_MAC_ADDRESS (2*0x15) /* 6 bytes */ |
|
#define | EEPROM_BOARD_REVISION (2*0x35) /* 2 bytes */ |
|
#define | EEPROM_BOARD_PBA_NUMBER (2*0x3B+1) /* 9 bytes */ |
|
#define | EEPROM_VERSION (2*0x44) /* 2 bytes */ |
|
#define | EEPROM_SKU_CAP (2*0x45) /* 2 bytes */ |
|
#define | EEPROM_OEM_MODE (2*0x46) /* 2 bytes */ |
|
#define | EEPROM_WOWLAN_MODE (2*0x47) /* 2 bytes */ |
|
#define | EEPROM_RADIO_CONFIG (2*0x48) /* 2 bytes */ |
|
#define | EEPROM_NUM_MAC_ADDRESS (2*0x4C) /* 2 bytes */ |
|
#define | EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ |
|
#define | EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ |
|
#define | EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ |
|
#define | EEPROM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ |
|
#define | EEPROM_RF_CFG_TX_ANT_MSK(x) ((x >> 8) & 0xF) /* bits 8-11 */ |
|
#define | EEPROM_RF_CFG_RX_ANT_MSK(x) ((x >> 12) & 0xF) /* bits 12-15 */ |
|
#define | EEPROM_3945_RF_CFG_TYPE_MAX 0x0 |
|
#define | EEPROM_4965_RF_CFG_TYPE_MAX 0x1 |
|
#define | EEPROM_REGULATORY_SKU_ID (2*0x60) /* 4 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_1 (2*0x62) /* 2 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_1_CHANNELS (2*0x63) /* 28 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_2 (2*0x71) /* 2 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_2_CHANNELS (2*0x72) /* 26 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_3 (2*0x7F) /* 2 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_3_CHANNELS (2*0x80) /* 24 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_4 (2*0x8C) /* 2 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_4_CHANNELS (2*0x8D) /* 22 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_5 (2*0x98) /* 2 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_5_CHANNELS (2*0x99) /* 12 bytes */ |
|
#define | EEPROM_4965_REGULATORY_BAND_24_HT40_CHANNELS (2*0xA0) /* 14 bytes */ |
|
#define | EEPROM_4965_REGULATORY_BAND_52_HT40_CHANNELS (2*0xA8) /* 22 bytes */ |
|
#define | EEPROM_REGULATORY_BAND_NO_HT40 (0) |
|
#define | IL_NUM_SCAN_RATES (2) |
|
#define | IL4965_MAX_RATE (33) |
|
#define | IL_TX_FIFO_BK 0 /* shared */ |
|
#define | IL_TX_FIFO_BE 1 |
|
#define | IL_TX_FIFO_VI 2 /* shared */ |
|
#define | IL_TX_FIFO_VO 3 |
|
#define | IL_TX_FIFO_UNUSED -1 |
|
#define | IL_MIN_NUM_QUEUES 10 |
|
#define | IL_DEFAULT_CMD_QUEUE_NUM 4 |
|
#define | IEEE80211_DATA_LEN 2304 |
|
#define | IEEE80211_4ADDR_LEN 30 |
|
#define | IEEE80211_HLEN (IEEE80211_4ADDR_LEN) |
|
#define | IEEE80211_FRAME_LEN (IEEE80211_DATA_LEN + IEEE80211_HLEN) |
|
#define | SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) |
|
#define | SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) |
|
#define | MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) |
|
#define | DEF_CMD_PAYLOAD_SIZE 320 |
|
#define | TFD_MAX_PAYLOAD_SIZE (sizeof(struct il_device_cmd)) |
|
#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 | IL_SUPPORTED_RATES_IE_LEN 8 |
|
#define | MAX_TID_COUNT 9 |
|
#define | IL_INVALID_RATE 0xFF |
|
#define | IL_INVALID_VALUE -1 |
|
#define | IL_AGG_OFF 0 |
|
#define | IL_AGG_ON 1 |
|
#define | IL_EMPTYING_HW_QUEUE_ADDBA 2 |
|
#define | IL_EMPTYING_HW_QUEUE_DELBA 3 |
|
#define | CFG_HT_RX_AMPDU_FACTOR_8K (0x0) |
|
#define | CFG_HT_RX_AMPDU_FACTOR_16K (0x1) |
|
#define | CFG_HT_RX_AMPDU_FACTOR_32K (0x2) |
|
#define | CFG_HT_RX_AMPDU_FACTOR_64K (0x3) |
|
#define | CFG_HT_RX_AMPDU_FACTOR_DEF CFG_HT_RX_AMPDU_FACTOR_64K |
|
#define | CFG_HT_RX_AMPDU_FACTOR_MAX CFG_HT_RX_AMPDU_FACTOR_64K |
|
#define | CFG_HT_RX_AMPDU_FACTOR_MIN CFG_HT_RX_AMPDU_FACTOR_8K |
|
#define | CFG_HT_MPDU_DENSITY_2USEC (0x4) |
|
#define | CFG_HT_MPDU_DENSITY_4USEC (0x5) |
|
#define | CFG_HT_MPDU_DENSITY_8USEC (0x6) |
|
#define | CFG_HT_MPDU_DENSITY_16USEC (0x7) |
|
#define | CFG_HT_MPDU_DENSITY_DEF CFG_HT_MPDU_DENSITY_4USEC |
|
#define | CFG_HT_MPDU_DENSITY_MAX CFG_HT_MPDU_DENSITY_16USEC |
|
#define | CFG_HT_MPDU_DENSITY_MIN (0x1) |
|
#define | KELVIN_TO_CELSIUS(x) ((x)-273) |
|
#define | CELSIUS_TO_KELVIN(x) ((x)+273) |
|
#define | IL_OPERATION_MODE_AUTO 0 |
|
#define | IL_OPERATION_MODE_HT_ONLY 1 |
|
#define | IL_OPERATION_MODE_MIXED 2 |
|
#define | IL_OPERATION_MODE_20MHZ 3 |
|
#define | IL_TX_CRC_SIZE 4 |
|
#define | IL_TX_DELIMITER_SIZE 4 |
|
#define | TX_POWER_IL_ILLEGAL_VOLTAGE -10000 |
|
#define | INITIALIZATION_VALUE 0xFFFF |
|
#define | IL4965_CAL_NUM_BEACONS 20 |
|
#define | IL_CAL_NUM_BEACONS 16 |
|
#define | MAXIMUM_ALLOWED_PATHLOSS 15 |
|
#define | CHAIN_NOISE_MAX_DELTA_GAIN_CODE 3 |
|
#define | MAX_FA_OFDM 50 |
|
#define | MIN_FA_OFDM 5 |
|
#define | MAX_FA_CCK 50 |
|
#define | MIN_FA_CCK 5 |
|
#define | AUTO_CORR_STEP_OFDM 1 |
|
#define | AUTO_CORR_STEP_CCK 3 |
|
#define | AUTO_CORR_MAX_TH_CCK 160 |
|
#define | NRG_DIFF 2 |
|
#define | NRG_STEP_CCK 2 |
|
#define | NRG_MARGIN 8 |
|
#define | MAX_NUMBER_CCK_NO_FA 100 |
|
#define | AUTO_CORR_CCK_MIN_VAL_DEF (125) |
|
#define | CHAIN_A 0 |
|
#define | CHAIN_B 1 |
|
#define | CHAIN_C 2 |
|
#define | CHAIN_NOISE_DELTA_GAIN_INIT_VAL 4 |
|
#define | ALL_BAND_FILTER 0xFF00 |
|
#define | IN_BAND_FILTER 0xFF |
|
#define | MIN_AVERAGE_NOISE_MAX_VALUE 0xFFFFFFFF |
|
#define | NRG_NUM_PREV_STAT_L 20 |
|
#define | NUM_RX_CHAINS 3 |
|
#define | EEPROM_SEM_TIMEOUT 10 /* milliseconds */ |
|
#define | EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ |
|
#define | IL_TRAFFIC_ENTRIES (256) |
|
#define | IL_TRAFFIC_ENTRY_SIZE (64) |
|
#define | IL_HOST_INT_TIMEOUT_MAX (0xFF) |
|
#define | IL_HOST_INT_TIMEOUT_DEF (0x40) |
|
#define | IL_HOST_INT_TIMEOUT_MIN (0x0) |
|
#define | IL_HOST_INT_CALIB_TIMEOUT_MAX (0xFF) |
|
#define | IL_HOST_INT_CALIB_TIMEOUT_DEF (0x10) |
|
#define | IL_HOST_INT_CALIB_TIMEOUT_MIN (0x0) |
|
#define | IL_DELAY_NEXT_FORCE_FW_RELOAD (HZ*5) |
|
#define | IL_DEF_WD_TIMEOUT (2000) |
|
#define | IL_LONG_WD_TIMEOUT (10000) |
|
#define | IL_MAX_WD_TIMEOUT (120000) |
|
#define | IL3945_EXT_BEACON_TIME_POS 24 |
|
#define | IL4965_EXT_BEACON_TIME_POS 22 |
|
#define | IL_MAX_HW_QUEUES 32 |
|
#define | IWLWIFI_VERSION "in-tree:" |
|
#define | DRV_COPYRIGHT "Copyright(c) 2003-2011 Intel Corporation" |
|
#define | DRV_AUTHOR "<[email protected]>" |
|
#define | IL_PCI_DEVICE(dev, subdev, cfg) |
|
#define | TIME_UNIT 1024 |
|
#define | IL_SKU_G 0x1 |
|
#define | IL_SKU_A 0x2 |
|
#define | IL_SKU_N 0x8 |
|
#define | IL_CMD(x) case x: return #x |
|
#define | IL_RX_BUF_SIZE_3K (3 * 1000) /* 3945 only */ |
|
#define | IL_RX_BUF_SIZE_4K (4 * 1024) |
|
#define | IL_RX_BUF_SIZE_8K (8 * 1024) |
|
#define | IL_LED_SOLID 11 |
|
#define | IL_DEF_LED_INTRVL cpu_to_le32(1000) |
|
#define | IL_LED_ACTIVITY (0<<1) |
|
#define | IL_LED_LINK (1<<1) |
|
#define | IL_ACTIVE_QUIET_TIME cpu_to_le16(10) /* msec */ |
|
#define | IL_PLCP_QUIET_THRESH cpu_to_le16(1) /* packets */ |
|
#define | IL_SCAN_CHECK_WATCHDOG (HZ * 7) |
|
#define | IL_LEGACY_PM_OPS NULL |
|
#define | S_HCMD_ACTIVE 0 /* host command in progress */ |
|
#define | S_INT_ENABLED 2 |
|
#define | S_RFKILL 3 |
|
#define | S_CT_KILL 4 |
|
#define | S_INIT 5 |
|
#define | S_ALIVE 6 |
|
#define | S_READY 7 |
|
#define | S_TEMPERATURE 8 |
|
#define | S_GEO_CONFIGURED 9 |
|
#define | S_EXIT_PENDING 10 |
|
#define | S_STATS 12 |
|
#define | S_SCANNING 13 |
|
#define | S_SCAN_ABORTING 14 |
|
#define | S_SCAN_HW 15 |
|
#define | S_POWER_PMI 16 |
|
#define | S_FW_ERROR 17 |
|
#define | S_CHANNEL_SWITCH_PENDING 18 |
|
#define | il_write8(il, ofs, val) _il_write8(il, ofs, val) |
|
#define | HW_KEY_DYNAMIC 0 |
|
#define | HW_KEY_DEFAULT 1 |
|
#define | IL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */ |
|
#define | IL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */ |
|
#define | IL_STA_UCODE_INPROGRESS |
|
#define | IL_STA_LOCAL |
|
#define | IL_STA_BCAST BIT(4) /* this station is the special bcast station */ |
|
#define | ieee80211_stop_queue DO_NOT_USE_ieee80211_stop_queue |
|
#define | ieee80211_wake_queue DO_NOT_USE_ieee80211_wake_queue |
|
#define | TFD_QUEUE_SIZE_MAX 256 |
|
#define | TFD_QUEUE_SIZE_BC_DUP 64 |
|
#define | TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP) |
|
#define | IL_TX_DMA_MASK DMA_BIT_MASK(36) |
|
#define | IL_NUM_OF_TBS 20 |
|
#define | PCI_CFG_RETRY_TIMEOUT 0x041 |
|
#define | PCI_CFG_LINK_CTRL_VAL_L0S_EN 0x01 |
|
#define | PCI_CFG_LINK_CTRL_VAL_L1_EN 0x02 |
|
#define | RATE_6M_MASK (1 << RATE_6M_IDX) |
|
#define | RATE_9M_MASK (1 << RATE_9M_IDX) |
|
#define | RATE_12M_MASK (1 << RATE_12M_IDX) |
|
#define | RATE_18M_MASK (1 << RATE_18M_IDX) |
|
#define | RATE_24M_MASK (1 << RATE_24M_IDX) |
|
#define | RATE_36M_MASK (1 << RATE_36M_IDX) |
|
#define | RATE_48M_MASK (1 << RATE_48M_IDX) |
|
#define | RATE_54M_MASK (1 << RATE_54M_IDX) |
|
#define | RATE_60M_MASK (1 << RATE_60M_IDX) |
|
#define | RATE_1M_MASK (1 << RATE_1M_IDX) |
|
#define | RATE_2M_MASK (1 << RATE_2M_IDX) |
|
#define | RATE_5M_MASK (1 << RATE_5M_IDX) |
|
#define | RATE_11M_MASK (1 << RATE_11M_IDX) |
|
#define | IL_CCK_BASIC_RATES_MASK |
|
#define | IL_CCK_RATES_MASK |
|
#define | IL_OFDM_BASIC_RATES_MASK |
|
#define | IL_OFDM_RATES_MASK |
|
#define | IL_BASIC_RATES_MASK |
|
#define | RATES_MASK ((1 << RATE_COUNT) - 1) |
|
#define | RATES_MASK_3945 ((1 << RATE_COUNT_3945) - 1) |
|
#define | IL_INVALID_VALUE -1 |
|
#define | IL_MIN_RSSI_VAL -100 |
|
#define | IL_MAX_RSSI_VAL 0 |
|
#define | IL_LEGACY_FAILURE_LIMIT 160 |
|
#define | IL_LEGACY_SUCCESS_LIMIT 480 |
|
#define | IL_LEGACY_TBL_COUNT 160 |
|
#define | IL_NONE_LEGACY_FAILURE_LIMIT 400 |
|
#define | IL_NONE_LEGACY_SUCCESS_LIMIT 4500 |
|
#define | IL_NONE_LEGACY_TBL_COUNT 1500 |
|
#define | IL_RS_GOOD_RATIO 12800 /* 100% */ |
|
#define | RATE_SCALE_SWITCH 10880 /* 85% */ |
|
#define | RATE_HIGH_TH 10880 /* 85% */ |
|
#define | RATE_INCREASE_TH 6400 /* 50% */ |
|
#define | RATE_DECREASE_TH 1920 /* 15% */ |
|
#define | IL_LEGACY_SWITCH_ANTENNA1 0 |
|
#define | IL_LEGACY_SWITCH_ANTENNA2 1 |
|
#define | IL_LEGACY_SWITCH_SISO 2 |
|
#define | IL_LEGACY_SWITCH_MIMO2_AB 3 |
|
#define | IL_LEGACY_SWITCH_MIMO2_AC 4 |
|
#define | IL_LEGACY_SWITCH_MIMO2_BC 5 |
|
#define | IL_SISO_SWITCH_ANTENNA1 0 |
|
#define | IL_SISO_SWITCH_ANTENNA2 1 |
|
#define | IL_SISO_SWITCH_MIMO2_AB 2 |
|
#define | IL_SISO_SWITCH_MIMO2_AC 3 |
|
#define | IL_SISO_SWITCH_MIMO2_BC 4 |
|
#define | IL_SISO_SWITCH_GI 5 |
|
#define | IL_MIMO2_SWITCH_ANTENNA1 0 |
|
#define | IL_MIMO2_SWITCH_ANTENNA2 1 |
|
#define | IL_MIMO2_SWITCH_SISO_A 2 |
|
#define | IL_MIMO2_SWITCH_SISO_B 3 |
|
#define | IL_MIMO2_SWITCH_SISO_C 4 |
|
#define | IL_MIMO2_SWITCH_GI 5 |
|
#define | IL_MAX_SEARCH IL_MIMO2_SWITCH_GI |
|
#define | IL_ACTION_LIMIT 3 /* # possible actions */ |
|
#define | LQ_SIZE 2 /* 2 mode tables: "Active" and "Search" */ |
|
#define | IL_AGG_TPT_THREHOLD 0 |
|
#define | IL_AGG_LOAD_THRESHOLD 10 |
|
#define | IL_AGG_ALL_TID 0xff |
|
#define | TID_QUEUE_CELL_SPACING 50 /*mS */ |
|
#define | TID_QUEUE_MAX_SIZE 20 |
|
#define | TID_ROUND_VALUE 5 /* mS */ |
|
#define | TID_MAX_LOAD_COUNT 8 |
|
#define | TID_MAX_TIME_DIFF ((TID_QUEUE_MAX_SIZE - 1) * TID_QUEUE_CELL_SPACING) |
|
#define | TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y)) |
|
#define | is_legacy(tbl) ((tbl) == LQ_G || (tbl) == LQ_A) |
|
#define | is_siso(tbl) ((tbl) == LQ_SISO) |
|
#define | is_mimo2(tbl) ((tbl) == LQ_MIMO2) |
|
#define | is_mimo(tbl) (is_mimo2(tbl)) |
|
#define | is_Ht(tbl) (is_siso(tbl) || is_mimo(tbl)) |
|
#define | is_a_band(tbl) ((tbl) == LQ_A) |
|
#define | is_g_and(tbl) ((tbl) == LQ_G) |
|
#define | ANT_NONE 0x0 |
|
#define | ANT_A BIT(0) |
|
#define | ANT_B BIT(1) |
|
#define | ANT_AB (ANT_A | ANT_B) |
|
#define | ANT_C BIT(2) |
|
#define | ANT_AC (ANT_A | ANT_C) |
|
#define | ANT_BC (ANT_B | ANT_C) |
|
#define | ANT_ABC (ANT_AB | ANT_C) |
|
#define | IL_MAX_MCS_DISPLAY_SIZE 12 |
|
#define | il_print_hex_error(il, p, len) |
|
#define | IL_DBG(level, fmt, args...) |
|
#define | IL_DL_INFO (1 << 0) |
|
#define | IL_DL_MAC80211 (1 << 1) |
|
#define | IL_DL_HCMD (1 << 2) |
|
#define | IL_DL_STATE (1 << 3) |
|
#define | IL_DL_MACDUMP (1 << 4) |
|
#define | IL_DL_HCMD_DUMP (1 << 5) |
|
#define | IL_DL_EEPROM (1 << 6) |
|
#define | IL_DL_RADIO (1 << 7) |
|
#define | IL_DL_POWER (1 << 8) |
|
#define | IL_DL_TEMP (1 << 9) |
|
#define | IL_DL_NOTIF (1 << 10) |
|
#define | IL_DL_SCAN (1 << 11) |
|
#define | IL_DL_ASSOC (1 << 12) |
|
#define | IL_DL_DROP (1 << 13) |
|
#define | IL_DL_TXPOWER (1 << 14) |
|
#define | IL_DL_AP (1 << 15) |
|
#define | IL_DL_FW (1 << 16) |
|
#define | IL_DL_RF_KILL (1 << 17) |
|
#define | IL_DL_FW_ERRORS (1 << 18) |
|
#define | IL_DL_LED (1 << 19) |
|
#define | IL_DL_RATE (1 << 20) |
|
#define | IL_DL_CALIB (1 << 21) |
|
#define | IL_DL_WEP (1 << 22) |
|
#define | IL_DL_TX (1 << 23) |
|
#define | IL_DL_RX (1 << 24) |
|
#define | IL_DL_ISR (1 << 25) |
|
#define | IL_DL_HT (1 << 26) |
|
#define | IL_DL_11H (1 << 28) |
|
#define | IL_DL_STATS (1 << 29) |
|
#define | IL_DL_TX_REPLY (1 << 30) |
|
#define | IL_DL_QOS (1 << 31) |
|
#define | D_INFO(f, a...) IL_DBG(IL_DL_INFO, f, ## a) |
|
#define | D_MAC80211(f, a...) IL_DBG(IL_DL_MAC80211, f, ## a) |
|
#define | D_MACDUMP(f, a...) IL_DBG(IL_DL_MACDUMP, f, ## a) |
|
#define | D_TEMP(f, a...) IL_DBG(IL_DL_TEMP, f, ## a) |
|
#define | D_SCAN(f, a...) IL_DBG(IL_DL_SCAN, f, ## a) |
|
#define | D_RX(f, a...) IL_DBG(IL_DL_RX, f, ## a) |
|
#define | D_TX(f, a...) IL_DBG(IL_DL_TX, f, ## a) |
|
#define | D_ISR(f, a...) IL_DBG(IL_DL_ISR, f, ## a) |
|
#define | D_LED(f, a...) IL_DBG(IL_DL_LED, f, ## a) |
|
#define | D_WEP(f, a...) IL_DBG(IL_DL_WEP, f, ## a) |
|
#define | D_HC(f, a...) IL_DBG(IL_DL_HCMD, f, ## a) |
|
#define | D_HC_DUMP(f, a...) IL_DBG(IL_DL_HCMD_DUMP, f, ## a) |
|
#define | D_EEPROM(f, a...) IL_DBG(IL_DL_EEPROM, f, ## a) |
|
#define | D_CALIB(f, a...) IL_DBG(IL_DL_CALIB, f, ## a) |
|
#define | D_FW(f, a...) IL_DBG(IL_DL_FW, f, ## a) |
|
#define | D_RF_KILL(f, a...) IL_DBG(IL_DL_RF_KILL, f, ## a) |
|
#define | D_DROP(f, a...) IL_DBG(IL_DL_DROP, f, ## a) |
|
#define | D_AP(f, a...) IL_DBG(IL_DL_AP, f, ## a) |
|
#define | D_TXPOWER(f, a...) IL_DBG(IL_DL_TXPOWER, f, ## a) |
|
#define | D_RATE(f, a...) IL_DBG(IL_DL_RATE, f, ## a) |
|
#define | D_NOTIF(f, a...) IL_DBG(IL_DL_NOTIF, f, ## a) |
|
#define | D_ASSOC(f, a...) IL_DBG(IL_DL_ASSOC, f, ## a) |
|
#define | D_HT(f, a...) IL_DBG(IL_DL_HT, f, ## a) |
|
#define | D_STATS(f, a...) IL_DBG(IL_DL_STATS, f, ## a) |
|
#define | D_TX_REPLY(f, a...) IL_DBG(IL_DL_TX_REPLY, f, ## a) |
|
#define | D_QOS(f, a...) IL_DBG(IL_DL_QOS, f, ## a) |
|
#define | D_RADIO(f, a...) IL_DBG(IL_DL_RADIO, f, ## a) |
|
#define | D_POWER(f, a...) IL_DBG(IL_DL_POWER, f, ## a) |
|
#define | D_11H(f, a...) IL_DBG(IL_DL_11H, f, ## a) |
|
|
int | il_eeprom_init (struct il_priv *il) |
|
void | il_eeprom_free (struct il_priv *il) |
|
const u8 * | il_eeprom_query_addr (const struct il_priv *il, size_t offset) |
|
u16 | il_eeprom_query16 (const struct il_priv *il, size_t offset) |
|
int | il_init_channel_map (struct il_priv *il) |
|
void | il_free_channel_map (struct il_priv *il) |
|
struct il_channel_info * | il_get_channel_info (const struct il_priv *il, enum ieee80211_band band, u16 channel) |
|
void | il4965_update_chain_flags (struct il_priv *il) |
|
int | il_queue_space (const struct il_queue *q) |
|
void | il_leds_init (struct il_priv *il) |
|
void | il_leds_exit (struct il_priv *il) |
|
int | il_mac_conf_tx (struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) |
|
int | il_mac_tx_last_beacon (struct ieee80211_hw *hw) |
|
void | il_set_rxon_hwcrypto (struct il_priv *il, int hw_decrypt) |
|
int | il_check_rxon_cmd (struct il_priv *il) |
|
int | il_full_rxon_required (struct il_priv *il) |
|
int | il_set_rxon_channel (struct il_priv *il, struct ieee80211_channel *ch) |
|
void | il_set_flags_for_band (struct il_priv *il, enum ieee80211_band band, struct ieee80211_vif *vif) |
|
u8 | il_get_single_channel_number (struct il_priv *il, enum ieee80211_band band) |
|
void | il_set_rxon_ht (struct il_priv *il, struct il_ht_config *ht_conf) |
|
bool | il_is_ht40_tx_allowed (struct il_priv *il, struct ieee80211_sta_ht_cap *ht_cap) |
|
void | il_connection_init_rx_config (struct il_priv *il) |
|
void | il_set_rate (struct il_priv *il) |
|
int | il_set_decrypted_flag (struct il_priv *il, struct ieee80211_hdr *hdr, u32 decrypt_res, struct ieee80211_rx_status *stats) |
|
void | il_irq_handle_error (struct il_priv *il) |
|
int | il_mac_add_interface (struct ieee80211_hw *hw, struct ieee80211_vif *vif) |
|
void | il_mac_remove_interface (struct ieee80211_hw *hw, struct ieee80211_vif *vif) |
|
int | il_mac_change_interface (struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype newtype, bool newp2p) |
|
int | il_alloc_txq_mem (struct il_priv *il) |
|
void | il_free_txq_mem (struct il_priv *il) |
|
void | il_hdl_pm_sleep (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_hdl_pm_debug_stats (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_hdl_error (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_hdl_csa (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_cmd_queue_unmap (struct il_priv *il) |
|
void | il_cmd_queue_free (struct il_priv *il) |
|
int | il_rx_queue_alloc (struct il_priv *il) |
|
void | il_rx_queue_update_write_ptr (struct il_priv *il, struct il_rx_queue *q) |
|
int | il_rx_queue_space (const struct il_rx_queue *q) |
|
void | il_tx_cmd_complete (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_hdl_spectrum_measurement (struct il_priv *il, struct il_rx_buf *rxb) |
|
void | il_recover_from_stats (struct il_priv *il, struct il_rx_pkt *pkt) |
|
void | il_chswitch_done (struct il_priv *il, bool is_success) |
|
void | il_txq_update_write_ptr (struct il_priv *il, struct il_tx_queue *txq) |
|
int | il_tx_queue_init (struct il_priv *il, u32 txq_id) |
|
void | il_tx_queue_reset (struct il_priv *il, u32 txq_id) |
|
void | il_tx_queue_unmap (struct il_priv *il, int txq_id) |
|
void | il_tx_queue_free (struct il_priv *il, int txq_id) |
|
void | il_setup_watchdog (struct il_priv *il) |
|
int | il_set_tx_power (struct il_priv *il, s8 tx_power, bool force) |
|
u8 | il_get_lowest_plcp (struct il_priv *il) |
|
void | il_init_scan_params (struct il_priv *il) |
|
int | il_scan_cancel (struct il_priv *il) |
|
int | il_scan_cancel_timeout (struct il_priv *il, unsigned long ms) |
|
void | il_force_scan_end (struct il_priv *il) |
|
int | il_mac_hw_scan (struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_scan_request *req) |
|
void | il_internal_short_hw_scan (struct il_priv *il) |
|
int | il_force_reset (struct il_priv *il, bool external) |
|
u16 | il_fill_probe_req (struct il_priv *il, struct ieee80211_mgmt *frame, const u8 *ta, const u8 *ie, int ie_len, int left) |
|
void | il_setup_rx_scan_handlers (struct il_priv *il) |
|
u16 | il_get_active_dwell_time (struct il_priv *il, enum ieee80211_band band, u8 n_probes) |
|
u16 | il_get_passive_dwell_time (struct il_priv *il, enum ieee80211_band band, struct ieee80211_vif *vif) |
|
void | il_setup_scan_deferred_work (struct il_priv *il) |
|
void | il_cancel_scan_deferred_work (struct il_priv *il) |
|
const char * | il_get_cmd_string (u8 cmd) |
|
int __must_check | il_send_cmd_sync (struct il_priv *il, struct il_host_cmd *cmd) |
|
int | il_send_cmd (struct il_priv *il, struct il_host_cmd *cmd) |
|
int __must_check | il_send_cmd_pdu (struct il_priv *il, u8 id, u16 len, const void *data) |
|
int | il_send_cmd_pdu_async (struct il_priv *il, u8 id, u16 len, const void *data, void(*callback)(struct il_priv *il, struct il_device_cmd *cmd, struct il_rx_pkt *pkt)) |
|
int | il_enqueue_hcmd (struct il_priv *il, struct il_host_cmd *cmd) |
|
void | il_bg_watchdog (unsigned long data) |
|
u32 | il_usecs_to_beacons (struct il_priv *il, u32 usec, u32 beacon_interval) |
|
__le32 | il_add_beacon_time (struct il_priv *il, u32 base, u32 addon, u32 beacon_interval) |
|
void | il4965_dump_nic_error_log (struct il_priv *il) |
|
void | il_clear_isr_stats (struct il_priv *il) |
|
int | il_init_geos (struct il_priv *il) |
|
void | il_free_geos (struct il_priv *il) |
|
void | il_send_bt_config (struct il_priv *il) |
|
int | il_send_stats_request (struct il_priv *il, u8 flags, bool clear) |
|
void | il_apm_stop (struct il_priv *il) |
|
void | _il_apm_stop (struct il_priv *il) |
|
int | il_apm_init (struct il_priv *il) |
|
int | il_send_rxon_timing (struct il_priv *il) |
|
int | il_mac_config (struct ieee80211_hw *hw, u32 changed) |
|
void | il_mac_reset_tsf (struct ieee80211_hw *hw, struct ieee80211_vif *vif) |
|
void | il_mac_bss_info_changed (struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) |
|
void | il_tx_cmd_protection (struct il_priv *il, struct ieee80211_tx_info *info, __le16 fc, __le32 *tx_flags) |
|
irqreturn_t | il_isr (int irq, void *data) |
|
void | il_set_bit (struct il_priv *p, u32 r, u32 m) |
|
void | il_clear_bit (struct il_priv *p, u32 r, u32 m) |
|
bool | _il_grab_nic_access (struct il_priv *il) |
|
int | _il_poll_bit (struct il_priv *il, u32 addr, u32 bits, u32 mask, int timeout) |
|
int | il_poll_bit (struct il_priv *il, u32 addr, u32 mask, int timeout) |
|
u32 | il_rd_prph (struct il_priv *il, u32 reg) |
|
void | il_wr_prph (struct il_priv *il, u32 addr, u32 val) |
|
u32 | il_read_targ_mem (struct il_priv *il, u32 addr) |
|
void | il_write_targ_mem (struct il_priv *il, u32 addr, u32 val) |
|
void | il_restore_stations (struct il_priv *il) |
|
void | il_clear_ucode_stations (struct il_priv *il) |
|
void | il_dealloc_bcast_stations (struct il_priv *il) |
|
int | il_get_free_ucode_key_idx (struct il_priv *il) |
|
int | il_send_add_sta (struct il_priv *il, struct il_addsta_cmd *sta, u8 flags) |
|
int | il_add_station_common (struct il_priv *il, const u8 *addr, bool is_ap, struct ieee80211_sta *sta, u8 *sta_id_r) |
|
int | il_remove_station (struct il_priv *il, const u8 sta_id, const u8 *addr) |
|
int | il_mac_sta_remove (struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) |
|
u8 | il_prep_station (struct il_priv *il, const u8 *addr, bool is_ap, struct ieee80211_sta *sta) |
|
int | il_send_lq_cmd (struct il_priv *il, struct il_link_quality_cmd *lq, u8 flags, bool init) |
|
void | il3945_rate_scale_init (struct ieee80211_hw *hw, s32 sta_id) |
|
void | il4965_rs_rate_init (struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id) |
|
void | il3945_rs_rate_init (struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id) |
|
int | il4965_rate_control_register (void) |
|
int | il3945_rate_control_register (void) |
|
void | il4965_rate_control_unregister (void) |
|
void | il3945_rate_control_unregister (void) |
|
int | il_power_update_mode (struct il_priv *il, bool force) |
|
void | il_power_initialize (struct il_priv *il) |
|