diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-05-04 22:22:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:37 -0400 |
commit | a55360e458551b0add4ec147ef786d71e163bf50 (patch) | |
tree | 2695c5fcc25ecf2ae2de6923706c873b6989ceb5 /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | 0d0b2c1c49814ee54f1b4efd2c715a7465219ede (diff) |
iwlwifi: move RX code to iwl-rx.c
This patch moves partialy rx code into iwl-rx.c as part of iwlcore.
The second part of the code can be merged only with moving of tx
code as well.
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-core.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 369f1821584..2356cadc1de 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -174,6 +174,21 @@ void iwlcore_free_geos(struct iwl_priv *priv); | |||
174 | int iwl_setup(struct iwl_priv *priv); | 174 | int iwl_setup(struct iwl_priv *priv); |
175 | 175 | ||
176 | /***************************************************** | 176 | /***************************************************** |
177 | * RX | ||
178 | ******************************************************/ | ||
179 | void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq); | ||
180 | int iwl_rx_queue_alloc(struct iwl_priv *priv); | ||
181 | void iwl_rx_handle(struct iwl_priv *priv); | ||
182 | int iwl_rx_queue_update_write_ptr(struct iwl_priv *priv, | ||
183 | struct iwl_rx_queue *q); | ||
184 | void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq); | ||
185 | void iwl_rx_replenish(struct iwl_priv *priv); | ||
186 | /* FIXME: remove when TX is moved to iwl core */ | ||
187 | int iwl_rx_queue_restock(struct iwl_priv *priv); | ||
188 | int iwl_rx_queue_space(const struct iwl_rx_queue *q); | ||
189 | void iwl_rx_allocate(struct iwl_priv *priv); | ||
190 | |||
191 | /***************************************************** | ||
177 | * S e n d i n g H o s t C o m m a n d s * | 192 | * S e n d i n g H o s t C o m m a n d s * |
178 | *****************************************************/ | 193 | *****************************************************/ |
179 | 194 | ||
@@ -265,4 +280,5 @@ static inline int iwl_send_rxon_assoc(struct iwl_priv *priv) | |||
265 | return priv->cfg->ops->hcmd->rxon_assoc(priv); | 280 | return priv->cfg->ops->hcmd->rxon_assoc(priv); |
266 | } | 281 | } |
267 | 282 | ||
283 | |||
268 | #endif /* __iwl_core_h__ */ | 284 | #endif /* __iwl_core_h__ */ |