Unstable Wi-Fi connectivity (Laptops/iPhone/Android/WP7)

David Abdurachmanov cybaslt
Sun Jul 3 10:44:47 PDT 2011


Hi,
I am using Gumstix Overo Air/Fire modules. Overo WiFi solution is based on Wi2Wi [1] (based on Marvell 88W8686). The standard drivers (libertas) do not support AP/Master mode. I had to move libertas_tf (Libertas Thin Firmware). It does have modified Marvell firmware also. As I understand this driver is not fully implemented, but enough to work quite stable. Currently I included hostapd 7.0.3 into our custom distro.
I do tests with MacBook, iPhone 3G  and Ubuntu laptop. While I use the system I am very sure that 98% it's stable (2% I do get those problems too, very rare).
We do another tests in different location and we used different laptops, iPhone 3GS, Android, and WP7 phones. And we are having tons of problems. WiFi is very much unstable, especially with WP7, we noticed that response from our servers on WP7 takes a lot longer. Other than lat with laptops it had least problems, mostly none. I figured that it might be PSM (Power-Saving Mode), but I am not fully sure, e.g., my iPhone 3G works mostly flawlessly, the same is with Linux laptop with power management on.
Problems: Dropped connections, can't connect and complete freazeSolutions: Restarting hostapd or restarting of OS is requiredMost common messages:* deauthenticated due to inactivity* deauthenticated due to local deauth request* Could not add STA to kernel driver
I did some Googling, looked through bug tracks and found that people do have these problems, but there are no solutions that truly helps. Any thoughts?
Some debug messages from syslog:
2011-06-27T10:58:29.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 RADIUS: starting accounting session 4E084593-000000032011-06-27T10:58:29.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 WPA: pairwise key handshake completed (RSN)2011-06-27T10:58:30.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: associated (aid 1)2011-06-27T10:58:33.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: deauthenticated due to local deauth request2011-06-27T10:58:35.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: authenticated2011-06-27T10:58:35.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: associated (aid 1)2011-06-27T10:58:36.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 RADIUS: starting accounting session 4E084593-000000042011-06-27T10:58:36.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 WPA: pairwise key handshake completed (RSN)2011-06-27T10:58:37.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: authenticated2011-06-27T10:58:37.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: associated (aid 1)2011-06-27T10:58:40.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: deauthenticated due to local deauth request
2011-06-27T11:27:13.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: authenticated2011-06-27T11:27:13.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: associated (aid 2)2011-06-27T11:27:13.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: disassociated2011-06-27T11:27:13.000000+02:00 overo hostapd: wlan0: STA 78:ca:39:a5:3e:c9 IEEE 802.11: authenticated2011-06-27T11:27:14.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: deauthenticated due to inactivity2011-06-27T11:27:20.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: authenticated2011-06-27T11:27:20.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: associated (aid 2)2011-06-27T11:27:21.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: disassociated2011-06-27T11:27:22.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: deauthenticated due to inactivity2011-06-27T11:27:38.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: did not acknowledge authentication response
--- ANOTHER ---
2011-06-27T17:37:21.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: authenticated2011-06-27T17:37:26.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: authenticated2011-06-27T17:37:26.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: associated (aid 4)2011-06-27T17:37:29.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: deauthenticated due to local deauth request2011-06-27T17:37:34.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: did not acknowledge authentication response2011-06-27T17:37:35.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: associated (aid 4)2011-06-27T17:37:38.000000+02:00 overo hostapd: wlan0: STA 00:26:08:b0:01:8d IEEE 802.11: deauthenticated due to local deauth request2011-06-27T17:37:52.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: disassociated2011-06-27T17:37:53.000000+02:00 overo hostapd: wlan0: STA b4:07:f9:c9:f5:08 IEEE 802.11: deauthenticated due to inactivity
--- ANOTHER ---
2011-07-03T17:42:43.000000+02:00 overo hostapd: wlan0: STA 00:1b:63:04:29:ea IEEE 802.11: disassociated2011-07-03T17:42:44.000000+02:00 overo hostapd: wlan0: STA 00:1b:63:04:29:ea IEEE 802.11: deauthenticated due to inactivity2011-07-03T17:43:02.000000+02:00 overo hostapd: wlan0: STA 00:1b:63:04:29:ea IEEE 802.11: disassociated2011-07-03T17:43:03.000000+02:00 overo hostapd: wlan0: STA 00:1b:63:04:29:ea IEEE 802.11: deauthenticated due to inactivity2011-07-03T17:43:20.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: did not acknowledge authentication response2011-07-03T17:43:23.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: associated (aid 0)2011-07-03T17:43:23.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: Could not add STA to kernel driver2011-07-03T17:43:35.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: associated (aid 0)2011-07-03T17:43:35.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: Could not add STA to kernel driver2011-07-03T17:43:47.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: associated (aid 0)2011-07-03T17:43:47.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: Could not add STA to kernel driver2011-07-03T17:43:58.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: associated (aid 0)2011-07-03T17:43:58.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: Could not add STA to kernel driver2011-07-03T17:44:09.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: associated (aid 0)2011-07-03T17:44:09.000000+02:00 overo hostapd: wlan0: STA 00:25:d3:83:fa:7a IEEE 802.11: Could not add STA to kernel driver

hostapd.conf:interface=wlan0driver=nl80211ssid=<ssid>hw_mode=gchannel=11
wme_enabled=0wmm_enabled=0
own_ip_addr=10.2.2.11macaddr_acl=0auth_algs=1ignore_broadcast_ssid=0wpa=3wpa_passphrase=<pass>wpa_key_mgmt=WPA-PSKwpa_pairwise=TKIPrsn_pairwise=CCMP
logger_syslog=-1logger_syslog_level=2logger_stdout=-1logger_stdout_level=2

-david---[1] http://www.wi2wi.com/wireless.php 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110703/07afa826/attachment.htm 



More information about the Hostap mailing list