I would like to ask wifi mesh support at imx8m evk platform w/ SD8987.
I set it like the following in the menuconfig.
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_SUPPORT=y
CONFIG_MAC80211_SUPPORT_UAP=y
CONFIG_MAC80211_SUPPORT_MESH=y
But, I did not find any mesh point at target evk board.
Could you explain how to enable wifi mesh point at imx8m evk platform ?
================================================================================
root@imx8mnevk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[59069.386690] wlan: Loading MWLAN driver !!!!
[59069.391414] wlan: woal_init_from_dev_tree !!!!
[59069.397172] wlan: Register to Bus Driver...
[59069.401557] vendor=0x02DF device=0x9149 class=0 function=1
[59069.407140] Attach moal handle ops, card interface type: 0x105
[59069.414871] SD8987: init module param from usr cfg
[59069.419710] card_type: SD8987, config block: 0
[59069.424196] cfg80211_wext=0xf
[59069.427188] max_vir_bss=1
[59069.429824] cal_data_cfg=none
[59069.432802] ps_mode = 1
[59069.435249] auto_ds = 1
[59069.437727] host_mlme=enable
[59069.440628] fw_name=nxp/sdiouart8987_combo_v0.bin
[59069.445362] SDIO: max_segs=128 max_seg_size=65535
[59069.450085] rx_work=1 cpu_num=4
[59069.453256] Attach mlan adapter operations.card_type is 0x105.
[59069.459427] wlan: Enable TX SG mode
[59069.462953] wlan: Enable RX SG mode
[59069.472543] Request firmware: nxp/sdiouart8987_combo_v0.bin
[59069.826132] Wlan: FW download over, firmwarelen=595196 downloaded 595196
[59070.698671] WLAN FW is active
[59070.701667] on_time is 59070701271625
[59070.752656] fw_cap_info=0x181d7f03, dev_cap_mask=0xffffffff
[59070.758288] max_p2p_conn = 8, max_sta_conn = 8
[59070.763059] SDIO rx aggr: 1 block_size=512
[59070.767246] wlan: Enable RX SG mode
[59070.770779] mpa_rx_buf_size=65280
[59070.808213] wlan: version = SD8987----16.92.21.p41.3-MM5X16322.p3-(FP92)
[59070.820054] wlan: Register to Bus Driver Done
[59070.824676] wlan: Driver loaded successfully
root@imx8mnevk:~#
root@imx8mnevk:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:04:9f:07:11:d8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 47276 bytes 2886032 (2.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 47276 bytes 2886032 (2.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
mlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 20:4e:f6:d7:b0:87 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
uap0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 20:4e:f6:d7:b1:87 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wfd0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 22:4e:f6:d7:b0:87 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@imx8mnevk:~# iw dev
phy#0
Interface wfd0
ifindex 5
wdev 0x3
addr 22:4e:f6:d7:b0:87
type managed
txpower 24.00 dBm
Interface uap0
ifindex 4
wdev 0x2
addr 20:4e:f6:d7:b1:87
type AP
txpower 24.00 dBm
Interface mlan0
ifindex 3
wdev 0x1
addr 20:4e:f6:d7:b0:87
type managed
txpower 24.00 dBm
root@imx8mnevk:~#
================================================================================
Best regards
Andy Lee