Skip to contentSkip to conversation

Wrong mac address when i used ath10k driver

For Help wangdc 3 participants 5 messages Mar 18, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

wangdc

author
#0 lore raw

Hi all,

When i used the driver of the ath10k(backports-3.13.2-1) to drive the 11ac mini-pcie WIFI card(9880) on the ubuntu 12.04(based x86), the card seems to be working but i got a wrong mac address when i used the following command. Though i changed the other mini-pcie card, i got the same mac address.
---------------

root@ubuntu:~$ cat /sys/class/ieee80211/phy0/addresses
00:03:07:12:34:56
---------------

If anybody get the same this problem, could you please tell me how to fix it.

Any suggestions would be helpful.

ps:
start log when i grep ath as following:

root@ubuntu:~$ dmesg | grep ath
[   25.240895] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem 0xf0400000-0xf05fffff 64bit]
[   25.240918] ath10k_pci 0000:04:00.0: BAR 0: set to [mem 0xf0400000-0xf05fffff 64bit] (PCI address [0xf0400000-0xf05fffff])
[   25.240932] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[   25.240943] ath10k_pci 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   25.241008] ath10k_pci 0000:04:00.0: setting latency timer to 64
[   25.241481] ath10k: MSI-X didn't succeed (1), trying MSI
[   25.241549] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   25.241582] ath10k: MSI interrupt handling
[   25.274432] ath10k: Hardware name qca988x hw2.0 version 0x4100016c
[   26.645636] ath10k: UART prints disabled
[   26.649723] ath10k: firmware 999.999.0.636 booted
[   26.659427] ath10k: htt target version 2.1
[   26.659951] ath: EEPROM regdomain: 0x0
[   26.659953] ath: EEPROM indicates default country code should be used
[   26.659954] ath: doing EEPROM country->regdmn map search
[   26.659956] ath: country maps to regdmn code: 0x3a
[   26.659958] ath: Country alpha2 being used: US
[   26.659960] ath: Regpair used: 0x3a
[   62.880138] type=1400 audit(1395133013.810:12): apparmor="STATUS" operation="profile_load" name="/usr/lib/telepathy/mission-control-5" pid=1117 comm="apparmor_parser"
[   62.880710] type=1400 audit(1395133013.810:13): apparmor="STATUS" operation="profile_load" name="/usr/lib/telepathy/telepathy-*" pid=1117 comm="apparmor_parser"
[   63.953074] ath10k: MSI-X didn't succeed (1), trying MSI
[   63.953152] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   63.953190] ath10k: MSI interrupt handling
[   65.135257] ath10k: UART prints disabled
[   65.139331] ath10k: firmware 999.999.0.636 booted
[   65.149084] ath10k: htt target version 2.1
[   89.023995] ath10k: timed out while waiting for scan to stop
[   89.023998] ath10k: could not stop scan. its still in progress
[   91.068213] type=1400 audit(1395133042.038:25): apparmor="DENIED" operation="open" parent=2372 profile="/usr/lib/telepathy/mission-control-5" name="/usr/local/lib/libsqlite3.so.0.8.6" pid=2373 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Thanks.

Rex wang
2014-03-07

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

#1 lore raw

Can you confirm that it is phy0 and not any others (phyX)?

----
Chun-Yeow

Quoted 63 lines · wangdc

Hi all,

When i used the driver of the ath10k(backports-3.13.2-1) to drive the 11ac mini-pcie WIFI card(9880)
on the ubuntu 12.04(based x86), the card seems to be working but i got a wrong mac address when
i used the following command. Though i changed the other mini-pcie card, i got the same mac address.
---------------

root@ubuntu:~$ cat /sys/class/ieee80211/phy0/addresses
00:03:07:12:34:56
---------------

If anybody get the same this problem, could you please tell me how to fix it.

Any suggestions would be helpful.

ps:
start log when i grep ath as following:

