From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 31 15:01:44 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 12BE8CD for ; Wed, 31 Jul 2013 15:01:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 866C626DF for ; Wed, 31 Jul 2013 15:01:43 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id l18so696799wgh.23 for ; Wed, 31 Jul 2013 08:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=edjtaddPUZtIB/qPMlvvE1pbD5JGzaEBHcvcrjXXezs=; b=oCiNolRnX1K+wM01Gt9YbdA86e43vo78p3yf8FiOKz/XwsFowUIMUZeKhXXnkM2dh/ PUph/MKjU8lvQYDMFk6cntdDEGgdoMZjPd5+lqJRICCrM7OZAxYZo3mJ89WudjMr2fQe crjLeN2Yt2qyIMEotoUvtBzRaGqwMrmgGWdy3LYvhgUPwXzNRs0QFXqxvIenL/ONjG2o MHmFLj9d3ONmWSrfZi+71v/HEfyBXyHs97IoN/7leWNpsRe4Opb/Dq/oNOrXz+W2vlHN nL8PCE1sxT9w2iuoT3hG0I/Ft2OwV7duivT4d0fd2SX80Z/fkeQjS53lh56CalELgERi AN7A== MIME-Version: 1.0 X-Received: by 10.194.201.202 with SMTP id kc10mr10836647wjc.1.1375282901676; Wed, 31 Jul 2013 08:01:41 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Wed, 31 Jul 2013 08:01:41 -0700 (PDT) In-Reply-To: <001e01ce8df3$06377470$12a65d50$@info> References: <00b101ce8c8b$3db5f200$b921d600$@info> <000c01ce8d07$d10a6550$731f2ff0$@info> <001e01ce8df3$06377470$12a65d50$@info> Date: Wed, 31 Jul 2013 08:01:41 -0700 X-Google-Sender-Auth: zutj7nRZg3T-R6ORP14GrZcZCtM Message-ID: Subject: Re: Wifi rates From: Adrian Chadd To: Cedric GROSS Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Jul 2013 15:01:44 -0000 Hi, Let's merge some more stuff into -HEAD first. it's likely there's some RF configuration problem which we can dig into in more detail but I can't do it whilst we've got broken Intel 5100 support (as then MY laptop doesn't work!) I have a spectrum analyser and I'm not afraid to use it. -adrian On 31 July 2013 06:36, Cedric GROSS wrote: > Hello, > >> >> Right, there's HT elements in there, so it looks likely you properly >> negotiated HT. >> >> >> > And the amrr output : >> > Test kernel: wlan0: [00:24:d4:97:80:20] amrr_node_init: non-11n node >> > Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: nrates=0, initial rate >> 0 >> >> That's the initial "I don't know what you are yet" selection. >> >> > Test kernel: wlan0: [00:24:d4:97:80:20] amrr_node_init: 11n node Test >> > kernel: wlan0: [00:24:d4:97:80:20] AMRR: nrates=16, initial rate 128 >> >> Here it negotiated 11n. The initial rate is 0x80, so MCS 0. >> > > I made progress : > Jul 31 14:59:40 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 14:59:48 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 14:59:50 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 14:59:59 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 15:00:01 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 15:00:02 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=158, retrycnt=0 > Jul 31 15:00:02 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=255, retrycnt=0 > Jul 31 15:00:03 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=260, retrycnt=4 > Jul 31 15:00:03 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=160, retrycnt=0 > Jul 31 15:00:04 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=132, retrycnt=0 > Jul 31 15:00:04 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=213, retrycnt=0 > Jul 31 15:00:05 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=203, retrycnt=0 > Jul 31 15:00:05 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=214, retrycnt=0 > Jul 31 15:00:06 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=186, retrycnt=1 > Jul 31 15:00:06 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=216, retrycnt=2 > Jul 31 15:00:07 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=243, retrycnt=1 > Jul 31 15:00:08 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=185, retrycnt=0 > Jul 31 15:00:08 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=122, retrycnt=0 > Jul 31 15:00:09 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=133, retrycnt=0 > Jul 31 15:00:09 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=185, retrycnt=2 > Jul 31 15:00:10 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=165, retrycnt=0 > Jul 31 15:00:11 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=114, retrycnt=0 > Jul 31 15:00:28 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 15:00:29 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=227, retrycnt=0 > Jul 31 15:00:29 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=255, retrycnt=0 > Jul 31 15:00:30 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=241, retrycnt=0 > Jul 31 15:00:30 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=99, retrycnt=0 > Jul 31 15:00:31 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=199, retrycnt=0 > Jul 31 15:00:31 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=111, retrycnt=2 > Jul 31 15:00:32 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=171, retrycnt=0 > Jul 31 15:00:33 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=210, retrycnt=3 > Jul 31 15:00:33 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=122, retrycnt=1 > Jul 31 15:00:34 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=218, retrycnt=0 > Jul 31 15:00:35 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=95, retrycnt=1 > Jul 31 15:00:43 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=11, retrycnt=0 > Jul 31 15:00:44 Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: current rate > 15, txcnt=22, retrycnt=0 > Jul 31 15:01:56 Test kernel: wlan0: [60:36:dd:93:34:56] amrr_node_init: > non-11n node > Jul 31 15:01:56 Test kernel: wlan0: [60:36:dd:93:34:56] AMRR: nrates=0, > initial rate 0 > > File transfer is still chaotic but start well. > I've done a TCP dump during transfer. It's seem that TCP window fill up and > it's why transfer stop and speed going down. > Sometime transfer restart, sometime just hang. > > Just to be sure: window size value in TCP packet is the window size > available from emitter ? > >> >> >> -adrian > > Cedric >