aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-07-08 11:46:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-11 15:02:03 -0400
commite419d62d72b23392e7f9a5da047fb17d70edc54a (patch)
tree6b6608a26d9cb88f176b530e85d3e8b607927856 /drivers/net/wireless/iwlwifi/iwl-core.h
parent06f491ef4b659fa6f6850f31d05a4a03db0d9d96 (diff)
iwlagn: consolidate the API that sends host commands and move to transport
Now, there are only two functions to send a host command: * send_cmd that receives a iwl_host_cmd * send_cmd_pdu that builds the iwl_host_cmd itself and received flags The flags CMD_ASYNC / CMD_SYNC / CMD_WANT_SKB are not changed by the API functions. Kill the unused flags CMD_SIZE_NORMAL / CMD_NO_SKB on the way. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 76f65350ebc3..3f7b921922ad 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -434,16 +434,9 @@ int __must_check iwl_scan_initiate(struct iwl_priv *priv,
434 *****************************************************/ 434 *****************************************************/
435 435
436const char *get_cmd_string(u8 cmd); 436const char *get_cmd_string(u8 cmd);
437int __must_check iwl_send_cmd_sync(struct iwl_priv *priv,
438 struct iwl_host_cmd *cmd);
439int iwl_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); 437int iwl_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
440int __must_check iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, 438int __must_check iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u32 flags,
441 u16 len, const void *data); 439 u16 len, const void *data);
442int iwl_send_cmd_pdu_async(struct iwl_priv *priv, u8 id, u16 len,
443 const void *data,
444 void (*callback)(struct iwl_priv *priv,
445 struct iwl_device_cmd *cmd,
446 struct iwl_rx_packet *pkt));
447 440
448int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); 441int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
449 442