Enabling Access Point Mode on AzureWave AW-CM276NF with i.MX 8M Plus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enabling Access Point Mode on AzureWave AW-CM276NF with i.MX 8M Plus

1,451 Views
Niranjan123
Contributor III

Hello,

I am working on a project where one i.MX 8M Plus board acts as an Access Point (AP) and another acts as a Station (client). The goal is to share Wi-Fi credentials and files via direct Wi-Fi communication between the boards.

I have successfully brought up Wi-Fi on the boards using the steps described here:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-connect-to-a-Wi-Fi-network-on-i-M...

Steps Taken:

1.Configured /etc/hostapd.conf with the following settings:

interface=mlan0
driver=nl80211
ssid=MyAP
hw_mode=g
channel=6

2.Attempted to start hostapd using:

 hostapd -dd /etc/hostapd.conf

3.Observed the error messages mentioned below.

Niranjan123_0-1760175618821.png

 

Questions:

1.Is the nl80211 driver supported by the mwifiex driver for AP mode?
2.Are there any specific firmware or driver configurations required to enable AP mode on the AW-CM276NF?
3.Are there alternative tools or methods (e.g., mlanutl, hostapd_moal) recommended for configuring AP mode on this module?

Any guidance or suggestions would be greatly appreciated.

Thank you.

 

0 Kudos
Reply
7 Replies

1,372 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Niranjan123 ,

 

The document is just for you reference on how to use uap of 88W8997 on linux platform.

For wifi driver , it has been supported in i.MX8MP-EVK linux bsp.

you only need to run the following command to load wifi driver.

# modprobe moal mod_para=nxp/wifi_mod_para.conf

# ifconfig -a

you will see all interfaces of Wireless network. by default, you will see mlan0, uap0 & wfd0, they are STA, uAP & wifi directly interfaces.

[Note]

If you want to use other version of wifi driver, you can follow these command to get it from github.

--Driver

#git clone https://github.com/nxp-imx/mwifiex.git

#cd mwifiex

#git tag

Then linux kernel version will be listed, you can select the version higher than yours.

For example, select the driver version for kernel lf-6.12.20_2.0.0

#git checkout lf-6.12.20_2.0.0

Then build it to get mlan.ko & moal.ko, and copy them to your board.

--Firmware & parameter file

Then download firmware & wifi_mod_para.conf

#https://github.com/nxp-imx/imx-firmware/tree/lf-6.12.20_2.0.0/nxp

then copy firmware & wifi_mod_para.conf to /lib/firmware/nxp folder of your board.

--Loading driver

# insmod mlan.ko

# insmod moal.ko mod_para=nxp/wifi_mod_para.conf

parameter, drv_mode's default value is 7, that is (drv_mode=7), so 3 interfaces will be created under linux platform.

 

Thanks!

Reagards,

weidong

 

0 Kudos
Reply

1,328 Views
Niranjan123
Contributor III

Hi,

thank you for your reply. 

I have followed the steps mentioned in the document to configure the Access Point (uap0) on my i.MX8MP board. However, after starting hostapd, I am getting the following error, and the uap0 SSID is not visible on mobile or laptop

Niranjan123_0-1760437349199.png

I have built the mlan.ko and moal.ko modules from the NXP Wi-Fi driver source and copied them to the board.
When I try to insert them using insmod, I get:

Niranjan123_1-1760437919699.png

So, I am not sure whether the modules are correctly inserted or already loaded.
Could you please help me confirm if the driver modules are loaded properly and guide me on how to fix the hostapd error?

regards,
Niranjan 




Tags (1)
0 Kudos
Reply

1,295 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi @Niranjan123 ,

 

i.MX8MP-EVK DEMO image supports Wi-Fi driver, After you start i.MX8MP-EVK board,  you can run 

the command to load wifi driver.

# modprobe moal mod_para=nxp/wifi_mod_para.conf

# ifconfig -a

 

So you don't need to build driver manually and loaded it.

Please share the logs after running above commands.

 

Regards,

weidong

 

 

0 Kudos
Reply

1,288 Views
Niranjan123
Contributor III

Hi,

thank you for your reply.

