#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/wait.h>
#include <linux/leds.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include "iwl-fw.h"
#include "iwl-eeprom-parse.h"
#include "iwl-csr.h"
#include "iwl-debug.h"
#include "iwl-agn-hw.h"
#include "iwl-op-mode.h"
#include "iwl-notif-wait.h"
#include "iwl-trans.h"
#include "led.h"
#include "power.h"
#include "rs.h"
#include "tt.h"
#include "iwl-test.h"
Go to the source code of this file.
|
enum | iwl_agg_state {
IWL_AGG_OFF = 0,
IWL_AGG_STARTING,
IWL_AGG_ON,
IWL_EMPTYING_HW_QUEUE_ADDBA,
IWL_EMPTYING_HW_QUEUE_DELBA
} |
|
enum | iwlagn_false_alarm_state { IWL_FA_TOO_MANY = 0,
IWL_FA_TOO_FEW = 1,
IWL_FA_GOOD_RANGE = 2
} |
|
enum | iwlagn_chain_noise_state { IWL_CHAIN_NOISE_ALIVE = 0,
IWL_CHAIN_NOISE_ACCUMULATE,
IWL_CHAIN_NOISE_CALIBRATED,
IWL_CHAIN_NOISE_DONE
} |
|
enum | { MEASUREMENT_READY = (1 << 0),
MEASUREMENT_ACTIVE = (1 << 1)
} |
|
enum | iwl_rxon_context_id { IWL_RXON_CTX_BSS,
IWL_RXON_CTX_PAN,
NUM_IWL_RXON_CTX
} |
|
enum | iwl_scan_type { IWL_SCAN_NORMAL,
IWL_SCAN_RADIO_RESET,
IWL_SCAN_ROC
} |
|
enum | {
IWL_CALIB_ENABLE_ALL = 0,
IWL_SENSITIVITY_CALIB_DISABLED = BIT(0),
IWL_CHAIN_NOISE_CALIB_DISABLED = BIT(1),
IWL_TX_POWER_CALIB_DISABLED = BIT(2),
IWL_CALIB_DISABLE_ALL = 0xFFFFFFFF
} |
|
#define ALL_BAND_FILTER 0xFF00 |
#define AUTO_CORR_CCK_MIN_VAL_DEF (125) |
#define AUTO_CORR_MAX_TH_CCK 160 |
#define AUTO_CORR_STEP_CCK 3 |
#define AUTO_CORR_STEP_OFDM 1 |
#define CELSIUS_TO_KELVIN |
( |
|
x | ) |
((x)+273) |
#define CHAIN_NOISE_DELTA_GAIN_INIT_VAL 4 |
#define CHAIN_NOISE_MAX_DELTA_GAIN_CODE 3 |
#define CT_KILL_EXIT_THRESHOLD 95 /* in Celsius */ |
Definition at line 60 of file dev.h.
#define CT_KILL_THRESHOLD 114 /* in Celsius */ |
Definition at line 59 of file dev.h.
#define CT_KILL_THRESHOLD_LEGACY 110 /* in Celsius */ |
Definition at line 58 of file dev.h.
#define DEFAULT_BEACON_INTERVAL 200U |
Definition at line 87 of file dev.h.
#define DEFAULT_LONG_RETRY_LIMIT 4U |
Definition at line 89 of file dev.h.
#define DEFAULT_RTS_THRESHOLD 2347U |
Definition at line 82 of file dev.h.
#define DEFAULT_SHORT_RETRY_LIMIT 7U |
Definition at line 88 of file dev.h.
#define for_each_context |
( |
|
priv, |
|
|
|
ctx |
|
) |
| |
Value:
Definition at line 893 of file dev.h.
#define IEEE80211_4ADDR_LEN 30 |
Definition at line 95 of file dev.h.
#define IEEE80211_DATA_LEN 2304 |
Definition at line 94 of file dev.h.
Definition at line 97 of file dev.h.
Definition at line 96 of file dev.h.
#define IN_BAND_FILTER 0xFF |
#define INITIALIZATION_VALUE 0xFFFF |
#define IWL_BT_ANTENNA_COUPLING_THRESHOLD (35) |
#define IWL_CAL_NUM_BEACONS 16 |
#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3) |
#define IWL_INVALID_MAC80211_QUEUE 0xff |
#define IWL_INVALID_RATE 0xFF |
#define IWL_INVALID_VALUE -1 |
#define IWL_MAC80211_GET_DVM |
( |
|
_hw | ) |
|
Value:
(_hw)->
priv)->op_mode_specific)
Definition at line 603 of file dev.h.
#define IWL_MAX_CONTINUE_RELOAD_CNT 4 |
#define IWL_MIN_RELOAD_DURATION 1000 /* 1000 ms */ |
#define IWL_NOISE_MEAS_NOT_AVAILABLE (-127) |
Definition at line 72 of file dev.h.
#define IWL_NUM_SCAN_RATES (2) |
Definition at line 91 of file dev.h.
#define IWL_OP_MODE_GET_DVM |
( |
|
_iwl_op_mode | ) |
((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific)) |
#define IWL_OPERATION_MODE_20MHZ 3 |
#define IWL_OPERATION_MODE_AUTO 0 |
#define IWL_OPERATION_MODE_HT_ONLY 1 |
#define IWL_OPERATION_MODE_MIXED 2 |
#define IWL_OWNERSHIP_DRIVER 0 |
#define IWL_OWNERSHIP_TM 1 |
#define IWL_SUPPORTED_RATES_IE_LEN 8 |
#define IWLAGN_EXT_BEACON_TIME_POS 22 |
#define KELVIN_TO_CELSIUS |
( |
|
x | ) |
((x)-273) |
#define MAX_MPDU_SIZE 2346U |
Definition at line 86 of file dev.h.
#define MAX_MSDU_SIZE 2304U |
Definition at line 85 of file dev.h.
#define MAX_NUMBER_CCK_NO_FA 100 |
#define MAX_RTS_THRESHOLD 2347U |
Definition at line 84 of file dev.h.
#define MAXIMUM_ALLOWED_PATHLOSS 15 |
#define MIN_AVERAGE_NOISE_MAX_VALUE 0xFFFFFFFF |
#define MIN_RTS_THRESHOLD 0U |
Definition at line 83 of file dev.h.
#define NRG_NUM_PREV_STAT_L 20 |
#define SUP_RATE_11A_MAX_NUM_CHANNELS 8 |
Definition at line 99 of file dev.h.
#define SUP_RATE_11B_MAX_NUM_CHANNELS 4 |
#define SUP_RATE_11G_MAX_NUM_CHANNELS 12 |
#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000 |
#define UCODE_TRACE_PERIOD (10) |
- Enumerator:
MEASUREMENT_READY |
|
MEASUREMENT_ACTIVE |
|
Definition at line 380 of file dev.h.
- Enumerator:
IWL_CALIB_ENABLE_ALL |
|
IWL_SENSITIVITY_CALIB_DISABLED |
|
IWL_CHAIN_NOISE_CALIB_DISABLED |
|
IWL_TX_POWER_CALIB_DISABLED |
|
IWL_CALIB_DISABLE_ALL |
|
Definition at line 590 of file dev.h.
enum iwl_agg_state
The state machine of the BA agreement establishment / tear down. These states relate to a specific RA / TID.
: aggregation is not used : aggregation are starting (between start and oper) : aggregation session is up : establishing a BA session - waiting for the HW queue to be empty from packets for this RA /TID. : tearing down a BA session - waiting for the HW queue to be empty from packets for this RA /TID.
- Enumerator:
IWL_AGG_OFF |
|
IWL_AGG_STARTING |
|
IWL_AGG_ON |
|
IWL_EMPTYING_HW_QUEUE_ADDBA |
|
IWL_EMPTYING_HW_QUEUE_DELBA |
|
Definition at line 141 of file dev.h.
- Enumerator:
IWL_RXON_CTX_BSS |
|
IWL_RXON_CTX_PAN |
|
NUM_IWL_RXON_CTX |
|
Definition at line 472 of file dev.h.
- Enumerator:
IWL_SCAN_NORMAL |
|
IWL_SCAN_RADIO_RESET |
|
IWL_SCAN_ROC |
|
Definition at line 542 of file dev.h.
- Enumerator:
IWL_CHAIN_NOISE_ALIVE |
|
IWL_CHAIN_NOISE_ACCUMULATE |
|
IWL_CHAIN_NOISE_CALIBRATED |
|
IWL_CHAIN_NOISE_DONE |
|
Definition at line 326 of file dev.h.
- Enumerator:
IWL_FA_TOO_MANY |
|
IWL_FA_TOO_FEW |
|
IWL_FA_GOOD_RANGE |
|
Definition at line 320 of file dev.h.
Definition at line 35 of file sta.c.