• Wey-Yi Guy's avatar
    iwlwifi: code cleanup for connectivity recovery · fa8f130c
    Wey-Yi Guy authored
    Split the connectivity check and recovery routine into separated
    functions based on the types
       1. iwl_good_ack_health() - check for ack count
       2. iwl_good_plcp_health() - check for plcp error
    
    Based on the type of errors being detected, different recovery methods
    will be used to bring the system back to normal operational state.
    
    Because different NIC has different HW and uCode, the behavior is also
    different; these functions thus now form part of the ops infrastructure,
    so we can have more control on how to monitor and recover from error condition
    case per device.
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    fa8f130c
iwl-5000.c 54 KB