This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM4378: trying to get wifi mesh up on am4378 GP EVM

Part Number: AM4378
Other Parts Discussed in Thread: WL1837MODCOM8I

Tool/software: Linux

Hi,

I'm using TI processor SDK 05.03.00.07 (kernel 4.14)  for the AM437x. I have an AM437x GP EVM with a WL1837MODCOM8I board plugged into it. I'm trying to get wifi mesh up and running with no success.

I first tried it using the out of box pre-built binaries. It didn't work, got errors when I tried to execute the mesh_start.sh script. I read on the forums that we have to have CONFIG_MAC80211_MESH=1 set in our kernel config. I did that and rebuilt the kernel and modules.

After doing that I still get errors when I try to execute the mesh_start.sh script. I'm following the commands in section 5.1.2.3 of swaa166.

root@am437x-evm:/usr/share/wl18xx# sh mesh_start.sh
adding mesh0 interface
command failed: Operation not supported (-95)
Successfully initialized wpa_supplicant
Line 151: unknown global field 'max_peer_links=10'.
Line 151: Invalid configuration line 'max_peer_links=10'.
Line 156: unknown global field 'mesh_max_inactivity=30'.
Line 156: Invalid configuration line 'mesh_max_inactivity=30'.
Failed to read or parse configuration '/usr/share/wl18xx/mesh_supplicant.conf'.
command failed: No such file or directory (-2)
ifconfig: SIOCSIFADDR: No such device
root@am437x-evm:/usr/share/wl18xx#

Here's my kernel version

root@am437x-evm:/usr/share/wl18xx# uname -a
Linux am437x-evm 4.14.79-ge669d52447 #1 PREEMPT Thu Jun 13 11:41:05 PDT 2019 armv7l GNU/Linux
root@am437x-evm:/usr/share/wl18xx#

BTW, I can bring up the wlan0 interface in STA mode. Just cant get the mesh working.