root@ubuntu:~$ dmesg | grep ath
[   25.240895] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem
0xf0400000-0xf05fffff 64bit]
[   25.240918] ath10k_pci 0000:04:00.0: BAR 0: set to [mem
0xf0400000-0xf05fffff 64bit] (PCI address [0xf0400000-0xf05fffff])
[   25.240932] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[   25.240943] ath10k_pci 0000:04:00.0: PCI INT A -> GSI 18 (level, low) ->
IRQ 18
[   25.241008] ath10k_pci 0000:04:00.0: setting latency timer to 64
[   25.241481] ath10k: MSI-X didn't succeed (1), trying MSI
[   25.241549] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   25.241582] ath10k: MSI interrupt handling
[   25.274432] ath10k: Hardware name qca988x hw2.0 version 0x4100016c
[   26.645636] ath10k: UART prints disabled
[   26.649723] ath10k: firmware 999.999.0.636 booted
[   26.659427] ath10k: htt target version 2.1
[   26.659951] ath: EEPROM regdomain: 0x0
[   26.659953] ath: EEPROM indicates default country code should be used
[   26.659954] ath: doing EEPROM country->regdmn map search
[   26.659956] ath: country maps to regdmn code: 0x3a
[   26.659958] ath: Country alpha2 being used: US
[   26.659960] ath: Regpair used: 0x3a
[   62.880138] type=1400 audit(1395133013.810:12): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/mission-control-5"
pid=1117 comm="apparmor_parser"
[   62.880710] type=1400 audit(1395133013.810:13): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/telepathy-*" pid=1117
comm="apparmor_parser"
[   63.953074] ath10k: MSI-X didn't succeed (1), trying MSI
[   63.953152] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   63.953190] ath10k: MSI interrupt handling
[   65.135257] ath10k: UART prints disabled
[   65.139331] ath10k: firmware 999.999.0.636 booted
[   65.149084] ath10k: htt target version 2.1
[   89.023995] ath10k: timed out while waiting for scan to stop
[   89.023998] ath10k: could not stop scan. its still in progress
[   91.068213] type=1400 audit(1395133042.038:25): apparmor="DENIED"
operation="open" parent=2372 profile="/usr/lib/telepathy/mission-control-5"
name="/usr/local/lib/libsqlite3.so.0.8.6" pid=2373 comm="mission-control"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Thanks.

Quoted 7 lines

Rex wang
2014-03-07

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

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

author
#2 lore raw

Dear Chun Yeow

Thank you for your reply. I confirm that it is phy0.

Rex wang

Quoted 78 lines · Yeoh Chun-Yeow

Can you confirm that it is phy0 and not any others (phyX)?

----
Chun-Yeow

Quoted 63 lines · wangdc

Hi all,

When i used the driver of the ath10k(backports-3.13.2-1) to drive the 11ac mini-pcie WIFI card(9880)
on the ubuntu 12.04(based x86), the card seems to be working but i got a wrong mac address when
i used the following command. Though i changed the other mini-pcie card, i got the same mac address.
---------------

root@ubuntu:~$ cat /sys/class/ieee80211/phy0/addresses
00:03:07:12:34:56
---------------

If anybody get the same this problem, could you please tell me how to fix it.

Any suggestions would be helpful.

ps:
start log when i grep ath as following:

