How to set wifi(CYW43455) as AP mode in imx8mn EVK

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set wifi(CYW43455) as AP mode in imx8mn EVK

911 Views
JimmyYu
Contributor I

Hi ,

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?

 

root@imx8mnevk:~# 
root@imx8mnevk:~# iwconfig --help
Usage: iwconfig [interface]
                interface essid {NNN|any|on|off}
                interface mode {managed|ad-hoc|master|...}
                interface freq N.NNN[k|M|G]
                interface channel N
                interface bit {N[k|M|G]|auto|fixed}
                interface rate {N[k|M|G]|auto|fixed}
                interface enc {NNNN-NNNN|off}
                interface key {NNNN-NNNN|off}
                interface power {period N|timeout N|saving N|off}
                interface nickname NNN
                interface nwid {NN|on|off}
                interface ap {N|off|auto}
                interface txpower {NmW|NdBm|off|auto}
                interface sens N
                interface retry {limit N|lifetime N}
                interface rts {N|auto|fixed|off}
                interface frag {N|auto|fixed|off}
                interface modulation {11g|11a|CCK|OFDMg|...}
                interface commit 
       Check man pages for more details.
root@imx8mnevk:~# iwconfig wlan0
wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
root@imx8mnevk:~# iwconfig wlan0 mode ad-hoc
root@imx8mnevk:~# iwconfig wlan0
wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Ad-Hoc  Cell: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
root@imx8mnevk:~# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
 
 
0 Kudos
2 Replies

886 Views
romitchatterjee
Contributor V

Hi JimmyYu,

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.

Best regards

0 Kudos

906 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi JimmyYu

 

one can try suggestions provided in sect.4.13.7 Configuring WLAN from User Space

i.MX Linux Reference Manual​

and WiFi Manual from link:

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

 

Best regards
igor

0 Kudos