android - ath6kl: interface is not up for AP mode -


i have ar6003 chip on android 4.2.2 device. switched open source ath6kl driver, having issue getting access point running. actually, can, in weird way.

i using:

  • hostapd v2.0-devel-4.2.2
  • wpa_supplicant v2.0-devel-4.2.2

this how run hostapd service in init.rc:

   mkdir /data/misc/wifi/hostapd 0770 wifi wifi    chmod 0660 /data/misc/wifi/hostapd.conf  service hostapd /system/bin/hostapd -dd /data/misc/wifi/hostapd.conf     class main     socket hostapd_wlan0 dgram 660 root wifi     user root     group wifi     oneshot     disabled 

hostapd.conf file:

interface=wlan0 driver=nl80211 ctrl_interface=/data/misc/wifi/hostapd ssid=androidap channel=6 ieee80211n=1 

when enable wi-fi tethering option in android ui, checkbox checked, notification active tether no appearing , ap mode not working. android reports: https://gist.github.com/thewhisp/6176213

when ap mode in "semi-working" state, via adb shell manually start hostapd (with su permissions):

hostapd -dd /data/misc/wifi/hostapd.conf 

and ap mode working. when disable , re-enable it, gives errors wlan0 used , fails.

any idea why happens this? ;)


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -