I try to set my imx8mn EVK wifi as AP mode with following commands, but it can not work. How to do it? Does imx8mn support this operation?
Are you using the onboard Wi-Fi module? The i.MX 8MNano EVK comes with the Murata 1MW module on board. If this is the case, you can refer to this link: https://community.murata.com/s/article/Problem-Need-to-Set-Up-Concurrent-STA-and-AP. It points to a Murata Technical forum blog on concurrent AP+STA operation. You can find the steps to set up an SoftAP there. Hope this helps.
one can try suggestions provided in sect.4.13.7 Configuring WLAN from User Space
and WiFi Manual from link: