From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 61AFF21F1A9 for ; Thu, 16 Jan 2014 07:38:52 -0800 (PST) Received: by mail-we0-f178.google.com with SMTP id t60so3280570wes.23 for ; Thu, 16 Jan 2014 07:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=f9HVPZmTwQLb3rM5UfdLB2ie3LQgKUTz1w/AYf3Idvc=; b=DGfPQ7Snf6VTqRTmylYhw4U+aGpmvYcpwziriFo9VGMHR68hdXDbCnBlYOhEwW5crJ k/0rWOiQ/YSZLdUaQHJ2iUTIFXT4msl/FoDiFuEDUnocXqC4IkAFqxLsUksDkIS6ZS3p gw03WP4+WF1K0chs1StQEXkC+RgyY6ZtgQvxNgyZYfeCxXvtQEnXRkoXzEoI5ZymGkbG DiLSXZIlLamnVO5eg76d7+8YFFlsuvEcWzgCTds212wUKwy3I/kBDpQ8yQqQ+Go9FLOK eaa3OQtYs0++9WbZN5fbeuQ6inx+4VCD9H3AMVVcD22DASpdY3IN32anjjVFlP/fly8L 0gmQ== X-Received: by 10.180.188.230 with SMTP id gd6mr8700933wic.15.1389886730214; Thu, 16 Jan 2014 07:38:50 -0800 (PST) Received: from ?IPv6:2001:470:6aac:2:611c:a26a:7820:aa97? ([2001:470:6aac:2:611c:a26a:7820:aa97]) by mx.google.com with ESMTPSA id eh7sm34257135wic.2.2014.01.16.07.38.48 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:38:49 -0800 (PST) Message-ID: <52D7FD04.2010608@gmail.com> Date: Thu, 16 Jan 2014 15:38:44 +0000 From: Robert Bradley User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cerowrt-devel@lists.bufferbloat.net References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/alternative; boundary="------------010201060500090405080707" Subject: Re: [Cerowrt-devel] Managed to break 802.11n (on a 3800) X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 15:39:11 -0000 This is a multi-part message in MIME format. --------------010201060500090405080707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 16/01/2014 15:03, Aaron Wood wrote: > All, > > I'm noting this here in case anyone is interested. After I write this > up, I'm going to start from scratch on the configuration, and > factory-reset the router. > > ===== > > The 5GHz radio on my 3800 seems to be in a very odd state. I'm not > quire sure what state it's in, but it seems to be only doing HT20 1x1. > And in a fairly broken manner at that. > > And here are radio blocks from the current /etc/config/wireless: > > config wifi-device 'radio1' > option type 'mac80211' > option macaddr '28:c6:8e:bb:9a:49' > list ht_capab 'SHORT-GI-40' > list ht_capab 'TX-STBC' > list ht_capab 'RX-STBC1' > list ht_capab 'DSSS_CCK-40' > option txpower '17' > option distance '25' > option channel '48' > option country 'US' That's interesting, since it's missing a few configuration options and seems to be still using the US country code for the 5 GHz interface. For what it's worth, my router's configuration looks like this (with the MAC address changed to match your configuration): config wifi-device 'radio1' option type 'mac80211' option channel '36' option hwmode '11na' option macaddr '28:c6:8e:bb:9a:49' list ht_capab 'SHORT-GI-40' list ht_capab 'TX-STBC' list ht_capab 'RX-STBC1' list ht_capab 'DSSS_CCK-40' option disabled '0' option txpower '17' option country 'GB' option htmode 'HT40+' I'm using channel 36 and HT40+ here at 17 dBm. This is also from a UK-based router, so you'll probably want to change the country code from GB to FR. I'm seeing about 270 Mb/s using Intel wireless (4965AGN) and Windows 7 about 2.5 m away from the router with those settings. > config wifi-device 'radio0' > option type 'mac80211' > option hwmode '11ng' > option macaddr '28:c6:8e:bb:9a:47' > option htmode 'HT20' > list ht_capab 'SHORT-GI-40' > list ht_capab 'TX-STBC' > list ht_capab 'RX-STBC1' > list ht_capab 'DSSS_CCK-40' > option txpower '26' > option country 'FR' > option distance '15' > option channel 'auto' > My settings for the 2.4 GHz side (deliberately limited to HT20 to avoid interference): config wifi-device 'radio0' option type 'mac80211' option hwmode '11ng' option macaddr '28:c6:8e:bb:9a:47' option htmode 'HT20' list ht_capab 'SHORT-GI-40' list ht_capab 'TX-STBC' list ht_capab 'RX-STBC1' list ht_capab 'DSSS_CCK-40' option disabled '0' option channel '1' option country 'GB' option txpower '20' This time I'm using channel 1 at 20 dBm. In both of these blocks I'm leaving the distance option unspecified. Hope this helps a bit! -- Robert Bradley --------------010201060500090405080707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 16/01/2014 15:03, Aaron Wood wrote:
All,

I'm noting this here in case anyone is interested.  After I write this up, I'm going to start from scratch on the configuration, and factory-reset the router.

=====

The 5GHz radio on my 3800 seems to be in a very odd state.  I'm not quire sure what state it's in, but it seems to be only doing HT20 1x1.  And in a fairly broken manner at that.


<snip>

And here are radio blocks from the current /etc/config/wireless:

config wifi-device 'radio1'
option type 'mac80211'
option macaddr '28:c6:8e:bb:9a:49'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option txpower '17'
option distance '25'
option channel '48'
option country 'US'

That's interesting, since it's missing a few configuration options and seems to be still using the US country code for the 5 GHz interface.  For what it's worth, my router's configuration looks like this (with the MAC address changed to match your configuration):

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '36'
        option hwmode '11na'
        option macaddr '28:c6:8e:bb:9a:49'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'
        option txpower '17'
        option country 'GB'
        option htmode 'HT40+'

I'm using channel 36 and HT40+ here at 17 dBm.  This is also from a UK-based router, so you'll probably want to change the country code from GB to FR.  I'm seeing about 270 Mb/s using Intel wireless (4965AGN) and Windows 7 about 2.5 m away from the router with those settings.

config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11ng'
option macaddr '28:c6:8e:bb:9a:47'
option htmode 'HT20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option txpower '26'
option country 'FR'
option distance '15'
option channel 'auto'


My settings for the 2.4 GHz side (deliberately limited to HT20 to avoid interference):

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11ng'
        option macaddr '28:c6:8e:bb:9a:47'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'
        option channel '1'
        option country 'GB'
        option txpower '20'

This time I'm using channel 1 at 20 dBm.  In both of these blocks I'm leaving the distance option unspecified.

Hope this helps a bit!
-- 
Robert Bradley
--------------010201060500090405080707--