Yes, the i.MX8MP-EVK demo image supports the Wi-Fi driver. After starting the i.MX8MP-EVK board, I am able to load the Wi-Fi driver using:

# modprobe moal mod_para=nxp/wifi_mod_para.conf

Niranjan123_0-1760511345205.png

# ifconfig -a

Niranjan123_1-1760511401796.png

The Wi-Fi on my board is working fine — it can connect to networks and ping successfully.

However, when I try to use the Wi-Fi as a host access point (uap0), it does not work. Could you please clarify whether the AW-CM276NF Wi-Fi module on the i.MX8MP-EVK board supports host access point (uap0) mode?

To enable host access point, I followed the steps in the document you shared:
88W8997-Software-Access-Point-Application-L5.4.70_2.3.0.pdf

When I run: systemctl start hostapd
I encounter the following error:

Niranjan123_2-1760512446192.png

Could you please guide me on how to properly configure and enable host access point (uap0) on the i.MX8MP-EVK board?

Regards,
niranjan

Tags (1)
0 Kudos
Reply

1,283 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Niranjan123 ,

 

>>Could you please clarify whether the AW-CM276NF Wi-Fi module on the i.MX8MP-EVK board supports host access point (uap0) mode?

Sure, AP mode has been supported. 

 

From your logs, your hostapd.conf file contains illegal characters, so hw_mode is not recognized. You need to ensure that your hostapd.conf is a plain text file.

Let me share mine with  you.

1. hostapd.conf

Please back up yours, the copy it to /etc/

2. udhcpd.conf

back up yours , then copy it to /etc

check if /etc/udhcpd.leases exists, if no, use "touch /etc/udhcpd.leases" to create it.

3.. Starting uap0

ifconfig uap0 192.168.6.1 netmask 255.255.255.0 up

# hostapd -d /etc/hostapd.conf -B

Then you can run "dmesg" to see if uap0 has been enabled.

4.. Starting udhcpd

# udhcpd -S /etc/udhcpd.conf &

 

last step , use your mobile to connect the uap0 , the SSID named '8997-uap0_2G'.

 

Try it, please!

 

Thanks!

Regards,

weidong

 

 

 

 

0 Kudos
Reply

1,390 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi @Niranjan123 ,

 

You can refer to the attached document to enable uap of 88W8997.

 

Regards,

weidong

1,379 Views
Niranjan123
Contributor III

Hi,

Thank you for your reply.

I have checked the Wi-Fi driver location mentioned on the NXP page:

Niranjan123_0-1760340481644.png

https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Wi-Fi-Software-Drivers-Locations/ta-p/1940604?....

 

Niranjan123_1-1760340642251.png

Niranjan123_2-1760340702609.png

 

Niranjan123_3-1760340797165.png

 

However, I’m unable to find the following directories in the source package:

  • bin_wlan

  • FwImage

Also, I couldn’t locate this specific driver package:

Generic_PCIE-WLAN-UART-BT-8997-LNX_6_1_55-IMX8-16.92.21.p84.4-16.92.21.p84.4-MM6X16423.P6-GPL

Because of this, I’m unable to proceed with the Wi-Fi Access Point (hostapd) configuration for the AzureWave AW-CM276NF (88W8997) module on the i.MX 8M Plus EVK.

Could you please help me with:

  1. The correct download link or package name for the Wi-Fi driver containing bin_wlan and FwImage.

  2. Steps or instructions to integrate it with the NXP Embedded Linux image (L5.4.70_2.3.0).

Thank you very much for your guidance and support.

