• Emmanuel Grumbach's avatar
    iwlwifi: pcie: fix interrupt coalescing for 7260 / 3160 · 6960a059
    Emmanuel Grumbach authored
    We changed the timeout for the interrupt coealescing for
    calibration, but that wasn't effective since we changed
    that value back before loading the firmware. Since
    calibrations are notification from firmware and not Rx
    packets, this doesn't change anyway - the firmware will
    fire an interrupt straight away regardless of the interrupt
    coalescing value.
    Also, a HW issue has been discovered in 7000 devices series.
    The work around is to disable the new interrupt coalescing
    timeout feature - do this by setting bit 31 in
    CSR_INT_COALESCING.
    This has been fixed in 7265 which means that we can't rely
    on the device family and must have a hint in the iwl_cfg
    structure.
    
    Cc: stable@vger.kernel.org [3.10+]
    Fixes: 99cd4714 ("iwlwifi: add 7000 series device configuration")
    Reviewed-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    6960a059
rx.c 39.4 KB