diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-08-26 02:10:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:25:34 -0400 |
commit | e4ef84d94b0dbb75b4da6628611341af5812360f (patch) | |
tree | 8632f06d97ae5d3e5efdfa713d9fa911d0d1dcb2 /drivers | |
parent | fee84f0dc45f40eabbddf619d5ec18d456c5185a (diff) |
iwlagn: add comments to module parameters
Add more comments to iwl_mod_params
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 56 |
1 files changed, 39 insertions, 17 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h index 6c20d03a2b72..fd9a9224edfc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-shared.h +++ b/drivers/net/wireless/iwlwifi/iwl-shared.h | |||
@@ -74,26 +74,48 @@ struct iwl_trans_ops; | |||
74 | 74 | ||
75 | extern struct iwl_mod_params iwlagn_mod_params; | 75 | extern struct iwl_mod_params iwlagn_mod_params; |
76 | 76 | ||
77 | /** | ||
78 | * struct iwl_mod_params | ||
79 | * @sw_crypto: using hardware encryption, default = 0 | ||
80 | * @num_of_queues: number of tx queue, HW dependent | ||
81 | * @disable_11n: 11n capabilities enabled, default = 0 | ||
82 | * @amsdu_size_8K: enable 8K amsdu size, default = 1 | ||
83 | * @antenna: both antennas (use diversity), default = 0 | ||
84 | * @restart_fw: restart firmware, default = 1 | ||
85 | * @plcp_check: enable plcp health check, default = true | ||
86 | * @ack_check: disable ack health check, default = false | ||
87 | * @wd_disable: enable stuck queue check, default = false | ||
88 | * @bt_coex_active: enable bt coex, default = true | ||
89 | * @led_mode: system default, default = 0 | ||
90 | * @no_sleep_autoadjust: disable autoadjust, default = true | ||
91 | * @power_save: disable power save, default = false | ||
92 | * @power_level: power level, default = 1 | ||
93 | * @debug_level: levels are IWL_DL_* | ||
94 | * @ant_coupling: antenna coupling in dB, default = 0 | ||
95 | * @bt_ch_announce: BT channel inhibition, default = enable | ||
96 | * @wanted_ucode_alternative: ucode alternative to use, default = 1 | ||
97 | * @auto_agg: enable agg. without check, default = true | ||
98 | */ | ||
77 | struct iwl_mod_params { | 99 | struct iwl_mod_params { |
78 | int sw_crypto; /* def: 0 = using hardware encryption */ | 100 | int sw_crypto; |
79 | int num_of_queues; /* def: HW dependent */ | 101 | int num_of_queues; |
80 | int disable_11n; /* def: 0 = 11n capabilities enabled */ | 102 | int disable_11n; |
81 | int amsdu_size_8K; /* def: 1 = enable 8K amsdu size */ | 103 | int amsdu_size_8K; |
82 | int antenna; /* def: 0 = both antennas (use diversity) */ | 104 | int antenna; |
83 | int restart_fw; /* def: 1 = restart firmware */ | 105 | int restart_fw; |
84 | bool plcp_check; /* def: true = enable plcp health check */ | 106 | bool plcp_check; |
85 | bool ack_check; /* def: false = disable ack health check */ | 107 | bool ack_check; |
86 | bool wd_disable; /* def: false = enable stuck queue check */ | 108 | bool wd_disable; |
87 | bool bt_coex_active; /* def: true = enable bt coex */ | 109 | bool bt_coex_active; |
88 | int led_mode; /* def: 0 = system default */ | 110 | int led_mode; |
89 | bool no_sleep_autoadjust; /* def: true = disable autoadjust */ | 111 | bool no_sleep_autoadjust; |
90 | bool power_save; /* def: false = disable power save */ | 112 | bool power_save; |
91 | int power_level; /* def: 1 = power level */ | 113 | int power_level; |
92 | u32 debug_level; /* levels are IWL_DL_* */ | 114 | u32 debug_level; |
93 | int ant_coupling; | 115 | int ant_coupling; |
94 | bool bt_ch_announce; /* def: enable = BT channel inhibition */ | 116 | bool bt_ch_announce; |
95 | int wanted_ucode_alternative; | 117 | int wanted_ucode_alternative; |
96 | bool auto_agg; /* def: true = enable agg. without check */ | 118 | bool auto_agg; |
97 | }; | 119 | }; |
98 | 120 | ||
99 | /** | 121 | /** |