]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4581e95d5b41af0a5f662bc3b5df9b479f1bf9ba
tree7224d0fdbb7118e84b804bc8a2d08e92c2807c6c
parent6895dbfe30572342e71c0a4748b1cc9ea183d346
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