• Emmanuel Grumbach's avatar
    iwlwifi: mvm: refactor power code · e5e7aa8e
    Emmanuel Grumbach authored
    The main complexity of the power code is that it needs to
    take into account the firmware limitations.
    These limitations state that we need to have a global
    picture of the vifs present in the system to be able to
    decide if we can enable power management on a specific vif.
    
    Even device power save (as opposed to vif power management)
    must be disabled in certain circumstances (monitor vif).
    
    Refactor the current code to make this clearer by defining
    a function that explicitely computes these constraints.
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    e5e7aa8e
debugfs-vif.c 20.9 KB