diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-04-24 14:55:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:22 -0400 |
commit | da8dec29d7928dcc4ddf6b41d7c4c9cef522c9df (patch) | |
tree | 4a0b37140fe0ebc5ef828bda38df9350dad3f88e /drivers/net/wireless | |
parent | 5a6a256e195380c062100dffad15f984656772c2 (diff) |
iwlwifi-5000: add ops infrastructure for 5000
This patch adds handler framework for 5000 family HW
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 2314e31fc78a..3dd0b12b155e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -46,6 +46,26 @@ | |||
46 | 46 | ||
47 | #define IWL5000_UCODE_API "-1" | 47 | #define IWL5000_UCODE_API "-1" |
48 | 48 | ||
49 | static struct iwl_hcmd_ops iwl5000_hcmd = { | ||
50 | }; | ||
51 | |||
52 | static struct iwl_hcmd_utils_ops iwl5000_hcmd_utils = { | ||
53 | }; | ||
54 | |||
55 | static struct iwl_lib_ops iwl5000_lib = { | ||
56 | .eeprom_ops = { | ||
57 | .verify_signature = iwlcore_eeprom_verify_signature, | ||
58 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | ||
59 | .release_semaphore = iwlcore_eeprom_release_semaphore, | ||
60 | }, | ||
61 | }; | ||
62 | |||
63 | static struct iwl_ops iwl5000_ops = { | ||
64 | .lib = &iwl5000_lib, | ||
65 | .hcmd = &iwl5000_hcmd, | ||
66 | .utils = &iwl5000_hcmd_utils, | ||
67 | }; | ||
68 | |||
49 | static struct iwl_mod_params iwl50_mod_params = { | 69 | static struct iwl_mod_params iwl50_mod_params = { |
50 | .num_of_queues = IWL50_NUM_QUEUES, | 70 | .num_of_queues = IWL50_NUM_QUEUES, |
51 | .enable_qos = 1, | 71 | .enable_qos = 1, |
@@ -58,6 +78,7 @@ struct iwl_cfg iwl5300_agn_cfg = { | |||
58 | .name = "5300AGN", | 78 | .name = "5300AGN", |
59 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", | 79 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", |
60 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 80 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
81 | .ops = &iwl5000_ops, | ||
61 | .mod_params = &iwl50_mod_params, | 82 | .mod_params = &iwl50_mod_params, |
62 | }; | 83 | }; |
63 | 84 | ||
@@ -65,6 +86,7 @@ struct iwl_cfg iwl5100_agn_cfg = { | |||
65 | .name = "5100AGN", | 86 | .name = "5100AGN", |
66 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", | 87 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", |
67 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 88 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
89 | .ops = &iwl5000_ops, | ||
68 | .mod_params = &iwl50_mod_params, | 90 | .mod_params = &iwl50_mod_params, |
69 | }; | 91 | }; |
70 | 92 | ||
@@ -72,6 +94,7 @@ struct iwl_cfg iwl5350_agn_cfg = { | |||
72 | .name = "5350AGN", | 94 | .name = "5350AGN", |
73 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", | 95 | .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", |
74 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 96 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
97 | .ops = &iwl5000_ops, | ||
75 | .mod_params = &iwl50_mod_params, | 98 | .mod_params = &iwl50_mod_params, |
76 | }; | 99 | }; |
77 | 100 | ||