* [For Help]Wrong mac address when i used ath10k driver
@ 2014-03-18 9:08 wangdc
2014-03-18 9:23 ` Yeoh Chun-Yeow
2014-03-18 11:39 ` Kalle Valo
0 siblings, 2 replies; 5+ messages in thread
From: wangdc @ 2014-03-18 9:08 UTC (permalink / raw)
To: ath10k
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
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [For Help]Wrong mac address when i used ath10k driver
2014-03-18 9:08 [For Help]Wrong mac address when i used ath10k driver wangdc
@ 2014-03-18 9:23 ` Yeoh Chun-Yeow
2014-03-18 9:35 ` wangdc
2014-03-18 11:39 ` Kalle Valo
1 sibling, 1 reply; 5+ messages in thread
From: Yeoh Chun-Yeow @ 2014-03-18 9:23 UTC (permalink / raw)
To: wangdc; +Cc: ath10k@lists.infradead.org
Can you confirm that it is phy0 and not any others (phyX)?
----
Chun-Yeow
On Tue, Mar 18, 2014 at 5:08 PM, wangdc <wangdc@dhc.com.cn> wrote:
> 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
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [For Help]Wrong mac address when i used ath10k driver
2014-03-18 9:23 ` Yeoh Chun-Yeow
@ 2014-03-18 9:35 ` wangdc
0 siblings, 0 replies; 5+ messages in thread
From: wangdc @ 2014-03-18 9:35 UTC (permalink / raw)
To: Yeoh Chun-Yeow; +Cc: ath10k@lists.infradead.org
Dear Chun Yeow
Thank you for your reply. I confirm that it is phy0.
Rex wang
On 2014年03月18日 17:23, Yeoh Chun-Yeow wrote:
> Can you confirm that it is phy0 and not any others (phyX)?
>
> ----
> Chun-Yeow
>
> On Tue, Mar 18, 2014 at 5:08 PM, wangdc <wangdc@dhc.com.cn> wrote:
>> 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
>> ath10k@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
> .
>
--
=============================================
王登成
大连华信计算机技术股份有限公司
中国大连高新技术产业园区黄浦路977号 华信(国际)软件园
邮编:116023
电话:+86-411-85996869 (已变更)
传真:+86-411-85996976
手 机:+86-138-89523320
E-mail:wangdc@dhc.com.cn
=============================================
请注意:这是一封保密邮件,如果您 不是邮件中的收信人,
请尽快发邮件通知我,并将邮件删除。给您工作带来不便,十分抱歉。
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [For Help]Wrong mac address when i used ath10k driver
2014-03-18 9:08 [For Help]Wrong mac address when i used ath10k driver wangdc
2014-03-18 9:23 ` Yeoh Chun-Yeow
@ 2014-03-18 11:39 ` Kalle Valo
2014-03-18 12:52 ` wangdc
1 sibling, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2014-03-18 11:39 UTC (permalink / raw)
To: wangdc; +Cc: ath10k
wangdc <wangdc@dhc.com.cn> writes:
> 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?
> 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
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.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [For Help]Wrong mac address when i used ath10k driver
2014-03-18 11:39 ` Kalle Valo
@ 2014-03-18 12:52 ` wangdc
0 siblings, 0 replies; 5+ messages in thread
From: wangdc @ 2014-03-18 12:52 UTC (permalink / raw)
To: Kalle Valo; +Cc: ath10k@lists.infradead.org
Dear Kalle Valo
Now I can get the mac address correctly using the following method.
Thank you very much.
Rex wang
On 2014年03月18日 19:39, Kalle Valo wrote:
> wangdc <wangdc@dhc.com.cn> writes:
>
>> 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?
>
>> 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
> 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.
>
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-18 12:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 9:08 [For Help]Wrong mac address when i used ath10k driver wangdc
2014-03-18 9:23 ` Yeoh Chun-Yeow
2014-03-18 9:35 ` wangdc
2014-03-18 11:39 ` Kalle Valo
2014-03-18 12:52 ` wangdc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.