diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-15 01:54:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:48:02 -0400 |
commit | 3647074973e70d0872b96ada27bbbb71fd1f628c (patch) | |
tree | 926ef1ccab06a6e0d1040013b9103ea4fd4f1959 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | ccc038abe4cb00cf56aeae5b1df47fcc4ed4136c (diff) |
iwlwifi: rename and move Tx queue activation/deactivation
This patch moves iwl4965_txq_ctx_activate and iwl4965_txq_ctx_deactivate
to iwl-dev.h and removes 4965 prefix from their names.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 305491ff9beb..533479e717ab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1210,6 +1210,16 @@ struct iwl_priv { | |||
1210 | struct timer_list statistics_periodic; | 1210 | struct timer_list statistics_periodic; |
1211 | }; /*iwl_priv */ | 1211 | }; /*iwl_priv */ |
1212 | 1212 | ||
1213 | static inline void iwl_txq_ctx_activate(struct iwl_priv *priv, int txq_id) | ||
1214 | { | ||
1215 | set_bit(txq_id, &priv->txq_ctx_active_msk); | ||
1216 | } | ||
1217 | |||
1218 | static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id) | ||
1219 | { | ||
1220 | clear_bit(txq_id, &priv->txq_ctx_active_msk); | ||
1221 | } | ||
1222 | |||
1213 | static inline int iwl_is_associated(struct iwl_priv *priv) | 1223 | static inline int iwl_is_associated(struct iwl_priv *priv) |
1214 | { | 1224 | { |
1215 | return (priv->active_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0; | 1225 | return (priv->active_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0; |