how to set ht_capab of hostapd on ar928x + ath9k

Kanika Grover kanika.grover at gmail.com
Sat Apr 2 12:39:10 EDT 2011


Hello,
*
*I have ar928x wireless card with ath9k on working on fedora 14

my system information:
1.) Linux fedora 2.6.35.11-83.fc14.i686 #1 SMP Mon Feb 7 07:04:18 UTC 2011
i686 i686 i386 GNU/Linux
2.) Atheros Communications Inc. AR928X Wireless Network Adapter
(PCI-Express)

I had installed hostapd from the repository and it was working fine. But i
wanted to include the HT 40 so i added the following line to my
hostapd.conf:

ht_capab=[HT40-][SHORT-GI-40][
DSSS_CCK-40]

my complete /etc/hostapd/hostapd.conf is:

#ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_psk_file=/etc/hostapd/wpa_psk
driver=nl80211
interface=wlan0
bridge=eth0
hw_mode=g
ieee80211n=1
channel=11
ssid=STest
wmm_enabled=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]

Now, when I start hostapd; I get the following error:

Starting hostapd: /etc/hostapd/hostapd.confCould not set channel for kernel
driver

[root at fedora ~]# hostapd -v
hostapd v0.6.10
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2009, Jouni Malinen <j at w1.fi> and contributors

_________________________________________________________

Alternatively, I installed hostapd-0.7.3, the latest stable version and now
if i compile:

[root at fedora hostapd]# ./hostapd ./hostapd.conf
Configuration file: ./hostapd.conf
Line 373: unknown configuration item 'ieee80211n'
Line 408: unknown configuration item 'ht_capab'
2 errors found in configuration file './hostapd.conf'

Moreover, if I do hostapd -v; I still get the same result: hostapd v0.6.10


CAN SOMEBODY SUGGEST ME HOW TO INCLUDE ht_capab IN HOSTAPD AND WHICH VERSION
OF HOSTAPD WOULD ALLOW ME TO DO SO?

---
Thanks,
Kanika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110402/8fc15023/attachment.htm 


More information about the HostAP mailing list