diff options
author | Jay Sternberg <jay.e.sternberg@linux.intel.com> | 2009-01-29 14:09:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:42 -0500 |
commit | e8c00dcb028a1b702863c3a454315c7ae5f544e7 (patch) | |
tree | e0f7c44ca45815140b2e0ddc8d952d9fb6956855 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 76a2407a5b043d0950d5657184118e89860d545c (diff) |
iwlwifi: define structures and functions externally for customization
defined the structures and functions as extern to alter behavior used by
5000 series for other products including 100 and 6000 series
Signed-off-by: Jay Sternberg <jay.e.sternberg@linux.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-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index b9954bc89cf2..afde713c806f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -67,6 +67,18 @@ extern struct iwl_cfg iwl100_bgn_cfg; | |||
67 | /* shared structures from iwl-5000.c */ | 67 | /* shared structures from iwl-5000.c */ |
68 | extern struct iwl_mod_params iwl50_mod_params; | 68 | extern struct iwl_mod_params iwl50_mod_params; |
69 | extern struct iwl_ops iwl5000_ops; | 69 | extern struct iwl_ops iwl5000_ops; |
70 | extern struct iwl_lib_ops iwl5000_lib; | ||
71 | extern struct iwl_hcmd_ops iwl5000_hcmd; | ||
72 | extern struct iwl_hcmd_utils_ops iwl5000_hcmd_utils; | ||
73 | |||
74 | /* shared functions from iwl-5000.c */ | ||
75 | extern u16 iwl5000_get_hcmd_size(u8 cmd_id, u16 len); | ||
76 | extern u16 iwl5000_build_addsta_hcmd(const struct iwl_addsta_cmd *cmd, | ||
77 | u8 *data); | ||
78 | extern void iwl5000_rts_tx_cmd_flag(struct ieee80211_tx_info *info, | ||
79 | __le32 *tx_flags); | ||
80 | extern int iwl5000_calc_rssi(struct iwl_priv *priv, | ||
81 | struct iwl_rx_phy_res *rx_resp); | ||
70 | 82 | ||
71 | /* CT-KILL constants */ | 83 | /* CT-KILL constants */ |
72 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ | 84 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ |