2015-02-20 17:24:45

by Mike Turner

[permalink] [raw]
Subject: Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

On Fri, Feb 20, 2015 at 5:16 PM, ap420073 . <[email protected]> wrote:
> can you tell me hostapd options and detailed situation?
> 2015-02-21 1:58 GMT+09:00 Mike Turner : > Taehee Yoo writes: > >> >>
> Sometimes rtl8192cu is not sending beacon frame. >> This patch fix this
> issue. >> >> Signed-off-by: Taehee Yoo > > > > Tried this and it doesn't
> help. Beacon transmission still isn't > consistent. Can hostapd have an
> effect on this? > > > -- > To unsubscribe from this list: send the line
> "unsubscribe linux-wireless" in > the body of a message to
> [email protected] > More majordomo info at
> http://vger.kernel.org/majordomo-info.html

hostapd.conf file here

interface=wlan0
driver=nl80211
channel=3
hw_mode=g
preamble=1
dtim_period=2
beacon_int=100
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 90 120 180 240
ssid=SSID_SETUP3
max_num_sta=5
macaddr_acl=0
auth_algs=3
ieee80211d=0
uapsd_advertisement_enabled=1
wep_rekey_period=0
own_ip_addr=127.0.0.1
wpa_group_rekey=0
wpa_strict_rekey=0
wpa_gmk_rekey=0
wpa_ptk_rekey=0
#ap_table_max_size=255
#ap_table_expiration_time=60
eap_server=1
disassoc_low_ack=1
ap_max_inactivity=4294967295

#WPA settings
#WPA algorithm used (WPA2 in this case)
wpa=2
#AP password
wpa_passphrase=Ssid_WIT
#WPA key mangement type
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
#encription algorithm
rsn_pairwise=CCMP

Hostapd version 1.0

Atmel ARM at91sam9g25 CPU on custom designed hardware using D-link
DWA-121 USB WiFi adaptor.

Test using '/etc/init.d/hostapd stop' and '/etc/init.d/hostapd start'
repeatedly.
Can get multiple working cycles before a failure, and can get multiple
failed cycles before correct transmission.


2015-02-23 14:15:35

by Mike Turner

[permalink] [raw]
Subject: Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

On Fri, Feb 20, 2015 at 6:47 PM, ap420073 . <[email protected]> wrote:
> hostapd 2.3 has no problem but i found problem that hostapd is not
> starting in hostapd 1.0.
>
> would you like to try testing hostapd 2.3?
>

Unfortunately v2.3 has the some problem. After a few cycles of
/etc/init.d/hostapd stop and start it sometimes stops sending the
beacon. Further cycles may or may not start sending beacons as per my
original posts.

2015-02-20 18:47:08

by Taehee Yoo

[permalink] [raw]
Subject: Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

hostapd 2.3 has no problem but i found problem that hostapd is not
starting in hostapd 1.0.

would you like to try testing hostapd 2.3?

2015-02-21 2:24 GMT+09:00 Mike Turner <[email protected]>:
> On Fri, Feb 20, 2015 at 5:16 PM, ap420073 . <[email protected]> wrote:
>> can you tell me hostapd options and detailed situation?
>> 2015-02-21 1:58 GMT+09:00 Mike Turner : > Taehee Yoo writes: > >> >>
>> Sometimes rtl8192cu is not sending beacon frame. >> This patch fix this
>> issue. >> >> Signed-off-by: Taehee Yoo > > > > Tried this and it doesn't
>> help. Beacon transmission still isn't > consistent. Can hostapd have an
>> effect on this? > > > -- > To unsubscribe from this list: send the line
>> "unsubscribe linux-wireless" in > the body of a message to
>> [email protected] > More majordomo info at
>> http://vger.kernel.org/majordomo-info.html
>
> hostapd.conf file here
>
> interface=wlan0
> driver=nl80211
> channel=3
> hw_mode=g
> preamble=1
> dtim_period=2
> beacon_int=100
> logger_syslog=-1
> logger_syslog_level=0
> logger_stdout=-1
> logger_stdout_level=0
> dump_file=/tmp/hostapd.dump
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
> supported_rates=60 90 120 180 240 360 480 540
> basic_rates=60 90 120 180 240
> ssid=SSID_SETUP3
> max_num_sta=5
> macaddr_acl=0
> auth_algs=3
> ieee80211d=0
> uapsd_advertisement_enabled=1
> wep_rekey_period=0
> own_ip_addr=127.0.0.1
> wpa_group_rekey=0
> wpa_strict_rekey=0
> wpa_gmk_rekey=0
> wpa_ptk_rekey=0
> #ap_table_max_size=255
> #ap_table_expiration_time=60
> eap_server=1
> disassoc_low_ack=1
> ap_max_inactivity=4294967295
>
> #WPA settings
> #WPA algorithm used (WPA2 in this case)
> wpa=2
> #AP password
> wpa_passphrase=Ssid_WIT
> #WPA key mangement type
> wpa_key_mgmt=WPA-PSK
> wpa_pairwise=TKIP
> #encription algorithm
> rsn_pairwise=CCMP
>
> Hostapd version 1.0
>
> Atmel ARM at91sam9g25 CPU on custom designed hardware using D-link
> DWA-121 USB WiFi adaptor.
>
> Test using '/etc/init.d/hostapd stop' and '/etc/init.d/hostapd start'
> repeatedly.
> Can get multiple working cycles before a failure, and can get multiple
> failed cycles before correct transmission.