On 05/04/2012 11:30 PM, Jonathan Bagg wrote: > On 12-05-03 01:15 AM, Kalle Valo wrote: >> >> That might be challenging. I think it's easier if you add debug messages >> and try to pinpoint where it is failing. For example >> ath6kl_cfg80211_change_iface() is a good place to start debugging. > > I tried again and it appears that sometimes (< 10 %) I can make > connections to the ath6kl in AP mode. What exactly happens when a connection fails? What client device are you using? > Just to rule out any issues with > my configs & tools, I setup a cw1200 sdio using the same software > stack. The cw1200 is working fine for me in AP mode and the output of > hostapd is richer. cw1200 is a mac80211 driver and the interface to user space is different compared to fullmac devices like ath6kl. That's why the log output is different. > Any clues from the ath6kl hostapd output? > > > --------hostapd output using ath6kl------- > > nl80211: Event message available > nl80211: New station d8:a2:5e:08:89:56 > nl80211: Assoc Req IEs - hexdump(len=55): 00 09 4e 31 35 30 2d 66 30 30 > 32 01 08 82 84 8b 96 24 30 48 6c 21 02 08 10 24 02 01 0e 32 04 0c 12 18 > 60 dd 09 00 10 18 02 00 00 01 00 00 dd 07 00 50 f2 02 00 01 00 > wlan0: Event ASSOC (0) received > wlan0: STA d8:a2:5e:08:89:56 IEEE 802.11: associated > STA did not include WPS/RSN/WPA IE in (Re)AssocReq > New STA > ap_sta_add: register ap_handle_timer timeout for d8:a2:5e:08:89:56 (300 > seconds - ap_max_inactivity) > wlan0: STA d8:a2:5e:08:89:56 RADIUS: starting accounting session > 00000B62-00000000 > IEEE 802.1X: Ignore STA - 802.1X not enabled or forced for WPS > hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for > d8:a2:5e:08:89:56 (300 seconds - ap_max_inactivity) > Sending OFFER of 192.168.5.80 > Sending OFFER of 192.168.5.80 > Sending ACK to 192.168.5.80 > Sending ACK to 192.168.5.80 > Sending ACK to 192.168.5.80 > random: Got 8/20 bytes from /dev/random > nl80211: Event message available Is this from a failing case? From a quick look I don't see anything wrong in the logs. What are the symptoms when the connection fails? Did you check that this isn't a higher level problem (wrong IP address etc)? Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html