root@ubuntu:~$ dmesg | grep ath
[   25.240895] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem
0xf0400000-0xf05fffff 64bit]
[   25.240918] ath10k_pci 0000:04:00.0: BAR 0: set to [mem
0xf0400000-0xf05fffff 64bit] (PCI address [0xf0400000-0xf05fffff])
[   25.240932] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[   25.240943] ath10k_pci 0000:04:00.0: PCI INT A -> GSI 18 (level, low) ->
IRQ 18
[   25.241008] ath10k_pci 0000:04:00.0: setting latency timer to 64
[   25.241481] ath10k: MSI-X didn't succeed (1), trying MSI
[   25.241549] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   25.241582] ath10k: MSI interrupt handling
[   25.274432] ath10k: Hardware name qca988x hw2.0 version 0x4100016c
[   26.645636] ath10k: UART prints disabled
[   26.649723] ath10k: firmware 999.999.0.636 booted
[   26.659427] ath10k: htt target version 2.1
[   26.659951] ath: EEPROM regdomain: 0x0
[   26.659953] ath: EEPROM indicates default country code should be used
[   26.659954] ath: doing EEPROM country->regdmn map search
[   26.659956] ath: country maps to regdmn code: 0x3a
[   26.659958] ath: Country alpha2 being used: US
[   26.659960] ath: Regpair used: 0x3a
[   62.880138] type=1400 audit(1395133013.810:12): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/mission-control-5"
pid=1117 comm="apparmor_parser"
[   62.880710] type=1400 audit(1395133013.810:13): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/telepathy-*" pid=1117
comm="apparmor_parser"
[   63.953074] ath10k: MSI-X didn't succeed (1), trying MSI
[   63.953152] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   63.953190] ath10k: MSI interrupt handling
[   65.135257] ath10k: UART prints disabled
[   65.139331] ath10k: firmware 999.999.0.636 booted
[   65.149084] ath10k: htt target version 2.1
[   89.023995] ath10k: timed out while waiting for scan to stop
[   89.023998] ath10k: could not stop scan. its still in progress
[   91.068213] type=1400 audit(1395133042.038:25): apparmor="DENIED"
operation="open" parent=2372 profile="/usr/lib/telepathy/mission-control-5"
name="/usr/local/lib/libsqlite3.so.0.8.6" pid=2373 comm="mission-control"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Thanks.

Quoted 7 lines

Rex wang
2014-03-07

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

.

Signature · 18 lines
=============================================
王登成
大连华信计算机技术股份有限公司
中国大连高新技术产业园区黄浦路977号 华信(国际)软件园
邮编:116023
电话:+86-411-85996869 (已变更)
传真:+86-411-85996976
手 机:+86-138-89523320
E-mail:[email protected]
=============================================
请注意:这是一封保密邮件,如果您 不是邮件中的收信人,
请尽快发邮件通知我,并将邮件删除。给您工作带来不便,十分抱歉。


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#3 lore raw
In reply to wangdc
Quoted 2 lines · wangdc

When i used the driver of the ath10k(backports-3.13.2-1) to drive the 11ac mini-pcie WIFI card(9880)

What board is this? Something based on XB140 design?

Quoted 41 lines

on the ubuntu 12.04(based x86), the card seems to be working but i got a wrong mac address when
i used the following command. Though i changed the other mini-pcie card, i got the same mac address.
---------------

root@ubuntu:~$ cat /sys/class/ieee80211/phy0/addresses
00:03:07:12:34:56
---------------

If anybody get the same this problem, could you please tell me how to fix it.

Any suggestions would be helpful.

ps:
start log when i grep ath as following:

root@ubuntu:~$ dmesg | grep ath
[   25.240895] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem
0xf0400000-0xf05fffff 64bit]
[   25.240918] ath10k_pci 0000:04:00.0: BAR 0: set to [mem
0xf0400000-0xf05fffff 64bit] (PCI address [0xf0400000-0xf05fffff])
[   25.240932] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[   25.240943] ath10k_pci 0000:04:00.0: PCI INT A -> GSI 18 (level,
low) -> IRQ 18
[   25.241008] ath10k_pci 0000:04:00.0: setting latency timer to 64
[   25.241481] ath10k: MSI-X didn't succeed (1), trying MSI
[   25.241549] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   25.241582] ath10k: MSI interrupt handling
[   25.274432] ath10k: Hardware name qca988x hw2.0 version 0x4100016c
[   26.645636] ath10k: UART prints disabled
[   26.649723] ath10k: firmware 999.999.0.636 booted
[   26.659427] ath10k: htt target version 2.1
[   26.659951] ath: EEPROM regdomain: 0x0
[   26.659953] ath: EEPROM indicates default country code should be used
[   26.659954] ath: doing EEPROM country->regdmn map search
[   26.659956] ath: country maps to regdmn code: 0x3a
[   26.659958] ath: Country alpha2 being used: US
[   26.659960] ath: Regpair used: 0x3a
[   62.880138] type=1400 audit(1395133013.810:12): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/mission-control-5"
pid=1117 comm="apparmor_parser"
Quoted 8 lines
[   62.880710] type=1400 audit(1395133013.810:13): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/telepathy-*"
pid=1117 comm="apparmor_parser"
[   63.953074] ath10k: MSI-X didn't succeed (1), trying MSI
[   63.953152] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   63.953190] ath10k: MSI interrupt handling
[   65.135257] ath10k: UART prints disabled
[   65.139331] ath10k: firmware 999.999.0.636 booted