Best regards,
Niranjan M



Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2184277%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEnabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184277%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20a%20project%20where%20%3CSTRONG%3Eone%20i.MX%208M%20Plus%20board%20acts%20as%20an%20Access%20Point%20(AP)%20%3C%2FSTRONG%3Eand%3CSTRONG%3E%20another%20acts%20as%20a%20Station%20(client).%3C%2FSTRONG%3E%20The%20goal%20is%20to%20share%20Wi-Fi%20credentials%20and%20files%20via%20direct%20Wi-Fi%20communication%20between%20the%20boards.%3C%2FP%3E%3CP%3EI%20have%20successfully%20brought%20up%20Wi-Fi%20on%20the%20boards%20using%20the%20steps%20described%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FHow-to-connect-to-a-Wi-Fi-network-on-i-MX8MP%2Fta-p%2F1376634%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FHow-to-connect-to-a-Wi-Fi-network-on-i-MX8MP%2Fta-p%2F1376634%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ESteps%20Taken%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E1.Configured%20%2Fetc%2Fhostapd.conf%20with%20the%20following%20settings%3A%3C%2FP%3E%3CP%3Einterface%3Dmlan0%3CBR%20%2F%3Edriver%3Dnl80211%3CBR%20%2F%3Essid%3DMyAP%3CBR%20%2F%3Ehw_mode%3Dg%3CBR%20%2F%3Echannel%3D6%3C%2FP%3E%3CP%3E2.Attempted%20to%20start%20hostapd%20using%3A%3C%2FP%3E%3CP%3E%26nbsp%3Bhostapd%20-dd%20%2Fetc%2Fhostapd.conf%3C%2FP%3E%3CP%3E3.Observed%20the%20error%20messages%20mentioned%20below.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_0-1760175618821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_0-1760175618821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360360i546240970FB81341%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_0-1760175618821.png%22%20alt%3D%22Niranjan123_0-1760175618821.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EQuestions%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E1.Is%20the%20nl80211%20driver%20supported%20by%20the%20%3CSTRONG%3Emwifiex%20driver%3C%2FSTRONG%3E%20for%20AP%20mode%3F%3CBR%20%2F%3E2.Are%20there%20any%20specific%20%3CSTRONG%3Efirmware%20or%20driver%20configurations%3C%2FSTRONG%3E%20required%20to%20enable%20AP%20mode%20on%20the%20AW-CM276NF%3F%3CBR%20%2F%3E3.Are%20there%20%3CSTRONG%3Ealternative%20tools%20or%20methods%3C%2FSTRONG%3E%20(e.g.%2C%20mlanutl%2C%20hostapd_moal)%20recommended%20for%20configuring%20AP%20mode%20on%20this%20module%3F%3C%2FP%3E%3CP%3EAny%20guidance%20or%20suggestions%20would%20be%20greatly%20appreciated.%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F244755%22%20target%3D%22_blank%22%3E%40Niranjan123%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%26gt%3B%26gt%3B%3CSPAN%3ECould%20you%20please%20clarify%20whether%20the%20AW-CM276NF%20Wi-Fi%20module%20on%20the%20i.MX8MP-EVK%20board%20supports%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Ehost%20access%20point%20(uap0)%20mode%3C%2FSTRONG%3E%3CSPAN%3E%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESure%2C%20AP%20mode%20has%20been%20supported.%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFrom%20your%20logs%2C%20your%20hostapd.conf%20file%20contains%20illegal%20characters%2C%20so%20hw_mode%20is%20not%20recognized.%20You%20need%20to%20ensure%20that%20your%20hostapd.conf%20is%20a%20plain%20text%20file.%3C%2FP%3E%0A%3CP%3ELet%20me%20share%20mine%20with%26nbsp%3B%20you.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E1.%20hostapd.conf%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EPlease%20back%20up%20yours%2C%20the%20copy%20it%20to%20%2Fetc%2F%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E2.%20udhcpd.conf%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3Eback%20up%20yours%20%2C%20then%20copy%20it%20to%20%2Fetc%3C%2FP%3E%0A%3CP%3Echeck%20if%26nbsp%3B%2Fetc%2Fudhcpd.leases%20exists%2C%20if%20no%2C%20use%20%22touch%20%2Fetc%2Fudhcpd.leases%22%20to%20create%20it.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E3..%20Starting%20uap0%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%23%26nbsp%3B%3CSPAN%3Eifconfig%3C%2FSPAN%3E%20%3CSPAN%3Euap0%3C%2FSPAN%3E%20%3CSPAN%3E192.168.6.1%3C%2FSPAN%3E%20%3CSPAN%3Enetmask%3C%2FSPAN%3E%20%3CSPAN%3E255.255.255.0%3C%2FSPAN%3E%20%3CSPAN%3Eup%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%23%26nbsp%3Bhostapd%20-d%20%2Fetc%2Fhostapd.conf%20-B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThen%20you%20can%20run%20%22dmesg%22%20to%20see%20if%20uap0%20has%20been%20enabled.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3E4..%20Starting%20udhcpd%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%23%26nbsp%3Budhcpd%20-S%20%2Fetc%2Fudhcpd.conf%20%26amp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3Elast%20step%20%2C%20use%20your%20mobile%20to%20connect%20the%20uap0%20%2C%20the%20SSID%20named%20'8997-uap0_2G'.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3ETry%20it%2C%20please!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eweidong%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3EYes%2C%20the%20i.MX8MP-EVK%20demo%20image%20supports%20the%20Wi-Fi%20driver.%20After%20starting%20the%20i.MX8MP-EVK%20board%2C%20I%20am%20able%20to%20load%20the%20Wi-Fi%20driver%20using%3A%3C%2FP%3E%3CP%3E%23%20modprobe%20moal%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_0-1760511345205.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_0-1760511345205.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360825i741F3B10923EB4C8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_0-1760511345205.png%22%20alt%3D%22Niranjan123_0-1760511345205.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%23%20ifconfig%20-a%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_1-1760511401796.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_1-1760511401796.png%22%20style%3D%22width%3A%20369px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360826i1DD8067B77DE0C95%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_1-1760511401796.png%22%20alt%3D%22Niranjan123_1-1760511401796.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20Wi-Fi%20on%20my%20board%20is%20working%20fine%20%E2%80%94%20it%20can%20connect%20to%20networks%20and%20ping%20successfully.%3C%2FP%3E%3CP%3EHowever%2C%20when%20I%20try%20to%20use%20the%20Wi-Fi%20as%20a%20%3CSTRONG%3Ehost%20access%20point%20(uap0)%3C%2FSTRONG%3E%2C%20it%20does%20not%20work.%20Could%20you%20please%20clarify%20whether%20the%20AW-CM276NF%20Wi-Fi%20module%20on%20the%20i.MX8MP-EVK%20board%20supports%20%3CSTRONG%3Ehost%20access%20point%20(uap0)%20mode%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CP%3ETo%20enable%20host%20access%20point%2C%20I%20followed%20the%20steps%20in%20the%20document%20you%20shared%3A%3CBR%20%2F%3E%3CEM%3E88W8997-Software-Access-Point-Application-L5.4.70_2.3.0.pdf%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20I%20run%3A%26nbsp%3Bsystemctl%20start%20hostapd%3CBR%20%2F%3EI%20encounter%20the%20following%20error%3A%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_2-1760512446192.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_2-1760512446192.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360842iC8748C18C00D06A2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_2-1760512446192.png%22%20alt%3D%22Niranjan123_2-1760512446192.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20guide%20me%20on%20how%20to%20properly%20configure%20and%20enable%20%3CSTRONG%3Ehost%20access%20point%20(uap0)%3C%2FSTRONG%3E%20on%20the%20i.MX8MP-EVK%20board%3F%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3Eniranjan%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F244755%22%20target%3D%22_blank%22%3E%40Niranjan123%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3Ei.MX8MP-EVK%20DEMO%20image%20supports%20Wi-Fi%20driver%2C%20After%20you%20start%20i.MX8MP-EVK%20board%2C%26nbsp%3B%20you%20can%20run%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethe%20command%20to%20load%20wifi%20driver.%3C%2FP%3E%0A%3CP%3E%23%20modprobe%20moal%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FP%3E%0A%3CP%3E%23%20ifconfig%20-a%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%20you%20don't%20need%20to%20build%20driver%20manually%20and%20loaded%20it.%3C%2FP%3E%0A%3CP%3EPlease%20share%20the%20logs%20after%20running%20above%20commands.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3Eweidong%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2185683%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185683%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20reply.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20followed%20the%20steps%20mentioned%20in%20the%20document%20to%20configure%20the%20Access%20Point%20(uap0)%20on%20my%20i.MX8MP%20board.%20However%2C%20after%20starting%20hostapd%2C%20I%20am%20getting%20the%20following%20error%2C%20and%20the%20uap0%20SSID%20is%20not%20visible%20on%20mobile%20or%20laptop%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_0-1760437349199.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_0-1760437349199.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360687iF457F2B54B8F6B36%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_0-1760437349199.png%22%20alt%3D%22Niranjan123_0-1760437349199.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20built%20the%20mlan.ko%20and%20moal.ko%20modules%20from%20the%20NXP%20Wi-Fi%20driver%20source%20and%20copied%20them%20to%20the%20board.%3CBR%20%2F%3EWhen%20I%20try%20to%20insert%20them%20using%20insmod%2C%20I%20get%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_1-1760437919699.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_1-1760437919699.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360690i7932E83577242D2C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_1-1760437919699.png%22%20alt%3D%22Niranjan123_1-1760437919699.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESo%2C%20I%20am%20not%20sure%20whether%20the%20modules%20are%20correctly%20inserted%20or%20already%20loaded.%3CBR%20%2F%3ECould%20you%20please%20help%20me%20confirm%20if%20the%20driver%20modules%20are%20loaded%20properly%20and%20guide%20me%20on%20how%20to%20fix%20the%20hostapd%20error%3F%3CBR%20%2F%3E%3CBR%20%2F%3Eregards%2C%3CBR%20%2F%3ENiranjan%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184641%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184641%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F244755%22%20target%3D%22_blank%22%3E%40Niranjan123%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20document%20is%20just%20for%20you%20reference%20on%20how%20to%20use%20uap%20of%2088W8997%20on%20linux%20platform.%3C%2FP%3E%0A%3CP%3EFor%20wifi%20driver%20%2C%20it%20has%20been%20supported%20in%20i.MX8MP-EVK%20linux%20bsp.%3C%2FP%3E%0A%3CP%3Eyou%20only%20need%20to%20run%20the%20following%20command%20to%20load%20wifi%20driver.%3C%2FP%3E%0A%3CP%3E%23%20modprobe%20moal%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FP%3E%0A%3CP%3E%23%20ifconfig%20-a%3C%2FP%3E%0A%3CP%3Eyou%20will%20see%20all%20interfaces%20of%20Wireless%20network.%20by%20default%2C%20you%20will%20see%20mlan0%2C%20uap0%20%26amp%3B%20wfd0%2C%20they%20are%20STA%2C%20uAP%20%26amp%3B%20wifi%20directly%20interfaces.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%5BNote%5D%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20use%20other%20version%20of%20wifi%20driver%2C%20you%20can%20follow%20these%20command%20to%20get%20it%20from%20github.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E--Driver%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%23git%20clone%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fmwifiex.git%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fmwifiex.git%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%23cd%20mwifiex%3C%2FP%3E%0A%3CP%3E%23git%20tag%3C%2FP%3E%0A%3CP%3EThen%20linux%20kernel%20version%20will%20be%20listed%2C%20you%20can%20select%20the%20version%20higher%20than%20yours.%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20select%20the%20driver%20version%20for%20kernel%20lf-6.12.20_2.0.0%3C%2FP%3E%0A%3CP%3E%23git%20checkout%20lf-6.12.20_2.0.0%3C%2FP%3E%0A%3CP%3EThen%20build%20it%20to%20get%20mlan.ko%20%26amp%3B%20moal.ko%2C%20and%20copy%20them%20to%20your%20board.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E--Firmware%20%26amp%3B%20parameter%20file%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThen%20download%20firmware%20%26amp%3B%20wifi_mod_para.conf%3C%2FP%3E%0A%3CP%3E%23%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Ftree%2Flf-6.12.20_2.0.0%2Fnxp%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Ftree%2Flf-6.12.20_2.0.0%2Fnxp%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Ethen%20copy%20firmware%20%26amp%3B%26nbsp%3Bwifi_mod_para.conf%20to%20%2Flib%2Ffirmware%2Fnxp%20folder%20of%20your%20board.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E--Loading%20driver%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%23%20insmod%20mlan.ko%3C%2FP%3E%0A%3CP%3E%23%20insmod%20moal.ko%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FP%3E%0A%3CP%3Eparameter%2C%20drv_mode's%20default%20value%20is%207%2C%20that%20is%20(drv_mode%3D7)%2C%20so%203%20interfaces%20will%20be%20created%20under%20linux%20platform.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3EReagards%2C%3C%2FP%3E%0A%3CP%3Eweidong%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EI%20have%20checked%20the%20Wi-Fi%20driver%20location%20mentioned%20on%20the%20NXP%20page%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_0-1760340481644.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_0-1760340481644.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360415iDB849F78DAC1E62A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_0-1760340481644.png%22%20alt%3D%22Niranjan123_0-1760340481644.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FWi-Fi-Bluetooth-802-15-4%2FWi-Fi-Software-Drivers-Locations%2Fta-p%2F1940604%3F_gl%3D1*cwbop2*_ga*MTA4ODgyMDE2OS4xNzYwMzMxNTAz*_ga_WM5LE0KMSH*czE3NjAzMzkxNTEkbzIkZzEkdDE3NjAzMzkxNzUkajM2JGwwJGg3NzUyNzk3ODE%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FWi-Fi-Bluetooth-802-15-4%2FWi-Fi-Software-Drivers-Locations%2Fta-p%2F1940604%3F_gl%3D1*cwbop2*_ga*MTA4ODgyMDE2OS4xNzYwMzMxNTAz*_ga_WM5LE0KMSH*czE3NjAzMzkxNTEkbzIkZzEkdDE3NjAzMzkxNzUkajM2JGwwJGg3NzUyNzk3ODE%3C%2FA%3E.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_1-1760340642251.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_1-1760340642251.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360416iBB2EA236ECF9239A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_1-1760340642251.png%22%20alt%3D%22Niranjan123_1-1760340642251.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_2-1760340702609.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_2-1760340702609.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360417iC5C5A926D7790D41%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_2-1760340702609.png%22%20alt%3D%22Niranjan123_2-1760340702609.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Niranjan123_3-1760340797165.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Niranjan123_3-1760340797165.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360418i0AAE050572D45A92%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Niranjan123_3-1760340797165.png%22%20alt%3D%22Niranjan123_3-1760340797165.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHowever%2C%20I%E2%80%99m%20unable%20to%20find%20the%20following%20directories%20in%20the%20source%20package%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3Ebin_wlan%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EFwImage%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAlso%2C%20I%20couldn%E2%80%99t%20locate%20this%20specific%20driver%20package%3A%3C%2FP%3E%3CP%3EGeneric_PCIE-WLAN-UART-BT-8997-LNX_6_1_55-IMX8-16.92.21.p84.4-16.92.21.p84.4-MM6X16423.P6-GPL%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBecause%20of%20this%2C%20I%E2%80%99m%20unable%20to%20proceed%20with%20the%20Wi-Fi%20Access%20Point%20(hostapd)%20configuration%20for%20the%20%3CSTRONG%3EAzureWave%20AW-CM276NF%20(88W8997)%3C%2FSTRONG%3E%20module%20on%20the%20%3CSTRONG%3Ei.MX%208M%20Plus%20EVK%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3ECould%20you%20please%20help%20me%20with%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3EThe%20correct%20download%20link%20or%20package%20name%20for%20the%20Wi-Fi%20driver%20containing%20bin_wlan%20and%20FwImage.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ESteps%20or%20instructions%20to%20integrate%20it%20with%20the%20NXP%20Embedded%20Linux%20image%20(L5.4.70_2.3.0).%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThank%20you%20very%20much%20for%20your%20guidance%20and%20support.%3C%2FP%3E%3CP%3EBest%20regards%2C%3CBR%20%2F%3E%3CSTRONG%3ENiranjan%20M%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184442%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20Access%20Point%20Mode%20on%20AzureWave%20AW-CM276NF%20with%20i.MX%208M%20Plus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184442%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F244755%22%20target%3D%22_blank%22%3E%40Niranjan123%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20can%20refer%20to%20the%20attached%20document%20to%20enable%20uap%20of%2088W8997.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3Eweidong%3C%2FP%3E%3C%2FLINGO-BODY%3E