Skip to contentSkip to conversation

Issue with ATH10K driver while bringing up mesh interface

DISCUSSION Sridhar Kondabathini 7 participants 11 messages Aug 16, 2016 – Aug 26, 2016 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board with
kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support is used, then we are getting below error -

----------------------------------------------------------------------------------

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add mesh 

interfaces

----------------------------------------------------------------------------------

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed.  If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

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

#1 lore raw

Hi Sridhar,

Looking at only the error, I can say that you need to load the ath10k driver with rawmode=1 parameter. Try the following commands in sequence:
(text following # are comments)

sudo modprobe -r ath10k_pci # unloads ath10k_pci
sudo modprobe -r ath10k_core # unloads ath10k_core
sudo modprobe ath10k_core rawmode=1 # loads back ath10k_core with rawmode=1 sudo modprobe ath10k_pci # loads back ath10k_pci

I am writing sudo assuming you are a sudoer and not root. You could also do it in an auto manner following [1]

Cheers,
Raj Joshi

[1] https://wiki.archlinux.org/index.php/kernel_modules#Using_files_in_.2Fetc.2Fmodprobe.d.2F

Quoted 50 lines · Sridhar Kondabathini

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board with
kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support is used, then we are getting below error -

----------------------------------------------------------------------------------

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add mesh

interfaces

----------------------------------------------------------------------------------

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

Quoted 4 lines

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

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

#2 lore raw
In reply to Sridhar Kondabathini

Hi
Which firmware version are you using now?
I think "RAW" mode is disabled after firmware 10.4 no matter CT firmware or official firmware. if you are using firmware 10.2, you might need to add rawmode=1 while insmod ath10k_core.ko

Thanks

Sridhar Kondabathini 於 2016/8/16 下午 12:06 寫道:

Quoted 49 lines

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board with
kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support is used, then we are getting below error -

----------------------------------------------------------------------------------

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add mesh

interfaces

----------------------------------------------------------------------------------

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

Quoted 4 lines

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

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

#3 lore raw

Hi,
We are using firmware - fw 10.2.4.70.9-2. while inserting ath10k_core.ko,
ath10k_pci.ko, we are getting below info.

----------------------------------------------------------------------------------

root@t1024rdb:/dev/shm# insmod ath10k_core.ko
root@t1024rdb:/dev/shm# insmod ath10k_pci.ko
[ 8568.272054] ath10k_pci 0001:03:00.0: pci irq msi interrupts 1 irq_mode 0 
reset_mode 0
root@t1024rdb:/dev/shm# [ 8569.675804] ath10k_pci 0001:03:00.0: qca988x hw2.0 
(0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.9-2 fwapi 5 bdapi 1 htt-ver 2.1 
wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode
[ 8569.694974] ath10k_pci 0001:03:00.0: debug 0 debugfs 0 tracing 0 dfs 1 testmode 0

----------------------------------------------------------------------------------

How to set rawmode=1 while inserting the ath10k module. Can you please help on this.

Regards,

Sridhar

On Tue, 16 Aug 2016 12:21:48 +0800, Horse wrote

Quoted 7 lines

Hi
Which firmware version are you using now?
I think "RAW" mode is disabled after firmware 10.4 no matter CT firmware or official firmware.
if you are using firmware 10.2, you might need to add rawmode=1 while insmod ath10k_core.ko

Quoted 9 lines

Thanks

Sridhar Kondabathini 於 2016/8/16 下午 12:06 寫道:

Quoted 6 lines

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board with
kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support is used, then we are getting below error -

--------------------------------------------------------------------------------

--

Quoted 10 lines
Quoted 10 lines

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Quoted 3 lines
Quoted 3 lines

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add 

mesh

Quoted 4 lines
Quoted 4 lines

interfaces

--------------------------------------------------------------------------------

--

Quoted 15 lines
Quoted 15 lines

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are not

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 7 lines
Quoted 7 lines

sender does not a

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed.  If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

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

#4 lore raw

Hi

Please try "insmod ath10k_core.ko rawmode=1"

Thanks

Sridhar Konabathini 於 2016/8/16 下午 12:52 寫道:

Quoted 117 lines

Hi,

    We are using firmware - fw 10.2.4.70.9-2. while inserting ath10k_core.ko,

ath10k_pci.ko, we are getting below info.

----------------------------------------------------------------------------------

root@t1024rdb:/dev/shm# insmod ath10k_core.ko
root@t1024rdb:/dev/shm# insmod ath10k_pci.ko
[ 8568.272054] ath10k_pci 0001:03:00.0: pci irq msi interrupts 1 irq_mode 0
reset_mode 0
root@t1024rdb:/dev/shm# [ 8569.675804] ath10k_pci 0001:03:00.0: qca988x hw2.0
(0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.9-2 fwapi 5 bdapi 1 htt-ver 2.1
wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode
[ 8569.694974] ath10k_pci 0001:03:00.0: debug 0 debugfs 0 tracing 0 dfs 1 testmode 0

----------------------------------------------------------------------------------

How to set rawmode=1 while inserting the ath10k module. Can you please help on this.

Regards,

Sridhar

On Tue, 16 Aug 2016 12:21:48 +0800, Horse wrote

Quoted 7 lines

Hi
Which firmware version are you using now?
I think "RAW" mode is disabled after firmware 10.4 no matter CT firmware or official firmware.
if you are using firmware 10.2, you might need to add rawmode=1 while insmod ath10k_core.ko

Quoted 9 lines

Thanks

Sridhar Kondabathini 於 2016/8/16 下午 12:06 寫道:

Quoted 6 lines

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board with
kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support is used, then we are getting below error -

--------------------------------------------------------------------------------

--

Quoted 9 lines
Quoted 9 lines

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Quoted 3 lines
Quoted 3 lines

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add

mesh

Quoted 4 lines
Quoted 4 lines

interfaces

--------------------------------------------------------------------------------

--

Quoted 14 lines
Quoted 14 lines

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are not

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 7 lines
Quoted 7 lines

sender does not a

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

Quoted 4 lines

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

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

#5 lore raw

Hi,
Thanks for your support, now we are able to bring up mesh interface.

But when we are trying to create a mesh point using wpa_supplicant, then we are getting error as too large mode (value=5 max_value=4)
---------------------------------------------------------------------------------

t1024rdb# wpa_supplicant -Dnl80211 -imesh0 -c /dev/shm/wpa_mesh0.conf

we are getting below error

Successfully initialized wpa_supplicant
Line 4: too large mode (value=5 max_value=4)
Line 4: failed to parse mode '5'.
Line 6: invalid key_mgmt 'SAE'
Line 6: no key_mgmt values configured.
Line 6: failed to parse key_mgmt 'SAE'.
Line 8: failed to parse network block.
Failed to read or parse configuration '/dev/shm/wpa_mesh0.conf'.
---------------------------------------------------------------------------------

t1024rdb# vi mesh0.conf

---------------------------------------------------------------------------------

# secure (SAE + AMPE) network
network={
        ssid="HAP-MESH"
        mode=5
        frequency=2432
        key_mgmt=SAE
        psk="cdot1234"
}
---------------------------------------------------------------------------------

How to resolve this issue, can you please help on this

Regards,
sridhar

On Tue, 16 Aug 2016 13:33:06 +0800, Horse wrote

Quoted 12 lines

Hi

Please try "insmod ath10k_core.ko rawmode=1"

Thanks

Sridhar Konabathini 於 2016/8/16 下午 12:52 寫道:

Quoted 5 lines

Hi,

    We are using firmware - fw 10.2.4.70.9-2. while inserting ath10k_core.ko,

ath10k_pci.ko, we are getting below info.

--------------------------------------------------------------------------------

--

Quoted 7 lines
Quoted 7 lines
root@t1024rdb:/dev/shm# insmod ath10k_core.ko
root@t1024rdb:/dev/shm# insmod ath10k_pci.ko
[ 8568.272054] ath10k_pci 0001:03:00.0: pci irq msi interrupts 1 irq_mode 0
reset_mode 0
root@t1024rdb:/dev/shm# [ 8569.675804] ath10k_pci 0001:03:00.0: qca988x hw2.0
(0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.9-2 fwapi 5 bdapi 1 htt-ver 

2.1

Quoted 2 lines
Quoted 2 lines

wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode

[ 8569.694974] ath10k_pci 0001:03:00.0: debug 0 debugfs 0 tracing 0 dfs 1 

testmode 0

Quoted 2 lines
Quoted 2 lines

--------------------------------------------------------------------------------

--

Quoted 2 lines
Quoted 2 lines

How to set rawmode=1 while inserting the ath10k module. Can you please help on

this.

Quoted 15 lines
Quoted 15 lines

Regards,

Sridhar

On Tue, 16 Aug 2016 12:21:48 +0800, Horse wrote

Quoted 7 lines

Hi
Which firmware version are you using now?
I think "RAW" mode is disabled after firmware 10.4 no matter CT firmware or official firmware.
if you are using firmware 10.2, you might need to add rawmode=1 while insmod ath10k_core.ko

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks

Sridhar Kondabathini 於 2016/8/16 下午 12:06 寫道:

Quoted 2 lines

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board

with

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support

is

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

used, then we are getting below error -

------------------------------------------------------------------------------

--

Quoted 10 lines
Quoted 10 lines

--

Quoted 9 lines
Quoted 9 lines

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add

mesh

Quoted 4 lines
Quoted 4 lines

interfaces

------------------------------------------------------------------------------

--

Quoted 15 lines
Quoted 15 lines

--

Quoted 14 lines
Quoted 14 lines

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are

not

Quoted 25 lines
Quoted 25 lines

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 7 lines
Quoted 7 lines

sender does not a

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are not

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 8 lines
Quoted 7 lines

sender does not a

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

Quoted 4 lines

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed.  If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

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

#6 lore raw
Quoted 6 lines · Sridhar Konabathini

Hi,
Thanks for your support, now we are able to bring up mesh interface.

But when we are trying to create a mesh point using wpa_supplicant, then we are getting error as too large mode (value=5 max_value=4)
---------------------------------------------------------------------------------

You probably need to compile in mesh support then.

CONFIG_MESH=y
CONFIG_SAE=y

Quoted 207 lines

t1024rdb# wpa_supplicant -Dnl80211 -imesh0 -c /dev/shm/wpa_mesh0.conf

we are getting below error

Successfully initialized wpa_supplicant
Line 4: too large mode (value=5 max_value=4)
Line 4: failed to parse mode '5'.
Line 6: invalid key_mgmt 'SAE'
Line 6: no key_mgmt values configured.
Line 6: failed to parse key_mgmt 'SAE'.
Line 8: failed to parse network block.
Failed to read or parse configuration '/dev/shm/wpa_mesh0.conf'.
---------------------------------------------------------------------------------

t1024rdb# vi mesh0.conf

---------------------------------------------------------------------------------

# secure (SAE + AMPE) network
network={
        ssid="HAP-MESH"
        mode=5
        frequency=2432
        key_mgmt=SAE
        psk="cdot1234"
}
---------------------------------------------------------------------------------

How to resolve this issue, can you please help on this

Regards,
sridhar

On Tue, 16 Aug 2016 13:33:06 +0800, Horse wrote

Quoted 12 lines

Hi

Please try "insmod ath10k_core.ko rawmode=1"

Thanks

Sridhar Konabathini 於 2016/8/16 下午 12:52 寫道:

Quoted 5 lines

Hi,

    We are using firmware - fw 10.2.4.70.9-2. while inserting ath10k_core.ko,

ath10k_pci.ko, we are getting below info.

--------------------------------------------------------------------------------

--

Quoted 7 lines
Quoted 7 lines
root@t1024rdb:/dev/shm# insmod ath10k_core.ko
root@t1024rdb:/dev/shm# insmod ath10k_pci.ko
[ 8568.272054] ath10k_pci 0001:03:00.0: pci irq msi interrupts 1 irq_mode 0
reset_mode 0
root@t1024rdb:/dev/shm# [ 8569.675804] ath10k_pci 0001:03:00.0: qca988x hw2.0
(0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.9-2 fwapi 5 bdapi 1 htt-ver 

2.1

Quoted 2 lines
Quoted 2 lines

wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode

[ 8569.694974] ath10k_pci 0001:03:00.0: debug 0 debugfs 0 tracing 0 dfs 1 

testmode 0

Quoted 2 lines
Quoted 2 lines

--------------------------------------------------------------------------------

--

Quoted 2 lines
Quoted 2 lines

How to set rawmode=1 while inserting the ath10k module. Can you please help on

this.

Quoted 15 lines
Quoted 15 lines

Regards,

Sridhar

On Tue, 16 Aug 2016 12:21:48 +0800, Horse wrote

Quoted 7 lines

Hi
Which firmware version are you using now?
I think "RAW" mode is disabled after firmware 10.4 no matter CT firmware or official firmware.
if you are using firmware 10.2, you might need to add rawmode=1 while insmod ath10k_core.ko

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks

Sridhar Kondabathini 於 2016/8/16 下午 12:06 寫道:

Quoted 2 lines

Hi,
When we are trying to bring up AP to add mesh interfaces on T1024 board

with

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

kernel-3.12; ath10k drivers backported from 4.4;hostapd 2.5 for 11AC support

is

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

used, then we are getting below error -

------------------------------------------------------------------------------

--

Quoted 10 lines
Quoted 10 lines

--

Quoted 9 lines
Quoted 9 lines

T1024# ifconfig mesh0

mesh0 Link encap:Ethernet HWaddr 04:f0:21:1b:7d:b6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

T1024# ifconfig mesh0 0.0.0.0 up

[ 8694.385554] ath10k_pci 0001:03:00.0: must load driver with rawmode=1 to add

mesh

Quoted 4 lines
Quoted 4 lines

interfaces

------------------------------------------------------------------------------

--

Quoted 15 lines
Quoted 15 lines

--

Quoted 14 lines
Quoted 14 lines

How to resolve this issue, can you please help on this.

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are

not

Quoted 25 lines
Quoted 25 lines

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 7 lines
Quoted 7 lines

sender does not a

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Quoted 3 lines
Quoted 3 lines

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended

solely

Quoted 2 lines
Quoted 2 lines

for
the use of the individual or entity to whom they are addressed. If you are not

the

Quoted 1 line
Quoted 1 line

intended recipient you are notified that disclosing, copying, distributing or

taking

Quoted 2 lines
Quoted 2 lines

any
action in reliance on the contents of this information is strictly prohibited.

The

Quoted 8 lines
Quoted 7 lines

sender does not a

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

Quoted 4 lines

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

Regards,

Sridhar Kondabathini,
Research engineer,
PSG lab,
Center for Development Of Telematics
9480484821.

Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. The sender does not a

Quoted 4 lines

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

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

#7 lore raw

re-send in plain text mode.

Quoted 6 lines
Quoted 6 lines

Please try  "insmod ath10k_core.ko rawmode=1"

I recommend you to use  FW version 10.2.4.70.12-2 or higher, so that you don't have to use raw mode. Main downside using raw mode is throughput throttled. You can get the ath10k firmware from https://github.com/kvalo/ath10k-firmware.

Peter

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

#8 lore raw

Speaking of rawmode and updated firmware, are QCA99X0 devices SOL as far as mesh support goes? 10.4.1.00030-1 is the latest firmware I can find for this hardware and it doesn't support neither raw mode, nor native 80211s.

Best regards,
Alexis

Quoted 11 lines · Peter Oh

re-send in plain text mode.

Quoted 6 lines
Quoted 6 lines

Please try "insmod ath10k_core.ko rawmode=1"

I recommend you to use FW version 10.2.4.70.12-2 or higher, so that you don't have to use raw mode. Main downside using raw mode is throughput throttled. You can get the ath10k firmware from https://github.com/kvalo/ath10k-firmware.

Quoted 7 lines

Peter

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

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

#9 lore raw

I was talking about QCA988X firmware and I don't think QCA99X0 has officially released firmware for mesh.

Thanks,
Peter

From: Alexis Green <[email protected]>
Sent: Monday, August 22, 2016 10:33 AM
To: Peter Oh
Cc: Pedersen, Thomas; Sridhar Konabathini; [email protected]; Raj Joshi; [email protected]; Horse
Subject: Re: Issue with ATH10K driver while bringing up mesh interface

Speaking of rawmode and updated firmware, are QCA99X0 devices SOL as
far as mesh support goes? 10.4.1.00030-1 is the latest firmware I can
find for this hardware and it doesn't support neither raw mode, nor
native 80211s.

Best regards,
Alexis

Quoted 9 lines · Peter Oh

re-send in plain text mode.

Quoted 6 lines
Quoted 6 lines

Please try  "insmod ath10k_core.ko rawmode=1"

I recommend you to use  FW version 10.2.4.70.12-2 or higher, so that you don't have to use raw mode. Main downside using raw mode is throughput throttled. You can get the ath10k firmware from https://github.com/kvalo/ath10k-firmware.

GitHub - kvalo/ath10k-firmware: Firmware files for ath10k ...
github.com
README.md ath10k-firmware. These are the latest firmware files for ath10k, a mac80211 driver for QCA988x, QCA6174, QCA99XX and similar. The official location to ...

Quoted 9 lines

Peter

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

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

#10 lore raw

Hi, Peter Oh

We are still required to load ath10k driver with rawmode=1 for mesh mode.

If the upcoming FW version (10.2.4.70.12-2) won't required this and also to achieve better throughput, I think that we should remove the lines of code that forces the raw mode requirement for mesh interface.

---
Chun-Yeow

Quoted 46 lines · Peter Oh

I was talking about QCA988X firmware and I don't think QCA99X0 has officially released firmware for mesh.

Thanks,
Peter

From: Alexis Green <[email protected]>
Sent: Monday, August 22, 2016 10:33 AM
To: Peter Oh
Cc: Pedersen, Thomas; Sridhar Konabathini; [email protected]; Raj Joshi; [email protected]; Horse
Subject: Re: Issue with ATH10K driver while bringing up mesh interface

Speaking of rawmode and updated firmware, are QCA99X0 devices SOL as far as mesh support goes? 10.4.1.00030-1 is the latest firmware I can find for this hardware and it doesn't support neither raw mode, nor native 80211s.

Best regards,
Alexis

Quoted 9 lines · Peter Oh

re-send in plain text mode.

Quoted 6 lines
Quoted 6 lines

Please try "insmod ath10k_core.ko rawmode=1"

I recommend you to use FW version 10.2.4.70.12-2 or higher, so that you don't have to use raw mode. Main downside using raw mode is throughput throttled. You can get the ath10k firmware from https://github.com/kvalo/ath10k-firmware.

GitHub - kvalo/ath10k-firmware: Firmware files for ath10k ...
github.com
README.md ath10k-firmware. These are the latest firmware files for ath10k, a mac80211 driver for QCA988x, QCA6174, QCA99XX and similar. The official location to ...

Quoted 9 lines

Peter

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

Quoted 4 lines

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

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