I'm guessing otp.bin fails and use the default board file. Can you try firmware 10.1.467.2-1? Just get the firmware here:

https://github.com/kvalo/ath10k-firmware/tree/master/10.1

And rename it to firmware-2.bin:

cp firmware-2.bin_10.1.467.2-1 /lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin

And reload ath10k.

Signature · 6 lines
Kalle Valo

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
author
#4 lore raw

Dear Kalle Valo

Now I can get the mac address correctly using the following method. Thank you very much.

Rex wang

Quoted 58 lines · Kalle Valo
Quoted 2 lines · wangdc

When i used the driver of the ath10k(backports-3.13.2-1) to drive the 11ac mini-pcie WIFI card(9880)

What board is this? Something based on XB140 design?

Quoted 41 lines

on the ubuntu 12.04(based x86), the card seems to be working but i got a wrong mac address when
i used the following command. Though i changed the other mini-pcie card, i got the same mac address.
---------------

root@ubuntu:~$ cat /sys/class/ieee80211/phy0/addresses
00:03:07:12:34:56
---------------

If anybody get the same this problem, could you please tell me how to fix it.

Any suggestions would be helpful.

ps:
start log when i grep ath as following:

root@ubuntu:~$ dmesg | grep ath
[   25.240895] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem
0xf0400000-0xf05fffff 64bit]
[   25.240918] ath10k_pci 0000:04:00.0: BAR 0: set to [mem
0xf0400000-0xf05fffff 64bit] (PCI address [0xf0400000-0xf05fffff])
[   25.240932] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[   25.240943] ath10k_pci 0000:04:00.0: PCI INT A -> GSI 18 (level,
low) -> IRQ 18
[   25.241008] ath10k_pci 0000:04:00.0: setting latency timer to 64
[   25.241481] ath10k: MSI-X didn't succeed (1), trying MSI
[   25.241549] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   25.241582] ath10k: MSI interrupt handling
[   25.274432] ath10k: Hardware name qca988x hw2.0 version 0x4100016c
[   26.645636] ath10k: UART prints disabled
[   26.649723] ath10k: firmware 999.999.0.636 booted
[   26.659427] ath10k: htt target version 2.1
[   26.659951] ath: EEPROM regdomain: 0x0
[   26.659953] ath: EEPROM indicates default country code should be used
[   26.659954] ath: doing EEPROM country->regdmn map search
[   26.659956] ath: country maps to regdmn code: 0x3a
[   26.659958] ath: Country alpha2 being used: US
[   26.659960] ath: Regpair used: 0x3a
[   62.880138] type=1400 audit(1395133013.810:12): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/mission-control-5"
pid=1117 comm="apparmor_parser"
Quoted 8 lines
[   62.880710] type=1400 audit(1395133013.810:13): apparmor="STATUS"
operation="profile_load" name="/usr/lib/telepathy/telepathy-*"
pid=1117 comm="apparmor_parser"
[   63.953074] ath10k: MSI-X didn't succeed (1), trying MSI
[   63.953152] ath10k_pci 0000:04:00.0: irq 45 for MSI/MSI-X
[   63.953190] ath10k: MSI interrupt handling
[   65.135257] ath10k: UART prints disabled
[   65.139331] ath10k: firmware 999.999.0.636 booted

I'm guessing otp.bin fails and use the default board file. Can you try firmware 10.1.467.2-1? Just get the firmware here:

Quoted 8 lines

https://github.com/kvalo/ath10k-firmware/tree/master/10.1

And rename it to firmware-2.bin:

cp firmware-2.bin_10.1.467.2-1 /lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin

And reload ath10k.

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