Error code when limiting number of stations in hostapd.

Ben Greear greearb
Fri Apr 5 10:55:27 PDT 2013


I set up hostapd to limit the number of stations to 1.

I was hoping this would give a 'code 17' response, but instead
it seems to be code 1 (unspecified failure).

Is this per design?

sta0 (phy #0): scan finished: 5180, ""
2013-04-05 10:53:11.343  1.3:  sta0: new station 00:fe:ad:0d:00:01
2013-04-05 10:53:11.355  1.3:  sta0: del station 00:fe:ad:0d:00:01
2013-04-05 10:53:11.357  1.3:  sta0 (phy #0): auth 00:fe:ad:0d:00:01 -> 00:ab:cd:ef:01:01 status: 1: Unspecified failure
2013-04-05 10:53:21.431  1.3:  sta0 (phy #0): scan started
2013-04-05 10:53:21.525  1.3:  sta0 (phy #0): scan finished: 5180, ""
2013-04-05 10:53:21.525  1.3:  sta0: new station 00:fe:ad:0d:00:01
2013-04-05 10:53:21.526  1.3:  sta0: del station 00:fe:ad:0d:00:01
2013-04-05 10:53:21.526  1.3:  sta0 (phy #0): auth 00:fe:ad:0d:00:01 -> 00:ab:cd:ef:01:01 status: 1: Unspecified failure
2013-04-05 10:53:31.586  1.3:  sta0 (phy #0): scan started

hostapd config file:

interface=vap1
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/home/lanforge/wifi/hostapd_vap1.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=ben-195-1a
bssid=00:fe:ad:0d:00:01
country_code=US
ieee80211d=0
hw_mode=a
ieee80211n=1
channel=36
beacon_int=240
dtim_period=2
max_num_sta=1
rts_threshold=2347
fragm_threshold=2346
preamble=0
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
# Enable HT modes if you want 300Mbps+ throughput.
#ht_capab=[HT20][HT40-][HT40+][GF][SHORT-GI-20][SHORT-GI-40]
#         [TX-STBC][RX-STBC123][MAX-AMSDU-7935][DSSS_CCK-40][PSMP][LSIG-TXOP-PROT]
ht_capab=[HT20][HT40+][SHORT-GI-40][SHORT-GI-20]
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ieee8021x=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1


Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Hostap mailing list