Skip to contentSkip to conversation

Crash when loading module

DISCUSSION Christian Lamparter 2 participants 2 messages Aug 31, 2013 – Sep 1, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

Found a way now:

http://lists.infradead.org/pipermail/ath10k/2013-August/000279.html

Zaki, I would appreciate if you could test that patch and see if ath10k still crashes (it shouldn't). And if you want to provide your full name I can add your name to the Reported-by tag.

I get this before it crashes now. (This is a QCA-9880-AR1A from TP-Link Archer C7)

[  271.140000] ath10k: Warning: chip id 0x043200ff is not known, expect problems

Could it be, that this is just a typo, or are there several v1.0 chip_ids?

#define QCA988X_HW_1_0_CHIP_ID 0x043000ff

vs

#define QCA988X_HW_1_0_CHIP_ID 0x043200ff

Regards,
Chr

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw
Quoted 8 lines · Christian Lamparter
Quoted 7 lines

Found a way now:

http://lists.infradead.org/pipermail/ath10k/2013-August/000279.html

Zaki, I would appreciate if you could test that patch and see if ath10k still crashes (it shouldn't). And if you want to provide your full name I can add your name to the Reported-by tag.

Quoted 5 lines

I get this before it crashes now. (This is a QCA-9880-AR1A from TP-Link Archer C7)

[  271.140000] ath10k: Warning: chip id 0x043200ff is not known, expect problems

Could it be, that this is just a typo, or are there several v1.0 chip_ids?

I found out (after I sent the patch) that the chip id actually contains more than just the hardware revision. So when testing for hard revision (hw1.0 vs hw2.0) we need to do:

(chip_id & 0xf00) >> 8

0x2 will be hw2.0 and 0x0 will be hw1.0. This seems to match with the chip ids my boards have and also you what you have. I'll send a v2, thanks for the feedback.

Signature · 6 lines
Kalle Valo

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k