From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 8 18:11:05 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEE4D1065670 for ; Mon, 8 Aug 2011 18:11:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D59A8FC0A for ; Mon, 8 Aug 2011 18:11:05 +0000 (UTC) Received: by gxk28 with SMTP id 28so934103gxk.13 for ; Mon, 08 Aug 2011 11:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6+wcmqKTSyOl6CZTKN2zBLPLRuYGRepdzulsOBhK39M=; b=ZTKJbGyN/iPUX/BLjgyXKao26MH0pAPCwpMNFuE5QSiklMcV0TJlJhzSkEYE6zFBa6 AyYuIPGEhfbqlm4pK3inMUUV+g4suoIxh5CbArmOrKqPOrW+vZUfIk1CoW19AEwygMYI J5QaFCwOcwUZvAF9oAsvJxwScSR8JLBIatC8U= MIME-Version: 1.0 Received: by 10.150.72.23 with SMTP id u23mr5988346yba.443.1312827063051; Mon, 08 Aug 2011 11:11:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.26.14 with HTTP; Mon, 8 Aug 2011 11:11:03 -0700 (PDT) In-Reply-To: <1151152206.20110808220720@serebryakov.spb.ru> References: <1151152206.20110808220720@serebryakov.spb.ru> Date: Tue, 9 Aug 2011 02:11:03 +0800 X-Google-Sender-Auth: 3PeLMa2ae7yrEB1ypEV9e_1bbN4 Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Bad host-vased AP performace -- and qouple of questions about FreeBSD WiFi stack tuning X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2011 18:11:05 -0000 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 : > 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: 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 > > _______________________________________________ > 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" >