• Rajkumar Manoharan's avatar
    ath9k_hw: do noise floor calibration only on required chains · 28ef6450
    Rajkumar Manoharan authored
    At present the noise floor calibration is processed in supported
    control and extension chains rather than required chains.
    Unnccesarily doing nfcal in all supported chains leads to
    invalid nf readings on extn chains and these invalid values
    got updated into history buffer. While loading those values
    from history buffer is moving the chip to deaf state.
    
    This issue was observed in AR9002/AR9003 chips while doing
    associate/dissociate in HT40 mode and interface up/down
    in iterative manner. After some iterations, the chip was moved
    to deaf state. Somehow the pci devices are recovered by poll work
    after chip reset. Raading the nf values in all supported extension chains
    when the hw is not yet configured in HT40 mode results invalid values.
    
    Cc: stable@kernel.org
    Signed-off-by: default avatarRajkumar Manoharan <rmanoharan@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    28ef6450
calib.c 11.5 KB