From owner-freebsd-wireless@freebsd.org Sun Feb 21 11:33:31 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C426AAFF0F for ; Sun, 21 Feb 2016 11:33:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E79E180B for ; Sun, 21 Feb 2016 11:33:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1LBXU0L054747 for ; Sun, 21 Feb 2016 11:33:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 169433] [iwn] iwn(4) doesn't support 6235 chip. Date: Sun, 21 Feb 2016 11:33:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: easy, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tanerinux@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Feb 2016 11:33:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D169433 tanerinux@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tanerinux@gmail.com --- Comment #12 from tanerinux@gmail.com --- Problem still exists on 10.3-Beta2 (and 10-STABLE). Card doesn't have detec= ted by kernel: "no driver" in dmesg. Despite corresponding device ID's have exi= st in but they are NOT enabled in on 10-STABLE. I tried to add these ID's myself and t= hen corrected the firmware version in as "iwlwifi-6000g2b-18.168.6.1". As I saw on forums, these are the steps that people made in order to enable Centrino 6235 on their 10-X systems. But it didn't work on my 10-STABLE. De= vice detected by kernel after changes done but behaves utterly awkward when tryi= ng to UP the interface. Wifi channel changes like crazy with with out-of-range values like 128 etc. Frequently goes DOWN and UP. I also tried ndis(4) and ndisload solutions by using Windows XP driver but = it didn't help either (or maybe I couldn't do it properly). I'm trying to find= a solution rather than replacing/buy any hardware. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Feb 21 18:52:20 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16368AB0A15 for ; Sun, 21 Feb 2016 18:52:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 065E11244 for ; Sun, 21 Feb 2016 18:52:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1LIqI5x044155 for ; Sun, 21 Feb 2016 18:52:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203105] [new driver] Port openbsd rtwn, new rtl8188ce driver Date: Sun, 21 Feb 2016 18:52:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Feb 2016 18:52:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203105 --- Comment #18 from commit-hook@freebsd.org --- A commit references this bug: Author: avos Date: Sun Feb 21 18:51:49 UTC 2016 New revision: 295865 URL: https://svnweb.freebsd.org/changeset/base/295865 Log: rtwn: import r290048. - Fix scanning from AUTH state. Tested by: Simone Mario Lombardo PR: 203105 Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4820 Changes: head/sys/dev/rtwn/if_rtwn.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Mon Feb 22 00:34:32 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51AEAAB0791 for ; Mon, 22 Feb 2016 00:34:32 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD996181A for ; Mon, 22 Feb 2016 00:34:31 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lb0-f172.google.com with SMTP id x4so74180764lbm.0 for ; Sun, 21 Feb 2016 16:34:31 -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:to:date:subject:mime-version :content-transfer-encoding:from:message-id:user-agent; bh=hluGSNe6QtlKOTqYGRUGvOBHQsj8pVvf66PLh9NcJt4=; b=BbOy/rB7xbm1h73pgK4xe2FhQU8ut4Vi384LQhT7Gr8N/jK6KXwyGznma5Sxgiiip9 3IzieTGfPKfU2uLWX3QEElIkUW/AujJh+hpwqqPLDU/BsLi4mneWQUxiP7+LIsWBnMGt MAnj7ZLnsbTRGZYcg2o4FYaWrk+l4z6N325JhKy6q+QNBjSQXBCcJR3rAtDvXkX4sUMp AcvKLq7WJhY7rbVyADFnugnRCBY4ngptJ9F1AQOLZWrrFG3jd/mbNwbskzwFjQrqv+ve NQmktOfG0lImoDv3NDKEHX4gy7UDnDDzjkLR4EkKMbj7GOsPcD8EGky8nAg8Suu++pMh 7IuA== X-Gm-Message-State: AG10YOToM9FsqFXIVfnR4VprN7xPOe/e/GFKKQ5+0N1vbq91Gq1ZCZYs/JmVAfFgpujYug== X-Received: by 10.112.201.105 with SMTP id jz9mr7602220lbc.139.1456101264006; Sun, 21 Feb 2016 16:34:24 -0800 (PST) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id s5sm2232049lbr.12.2016.02.21.16.34.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Feb 2016 16:34:23 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "freebsd-wireless@freebsd.org" Date: Mon, 22 Feb 2016 02:34:23 +0200 Subject: net80211 inactivity processing MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Andriy Voskoboinyk" Message-ID: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Feb 2016 00:34:32 -0000 Hi, What is the purpose of the following code? (especially in HOSTAP mode) (ieee80211_node.c): static void ieee80211_timeout_stations(struct ieee80211com *ic) { struct ieee80211_node_table *nt = &ic->ic_sta; struct ieee80211vap *vap; struct ieee80211_node *ni; int gen = 0; IEEE80211_NODE_ITERATE_LOCK(nt); gen = ++nt->nt_scangen; restart: IEEE80211_NODE_LOCK(nt); TAILQ_FOREACH(ni, &nt->nt_node, ni_list) { ... if ((vap->iv_flags_ext & IEEE80211_FEXT_INACT) && (0 < ni->ni_inact && ni->ni_inact <= vap->iv_inact_probe) && ni->ni_rates.rs_nrates != 0) { IEEE80211_NOTE(vap, IEEE80211_MSG_INACT | IEEE80211_MSG_NODE, ni, "%s", "probe station due to inactivity"); /* * Grab a reference before unlocking the table * so the node cannot be reclaimed before we * send the frame. ieee80211_send_nulldata * understands we've done this and reclaims the * ref for us as needed. */ ieee80211_ref_node(ni); IEEE80211_NODE_UNLOCK(nt); ieee80211_send_nulldata(ni); <<< here /* XXX stat? */ goto restart; } ... } IEEE80211_NODE_UNLOCK(nt); IEEE80211_NODE_ITERATE_UNLOCK(nt); } As for me, ieee80211_send_nulldata() will not refresh ni->ni_inact, nor will trigger any data transmission from the STA (so, it does nothing?). From owner-freebsd-wireless@freebsd.org Mon Feb 22 01:40:38 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99E11AB00E3 for ; Mon, 22 Feb 2016 01:40:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65EDB1447 for ; Mon, 22 Feb 2016 01:40:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x235.google.com with SMTP id l127so162112937iof.3 for ; Sun, 21 Feb 2016 17:40: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=ZVrD2tBuy/w75T5++o4GdCWHt0ZPAdl3U5of/ubH//U=; b=IOBjF/to52TNPj1YClZJ0VesC7cmr2nFGsMDwyroaF6iKGnydEcPm5HcWW+isMWT6Y PfEtVpzGlaHZYXmn28DOmFfmMxJ+0l5VomZSIid75zds9xKcR1Z3OZ868JHqhw6LdO8X FaZlF9cOUTFnDVt/GYZMk0UNMuQSeGKQfE9b3kk6OVmdSoIBgwzvBAchDK2zptLXofDI q7NkRDvsQHfQODWFkY9XkjEkt4hpmsfNqjCKsSUB46He3oMf77gteCxuW1G8qa7KRRav jVQOGVwrawUspzLAcydIyXBKIZLExjGOLt/jrYfrKxp/E5lNwwz0x3ATzQ2nzvyWvaM/ Lmbg== 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; bh=ZVrD2tBuy/w75T5++o4GdCWHt0ZPAdl3U5of/ubH//U=; b=abhqtYSaTyNO/5bs+SK9yJXFnY8lZ0I0wkQmCa85OiW9DUCn8Rmfj1hSaCdKW7MbEp uCRSSEVqKedZDZmHlnkp8zcUARf5+hiiFwW0SxlrfDg4T0x/7LXk+vpoOgTa4i7TsPeh jgOCKroazQZiEHBYfG1bCt5e+KcBP/Ixpt8ut19KYXQ1GmRr+cOWa9sOpZMjXahB+VYd zvv6f81Q0UerH0EkxEGqPf4GJg/gYb0mhV/fKD+RrOBgW2zwQZstbRc3T1kq7RV42vHZ 3PDZSau8Dz8NMIhvCR2gbCORWy/zxOPzU03Ha8wmwcW2cf4p77QMq8rTbT+Z8dNBJ1rJ +TPA== X-Gm-Message-State: AG10YOREWuCF4l0g830s9RhrrJeHCeIbddNWqob4cSzEjkwai7AdfvZFI2V+eUotPwm9HxxN1z8SMif/rDKoiQ== MIME-Version: 1.0 X-Received: by 10.107.162.144 with SMTP id l138mr24027995ioe.123.1456105237744; Sun, 21 Feb 2016 17:40:37 -0800 (PST) Received: by 10.36.14.19 with HTTP; Sun, 21 Feb 2016 17:40:37 -0800 (PST) In-Reply-To: References: Date: Sun, 21 Feb 2016 17:40:37 -0800 Message-ID: Subject: Re: Problems with uathload in 10.2-RELEASE From: Adrian Chadd To: Tino Engel Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Feb 2016 01:40:38 -0000 Hi, So that's definitely an AR5523 chip? -a On 19 February 2016 at 14:06, Tino Engel wrote: > Hi all, > I am currently trying to get the Netgear WG111T to work with the uath driver.According to the manual it is supported. > I did already quite some research and debugging, and the problems obviously can be narrowed down to uathload not working. > When I issueuathload -v -d /dev/ugen0.2 > I randomly receive to diffenteny errors.From time to time the output is:uathload: error reading msg (/dev/usb/0.2.1): no such file or directory > But way more often the process just hangs at "wait for ack".So exactly it saysLoad firmware ar5523.bin (builtin) to /dev/ugen0.2send block 0: 151368 bytes remaining: data...: wait for ack... > and then it hangs forever. > Any ideas how I can manage to load the required firmware? > Gr33z, Tino > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://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 Feb 22 01:43:52 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94B73AB02EE for ; Mon, 22 Feb 2016 01:43:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 61FDF1818; Mon, 22 Feb 2016 01:43:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x231.google.com with SMTP id l127so162166091iof.3; Sun, 21 Feb 2016 17:43:52 -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=QeBrboImkJ9CZq47XkH7B7lup2gEAW8YdgYcr71Gv7E=; b=UvZHUaQMdZqWnp6NsnD9sdKXaMIu/kQNJSy08JjRCCnpC1Ee1CdoFRkgpXBXVBQcYb guKiTo4wcCLUrakUAa/70eE2y1Fhw9a8mOtaN42X4W0q/PjYDocXYyv6fjXVCX2DRcea fnqjj7w7JUA6SfNh76T9S/EerMZNYIqON3r+jRScZ56SdZly6xBdY4VbLo1gkmfq6OwY siUx+84lWdTWOX/B6i9gsucPfKP4u/5Q13CuUYEH4nXDJXpUpp0OsEr/kkMwvHnDSdO/ Gml40ddwYS8AhYlo/dWORJDQuMry4Hd6GMAH9/+DWR/G9/SkwJ3FlRP3e97OoaZQ+ApG TSUw== 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; bh=QeBrboImkJ9CZq47XkH7B7lup2gEAW8YdgYcr71Gv7E=; b=AbxuPt8A2Nhs8PdvTwd6Gcyn+koVPKf2GeLDAO0v/byVYX8aMj9L3BYFXVreYI6jjZ ddBIhgsTcf/wvPBYvLfjjp1dSOadO4kQsx9oxHZMJP2V1mRGyVFpBcw6TKpnWadI/sce QZZsF8rUo/rZ8UDHCWmPMABwIRF3xb9CmhrCwQ6/zPIDV0hiiSRuOxCyU++/uE+HzsBL UzSbVCEGLrQYUYMKdCns/6cFjas//EzSTXnjRVXP1S5KpkPymnI3+cGJJG7i5vJKSRJI UFCuHCOCeiSh8Ysxv7gUpCauBJh5ri3byb2MdxzsYzJPYaP27GDJc6MV6ft5bscKRi21 lAHA== X-Gm-Message-State: AG10YOT9ZnFMZvcPJgq15Qp8GSXDSsMDzcMk+QptHGlJisM/KUxni5/2ggWF0VLZUf3vst02Ad58dG45beu0tg== MIME-Version: 1.0 X-Received: by 10.107.132.142 with SMTP id o14mr24988570ioi.75.1456105431758; Sun, 21 Feb 2016 17:43:51 -0800 (PST) Received: by 10.36.14.19 with HTTP; Sun, 21 Feb 2016 17:43:51 -0800 (PST) In-Reply-To: References: Date: Sun, 21 Feb 2016 17:43:51 -0800 Message-ID: Subject: Re: net80211 inactivity processing From: Adrian Chadd To: Andriy Voskoboinyk Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Feb 2016 01:43:52 -0000 Hi, I think it is a hold-over from how node reclaimation used to work. Sending null data frames to probe if a station is still there is a common thing to do. So yeah, maybe we should go figure out why the inactivity timer isn't kicked if the NULL data frame succeeds (ie, the driver explicitly gives us ACK feedback, rather than drivers that lie about frame completion/failure.) -adrian On 21 February 2016 at 16:34, Andriy Voskoboinyk wrote: > Hi, > > What is the purpose of the following code? (especially in HOSTAP mode) > (ieee80211_node.c): > > static void > ieee80211_timeout_stations(struct ieee80211com *ic) > { > struct ieee80211_node_table *nt = &ic->ic_sta; > struct ieee80211vap *vap; > struct ieee80211_node *ni; > int gen = 0; > > IEEE80211_NODE_ITERATE_LOCK(nt); > gen = ++nt->nt_scangen; > restart: > IEEE80211_NODE_LOCK(nt); > TAILQ_FOREACH(ni, &nt->nt_node, ni_list) { > ... > if ((vap->iv_flags_ext & IEEE80211_FEXT_INACT) && > (0 < ni->ni_inact && > ni->ni_inact <= vap->iv_inact_probe) && > ni->ni_rates.rs_nrates != 0) { > IEEE80211_NOTE(vap, > IEEE80211_MSG_INACT | > IEEE80211_MSG_NODE, > ni, "%s", > "probe station due to inactivity"); > /* > * Grab a reference before unlocking the > table > * so the node cannot be reclaimed before we > * send the frame. ieee80211_send_nulldata > * understands we've done this and reclaims > the > * ref for us as needed. > */ > ieee80211_ref_node(ni); > IEEE80211_NODE_UNLOCK(nt); > ieee80211_send_nulldata(ni); <<< > here > /* XXX stat? */ > goto restart; > } > ... > } > IEEE80211_NODE_UNLOCK(nt); > > IEEE80211_NODE_ITERATE_UNLOCK(nt); > } > > As for me, ieee80211_send_nulldata() will not refresh ni->ni_inact, > nor will trigger any data transmission from the STA (so, it does nothing?). > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://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 Feb 22 19:37:10 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26641AB0D73 for ; Mon, 22 Feb 2016 19:37:10 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF79E1212 for ; Mon, 22 Feb 2016 19:37:09 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lb0-f170.google.com with SMTP id bc4so88301837lbc.2 for ; Mon, 22 Feb 2016 11:37:09 -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:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id:in-reply-to :user-agent; bh=x87DiN4tKwXdFzwqoD5FrDWm+HK/ASPANAmCmyUKPfM=; b=aI9nI4o71X1jzhAGIoFj47dZGPjY5swEgrdNMsGP/YxaPVF8Eglri0IWs+eu1IZ4Yk 4h+HAPIrD6QL2m9rNGZBEDC1nFveuRPDntlFHREDPZquYRT+yOOgNI7PEidz772iT5eT rIumG3LLKs/78ttTvoQjuMu7is+/9/DQthCwiOsBftRHRdkb9ZNgvWb32MlHrQuhr8ZI Aca1R/XctJA4U/FutJhGzUT1fxjyrAt4pJAulKxaxK0VsKqe/RYzGnxgSEm9f6bRkAJQ Vd/efMODehlz4A3Q2N6y9n9LRlEqSRB2pq1+8EejLVZidbtSN2mMYB9iCXPWotSP6fZk X4+g== X-Gm-Message-State: AG10YOQJ/Z5N9Rdfhn2txs+XzTFe3LK8qSzPhbrCfc8aAT2U4ajcttMls+91Y2ZfI+x0vQ== X-Received: by 10.112.159.200 with SMTP id xe8mr3892886lbb.75.1456162786127; Mon, 22 Feb 2016 09:39:46 -0800 (PST) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id 73sm3548984lfu.9.2016.02.22.09.39.44 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 22 Feb 2016 09:39:45 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Adrian Chadd" , "freebsd-wireless@freebsd.org" Subject: Re: net80211 inactivity processing References: Date: Mon, 22 Feb 2016 19:39:46 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Feb 2016 19:37:10 -0000 Mon, 22 Feb 2016 03:43:51 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd = : Because control frames are disabled by default? (the timer is refreshed every time when a frame goes into input path (ni->ni_inact =3D = ni->ni_inact_reload)). This may be added to TX callback (already implemented in https://reviews.freebsd.org/D5147); however, I have no idea what to do w= ith > drivers that lie about frame completion/failure > Hi, > > I think it is a hold-over from how node reclaimation used to work. > Sending null data frames to probe if a station is still there is a > common thing to do. So yeah, maybe we should go figure out why the > inactivity timer isn't kicked if the NULL data frame succeeds (ie, the= > driver explicitly gives us ACK feedback, rather than drivers that lie > about frame completion/failure.) > > > > -adrian > > > On 21 February 2016 at 16:34, Andriy Voskoboinyk = > wrote: >> Hi, >> >> What is the purpose of the following code? (especially in HOSTAP mode= ) >> (ieee80211_node.c): >> >> static void >> ieee80211_timeout_stations(struct ieee80211com *ic) >> { >> struct ieee80211_node_table *nt =3D &ic->ic_sta; >> struct ieee80211vap *vap; >> struct ieee80211_node *ni; >> int gen =3D 0; >> >> IEEE80211_NODE_ITERATE_LOCK(nt); >> gen =3D ++nt->nt_scangen; >> restart: >> IEEE80211_NODE_LOCK(nt); >> TAILQ_FOREACH(ni, &nt->nt_node, ni_list) { >> ... >> if ((vap->iv_flags_ext & IEEE80211_FEXT_INACT= ) = >> && >> (0 < ni->ni_inact && >> ni->ni_inact <=3D vap->iv_inact_probe) &= & >> ni->ni_rates.rs_nrates !=3D 0) { >> IEEE80211_NOTE(vap, >> IEEE80211_MSG_INACT | >> IEEE80211_MSG_NODE, >> ni, "%s", >> "probe station due to inactivity"= ); >> /* >> * Grab a reference before unlocking = the >> table >> * so the node cannot be reclaimed = >> before we >> * send the frame. = >> ieee80211_send_nulldata >> * understands we've done this and = >> reclaims >> the >> * ref for us as needed. >> */ >> ieee80211_ref_node(ni); >> IEEE80211_NODE_UNLOCK(nt); >> ieee80211_send_nulldata(ni); = = >> <<< >> here >> /* XXX stat? */ >> goto restart; >> } >> ... >> } >> IEEE80211_NODE_UNLOCK(nt); >> >> IEEE80211_NODE_ITERATE_UNLOCK(nt); >> } >> >> As for me, ieee80211_send_nulldata() will not refresh ni->ni_inact, >> nor will trigger any data transmission from the STA (so, it does = >> nothing?). >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to = >> "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Tue Feb 23 06:26:38 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4114CAB068F for ; Tue, 23 Feb 2016 06:26:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10C21E10; Tue, 23 Feb 2016 06:26:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x236.google.com with SMTP id z135so203318261iof.0; Mon, 22 Feb 2016 22:26: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:content-transfer-encoding; bh=C6RiK8KBdQjKI7EhhT/w4IPAYSO1ULzgVIiK7SkBqQg=; b=p5JDF+JlnfH1BICLmDAMNOTean6PwREh5Mx3s+yFN8SOdUd3khpFaUOuSFUnEnUNb0 yecWsoAj8I3RqY8GJ8sBvpWTltM53XR+ZSJe6bQJnidvSoT+DklI1U9wJGlblfZ8jxRk QxUHoF4ubXv8u00N08dCoj0E0pkU4O/rs0HtxUGNLHPNV1JDdn2Tvlf38XJFcgDWwbvl 1Zos2VVIyasLfWpsZWpcEgdAW3Osu/l+zMnh/Gy0H9n9741qTqubBnyU9Kvf3PC4cXYS /tZeoZlvvEIzrZVbfSb3sL9NSMnLmAarhSqTl84NW+cvdfpMrujgbTrIfE3pZL4j8jh+ 7GIA== 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=C6RiK8KBdQjKI7EhhT/w4IPAYSO1ULzgVIiK7SkBqQg=; b=BZ1rbiebuxMw1XKT4OEK3Qt1noaDKAoiTqvvUJ+pBTH+PZVssSw2H8rkz8oINlf3rm QcFwh1fCAFF5IoCZtPewtwbxVp8EeZDVZ8nBI6XGz70qMyuezvhpHFzk9646eefXIMDr yEtjSHA/jOJxtwwqzquUgzN5mlSXLqfq7POulBqwJ0j2lpBa0yyxAjaazyWWgWuS4IMN JrLrMfmqMeIeaZ2rsnAB9bev2krRQjoGtbsHhzaWuR74De07u/VItf+Ojizhyx2TAJm5 IQbN4glsA8ZH63eBg+ym1KHlbCXncKFcJ+lV4Jq2qfAwTpBzbV0o8eKEBj3U1FilwiWg h8Nw== X-Gm-Message-State: AG10YOT30qoPeR32kZDIcuJYdf2p6Yf3QqpbwX4wOqfd4zp7P/8LTbwW12c2mCxIDjlDBzVrJ/4sHGqRRJy5Fg== MIME-Version: 1.0 X-Received: by 10.107.162.144 with SMTP id l138mr30218362ioe.123.1456208797482; Mon, 22 Feb 2016 22:26:37 -0800 (PST) Received: by 10.36.14.19 with HTTP; Mon, 22 Feb 2016 22:26:37 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Feb 2016 22:26:37 -0800 Message-ID: Subject: Re: net80211 inactivity processing From: Adrian Chadd To: Andriy Voskoboinyk Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 06:26:38 -0000 On 22 February 2016 at 09:39, Andriy Voskoboinyk wrote: > Mon, 22 Feb 2016 03:43:51 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd > : > > Because control frames are disabled by default? (the timer is refreshed > every time when a frame goes into input path (ni->ni_inact =3D > ni->ni_inact_reload)). > This may be added to TX callback (already implemented in > https://reviews.freebsd.org/D5147); however, I have no idea what to do wi= th Right. I need to go digging a little more about it. It's a good catch; I just need to see whether to kill the code or whether to go back to the older way of handling node expiry. -a > > >> drivers that lie about frame completion/failure > > >> Hi, >> >> I think it is a hold-over from how node reclaimation used to work. >> Sending null data frames to probe if a station is still there is a >> common thing to do. So yeah, maybe we should go figure out why the >> inactivity timer isn't kicked if the NULL data frame succeeds (ie, the >> driver explicitly gives us ACK feedback, rather than drivers that lie >> about frame completion/failure.) >> >> >> >> -adrian >> >> >> On 21 February 2016 at 16:34, Andriy Voskoboinyk wrot= e: >>> >>> Hi, >>> >>> What is the purpose of the following code? (especially in HOSTAP mode) >>> (ieee80211_node.c): >>> >>> static void >>> ieee80211_timeout_stations(struct ieee80211com *ic) >>> { >>> struct ieee80211_node_table *nt =3D &ic->ic_sta; >>> struct ieee80211vap *vap; >>> struct ieee80211_node *ni; >>> int gen =3D 0; >>> >>> IEEE80211_NODE_ITERATE_LOCK(nt); >>> gen =3D ++nt->nt_scangen; >>> restart: >>> IEEE80211_NODE_LOCK(nt); >>> TAILQ_FOREACH(ni, &nt->nt_node, ni_list) { >>> ... >>> if ((vap->iv_flags_ext & IEEE80211_FEXT_INACT) = && >>> (0 < ni->ni_inact && >>> ni->ni_inact <=3D vap->iv_inact_probe) && >>> ni->ni_rates.rs_nrates !=3D 0) { >>> IEEE80211_NOTE(vap, >>> IEEE80211_MSG_INACT | >>> IEEE80211_MSG_NODE, >>> ni, "%s", >>> "probe station due to inactivity"); >>> /* >>> * Grab a reference before unlocking th= e >>> table >>> * so the node cannot be reclaimed befo= re >>> we >>> * send the frame. >>> ieee80211_send_nulldata >>> * understands we've done this and >>> reclaims >>> the >>> * ref for us as needed. >>> */ >>> ieee80211_ref_node(ni); >>> IEEE80211_NODE_UNLOCK(nt); >>> ieee80211_send_nulldata(ni); >>> <<< >>> here >>> /* XXX stat? */ >>> goto restart; >>> } >>> ... >>> } >>> IEEE80211_NODE_UNLOCK(nt); >>> >>> IEEE80211_NODE_ITERATE_UNLOCK(nt); >>> } >>> >>> As for me, ieee80211_send_nulldata() will not refresh ni->ni_inact, >>> nor will trigger any data transmission from the STA (so, it does >>> nothing?). >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to >>> "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Tue Feb 23 06:34:32 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3775FAB0AB2 for ; Tue, 23 Feb 2016 06:34:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0308B1271 for ; Tue, 23 Feb 2016 06:34:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id y8so104645925igp.0 for ; Mon, 22 Feb 2016 22:34:31 -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=NtkYwdDA+GZv63xSvDarfaaUWC/8Sj8ik10GEAi04FI=; b=UFCsiVbXlySKAX9HZyJXHhAkYAw5xAOO/clT+zh/E0olzgLZiulqXQ6VqqrngxNHRx 8ySS+zAdrMsE+jpqAQP4HesApWqqQckMrcnmiyKGkBbRyg10iLgE0DFdzXnisqiZSDp9 xSmgb9F34z83yc41+y13hEPQaNwnIIwknr2ynCfaNQ53pwUF63b0/exEWbLTiI5qfpS0 cuLjucY/YssEREjTeYwQTZAIPOxO9riU0iiuoMHVy7C4oY2caes5ftQC6V1PjZTbnx/o ULatnEQWUBvhZvaA/nzsP8BZnS4Agf2tLQdQO09cSRDn4uI3MTB3AbRD/LRC53wRoa8V EkZw== 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; bh=NtkYwdDA+GZv63xSvDarfaaUWC/8Sj8ik10GEAi04FI=; b=NIBa5VkGqa1lHCxnm3m9YQcmegv6ZQV0t/msRGwxO6BfJ0sZxblkDjZl4Di4Hi2C/H T5/Dg8niIfZ/jW1GbiHSE2JgFjAU4aK3jbesrhlPAHAcUqI2iKa5kYvazEv++gNOSd5Y 12sWxM2QjchASpvXd8Jdo7quRg4S8WVp7AWHFpcJTdSdIjYLlT1bzqeMUvo26DXC4zca +k9jIaBc+c8zDIzWH4p7gk2HvxQKGT3JJJQhqnsILZzWtOCGxIjzmg6kJRUWNO5bZ++1 noRy9miRs9MBJsc/kXtniuDxl9ACp/3+fD4my+68UI9tjKsd3hYiU0bE3CbKMq9vKOtz A5gQ== X-Gm-Message-State: AG10YORyur+ifXdPvKrmn7LA/uN6h7QIWwM/Jh8lRththd0BXwVFdDnqwK+OK18rm51TT83bmrF64/3O7igNkg== MIME-Version: 1.0 X-Received: by 10.50.78.200 with SMTP id d8mr14673280igx.61.1456209271346; Mon, 22 Feb 2016 22:34:31 -0800 (PST) Received: by 10.36.14.19 with HTTP; Mon, 22 Feb 2016 22:34:31 -0800 (PST) In-Reply-To: <134852793.7606551.1455968065287.JavaMail.yahoo@mail.yahoo.com> References: <134852793.7606551.1455968065287.JavaMail.yahoo@mail.yahoo.com> Date: Mon, 22 Feb 2016 22:34:31 -0800 Message-ID: Subject: Re: Ralink RT3290 wifi+bluetooth support? From: Adrian Chadd To: Anthony Jenkins Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 06:34:32 -0000 Ah! cool. I've looked at ral, but it looks like each chipset is its own entire driver, which is a lot of duplicate code :( I'm tempted to turn it into a driver like ath(4) is with a HAL layer and everything, before I add support for later chipsets in that family. What's the linux support look like for that particular chipset? -a On 20 February 2016 at 03:34, Anthony Jenkins wrote: > Oh sorry... I'm adding it to ral(4). > > Sent from Yahoo Mail on Android > > On Fri, Feb 19, 2016 at 20:51, Adrian Chadd > wrote: > WHich driver family is it? > > > -a > > > On 19 February 2016 at 15:55, Anthony Jenkins via freebsd-wireless > wrote: >> The Ralink RT3290 PCIe card is supported in Linux but not in FreeBSD. I'm >> trying to port the Linux bits to FreeBSD, unless someone else has already >> beat me to it...has anyone? I added the PCI device ID and most of the >> firmware bits, but there's lots of stuff left to do...right now what I >> have >> panics in the init code. >> >> Thanks, >> Anthony > >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " From owner-freebsd-wireless@freebsd.org Tue Feb 23 07:35:07 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6B48AB133F for ; Tue, 23 Feb 2016 07:35:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96063FDF for ; Tue, 23 Feb 2016 07:35:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1N7Z7dt094374 for ; Tue, 23 Feb 2016 07:35:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 165220] [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" messages Date: Tue, 23 Feb 2016 07:35:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andriyano-31@mail.ru X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 07:35:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165220 andriyano-31@mail.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andriyano-31@mail.ru --- Comment #5 from andriyano-31@mail.ru --- Same problem with AR9565 (Acer Aspire E5-571G) in 10.3, but these patches do not help --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Feb 23 19:55:48 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B3D7AB2950 for ; Tue, 23 Feb 2016 19:55:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D060B3A for ; Tue, 23 Feb 2016 19:55:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1NJtmjl043749 for ; Tue, 23 Feb 2016 19:55:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Tue, 23 Feb 2016 19:55:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 19:55:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 Bug ID: 207445 Summary: net80211 Atheros AR938x: non-working WiFi hostap since ~ January Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: ohartman@zedat.fu-berlin.de CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Running CURRENT (FreeBSD 11.0-CURRENT #15 r295926: Tue Feb 23 17:20:59 CET 2016) with a TP-Link PCIe WiFi adaptor TP-Link TL-WDN4800 N900 based on Qualcomm Atheros AR938x chipset. I used this adaptor as AccessPoint with CURRENT successfully over Christmas 2015 using both laptops and smartphone WiFi. This doesn't work anymore since ~ mid-January after updating the syst= em's world and kernel. I haven't found out what the exact reason is, but as far as I can describe = is that the client still receives its IP via DHCP (isc-dhcp43-server-4.3.3P1_1= =20=20=20 net/isc-dhcp43-server). Then authetication (via hostapd) fails. root@gkommadoluch [~] dmesg|grep ath0 ath0: mem 0xf7e00000-0xf7e1ffff irq 16 at device 0.0 on pc= i1 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 3 RX streams; 3 TX streams ath0: AR9380 mac 448.3 RF5110 phy 0.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 ath0: stuck beacon; resetting (bmiss count 4) pciconf -lvbce [...] ath0@pci0:1:0:0: class=3D0x028000 card=3D0x3112168c chip=3D0x0030168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR93xx Wireless Network Adapter' class =3D network bar [10] =3D type Memory, range 64, base 0xf7e00000, size 131072, ena= bled cap 01[40] =3D powerspec 3 supports D0 D1 D3 current D0 cap 05[50] =3D MSI supports 4 messages, 64 bit, vector masks=20 cap 10[70] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[300] =3D Serial 1 0000000000000000 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Feb 23 22:48:48 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8848CAB2D0A for ; Tue, 23 Feb 2016 22:48:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79AA3D46 for ; Tue, 23 Feb 2016 22:48:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1NMmmR1025317 for ; Tue, 23 Feb 2016 22:48:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 165146] [net80211] Net802.11 Fragment number is assigned 1 (should be 0) when fragmenting a frame Date: Tue, 23 Feb 2016 22:48:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 22:48:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165146 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avos@freebsd.org Resolution|--- |Unable to Reproduce Status|In Progress |Closed --- Comment #2 from Andriy Voskoboinyk --- (In reply to monthadar from comment #0) > I found that in FreeBSD current the first fragment will have a > fragment number =3D 1 in function ieee80211_fragment. Sequence/fragment number for the first fragment (m0) is left unmodified; fragno (1+) is applied for subsequent fragments only. Tested with Intel 3945BG (fragthreshold 300 + some printf() code for sequence/fragment number monitoring) - everything works as intended. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 03:09:39 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E851AB198F for ; Wed, 24 Feb 2016 03:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EEAA808 for ; Wed, 24 Feb 2016 03:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1O39c9L000246 for ; Wed, 24 Feb 2016 03:09:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 03:09:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 03:09:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #1 from Adrian Chadd --- hi, can you narrow down when it happened? A bunch of wifi infrastructure changed then and i have been too preoccupied with life(tm) lately to be able to kee= p on top of things and regularly test things. (Which will change Very Soon Now, thankfully..) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 09:28:26 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9F0FAB11B6 for ; Wed, 24 Feb 2016 09:28:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A929CE01 for ; Wed, 24 Feb 2016 09:28:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1O9SQk3094006 for ; Wed, 24 Feb 2016 09:28:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 09:28:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 09:28:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avos@freebsd.org --- Comment #2 from Andriy Voskoboinyk --- (In reply to ohartman from comment #0) Hi, Can you add 'wlandebug_wlan0=3D"auth+assoc+state"' into rc.conf (and attach resulting log file)? This may give more info about what happens with AP. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 16:03:33 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAD15AB2E9E for ; Wed, 24 Feb 2016 16:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB9C7C94 for ; Wed, 24 Feb 2016 16:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1OG3Xg4076202 for ; Wed, 24 Feb 2016 16:03:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 16:03:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 16:03:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 --- Comment #3 from ohartman@zedat.fu-berlin.de --- After applying the wlandebug_wlan0 line, I read this from the console/logs: arpresolve: can't allocate llinfo for XXX.XXX.XXX.XXX on wlan0 with XXX.XXX.XXX.XXX the IP delivered by DHCP to the host connecting. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 19:52:22 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6711AA62A2 for ; Wed, 24 Feb 2016 19:52:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6F121EE for ; Wed, 24 Feb 2016 19:52:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1OJqMUL093544 for ; Wed, 24 Feb 2016 19:52:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 19:52:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 19:52:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 --- Comment #4 from Andriy Voskoboinyk --- (In reply to ohartman from comment #3) Ok, sorry (this doesn't work with hostap mode) - just apply that manually & restart the interface: 1) wlandebug -i wlan0 auth+assoc+state 2) killall -HUP hostapd (wlandebug_wlan0 record can be removed). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 20:22:34 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E018AA6F41 for ; Wed, 24 Feb 2016 20:22:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A7DE1142 for ; Wed, 24 Feb 2016 20:22:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1OKMXsZ086391 for ; Wed, 24 Feb 2016 20:22:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 20:22:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 20:22:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 --- Comment #5 from ohartman@zedat.fu-berlin.de --- I receive this on the console: wlan0: promiscuous mode enabled ath0: stuck beacon; resetting (bmiss count 4) wlan0: [fx:fx:fx:fx:fx:fx] station deauth via MLME (reason 3) wlan0: [fx:fx:fx:fx:fx:fx] send station deauthenticate (reason 3) wlan0: [fx:fx:fx:fx:fx:fx] station with aid 1 leaves wlan0: ieee80211_init wlan0: start running, 1 vaps running wlan0: ieee80211_new_state_locked: RUN -> SCAN (nrunning 0 nscanning 0) wlan0: ieee80211_newstate_cb: RUN -> INIT arg 0 wlan0: hostap_newstate: RUN -> INIT (0) wlan0: ieee80211_newstate_cb: INIT -> SCAN arg 0 wlan0: hostap_newstate: INIT -> SCAN (0) wlan0: ieee80211_new_state_locked: SCAN -> RUN (nrunning 0 nscanning 0) wlan0: ieee80211_init wlan0: start running, 1 vaps running wlan0: ieee80211_new_state_locked: SCAN -> SCAN (nrunning 0 nscanning 0) wlan0: ieee80211_init wlan0: start running, 1 vaps running wlan0: ieee80211_new_state_locked: SCAN -> SCAN (nrunning 0 nscanning 0) wlan0: ieee80211_newstate_cb: SCAN -> INIT arg 0 wlan0: hostap_newstate: SCAN -> INIT (0) wlan0: ieee80211_newstate_cb: INIT -> SCAN arg 0 wlan0: hostap_newstate: INIT -> SCAN (0) wlan0: ieee80211_new_state_locked: SCAN -> RUN (nrunning 0 nscanning 0) wlan0: ieee80211_newstate_cb: SCAN -> RUN arg -1 wlan0: hostap_newstate: SCAN -> RUN (-1) wlan0: [fx:fx:fx:fx:fx:fx] send station deauthenticate (reason 6) wlan0: [fx:fx:fx:fx:fx:fx] send station deauthenticate (reason 6) wlan0: [fx:fx:fx:fx:fx:fx] recv auth frame with algorithm 0 seq 1 wlan0: [fx:fx:fx:fx:fx:fx] station authenticated (open) wlan0: [fx:fx:fx:fx:fx:fx] RSN ie: mc 3/0 uc 3/0 key 2 caps 0x0 wlan0: [fx:fx:fx:fx:fx:fx] station associated at aid 1: short preamble, sho= rt slot time, QoS wlan0: [fx:fx:fx:fx:fx:fx] station unauthorize via MLME wlan0: [fx:fx:fx:fx:fx:fx] station authorize via MLME wlan0: [fx:fx:fx:fx:fx:fx] recv disassoc (reason 1) wlan0: [fx:fx:fx:fx:fx:fx] station with aid 1 leaves wlan0: [fx:fx:fx:fx:fx:fx] recv auth frame with algorithm 0 seq 1 wlan0: [fx:fx:fx:fx:fx:fx] station authenticated (open) wlan0: [fx:fx:fx:fx:fx:fx] RSN ie: mc 3/0 uc 3/0 key 2 caps 0x0 wlan0: [fx:fx:fx:fx:fx:fx] station associated at aid 1: short preamble, sho= rt slot time, QoS wlan0: [fx:fx:fx:fx:fx:fx] station unauthorize via MLME wlan0: [fx:fx:fx:fx:fx:fx] station authorize via MLME --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 20:25:41 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 071DBAB203A for ; Wed, 24 Feb 2016 20:25:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC8B111C7 for ; Wed, 24 Feb 2016 20:25:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1OKPeAO090483 for ; Wed, 24 Feb 2016 20:25:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 20:25:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 20:25:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 --- Comment #6 from ohartman@zedat.fu-berlin.de --- ifconfig presents me with this information: wlan0: flags=3D8943 metric = 0 mtu 1500 ether [deleted] inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255=20 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid SOMETHING channel 10 (2457 MHz 11g) bssid [deleted] regdomain ETSI country DE indoor ecm authmode WPA2/802.11i privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs groups: wlan --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 21:06:04 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09460AB3355 for ; Wed, 24 Feb 2016 21:06:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFEC0E43 for ; Wed, 24 Feb 2016 21:06:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1OL63Vs083978 for ; Wed, 24 Feb 2016 21:06:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207445] net80211 Atheros AR938x: non-working WiFi hostap since ~ January Date: Wed, 24 Feb 2016 21:06:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 21:06:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207445 --- Comment #7 from Andriy Voskoboinyk --- How much time has gone since wlan0: [fx:fx:fx:fx:fx:fx] station authorize via MLME to wlan0: [fx:fx:fx:fx:fx:fx] recv disassoc (reason 1) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Feb 24 21:28:45 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71B15AB3A40 for ; Wed, 24 Feb 2016 21:28:45 +0000 (UTC) (envelope-from chris.vansteenlandt@telenet.be) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by mx1.freebsd.org (Postfix) with ESMTP id 1A89D176A for ; Wed, 24 Feb 2016 21:28:44 +0000 (UTC) (envelope-from chris.vansteenlandt@telenet.be) Received: from [IPv6:2a02:1810:4d3d:c300:224:1dff:fe1d:b362] ([IPv6:2a02:1810:4d3d:c300:224:1dff:fe1d:b362]) by xavier.telenet-ops.be with bizsmtp id NMUi1s00E4iTKuS01MUiPY; Wed, 24 Feb 2016 22:28:42 +0100 Subject: Re: Intel 3945ABG keeps on switch transmitter off To: Vladimir Botka References: <56C634E5.1030105@telenet.be> <20160219094613.5d982e0c@planb.netng.org> Cc: freebsd-wireless@freebsd.org From: Chris Van Steenlandt Message-ID: <56CE209B.30204@telenet.be> Date: Wed, 24 Feb 2016 22:28:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160219094613.5d982e0c@planb.netng.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 21:28:45 -0000 Vladimir, thanks for link but this is a software problem and not a hardware problem. I remember testing this laptop with version 10 in the past and I never got any of these messages. Can someone tell what info I need to provide more on this issue so one of you guys (Adrian ?) can better handle my problem ? On 19-02-16 09:46, Vladimir Botka wrote: > Hi, > > On Thu, 18 Feb 2016 22:17:25 +0100 > Chris Van Steenlandt wrote: >> I recently installed FreeBSD release 10.2 on my old Sony Vaio laptop. It >> has an intel 3945ABG wireless interface. >> A lot of times however, I get the following two messages that pop up : >> wpi0: Radio transmitter is switched off >> wpi0: Hardware Switch Enabled. >> ... >> Chris > your problem might be similar to this one > http://www.allthingstechie.net/2014/10/bypass-laptop-wireless-hardware-radio.html > Cheers, > > -vlado From owner-freebsd-wireless@freebsd.org Wed Feb 24 21:32:25 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FA37AB3BC1 for ; Wed, 24 Feb 2016 21:32:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE35119ED for ; Wed, 24 Feb 2016 21:32:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x22c.google.com with SMTP id g6so328517igt.1 for ; Wed, 24 Feb 2016 13:32:24 -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; bh=04elNy1qHx0SL9DHV9IfiYJZuNu4I4iD9h+/Q8Xw5yU=; b=pNVN4r1JjodaBf0GQaD27+5wYeBa/KLVs4mijlLCZ1/zK3HzqANlcngPGByS13Y99b 8PfnkjulQuvRFsODOaPMw7nZ+Sg4TDPCi92+cgIeVU+RlZ396iszgUdWIVZuodKcuDKb kOMRdtj8VNMO63eFzJ9npOEYhiVupWY6cNNjqBAX32NpPOZg7rQhi8HT2QtELGPcaf+4 w5+5t8Fv5OoEL8GR0Nu6kHCIyxZAvRa29nKYCSKqqnKCgEnuyP6QwyBcb0aFf61pb3ZE uqIBLoofnyUMVTtmNBuw9Wfw7f8Bk1Ltc4QGpg5SC2gsytyeGbpkdt1UJ3+BpIsOmhEf U9Uw== 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; bh=04elNy1qHx0SL9DHV9IfiYJZuNu4I4iD9h+/Q8Xw5yU=; b=WZ8fBwVD0CWEalhmkjFnHVlAbTqZRw7H0wcVvVJststE55usiFL10GbfyODD8IOaHA yNFyGZ/pf5KwCh+zJG4qtT9BkjpyErjY+ukFk4FMzjfagfNj3Ls92/0nLhhwPsNFPWR4 yIDs5BOpsKV0mh01TUCWHdjuL4iTDjJ0equVoJ6eLsFlICmMEixXk6va3xOFCTEpU0Tu bPoebc95Ptjz53QgMfEZqnUxoIzhNL24H++q7EMrEPNDTGJqbwnEoTJyjcqPKEYpJ+Ap m8oqozclVxCaNY06TMwPHHzlwRJH7Ve8q2fHmwef1d3ZRjvY+Ef3YtxBzsKn336msTqp V2Xw== X-Gm-Message-State: AG10YOT9fA+d48nPMs7/RfTyIejQ6wle+BXahp5du8QCOfDhBxzTrBi2Gtedicj6/zB502gwhYaD//tqb0fxMg== MIME-Version: 1.0 X-Received: by 10.50.36.105 with SMTP id p9mr5697igj.22.1456349544132; Wed, 24 Feb 2016 13:32:24 -0800 (PST) Received: by 10.36.14.19 with HTTP; Wed, 24 Feb 2016 13:32:24 -0800 (PST) In-Reply-To: <56CE209B.30204@telenet.be> References: <56C634E5.1030105@telenet.be> <20160219094613.5d982e0c@planb.netng.org> <56CE209B.30204@telenet.be> Date: Wed, 24 Feb 2016 13:32:24 -0800 Message-ID: Subject: Re: Intel 3945ABG keeps on switch transmitter off From: Adrian Chadd To: Chris Van Steenlandt Cc: Vladimir Botka , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Feb 2016 21:32:25 -0000 I'm out of energy to help out at the moment. SOrry! -a On 24 February 2016 at 13:28, Chris Van Steenlandt wrote: > Vladimir, > > thanks for link but this is a software problem and not a hardware problem. I > remember testing this laptop with version 10 in the past and I never got any > of these messages. > > Can someone tell what info I need to provide more on this issue so one of > you guys (Adrian ?) can better handle my problem ? > > > On 19-02-16 09:46, Vladimir Botka wrote: >> >> Hi, >> >> On Thu, 18 Feb 2016 22:17:25 +0100 >> Chris Van Steenlandt wrote: >>> >>> I recently installed FreeBSD release 10.2 on my old Sony Vaio laptop. It >>> has an intel 3945ABG wireless interface. >>> A lot of times however, I get the following two messages that pop up : >>> wpi0: Radio transmitter is switched off >>> wpi0: Hardware Switch Enabled. >>> ... >>> Chris >> >> your problem might be similar to this one >> >> http://www.allthingstechie.net/2014/10/bypass-laptop-wireless-hardware-radio.html >> Cheers, >> >> -vlado > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Thu Feb 25 01:53:22 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6320FAB2E66 for ; Thu, 25 Feb 2016 01:53:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BA6B1CB for ; Thu, 25 Feb 2016 01:53:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id g203so73495432iof.2 for ; Wed, 24 Feb 2016 17:53:22 -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; bh=r2GjjonoKSng96qNUr4+XYTTLnrI76wXJarHYVBqrSM=; b=p4DECeEW78Jd3P3OnMk5/EC2Puql2vTeRcCkIlnMcffucUZzk/kTayhfmfk5EtC+HZ y9cgT6bcqSZc2k4vlgwOSwIxRe898sNraYgGzcJAERAoxL3NjwSXFDWnjCQtfociiCAj Ajo5TCQEYR778+WkeVo2qda/V500/8WumsFFPJywLPW1/J+FXg5AXWBnN62HhpJ2Tn2C FEPDtKuilnEWamR5yoq3eRqql078vOb7RRwTYoxeLBVJrEl9f6LWh8dDq2I4A2eUgxNY P5yKgw+i21VjOFEAjFK8GJflwTdTmrkue1c8k8i31TVom/ezC/2RzwqQLikZBCfLvvqb wtbA== 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; bh=r2GjjonoKSng96qNUr4+XYTTLnrI76wXJarHYVBqrSM=; b=XvoANYct8BRPheupsr2QerPqc5C3A8UkJ3rOzQ6LI3AurEaXSPyeKqAEoNOcMirYv4 hNYSNANLM3/NcuwyAPzUpQkc9xVKzt2zdLxLembnDvjaEWqAsV/NheMUTIIIMIx1tNnO uGcvP/RSel6GNgtllXyRogLr0N0P72I5Ui9iadSQzrlLIVSI3k8n7prh8OF4XW33jJAY qxOMON34KR4LqTj/wGA1s3+PyjjDeuX2ZjblB1QY0yidNAu/0G++2ltJYdIH8GZ4+Zi4 6dWf0XzmHD57Ar4x65aR57r9Tfl5xNVmOlhR86uRK+jhVw9sg00amlZ/RSwprXdcWfWp zJzw== X-Gm-Message-State: AG10YORjg29aw2rxGyCpQL7sC9/WeIf+Lo0wLhpM2P21dSCA3ITO2fNwUWqG9RTJpa1RwjXviI8H/Rq0qeuL3A== MIME-Version: 1.0 X-Received: by 10.107.162.144 with SMTP id l138mr528516ioe.123.1456365201456; Wed, 24 Feb 2016 17:53:21 -0800 (PST) Received: by 10.36.14.19 with HTTP; Wed, 24 Feb 2016 17:53:21 -0800 (PST) In-Reply-To: <20160220021906.GA28226@lrosenman-dell.lerctr.org> References: <0434e68243a280aceccaf1abcfa0e6b4@thebighonker.lerctr.org> <20160220021906.GA28226@lrosenman-dell.lerctr.org> Date: Wed, 24 Feb 2016 17:53:21 -0800 Message-ID: Subject: Re: Intel 3165 From: Adrian Chadd To: Freebsd wireless Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 01:53:22 -0000 ok, I'll see about this tonight when I get home. Maybe it's something I can easily add... -a On 19 February 2016 at 18:19, Larry Rosenman wrote: > Here ya go. > > none6@pci0:5:0:0: class=0x028000 card=0x44108086 chip=0x31658086 rev=0x79 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Wireless 3165' > class = network > > > FreeBSD lrosenman-dell 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r295683: Wed Feb 17 02:07:17 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > On Fri, Feb 19, 2016 at 05:50:44PM -0800, Adrian Chadd wrote: >> if it doesn't yet come up at all on -head then please email pciconf >> -lv to the list and I'll see what ID / support is missing. >> >> I think the 3165 is one of those chips that need extra code that >> openbsd didn't port to work "right".. :( >> >> >> -a >> >> >> On 19 February 2016 at 17:25, Larry Rosenman wrote: >> > Just picked up a new laptop, with a Intel 3165 (dual-band, 802.11ac) card. >> > >> > Any chance of getting iwm(4) or other driver to support it? >> > >> > I'm willing to guinea pig stuff. >> > >> > (on -CURRENT) >> > >> > >> > -- >> > Larry Rosenman http://www.lerctr.org/~ler >> > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> > US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961 >> > _______________________________________________ >> > freebsd-wireless@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Thu Feb 25 01:59:01 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56573AB30A4; Thu, 25 Feb 2016 01:59:01 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32C71369; Thu, 25 Feb 2016 01:59:01 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=rnrHNU8pZi77tKxYDPDHVo1iSjgTRPX43xc+zRMHLK8=; b=FJCC7VLJfIvz4ikfFailfnLd1b fqtupPEZx9O1DEqovMHF/0S+0BWT52LNKbpTYE3n16tr6CcdPGv194GqGxYSfurEwiF86nWamgh9E yRKqaOPB9X/4SS0pvqqBHnIs5zy26h7I1+lT7gDFy8NgZcfmGcM7CphCRXjF+ARF1hgI=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:27268 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aYlCl-0007CD-Qs; Wed, 24 Feb 2016 19:59:00 -0600 Received: from 2605:6000:ec17:200:b1f0:77d4:670e:2286 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 24 Feb 2016 19:58:59 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 24 Feb 2016 19:58:59 -0600 From: Larry Rosenman To: Adrian Chadd Cc: Freebsd wireless , owner-freebsd-wireless@freebsd.org Subject: Re: Intel 3165 In-Reply-To: References: <0434e68243a280aceccaf1abcfa0e6b4@thebighonker.lerctr.org> <20160220021906.GA28226@lrosenman-dell.lerctr.org> Message-ID: <6e52e0145c2de54466a441045962d84c@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.4 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 01:59:01 -0000 On 2016-02-24 19:53, Adrian Chadd wrote: > ok, I'll see about this tonight when I get home. Maybe it's something > I can easily add... > > > -a > > THANK YOU -- If you need a tester, feel free to send me a patch or link to same. I'm currently at: $ svn info Path: . Working Copy Root Path: /usr/src URL: https://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 295928 Node Kind: directory Schedule: normal Last Changed Author: hselasky Last Changed Rev: 295928 Last Changed Date: 2016-02-23 12:17:01 -0600 (Tue, 23 Feb 2016) $ > On 19 February 2016 at 18:19, Larry Rosenman wrote: >> Here ya go. >> >> none6@pci0:5:0:0: class=0x028000 card=0x44108086 chip=0x31658086 >> rev=0x79 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Wireless 3165' >> class = network >> >> >> FreeBSD lrosenman-dell 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r295683: >> Wed Feb 17 02:07:17 UTC 2016 >> root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> On Fri, Feb 19, 2016 at 05:50:44PM -0800, Adrian Chadd wrote: >>> if it doesn't yet come up at all on -head then please email pciconf >>> -lv to the list and I'll see what ID / support is missing. >>> >>> I think the 3165 is one of those chips that need extra code that >>> openbsd didn't port to work "right".. :( >>> >>> >>> -a >>> >>> >>> On 19 February 2016 at 17:25, Larry Rosenman wrote: >>> > Just picked up a new laptop, with a Intel 3165 (dual-band, 802.11ac) card. >>> > >>> > Any chance of getting iwm(4) or other driver to support it? >>> > >>> > I'm willing to guinea pig stuff. >>> > >>> > (on -CURRENT) >>> > >>> > >>> > -- >>> > Larry Rosenman http://www.lerctr.org/~ler >>> > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >>> > US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961 >>> > _______________________________________________ >>> > freebsd-wireless@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to >> "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org" -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961 From owner-freebsd-wireless@freebsd.org Thu Feb 25 19:07:21 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED4ABAB4CE4 for ; Thu, 25 Feb 2016 19:07:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C44961FD0 for ; Thu, 25 Feb 2016 19:07:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1PJ7Lsk046088 for ; Thu, 25 Feb 2016 19:07:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207497] [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed Date: Thu, 25 Feb 2016 19:07:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 19:07:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207497 Bug ID: 207497 Summary: [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: avos@freebsd.org How-to-reproduce: # sysctl net.wlan.devices In dmesg: uma_zalloc_arg: zone "32" with the following non-sleepable locks held: exclusive sleep mutex ieee80211com list (ieee80211com list) r =3D 0 (0xb08e= 15a4) locked @ /usr/src/sys/modules/wlan/../../net80211/ieee80211.c:275 stack backtrace: #0 0xa06fd7c5 at witness_debugger+0x75 #1 0xa06fe9a8 at witness_warn+0x338 #2 0xa083807a at uma_zalloc_arg+0x3a #3 0xa0684678 at malloc+0x218 #4 0xa06e9fe3 at sbuf_extend+0x63 #5 0xa06e9e2d at sbuf_put_bytes+0x6d #6 0xa06ea352 at sbuf_putc_func+0x22 #7 0xa06e5b0b at kvprintf+0x99b #8 0xa06ea3ab at sbuf_printf+0x4b #9 0xb08667cf at sysctl_ieee80211coms+0xef #10 0xa06b0bcd at sysctl_root_handler_locked+0xad #11 0xa06b03e2 at sysctl_root+0x1d2 #12 0xa06b094a at userland_sysctl+0x17a #13 0xa06b0788 at sys___sysctl+0x98 #14 0xa0899378 at syscall+0x388 #15 0xa0884e7f at Xint0x80_syscall+0x2f --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Feb 25 20:12:57 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF01EAB4AF8 for ; Thu, 25 Feb 2016 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFB0A1234 for ; Thu, 25 Feb 2016 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1PKCvYh017483 for ; Thu, 25 Feb 2016 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207497] [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed Date: Thu, 25 Feb 2016 20:12:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 20:12:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207497 --- Comment #1 from Andriy Voskoboinyk --- (Probably, an inelegant) way to fix this issue: 1) lock the mutex; 2) count needed size by iterating over ic_head list; 3) allocate required memory; 4) copy all names to it (yet another iteration); 5) unlock the mutex; 6) pass the data to SYSCTL_OUT() 7) free the memory. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Feb 25 21:07:54 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EBD1AB45B3 for ; Thu, 25 Feb 2016 21:07:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7122737C for ; Thu, 25 Feb 2016 21:07:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1PL7st1099487 for ; Thu, 25 Feb 2016 21:07:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207497] [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed Date: Thu, 25 Feb 2016 21:07:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glebius@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 21:07:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207497 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebius@FreeBSD.org Assignee|freebsd-wireless@FreeBSD.or |glebius@FreeBSD.org |g | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Fri Feb 26 11:18:30 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D6F7AB43AB for ; Fri, 26 Feb 2016 11:18:30 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from gate1.bader-muenchen.de (gate1.bader-muenchen.de [213.179.151.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D72901F36 for ; Fri, 26 Feb 2016 11:18:28 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from [IPv6:::1] (gate.bader.loc [192.168.16.3]) by gate1.bader-muenchen.de (8.15.2/8.15.2) with ESMTP id u1QB8PW0018400; Fri, 26 Feb 2016 12:08:25 +0100 (CET) (envelope-from richard@bader-muenchen.de) To: freebsd-wireless@freebsd.org Cc: richard@bader-muenchen.de From: richard bader Subject: ath0 (wlan0) not working in virtulised guest with bhyve Message-ID: <56D03253.1040200@bader-muenchen.de> Date: Fri, 26 Feb 2016 12:09:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Feb 2016 11:18:30 -0000 Hello, using ath0 (and wlan) on the host is work fine. But trying the same on the guest does not work. on the host freebsd 10.2 ist running on the guest freebsd 10.3 (10.3-BETA2 FreeBSD 10.3-BETA2 #0) is running the guest was started with: /usr/sbin/bhyve -c 2 -m 2048M -A -H -P -g 0 -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-net,tap1 -s 4:0,virtio-blk,wlan.bader.loc.img -s 5,passthru,5/0/0 -l com1,stdio wlan As simple experiment I try to scan for wlans using: root@wlan:~ #ifconfig wlan0 create wlandev ath0 && ifconfig wlan0 up scan but no wlan appears. the output of 'ifconfig wlan0' is the same as on the working host: root@wlan:~ # ifconfig wlan0 wlan0: flags=8c43 metric 0 mtu 1500 ether f4:f2:6d:7d:e7:52 inet6 fe80::f6f2:6dff:fe7d:e752%wlan0 prefixlen 64 scopeid 0x5 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 13 (2472 MHz 11g) regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7 scanvalid 60 protmode CTS wme burst bintval 0 the output for 'ssid "" channel 13 (2472 MHz 11g)' changes cyclic. root@wlan:~ # dmesg | grep ath0 ath0: mem 0xc0010000-0xc001ffff irq 16 at device 5.0 on pci0 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9287 mac 384.2 RF5133 phy 15.15 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 root@wlan:~ # /usr/src/tools/tools/ath/athstats/athstats 235 data frames received 989 data frames transmit 1M current transmit rate 50 rx failed 'cuz of bad CRC -0/+0 TDMA slot adjust (usecs, smoothed) 11 avg recv rssi -96 rx noise floor 989 tx frames through raw api 1 OFDM weak signal detect 990 ANI disabled OFDM weak signal detect 990 ANI disabled CCK weak signal threshold 3 bad FCS 11 average rssi (beacons only) Antenna profile: [0] tx 988 rx 0 [1] tx 0 rx 235 any hints to get it working? thanks richard From owner-freebsd-wireless@freebsd.org Fri Feb 26 15:29:26 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FBABAB5113 for ; Fri, 26 Feb 2016 15:29:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D33BF158B for ; Fri, 26 Feb 2016 15:29:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x22f.google.com with SMTP id xg9so36667924igb.1 for ; Fri, 26 Feb 2016 07:29:25 -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; bh=lf6aquhYve72eJCZntI4Rt5ze2QbgTdCj7TaYNAbuKo=; b=jJURGfjQqPH5vNGoHWe9kYesu1rpTmhFkx2sCJid5OEnOVv7Aj23yJw9UiSb9pPNW2 +aDdEPGe9Ce10duxKkXfNR5s4nnXFiB14pw9SHqYkomCUay3XKcxvMHbccvm6nlZrj7q Sl0T4k8S8KsbYctFuGiRPsiGdD1PW7bDp2LmHxaopVMwtt43btEPWnPiRgxB9kL4OJ0h ixlhkA+YNGfmAWbuDJbOwHxjLPX3Ds7tl2pqGyS+C9nf0qJD9vgFhLaNHRkAShuDQyz4 +nnt1OvsvVLG8QUdPpHUuDQAEagPPZ/mlkHK/LROTq8M4kwmzu+rm8nIsVxUzlOS8o95 Ua7A== 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; bh=lf6aquhYve72eJCZntI4Rt5ze2QbgTdCj7TaYNAbuKo=; b=kCCAU5PO/pD/AGGGeyc41Eq02mW0Dj9hzBU+tECvLr/4400DFhVfma4C/3liDIwFlk XM5atBF8MbMYqpD4gKdCtjE+wXU3jSZW70usRgdsknVMvzMaC+g7lT39zwXdLZ/5cg90 xcybX54UFOgf8CtTcHxlUjsgfpskG659NE650nywOcDojMZ2GqHa9uaOD5alnbdpX7+y CeiKit5bFcGhsGZOkh+FjsnM2QvYdSpcq+F6BmIErwHzKY4+y7o66qp5M8rODT/abOCT fXkunt7qbrhhTLK9KlzXY+0cNfgQW2ugFrmi5TBUxxQ3dyATs7VMFebZxPljujF3QJuW KwqA== X-Gm-Message-State: AD7BkJLtBh2VJyMF4VwsetdekH01Yx7NBZ7bKfv6Phw4WSnwBDlh6b9HGGf/Vyd55yRNulK0F74lIs6ECWvSJw== MIME-Version: 1.0 X-Received: by 10.50.13.8 with SMTP id d8mr3406708igc.37.1456500565092; Fri, 26 Feb 2016 07:29:25 -0800 (PST) Received: by 10.36.14.19 with HTTP; Fri, 26 Feb 2016 07:29:25 -0800 (PST) In-Reply-To: <56D03253.1040200@bader-muenchen.de> References: <56D03253.1040200@bader-muenchen.de> Date: Fri, 26 Feb 2016 07:29:25 -0800 Message-ID: Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve From: Adrian Chadd To: richard bader Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Feb 2016 15:29:26 -0000 hm, no idea. whats vmstat -ia in the guest say? -a On 26 February 2016 at 03:09, richard bader wrote: > Hello, > > using ath0 (and wlan) on the host is work fine. But trying the same on the > guest does not work. > > on the host freebsd 10.2 ist running > on the guest freebsd 10.3 (10.3-BETA2 FreeBSD 10.3-BETA2 #0) is running > > the guest was started with: > /usr/sbin/bhyve -c 2 -m 2048M -A -H -P -g 0 -s 0:0,hostbridge -s > 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-net,tap1 -s > 4:0,virtio-blk,wlan.bader.loc.img -s 5,passthru,5/0/0 -l com1,stdio wlan > > As simple experiment I try to scan for wlans using: > root@wlan:~ #ifconfig wlan0 create wlandev ath0 && ifconfig wlan0 up scan > but no wlan appears. > > the output of 'ifconfig wlan0' is the same as on the working host: > > root@wlan:~ # ifconfig wlan0 > wlan0: flags=8c43 metric 0 > mtu 1500 > ether f4:f2:6d:7d:e7:52 > inet6 fe80::f6f2:6dff:fe7d:e752%wlan0 prefixlen 64 scopeid 0x5 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 13 (2472 MHz 11g) > regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF > txpower 20 bmiss 7 scanvalid 60 protmode CTS wme burst bintval 0 > > the output for 'ssid "" channel 13 (2472 MHz 11g)' changes cyclic. > > > root@wlan:~ # dmesg | grep ath0 > ath0: mem 0xc0010000-0xc001ffff irq 16 at device 5.0 on pci0 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9287 mac 384.2 RF5133 phy 15.15 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > > root@wlan:~ # /usr/src/tools/tools/ath/athstats/athstats > 235 data frames received > 989 data frames transmit > 1M current transmit rate > 50 rx failed 'cuz of bad CRC > -0/+0 TDMA slot adjust (usecs, smoothed) > 11 avg recv rssi > -96 rx noise floor > 989 tx frames through raw api > 1 OFDM weak signal detect > 990 ANI disabled OFDM weak signal detect > 990 ANI disabled CCK weak signal threshold > 3 bad FCS > 11 average rssi (beacons only) > Antenna profile: > [0] tx 988 rx 0 > [1] tx 0 rx 235 > > > any hints to get it working? > > thanks > > richard > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Fri Feb 26 15:52:03 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8F93AB5AE0 for ; Fri, 26 Feb 2016 15:52:03 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from gate1.bader-muenchen.de (gate1.bader-muenchen.de [213.179.151.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66544B54 for ; Fri, 26 Feb 2016 15:52:02 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from [IPv6:::1] (gate.bader.loc [192.168.16.3]) by gate1.bader-muenchen.de (8.15.2/8.15.2) with ESMTP id u1QFpvY5035170; Fri, 26 Feb 2016 16:51:58 +0100 (CET) (envelope-from richard@bader-muenchen.de) Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve To: Adrian Chadd References: <56D03253.1040200@bader-muenchen.de> Cc: richard@bader-muenchen.de, freebsd-wireless@freebsd.org From: richard bader Message-ID: <56D074C6.10309@bader-muenchen.de> Date: Fri, 26 Feb 2016 16:52:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Feb 2016 15:52:03 -0000 Hey Adrian, > vmstat -ia root@wlan:~ # vmstat -ia interrupt total rate ??? 0 0 irq1: atkbd0 0 0 stray irq1 0 0 irq0: attimer0 0 0 stray irq0 0 0 irq3: uart1 0 0 stray irq3 0 0 irq4: uart0 226 1 stray irq4 0 0 irq5: 0 0 stray irq5 0 0 irq6: 0 0 stray irq6 0 0 irq7: 0 0 stray irq7 0 0 irq8: atrtc0 0 0 stray irq8 0 0 irq9: acpi0 0 0 stray irq9 0 0 irq10: 0 0 stray irq10 0 0 irq11: 0 0 stray irq11 0 0 irq12: 0 0 stray irq12 0 0 irq13: 0 0 stray irq13 0 0 irq14: 0 0 stray irq14 0 0 irq15: 0 0 stray irq15 0 0 irq16: ath0 0 0 stray irq16 0 0 irq17: 0 0 stray irq17 0 0 irq18: 0 0 stray irq18 0 0 irq19: 0 0 stray irq19 0 0 irq20: 0 0 stray irq20 0 0 irq21: 0 0 stray irq21 0 0 irq22: 0 0 stray irq22 0 0 irq23: 0 0 stray irq23 0 0 cpu0:timer 8608 42 irq256: hpet0:t0 0 0 stray irq256 0 0 irq257: hpet0:t1 0 0 stray irq257 0 0 irq258: hpet0:t2 0 0 stray irq258 0 0 irq259: hpet0:t3 0 0 stray irq259 0 0 irq260: hpet0:t4 0 0 stray irq260 0 0 irq261: hpet0:t5 0 0 stray irq261 0 0 irq262: hpet0:t6 0 0 stray irq262 0 0 irq263: hpet0:t7 0 0 stray irq263 0 0 irq264: virtio_pci0 0 0 stray irq264 0 0 irq265: virtio_pci0 411 2 stray irq265 0 0 irq266: virtio_pci0 0 0 stray irq266 0 0 irq267: virtio_pci1 0 0 stray irq267 0 0 irq268: virtio_pci1 0 0 stray irq268 0 0 irq269: virtio_pci1 0 0 stray irq269 0 0 irq270: virtio_pci2 0 0 stray irq270 0 0 irq271: virtio_pci2 1258 6 stray irq271 0 0 cpu1:timer 7842 38 Total 18345 90 From owner-freebsd-wireless@freebsd.org Fri Feb 26 16:03:28 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EFCAAB53F6 for ; Fri, 26 Feb 2016 16:03:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F21F61F16 for ; Fri, 26 Feb 2016 16:03:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id g203so126394642iof.2 for ; Fri, 26 Feb 2016 08:03:27 -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; bh=6FbpxJZcmAQqW9N2K183JdR//Z7J32Fe6QFzagsXpio=; b=otnPV7T+BRy1zpym+1npSAGlJD5NgnX2eckv6rtsDZWSOQPUk7sxg0QBJIc7VmGN9A 1VZO9l37C/f+KIVRRFYoU40hYUNPrOClTzJWs5apu3wcFkjtmQEYyLDBe9Zr5aogJuFw GUSo9NAMZfcqQz91vOziBgFRL3yD1KKu1SqyI15xw9TaymsrZJ6FvpctGMGh4tc4Jpet X67fYOz3TYfeJ1SA1XTr4GTLCXfw2eamySrP0enYiwTFOtdsKSFGfOmDtY658bQruoRO Hb00FUkHhQqZPO7yLc3TwUn0NwRf56ZQ1GpHLyXqxs39+z91Jvtj/DVjhy/wIYmVHcgL PFlA== 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; bh=6FbpxJZcmAQqW9N2K183JdR//Z7J32Fe6QFzagsXpio=; b=ZmUzkcNt8cE1yPaa3Glt6LPod/CqipgesAqKeeWlEcJV7fThCROcewpwlrV16sy899 jaCev3Xt+8prWtiqdI8jdotCuhXlqTR0jTO+ixnkEsfAqH9JAJeql2l2rwPwbsbx0Lr/ Uk+LK8QnaZYBHi5txGWfqDGPLv+RdziGX/sddqGbrvcDDjHVP17/Zr1jxrIQyXP8BF46 Rn0nJ3NxXmNBNe/XVRiOOupg2ysxf7yorxQXiRzD/uR8qEquJ3WbEutH8hhi66jOIlS2 xrgts7//42dIrr1gwhZdIvdonqP79H9LFJ/pfc9OHaebGn0NnfBjusg7a9eMDArTUKJ+ qsQg== X-Gm-Message-State: AG10YOTP8UxUDuklSm7f5dk/36adM0JmYE9XFzCd7p9nqWqvGMkCAvPE8Dkp0ZQJoEVhFRT2J672F3iRxEMLpg== MIME-Version: 1.0 X-Received: by 10.107.132.142 with SMTP id o14mr8706534ioi.75.1456502607358; Fri, 26 Feb 2016 08:03:27 -0800 (PST) Received: by 10.36.14.19 with HTTP; Fri, 26 Feb 2016 08:03:27 -0800 (PST) In-Reply-To: <56D074C6.10309@bader-muenchen.de> References: <56D03253.1040200@bader-muenchen.de> <56D074C6.10309@bader-muenchen.de> Date: Fri, 26 Feb 2016 08:03:27 -0800 Message-ID: Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve From: Adrian Chadd To: richard bader Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Feb 2016 16:03:28 -0000 Right: irq16: ath0 0 0 If you've been doing any transmit traffic (ie, scan/associate) then you should've received interrupts.. -a On 26 February 2016 at 07:52, richard bader wrote: > Hey Adrian, >> >> vmstat -ia > > root@wlan:~ # vmstat -ia > interrupt total rate > ??? 0 0 > irq1: atkbd0 0 0 > stray irq1 0 0 > irq0: attimer0 0 0 > stray irq0 0 0 > irq3: uart1 0 0 > stray irq3 0 0 > irq4: uart0 226 1 > stray irq4 0 0 > irq5: 0 0 > stray irq5 0 0 > irq6: 0 0 > stray irq6 0 0 > irq7: 0 0 > stray irq7 0 0 > irq8: atrtc0 0 0 > stray irq8 0 0 > irq9: acpi0 0 0 > stray irq9 0 0 > irq10: 0 0 > stray irq10 0 0 > irq11: 0 0 > stray irq11 0 0 > irq12: 0 0 > stray irq12 0 0 > irq13: 0 0 > stray irq13 0 0 > irq14: 0 0 > stray irq14 0 0 > irq15: 0 0 > stray irq15 0 0 > irq16: ath0 0 0 > stray irq16 0 0 > irq17: 0 0 > stray irq17 0 0 > irq18: 0 0 > stray irq18 0 0 > irq19: 0 0 > stray irq19 0 0 > irq20: 0 0 > stray irq20 0 0 > irq21: 0 0 > stray irq21 0 0 > irq22: 0 0 > stray irq22 0 0 > irq23: 0 0 > stray irq23 0 0 > cpu0:timer 8608 42 > irq256: hpet0:t0 0 0 > stray irq256 0 0 > irq257: hpet0:t1 0 0 > stray irq257 0 0 > irq258: hpet0:t2 0 0 > stray irq258 0 0 > irq259: hpet0:t3 0 0 > stray irq259 0 0 > irq260: hpet0:t4 0 0 > stray irq260 0 0 > irq261: hpet0:t5 0 0 > stray irq261 0 0 > irq262: hpet0:t6 0 0 > stray irq262 0 0 > irq263: hpet0:t7 0 0 > stray irq263 0 0 > irq264: virtio_pci0 0 0 > stray irq264 0 0 > irq265: virtio_pci0 411 2 > stray irq265 0 0 > irq266: virtio_pci0 0 0 > stray irq266 0 0 > irq267: virtio_pci1 0 0 > stray irq267 0 0 > irq268: virtio_pci1 0 0 > stray irq268 0 0 > irq269: virtio_pci1 0 0 > stray irq269 0 0 > irq270: virtio_pci2 0 0 > stray irq270 0 0 > irq271: virtio_pci2 1258 6 > stray irq271 0 0 > cpu1:timer 7842 38 > Total 18345 90 From owner-freebsd-wireless@freebsd.org Sat Feb 27 04:36:20 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89825AB6421 for ; Sat, 27 Feb 2016 04:36:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79E7915D4 for ; Sat, 27 Feb 2016 04:36:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1R4aKF9039633 for ; Sat, 27 Feb 2016 04:36:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207537] wireless does not associate properly - AR9565 Date: Sat, 27 Feb 2016 04:36:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ntremble@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 04:36:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207537 Bug ID: 207537 Summary: wireless does not associate properly - AR9565 Product: Base System Version: 10.3-BETA2 Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: ntremble@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 167466 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167466&action= =3Dedit dmesg with AR9565 active and non-functional Generic kernel, 10.3-BETA3 (same issue with 10.3-BETA2 and 10.2-RELEASE). HP 15-d070TU laptop. As of this morning I am running 10.3-BETA3, upgraded from 10.2-BETA2 using freebsd-update -r 10.3-BETA3 upgrade, but all comments below apply to 10.3-BETA3, 10.3-BETA2 and 10.2-RELEASE at least. uname -a: FreeBSD frog 10.3-BETA3 FreeBSD 10.3-BETA3 #0 r296074: Fri Feb 26 01:13:37 = UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 When I enable the AR9565 Wi-Fi in my laptop the system makes all the right noises but cannot start dhclient. The ath0 interface shows as associated but wlan0 shows no carrier. The extract below shows this. Full logs and configuration files are attached. The visible symptoms are that the system regularly emits messages such as: "ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping" and the wireless interface is unable to route packets. The wired ethernet goes to the same router and functions perfectly. This is= sue with the wireless was *not* present in 11.0-CURRENT when I last tried it a couple of months back, and the wireless in this same laptop worked perfectly with the same router and an unchanged configuration. The closest match I can find is this one, which has similar symptoms but the requester did not respond to the last question: #188415. My response to that question is that I am running the generic kernel fresh from the freebsd-upd= ate process. neilt@frog:~ % ifconfig ... ath0: flags=3D8843 metric 0 mtu 2290 ether b8:ee:65:39:de:46 nd6 options=3D21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated ... wlan0: flags=3D8843 metric 0 mtu 15= 00 ether b8:ee:65:39:de:46 nd6 options=3D29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 11 (2462 MHz 11g ht/20) regdomain 106 indoor ecm authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 8k ampdudensity 8 shortgi wme burst roaming MANUAL neilt@frog:~ %=20 loader.conf: kern.vty=3Dvt if_ath_load=3D"YES" fuse_load=3D"YES" vboxdrv_load=3D"YES" rc.conf: hostname=3D"frog" ifconfig_re0=3D"DHCP" wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA SYNCDHCP" sshd_enable=3D"YES" powerd_enable=3D"YES" dumpdev=3D"AUTO" fusefs_enable=3D"YES" devfs_system_ruleset=3D"localrules" dbus_enable=3D"YES" hald_enable=3D"YES" #kdm4_enable=3D"YES" lpd_enable=3D"YES" vboxnet_enable=3D"YES" devfs_system_ruleset=3D"system" wpa_supplicant.conf: network=3D{ ssid=3D"my ssid" psk=3D"my psk" } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Feb 27 04:37:52 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B771AB646A for ; Sat, 27 Feb 2016 04:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0BF81624 for ; Sat, 27 Feb 2016 04:37:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1R4bptD041700 for ; Sat, 27 Feb 2016 04:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207537] wireless does not associate properly - AR9565 Date: Sat, 27 Feb 2016 04:37:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ntremble@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 04:37:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207537 --- Comment #1 from Neil Tremble --- Created attachment 167467 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167467&action= =3Dedit ifconfig with AR9565 active and non-functional --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Feb 27 04:39:41 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8896BAB64F0 for ; Sat, 27 Feb 2016 04:39:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 799CB1745 for ; Sat, 27 Feb 2016 04:39:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1R4dfs0044259 for ; Sat, 27 Feb 2016 04:39:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207537] wireless does not associate properly - AR9565 Date: Sat, 27 Feb 2016 04:39:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ntremble@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 04:39:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207537 --- Comment #2 from Neil Tremble --- Created attachment 167468 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167468&action= =3Dedit rc.conf with AR9565 active and non-functional --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Feb 27 04:40:17 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9F31AB653E for ; Sat, 27 Feb 2016 04:40:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB219176C for ; Sat, 27 Feb 2016 04:40:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1R4eHCj045226 for ; Sat, 27 Feb 2016 04:40:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207537] wireless does not associate properly - AR9565 Date: Sat, 27 Feb 2016 04:40:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ntremble@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 04:40:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207537 --- Comment #3 from Neil Tremble --- Created attachment 167469 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167469&action= =3Dedit uname -a output --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Feb 27 21:22:00 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EE33AB69D2 for ; Sat, 27 Feb 2016 21:22:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31D5A1E07 for ; Sat, 27 Feb 2016 21:22:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1RLLxbL033354 for ; Sat, 27 Feb 2016 21:22:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 207537] wireless does not associate properly - AR9565 Date: Sat, 27 Feb 2016 21:22:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ntremble@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 21:22:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207537 --- Comment #4 from Neil Tremble --- I subsequently commented out the wireless related lines in loader.conf and rc.conf, rebooting, then executing the commands manually: # kldload if_ath # ifconfig wlan0 create wlandev ath0 # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf # dhclient wlan0 The kldload is not required as it says the module is already loaded or in t= he kernel. The ifconfig and wpa_supplicant commands appear to work properly. T= he dhclient command does not obtain an address. If I manually assign an addres= s: # ifconfig wlan0 inet 10.0.0.80 netmask 255.255.255.0 routing still fails. At one stage I noticed the association had gone, so I might need to do more there to get it to work at all. I'll keep trying to get it going with a static IP because I would like to be able to say for sure whether the issue is in the interface setup or just a dhclient thing. A static IP will do in the short term; if I can get that working at least my wireless will be usable. As it is my laptop is tied the the wired ethernet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Feb 27 22:56:43 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67805AB7875 for ; Sat, 27 Feb 2016 22:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 595A5288 for ; Sat, 27 Feb 2016 22:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1RMuhsG055732 for ; Sat, 27 Feb 2016 22:56:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 197498] [net80211]: Setting ssid on running interface in adhoc mode causes panic Date: Sat, 27 Feb 2016 22:56:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Feb 2016 22:56:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197498 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avos@freebsd.org Status|New |Open --- Comment #4 from Andriy Voskoboinyk --- Looks like removing 'vap->iv_flags_ext |=3D IEEE80211_FEXT_REINIT;' line fr= om ieee80211_proto.c fixes this issue. --=20 You are receiving this mail because: You are the assignee for the bug.=