AnsweredAssumed Answered

WiFi AP (Qualcomm QCA6132 chip) mode configuration issue in i.MX6 Linux 4.1.15

Question asked by Shabeer Badarudheen on Sep 28, 2016
Latest reply on Oct 5, 2016 by Shabeer Badarudheen

Hi,

 

We are facing issues while configure WiFi Access Point configuration in our custom board, client mode is working without any issue. Could any one help us to solve these issue?


System details:
Processor: i.MX6
WiFi Chipset : Qualcomm QCA6134
OS             : Freescale Linux 4.1.15

The command sequence i have used (using these commands we have configurd AP in i.MX6 and TIWI-BLE chip in 3.10.17):
 1. echo 1 > /proc/sys/net/ipv4/ip_forward                    
 2. ifconfig wlan0 192.168.0.1                                  
 3. hostapd --dd /etc/hostapd.conf                                              
 4. udhcpd /etc/udhcpd.conf  

hostapd debug log shows connect message, after some time it shows disconnect message. The complete hostapd log is also attached  
 
root@lytxlcflex4115:~# cat /etc/hostapd.conf
interface=wlan0
driver=nl80211
ssid=QCA6132_AP
channel=1
hw_mode=g

 

root@lytxlcflex4115:~# cat /etc/udhcpd.conf
# Sample udhcpd configuration file (/etc/udhcpd.conf)
# The start and end of the IP lease block
 start   192.168.0.20
 end    192.168.0.254
#The Interface that udhcpd will use
 interface wlan0
#Examples
 opt            dns             8.8.8.8         8.8.4.4
 option         subnet          255.255.255.0
 opt            router          192.168.0.1
 option         lease           864000
root@lytxlcflex4115:~#

 

hostapd log:
---------------------------------------------------------

 STA did not include WPS/RSN/WPA IE in (Re)AssocReq
  New STA
ap_sta_add: register ap_handle_timer timeout for 14:30:c6:8d:48:95 (300 seconds - ap_max_inactivity)
nl80211: Set STA flags - ifname=wlan0 addr=14:30:c6:8d:48:95 total_flags=0x0 flags_or=0x0 flags_and=0xfffffff1 authorized=0
wlan0: AP-STA-CONNECTED 14:30:c6:8d:48:95
wlan0: STA 14:30:c6:8d:48:95 RADIUS: starting accounting session 57E14891-00000004
IEEE 802.1X: Ignore STA - 802.1X not enabled or forced for WPS
hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for 14:30:c6:8d:48:95 (300 seconds - ap_max_inactivity)
nl80211: Event message available
nl80211: Drv Event 16 (NL80211_CMD_STOP_AP) received for wlan0
wlan0: Event INTERFACE_UNAVAILABLE (29) received
Interface wlan0 is unavailable -- stopped
nl80211: Event message available
nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan0
nl80211: Delete station 14:36:c6:a3:19:ea
wlan0: Event DISASSOC (1) received
wlan0: STA 14:36:c6:a3:19:ea IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED 14:36:c6:a3:19:ea

 

Thanks & Regards

Shabeer.

Original Attachment has been moved to: hostapd_log.txt.zip

Outcomes