From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 1 00:44:13 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 C20F8358 for ; Sun, 1 Dec 2013 00:44:13 +0000 (UTC) Received: from mail-qe0-x22c.google.com (mail-qe0-x22c.google.com [IPv6:2607:f8b0:400d:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81AA314CD for ; Sun, 1 Dec 2013 00:44:13 +0000 (UTC) Received: by mail-qe0-f44.google.com with SMTP id nd7so11094702qeb.17 for ; Sat, 30 Nov 2013 16:44:12 -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:content-type; bh=KupzpSAaIa4Aoft1DQ54MsByuuf/t7fHgtJYxU0bTEw=; b=cW25MTYeLr+LLoq7CwdQtubkKaQrr/2J45z6UqW1YEDd6m1WpSJ3i4S7mrnfYgZu26 VWDEeWCXWxBK6E3/pEYj2Klwr7vj0WXn5wmghAe39Sz1W5NKBEBwZu4uDTirjbA3VY6O YlncyKBCbpUXLcs2HEJnMwF1fWC+CgDsZRNGbvwjdmQgLZZPTAwUnYspQvameepSlULU +hxVgGuFzEYhf9YZpg+V2PeMcr4kfmNK2tyGcdIMHuXz9zbanu1dKORLNd7jZi37Tstt UT6fLmKKe7z1nylEX/xkTm8CALaUrVql/hwnmhihMCLGZXL+IM7mYWsv8sVaqaAR19GW LXXw== MIME-Version: 1.0 X-Received: by 10.49.24.211 with SMTP id w19mr28216708qef.9.1385858652783; Sat, 30 Nov 2013 16:44:12 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 30 Nov 2013 16:44:12 -0800 (PST) In-Reply-To: References: Date: Sat, 30 Nov 2013 16:44:12 -0800 X-Google-Sender-Auth: eHFVBlvby40hiUgF87IM8znYem8 Message-ID: Subject: Re: [iwn] scan fixes! From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 01 Dec 2013 00:44:13 -0000 On 30 November 2013 13:53, Adrian Chadd wrote: > Hi! > > Here's a bunch of scan fixes: > > http://people.freebsd.org/~adrian/iwn/20131130-iwn-scan-fixes-1.diff Please try: http://people.freebsd.org/~adrian/iwn/20131130-iwn-scan-fixes-2.diff This bumps the scan beacon interval count from 1 to 4, just to try and capture some more beacons during a scan. (ie, if there's a beacon timer programmed, then we set it to wait for 4 beacon intervals and up to 100 milliseconds before going to the next channel.) I needed to do this in order for 5GHz SSIDs to properly show up in my scan list once I was associated. I've tested this on the 5100 (11abgn), 2300 (11bgn) and 6200 (11abgn). I'll test others over the next few days. Please test it out! -a From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 1 11:31:05 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 4C41D734 for ; Sun, 1 Dec 2013 11:31:05 +0000 (UTC) Received: from nm11-vm2.access.bullet.mail.bf1.yahoo.com (nm11-vm2.access.bullet.mail.bf1.yahoo.com [216.109.114.225]) by mx1.freebsd.org (Postfix) with SMTP id E91C91FB8 for ; Sun, 1 Dec 2013 11:31:04 +0000 (UTC) Received: from [66.196.81.162] by nm11.access.bullet.mail.bf1.yahoo.com with NNFMP; 01 Dec 2013 11:25:12 -0000 Received: from [98.139.221.158] by tm8.access.bullet.mail.bf1.yahoo.com with NNFMP; 01 Dec 2013 11:25:12 -0000 Received: from [127.0.0.1] by smtp118.sbc.mail.bf1.yahoo.com with NNFMP; 01 Dec 2013 11:25:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1385897112; bh=1AfC492U/YqPxUVPt+f7/w9PkrNQgewx/+5RCxlh5NE=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:CC:Subject; b=g/NVpZkerbqHhNi5lxt+EvgLXYd0eRwCh65oXUzRphu8qa2JMB9q7e5MmFxEXGrREkRpe/hzhvB2dyfyyGBupESoLPkNGkpDYDg1UAjia6yvX7cO6Lmas6eNXf7NEdRI3Ac+sSnimkcFlUMGHgZTyo7BTTB7myJOZrWgdUnvBLU= X-Yahoo-Newman-Id: 580296.67686.bm@smtp118.sbc.mail.bf1.yahoo.com Message-ID: <580296.67686.bm@smtp118.sbc.mail.bf1.yahoo.com> Date: Sun, 1 Dec 2013 11:25:12 +0000 (UTC) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: yNsPnaYVM1kEJOBhmbtgQ21knLFBTEmSD38F4nf5dg86JU. FqhfGXsYXxXZYlU0g87HnpvbpcpNMU.y_uSEZxUQbDqUQYMIQxPmzuEogmRa 6VGjvzH_dYjfECbOVirInfU8S8WIxWi42Mbqf_0kBUeiIMTrg0C3O4a.reGL ZgPuJZGzkJ2xPzXkJaHqh.z8tkjixkdgb4fc_k_K.zJzVmIMEmbfV70DvRky bnArDLVNTA4um58qx6N2bA92KI.2iCBmcFt.U41ON.UPE1vFd8..fE.5vVfY R11Rf9n47fI5hLAAx_6GroObngE_ce._ZFri0AuPgXFfzlxjaJ0Zr5gprpmT ED3O_MsovV20cCuFefGW8o1OLlY8ZRLurvOVQmFmp.85LJ9D0VPfyz6dxtGr MC7RQgdRwCw6gpyFkgxDb.kGumVACA9OzKHKppROCOwD_Xsx3FaR9D3muy__ llPm8Y8UMxFOpRrRhyZ89HOwe4_JfBKl8lZQewUknMkijrNywWv02xdbGwUM kZoJ7GSbXW.B2sD5j3GmXXDtiHUIn3FeohXPTExtud_i4jGbSBJoB_.fDWpn m2bPPvWGiLOMTxfdc__0- X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@96.28.178.143 with ) by smtp118.sbc.mail.bf1.yahoo.com with SMTP; 01 Dec 2013 11:25:12 +0000 UTC From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: request for help: MFC net80211 fixes from -HEAD to -10 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 01 Dec 2013 11:31:05 -0000 from Adrian Chadd: > hi all, > I'd like a developer or two to organise the MFC of anything that's in > net80211 on -HEAD back to -10 before 10.0-REL. > There's a few critical fixes that need to go in but I just don't have > the time to do it myself. :( > Thanks! There are a couple things I could work on, if I knew where to start, one wireless (for AR9271) and wired (re or if_re on some newer motherboards including MSI Z77 MPOWER). Same FreeBSD re bug with this motherboard occurs in DragonFlyBSD 3.6.0, I downloaded images and wrote to USB sticks. I don't really want to work with DragonFlyBSD, since it can't access anything on my hard drive. Tom From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 1 17:24:04 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 D7F7BE92 for ; Sun, 1 Dec 2013 17:24:04 +0000 (UTC) Received: from mail.hemio.de (mail.hemio.de [176.9.40.240]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A9A410E4 for ; Sun, 1 Dec 2013 17:24:04 +0000 (UTC) Received: from bulldozer.local (p4FC24ADC.dip0.t-ipconnect.de [79.194.74.220]) by mail.hemio.de (Postfix) with ESMTPSA id 6DBA770 for ; Sun, 1 Dec 2013 18:15:03 +0100 (CET) Date: Sun, 1 Dec 2013 18:14:59 +0100 From: namor To: freebsd-wireless@freebsd.org Subject: FreeBSD - Intel 7260 Message-ID: <20131201171459.GA54266@bulldozer.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 01 Dec 2013 17:24:04 -0000 Hi there, what is the status of the Intel 7260 chip on FreeBSD? Are there any patches available that I could help test? Regards From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 1 18:34:41 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28D551F1 for ; Sun, 1 Dec 2013 18:34:41 +0000 (UTC) Received: from mail-qe0-x22f.google.com (mail-qe0-x22f.google.com [IPv6:2607:f8b0:400d:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DD2EF1446 for ; Sun, 1 Dec 2013 18:34:40 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id t7so12482511qeb.34 for ; Sun, 01 Dec 2013 10:34:40 -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; bh=KS1CsajyfDjN65xh1Br057UfahJF+E6lNyl30D4hui4=; b=s7oUkUCueZ82+VeVnEo7BQdVk/xSoSm4KqDIKgIsjYPAfo+KbvVeownSvVV4izMWx/ zcFU4rEYGnjtL4xrgMiSSKPHFcmyitjt4/FfocRdnTtyJsydlBbO3qs2o5nrGxoj7K3R b1AfkXFnMAVaEY02EVowrCQ4sGibbbrcJtjHAc/7EkyIWvpZGlw8/NWS7Ry4vAhQqqBL wyZ0JaU49bEIjvSpVxFUrE+bM7bn6LMs3FF2B2lWsfyqhfIlIHg0UmLrMocsvtYjL/Po Q6DGwh12MXC8srJZqeszuw+sBwoV+c15/Dhvf5lLb3MAWw5tg+MAXU1IpsgYEKKvtD46 dIHw== MIME-Version: 1.0 X-Received: by 10.224.64.196 with SMTP id f4mr71881796qai.55.1385922880025; Sun, 01 Dec 2013 10:34:40 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sun, 1 Dec 2013 10:34:39 -0800 (PST) In-Reply-To: <20131201171459.GA54266@bulldozer.local> References: <20131201171459.GA54266@bulldozer.local> Date: Sun, 1 Dec 2013 10:34:39 -0800 X-Google-Sender-Auth: Z0Qah94yCqMuAJ4ou_yVzs-yxOU Message-ID: Subject: Re: FreeBSD - Intel 7260 From: Adrian Chadd To: namor Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 01 Dec 2013 18:34:41 -0000 Hi, Nope. It requires a new driver be written. I have a 7260 here, but I'm still busy fixing bugs in iwn and net80211. Once those are done, I'll take a look at porting the 7260 driver from Linux. Thanks, -a On 1 December 2013 09:14, namor wrote: > Hi there, > > what is the status of the Intel 7260 chip on FreeBSD? > > Are there any patches available that I could help test? > > Regards > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 2 11:06:56 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 D6B59C27 for ; Mon, 2 Dec 2013 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A2EC21967 for ; Mon, 2 Dec 2013 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB2B6uvZ007924 for ; Mon, 2 Dec 2013 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB2B6uUk007922 for freebsd-wireless@FreeBSD.org; Mon, 2 Dec 2013 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Dec 2013 11:06:56 GMT Message-Id: <201312021106.rB2B6uUk007922@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Subject: Current problem reports assigned to 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: Mon, 02 Dec 2013 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/183759 wireless [iwn] [wlan] Interface dies, OACTIVE set on wlan0 o kern/183727 wireless [wlan] ENOBUFFS incorrectly returned when tx packet is o kern/183644 wireless [ath] [patch] ath(4) "stops" working o kern/183430 wireless [iwn] latest change to the rate code setup uses 11n ra o kern/183428 wireless [net80211] [iwn] Some APs seem to announce HT but no H o kern/181898 wireless [iwn] [patch] Centrino Advanced-N 6235 with latest iwn o kern/181694 wireless [iwn] [patch] Initialize hardware in iwn(4) resume cod o kern/181161 wireless [wl] config a old compaq wl-110 wireless card make ker o kern/181132 wireless [iwn] stream calculation is wrong for the Intel 4965 o kern/181100 wireless [bwi] Turning up bwi0 crashes / deadlocks the kernel o kern/180816 wireless [iwl] Intel Centrino Wireless-N 2200 not supported o kern/179847 wireless [ath] [patch] Update regdomain in ath drivers includin o kern/179709 wireless [ath] Atheros 5212 does not work: stuck beacon; resett o kern/179547 wireless [ath] Add AR9485 custom board fixes (CUS198) o kern/179482 wireless [ath] [patch] Fix AR9462 external LNA configuration o kern/179269 wireless [ath] [AR9285] RX antenna diversity is not functioning o kern/179232 wireless [ath] panic in ath o kern/178986 wireless [ath] Change mac address of ath(4) is not reflected wh o kern/178492 wireless [ath] ath0 (AR9287) panic o kern/178491 wireless [ath] ath0 (AR9287) stuck beacon o kern/178477 wireless [ath] missed beacon / soft reset in STA mode results i o kern/178470 wireless [panic][ath] bss vap can and does change o kern/178411 wireless [ral] [panic] FreeBSD kernel crash in rt2860 o kern/178379 wireless [net80211] [ath] WPA rekey on the STA side fails when o kern/178378 wireless [net80211] crypto state isn't reset during a reassocia o kern/178263 wireless [ath] review the use of ic_freq / ic_ieee / ic_flags / o kern/177847 wireless [ath] With TPC enabled, TX power values aren't clamped o kern/177846 wireless [ath] [net80211] net80211 TX power limit isn't correct o conf/177688 wireless WiFi regodmains information is inconsistent between "e o kern/177530 wireless [ath] ath driver isn't 32 bit int clean o kern/177465 wireless [iwn] 20%-100% packet loss with iwn driver o kern/177451 wireless [ieee80211] page fault in ieee80211_tx_mgt_timeout o kern/176238 wireless [ath] [patch] Correct buffer size calculation and simp o kern/176201 wireless [net80211] [patch] 11n station includes unrelated ht p o kern/176104 wireless [iwn] iwn0: iwn_intr: fatal firmware error o kern/175722 wireless [ath]lot of bad seriesx hwrate in kernel messages o kern/175446 wireless [ath] high volumes of PHY errors lead to BB/MAC hangs o kern/175227 wireless [ath] beacon timers aren't necessarily reprogrammed af o kern/175183 wireless [iwn] iwn(4) becomes unresponsive during initial confi o kern/175053 wireless [iwn] iwn firmware error on 9-stable with Ultimate-N 6 o kern/174891 wireless [ieee80211] struct ieee80211_node is freed during acti o kern/174722 wireless [wlan] can't use channel 12 and 13 (14) with my wifi i o kern/174661 wireless [wlan] lost alias on wlan interface o kern/174283 wireless [net80211] panics in ieee80211_ff_age() and ieee80211_ o kern/174276 wireless [ath] if_ath memory modified after free o kern/174273 wireless [net80211] taking down a net80211 node with active fas o kern/173917 wireless [iwn] wpa-supplicant issues on iwn o kern/173898 wireless [iwn] [patch] iwn(4) DOES support 6235 chip. o kern/173883 wireless [ath] ath0: unable to attach - pci issue? o kern/173711 wireless [ath] powerd kills ath on the Asus EeePC 1005HA o kern/173342 wireless PS-Poll isn't working o kern/173336 wireless [ath] Atheros card improper device poweroff handling o o kern/172955 wireless [ath] 11n does not work in adhoc mode o kern/172706 wireless [wpi] wpi0 fails to load firmware when using country o kern/172672 wireless [ubt] Bluetooth device recognised but not working o kern/172661 wireless hostapd(8) securing wireless adapter in HostAP mode is o kern/172338 wireless [ath] [net80211] CCMP IV transmit counters are not cor o kern/171598 wireless [ath] TP-Link TL-WN951N W-LAN PCI Adapter 300 MBit stu o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170889 wireless [ath] ath driver uses some uninitilized memory o kern/170620 wireless [ath] LOR and deadlock when multiple vaps are used o kern/170573 wireless [iwi] Intel 2200BG iwi NIC hangs with need multicast c o kern/170513 wireless [ath] ath logs: ath_tx_aggr_comp_aggr: AR5416 bug: o kern/170433 wireless [ath] TX hang after a stuck beacon message with active o kern/170411 wireless [ath] Uninitialized variables in if_ath.c o kern/170397 wireless [ath] [patch] Uninitialized variables in ah_eeprom_928 o kern/170302 wireless [ath] 802.11n frames are not being transmitted with mu o kern/170281 wireless [ath] 802.11n locks up on aggregation setup (ampdutx) o kern/170098 wireless [ath] [net80211] VAPs (Virtual access points) with Ath o kern/170066 wireless [ral] ral(4) rt61pci Linksys freezes the machine as so o kern/169432 wireless [ath] BAR TX hang when aggregation session is reset du p kern/169362 wireless [ath] AR5416: radar pulse PHY errors sometimes include o kern/169336 wireless [ath] ANI isn't triggering in a busy/noisy environment o kern/169199 wireless [ath] Cannot set up static ip addresses for wireless w o kern/169084 wireless [ath] suspend/resume doesn't cause a rescan; the assoc o kern/168530 wireless [ath] Broken WEP probably o kern/168393 wireless AR9285: suspend/resume sometimes fails o kern/168170 wireless [net80211] ieee80211_send_bar() doesn't complete corre o kern/167870 wireless [ath] adhoc wifi client does not join an existing IBSS o kern/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164721 wireless [ath] ath device timeouts o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153594 wireless [wlan] netif/devd race o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 wireless [ath] wireless networking stops functioning o kern/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o kern/144755 wireless [wlan] netif/devd race o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o kern/121061 wireless [ath] [panic] panic while ejecting ath(4)-adapter duri o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 183 problems total. From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 3 07:48:21 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27234845 for ; Tue, 3 Dec 2013 07:48:21 +0000 (UTC) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [216.168.135.167]) by mx1.freebsd.org (Postfix) with SMTP id C45281D3D for ; Tue, 3 Dec 2013 07:48:20 +0000 (UTC) Received: (qmail 28968 invoked by uid 1003); 3 Dec 2013 07:48:14 -0000 Received: from unknown (HELO kiwi.coupleofllamas.com) (tyler@monkeypox.org@173.239.70.2) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Dec 2013 07:48:10 -0000 Date: Mon, 2 Dec 2013 23:47:49 -0800 From: "R. Tyler Croy" To: freebsd-wireless@freebsd.org Subject: iwn(4) driver showing poor performance, variable media selection on 10.0-BETA3 Message-ID: <20131203074749.GE14900@kiwi.coupleofllamas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u5E4XgoOPWr4PD9E" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) 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, 03 Dec 2013 07:48:21 -0000 --u5E4XgoOPWr4PD9E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I recently installed FreeBSD 10.0-BETA3 onto my Thinkpad X200, everything is largely running fine except the wireless performance leaves a lot to be desired. I've got an older Thinkpad T43 running -CURRENT next to the X200 in the same exact room, same distance from the AP, but with an iwi(4) card in it. The T43 will download large files between 100-200KB/s, and the "media" mode for wlan0 is "OFDM/48Mbps" which seems non-crazy. The X200 however will get between 20-90KB/s on the same files, and the "media" mode will oscillate *dramatically* during the transfer. I've watched it go from OFDM/54Mbps, down to 48Mbps, to 16Mbps, to DS/1Mbps which is where it seems to idle. I've started looking at the output of wlanstats(1) and nothing jumps out at me, then again, I'm a noob so what do I know: [23:35:28] tyler:~ $ wlanstats 8 rx frame too short 30 rx from wrong bssid 802156 rx discard 'cuz dup 4 rx discard 'cuz mcast echo 172272 rx beacon frames 175177 rx element unknown 996 rx frame chan mismatch 61 rx seq# violation (TKIP) 42 active scans started 41 background scans started 1072961 tkip crypto done in s/w 405918 tkip tx MIC done in s/w 667043 tkip rx MIC done in s/w 173976 rx management frames 667045 total data frames received 663976 unicast data frames received 3069 multicast data frames received 406278 total data frames transmit 405920 unicast data frames sent 1M current transmit rate 22 current rssi -86 current noise floor (dBm) -64 current signal (dBm) The only thing that looks removely suspicious is the "rx discard" segment, but again, I plead noob. Any pointers would be useful and appreciated! - R. Tyler Croy ------------------ Code: https://github.com/rtyler Chatter: https://twitter.com/agentdero rtyler@jabber.org --u5E4XgoOPWr4PD9E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlKdjKQACgkQFCbH3D9R4W8BFQCgpRE8E1ap2s7mT0TsfBojkZ4/ RFEAn0HBhQLWQbtAiYcBchRrKw6sB+QI =hi6E -----END PGP SIGNATURE----- --u5E4XgoOPWr4PD9E-- From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 3 09:34:47 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0846AF98 for ; Tue, 3 Dec 2013 09:34:47 +0000 (UTC) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8D95130B for ; Tue, 3 Dec 2013 09:34:46 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id o15so5401952qap.11 for ; Tue, 03 Dec 2013 01:34:46 -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; bh=sNw82hoY9OQLnfD2LUl5dtPK0a9wqQpJNRIQK73kUTA=; b=ng+Q6a9W9HdjiyQ8Y190rtH7U9ncaqbIZurT1Ug8mG0E0+MZAo8IJ9p0YSILmz994/ UqZmDZD4DCQXehnDg2hCvsTRSHkn5qn817pPZsj6wXte0nK1ToExXBeDzM0rB6ByfoLL UwFrrYY3aboLLXpgm1SJRWmM97rOvC9efzZYLJzLypK53z0Pi8HejcWs0caebltJczkc bds/bLfpTSZiTRjoYpqvAQoXJIR7bbdW+QcdDsZag7QcIBleWhe6iPZkWn/lF+n/1MsY m9y6YDan5RtnWpIjLnw/c1DGHszNzBZXNnmD4ZMf3Q8WGgs8wN9s0kYrglOCBXCOCKB2 1WYA== MIME-Version: 1.0 X-Received: by 10.49.17.232 with SMTP id r8mr123323478qed.74.1386063285991; Tue, 03 Dec 2013 01:34:45 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 01:34:45 -0800 (PST) Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 01:34:45 -0800 (PST) In-Reply-To: <20131203074749.GE14900@kiwi.coupleofllamas.com> References: <20131203074749.GE14900@kiwi.coupleofllamas.com> Date: Tue, 3 Dec 2013 01:34:45 -0800 X-Google-Sender-Auth: xXNxtxSosyf_s6-1bubUsVMK8EM Message-ID: Subject: Re: iwn(4) driver showing poor performance, variable media selection on 10.0-BETA3 From: Adrian Chadd To: "R. Tyler Croy" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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, 03 Dec 2013 09:34:47 -0000 What's the pci id string? Pciconf -lv On Dec 2, 2013 11:48 PM, "R. Tyler Croy" wrote: > I recently installed FreeBSD 10.0-BETA3 onto my Thinkpad X200, everything > is > largely running fine except the wireless performance leaves a lot to be > desired. > > I've got an older Thinkpad T43 running -CURRENT next to the X200 in the > same > exact room, same distance from the AP, but with an iwi(4) card in it. > > The T43 will download large files between 100-200KB/s, and the "media" > mode for > wlan0 is "OFDM/48Mbps" which seems non-crazy. > > The X200 however will get between 20-90KB/s on the same files, and the > "media" > mode will oscillate *dramatically* during the transfer. I've watched it go > from > OFDM/54Mbps, down to 48Mbps, to 16Mbps, to DS/1Mbps which is where it > seems to > idle. > > I've started looking at the output of wlanstats(1) and nothing jumps out > at me, > then again, I'm a noob so what do I know: > > [23:35:28] tyler:~ $ wlanstats > 8 rx frame too short > 30 rx from wrong bssid > 802156 rx discard 'cuz dup > 4 rx discard 'cuz mcast echo > 172272 rx beacon frames > 175177 rx element unknown > 996 rx frame chan mismatch > 61 rx seq# violation (TKIP) > 42 active scans started > 41 background scans started > 1072961 tkip crypto done in s/w > 405918 tkip tx MIC done in s/w > 667043 tkip rx MIC done in s/w > 173976 rx management frames > 667045 total data frames received > 663976 unicast data frames received > 3069 multicast data frames received > 406278 total data frames transmit > 405920 unicast data frames sent > 1M current transmit rate > 22 current rssi > -86 current noise floor (dBm) > -64 current signal (dBm) > > The only thing that looks removely suspicious is the "rx discard" segment, > but > again, I plead noob. > > > Any pointers would be useful and appreciated! > > - R. Tyler Croy > ------------------ > Code: https://github.com/rtyler > Chatter: https://twitter.com/agentdero > rtyler@jabber.org > > From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 3 15:54:10 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 421192F5 for ; Tue, 3 Dec 2013 15:54:10 +0000 (UTC) Received: from starfish.geekisp.com (starfish.geekisp.com [216.168.135.166]) by mx1.freebsd.org (Postfix) with SMTP id D191B1DD1 for ; Tue, 3 Dec 2013 15:54:09 +0000 (UTC) Received: (qmail 9923 invoked by uid 1003); 3 Dec 2013 15:54:08 -0000 Received: from unknown (HELO kiwi.coupleofllamas.com) (tyler@monkeypox.org@173.239.70.2) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Dec 2013 15:54:08 -0000 Date: Tue, 3 Dec 2013 07:54:04 -0800 From: "R. Tyler Croy" To: Adrian Chadd Subject: Re: iwn(4) driver showing poor performance, variable media selection on 10.0-BETA3 Message-ID: <20131203155404.GG14900@kiwi.coupleofllamas.com> References: <20131203074749.GE14900@kiwi.coupleofllamas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yZnyZsPjQYjG7xG7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) 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, 03 Dec 2013 15:54:10 -0000 --yZnyZsPjQYjG7xG7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 03 Dec 2013, Adrian Chadd wrote: > What's the pci id string? Pciconf -lv iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x12118086 chip=3D0x42378086 re= v=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'PRO/Wireless 5100 AGN [Shiloh] Network Connection' class =3D network > On Dec 2, 2013 11:48 PM, "R. Tyler Croy" wrote: >=20 > > I recently installed FreeBSD 10.0-BETA3 onto my Thinkpad X200, everythi= ng > > is > > largely running fine except the wireless performance leaves a lot to be > > desired. > > > > I've got an older Thinkpad T43 running -CURRENT next to the X200 in the > > same > > exact room, same distance from the AP, but with an iwi(4) card in it. > > > > The T43 will download large files between 100-200KB/s, and the "media" > > mode for > > wlan0 is "OFDM/48Mbps" which seems non-crazy. > > > > The X200 however will get between 20-90KB/s on the same files, and the > > "media" > > mode will oscillate *dramatically* during the transfer. I've watched it= go > > from > > OFDM/54Mbps, down to 48Mbps, to 16Mbps, to DS/1Mbps which is where it > > seems to > > idle. > > > > I've started looking at the output of wlanstats(1) and nothing jumps out > > at me, > > then again, I'm a noob so what do I know: > > > > [23:35:28] tyler:~ $ wlanstats > > 8 rx frame too short > > 30 rx from wrong bssid > > 802156 rx discard 'cuz dup > > 4 rx discard 'cuz mcast echo > > 172272 rx beacon frames > > 175177 rx element unknown > > 996 rx frame chan mismatch > > 61 rx seq# violation (TKIP) > > 42 active scans started > > 41 background scans started > > 1072961 tkip crypto done in s/w > > 405918 tkip tx MIC done in s/w > > 667043 tkip rx MIC done in s/w > > 173976 rx management frames > > 667045 total data frames received > > 663976 unicast data frames received > > 3069 multicast data frames received > > 406278 total data frames transmit > > 405920 unicast data frames sent > > 1M current transmit rate > > 22 current rssi > > -86 current noise floor (dBm) > > -64 current signal (dBm) > > > > The only thing that looks removely suspicious is the "rx discard" segme= nt, > > but > > again, I plead noob. - R. Tyler Croy ------------------ Code: https://github.com/rtyler Chatter: https://twitter.com/agentdero rtyler@jabber.org --yZnyZsPjQYjG7xG7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlKd/poACgkQFCbH3D9R4W8QEwCeJbFXCp9xipgEmAcV3Cy+ruaz UMoAoIVJ5r6nEBEGhY4T1rpJBJLQaViB =fJ0O -----END PGP SIGNATURE----- --yZnyZsPjQYjG7xG7-- From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 3 15:57:48 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A3CB344 for ; Tue, 3 Dec 2013 15:57:48 +0000 (UTC) Received: from mail-qe0-x230.google.com (mail-qe0-x230.google.com [IPv6:2607:f8b0:400d:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08FCC1DEC for ; Tue, 3 Dec 2013 15:57:47 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id gc15so14750320qeb.21 for ; Tue, 03 Dec 2013 07:57:47 -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; bh=E7wsSMj/Tu8etEXsccRWsSKUu9uU+y7qBCXmKzwJccM=; b=EqhegdR9aRdXC1nlbHmAXE+s6YkEavnzbvJO5FoSd6dR3aizOV9ufY91+CdIk3em7c ayCiNki1SDcQdJ5aGXqg5kL60JDqgoKghYvjRJR8bFztUNFtC6Sbj/fanZpjpRX4pOZd z7NbewXYjq24OGdURCbVfyq33IOkMzhYGvLW9HRwJUkjYzNEB/XuofJHgG5DdEselu/j pDT1tPOmYuo1MSVOqoQkYjucOuVxLSQxnngathZgRhKGIkeHMTrpE49Rjrzl0oAI/6yP 0iHwhjBueypHR2NDFzs14OzN9y9nv1EfHRx/B5Pel/J/4oUmnMswGL59UqPWlqYDOmzC rqxg== MIME-Version: 1.0 X-Received: by 10.49.116.141 with SMTP id jw13mr125695281qeb.2.1386086267170; Tue, 03 Dec 2013 07:57:47 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 07:57:47 -0800 (PST) In-Reply-To: <20131203155404.GG14900@kiwi.coupleofllamas.com> References: <20131203074749.GE14900@kiwi.coupleofllamas.com> <20131203155404.GG14900@kiwi.coupleofllamas.com> Date: Tue, 3 Dec 2013 07:57:47 -0800 X-Google-Sender-Auth: GzUMlcLIn0t7ewwgaFXyqjIx1Ak Message-ID: Subject: Re: iwn(4) driver showing poor performance, variable media selection on 10.0-BETA3 From: Adrian Chadd To: "R. Tyler Croy" Content-Type: text/plain; charset=ISO-8859-1 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, 03 Dec 2013 15:57:48 -0000 On 3 December 2013 07:54, R. Tyler Croy wrote: > > On Tue, 03 Dec 2013, Adrian Chadd wrote: > >> What's the pci id string? Pciconf -lv > > iwn0@pci0:3:0:0: class=0x028000 card=0x12118086 chip=0x42378086 rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > device = 'PRO/Wireless 5100 AGN [Shiloh] Network Connection' > class = network I have a 5100 running -HEAD. It's fine. Just disable bgscan (ifconfig wlan0 -bgscan) and it should be okay in most situations. It does seem to cope very badly in noisy situations. I'm not sure why, sorry. I'd appreciate whatever help people can give in syncing it more with iwlwifi / iwlegacy (for 4965 support) to pick up hardware fixes. -adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 01:50:09 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 339A84D4 for ; Wed, 4 Dec 2013 01:50:09 +0000 (UTC) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E0DD14A4 for ; Wed, 4 Dec 2013 01:50:09 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id rq2so22338792pbb.31 for ; Tue, 03 Dec 2013 17:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=b2Im1V/V0jH+5hftWL70/pW+O9vHBL30t54rEeSqC/Y=; b=qsMgXpLxnYgUMhKxbPl4p9I5byAnVBkJF81aW7iVwIs9vq8qD0cfQwABgcJ6GDzf+k EnZ0MYV5B8dxQ85yGtfkWBHGJyPYdrzgFvOAFUcqsDHXkRZ2H19otA/kHvenVAq5C4Gj Ez4Tv7xiWimiJt3B/UeaGVXOdOz9XnL7f5FGmedKKQ1p/ujlQ6HCdX3Q3nhlWI7YrnVk 0X+xkmn0VmvZXKpBUI0O+WwFU3CDSDCcyCYMMKAxp/Kl86OU7YA2ZCb6H06iTvgeJkJS mQjqH3OKQnA+SczI7a9T847K4bBuOJF6QCSLp88XTOgseUQybyKRfV7yGqMBymbuuBlw NKsw== MIME-Version: 1.0 X-Received: by 10.68.194.9 with SMTP id hs9mr42538792pbc.95.1386121808721; Tue, 03 Dec 2013 17:50:08 -0800 (PST) Received: by 10.68.13.226 with HTTP; Tue, 3 Dec 2013 17:50:08 -0800 (PST) Date: Wed, 4 Dec 2013 09:50:08 +0800 Message-ID: Subject: Channel interference scan and manual selection From: Tek Wiz To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 04 Dec 2013 01:50:09 -0000 Hello FreeBSD Wireless, Is it possible to do a an interference scan of all the channels and manually select the channel? Thanks, Tek Wiz From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 01:51:17 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D60EE510 for ; Wed, 4 Dec 2013 01:51:17 +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 95EC714DE for ; Wed, 4 Dec 2013 01:51:17 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id b4so14875592qen.15 for ; Tue, 03 Dec 2013 17:51:16 -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; bh=aa4YNdcEjrX0K941wnd2C2cnTbLyGBEJxR53WkGDlY8=; b=j1xNObAnUCMrvsHIoFHb7FPdhIwLar7kmlF1AgKZ5Wd5A9upHMFT81ODqI3AiaW4s6 1fxlgY+sqXtJtagTKeEW/BAWCBEzpYk50UzBm2Mkuf/z5J3vbeV7b3jJRy0AUxx/vBgZ p7YfjcvmfbnTXIIYP2eIDgM42K2z2q71qSt7qkyPkq3psAL/vFkLoV5quNiE3XaYFneU fKoztlq2GpFSVy49mhcSUK8HgeMJGknQ6u49Gls8KlXJWAb4KJFSx+yszFp9lOjPHI1n 9jdb+N5KhyLRsHpabQCIPX1kjzn+dh18swFUHy2zQ1cPmqqu0s2nKlQdl4VJdBxwWOoN eG4w== MIME-Version: 1.0 X-Received: by 10.49.17.232 with SMTP id r8mr131319143qed.74.1386121876764; Tue, 03 Dec 2013 17:51:16 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 17:51:16 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Dec 2013 17:51:16 -0800 X-Google-Sender-Auth: 8-oFeioPfQ5bL7i0KaQTTIvSN7I Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Tek Wiz Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 04 Dec 2013 01:51:17 -0000 Hi, When operating in what mode? -a On 3 December 2013 17:50, Tek Wiz wrote: > Hello FreeBSD Wireless, > > Is it possible to do a an interference scan of all the channels and > manually select the channel? > > Thanks, > Tek Wiz > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 01:53:06 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 DF5B1533; Wed, 4 Dec 2013 01:53:06 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B051C14EB; Wed, 4 Dec 2013 01:53:06 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id v10so21357235pde.14 for ; Tue, 03 Dec 2013 17:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ufKJXHzJOTU4Rm7PJ8iolm06PDWqcEbY0H6saRt6tXA=; b=B/O+DA1/XgDaWDZClokUZcxGHGIaBxSOjxH/YiKruxNGy9rnu8iyLMoE4/rBiXUBeN X4ZnsvGsG7eqCukrydpk8AoTmsX3peWwNdtUOXYjh5HfnaJAUe15SGoMQXHQ3qF/VaHf YMDaKLpY+O+RT0sAvCamndAjJ7ZQNYpUljeeF+N9yMAdsDKN5FkV4fB2f68AlcKtKIh2 wKamLXWBa149AahU1J38yOrBYJGOSBfcTl5OEMS0EZteo+BVrTtx0Q4nCcF0s8MGTiwr DL6okZ+thkQR59SkBpbWHVDYsiiqVHzEZUDH/C3PVH5IPA6ZBKK7oeW+zbWxSYrQEpiG bOMA== MIME-Version: 1.0 X-Received: by 10.68.51.165 with SMTP id l5mr14625766pbo.149.1386121986394; Tue, 03 Dec 2013 17:53:06 -0800 (PST) Received: by 10.68.13.226 with HTTP; Tue, 3 Dec 2013 17:53:06 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 09:53:06 +0800 Message-ID: Subject: Re: Channel interference scan and manual selection From: Tek Wiz To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 04 Dec 2013 01:53:06 -0000 In AP mode. On Wed, Dec 4, 2013 at 9:51 AM, Adrian Chadd wrote: > Hi, > > When operating in what mode? > > > -a > > > On 3 December 2013 17:50, Tek Wiz wrote: > > Hello FreeBSD Wireless, > > > > Is it possible to do a an interference scan of all the channels and > > manually select the channel? > > > > Thanks, > > Tek Wiz > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to " > freebsd-wireless-unsubscribe@freebsd.org" > From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 01:56:01 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 AC659597 for ; Wed, 4 Dec 2013 01:56:01 +0000 (UTC) Received: from mail-qe0-x232.google.com (mail-qe0-x232.google.com [IPv6:2607:f8b0:400d:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 652291510 for ; Wed, 4 Dec 2013 01:56:01 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id 1so13458933qec.37 for ; Tue, 03 Dec 2013 17:56:00 -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; bh=fXQ6z9bAJnnBga2EiICvTQTE9OFkg2iQL9EJGF0NNSM=; b=uRxfvJtQSSyune6V0b1HF3s0gY171YXzsGSPCfNnY9TI3/CNUhVhVy0TuX8Ok3DdOK Zbywq1l7kEXxvmQc9FrCyPv0BTyCLqc+r+6hO57Vv4P7EmhaBbWN3pQTiGV+bcJgNhkN HOOo4nM5psrRsv1Uy5abDtUkH7Fwi8nGvJ3ubPQSMk4NpN7atZ7R5/kDcV/W6aXh6FHy IXKPBoQZp3peL1uOZnTGqjnACWM4Bv228I9gIiFUg8WzRTSF3ZP7DGkUt/Ypn9Jr+4HG SWkIflXssKmnhIMjKNqOi6PHlCA++qeiaTo25lYUzu1NLM50/Vwqt7C2ddPdlK1DupjT ZAcg== MIME-Version: 1.0 X-Received: by 10.224.47.3 with SMTP id l3mr131800207qaf.25.1386122160632; Tue, 03 Dec 2013 17:56:00 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 17:56:00 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Dec 2013 17:56:00 -0800 X-Google-Sender-Auth: 630RLSGeTCHhLWk7t0kGswXgzHw Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Tek Wiz Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 04 Dec 2013 01:56:01 -0000 >> On 3 December 2013 17:50, Tek Wiz wrote: >> > Hello FreeBSD Wireless, >> > >> > Is it possible to do a an interference scan of all the channels and >> > manually select the channel? Hi, Well, if you don't assign a channel, the net80211 scan module will scan the channels, find the channel with the lowest noise floor as reported by the driver and use that. Now, ideally it'd actually check the channel for interference and channel busy status, and use _that_ metric. So, if someone wants a mini-project to implement that, I'd be happy to guide them / help them get that working. On ath(4), of course. -adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 02:11:20 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD6E7918; Wed, 4 Dec 2013 02:11:20 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C9801644; Wed, 4 Dec 2013 02:11:20 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id q10so21320198pdj.36 for ; Tue, 03 Dec 2013 18:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3XsCY/N8y/Y4KuH171bc/9CB5Q+HxeDDxYoCSIaUV5c=; b=aZEQ31t511hC6WNRG2HpJNhcZs7BnOB3rZ7S0FXpLQs9SxtAtntd8zPbWmRopVxN2s mMPEG0oC5N7hNwBmV+bVUZM5bl+ITtPwGgRLIiIt02eaCVVEBuaU7LA6aw3HRIPxjzCU PR3yY3WwfEYu5vhgTGeb724GC81QGzuT9uuy126oGCjaH87P87Ge+pRR2TlWuHUdr15Q VJcOo/+VvgBIIzQpJGP7YJDAJQxP6oOYzXY425bZLQfLWRIJsFbiTwVUOjQ7NTA17bWU k04U7SO8vN7QPI8S9f+9+GGVyZHQFrbv99/Lti/Bjx2tTMd2LCbQQ4hfulE8ccGsPCcn LeNA== MIME-Version: 1.0 X-Received: by 10.68.212.10 with SMTP id ng10mr14497713pbc.158.1386123080012; Tue, 03 Dec 2013 18:11:20 -0800 (PST) Received: by 10.68.13.226 with HTTP; Tue, 3 Dec 2013 18:11:19 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 10:11:19 +0800 Message-ID: Subject: Re: Channel interference scan and manual selection From: Tek Wiz To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 04 Dec 2013 02:11:20 -0000 Hi Adrian, I'd be happy to work on it. What is the SVN URL to check out and commit? My router is OpenWrt compatible. Is that good enough? Yes, the metric involves interference and noise floor. Thanks for your help, Tek Wiz On Wed, Dec 4, 2013 at 9:56 AM, Adrian Chadd wrote: > >> On 3 December 2013 17:50, Tek Wiz wrote: > >> > Hello FreeBSD Wireless, > >> > > >> > Is it possible to do a an interference scan of all the channels and > >> > manually select the channel? > > Hi, > > Well, if you don't assign a channel, the net80211 scan module will > scan the channels, find the channel with the lowest noise floor as > reported by the driver and use that. > > Now, ideally it'd actually check the channel for interference and > channel busy status, and use _that_ metric. > > So, if someone wants a mini-project to implement that, I'd be happy to > guide them / help them get that working. On ath(4), of course. > > > > -adrian > From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 02:30:45 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48D36FC for ; Wed, 4 Dec 2013 02:30:45 +0000 (UTC) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 050531778 for ; Wed, 4 Dec 2013 02:30:44 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id i13so6311692qae.9 for ; Tue, 03 Dec 2013 18:30:44 -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; bh=bvk5lF9RBHgM4itM2yK/8vnY8Oyi6KoiA1foud0LFs8=; b=HiyAdTqyWCmVLbQcvtl3MORkQMcS7gLURbfO3pTrMEu5kh56onOcDRfPKtLza/P0T8 ZFp0RS2p6RDdKYkaJZvA4o13usygwentevyOgLVhtTsVcRat3v4TiBGh3SKsVedE20vx BAOjuhUK1e5p7DOHKaAVgGFPv0HV8jfIBz0QEUGaSJy1IofPOVVKXFsQKZifQrPhCG1c 2Nyu8u8GQOVObXtMsA9+uOPTBe7eFV68XmX+Impgbd2B2b2jyEia4lDfAjguSJNjox40 w5j0G2PifACJkqno607Gm3KXO5sSDkLGMMe8D6wKO8yxvpYiSP6DKDBt9gJbrSoyfQwY p7bw== MIME-Version: 1.0 X-Received: by 10.224.80.129 with SMTP id t1mr91095460qak.95.1386124243892; Tue, 03 Dec 2013 18:30:43 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 18:30:43 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Dec 2013 18:30:43 -0800 X-Google-Sender-Auth: 16le9fHRQ2sxtX_KhRU17jDoq3A Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Tek Wiz Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 04 Dec 2013 02:30:45 -0000 What model is the router? -adrian On 3 December 2013 18:11, Tek Wiz wrote: > Hi Adrian, > > I'd be happy to work on it. > > What is the SVN URL to check out and commit? > > My router is OpenWrt compatible. Is that good enough? > > Yes, the metric involves interference and noise floor. > > Thanks for your help, > Tek Wiz > > > On Wed, Dec 4, 2013 at 9:56 AM, Adrian Chadd wrote: >> >> >> On 3 December 2013 17:50, Tek Wiz wrote: >> >> > Hello FreeBSD Wireless, >> >> > >> >> > Is it possible to do a an interference scan of all the channels and >> >> > manually select the channel? >> >> Hi, >> >> Well, if you don't assign a channel, the net80211 scan module will >> scan the channels, find the channel with the lowest noise floor as >> reported by the driver and use that. >> >> Now, ideally it'd actually check the channel for interference and >> channel busy status, and use _that_ metric. >> >> So, if someone wants a mini-project to implement that, I'd be happy to >> guide them / help them get that working. On ath(4), of course. >> >> >> >> -adrian > > From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 02:34:39 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 180A933F; Wed, 4 Dec 2013 02:34:39 +0000 (UTC) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D920217F5; Wed, 4 Dec 2013 02:34:38 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id rr13so22482139pbb.37 for ; Tue, 03 Dec 2013 18:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W84KjYxP19ZgaBqAWdVZTtamkNIB30plbbw198wnzso=; b=CD3X75E1xpqf4kZe8t6eX0V1yZoqGO5Xdi6/hBXzay6l4eLvEOXsFzn+TORcKxxb5m 2/Hm8SfdIR8Hel4g/QnMaBYBcVi9zxhYdL2yqRVTWiDeiqtpl3PqUGKnVMnnHIVPhGRk vCgwtqdAc2sx0ym5iO2eOAxoSqnn7Lpj3TpwNIz5F83CUuKBQsQdexksTlE23bC0NPcR YI5TDt/6x54dgblT1oZvu44upnt0rxGmCrRzmu0vLPxAwTgllcfo7zSIVFpM/hh/OErD bdE/SVEdDTf+CpOAN8slWc6ExOgyo7lY0QEy99D1VSbBAm4Pj/MWnIodPA5qvviYIiCg ytLw== MIME-Version: 1.0 X-Received: by 10.68.253.67 with SMTP id zy3mr42654515pbc.137.1386124478447; Tue, 03 Dec 2013 18:34:38 -0800 (PST) Received: by 10.68.13.226 with HTTP; Tue, 3 Dec 2013 18:34:38 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 10:34:38 +0800 Message-ID: Subject: Re: Channel interference scan and manual selection From: Tek Wiz To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 04 Dec 2013 02:34:39 -0000 compex wpj344 On Wed, Dec 4, 2013 at 10:30 AM, Adrian Chadd wrote: > What model is the router? > > > -adrian > > On 3 December 2013 18:11, Tek Wiz wrote: > > Hi Adrian, > > > > I'd be happy to work on it. > > > > What is the SVN URL to check out and commit? > > > > My router is OpenWrt compatible. Is that good enough? > > > > Yes, the metric involves interference and noise floor. > > > > Thanks for your help, > > Tek Wiz > > > > > > On Wed, Dec 4, 2013 at 9:56 AM, Adrian Chadd wrote: > >> > >> >> On 3 December 2013 17:50, Tek Wiz wrote: > >> >> > Hello FreeBSD Wireless, > >> >> > > >> >> > Is it possible to do a an interference scan of all the channels and > >> >> > manually select the channel? > >> > >> Hi, > >> > >> Well, if you don't assign a channel, the net80211 scan module will > >> scan the channels, find the channel with the lowest noise floor as > >> reported by the driver and use that. > >> > >> Now, ideally it'd actually check the channel for interference and > >> channel busy status, and use _that_ metric. > >> > >> So, if someone wants a mini-project to implement that, I'd be happy to > >> guide them / help them get that working. On ath(4), of course. > >> > >> > >> > >> -adrian > > > > > From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 03:04:03 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 E6A88A85 for ; Wed, 4 Dec 2013 03:04:03 +0000 (UTC) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A61D31A5F for ; Wed, 4 Dec 2013 03:04:03 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id h16so16110376oag.11 for ; Tue, 03 Dec 2013 19:03:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=7AfpMg4e7M1yO+DIS7BsCPUIl9MCfvUGLbityK2o6Zc=; b=kvK/zf836HPfhR7CWitH6dB9BQ0ISoZMLJWnc+4mXaDxVSdEUW1lmNlO2yLtxY+62f V5Tkck52Mk7la6ldXbipw3AHdf/SqMTfFs8dM7iyz1sDiZAVNUmY49BztJNtoEqmqdbW LsPWurWG9HNbJ+da0bVcGQlrDZqbTeNx22vDhYEV4xU0VJWgtoia5WWj8U7753lraAdV e4LNs433mC+QqCIrfda3Z+DbfdmpJPG/mGtwyEi3WID0n1VbPDmq61LbYIu0E56/b9Hs SYKe2YCIiciAhrSbSCHtAOfrfzUCh5FQBFrbyWdxl/4e4dfj8SPm60x++JBBDMXzjqNB Appw== X-Gm-Message-State: ALoCoQlv/NDcATxYhX5KXO85qqqlLItUAoNNbXysmeapNlq8m5G9azcSFxT3+RgbRbmsPQ24YziY X-Received: by 10.182.55.65 with SMTP id q1mr61291476obp.2.1386126237690; Tue, 03 Dec 2013 19:03:57 -0800 (PST) Received: from [172.21.0.33] (67-198-60-238.static.grandenetworks.net. [67.198.60.238]) by mx.google.com with ESMTPSA id xs17sm27142774oeb.1.2013.12.03.19.03.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 19:03:56 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: Channel interference scan and manual selection From: Jim Thompson In-Reply-To: Date: Tue, 3 Dec 2013 21:03:55 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1822) 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: Wed, 04 Dec 2013 03:04:04 -0000 On Dec 3, 2013, at 7:56 PM, Adrian Chadd wrote: > Now, ideally it'd actually check the channel for interference and > channel busy status, and use _that_ metric. Ideally, it would attempt to get co-channel with other APs on the same = channel. Especially in 2.4GHz (or any of the 5GHz bands). Because you would *much* rather share the air (via collision avoidance) = than raise the noise floor for someone (everyone) else. And, given that everyone has a DC receiver these days, there are NO = =93non-overlapping channels=94. jim From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 03:30:15 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75758D32 for ; Wed, 4 Dec 2013 03:30:15 +0000 (UTC) Received: from mail-qe0-x22d.google.com (mail-qe0-x22d.google.com [IPv6:2607:f8b0:400d:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 302F81CA7 for ; Wed, 4 Dec 2013 03:30:15 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id 6so15728265qea.32 for ; Tue, 03 Dec 2013 19:30:14 -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=3MRGQCh4qNRjYZKjU4p+QLGTOSkfGsOGuXJc9LnG8eM=; b=K8J+JYGMudTgpKLefKnPQySQ0gFrQKQZHFNoUJ6aZVhBJzAOQA4TFI46JFZkw9tliL iUsYcAVJgKSyi3b2EWAAKWxBtZt8m02KcYhfVXLo8Wsz8q90SFHgX2Xfw81oWCth0z6L XIi6sQENvI1M6eiryfatIPK/LeAgxgtMUNbELzN6ULbcFhsn/pNx9I7+rKipvVqG3J3H tR/62RLQ7dMK/SrSHmtFR/Ydh2Hjwjc589Yk/DDmp71cb0N9qjoqpIExfx1jF96/oIc9 1A3jioCCRQixWVmqmCAqV+Qy85+RBicoL4rK2fdO6gq1d7nqol4y/7NJOKJw7fLCua25 L4Uw== MIME-Version: 1.0 X-Received: by 10.49.131.5 with SMTP id oi5mr90661642qeb.38.1386127814362; Tue, 03 Dec 2013 19:30:14 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 19:30:14 -0800 (PST) In-Reply-To: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> References: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> Date: Tue, 3 Dec 2013 19:30:14 -0800 X-Google-Sender-Auth: SrOqG5N6G-ImiZdqjRlLerYrj_Q Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Jim Thompson Content-Type: text/plain; charset=windows-1252 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: Wed, 04 Dec 2013 03:30:15 -0000 On 3 December 2013 19:03, Jim Thompson wrote: > > On Dec 3, 2013, at 7:56 PM, Adrian Chadd wrote: > >> Now, ideally it'd actually check the channel for interference and >> channel busy status, and use _that_ metric. > > Ideally, it would attempt to get co-channel with other APs on the same ch= annel. > > Especially in 2.4GHz (or any of the 5GHz bands). > > Because you would *much* rather share the air (via collision avoidance) t= han raise the noise floor for someone (everyone) else. > > And, given that everyone has a DC receiver these days, there are NO =93no= n-overlapping channels=94. Right. Hence, interference and channel busy. The Atheros NIC channel busy tells you % busy with signal in the air _AND_ % busy receiving frames. So you can get an idea of what's actually going on. The basics are in the Atheros HAL. We just need a nice way to wrap it up and hand off channel survey results to the net80211 layer so it can make these decisions. -adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 03:32:40 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 A349CD5C; Wed, 4 Dec 2013 03:32:40 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 70A061CD8; Wed, 4 Dec 2013 03:32:40 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id w10so21509002pde.34 for ; Tue, 03 Dec 2013 19:32:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1Zy65UNbbuJnZzE7mkcV8IzRjdbScoHS18WN40rF0l0=; b=vev52JzmmGa5U18Cx2AO9euDb/pv0PuB3t0i+47HRmbzTZZgvg1hvOthU6bjmTDTA/ uJaPQTk4clpTUkfrzbWpBmmxMaVBnTIacdfU8NomjHzXkwYKnAdf8k+x38Zg8uAXbeSJ kGbeyLQknD6jH/Py7eDHYn79InZtRSfRncg4GxlCjbYGV3GYxegyRRcUDmDvHvJ4XGcQ xp6SLr3J0dky4YqEiIyqg6/dcuXlvcVNHCgyU5BWvb35AagvxU9Sgo2R2t2VGboxmA3V Qa5D2795BWHtxP0uuQgusR+1uRqj+5yy3pxMi3zkWz9+ufwbNAczTekXEBNrBi7L5lOv GhVQ== MIME-Version: 1.0 X-Received: by 10.66.13.138 with SMTP id h10mr14850329pac.148.1386127959982; Tue, 03 Dec 2013 19:32:39 -0800 (PST) Received: by 10.68.13.226 with HTTP; Tue, 3 Dec 2013 19:32:39 -0800 (PST) In-Reply-To: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> References: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> Date: Wed, 4 Dec 2013 11:32:39 +0800 Message-ID: Subject: Re: Channel interference scan and manual selection From: Tek Wiz To: Jim Thompson Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 04 Dec 2013 03:32:40 -0000 Yes, the interference can be calculated by averaging the beacon RSSI (dB) of the overlapping channels, e.g. for channel 6, the beacon RSSI of channels 4, 5, 6, 7, 8 are averaged. Normally channels 1, 6, and 11 are chosen, although other channels may have less interference, in order to be a 'good neighbor'. On Wed, Dec 4, 2013 at 11:03 AM, Jim Thompson wrote: > > On Dec 3, 2013, at 7:56 PM, Adrian Chadd wrote: > > > Now, ideally it'd actually check the channel for interference and > > channel busy status, and use _that_ metric. > > Ideally, it would attempt to get co-channel with other APs on the same > channel. > > Especially in 2.4GHz (or any of the 5GHz bands). > > Because you would *much* rather share the air (via collision avoidance) > than raise the noise floor for someone (everyone) else. > > And, given that everyone has a DC receiver these days, there are NO > =93non-overlapping channels=94. > > jim > > From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 03:40:24 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AE20E99 for ; Wed, 4 Dec 2013 03:40:24 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B679C1D03 for ; Wed, 4 Dec 2013 03:40:23 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id x13so1669140qcv.15 for ; Tue, 03 Dec 2013 19:40:22 -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; bh=axAUWpQD+H9i1Eawr4dDKs6O1/teWIzqg4NBPwZ98QA=; b=Ukyz0N3n1sUe/htWbWPHxI8y7AiCr+OeGNxNUF7d3YFjxQqFRPiXgolbvOYeMdeJDz m5i1Lrn4GHDbPDhfYKGOd4zhEvRgVw0o1oZ4L+aY9qINw39VuyI1nTGLmtaP7R2kthm4 xmhsYceebX49rxZRnFE8mdlbtRp2ZnYnMyKwDQsCV6XquuZV7brboEHs8lFc4qq1sMJ+ utTxaFl9/TBuC+SiaE9Ib+vBuq+jQe41oL+nwr/gHkZsSg3sUDnT0YG3K+qSGtQK0afn AaRYMggB9n2PIeI26xsjMBwfZlQWa2WiAXwWcyf/dDA2B+RhggFrzIzSHd41dTYFMTBi Qrsw== MIME-Version: 1.0 X-Received: by 10.229.56.200 with SMTP id z8mr131250660qcg.1.1386128422933; Tue, 03 Dec 2013 19:40:22 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 19:40:22 -0800 (PST) In-Reply-To: References: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> Date: Tue, 3 Dec 2013 19:40:22 -0800 X-Google-Sender-Auth: 9N3FqLGRXvtZmWtv40jk0h4LVlU Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Tek Wiz Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 04 Dec 2013 03:40:24 -0000 On 3 December 2013 19:32, Tek Wiz wrote: > Yes, the interference can be calculated by averaging the beacon RSSI (dB) of > the overlapping channels, e.g. for channel 6, the beacon RSSI of channels 4, > 5, 6, 7, 8 are averaged. Normally channels 1, 6, and 11 are chosen, although > other channels may have less interference, in order to be a 'good neighbor'. Sure. But we can also look at what kinds of frames we actually receive during a sample window. What I'd also like to do is finally add receive power histogram support. Ie, look at the RSSI of all the frames you receive, stick them in buckets, respond to the power histogram action request frames, use them for this.. that doesn't require any driver support. Just net80211 work in the RX path. -adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 04:14:07 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA45F1CD for ; Wed, 4 Dec 2013 04:14:07 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E61D1E51 for ; Wed, 4 Dec 2013 04:14:07 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so1662817qcz.2 for ; Tue, 03 Dec 2013 20:14:06 -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=yH+5QvhhqLDP092H9ERxRi2ZeKoKH1TbdQ5KTHzeOJI=; b=sLooLLH9f+ioDymtbXHBskFFYt9PD7y+CIgl33yp0HbwGIt79bGuSh3Rp3guTQNlC+ gP62Vq9vXN3/BTAVCIpM+0tSWLDiNhjFz/NXu5XeQQvyZ8uenz4GvQJj+nJDwCC+sa0l 97K4J2ntNqXAOjA+yPWQnQI//5ry4KeEwwSfpCKSy0EU+OoTQ4m7XD+OYdtyfPntf+D0 ryQI4H2hQQh8vBJh2undFLy/q3EZYJMK1RCUDFwpMKYcFewgojTbdmqVovZHDHDXYhl/ MhmsOg9e6iAdn6m5X+qwcVGj7HunGVzhMawTQEaC/Rp8y7z7LyVqrnTA49179Hv+lNdT p0wQ== MIME-Version: 1.0 X-Received: by 10.49.131.5 with SMTP id oi5mr90932408qeb.38.1386130446014; Tue, 03 Dec 2013 20:14:06 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 20:14:05 -0800 (PST) In-Reply-To: References: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> Date: Tue, 3 Dec 2013 20:14:05 -0800 X-Google-Sender-Auth: pPU1ZT5YPX8Xl_wOvFO57e7aG6M Message-ID: Subject: Re: Channel interference scan and manual selection From: Adrian Chadd To: Jim Thompson Content-Type: text/plain; charset=ISO-8859-7 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: Wed, 04 Dec 2013 04:14:07 -0000 No, I get this bit. Totally. I had to deal with this with HT40 channels where .. the rejection isn't as great. Adjacent channel interference into the secondary channel just killed things. I'm right now more interested in making sure we can gather the data we need first. The channel selection bit is orthogonal. I completely agree with you. We're better off with completely overlapping channels where the competing access points have a chance of correctly detecting each others signals and backing off without raising the channel noise floor. There's also the HT20/HT40 coexistence stuff where we should actually disable doing HT40 on 2GHz channels if there's adjacent channel traffic. -adrian On 3 December 2013 19:59, Jim Thompson wrote: > There is no "1, 6, 11" anymore. You're not listening. > > Back in the day, the adjacent (1 on 6, 6 on 1, 11 on 6, 6 on 11) > channel rejection spec for 802.11b was 35dBm at 11Mbps modulation > There never was an alternate (1 on 11, 11 on 1) channel rejection spec > in the days of 802.11b. > > Most decent super-het designs back then used a SAW filter in the > middle of the downconversion chain, and got around 41dBm of adjacent > channel rejection. > > But we all moved to direct-conversion receivers ... because: cost. We > all loves us some cheap 802.11 gear. > > The adjacent channel rejection spec for 802.11g (and 802.11a) is -1dBm > @ 54Mbps modulation. > The alternate channel rejection spec for 802.11g/a is 15dBm @ 54Mbps modu= lation. > Just FYI, minimum ACR for 802.11g/a at 6Mbps is 16dB (alternate is > 16dB more, for 32dB) > > If you're underwhelmed by the difference between 41dBm and -1dBm, then > I can't help you. > > Free Space Path Loss =3D 20 log(4*p*r/=EB) dB, where > r =3D distance between transmitter and receiver > =EB =3D wavelength > > Path loss in the first meter @ 2.4GHz is 41dB. At 10m it's 60dB. > > Lets say you've got a garden-variety radio that puts up 32mW (15dBm) > of tx power, and ignore antenna gain for now (so 0 dBi antennas on > both radios). > > Old 802.11b (super-het receivers) world: > > 15dBm - 60dB - 41dB =3D -86dBm This is the in-channel 'noise power' of > the adjacent channel radio. > Notice that it is at least 15dB above the thermal noise floor. > Translated: you've lowered your SINR. > > New 802.11g/a (direct conversion receivers) world: > 15dBm - 60dB - -1 dBm =3D -44dBm. This is about 20dB higher than what > is necessary to recover a 54Mbps receiver, but remember, it's the > *noise power* of a radio operated on an adjacent channel. (Most > 802.11 OFDM receivers are EVM-limited at 48Mbps and higher, but I > digress.) > > Note as well that we're 57dB above the thermal noise floor, at 10m (33') > > Even if you back off to alternate channels (1 and 11), you're still at -6= 0dBm. > > > > On Tue, Dec 3, 2013 at 9:40 PM, Adrian Chadd wrote: >> On 3 December 2013 19:32, Tek Wiz wrote: >>> Yes, the interference can be calculated by averaging the beacon RSSI (d= B) of >>> the overlapping channels, e.g. for channel 6, the beacon RSSI of channe= ls 4, >>> 5, 6, 7, 8 are averaged. Normally channels 1, 6, and 11 are chosen, alt= hough >>> other channels may have less interference, in order to be a 'good neigh= bor'. >> >> Sure. But we can also look at what kinds of frames we actually receive >> during a sample window. >> >> What I'd also like to do is finally add receive power histogram >> support. Ie, look at the RSSI of all the frames you receive, stick >> them in buckets, respond to the power histogram action request frames, >> use them for this.. that doesn't require any driver support. Just >> net80211 work in the RX path. >> >> >> >> -adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 4 04:22:31 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 C9E2D27C for ; Wed, 4 Dec 2013 04:22:31 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD3D1EB1 for ; Wed, 4 Dec 2013 04:22:31 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id ar20so25083594iec.2 for ; Tue, 03 Dec 2013 20:22:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tf/xT6vBS2TKECFhBgH1An6Z5e9EQE3n8ilZj2zySZc=; b=Nt4V9SFkTqb3XLpG1/K6tENsuJWHGK6rtJPt0D/Oj0ELcEwslwaox6a6/blj0Yto0N XLyOOUa1Mx8XWBIok2PV22PXXzOjq4euvut/90P9/YLG3vSlvElvVLSwg9yv1wWPlSn0 0fm49dBvyxrQQKZTmrM7LiyY/xQqJpieljt90Xiw+PJrXuba3/K3vJkniMCriPYEt9Nf 3h6srZg0FdBnAl4Bfl8us+cVySp5bANBiesARILk4uf4D2Bltflbtm7ql+idfW5rmmLr up0IY9Z6OiDPwd9lB8fwJlFbFqelSyQnK8g/E6Z8FpcY5rIeTYOlyKoLxStm9bFum/ja +F+A== X-Gm-Message-State: ALoCoQmoyZ5WU6lrtDGiuYbDp1XCZjaHWPB0V/AwnfvPJqR3lqsCGQEx0DI0uKuU5H5rQjH1C3+w MIME-Version: 1.0 X-Received: by 10.50.129.39 with SMTP id nt7mr5932792igb.13.1386129564686; Tue, 03 Dec 2013 19:59:24 -0800 (PST) Received: by 10.50.57.230 with HTTP; Tue, 3 Dec 2013 19:59:24 -0800 (PST) In-Reply-To: References: <46B1EFC5-1AA4-4E51-B199-D4CDACEEA0AC@netgate.com> Date: Tue, 3 Dec 2013 21:59:24 -0600 Message-ID: Subject: Re: Channel interference scan and manual selection From: Jim Thompson To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-7 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: Wed, 04 Dec 2013 04:22:31 -0000 There is no "1, 6, 11" anymore. You're not listening. Back in the day, the adjacent (1 on 6, 6 on 1, 11 on 6, 6 on 11) channel rejection spec for 802.11b was 35dBm at 11Mbps modulation There never was an alternate (1 on 11, 11 on 1) channel rejection spec in the days of 802.11b. Most decent super-het designs back then used a SAW filter in the middle of the downconversion chain, and got around 41dBm of adjacent channel rejection. But we all moved to direct-conversion receivers ... because: cost. We all loves us some cheap 802.11 gear. The adjacent channel rejection spec for 802.11g (and 802.11a) is -1dBm @ 54Mbps modulation. The alternate channel rejection spec for 802.11g/a is 15dBm @ 54Mbps modula= tion. Just FYI, minimum ACR for 802.11g/a at 6Mbps is 16dB (alternate is 16dB more, for 32dB) If you're underwhelmed by the difference between 41dBm and -1dBm, then I can't help you. Free Space Path Loss =3D 20 log(4*p*r/=EB) dB, where r =3D distance between transmitter and receiver =EB =3D wavelength Path loss in the first meter @ 2.4GHz is 41dB. At 10m it's 60dB. Lets say you've got a garden-variety radio that puts up 32mW (15dBm) of tx power, and ignore antenna gain for now (so 0 dBi antennas on both radios). Old 802.11b (super-het receivers) world: 15dBm - 60dB - 41dB =3D -86dBm This is the in-channel 'noise power' of the adjacent channel radio. Notice that it is at least 15dB above the thermal noise floor. Translated: you've lowered your SINR. New 802.11g/a (direct conversion receivers) world: 15dBm - 60dB - -1 dBm =3D -44dBm. This is about 20dB higher than what is necessary to recover a 54Mbps receiver, but remember, it's the *noise power* of a radio operated on an adjacent channel. (Most 802.11 OFDM receivers are EVM-limited at 48Mbps and higher, but I digress.) Note as well that we're 57dB above the thermal noise floor, at 10m (33') Even if you back off to alternate channels (1 and 11), you're still at -60d= Bm. On Tue, Dec 3, 2013 at 9:40 PM, Adrian Chadd wrote: > On 3 December 2013 19:32, Tek Wiz wrote: >> Yes, the interference can be calculated by averaging the beacon RSSI (dB= ) of >> the overlapping channels, e.g. for channel 6, the beacon RSSI of channel= s 4, >> 5, 6, 7, 8 are averaged. Normally channels 1, 6, and 11 are chosen, alth= ough >> other channels may have less interference, in order to be a 'good neighb= or'. > > Sure. But we can also look at what kinds of frames we actually receive > during a sample window. > > What I'd also like to do is finally add receive power histogram > support. Ie, look at the RSSI of all the frames you receive, stick > them in buckets, respond to the power histogram action request frames, > use them for this.. that doesn't require any driver support. Just > net80211 work in the RX path. > > > > -adrian From owner-freebsd-wireless@FreeBSD.ORG Fri Dec 6 22:29:32 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 AAA5BE46 for ; Fri, 6 Dec 2013 22:29:32 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 389771715 for ; Fri, 6 Dec 2013 22:29:31 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBF63B.dip0.t-ipconnect.de [217.251.246.59]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id rB6MTQI6003621; Fri, 6 Dec 2013 22:29:27 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id rB6MTOT7029819; Fri, 6 Dec 2013 23:29:24 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id rB6MTC3w044206; Fri, 6 Dec 2013 23:29:18 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201312062229.rB6MTC3w044206@fire.js.berklix.net> To: freebsd-wireless@freebsd.org Subject: scan params, wpa_supplicant.conf, wpa_gui, wifimgr suggestions ? From: "Julian H. Stacey" Organization: http://berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Fri, 06 Dec 2013 23:29:12 +0100 Sender: jhs@berklix.com Cc: "Julian H. Stacey" 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: Fri, 06 Dec 2013 22:29:32 -0000 Hi freebsd-wireless@freebsd.org, I'd appreciate suggestions, eg more URLs to read, & wlan ports/ to build etc: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html has some capabilities not documented: What is 'B' ? in a friend's (microsoft configured) net EPSB ; E,P,S are documented in URL above, but not B ? I tried cd /sys ; find . -type f -exec grep "'B'" {} /dev/null \; but noticed nothing. WPS is not defined in URL above, should be added, found here: http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup What is ATH ? Unlikely something to do with Atheros ? (though I'm not using that I believe with run & urwtn interfaces). What is HTCAP ? find & grep found /sys/dev/pci/pcireg.h HT (HyperTransport) Capability Doesn't seem likely .. https://en.wikipedia.org/wiki/HyperTransport /sys/net80211/ieee80211_* I Noticed man wpa_supplicant.conf does not document these generated by wpa_gui id_str="whatever" # Maybe a comment ? Trying 2 the same disabled=1 # Leave net disabled but documented ? I've got attach entries in /usr/local/etc/devd/jhs.conf, eg action "ifconfig wlan$interface create wlandev $device-name; \ ifconfig wlan$interface up; \ wpa_supplicant -B -i wlan$interface \ -c /etc/wpa_supplicant.conf \ -P /var/run/wpa_supplicant.pid ; \ service netif start;\ dhclient wlan$interface"; I got run0: & urwtn0: interfaces alternately configured on FreeBSD 10.0-BETA4 (after make world from stable from svn export), (I'm testing with run0 as I & 1 other on mobile@freebsd suspect urtwn drops out (overheats?) sometimes). Once I got on line via WLAN (at a Starbucks (BTOpenzone) coffee shop, no password, but uses a browser to click Accept), (after I set /etc/rc.conf firewall_type="open", as firewall_type="client" blocked connection or authorisation, OK I'll write some ipfw rules later when I trace what to pass, after connection is reliable) I even managed to help a NetBSD Wlan user (at a large site, to select for bssid for max signal (= smallest (nor largest :-) S of S:N), But still I'm mostly failing to connect other places eg CoffeeFellows (thecloud.eu Sky Murdoch), ports/net/wpa_gui I send-pr'd to patch for a lib, http://www.freebsd.org/cgi/query-pr.cgi?pr=184473 wpa_gui now can save entries in /etc/wpa_supplicant.conf, as syntax & options examples against local nets, (If I supply dummy passwords :-) & If I add 'update_config=1' also not documented in man 5 wpa_supplicant.conf ports/net-mgmt/wifimgr was problematic, my rc.conf notes: # - wifimgr wants root password, even if started as root # - ./work/wifimgr-1.10/src/wifimgr.c # find_wifi_if( complains: # No WiFi interface is configured in /etc/rc.conf # unless you have: # ifconfig_wlan0="WPA" # but it doesnt tell you it needs it. ifconfig_wlan0="WPA" # - wifimgr after clicking scan, sometimes kills wpa_supplicant # - I need to read code to see if it is just reading all rc.conf, # or respecting my if [ "X.$wlan_jhs" = "X.YES" ]; I've noticed reports about double dhclient (or was it dhcpd?) starts on 10.0-BETA, not noticed anything myself ? I would appreciate more complete docs (if those who know, can fill in holes) & more URLs to read re connecting, & more ports tools reccomendations. (I am cautious re security settings, wanting to make connection both more predictably & succesfuly, + secure). Comments/suggestions welcome, (I am subscribed to wireless@freebsd.org). Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. Slash NSA budget. http://berklix.eu/jhs/blog/2013_10_30 From owner-freebsd-wireless@FreeBSD.ORG Fri Dec 6 23:45:25 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A7AE9EC for ; Fri, 6 Dec 2013 23:45:25 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDB861E67 for ; Fri, 6 Dec 2013 23:45:24 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so1022357qcz.16 for ; Fri, 06 Dec 2013 15:45:24 -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; bh=mvEdbeyV7mQ3Eg1Zs18u7McPJj3hrrVAmmVMVvvCOjk=; b=BloAwPI9pjP2nYIrI9M4J9lN1bLmLgLZ1ZJ6XjneUxapILuQMrBotK6hG1PGnC32O6 rm5MV4UoAWG/06kBgQVLF9uc411scJRECZ/woj7Dt/y9H//So4huTaFuDuPJtXHVeo8y BcJZKlAYUrTXbIEI6og22Njo8uuEtkzY3fb3qvzXCBNFAe1gS72G+s9SFkBco7cjemSa VXq4LJGHSddWlSPzGEi9sCWim3jcrmwMOUZvr5+wtRAiUzFr+bH8giyjrdRvplQAchJS kpBBmm1QE0TNsoIQe1ySgLGBhAG2S9x9ozWSUzZxWMg9Iso9P+be+wDjhMnccvvsp+Bw QYew== MIME-Version: 1.0 X-Received: by 10.224.47.3 with SMTP id l3mr11303561qaf.25.1386373524078; Fri, 06 Dec 2013 15:45:24 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Fri, 6 Dec 2013 15:45:24 -0800 (PST) In-Reply-To: <201312062229.rB6MTC3w044206@fire.js.berklix.net> References: <201312062229.rB6MTC3w044206@fire.js.berklix.net> Date: Fri, 6 Dec 2013 15:45:24 -0800 X-Google-Sender-Auth: DQajoYmEvb79770eBPx0n-0_77w Message-ID: Subject: Re: scan params, wpa_supplicant.conf, wpa_gui, wifimgr suggestions ? From: Adrian Chadd To: "Julian H. Stacey" Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 06 Dec 2013 23:45:25 -0000 Hi, The options are documented in 'man ifconfig'. -a From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 09:39:37 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 8497E8F2; Sat, 7 Dec 2013 09:39:37 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 67F2D10C6; Sat, 7 Dec 2013 09:39:37 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version; b=dbB0Pb5/KNiL3Nk+8DxoNm3WdChERTYKetHOzOkipRQt4FFwxE/FRgJR2vx/HXdfStcmdG1Qe8rn pS2ckshRL1znf8PBEgacrpSq1AVdE2jappTu7AEYZtXkU1ndIUWi Received: from [192.168.11.5] (213.111.120.236 [213.111.120.236]) by mx.zohomail.com with SMTPS id 1386409171223646.3543062906579; Sat, 7 Dec 2013 01:39:31 -0800 (PST) Subject: Re: service netif restart [iface] runs a wpa_supplicant twice From: clutton To: freebsd-wireless@freebsd.org, freebsd-arch@freebsd.org In-Reply-To: <201311121354.03923.jhb@freebsd.org> References: <1383419596.3253.42.camel@eva02.mbsd> <201311051154.18872.jhb@freebsd.org> <20131112.134742.1669584178551946391.hrs@allbsd.org> <201311121354.03923.jhb@freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Sat, 07 Dec 2013 11:39:27 +0200 Message-ID: <1386409167.1888.18.camel@eva02.mbsd> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Zoho-Virus-Status: 2 Cc: John Baldwin 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: Sat, 07 Dec 2013 09:39:37 -0000 On Tue, 2013-11-12 at 13:54 -0500, John Baldwin wrote: Guys, it still doesn't work. Two days ago, when I changed my AP setup, in rc.conf and then run =C2=ABsudo service netif restart=C2=BB I'd observed= two copies of the wpa_supplicant. System is CURRENT b9061d4, I can't see the pgrep patch on it... From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 17:50:28 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 87F65852; Sat, 7 Dec 2013 17:50:28 +0000 (UTC) Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3480E1EAD; Sat, 7 Dec 2013 17:50:28 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id w7so1544164qeb.36 for ; Sat, 07 Dec 2013 09:50:27 -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=BTXqNgzG+ZDJbf3yNgswtCmfqO8CTcUn7fRsWFLCg5Y=; b=O40s5llw7d84k8jFBRU0CA7kv2+1w/XIQ68+HWcrx5KbQQlkOSNaLKBCys7JtYs8Bp ZB4Y+PHhFqlIWoToFDlDVPkuE6/Be4RhYGTyVOnXq+56eKyf01KkBi8X8B+1PrSsXukG Dik44xpx5v0eibPe2oh5RbsbVURJXx/fh3OlIAnlKarm5J0p5bbNmRfqWD3iVC7V/ULI gFLY8OhcsqCpYcigGtAXvlTGSVLYQZicIXJFTrz9Ra4ggbI0P7i43PIEEflavgZYcwKp M6b3DXHyeND2o701m9Y9qo4QTc5+o8GzLiHiLdN1W8J/j1tK4wkAez/uWAWWC5U6Hiek 5xcg== MIME-Version: 1.0 X-Received: by 10.224.80.129 with SMTP id t1mr129461681qak.95.1386438627456; Sat, 07 Dec 2013 09:50:27 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 09:50:27 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Dec 2013 09:50:27 -0800 X-Google-Sender-Auth: rELkQJJ7sufJro5x0wmlLfAqtGg Message-ID: Subject: Re: Intel Centrino Wireless-N 1000 can't connect to AP From: Adrian Chadd To: =?UTF-8?B?5LmU5qWa?= , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Current FreeBSD 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: Sat, 07 Dec 2013 17:50:28 -0000 A lot of work has gone on in -current with the iwn driver. It's quite possible that the recent changes has broken things. Would you please do this: * recompile with IWN_DEBUG defined in your kernel cofig * sysctl dev.iwn.0.debug=3D0x13ff (That turns on command debugging, tx/rx debugging, interrupt debugging and calibration debugging.) If you do that for both 10b3 and -head I can compare the two. Also, please post the output of pciconf -lv. I'd like to see which centrino-100 you're using. I thought I had tested it out on the Centrino 100 (I have a couple here) but there may be more variants that I haven't yet tested on. Thanks! -a On 7 December 2013 05:34, =E4=B9=94=E6=A5=9A wrote: > Today ,I upgrade my freebsd from 10-beta4 to current. > Now, my freebsd can't connect to wireless AP. Wireless LAN strike. > > iwn0 in /var/log/message: > Dec 7 08:02:00 x201i kernel: iwn0: mem > 0xf2400000-0xf2401fff irq 16 at device 0.0 on pci2 > > Dec 7 08:02:00 x201i kernel: iwn0: attempting to allocate 1 MSI vectors = (1 > supported) > Dec 7 08:02:00 x201i kernel: msi: routing MSI IRQ 266 to local APIC 0 > vector 62 > Dec 7 08:02:00 x201i kernel: iwn0: using IRQ 266 for MSI > Dec 7 08:02:00 x201i kernel: iwn0: MIMO 1T2R, BGS, address > 8c:a9:82:5a:41:58 > Dec 7 08:02:00 x201i kernel: iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > Dec 7 08:02:00 x201i kernel: iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > Dec 7 08:02:00 x201i kernel: iwn0: 1T2R > Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz > Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 6.5Mbps - 65Mbps > Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz SGI > Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 7Mbps - 72Mbps > Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz: > Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 13.5Mbps - 135Mbps > Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz SGI: > Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 15Mbps - 150Mbps > ...... > Dec 7 08:02:00 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:16 > Dec 7 08:02:00 x201i kernel: iwn0: iwn_intr: fatal firmware error > Dec 7 08:02:00 x201i kernel: firmware error log: > Dec 7 08:02:00 x201i kernel: error type =3D "SYSASSERT" (0x00000005= ) > Dec 7 08:02:00 x201i kernel: program counter =3D 0x00018DBC > Dec 7 08:02:00 x201i kernel: source line =3D 0x00000032 > Dec 7 08:02:00 x201i kernel: error data =3D 0x0000000100000000 > Dec 7 08:02:00 x201i kernel: branch link =3D 0x00018D6E00018D6E > Dec 7 08:02:00 x201i kernel: interrupt link =3D 0x0000082600000000 > Dec 7 08:02:00 x201i kernel: time =3D 1538064582 > Dec 7 08:02:00 x201i kernel: driver status: > Dec 7 08:02:00 x201i kernel: tx ring 0: qid=3D0 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 1: qid=3D1 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 2: qid=3D2 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 3: qid=3D3 cur=3D2 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 4: qid=3D4 cur=3D57 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 5: qid=3D5 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 6: qid=3D6 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 7: qid=3D7 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 8: qid=3D8 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 9: qid=3D9 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 10: qid=3D10 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 11: qid=3D11 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 12: qid=3D12 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 13: qid=3D13 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 14: qid=3D14 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 15: qid=3D15 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 16: qid=3D16 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 17: qid=3D17 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 18: qid=3D18 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: tx ring 19: qid=3D19 cur=3D0 queued=3D0-- > Dec 7 08:02:00 x201i kernel: rx ring: cur=3D29 > ...... > Dec 7 08:02:01 x201i wpa_supplicant[667]: ioctl[SIOCS80211, op=3D103, va= l=3D0, > arg_len=3D128]: Device not configured > Dec 7 08:02:01 x201i wpa_supplicant[667]: wlan0: Failed to initiate AP s= can > > I do not know where the problem is? > If necessary, I can tie debugging. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 17:52:14 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 21A3D9A7; Sat, 7 Dec 2013 17:52:14 +0000 (UTC) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C185C1EEC; Sat, 7 Dec 2013 17:52:13 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id ii20so1487071qab.1 for ; Sat, 07 Dec 2013 09:52:13 -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; bh=xMAX5uxpGx/c06hpNQt4M0IFLEIrvopA3jNCg3q0IPY=; b=xsy9h0ru91WjfTLanHOYNe+51AH7Lo9QkFIr1bvqc5vCag8idycwq1hb/zp37Hi5+x ForTorerqxvVg/NX2fwDy0a79n/QOun33/6nszhTELfZ8hOGTPGCL1QANf+k9jrYItd/ s7by+IFYVQT0KUnfAMQmyvmBVLKDqOTxTkNg8gJWRqQStARYUoL7Y14lInY6ycfNWPjB HpMZ+e0PDqXcG8sl5Bx6vD4A5i850JuVc7oCf4W5YwQeJZvy+MxHpX/mAxG9+1U7/H4U IgOXGxHB/geeCjWpW89Y5bKNp1v9PsCuv620hHWxM3zEdFah3pes3T8Uk+2k5BubkSg0 xRPw== MIME-Version: 1.0 X-Received: by 10.49.131.5 with SMTP id oi5mr18395297qeb.38.1386438732916; Sat, 07 Dec 2013 09:52:12 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 09:52:12 -0800 (PST) In-Reply-To: <52A32AB6.1040401@petermann-it.de> References: <20130913112427.Horde.Lr2e32AbzvcQIrrWuDh-dg1@d2ux.org> <001e01ceb064$80168220$80438660$@info> <52A32AB6.1040401@petermann-it.de> Date: Sat, 7 Dec 2013 09:52:12 -0800 X-Google-Sender-Auth: -__MlsV65fxIBQoXsXpSyZp7rw8 Message-ID: Subject: Re: Centrino Wireless N2230 support From: Adrian Chadd To: Matthias Petermann , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current 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: Sat, 07 Dec 2013 17:52:14 -0000 Hi, I don't plan a backport of any of this just yet. I'd like to let the changes shake out a bit first. There's been some reports about things not working between 10.0 and 11.0 (eg, 5 minutes ago someone reported the centrino 100 doesn't work!) and I'd like to get those fixed before we consider a merge back. Thanks, -a On 7 December 2013 06:03, Matthias Petermann wrote: > Hello Adrian, > > Am 04.11.2013 06:59, schrieb Adrian Chadd: >> [snip] >> >> For what it's worth, I've started merging this stuff into -HEAD. >> > > I've just installed 11.0-CURRENT r258208 on my Thinkpad E330 and the > Wireless N2230 stuff is now in working condition. > > Thanks for your work - It's a pleasure to see that FreeBSD hardware > driver availability is so close to Linux in these areas. > > Do you expect the changes to get introduced in a 10.1 release someday, > or should users of N2230 track CURRENT for the next months? > > > Kins regards > > Matthias > > > -- > Matthias Petermann | www.petermann-it.de > GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572 C3D7 7B1D A3C3 5C3E 6D75 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 20:21:20 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50634458; Sat, 7 Dec 2013 20:21:20 +0000 (UTC) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E47FF1736; Sat, 7 Dec 2013 20:21:19 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id e9so1508788qcy.6 for ; Sat, 07 Dec 2013 12:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Vv+SNMwk2gzAciAudFVcs66bV/1njg9poPaIQOn7YFo=; b=mC5BPM/pnGr+p+hhxER2wURf77kBEcHeEi92wG4o1L+CHfAUWk6Mra8qvdWGzw8hT0 EC3yQBXyMT4twEbrvuBNO2gFYlUPjsF8waJhg3vwQ4o/loDRE3uUUyURxBEeeJuR6nws ZT8bAoc6zn0S9N6TztJyFqA+x8NcatC1/hlOcgFtHR1K69eKqHamqyzhBZbe767wnxSS ASfDhd7MzCEkxaHfmBHJXere4qpRcLVexBmpu4MdRXcyQj61ojI41gCj2g9aiz8HsPOf U1beaOqKAVstY6hSIEeCMOX1xX3KGm4mzld+2y9OvgigZlCRjmsUOYcoDKx3NWSIdZE/ y0zg== MIME-Version: 1.0 X-Received: by 10.49.116.141 with SMTP id jw13mr19300179qeb.2.1386447679127; Sat, 07 Dec 2013 12:21:19 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 12:21:19 -0800 (PST) Date: Sat, 7 Dec 2013 12:21:19 -0800 X-Google-Sender-Auth: __8SIpfRYBygNRIZuRb1-DOnSWw Message-ID: Subject: [iwn] 6235 support, initial patch From: Adrian Chadd To: "freebsd-wireless@freebsd.org" , Lawrence Stewart , Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 07 Dec 2013 20:21:20 -0000 Hi, Here's some fixes from mav, shoehorned into the current driver framework. Mav - where'd you get your changes from? http://people.freebsd.org/~adrian/iwn/20131207-iwn-6235-1.diff This enables the 6235. It now doesn't firmware panic upon startup. I've passed _no_ traffic through it though - I don't have pigtails for the connectors on my NIC. Sorry :( I've added in mav's changes but I've done it by adding a new 6235 config / limits section rather than hacking up the existing 6000g2b section. I don't know what effect it'll have on the existing NICs. So I didn't want to change that behaviour. This is against the latest -HEAD. Thanks! -adrian From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 22:42:04 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 E6636763 for ; Sat, 7 Dec 2013 22:42:03 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F3D21F2E for ; Sat, 7 Dec 2013 22:42:03 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id j5so1606816qaq.14 for ; Sat, 07 Dec 2013 14:42:01 -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:content-type; bh=qGXH4OBOeDboGorRxIvaNFz54t6urUs3Asj4YtRC/jc=; b=KArfAFj9V38Mc/01UX8hOJqsVBIoMYBBHobrhKaNFE9wMzp4QLnPNGk6odfYZs/RDg wjzDvpXY7PiHgQn6WIET01Ld9bw5ovnn35LffUHZxRVY6AeSTJGdxGr42OFjnWPOcBKL De2erZKf97B7PJC/IJqEJMntkRJYM+7bD3Lwdn8Y2YFUbaE5utOfXdg9ZA1hHoCciUb0 7jwlVufvHOry8aOPT/zm6e8i8vhSJCK48xsRw7sTYFVcD9nAMVNJeO4/+exCzZ3peLCV MHgHDk2fmspj2VOv2jy7agNILX5ZBQgi8VW/A7srlGWrdDa85lRBD2zl0T9vtvND4bYe E2vg== MIME-Version: 1.0 X-Received: by 10.224.24.131 with SMTP id v3mr20488022qab.48.1386456121542; Sat, 07 Dec 2013 14:42:01 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 14:42:01 -0800 (PST) Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 14:42:01 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Dec 2013 14:42:01 -0800 X-Google-Sender-Auth: YoxEW_Ust0PADKiYLY4BYD3ehgs Message-ID: Subject: Re: Atheros 9565 wifi problems From: Adrian Chadd To: Peter Edson , freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Sat, 07 Dec 2013 22:42:04 -0000 Huh? 10.0 works fine on the 9565? Ive not changed anything in the ath driver since then. Adrian On Dec 7, 2013 2:14 PM, "Peter Edson" wrote: > when I do the destroy, it says it wasn't already configured. > > when I get to the supplicant part it says wpa_supplicant 1046 ioctl > something something operation not supported. > > then it tried to associate for awhile and says ctrl-event-disconnected > reason=3 local=1 > > and authentication timed out > > I get ath0_edma_recv_tasklet: sc_interest_cnt > 0; skipping on the screen > printed out alot. > > > Anyway thanks for the help I guess I should just reinstall 10 beta 4 again > since it was working? > > If this pops up again I guess i'll have to use windows for awhile :-( till > this gets hammered out as my NIC and my wifi aren't working on freebsd at > the moment, I guess this laptop is too new > > > On Sat, Dec 7, 2013 at 12:47 PM, Adrian Chadd wrote: > >> It should be working. :( >> >> Try doing it all manually: >> >> * comment out wpa / ifconfig lines for wifi in /etc/rc.conf >> >> # ifconfig wlan0 destroy >> # ifconfig wlan0 create wlandev ath0 >> # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf & >> >> .. see if that works. >> >> >> >> -a >> >> On 7 December 2013 02:10, Peter Edson wrote: >> > here is my rc.conf /boot/loader.conf /etc/wpa_supplicant.conf and all >> kernel >> > output >> > >> > >> > >> > >> > On Sat, Dec 7, 2013 at 1:22 AM, Adrian Chadd >> wrote: >> >> >> >> What's logged in dmesg? >> >> >> >> >> >> -a >> >> >> >> On 6 December 2013 20:56, Peter Edson wrote: >> >> > Hi, I installed freebsd 10 beta 4 today and it autodetected the >> atheros >> >> > 9565 chip and I got it setup no problem with wpa_supplicant. I >> installed >> >> > some stuff like xorg and i3 wm and then took a nap. I woke up and >> >> > rebooted >> >> > the machine and it will not work on any wifi settings now. >> >> > >> >> > It keeps throwing errors about /var/run/wpa_supplicant failed to >> >> > initialize >> >> > control interface and remove the file, this is when I run service >> netif >> >> > restart, start etc. I have tried removing it and it doesn't help. >> >> > >> >> > my pci conf for atheros looks like this: >> >> > >> >> > ath0@pci0:3:0:0: >> >> > >> >> > class = 0x028000 card=0x063211ad chip=0x0036168c rev=0x01 hdr=0x00 >> >> > >> >> > vendor= atheros communications >> >> > device= ar9565 wireless network adapter >> >> > class = network >> >> > _______________________________________________ >> >> > freebsd-stable@freebsd.org mailing list >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> >> > To unsubscribe, send any mail to >> >> > "freebsd-stable-unsubscribe@freebsd.org" >> > >> > >> > > From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 7 22:46:24 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 8FAE37D8 for ; Sat, 7 Dec 2013 22:46:24 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 45FD71F56 for ; Sat, 7 Dec 2013 22:46:24 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id w5so1602969qac.20 for ; Sat, 07 Dec 2013 14:46:23 -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:content-type; bh=quwHvLFydhfif2nGTNsoy8AISQgf3dqhZZLjHeN5izk=; b=g+dd62kYISkBM89woMH/PXqfS/9SFooUl/BpJCdRDPTTFJWxZObcvNtMXNxZ7UikLC IbB5mFJX9E/RErW5wuZReC4+XrRhDftLpwFXXtW/n1pZgGk5T1lju4t5kt2nn9PnSaIU B4ojA0ph/BMXnrD8sBoSxf5wRHVmmi0vRnb9c2nEY3k8TTTGxL18j8xkl0eN6rtp5E+d HCHzRPwZkbI7j3QZqkUUF+kJNUfKBtrFpnxYH0zyhf0QVBarTkC/pxSqCD1QksT8idF2 TaSsF3+mXvGJFzqERHuS1XKFSrLepKlk1JPVM1dIdcEwxjNU6Oqw2JD/529qI9G3wrim zoWQ== MIME-Version: 1.0 X-Received: by 10.49.116.141 with SMTP id jw13mr19992553qeb.2.1386456383392; Sat, 07 Dec 2013 14:46:23 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 14:46:22 -0800 (PST) Received: by 10.224.53.200 with HTTP; Sat, 7 Dec 2013 14:46:22 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Dec 2013 14:46:22 -0800 X-Google-Sender-Auth: WjmFkqNUPU5zMRf1Iy1em792oeA Message-ID: Subject: Re: Atheros 9565 wifi problems From: Adrian Chadd To: Peter Edson , freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Sat, 07 Dec 2013 22:46:24 -0000 Try 10.0b4 and run with it again. It may have been a fluke. Which laptop is it? It could be some cut price version I need driver hacks for :( Adrian On Dec 7, 2013 2:45 PM, "Peter Edson" wrote: > it worked on 10 beta 4. Was autodetected during the USB install process. > > I used wpa supplicant to configure it and it worked fine until I rebooted, > then it just stopped working for apparently no reason (you'd know a hell of > a lot better than I would) > > It was not detected in 9.2, which is why I installed 10 beta 4 > > > On Sat, Dec 7, 2013 at 5:42 PM, Adrian Chadd wrote: > >> Huh? 10.0 works fine on the 9565? Ive not changed anything in the ath >> driver since then. >> >> Adrian >> On Dec 7, 2013 2:14 PM, "Peter Edson" wrote: >> >>> when I do the destroy, it says it wasn't already configured. >>> >>> when I get to the supplicant part it says wpa_supplicant 1046 ioctl >>> something something operation not supported. >>> >>> then it tried to associate for awhile and says ctrl-event-disconnected >>> reason=3 local=1 >>> >>> and authentication timed out >>> >>> I get ath0_edma_recv_tasklet: sc_interest_cnt > 0; skipping on the >>> screen printed out alot. >>> >>> >>> Anyway thanks for the help I guess I should just reinstall 10 beta 4 >>> again since it was working? >>> >>> If this pops up again I guess i'll have to use windows for awhile :-( >>> till this gets hammered out as my NIC and my wifi aren't working on freebsd >>> at the moment, I guess this laptop is too new >>> >>> >>> On Sat, Dec 7, 2013 at 12:47 PM, Adrian Chadd wrote: >>> >>>> It should be working. :( >>>> >>>> Try doing it all manually: >>>> >>>> * comment out wpa / ifconfig lines for wifi in /etc/rc.conf >>>> >>>> # ifconfig wlan0 destroy >>>> # ifconfig wlan0 create wlandev ath0 >>>> # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf & >>>> >>>> .. see if that works. >>>> >>>> >>>> >>>> -a >>>> >>>> On 7 December 2013 02:10, Peter Edson wrote: >>>> > here is my rc.conf /boot/loader.conf /etc/wpa_supplicant.conf and all >>>> kernel >>>> > output >>>> > >>>> > >>>> > >>>> > >>>> > On Sat, Dec 7, 2013 at 1:22 AM, Adrian Chadd >>>> wrote: >>>> >> >>>> >> What's logged in dmesg? >>>> >> >>>> >> >>>> >> -a >>>> >> >>>> >> On 6 December 2013 20:56, Peter Edson wrote: >>>> >> > Hi, I installed freebsd 10 beta 4 today and it autodetected the >>>> atheros >>>> >> > 9565 chip and I got it setup no problem with wpa_supplicant. I >>>> installed >>>> >> > some stuff like xorg and i3 wm and then took a nap. I woke up and >>>> >> > rebooted >>>> >> > the machine and it will not work on any wifi settings now. >>>> >> > >>>> >> > It keeps throwing errors about /var/run/wpa_supplicant failed to >>>> >> > initialize >>>> >> > control interface and remove the file, this is when I run service >>>> netif >>>> >> > restart, start etc. I have tried removing it and it doesn't help. >>>> >> > >>>> >> > my pci conf for atheros looks like this: >>>> >> > >>>> >> > ath0@pci0:3:0:0: >>>> >> > >>>> >> > class = 0x028000 card=0x063211ad chip=0x0036168c rev=0x01 hdr=0x00 >>>> >> > >>>> >> > vendor= atheros communications >>>> >> > device= ar9565 wireless network adapter >>>> >> > class = network >>>> >> > _______________________________________________ >>>> >> > freebsd-stable@freebsd.org mailing list >>>> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>> >> > To unsubscribe, send any mail to >>>> >> > "freebsd-stable-unsubscribe@freebsd.org" >>>> > >>>> > >>>> >>> >>> >