AnsweredAssumed Answered

simultaneous wifi AP and sta mode

Question asked by Pt A R on Jun 26, 2014
Latest reply on Jun 26, 2014 by raymond wang

Hi Qiang Li - Mpu Se Wigros Sun Yixing Kong alejandrolozano Tony Zheng JackLee1z raymond wang

 

Development board: MCIMX28EVK

Linux-kernel version:2.6.35

Wifi Driver:- Marvell SD8787

 

Successfully booting from sd card and logged in as root( freescale login: root).

root@freescale


1.insmod mlan.ko

2.insmod sd8xxx.ko [drv_mode=3] [fw_name=mrvl/sd8787_uapsta.bin]


Station mode is configured and I am able to ping google.com by using the following commands

 

ifconfig mlan0 up

iwlist mlan0 scan

iwconfig mlan0 essid DTS_WORKSPACE

ping 192.168.2.1

udhcpc -f -q -n -i mlan0 udhcpc

ping google.com

 

But not able to ping after applying the ap configuration commands

 

ifconfig uap0 192.168.2.25 up

iwpriv uap0 start

iwpriv uap0 bssstart

udhcpd /etc/udhcpd.conf

 

The above commands are used to configure it as ap.

 

Do I have to use any additional commands ? Is hostapd necessary?

 

Regards

Parvathy

Outcomes