• Wey-Yi Guy's avatar
    iwlwifi: uCode Alive notification with timeout · 34a66de6
    Wey-Yi Guy authored
    
    
    Wait for REPLY_ALIVE notification from init and runtime uCode.
    based on the type of REPLY_ALIVE, different status bit will be set to
    wake up the queue:
    STATUS_INIT_UCODE_ALIVE for init uCode
    STATUS_RT_UCODE_ALIVE for runtime uCode.
    
    If timeout, attempt to download the failing uCode image again. This can
    only be done for the init ucode images of all iwlagn devices and the
    runtime ucode image of the 5000 series and up. If there is a problem
    with the 4965 runtime ucode coming up we restart the interface and thus
    trigger a new download of the init ucode also.
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    34a66de6
iwl-core.h 22.1 KB