iwlwifi: trans: support a callback for ASYNC commands
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Nov 2015 13:17:37 +0000 (15:17 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 06:52:52 +0000 (08:52 +0200)
commitdcbb4746286abe50300deef1858cfd6dc1b9c198
tree7224d0fdbb7118e84b804bc8a2d08e92c2807c6c
parent0cd58eaab1482ab75800f68cd0033286232827f1
iwlwifi: trans: support a callback for ASYNC commands

This allows the op_mode to request from the transport to
call a callback when an ASYNC commands is completed by
the firmware. The same callback will be called for all the
commands. Pass the command whose response triggers the
callback as a parameter to the callback itself.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/tx.c