• Felix Fietkau's avatar
    ath9k: reduce the likelihood of baseband hang check false positives · 8b3f4616
    Felix Fietkau authored
    Since baseband hangs are rare, but the hang check function has a high
    false positive rate in some situations, we need to add more reliable
    indicators.
    
    In AP mode we can use blocked beacon transmissions as an indicator,
    they should be rare enough.
    
    In station mode, we can skip the hang check entirely, since a true
    hang will trigger beacon loss detection, and mac80211 will rescan,
    which leads to a hw reset that will bring the hardware back to life.
    
    To make this more reliable, we need to skip fast channel changes
    if the hardware appears to be stuck.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    8b3f4616
main.c 54.6 KB