Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2011 02:11:03 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Bad host-vased AP performace -- and qouple of questions about FreeBSD WiFi stack tuning
Message-ID:  <CAJ-VmomMh4uvyJGHHkGsi5_C4p3ZJjRwadmstRVe4BjY76QzoA@mail.gmail.com>
In-Reply-To: <1151152206.20110808220720@serebryakov.spb.ru>
References:  <1151152206.20110808220720@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

To answer your questions (and ask one of my own):

Can you verify when "bad" and "good" performance occured? Can you
narrow it down to FreeBSD versions in particular?

1) It's hard to tell from the info you've given, please let me know
why/when it worked well some time ago. This is most important.
2) not sure, it's late and I'm not knee-deep in the beacon frame
format. But I bet it's ok?
3) txpower is in dBm units, based on what the card is supposed to be
putting out of the antenna socket, before antennas
4) RSSI is in "dB above noise floor".


Adrian

2011/8/9 Lev Serebryakov <lev@serebryakov.spb.ru>:
> Hello, Freebsd-wireless.
>
> =A0I have host-based AP, which is running FreeBSD 8.2-STABLE (i386) and
> equipped with Senao EMP 8602 Plus-S Mini-PCI WiFi card. It is Atheros
> 5413 based 600mW card:
>
> ath0: <Atheros 5413> mem 0xa0060000-0xa006ffff irq 15 at device 17.0 on p=
ci0
> ath0: [ITHREAD]
> ath0: AR5413 mac 10.4 RF5413 phy 6.1
>
> =A0I'm using it with 10dBi omnidirectional antenna in 802.11g (2.4Ghz)
> standard.
>
> =A0It worked well some time ago, but now its performance is horrible.
>
> =A0Main clients are Intel-based notebooks with Intel 3945ABG cards,
> Windows-based.
>
> =A0Typical "Real" (file copy) bandwidth with only one client active is
> 500-600KiB/s. Windows shows "Excellent" signal level and 54Mbit.
> InSSIDer (Windows-based WiFi monitoring software) shows RSSI between
> -50 and -40 (dBm)m but I can not trust it, as it shows some very
> distant APs with RSSI 100-120 (yes, +100 - +120), and it is nonsense.
>
> =A0I've bring additional notebook with Linux and Kismet installed.
> Kismet shows, that my AP oscillate between -80 and -40 dBm RSSI
> permanently, even if here is connected (and doenloading!) client
> connected. Signal level jumps up and down, and often Kismet receive
> frames with broken SSID (one-two chars are replaced by other).
>
> =A0"ifconfig wlan0 list sta" on AP shows something like this (running in
> cycle with "sleep 1", one client copy big file, 600-700KiB/s):
>
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 14.5 =A0 =A00 =A023084 =A03548=
8 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A018M 11.0 =A0 =A00 =A023612 =A03995=
2 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.5 =A0 =A00 =A024116 =A04432=
0 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.0 =A0 =A00 =A024688 =A04910=
4 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.0 =A0 =A00 =A025341 =A05472=
0 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.0 =A0 =A00 =A025813 =A05864=
0 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A054M 11.0 =A0 =A00 =A026092 =A06110=
4 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A054M 12.0 =A0 =A00 =A026782 =A0 142=
4 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A054M 14.0 =A0 =A00 =A027241 =A0 531=
2 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 14.0 =A0 =A00 =A027615 =A0 849=
6 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 12.5 =A0 =A00 =A027872 =A01076=
8 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 14.0 =A0 =A00 =A028302 =A01443=
2 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.5 =A0 =A00 =A028912 =A01960=
0 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A018M 14.0 =A0 =A00 =A029501 =A02462=
4 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.5 =A0 =A00 =A030305 =A03144=
0 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A024M 13.5 =A0 =A00 =A031971 =A04558=
4 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A036M 13.0 =A0 =A00 =A032429 =A04947=
2 EPS =A0AQE =A0 =A0 RSN WME
> 00:18:de:08:e8:1d =A0 =A01 =A0 =A09 =A011M 12.5 =A0 =A00 =A032758 =A05228=
8 EPS =A0AQE =A0 =A0 RSN WME
>
> =A0Also, tcpdump shows, that AP announce only speeds up to 18Mbit (tag
> number 1 in beacon frame, list of supported speeds -- 1, 2, 5.5, 11,
> 6, 9, 12, 18).
>
> =A0Here is my setting of AP:
>
> ifconfig_wlan0=3D"inet 192.168.135.1 netmask 255.255.255.0 mode 11g chann=
el 9 ssid home.serebryakov.spb.ru country ru regdomain row txpower 30"
>
> =A0So, Questions are:
>
> (1) Hopping signal strength and total terrible WiFi network
> =A0 =A0performance -- is it broken hardware or something strange in
> =A0 =A0FreeBSD code?
>
> (2) Why card announce only 18Mbit, but not more?
>
> (3) What "txpower" setting means? dBm is relative unit. My 600mW card
> =A0 =A0lists "30" as max, and simple notebook Intel card lists "30" as
> =A0 =A0max too. Is it relative to max power of card (100mW for standard
> =A0 =A0cards, 400-600-1000mW for high-power "procider-grade" cards from
> =A0 =A0Ubiquiti and other such wendors, like Senao) or 1W or 100mW or wha=
t?
> =A0 =A0Manual pages didn't give answer.
>
> (4) What units are uses for RSSI output in "ifconfig list sta"?
>
> --
> // Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomMh4uvyJGHHkGsi5_C4p3ZJjRwadmstRVe4BjY76QzoA>