OpenCloudOS-Kernel/drivers/net/wireless/ath
Kalle Valo e01ae68c5d ath10k: check chip id from the soc register during probe
ath10k doesn't support qca988x hw1.0 boards anymore. Unfortunately
the PCI id is the same in hw1.0 and hw2.0 so ath10k tries to use
hw1.0 boards anyway. But without hw1.0 workarounds in place
ath10k just crashes horribly.

To avoid using hw1.0 boards at all add a chip id detection
and fail the probe if hw1.0 is detected:

[ 5265.786408] ath10k: ERROR: qca988x hw1.0 is not supported
[ 5265.786497] ath10k: Unsupported chip id 0x043200ff
[ 5265.786574] ath10k: could not register driver core (-95)
[ 5265.793191] ath10k_pci: probe of 0000:02:00.0 failed with error -95

Also add a warning if there's an unknown chip id but continue
the boot process normally anyway.

Reported-by: Zaki Bakar <zaki.bm@gmail.com>
Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2013-09-03 09:54:16 +03:00
..
ar5523 mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan 2013-03-25 19:19:35 +01:00
ath5k ath5k: fix extra set bit in multicast mask 2013-07-18 16:22:00 -04:00
ath6kl ath6kl: Fix invalid pointer access on fuzz testing with AP mode 2013-08-07 10:58:59 +03:00
ath9k Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-07-25 16:48:01 -04:00
ath10k ath10k: check chip id from the soc register during probe 2013-09-03 09:54:16 +03:00
carl9170 carl9170: add support for the new rate control API 2013-06-13 13:32:28 -04:00
wil6210 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-07-25 16:48:01 -04:00
Kconfig ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices 2013-06-12 20:52:10 +03:00
Makefile ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices 2013-06-12 20:52:10 +03:00
ath.h ath9k: Merge HWTIMER debug level with BTCOEX 2013-06-18 14:46:44 -04:00
debug.c
hw.c ath: update hardware mac address with bssid mask 2013-04-22 15:20:15 -04:00
key.c ath: Let user know which keycache method is complaining. 2013-04-08 15:28:37 -04:00
main.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
reg.h ath: update hardware mac address with bssid mask 2013-04-22 15:20:15 -04:00
regd.c ath: add VHT80 support for regulatory domains 2013-06-12 14:59:40 -04:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd_common.h