From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 31 16:09:36 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 ESMTPS id 0C7303FE for ; Tue, 31 Dec 2013 16:09:36 +0000 (UTC) Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BD9CD1D39 for ; Tue, 31 Dec 2013 16:09:35 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id b4so12937015qen.1 for ; Tue, 31 Dec 2013 08:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=hwLatrNxB8pnH2fWThKWyFx5HxSuYWjDLwyKXb6YUAw=; b=Yg9AS8BQmAVr/jQMq9MlUzcbl88ZjY+gqm8X3FzMEJFdYf8aMkmANMCEzlAcrpK0a7 xkEcq10x1xpVzASvXWtt7S++5w30a64wnFrVBahxLT85rGZjg9bcwOGXx0pcU6neaMHb 4OROLwI26IPCNOgvHapVS3V0wnKlBbl+HyTiHtNLLxqo/GtoqiZJinrLNAeFK5SGTFeV dgD1VAxLO9gbMtJhBdSUhzuXYxThwBt9oZnSa5OJZVfYobpjcc89gLPAj2Yzlch7/xkl DnJ6xf3WNNWvm2MXnCGN79iJwSDM+48xtBEOLgyAabbJ84XS2HeKR85eXLwBEIShawl+ rMww== MIME-Version: 1.0 X-Received: by 10.49.34.207 with SMTP id b15mr122143665qej.49.1388506174978; Tue, 31 Dec 2013 08:09:34 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 31 Dec 2013 08:09:34 -0800 (PST) In-Reply-To: <52C29D2B.6050409@entel.upc.edu> References: <52C1D9E0.9020805@entel.upc.edu> <52C29D2B.6050409@entel.upc.edu> Date: Tue, 31 Dec 2013 08:09:34 -0800 X-Google-Sender-Auth: sxK-f5EEYFSUAS6vPMZGPwGyPho Message-ID: Subject: Re: Running hostapd with Atheros 11n From: Adrian Chadd To: =?ISO-8859-1?Q?Gustau_P=E9rez?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 31 Dec 2013 16:09:36 -0000 Compile your kernel with ATH_DEBUG, AH_DEBUG, ATH_DIAGAPI. Then compile up the tools in src/tools/tools/ath/ . athstats gives you hardware statistics. athsurvey will tell you how busy the air is. I bet you're on a very noisy channel. -a On 31 December 2013 02:32, Gustau P=E9rez wrote: > > On 30/12/2013 22:27, Adrian Chadd wrote: > > Hi, > > Please try 6:ht/20. It may be having issues with interference.. > > > Hi, > > tried with 6:ht/20 but performance is horrible. The machine running > hostapd reports this http://pastebin.com/aQD8Y2WD (still says 11g, wouldn= 't > it report 11n?). In the client I see this: http://pastebin.com/hiDtZbRV > > Running iperf between them reports about 6Mbit/s (which is quite low). > > Am I missing something? > > Greets, > > Gustau > > > > -a > > > On 30 December 2013 12:38, Gustau P=E9rez wrote: > > Hi, > > I've tried to run hostapd with an Atheros 5416 with 11n support (added > ATH_ENABLE_11N to my kernel config). I configured the AP with 6:ht/40 (I > guess the band width doesn't matter). > > All the 11n enabled clients (two nexus4 and an ipad3) I have but my > laptop are able to associate with the hostapd in 11n mode. The laptop > has an Intel Centrino Advanced-N 6205. > > The AP runs HEAD/r257872 (Nov 8) and the client runs HEAD/r258760 (Nov > 30), but updating the AP did not solve anything. > > Will updating to current head in the client solve the issue? The only > solution I've been able to use so far is forcing g mode in the AP. Doing > that allows the 6205 client to associate with the AP. > > Greets, > > Gustau > > -- > Salut i for=E7a, > > Gustau > > -------------------------------------------------------------------------= -- > Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting > Stop top-posting : http://en.wikipedia.org/wiki/Posting_style > > O O O Gustau P=E9rez i Querol > O O O Unitat de Gesti=F3 dels departaments > O O O Matem=E0tica Aplicada IV i Enginyeria Telem=E0tica > > Universitat Polit=E8cnica de Catalunya > Edifici C3 - Despatx S101-B > UPC Campus Nord UPC > C/ Jordi Girona, 1-3 > 08034 - Barcelona > > _______________________________________________ > 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" > > > -- > Salut i for=E7a, > > Gustau > > -------------------------------------------------------------------------= -- > Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting > Stop top-posting : http://en.wikipedia.org/wiki/Posting_style=09 > > O O O Gustau P=E9rez i Querol > O O O Unitat de Gesti=F3 dels departaments > O O O Matem=E0tica Aplicada IV i Enginyeria Telem=E0tica > > Universitat Polit=E8cnica de Catalunya > Edifici C3 - Despatx S101-B > UPC Campus Nord UPC > C/ Jordi Girona, 1-3 > 08034 - Barcelona