Skip to contentSkip to conversation

Hostapd+WMM causes packet loss

ath9k-devel Rasto Sramek 1 participant 1 message Aug 27, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 12 lines · Sujith Manoharan
Quoted 10 lines · Rasto Sramek

I'm attaching the log from start to the problem. There is nothing actually at the time of the problems apart from 1377499227.634542: Add randomness: count=699 entropy=585 messages.

Earlier on it says it switched channels because secondary contains another BSS.

1377499191.630232: nl80211: Set freq 5220 (ht_enabled=1 sec_channel_offset=1)
1377499191.630352: Failed to update rate sets in kernel module

Quoted 6 lines

This is the only message that is a bit suspicious. Can you try with latest hostapd.git ? Also, make sure that background scan is not enabled
on the clients.

Sujith

I compiled hostapd from git and the problem is subjectively worse, typical iperf:

[  3]  0.0- 0.5 sec   128 KBytes  2.10 Mbits/sec
[  3]  0.5- 1.0 sec  0.00 Bytes  0.00 bits/sec
[  3]  1.0- 1.5 sec  1.00 MBytes  16.8 Mbits/sec
[  3]  1.5- 2.0 sec  2.62 MBytes  44.0 Mbits/sec
[  3]  2.0- 2.5 sec   384 KBytes  6.29 Mbits/sec
[  3]  2.5- 3.0 sec  0.00 Bytes  0.00 bits/sec
[  3]  3.0- 3.5 sec  0.00 Bytes  0.00 bits/sec
[  3]  3.5- 4.0 sec  0.00 Bytes  0.00 bits/sec

It did not seem immediately obvious how to disable background scans, I will look into that.

Rasto