]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-trans.h
iwlwifi: move wait_command_queue from shared to trans
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / iwlwifi / iwl-trans.h
index 782cb0ddc962623bfdb450454c6c21a27d6cfb77..0c81cbaa80888dfbf13d00010c19675f3202bd50 100644 (file)
@@ -413,6 +413,7 @@ enum iwl_trans_state {
  * @hw_id_str: a string with info about HW ID. Set during transport allocation.
  * @nvm_device_type: indicates OTP or eeprom
  * @pm_support: set to true in start_hw if link pm is supported
+ * @wait_command_queue: the wait_queue for SYNC host commands
  */
 struct iwl_trans {
        const struct iwl_trans_ops *ops;
@@ -429,6 +430,8 @@ struct iwl_trans {
        int    nvm_device_type;
        bool pm_support;
 
+       wait_queue_head_t wait_command_queue;
+
        /* pointer to trans specific struct */
        /*Ensure that this pointer will always be aligned to sizeof pointer */
        char trans_specific[0] __aligned(sizeof(void *));