Skip to contentSkip to conversation

2.6.28-rc6: still can't set up AP mode

ath9k-devel Tamas Selmeci 3 participants 4 messages Nov 25, 2008 – Dec 1, 2008

lore
Share & tools
lore
#0 lore raw

Hello all!

Today I again made a try with ath9k from linux-2.6.28-rc6 (and of course with wireless-testing cloned on 24-Nov-2008)

I'm using hostapd-0.6.6 (configured with nl80211), iw-0.9.6 and libnl-1.1.

With ath9k the station mode operates perfectly with both Ath5416 and Ath9160. The problem is the AP mode. By default, ath9k refuses to switch to AP mode, I suppose it is still under heavy development... but a patch found on
http://johannes.sipsolutions.net/patches/kernel/all/2008-10-28-08%3a33/
(008-allow-ap-vlan-modes.patch) makes is possible to switch to AP mode.

My hostapd configuration file is the following:
---------------------------------
interface=wlan0
driver=nl80211
hw_mode=g
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
ctrl_interface_group=0
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
dump_file=/tmp/hostapd.dump
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
ssid=uwc_ap wpa_psk=e757da617495f77f0a5b017c1d62eca6596adc36ab0955c5f6be7554b7a305d3
---------------------------------

And when running hostapd, it outputs:
---------------------------------
Configuration file: /tmp/dyncfg/hostapd.conf
Failed to update rate sets in kernel module
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 00:1d:0f:b0:0e:ac and ssid 'uwc_ap' Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver Could not set preamble for kernel driver
---------------------------------

Despite these, hostapd is still in the memory and running, but on my other PC the AP with the SSID can not be found.

My questions so far:
1) may I expect a working AP mode at the current state of ath9k? (I rememben formerly a few people reported that it works);
2) what am I doing wrong?
3) do I need CRDA? What is it good for at all (in a nuthsell) - links are also appreciated... The descriptions found in the tarball of CRDA and Linux wireless are not enough to make me understand what is it good for. I suspect that the lack of CRDA can cause that my new AP network cannot be seen.

Thanks,

Best regards,

Signature · 1 line
Tamas Selmeci
#1 lore raw
Quoted 2 lines · Tamas Selmeci

1) may I expect a working AP mode at the current state of ath9k? (I rememben formerly a few people reported that it works);

AP mode is under development, and getting it to work right now is not possible.

Sujith

#2 lore raw

[ath9k-devel] Possible Bug Caps lock flashing laptop frozen

All,
I was going to put in a long spiel here but I thought I would check the web first.
I found other people also have their laptops freeze with wireless issues
and the caps lock flashing. Most think it is heat or memory related.

However, I have only had this problem since using the wireless-testing kernel. So just a quick note, in case someone else has the same problem.

Brian

#3 lore raw

[ath9k-devel] Possible Bug Caps lock flashing laptop frozen

All

Quoted 4 lines · Brian

However, I have only had this problem since using the wireless-testing kernel. So just a quick note, in case someone else has the same problem.

While the above statement is true, there was one other change I made at the same time and that was to put the wireless N adapter in. I think this must use a bit more power and my laptop must have been marginal.
Anyway, read on the web that a possible solution was to remove the battery. Did this and I have been running for a couple of hours with no problems.
I even have my NX session running to control another machine which is also wireless. So the wireless is working great and the response time is instantaneous.

The other thing that has changed is that the adapter LEDs are now flashing, they were on solid before.

Brian