summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-15 16:01:42 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 16:00:00 -0400
commit3c424c281a9887733ab936477c327cdb2a7ae367 (patch)
tree22da3f19683ff86fbf7b1c9024d8b01f3bf50d42 /drivers/net/wireless/iwlwifi/iwl-core.h
parentfed9017e03f23098137716bd6010772ac1aa8a80 (diff)
downloadlinux-next-3c424c281a9887733ab936477c327cdb2a7ae367.tar.gz
iwlwifi: introduce host commands callbacks
This patch adds place holder for host command handlers for supporting different implementations per 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/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 0ff0978d6801..64bab66d05d8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -82,6 +82,8 @@ struct iwl_cmd;
#define IWL_SKU_A 0x2
#define IWL_SKU_N 0x8
+struct iwl_hcmd_ops {
+};
struct iwl_hcmd_utils_ops {
int (*enqueue_hcmd)(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
};
@@ -111,6 +113,7 @@ struct iwl_lib_ops {
struct iwl_ops {
const struct iwl_lib_ops *lib;
+ const struct iwl_hcmd_ops *hcmd;
const struct iwl_hcmd_utils_ops *utils;
};