aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index cb2642c18da4..9dea8fa08c0e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -324,8 +324,9 @@ struct iwl_channel_info {
324#define IWL_MIN_NUM_QUEUES 10 324#define IWL_MIN_NUM_QUEUES 10
325 325
326/* 326/*
327 * uCode queue management definitions ... 327 * Queue #4 is the command queue for 3945/4965/5x00/1000/6x00,
328 * Queue #4 is the command queue for 3945/4965/5x00/1000/6x00. 328 * the driver maps it into the appropriate device FIFO for the
329 * uCode.
329 */ 330 */
330#define IWL_CMD_QUEUE_NUM 4 331#define IWL_CMD_QUEUE_NUM 4
331 332
@@ -926,13 +927,11 @@ enum iwl_access_mode {
926/** 927/**
927 * enum iwl_pa_type - Power Amplifier type 928 * enum iwl_pa_type - Power Amplifier type
928 * @IWL_PA_SYSTEM: based on uCode configuration 929 * @IWL_PA_SYSTEM: based on uCode configuration
929 * @IWL_PA_HYBRID: use both Internal and external PA
930 * @IWL_PA_INTERNAL: use Internal only 930 * @IWL_PA_INTERNAL: use Internal only
931 */ 931 */
932enum iwl_pa_type { 932enum iwl_pa_type {
933 IWL_PA_SYSTEM = 0, 933 IWL_PA_SYSTEM = 0,
934 IWL_PA_HYBRID = 1, 934 IWL_PA_INTERNAL = 1,
935 IWL_PA_INTERNAL = 2,
936}; 935};
937 936
938/* interrupt statistics */ 937/* interrupt statistics */
@@ -993,6 +992,17 @@ struct traffic_stats {
993}; 992};
994#endif 993#endif
995 994
995/*
996 * iwl_switch_rxon: "channel switch" structure
997 *
998 * @ switch_in_progress: channel switch in progress
999 * @ channel: new channel
1000 */
1001struct iwl_switch_rxon {
1002 bool switch_in_progress;
1003 __le16 channel;
1004};
1005
996struct iwl_priv { 1006struct iwl_priv {
997 1007
998 /* ieee device used by generic ieee processing code */ 1008 /* ieee device used by generic ieee processing code */
@@ -1086,7 +1096,7 @@ struct iwl_priv {
1086 const struct iwl_rxon_cmd active_rxon; 1096 const struct iwl_rxon_cmd active_rxon;
1087 struct iwl_rxon_cmd staging_rxon; 1097 struct iwl_rxon_cmd staging_rxon;
1088 1098
1089 struct iwl_rxon_cmd recovery_rxon; 1099 struct iwl_switch_rxon switch_rxon;
1090 1100
1091 /* 1st responses from initialize and runtime uCode images. 1101 /* 1st responses from initialize and runtime uCode images.
1092 * 4965's initialize alive response contains some calibration data. */ 1102 * 4965's initialize alive response contains some calibration data. */