Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac80211: ath10k: avoid system bootloops with qca9880 v1 #2435

Closed
wants to merge 1 commit into from

Commits on Sep 21, 2019

  1. mac80211: ath10k: avoid system bootloops with qca9880 v1

    Booting released images on Archer C7 v1 or TL-WDR7500 v2 always resulted in crash and reboot followed by the same
    on next boot with presence of both kmod-ath10k and default qca9880-ar1a card.
    This change is about getting system to boot, so users can then decide whether to remove kmod-ath10k only or go
    open the case (not quite easy) and pull the card out/replace it...
    Since QCA986X and both QCA988X versions use same device id it was necessary to make differentiations based on
    chip id. To make QCA9880 v1 more stable during boot, CDC workaround for copy engine was added back and cold
    reset (commit ath10k: delay device access after cold reset) was reverted.
    Reading chip id is moved before chip reset since it is needed to specify QCA9880 v1 cold reset, for which
    qca99x0 chip reset needs to be used since it doesn't involve warm reset, as warm reset doesn't work with
    v1 card. There are still occasional crashes, especially with latest kernels/drivers, but when there is no
    crash system boots as expected. During 20 minute rebooting test on ar71xx v4.9.111 the system crashed 3 times.
    These changes do not affect QCA9880 v2 which boots and operates as expected.
    
    Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
    psyborg55 committed Sep 21, 2019
    Configuration menu
    Copy the full SHA
    3ed732b View commit details
    Browse the repository at this point in the history