Issue with ATH10K driver while bringing up mesh interface

Sridhar Konabathini sridhark at cdot.in
Tue Aug 16 02:23:09 PDT 2016


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
> Hi
> 
> Please try  "insmod ath10k_core.ko rawmode=1"
> 
> Thanks
> 
> Sridhar Konabathini 於 2016/8/16 下午 12:52 寫道:
> > 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 at t1024rdb:/dev/shm# insmod ath10k_core.ko
> > root at 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 at 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
> >> 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 寫道:
> >>> 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
> >>> ath10k at lists.infradead.org
> >>> 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
> > ath10k at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/ath10k
> 
> _______________________________________________
> ath10k mailing list
> ath10k at lists.infradead.org
> 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




More information about the ath10k mailing list