• W
    iwlwifi: rework for static power save · 4ad177b5
    Wey-Yi Guy 提交于
    For static power save, the actual intervals are calculated by driver based on
    the default table and DTIM flag, then sent to uCode when the scheme
    is changed.
    
    Three tables are defined based on DTIM period.
    	1. DTIM 0 - 2
    	2. DTIM 3 - 10
    	3. DTIM > 11
    
    The actual number of DTIM a station may miss may not exceed the
    following:
    	. Only 1 DTIM may be skipped at PI=4 when allowed
    	. Only 2 DTIMs may be skipped at PI=5 when allowed
    	. DTIM may be skipped only 5 sec after last activity
    	. DTIM may be skipped only 30 sec after connection establishment
    
    Only allow user to override the power_level when rf is ready to make sure
    power level gets changed upon request.
    Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    4ad177b5
iwl-power.c 31.5 KB