How to make wifi module works in AP mode in IMX6Quard

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make wifi module works in AP mode in IMX6Quard

2,014 Views
ivyliu
Contributor IV

Hi All,

I am very new to wireless.

I am working on Murata SN8000 module + IMX6Quad Sabre board in Linux.

I have already get the module work. I can see device wlan0.

Now, I am trying to make it work as an AP. But hostapd is not part of the filesystem.

I heard wpa_supplicant can work too.

But I could not get it work as an AP.

Could any one help me? 

Either how to cross-compile hostapd and dhcpd or how to make wpa_supplicant work as AP.

Thank you very much!

Best Regards,

Ivy 

Labels (4)
0 Kudos
4 Replies

782 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello liu,

   The following items are my advice for your application.

(1) Firmware for AP

don't forget load xxx_ap.bin file when loading a WIFI driver to your system.

(2) hostapd executive file

After compiling android source code, you should find hostapd file at path "system/bin", the file will be used to start AP service( see init.freescale.rc)

(3) About hostapd.conf

When you select WIFI access point in android WIFI setting, hostapd.conf file will be automatically created at path "data/misc/wifi/" by upper wifi application.

(4) Starting hostapd service

Android BSP for SabreSDP board supports WIFI ap, you can find corresponding commands in init.freescale.rc file.

(5) About wpa_supplicant.conf

You can search much valuable experience from internet, the following is an example.

interface=wlan0driver=nl80211ctrl_interface=/data/misc/wifi/hostapdssid=mySoftAP#wpa_passphrase=0123456789channel=6ieee80211n=1wpa=0#wpa=2rsn_pairwise=CCMPwpa_psk=20c7dff358c6481bd7278907adb988b8ca7217bc407674b18a59b5c7f81bcc09

-------------------------------------------------------------------------

Hope above advice is useful for you!
Best Regards,
Weidong
0 Kudos

782 Views
ivyliu
Contributor IV

Hi Wigros,

I am using Linux. 

DO you know which root filesystem has hostapd that I can download?

Thanks and Best Regards,

Ivy

0 Kudos

782 Views
vinodmaverickr0
Contributor IV

If hostapd is not part of your filesystem; then you need to create your own hostapd.conf file.

Follow these instruction

en/users/Documentation/hostapd - Linux Wireless 

After that you can varify it through

ifconfig wlan0 : When you will run this command you can see the Mode is set to Managed.

 

0 Kudos

782 Views
ivyliu
Contributor IV

Hi Vinod,

Thanks!

I will try to build it.

Best Regards,

Ivy

0 Kudos