From owner-freebsd-wireless@freebsd.org Sun Sep 13 06:50:27 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77F623EEE0F for ; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bq0Vq2ffRz3Xpv for ; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5AA6D3EE974; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A6D13EEBC7 for ; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bq0Vq1lBzz3Xmk for ; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0660C219FB for ; Sun, 13 Sep 2020 06:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08D6oQKj035342 for ; Sun, 13 Sep 2020 06:50:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08D6oQoN035341 for wireless@FreeBSD.org; Sun, 13 Sep 2020 06:50:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sun, 13 Sep 2020 06:50:27 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.33 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, 13 Sep 2020 06:50:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 Bug ID: 249287 Summary: 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: sreeharisreedev1@gmail.com Created attachment 217927 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217927&action= =3Dedit boot dmesg I have an Intel 9560 on my ThinkPad X1 Carbon Gen7 and in dmesg the init fa= ils here: iwm0: mem 0xea238000-0xea23bfff at de= vice 20.3 on pci0 iwm0: fw chunk addr 0x404000 len 712 failed to load iwm0: iwm_pcie_load_section: Could not load the [0] uCode section iwm0: iwm_start_fw: failed 60 iwm0: Failed to start INIT ucode: 60 I see that some work was done in FreeBSD for the 9560 since 12.1-RELEASE, a= nd I appreciate the efforts! I just want it to be known that while the device is actually detected this time, the firmware fails to load, so that possibly t= his problem can be rectified in time for the full release. I have attached a fu= ll dmesg here: https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5669 Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 13 11:05:13 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDD483D5712 for ; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bq68n4cyqz43Ds for ; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9E89A3D562C; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E51A3D5711 for ; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bq68n3nX9z42y2 for ; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6176D24C49 for ; Sun, 13 Sep 2020 11:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DB5DOj073885 for ; Sun, 13 Sep 2020 11:05:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08DB5DYP073884 for wireless@FreeBSD.org; Sun, 13 Sep 2020 11:05:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sun, 13 Sep 2020 11:05:12 +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 Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 13 Sep 2020 11:05:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org Status|New |Open --- Comment #1 from Bjoern A. Zeeb --- None of your dmesg parts seems to be from a boot verbose. Can you please share the output of pciconf -lBbcevV iwm0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 13 12:47:31 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 96E593D8EEA for ; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bq8Qq3XLBz47ZF for ; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7943D3D9121; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 790E63D91C6 for ; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bq8Qq2fdkz47RN for ; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3E9B325FCB for ; Sun, 13 Sep 2020 12:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DClVHB087610 for ; Sun, 13 Sep 2020 12:47:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08DClVj5087609 for wireless@FreeBSD.org; Sun, 13 Sep 2020 12:47:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 247528] RTL8192EU usb wifi dongle can't connect to AP Date: Sun, 13 Sep 2020 12:47:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: danilo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@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.33 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, 13 Sep 2020 12:47:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 --- Comment #5 from Danilo Egea Gondolfo --- I'm using it on hostap mode right now and it works perfectly. I'm accessing= the internet in my smartphone through it. wlan1: flags=3D8843 metric 0 mtu 15= 00 ether d0:37:45:0a:a3:81 inet6 fe80::d237:45ff:fe0a:a381%wlan1 prefixlen 64 scopeid 0x4 inet 172.17.0.1 netmask 0xffffff00 broadcast 172.17.0.255 groups: wlan ssid capetinha channel 10 (2457 MHz 11g ht/20) bssid d0:37:45:0a:a3= :81 regdomain NONE country UA authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60 protmode CTS h= t20 ampdulimit 64k ampdudensity 16 shortgi -stbc -ldpc -uapsd wme dtimperiod 1 -dfs parent interface: rtwn0 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running nd6 options=3D21 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 13 18:12:30 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF17C3E2F13 for ; Sun, 13 Sep 2020 18:12:30 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) Received: from sonic312-24.consmr.mail.ne1.yahoo.com (sonic312-24.consmr.mail.ne1.yahoo.com [66.163.191.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqHdn41tLz4TdT for ; Sun, 13 Sep 2020 18:12:29 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) X-YMail-OSG: ekLeQoIVM1n7ucPYvJ3tDj1mpEOs_0NkwscRwo9x2_c6.088Dz.oGsTRd.LpELp BKA0HYtsYoDRMyaf3S4oU3mxoEwTfxqns._EpoHTNMr5p8mAxc.k8UkKa.mQliE8OcBbRGd4L1Iz 1VS_sk.CEWigbmR30cwMrH449rqox.cOgUrW71s3WGsZP00i9XsyVhpEPSJ.4AMu39b72VL8BhkL kis1raNfXdpRRnDk5CMGoFHlQO9DUAP9VHph3JgrBZi0tKyOvvzYsGBFmfaADaTTzWJ3sKvCHjBw VEGa1J6ANi5kprk64J0ah.0g2btCaa3QwOIBtVpy1Tv.HgQRO1u17cL1UDry3Vw9yRCyhOarlcD6 A7hMFX2Bx_t4iD0hiR9yXxmb158FPPMBxnGSBtguaknn2IrdIqoCQFSHYzCrOB.lX15gn.M3mNKM Fnx2n4Qvs5u1Hq3KEErEj8vaCilHtCD80NHNXf4iec0BJjAhQ3g1FO4s1yzTYQ73xzcI_VTPPqIY GId.x_AG8x1giqDLTWG.4LcEkUKTU_eDy0f9thAxF89L_cpzEZx55oyLmSsOmIJ0fBnVF4ESvczg wGGSMJreRk82gIxb_rMOUuJYC6VMc_zshhlht0STrwl_peaBzYmKmNQtCJJtOSuzlyXliWWQDzsI sHvOVK07ecqSku1gjLV2puvBnelguKSMHE11Ot6TGF.IOTZc_Vkck9b54JfVJqVD.8cLrxIqAtUY RwH2YohNjzP6poZdNRkM6hHnHEctYMgA4E5oVJCPa0mwu7vbGv_48AY7nwjejhMwaipA_dfoWOIM JJJ696cTZRrLkSG6uVQS.8U_Gl.lwtttUCBDvxRuNXbzp8Usn7YHOqxfwCQhF5.IF2emlN3p5zs. S4YSkbQ55cVn1SBlUnuAmIgqaE3Ug0XB25E1mHpFuK5Fgz4FyIQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Sep 2020 18:12:27 +0000 Received: by smtp424.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 63f0af7c6bd3e4666d20f2735174f9a4; Sun, 13 Sep 2020 18:12:22 +0000 (UTC) To: freebsd-wireless@freebsd.org From: Anthony Jenkins Subject: Atheros QCA6174 (ath10k) not working Message-ID: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> Date: Sun, 13 Sep 2020 14:12:11 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) X-Rspamd-Queue-Id: 4BqHdn41tLz4TdT X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.020]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.191.205:from]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[66.163.191.205:from]; NEURAL_HAM_SHORT(-0.64)[-0.640]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-wireless]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Sep 2020 18:12:30 -0000 I have a Killer 1535 802.11ac wireless card (chipset =3D Qualcomm Atheros= =20 QCA6174).=C2=A0 I am using the ath10k/athp driver from git repo=20 https://github.com/erikarn/athp.git .=C2=A0 Driver loads, but trying to s= tart=20 the interface fails.=C2=A0 What should I be looking at to fix this? service netif start wlan2: -------------------------------------------------------------------------= -- ifconfig: SIOCIFCREATE2: Input/output error ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant ifconfig: interface wlan2 does not exist rtsol: failed to get link layer information for wlan2 rtsol: failed to initialize wlan2 Starting Network: wlan2. ifconfig: interface wlan2 does not exist -------------------------------------------------------------------------= -- Kernel messages: -------------------------------------------------------------------------= -- athp0: ath10k_start: called; state=3D0 athp0: ath10k_start: state=3D1 athp0: ath10k_download_cal_dt: TODO: device tree check athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: 0x00000069= athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) =2E.. athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) athp0: ath10k_wmi_cmd_send: failed (-35) athp0: failed to enable PMF QOS: -35 athp0: ath10k_core_stop: state=3D1 athp0: ath10k_wait_for_suspend: state=3D1 athp0: ath10k_wmi_pdev_suspend_target: called athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) =2E.. athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) athp0: ath10k_wmi_cmd_send: failed (-35) athp0: could not suspend target (-35) athp0: ath10k_pci_irq_sync: TODO athp0: ath10k_pci_kill_tasklet: called athp0: ath10k_htt_tx_free: called athp0: ath10k_htt_tx_free: tearing down htt locks athp0: athp_vap_create: ath10k_start failed; ret=3D-35 -------------------------------------------------------------------------= -- Some notable errors from 'kldload if_athp.ko': * Driver fails to load firmware file athp_QCA6174_hw3.0/firmware-5.bin;=20 it does load file 'athp_QCA6174_hw3.0_firmware-4.bin'. athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin athp_cal-pci-athp0.bin: could not load firmware image, error 2 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_board.bin firmware: 'athp_QCA6174_hw3.0_board.bin' version 1: 8124 bytes loaded at = 0xffffffff84458000 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-5.= bin athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, error 2= athp0: could not fetch firmware file 'athp_QCA6174_hw3.0/firmware-5.bin':= -1 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-4.= bin firmware: 'athp_QCA6174_hw3.0_firmware-4.bin' version 1: 733784 bytes=20 loaded at 0xffffffff8445d000 I assume file 'athp_cal-pci-athp0.bin' is optional calibration data. * 'htc ep 2 out of TX credits (0 < 1)' repeated 144 times * ath10k_wmi_cmd_send failure athp0: ath10k_wmi_cmd_send: failed (-35) athp0: could not suspend target (-35) My full kernel messages from kldload(8) and netif are at=20 http://www.qtchat.org/~ajenkins/ . Thanks, Anthony Jenkins From owner-freebsd-wireless@freebsd.org Sun Sep 13 18:53:53 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2B83A3E44B4 for ; Sun, 13 Sep 2020 18:53:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqJYX3VsGz4X3X for ; Sun, 13 Sep 2020 18:53:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qv1-xf30.google.com with SMTP id f11so7884054qvw.3 for ; Sun, 13 Sep 2020 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L0I5ukRSqLekSljghCBHDzCaE4ACyA8ZkscNyFeoZZM=; b=CTK8yMPB1yWwzLc/+pjwCBg2b21SQyDOraaiDBnM5U+ui5cYT3jjnlbV0F4ZPq5grn ZEV9vV6kea8qaQw6qNmN126dW3AvLZVXpCGi4SM2kmQHKp0Eg6BsJyYamCZAFah8Wt0G 5EY7/2K3G+FFknXFNh3qyRl5KRcHQU1uzQxSvDhR9zBRj495sT30PvPTnu0WDo1WFW8a uuBAwuAaigMAzEVBwvDyqPNqd6agkLQvuTyGYOc/aJvjyGEGgjg+VXGCpY31BJhPJhMU PF8m/urythFEEoK5fqCHspgTeFjfYIOTusCD5tZXhrrL9YQnIv2oBCUQGw1mbzOoTuZh 4trw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L0I5ukRSqLekSljghCBHDzCaE4ACyA8ZkscNyFeoZZM=; b=jwcWUcKcPnA2eo2sXAO7QAIG9xI2waa7KOA8nCNXAYi14DB+nUbhVQVFoiZyDMKblN Hwk3a3CiwPjXvuYQ/xoPa8hnecaWFyCsh+zXlAVMdIAx9uFHo7gP2SzjhdvprGKAmjB4 nir+LUssZing2NPy1zA0K+JSxc0CHxVWuFq9kj2yMyBKXhRem90OyCLmgerVW2aSTMSO MTQq2FxR47Kv2YoDIpQ0wrgSfUmkcIngMjLQ2SUZNbYrXwr5xOpSmfPoWKhu3BEkR6xR 0LwnnZ4DeYyJPyOKjEodEsmGeONC4a8KuodKXi48u5MSInQ18nGWyQiRqiNu9E2lWCZ9 6RNg== X-Gm-Message-State: AOAM532Gx2hU3yPy6WTGRp49sa/FFthCWC+FZnpUbjnosG3BCMSOz7Ho 936yBJXZWG36gH+xXGHqrX/ZOWf3HTSGzmJs94o= X-Google-Smtp-Source: ABdhPJxeJi8IM+YIkSenWeZWvJOpeqyHiCMMHH3xkPdum8tVKs7MqFf2H10MsRnqmAFjKu8KZNG7402x73Md4muUgaA= X-Received: by 2002:a0c:f2c4:: with SMTP id c4mr10512183qvm.118.1600023231362; Sun, 13 Sep 2020 11:53:51 -0700 (PDT) MIME-Version: 1.0 References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> In-Reply-To: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> From: Adrian Chadd Date: Sun, 13 Sep 2020 11:53:37 -0700 Message-ID: Subject: Re: Atheros QCA6174 (ath10k) not working To: Anthony Jenkins Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4BqJYX3VsGz4X3X X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CTK8yMPB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::f30 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.43 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.35)[-0.352]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.057]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f30:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Sep 2020 18:53:53 -0000 hi! we're still working on this. It's going to take some time. thanks, -adrian On Sun, 13 Sep 2020 at 11:12, Anthony Jenkins via freebsd-wireless < freebsd-wireless@freebsd.org> wrote: > I have a Killer 1535 802.11ac wireless card (chipset = Qualcomm Atheros > QCA6174). I am using the ath10k/athp driver from git repo > https://github.com/erikarn/athp.git . Driver loads, but trying to start > the interface fails. What should I be looking at to fix this? > > service netif start wlan2: > --------------------------------------------------------------------------- > ifconfig: SIOCIFCREATE2: Input/output error > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > Starting wpa_supplicant. > /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant > ifconfig: interface wlan2 does not exist > rtsol: failed to get link layer information for wlan2 > rtsol: failed to initialize wlan2 > Starting Network: wlan2. > ifconfig: interface wlan2 does not exist > --------------------------------------------------------------------------- > > Kernel messages: > --------------------------------------------------------------------------- > athp0: ath10k_start: called; state=0 > athp0: ath10k_start: state=1 > athp0: ath10k_download_cal_dt: TODO: device tree check > athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: 0x00000069 > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > ... > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: failed to enable PMF QOS: -35 > athp0: ath10k_core_stop: state=1 > athp0: ath10k_wait_for_suspend: state=1 > athp0: ath10k_wmi_pdev_suspend_target: called > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > ... > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: could not suspend target (-35) > athp0: ath10k_pci_irq_sync: TODO > athp0: ath10k_pci_kill_tasklet: called > athp0: ath10k_htt_tx_free: called > athp0: ath10k_htt_tx_free: tearing down htt locks > athp0: athp_vap_create: ath10k_start failed; ret=-35 > --------------------------------------------------------------------------- > > Some notable errors from 'kldload if_athp.ko': > > * Driver fails to load firmware file athp_QCA6174_hw3.0/firmware-5.bin; > it does load file 'athp_QCA6174_hw3.0_firmware-4.bin'. > > athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin > athp_cal-pci-athp0.bin: could not load firmware image, error 2 > athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_board.bin > firmware: 'athp_QCA6174_hw3.0_board.bin' version 1: 8124 bytes loaded at > 0xffffffff84458000 > athp0: ath10k_fetch_fw_file: firmware_get: > athp_QCA6174_hw3.0_firmware-5.bin > athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, error 2 > athp0: could not fetch firmware file 'athp_QCA6174_hw3.0/firmware-5.bin': > -1 > athp0: ath10k_fetch_fw_file: firmware_get: > athp_QCA6174_hw3.0_firmware-4.bin > firmware: 'athp_QCA6174_hw3.0_firmware-4.bin' version 1: 733784 bytes > loaded at 0xffffffff8445d000 > > I assume file 'athp_cal-pci-athp0.bin' is optional calibration data. > > * 'htc ep 2 out of TX credits (0 < 1)' repeated 144 times > > * ath10k_wmi_cmd_send failure > > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: could not suspend target (-35) > > > My full kernel messages from kldload(8) and netif are at > http://www.qtchat.org/~ajenkins/ . > > Thanks, > Anthony Jenkins > > > _______________________________________________ > 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 Sun Sep 13 19:35:32 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81AC53E5522 for ; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqKTc2tHmz4Zwd for ; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 62C9C3E536B; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6292B3E53C2 for ; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqKTc21F2z4Znx for ; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25366AFD8 for ; Sun, 13 Sep 2020 19:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DJZWfZ089168 for ; Sun, 13 Sep 2020 19:35:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08DJZWwf089167 for wireless@FreeBSD.org; Sun, 13 Sep 2020 19:35:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sun, 13 Sep 2020 19:35:31 +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 Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete 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.33 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, 13 Sep 2020 19:35:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 Sreehari S changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #217927|0 |1 is obsolete| | --- Comment #2 from Sreehari S --- Created attachment 217935 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217935&action= =3Dedit Verbose boot dmesg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 13 19:36:34 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB94D3E581E for ; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqKVp5XVmz4ZpJ for ; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BE0293E55F8; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDCB43E5541 for ; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqKVp4gnNz4ZpH for ; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 85419B2B5 for ; Sun, 13 Sep 2020 19:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DJaYGY090850 for ; Sun, 13 Sep 2020 19:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08DJaYcg090849 for wireless@FreeBSD.org; Sun, 13 Sep 2020 19:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sun, 13 Sep 2020 19:36: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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 13 Sep 2020 19:36:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #3 from Sreehari S --- I guess a verbose dmesg would be more helpful, so I've attached it here. He= re's the `pciconf -lBbcevV iwm0` output: iwm0@pci0:0:20:3: class=3D0x028000 card=3D0x00308086 chip=3D0x9df0808= 6 rev=3D0x11 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Cannon Point-LP CNVi [Wireless-AC]' class =3D network bar [10] =3D type Memory, range 64, base 0xea238000, size 16384, enab= led cap 01[c8] =3D powerspec 3 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit=20 cap 10[40] =3D PCI-Express 2 root endpoint max data 128(128) FLR RO NS cap 11[80] =3D MSI-X supports 16 messages, enabled Table in map 0x10[0x2000], PBA in map 0x10[0x3000] ecap 0000[100] =3D unknown 0 ecap 0018[14c] =3D LTR 1 ecap 000b[164] =3D Vendor 1 ID 16 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 13 20:27:57 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3158D3E783B for ; Sun, 13 Sep 2020 20:27:57 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) Received: from sonic317-32.consmr.mail.ne1.yahoo.com (sonic317-32.consmr.mail.ne1.yahoo.com [66.163.184.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqLf422q9z3Vqb for ; Sun, 13 Sep 2020 20:27:55 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) X-YMail-OSG: oYtwR3UVM1l_KiicnWd6iLtBFQzwMgMT0gPGYF_jGopuxcsoevWsYcjkl.XrrWX 2r7XUy57jrUs0trnLoKORJiC5Q7aC7SUxuZbksx5cHv7XVL6CSvWoMdJ_SNwKuDvVk5aaFGItRsE pL4tpvnrjE9iyFjoaAcxFs9lSa7J4haDp.5PGO2N9mwLurG5BwxJOalj4pgk1qGBa8R5RBrKms5w bcsEtVYCCitv.TkjlBMg1oUzbz59jiV5RoyD1V9iot5x2NNPCGXNGfEFngCifoW_CFQiQyX5mUbI 7RF4njk6rtgrcRUhdmzc.iSySWVW89TBhgThBmMeBpUfnR2.gbXXwaRT3siNNqWzAOoMUcq8V2.2 Mj3gqKxruyfBDv49C0_39c7taDq9C6zvRjkFae0oWSCd_qFphPqNwURV1t2sqPLM5mynVp_n0rS9 i7yKYCkJiKI2EvcU7JB7G6tjAz4EMyVpvU233arALqQJASSGYtXiL8OXn6OB1gCJVKCYrHblR3vj 1enVQvHtqqVtXXNfBvbSPT43o6LfTrYo4YYf3rxiAOCw80Vhs1emG1nv0As_oayzm.tHNu7xHtZb a9BNYh6Y86ccShNnah0gKc3.EgWOBStEFRczh9WQSDTr4fSPVBLlItRNvDNxx1lcLTCW5k9My7ez 52Drwqn_NaEbzr2xZ9bSWLL_5loIwP5EbI53YP8qutaiPdOA5pqZFNbdFLjluDAYL38xBhuP0rbt X0igeQGLmZ_QObXop.fVB1E8JjhojrM65bY6WjKVCFIuCBIayh4kmMKsHCiIKBCHOFnpWrGW_VZl R9IUJ8npaFvphu_sYfUL14K2oeuR1BStDzwj1BvdFtxgLlsOCn199BkX.qionZIBy1Azur5k1vaZ hfRhgeGpPQMsUFIwS2.UHz5.6aDu_Nm54k7f2b7iq43nuheDWMIjzYKL7htnDt..jDb2X3dcGR_Y oKth0jsU7BS0RlA3Qh8IGiL_4xwdPxhjzerthqmUS_iRIIXZupGLKQYx6oqQaz9TZvCRUmtsta0R 8uuc7jx2Qr8kHAbfzetI_Nlk9QwX7eigo83jRasuvxifQX.Vv4ZlzVX3VMi6fXruz7d6d9rWWzOm Oohkl0ZUv3L3HHUnWppwjBwtdmAp0oCfL.Buake3Hw4If4n.hWyGZu55MuD95q0UOGyS2R.za133 tMMicvQ0fdHbEsdkbAmh874kdp4dUO7UyioSnvN2USWD8ESW8.BBnK8KGRZtS6nqjGfbCCOlqtVq egNqe2lXWaMXzGFgJ0h8Momz2g7Z5C.hz889onvjbxDE3rNra9RtKxxukLCivqfZ9ZMCg8V2XpG9 CVRxlT1xWoPdQYqxV4REBvVuDvIVyz0Iq6Djf_7jtrqO29bieo.EaJ8CNxU83RVvMLQIktI6n5Pa 5sfQAKu2dgZy5Ab5_4Qy_a.cnnCkffyL8xrNQRzzVHtmgGOoBusIgvsxFJtc0JI587K_Jg4YH4Yt zeC6RuyrUJitZCDBEQ1k_.0x.1yaoPlWE3YTGgEaRCbY1810uk7j.KW_FMSea9hyzQQbp Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Sep 2020 20:27:54 +0000 Received: by smtp412.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6aa01e3659e4f2cb07996c6a8def3186; Sun, 13 Sep 2020 20:27:49 +0000 (UTC) Subject: Re: Atheros QCA6174 (ath10k) not working To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> From: Anthony Jenkins Message-ID: <27e35111-6cee-d609-ffcd-2c78c35504b9@yahoo.com> Date: Sun, 13 Sep 2020 16:27:38 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) X-Rspamd-Queue-Id: 4BqLf422q9z3Vqb X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.23 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.16)[-1.163]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.050]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; NEURAL_HAM_LONG(-1.02)[-1.019]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.184.43:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.184.43:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-wireless] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Sep 2020 20:27:57 -0000 Thanks Adrian, Just wondering if there's anything I can do to help.=C2=A0 I have the dri= ver=20 repo. Anthony On 2020-09-13 14:53, Adrian Chadd wrote: > hi! > > we're still working on this. It's going to take some time. > > thanks, > > > > -adrian > > > On Sun, 13 Sep 2020 at 11:12, Anthony Jenkins via freebsd-wireless=20 > >=20 > wrote: > > I have a Killer 1535 802.11ac wireless card (chipset =3D Qualcomm > Atheros > QCA6174).=C2=A0 I am using the ath10k/athp driver from git repo > https://github.com/erikarn/athp.git .=C2=A0 Driver loads, but tryin= g to > start > the interface fails.=C2=A0 What should I be looking at to fix this?= > > service netif start wlan2: > -------------------------------------------------------------------= -------- > ifconfig: SIOCIFCREATE2: Input/output error > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > ifconfig: interface wlan2 does not exist > Starting wpa_supplicant. > /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant > ifconfig: interface wlan2 does not exist > rtsol: failed to get link layer information for wlan2 > rtsol: failed to initialize wlan2 > Starting Network: wlan2. > ifconfig: interface wlan2 does not exist > -------------------------------------------------------------------= -------- > > Kernel messages: > -------------------------------------------------------------------= -------- > athp0: ath10k_start: called; state=3D0 > athp0: ath10k_start: state=3D1 > athp0: ath10k_download_cal_dt: TODO: device tree check > athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: > 0x00000069 > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > ... > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: failed to enable PMF QOS: -35 > athp0: ath10k_core_stop: state=3D1 > athp0: ath10k_wait_for_suspend: state=3D1 > athp0: ath10k_wmi_pdev_suspend_target: called > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > ... > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: htc ep 2 out of TX credits (0 < 1) > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: could not suspend target (-35) > athp0: ath10k_pci_irq_sync: TODO > athp0: ath10k_pci_kill_tasklet: called > athp0: ath10k_htt_tx_free: called > athp0: ath10k_htt_tx_free: tearing down htt locks > athp0: athp_vap_create: ath10k_start failed; ret=3D-35 > -------------------------------------------------------------------= -------- > > Some notable errors from 'kldload if_athp.ko': > > * Driver fails to load firmware file > athp_QCA6174_hw3.0/firmware-5.bin; > it does load file 'athp_QCA6174_hw3.0_firmware-4.bin'. > > athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin > athp_cal-pci-athp0.bin: could not load firmware image, error 2 > athp0: ath10k_fetch_fw_file: firmware_get: > athp_QCA6174_hw3.0_board.bin > firmware: 'athp_QCA6174_hw3.0_board.bin' version 1: 8124 bytes > loaded at > 0xffffffff84458000 > athp0: ath10k_fetch_fw_file: firmware_get: > athp_QCA6174_hw3.0_firmware-5.bin > athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, > error 2 > athp0: could not fetch firmware file > 'athp_QCA6174_hw3.0/firmware-5.bin': -1 > athp0: ath10k_fetch_fw_file: firmware_get: > athp_QCA6174_hw3.0_firmware-4.bin > firmware: 'athp_QCA6174_hw3.0_firmware-4.bin' version 1: 733784 byt= es > loaded at 0xffffffff8445d000 > > I assume file 'athp_cal-pci-athp0.bin' is optional calibration data= =2E > > * 'htc ep 2 out of TX credits (0 < 1)' repeated 144 times > > * ath10k_wmi_cmd_send failure > > athp0: ath10k_wmi_cmd_send: failed (-35) > athp0: could not suspend target (-35) > > > My full kernel messages from kldload(8) and netif are at > http://www.qtchat.org/~ajenkins/ . > > Thanks, > Anthony Jenkins > > > _______________________________________________ > 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 Sun Sep 13 21:01:09 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C1113E88F6 for ; Sun, 13 Sep 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqMNP05B8z3Y4X for ; Sun, 13 Sep 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id B484A3E8870; Sun, 13 Sep 2020 21:01:08 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A97CE3E88EE for ; Sun, 13 Sep 2020 21:01:08 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqMNM4Ml5z3XcP for ; Sun, 13 Sep 2020 21:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2FE67C1FA for ; Sun, 13 Sep 2020 21:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DL162K050492 for ; Sun, 13 Sep 2020 21:01:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08DL16E6050490 for wireless@FreeBSD.org; Sun, 13 Sep 2020 21:01:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202009132101.08DL16E6050490@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 13 Sep 2020 21:01:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Sep 2020 21:01:09 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 237921 | wpi: Memory leak in function wpi_free_tx_ring of Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 236918 | Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node Open | 238636 | ath: Fix kernel addresses printed in if_ath_sysct Open | 240776 | iwm: Can't find wifi networks after short time si 5 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Wed Sep 16 20:41:56 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C4303F0651 for ; Wed, 16 Sep 2020 20:41:56 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsBpq0Qf1z4FN2 for ; Wed, 16 Sep 2020 20:41:54 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from [192.168.0.12] ([82.29.153.121]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.179]) with ESMTPSA (Nemesis) id 1MrgcU-1kodUK0PUC-00njGT for ; Wed, 16 Sep 2020 22:41:52 +0200 From: James Wright Subject: Edimax EW-7811Un (rtwn): Slow speeds / rate control To: freebsd-wireless@freebsd.org Message-ID: Date: Wed, 16 Sep 2020 21:41:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:58QBHJxRRe9Ea2OPyypDbSCQTQc0l8NLGpKQne6iqkq8qCKCOih NN8v1nQLazl9zo9VWzKlA437l3IUebgAN++FHtWK8EMsfYDnj/1f81QYU6NFR45qY/TYVS2 jESAchvfDufUxQ6U8g5HkXLv6H5ZXd92WbXKGI0j9dwyaBxGQG7E800qO6k+XqxvcMvrkNW cH+DFzl2Xbc9Iox7xfW0A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+AlvZIj78tY=:xzKMbFKy4sfb9Ee4iaj6FQ HceykbSrWRUGDAZOtYYKNjPTQEosH0/srf+NrDk63CmFgPPRchsAKX9w0Wk4VN80OjboQ84Mm RNdn1EFgVeuBrqD3MUlTtkOFsSl00dcJx0FQO9L+V9L5m7QttCFyW1dX4RHpU6LzdMeeVtcnP A7DiGN4v8HHL4ac8ucWuEl5krCPtE1uVgbOcFQTfhD1VlphnNTtMVOnc5pr7PW8QOOvBGVDBf I9ft9gswGczf+KqCGzyKhGeTBATXePXsX4mVHttVROJT+pxgyrBoG9hfdgQkypiScj8HG5tqQ CBy5KZdTAt1La56sa8jxyOQ3KpzP0xVpktc59yWA09ADzCbm4vtaeuENFUPl3+2cT3XGNRvD3 rtS5jlz3bD3oIA96efZmskw1DfmY2R5eIRlpi6vBQqJgG0PYZTXCPTUUe7ndNEHBKoPhz7wRS vAS/b+UPAVyhSNjj9IpMePGqlhlTdNdVxr/I4ACEgEpqIpHzgQKaZ925qgcxiJp5yNpNW2+XT R4tkS8dz5cWqW79fUpT3B4gUnORW3i1eC51TzHxcKhXhp0bUjYvyOc+uvDrG8aQxaW2BSRpVw q9+lREulSgsBAm0kH4NsYbO7+vBvRIj3Mr1MNV/sr29Bowo609hrtXZwwPfu9IeHXC6PuCAcO 4NweITyuzHw/VqXkhxa1/UMo2Bon7cdvxTKQxxJuW8Yzf/erpKU4eDQusN5SWvU/nxSP7UVuM J/mifA/a0PXK5jNinbzWlvsrY6SZH5Ki7GL/mTT0NUXYnTA/GSVyUwOQvmq6ekxAYDO5j7KB/ 3R6Kj/I7QXk5wJpR2V30QFEEvs2dvhLd3QBgHVe7sZsory5kHiVlAVvPlDL71U87Mkk+VIdEg 2//CjRPBH6gqA8TaXd4Q== X-Rspamd-Queue-Id: 4BsBpq0Qf1z4FN2 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of james.wright@digital-chaos.com has no SPF policy when checking 212.227.17.13) smtp.mailfrom=james.wright@digital-chaos.com X-Spamd-Result: default: False [2.71 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.21)[0.211]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[82.29.153.121:received]; ARC_NA(0.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.827]; NEURAL_SPAM_LONG(0.77)[0.767]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.13:from]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[digital-chaos.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-wireless]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.13:from] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 20:41:56 -0000 Hi wireless gurus, I'm trying to understand why this USB wifi dongle is so slow under FreeBSD. The max real-world download rate seems to be capped at ~900KB/sec (see wget below), but with exactly the same hardware and conditions under Win10 I reach ~3MB/sec. OS: FreeBSD 12.2-PRERELEASE (r365055) Router: Virgin Media SuperHub 3 (802.11a/b/g/n/ac) Hardware: Edimax EW-7811Un (RTL8188CUS) Driver: rtwn % grep wlan /etc/rc.conf wlans_rtwn0="wlan0" ifconfig_wlan0="WPA SYNCDHCP" create_args_wlan0="country GB % dmesg | grep rtwn rtwn0 on uhub0 rtwn0: on usbus0 rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R % sysctl dev.rtwn dev.rtwn.0.rx_buf_size: 24 dev.rtwn.0.ratectl_selected: 1 dev.rtwn.0.ratectl: 1 dev.rtwn.0.hwcrypto: 1 dev.rtwn.0.debug: 0 dev.rtwn.0.ht40: 0 dev.rtwn.0.%parent: uhub0 dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0x7811 devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="00e04c000001" release=0x0200 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff dev.rtwn.0.%location: bus=0 hubaddr=1 port=1 devaddr=2 interface=0 ugen=ugen0.2 dev.rtwn.0.%driver: rtwn dev.rtwn.0.%desc: Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, addr 1 dev.rtwn.%parent: % ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 74:da:38:8b:e1:10 inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 groups: wlan ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid c0:05:c2:57:8d:69 regdomain ETSI country GB authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi -stbc -ldpc wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29 % ifconfig wlan0 scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS VM5909357 c0:05:c2:57:8d:69 6 54M -78:-95 100 EPS HTCAP WME ATH RSN % ifconfig wlan0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG c0:05:c2:57:8d:69 1 6 65M 21.5 0 28562 4816 EPS AQEHTRs HTCAP WME ATH RSN (rssi 0.0:0.0:0.0:0.0 nf 0:0:0:0) % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso FreeBSD-12.1-RELEASE-amd64-dvd1.iso 0%[ ] 19.05M 947KB/s eta 79m 18s % wlandebug +rate $ dmesg wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=11, retrycnt=6 wlan0: [c0:05:c2:57:8d:69] AMRR decreasing rate 5 (txcnt=11 retrycnt=6) wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 5, txcnt=36, retrycnt=1 wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 6 (txcnt=36 retrycnt=1) wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=37, retrycnt=7 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=9 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=2 wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 7 (txcnt=36 retrycnt=2) wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=37, retrycnt=12 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=7 wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=10 As you can see the MCS rate is being set by wlan_amrr to MCS 6 and 7, but the actual real-world download rate remains firmly stuck at around ~900KB/sec (!) Please could someone with knowledge of the FreebSD wifi stack help diagnose this problem with me? Interestingly, if i disable ratectl in loader.conf, then i get a slightly higher capped rate of ~1.2MB/sec but still much lower than what should be acheiveable from this network; /boot/loader.conf; if_rtwn_load="YES" if_rtwn_usb_load="YES" legal.realtek.license_ack=1 dev.rtwn.0.ratectl=0 % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso FreeBSD-12.1-RELEASE-amd64-dvd1.iso 0%[ ] 28.55M 1.18MB/s eta 64m 6s Many Tahnks, James From owner-freebsd-wireless@freebsd.org Wed Sep 16 21:36:20 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D9B63F253E for ; Wed, 16 Sep 2020 21:36:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsD1b101Nz4KK7 for ; Wed, 16 Sep 2020 21:36:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qt1-x841.google.com with SMTP id k25so170758qtu.4 for ; Wed, 16 Sep 2020 14:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dXUzBKUo/+GJLR2uy15r+WrjiIN2qIZI5kkXcTCxyw0=; b=EGz7Si0uYaQ+ELGPzBi0I+0MZ/d5wi0ad1eHVpWiaR9FxW+iih1qTidViuGWgLNrnq JYTkqxVKnKeT45cmKjH8RAiw2yu/UpTyNW6AQOeo5BbMeEuSiw51OHRWkgOIQeCKKWoJ iuJrszT3rb2rpaU3TkD9z1IQ+d4nAiecKMfneDBKWTh+27an/bVQKV82qgGcVSHCjMUs AkPATDeSnWlc6AmuOb4D5/G/yZpAqx4ScJboetiqrUoXy4Z/koITsWxhJC8vJ3xBV5/N Dx6z7OdcfPqL2jLXdEVWvGHJL+D2RWqXx3UuXnCpJToJj002DoK08dbq2rMC+Tlpu0IZ GSeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dXUzBKUo/+GJLR2uy15r+WrjiIN2qIZI5kkXcTCxyw0=; b=Xi9ALhZMAgNz8leKUsgl8GCpnHwosJPlxlB4E1+hjyUz2mGF+qWNdZ/Fvtf1m2Bqo5 dS96bIIQdwzn0mqQRfruSv2nhoeb6XNwQ2kRjaZE3/hhtkyXMtP/XthGhAfDLGBxmniR hUGXK+yhBTcIyWyZv6DQcqGwldEK+SAk0KraPV11AIFCKx+kXu/trtZeo2toTpEefqv/ X4cxmeo3ubN9XPG3RnGgUEWpZnlpm8oHHXxvTwo2oxgIi6USbG0K23ughtHTtf0O3+92 jkO03ygtArXL9qiEfMUAblEA6tDUg2CRz2PzSo4sK6RdRfbSBzO+uRdnuwYqogLEvtXe 5+vQ== X-Gm-Message-State: AOAM533jVsOji0uvZAQMPk5rzmGZ4gYhOVpVWUaGRW/yHPQ+Nz3k0XTN 32+Ue9Oe4F3+A9WcffyqrDRD3muQpfmWPIr3/XrjThMmemk= X-Google-Smtp-Source: ABdhPJxYNr4iXbaN16gFDw47s9uuQPxKTSNIeGKigd2WXK99Gn3p+QI5oO6OW6U+G9ahLZm6PsLvMCR+ic+ZIbt949Q= X-Received: by 2002:ac8:4e4e:: with SMTP id e14mr12853766qtw.49.1600292178171; Wed, 16 Sep 2020 14:36:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Wed, 16 Sep 2020 14:36:04 -0700 Message-ID: Subject: Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control To: James Wright Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4BsD1b101Nz4KK7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EGz7Si0u; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::841 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.35 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.40)[-0.399]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.983]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::841:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 21:36:20 -0000 On Wed, 16 Sep 2020 at 13:41, James Wright wrote: > Hi wireless gurus, > > I'm trying to understand why this USB wifi dongle is so slow under > FreeBSD. > The max real-world download rate seems to be capped at ~900KB/sec (see > wget below), > but with exactly the same hardware and conditions under Win10 I reach > ~3MB/sec. > > > OS: FreeBSD 12.2-PRERELEASE (r365055) > Router: Virgin Media SuperHub 3 (802.11a/b/g/n/ac) > Hardware: Edimax EW-7811Un (RTL8188CUS) > Driver: rtwn > > % grep wlan /etc/rc.conf > wlans_rtwn0="wlan0" > ifconfig_wlan0="WPA SYNCDHCP" > create_args_wlan0="country GB > > % dmesg | grep rtwn > rtwn0 on uhub0 > rtwn0: on > usbus0 > rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > % sysctl dev.rtwn > dev.rtwn.0.rx_buf_size: 24 > dev.rtwn.0.ratectl_selected: 1 > dev.rtwn.0.ratectl: 1 > dev.rtwn.0.hwcrypto: 1 > dev.rtwn.0.debug: 0 > dev.rtwn.0.ht40: 0 > dev.rtwn.0.%parent: uhub0 > dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0x7811 devclass=0x00 > devsubclass=0x00 devproto=0x00 sernum="00e04c000001" > release=0x0200 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff > dev.rtwn.0.%location: bus=0 hubaddr=1 port=1 devaddr=2 interface=0 > ugen=ugen0.2 > dev.rtwn.0.%driver: rtwn > dev.rtwn.0.%desc: Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, > addr 1 > dev.rtwn.%parent: > > % ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 > ether 74:da:38:8b:e1:10 > inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 > groups: wlan > ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid > c0:05:c2:57:8d:69 > regdomain ETSI country GB authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 > bmiss 7 > scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 > shortgi > -stbc -ldpc wme roaming MANUAL > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > nd6 options=29 > > % ifconfig wlan0 scan > SSID/MESH ID BSSID CHAN RATE S:N > INT CAPS > VM5909357 c0:05:c2:57:8d:69 6 54M -78:-95 > 100 EPS HTCAP WME ATH RSN > > % ifconfig wlan0 list sta > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > c0:05:c2:57:8d:69 1 6 65M 21.5 0 28562 4816 EPS AQEHTRs > HTCAP WME ATH RSN (rssi 0.0:0.0:0.0:0.0 nf 0:0:0:0) > > % wget > https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > FreeBSD-12.1-RELEASE-amd64-dvd1.iso > > 0%[ ] 19.05M 947KB/s eta 79m 18s > > > % wlandebug +rate > $ dmesg > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=11, retrycnt=6 > wlan0: [c0:05:c2:57:8d:69] AMRR decreasing rate 5 (txcnt=11 retrycnt=6) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 5, txcnt=36, retrycnt=1 > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 6 (txcnt=36 retrycnt=1) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=37, retrycnt=7 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=9 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=2 > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 7 (txcnt=36 retrycnt=2) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=37, retrycnt=12 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=7 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=10 > > As you can see the MCS rate is being set by wlan_amrr to MCS 6 and 7, but > the actual real-world download rate > remains firmly stuck at around ~900KB/sec (!) > > Please could someone with knowledge of the FreebSD wifi stack help > diagnose this problem with me? > hi! You can experiment with limiting the unicast rate - eg ifconfig wlan0 ucastrate 3 for MCS3 when it's in 11n mode. AMRR isn't the best at all at 802.11n rate selection. It may just be over-estimating how great the channel is behaving. However, that's just the transmit rate control. The remote end (ie the sender) is making choices on what rate to use when transmitting to you. So let's see if we can first limit bad choices (and thus taking up too much airtime) transmitting data BACK, and then we can figure out what's up with download speeds. -adrian From owner-freebsd-wireless@freebsd.org Wed Sep 16 22:43:21 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB4443F3E35 for ; Wed, 16 Sep 2020 22:43:21 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsFVw5qZcz4PNc for ; Wed, 16 Sep 2020 22:43:20 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from [192.168.0.12] ([82.29.153.121]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.179]) with ESMTPSA (Nemesis) id 1M4sD3-1kJV5e3itT-0022W2; Thu, 17 Sep 2020 00:43:18 +0200 Subject: Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" References: From: James Wright Message-ID: <31c36c34-f1aa-3d4d-ccd3-3d76dc9bf69e@digital-chaos.com> Date: Wed, 16 Sep 2020 23:43:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:FUB1m2dcUNPgmhmjnUYhg4YGqf/Fu0YpjTTCccaGh/vsvE30gel PZWZvy+geEzHEKc1RPNpHeZBCzxHvuoBFNnju2+rlWnqhmp5cAo0gzXMO5QXAgsjexcL9IV KYaXkik8ujCo4Ej7mSDgMPL7piGg5GZN8jMajGqbw8GkoUsXn+A3z8YJ93qbbTnmQutqCS6 eN26SV9GeOV3wzwQZEZ1Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eE4kZ/5SWCQ=:VpfCdYZ49zy2VspYl5CMHm lZyWDr1Di3vDfStTSTARiZkBcaKuw4/zWCn76jjZYfot2itqIdAVvVkEspYFqTB+dUvs1Dthr n56C/aA7IIApc4jD2TdGzvBd5XZsY3X7pkxlB7GVDwDfGw87jjV7wNCJVcJJYzNklxue95OWo PaHhSBcw8RbOJ3eBitSpthxv2JRe0aKTAptc/QYaVdNPz52sg+IzPtkIACwXb1X1GQG7X7FFE khLSZ8huMUXF0RiohHLOe+OOCSGC7XADEr/bXhzHMAVqSOG+ZrwL0vyj02O2gRae4/tTJTl/P U9MLOtjHLJWn7IX1zSNexl8P11FBTWFnotNwlDI8Mm8vhONq5CXjuHCG1rPrnki+fRSW3vzxH rLw3BAdah2Q3QlwkncJlVaiLTm9gLA62yJEA3ZdmHxpG8MDrCxi443iH2Z9SJQjN/qHjLGl1A /aNUX0wKBibtTS0t1Ip84PbYlcg5gRC9pEUUGyFpBmPvyOf2Y5rG3oqc4IObs/SggxmPC0zon /xJge1f/0mH5lA6fW2F8a8WeQndDAOwnTIeNQ6zfpWRPGvNqfpUgq6FYHcYZaRsXRJ62VD/cW LMg8LJmnICnxk2DO036bOggo1xbGAYseDn0JCrc5yCz7Ok6q43wleaXFzM2u2lE1SJk+wg+uL 1W72KOsvz8b/tTPscABTNfEh4oV1zr37oXyubKMBvDcV+77BdAPtvSwVBJCiXab7+mzFeKVQi VTUhmz5UPbxgeAdK13iCRLlxvHC1fjY56VZnjjIUKMioIZ0GEH4tG0ne+j0xnthwKZNfi0x43 99UXxuskbaX2hDTf/uOBuA/F+LySPwd4Ca1ZfSymeJlFF00Pk7ULbIlTPjT0CfSXMgsGl3vZ5 8+0qO5bPY5JOSh5LT5dg== X-Rspamd-Queue-Id: 4BsFVw5qZcz4PNc X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of james.wright@digital-chaos.com has no SPF policy when checking 212.227.17.24) smtp.mailfrom=james.wright@digital-chaos.com X-Spamd-Result: default: False [1.32 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[82.29.153.121:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.16)[0.161]; NEURAL_HAM_LONG(-0.11)[-0.111]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digital-chaos.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.37)[0.368]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.24:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.24:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 22:43:22 -0000 On 16/09/2020 22:36, Adrian Chadd wrote: > > > On Wed, 16 Sep 2020 at 13:41, James Wright > wrote: > > Hi wireless gurus, > >     I'm trying to understand why this USB wifi dongle is so slow under FreeBSD. > The max real-world download rate seems to be capped at ~900KB/sec (see wget below), > but with exactly the same hardware and conditions under Win10 I reach ~3MB/sec. > > > OS:       FreeBSD 12.2-PRERELEASE (r365055) > Router:   Virgin Media SuperHub 3 (802.11a/b/g/n/ac) > Hardware: Edimax EW-7811Un (RTL8188CUS) > Driver:   rtwn > > % grep wlan /etc/rc.conf > wlans_rtwn0="wlan0" > ifconfig_wlan0="WPA SYNCDHCP" > create_args_wlan0="country GB > > % dmesg | grep rtwn > rtwn0 on uhub0 > rtwn0: on usbus0 > rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > % sysctl dev.rtwn > dev.rtwn.0.rx_buf_size: 24 > dev.rtwn.0.ratectl_selected: 1 > dev.rtwn.0.ratectl: 1 > dev.rtwn.0.hwcrypto: 1 > dev.rtwn.0.debug: 0 > dev.rtwn.0.ht40: 0 > dev.rtwn.0.%parent: uhub0 > dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0x7811 devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="00e04c000001" > release=0x0200 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff > dev.rtwn.0.%location: bus=0 hubaddr=1 port=1 devaddr=2 interface=0 ugen=ugen0.2 > dev.rtwn.0.%driver: rtwn > dev.rtwn.0.%desc: Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, addr 1 > dev.rtwn.%parent: > > % ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 >          ether 74:da:38:8b:e1:10 >          inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 >          groups: wlan >          ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid c0:05:c2:57:8d:69 >          regdomain ETSI country GB authmode WPA2/802.11i privacy ON >          deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7 >          scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi >          -stbc -ldpc wme roaming MANUAL >          media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >          status: associated >          nd6 options=29 > > % ifconfig wlan0 scan > SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS > VM5909357                         c0:05:c2:57:8d:69    6   54M  -78:-95   100 EPS  HTCAP WME ATH RSN > > % ifconfig wlan0 list sta > ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG > c0:05:c2:57:8d:69    1    6  65M 21.5    0  28562   4816 EPS  AQEHTRs HTCAP WME ATH RSN (rssi 0.0:0.0:0.0:0.0 nf > 0:0:0:0) > > % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > FreeBSD-12.1-RELEASE-amd64-dvd1.iso > > 0%[                                       ]  19.05M   947KB/s    eta 79m 18s > > > % wlandebug +rate > $ dmesg > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=11, retrycnt=6 > wlan0: [c0:05:c2:57:8d:69] AMRR decreasing rate 5 (txcnt=11 retrycnt=6) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 5, txcnt=36, retrycnt=1 > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 6 (txcnt=36 retrycnt=1) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=37, retrycnt=7 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=9 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=2 > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 7 (txcnt=36 retrycnt=2) > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=37, retrycnt=12 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=7 > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=10 > > As you can see the MCS rate is being set by wlan_amrr to MCS 6 and 7, but the actual real-world download rate > remains firmly stuck at around ~900KB/sec (!) > > Please could someone with knowledge of the FreebSD wifi stack help diagnose this problem with me? > > > hi! > > You can experiment with limiting the unicast rate - eg ifconfig wlan0 ucastrate 3 for MCS3 when it's in 11n mode. > > AMRR isn't the best at all at 802.11n rate selection. It may just be over-estimating how great the channel is behaving. > > However, that's just the transmit rate control. The remote end (ie the sender) is making choices on what rate to use > when transmitting to you. So let's see if we can first limit bad choices (and thus taking up too much airtime) > transmitting data BACK, and then we can figure out what's up with download speeds. > > > > -adrian > Hi Adrian, thanks for your time and the explanation, much appreciated! I tried setting ucastrate 3 and it made no difference to the download rate; % ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 74:da:38:8b:e1:10 inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 groups: wlan ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid c0:05:c2:57:8d:69 regdomain ETSI country GB authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7 ucastrate 3 scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi -stbc -ldpc wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29 % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso FreeBSD-12.1-RELEASE-amd64-dvd1.iso. 0%[ ] 8.87M 806KB/s eta 81m 35s From owner-freebsd-wireless@freebsd.org Wed Sep 16 22:50:35 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 806433F4126 for ; Wed, 16 Sep 2020 22:50:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsFgG4w6nz4P71 for ; Wed, 16 Sep 2020 22:50:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qk1-x744.google.com with SMTP id 16so278503qkf.4 for ; Wed, 16 Sep 2020 15:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0tn8t16nCAJEsWENIeCUeOvwC6WY5oZohxw2Ig5EXus=; b=kwHfVpUYhm28GgjqmiayFDXnjxq1buAeK1eTR8AzvyYRyC5HuQxSW5JPtVnmwjjTz6 PyXeNY9aUdtXrVuzTd1U3eJaoni2GgXt4d5L8tVDu1HMbDi1BqO/0xwuj2AL3LTvtZre pXDIZ0pbdka/HjB21Vzp3f/IdKlJCNbxalxiTGtSpUeZoIAacTTptyaS/YPxloTbnEp+ XBK85gENPBUFXYQQFI+h8tIre/3nM85yCIHTRI8MK/XaNtuTg2GhH7n99OqevnGDbpfe sgZ+aNlg3lRsA8tiyuzDxF2LC0yrEidLcaBE70B4dNUkpybJgQLgRAcd7EL/VtXpidnk r+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0tn8t16nCAJEsWENIeCUeOvwC6WY5oZohxw2Ig5EXus=; b=ZLui6NodK4pIRIjFMufX/NLHzsqUOwZ6DsIa3jK6/ShKFFegkCxwJkX7kd4CFnpFR9 5u1uHU1SAHYct6gA4iru4Q+wZiS9r1Cm+3HRI2CB0bcJr2nIr3dW1Cnqj9ntR9whB2pf lazA3jPb0n+EBQ7vTjeC55Zld/mWy9d4tldAARe1+wux92lWxYNQVvA3fYhuY2c1aXgT 3VcrdNBoNEFKJO1E2OnD55sbkMO5xA8mxMdoL5h2I28o1CgMwkT4FXyOoE77gJASObHS 0+p8yLtUqhFAajlWQGI7/bU0TkfTfBdWaHeANA/jula+Ky9fJUFu96M4Mm50xkTBNKkZ 9EKQ== X-Gm-Message-State: AOAM530uTZHZX213mWUw2xF1d65dOF4Rv15kZPU2YeJr/4egrg5iFGg6 6D+ULLaTpyQB2fwiR0yUTRTmQB+5BnxAkiHF2Y9HGYh0FXw= X-Google-Smtp-Source: ABdhPJzBlGa8pRyORN9VfkxYK6uS9yYFgJ+P+api98VAci2dze2b44LkJO23g2hPYWaTyLOZjLZlM9OY1A6nBYiGccY= X-Received: by 2002:a37:67d2:: with SMTP id b201mr25044313qkc.96.1600296634020; Wed, 16 Sep 2020 15:50:34 -0700 (PDT) MIME-Version: 1.0 References: <31c36c34-f1aa-3d4d-ccd3-3d76dc9bf69e@digital-chaos.com> In-Reply-To: <31c36c34-f1aa-3d4d-ccd3-3d76dc9bf69e@digital-chaos.com> From: Adrian Chadd Date: Wed, 16 Sep 2020 15:50:21 -0700 Message-ID: Subject: Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control To: James Wright Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4BsFgG4w6nz4P71 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=kwHfVpUY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::744 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.34 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.39)[-0.390]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.982]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::744:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 22:50:35 -0000 Hi! Dang, ok. Well, rtwn was broken on freebsd-head due to changes elsewhere so we need to get those fixed before we can see what's up with it. I'll post updates to freebsd-wireless if/when I figure it out. :P -adrian On Wed, 16 Sep 2020 at 15:43, James Wright wrote: > On 16/09/2020 22:36, Adrian Chadd wrote: > > > > > > On Wed, 16 Sep 2020 at 13:41, James Wright < > james.wright@digital-chaos.com > > wrote: > > > > Hi wireless gurus, > > > > I'm trying to understand why this USB wifi dongle is so slow > under FreeBSD. > > The max real-world download rate seems to be capped at ~900KB/sec > (see wget below), > > but with exactly the same hardware and conditions under Win10 I > reach ~3MB/sec. > > > > > > OS: FreeBSD 12.2-PRERELEASE (r365055) > > Router: Virgin Media SuperHub 3 (802.11a/b/g/n/ac) > > Hardware: Edimax EW-7811Un (RTL8188CUS) > > Driver: rtwn > > > > % grep wlan /etc/rc.conf > > wlans_rtwn0="wlan0" > > ifconfig_wlan0="WPA SYNCDHCP" > > create_args_wlan0="country GB > > > > % dmesg | grep rtwn > > rtwn0 on uhub0 > > rtwn0: 1> on usbus0 > > rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > > > % sysctl dev.rtwn > > dev.rtwn.0.rx_buf_size: 24 > > dev.rtwn.0.ratectl_selected: 1 > > dev.rtwn.0.ratectl: 1 > > dev.rtwn.0.hwcrypto: 1 > > dev.rtwn.0.debug: 0 > > dev.rtwn.0.ht40: 0 > > dev.rtwn.0.%parent: uhub0 > > dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0x7811 devclass=0x00 > devsubclass=0x00 devproto=0x00 sernum="00e04c000001" > > release=0x0200 mode=host intclass=0xff intsubclass=0xff > intprotocol=0xff > > dev.rtwn.0.%location: bus=0 hubaddr=1 port=1 devaddr=2 interface=0 > ugen=ugen0.2 > > dev.rtwn.0.%driver: rtwn > > dev.rtwn.0.%desc: Realtek 802.11n WLAN Adapter, class 0/0, rev > 2.00/2.00, addr 1 > > dev.rtwn.%parent: > > > > % ifconfig wlan0 > > wlan0: flags=8843 metric 0 > mtu 1500 > > ether 74:da:38:8b:e1:10 > > inet 192.168.0.12 netmask 0xffffff00 broadcast > 192.168.0.255 > > groups: wlan > > ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid > c0:05:c2:57:8d:69 > > regdomain ETSI country GB authmode WPA2/802.11i privacy ON > > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower > 30 bmiss 7 > > scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity > 8 shortgi > > -stbc -ldpc wme roaming MANUAL > > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > > status: associated > > nd6 options=29 > > > > % ifconfig wlan0 scan > > SSID/MESH ID BSSID CHAN RATE > S:N INT CAPS > > VM5909357 c0:05:c2:57:8d:69 6 54M > -78:-95 100 EPS HTCAP WME ATH RSN > > > > % ifconfig wlan0 list sta > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > c0:05:c2:57:8d:69 1 6 65M 21.5 0 28562 4816 EPS > AQEHTRs HTCAP WME ATH RSN (rssi 0.0:0.0:0.0:0.0 nf > > 0:0:0:0) > > > > % wget > https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > > FreeBSD-12.1-RELEASE-amd64-dvd1.iso > > < > https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.isoFreeBSD-12.1-RELEASE-amd64-dvd1.iso > > > > 0%[ ] 19.05M 947KB/s eta > 79m 18s > > > > > > % wlandebug +rate > > $ dmesg > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=11, retrycnt=6 > > wlan0: [c0:05:c2:57:8d:69] AMRR decreasing rate 5 (txcnt=11 > retrycnt=6) > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 5, txcnt=36, retrycnt=1 > > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 6 (txcnt=36 > retrycnt=1) > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=37, retrycnt=7 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=9 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=2 > > wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 7 (txcnt=36 > retrycnt=2) > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=37, > retrycnt=12 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=7 > > wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, > retrycnt=10 > > > > As you can see the MCS rate is being set by wlan_amrr to MCS 6 and > 7, but the actual real-world download rate > > remains firmly stuck at around ~900KB/sec (!) > > > > Please could someone with knowledge of the FreebSD wifi stack help > diagnose this problem with me? > > > > > > hi! > > > > You can experiment with limiting the unicast rate - eg ifconfig wlan0 > ucastrate 3 for MCS3 when it's in 11n mode. > > > > AMRR isn't the best at all at 802.11n rate selection. It may just be > over-estimating how great the channel is behaving. > > > > However, that's just the transmit rate control. The remote end (ie the > sender) is making choices on what rate to use > > when transmitting to you. So let's see if we can first limit bad choices > (and thus taking up too much airtime) > > transmitting data BACK, and then we can figure out what's up with > download speeds. > > > > > > > > -adrian > > > > Hi Adrian, thanks for your time and the explanation, much appreciated! > > I tried setting ucastrate 3 and it made no difference to the download rate; > > % ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 > ether 74:da:38:8b:e1:10 > inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 > groups: wlan > ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid > c0:05:c2:57:8d:69 > regdomain ETSI country GB authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 > bmiss 7 > ucastrate 3 scanvalid 60 protmode CTS ht20 ampdulimit 64k > ampdudensity 8 shortgi -stbc -ldpc wme roaming MANUAL > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > nd6 options=29 > > % wget > https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > FreeBSD-12.1-RELEASE-amd64-dvd1.iso > . > 0%[ ] 8.87M 806KB/s eta 81m 35s > > > From owner-freebsd-wireless@freebsd.org Wed Sep 16 23:01:08 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 264623F3FDC for ; Wed, 16 Sep 2020 23:01:08 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsFvQ6QB1z4QMC for ; Wed, 16 Sep 2020 23:01:06 +0000 (UTC) (envelope-from james.wright@digital-chaos.com) Received: from [192.168.0.12] ([82.29.153.121]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.179]) with ESMTPSA (Nemesis) id 1MZCOl-1jx2p70Z7p-00V6AQ; Thu, 17 Sep 2020 01:01:04 +0200 Subject: Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" References: <31c36c34-f1aa-3d4d-ccd3-3d76dc9bf69e@digital-chaos.com> From: James Wright Message-ID: <30d8d0ee-482e-bf82-4594-d4f704720ecd@digital-chaos.com> Date: Thu, 17 Sep 2020 00:01:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:aXaZsvU2oOZ2qxF9+Ujg/K9+0G1/kMpeY4iiF8p4MHa5QELcwev QM4VpPDzg/UKz8KHJEs8zmkylm6qy3MPn3Xw19scwocuNa9bwMzV2M1wDWychwjaRq2hz4d T3OZV9GJ2RXWdYsKh/+OEyjx1WFPrLYztQNlBHpr8HWqtbd5eURXi0GODJj6FETXucnlDDD QnjAIpXVFYZMTq6sHI4+g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ye/jJjDeqtM=:ToDLV9UNyyihzxppxM++ei jqbepy4/7LU0bRTT712lF/CosgKlPKbkiC6+mT+ouVJOQTHKslMlJdRmuww3H9VMhHcIbadJD wP2nYrx4taOgvbcqjsrO6b4fA5tXg93AViGgUB81LiXla6iDGmJmPP2DyYrxbCumXCAaIxJ7K XT4oSRhAkd6+SLd9LKYUbH55sFyld8qbqFlQTHVWu479AYVexyGAgHBouF9GcCo8VeN2R8/VO 4Fk9H8osKOGgJEDzfKjRYi49B9ZuZYA830YV+wzxn5mfsYCd708IAgqJtgUa2BeSTNMkl4xTl +743cnBAe3JuQNFOwmFbCy9psfQ3tdODAPCNRPkdFfccMe8eb9fhHONz+EtVYvmz4c+B2ofPn tnBEwxNrMOK0nrRagRxeffrLMS7UrTPmewvIamXnGkOQmryF2Cd8U/v/wCQ4DAR/OnPHi+eaO 44Mu9eDFIgjmHu+Rf0MFxB8lcqELB/cWy92Xr812knShiSjw5WdRtST0I4vWiYoIV2lxTtA3l wS1W4qW1UMfQUTp9e5+ozJQGHJbu2zvCCvyAQga7RO/3zBHXbuk4KG7UT05IBqiAsU4zEvQ3I h04s4SNKcPvGRmSXu5+pvEbL1Fllh0hcnst6cSBVxxPS5A4J49DYTegw+luawWogRtlkxWHKV QXY7cyk0NR8OcLqCrBtqSC5+QPrK5TEDGfhDOYmkA1y43pT7aYPKDror/8br7UyyOqGPo595/ Nxp5IfcQxkdr0lonLf++nkKkIkoGDSSi/s4yguWHZrqHGNk+6vzhsLw0FPz3QpdFZUlHC6OWF xu0SFOuYJAx65zU5GP+0atKUZTHIagoGcP6KNdv83/b5zplFj86//qkEwVNvSY/h+oilt8Ysh F7RpnoUwz+1cS3bYNXvg== X-Rspamd-Queue-Id: 4BsFvQ6QB1z4QMC X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of james.wright@digital-chaos.com has no SPF policy when checking 217.72.192.75) smtp.mailfrom=james.wright@digital-chaos.com X-Spamd-Result: default: False [1.55 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[82.29.153.121:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.36)[0.356]; NEURAL_HAM_LONG(-0.08)[-0.077]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digital-chaos.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.37)[0.368]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.75:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.75:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 23:01:08 -0000 This build is from stable/12 rather than HEAD, so it may not be broken there, if that's any help. On 16/09/2020 23:50, Adrian Chadd wrote: > Hi! > > Dang, ok. Well, rtwn was broken on freebsd-head due to changes elsewhere so we need to get those fixed before we can see > what's up with it. > > I'll post updates to freebsd-wireless if/when I figure it out. :P > > > > > -adrian > > > On Wed, 16 Sep 2020 at 15:43, James Wright > wrote: > > On 16/09/2020 22:36, Adrian Chadd wrote: > > > > > > On Wed, 16 Sep 2020 at 13:41, James Wright >> wrote: > > > >     Hi wireless gurus, > > > >          I'm trying to understand why this USB wifi dongle is so slow under FreeBSD. > >     The max real-world download rate seems to be capped at ~900KB/sec (see wget below), > >     but with exactly the same hardware and conditions under Win10 I reach ~3MB/sec. > > > > > >     OS:       FreeBSD 12.2-PRERELEASE (r365055) > >     Router:   Virgin Media SuperHub 3 (802.11a/b/g/n/ac) > >     Hardware: Edimax EW-7811Un (RTL8188CUS) > >     Driver:   rtwn > > > >     % grep wlan /etc/rc.conf > >     wlans_rtwn0="wlan0" > >     ifconfig_wlan0="WPA SYNCDHCP" > >     create_args_wlan0="country GB > > > >     % dmesg | grep rtwn > >     rtwn0 on uhub0 > >     rtwn0: on usbus0 > >     rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > > >     % sysctl dev.rtwn > >     dev.rtwn.0.rx_buf_size: 24 > >     dev.rtwn.0.ratectl_selected: 1 > >     dev.rtwn.0.ratectl: 1 > >     dev.rtwn.0.hwcrypto: 1 > >     dev.rtwn.0.debug: 0 > >     dev.rtwn.0.ht40: 0 > >     dev.rtwn.0.%parent: uhub0 > >     dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0x7811 devclass=0x00 devsubclass=0x00 devproto=0x00 > sernum="00e04c000001" > >     release=0x0200 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff > >     dev.rtwn.0.%location: bus=0 hubaddr=1 port=1 devaddr=2 interface=0 ugen=ugen0.2 > >     dev.rtwn.0.%driver: rtwn > >     dev.rtwn.0.%desc: Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, addr 1 > >     dev.rtwn.%parent: > > > >     % ifconfig wlan0 > >     wlan0: flags=8843 metric 0 mtu 1500 > >               ether 74:da:38:8b:e1:10 > >               inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 > >               groups: wlan > >               ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid c0:05:c2:57:8d:69 > >               regdomain ETSI country GB authmode WPA2/802.11i privacy ON > >               deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7 > >               scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi > >               -stbc -ldpc wme roaming MANUAL > >               media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > >               status: associated > >               nd6 options=29 > > > >     % ifconfig wlan0 scan > >     SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS > >     VM5909357                         c0:05:c2:57:8d:69    6   54M  -78:-95   100 EPS  HTCAP WME ATH RSN > > > >     % ifconfig wlan0 list sta > >     ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG > >     c0:05:c2:57:8d:69    1    6  65M 21.5    0  28562   4816 EPS  AQEHTRs HTCAP WME ATH RSN (rssi 0.0:0.0:0.0:0.0 nf > >     0:0:0:0) > > > >     % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > >     FreeBSD-12.1-RELEASE-amd64-dvd1.iso > > >   > >     0%[                                       ]  19.05M   947KB/s    eta 79m 18s > > > > > >     % wlandebug +rate > >     $ dmesg > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=11, retrycnt=6 > >     wlan0: [c0:05:c2:57:8d:69] AMRR decreasing rate 5 (txcnt=11 retrycnt=6) > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 5, txcnt=36, retrycnt=1 > >     wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 6 (txcnt=36 retrycnt=1) > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=37, retrycnt=7 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=9 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 6, txcnt=36, retrycnt=2 > >     wlan0: [c0:05:c2:57:8d:69] AMRR increasing rate 7 (txcnt=36 retrycnt=2) > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=5 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=37, retrycnt=12 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=7 > >     wlan0: [c0:05:c2:57:8d:69] AMRR: current rate 7, txcnt=36, retrycnt=10 > > > >     As you can see the MCS rate is being set by wlan_amrr to MCS 6 and 7, but the actual real-world download rate > >     remains firmly stuck at around ~900KB/sec (!) > > > >     Please could someone with knowledge of the FreebSD wifi stack help diagnose this problem with me? > > > > > > hi! > > > > You can experiment with limiting the unicast rate - eg ifconfig wlan0 ucastrate 3 for MCS3 when it's in 11n mode. > > > > AMRR isn't the best at all at 802.11n rate selection. It may just be over-estimating how great the channel is > behaving. > > > > However, that's just the transmit rate control. The remote end (ie the sender) is making choices on what rate to use > > when transmitting to you. So let's see if we can first limit bad choices (and thus taking up too much airtime) > > transmitting data BACK, and then we can figure out what's up with download speeds. > > > > > > > > -adrian > > > > Hi Adrian, thanks for your time and the explanation, much appreciated! > > I tried setting ucastrate 3 and it made no difference to the download rate; > > % ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 >          ether 74:da:38:8b:e1:10 >          inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 >          groups: wlan >          ssid VM5909357 channel 6 (2437 MHz 11g ht/20) bssid c0:05:c2:57:8d:69 >          regdomain ETSI country GB authmode WPA2/802.11i privacy ON >          deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7 >          ucastrate 3 scanvalid 60 protmode CTS ht20 ampdulimit 64k >          ampdudensity 8 shortgi -stbc -ldpc wme roaming MANUAL >          media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >          status: associated >          nd6 options=29 > > % wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-dvd1.iso > FreeBSD-12.1-RELEASE-amd64-dvd1.iso > . >  0%[                             ]   8.87M  806KB/s    eta 81m 35s > > From owner-freebsd-wireless@freebsd.org Wed Sep 16 23:28:07 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04D0B3F4D81 for ; Wed, 16 Sep 2020 23:28:07 +0000 (UTC) (envelope-from coolhwhipmike@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsGVZ0tHhz4RXM for ; Wed, 16 Sep 2020 23:28:05 +0000 (UTC) (envelope-from coolhwhipmike@gmail.com) Received: by mail-yb1-xb33.google.com with SMTP id h206so259432ybc.11 for ; Wed, 16 Sep 2020 16:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bCAOI+YnrbbafuLpfm5KJ/TU1gEoFQgOwWUoktv4WaQ=; b=k6B2Rya9ZRK7yg0UyBy0A1dHCGn0Lbc6b92nzPeNvAuHmst7rOn61VTMhaHW60kFn2 ujn1cBMj66XivPUtgNpmIMJkBmkKwVZEkoltOgYZKcpBSmvHULUjnohYs/Qu59BJiZzP BrZChGd6//BeiVY6UFWTvxKHJRrP88uXCnZYGT22mGAxrWmjD+FR+kzBcgtgerRWS0nU EcrqtwbiAgt2hCuetDJQ40Z8AqcguTLUYYY6hQ3KSSLvnJPXPvIqx7GaJNsXZXirasnD zBmZ1RtNwOynkeakfUCN9VuyN4Xt22m9f45S0Xo/BpH5QcNZrjb3duQ/WcTE0pvDwP5r RHog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bCAOI+YnrbbafuLpfm5KJ/TU1gEoFQgOwWUoktv4WaQ=; b=ndvZ3tOQFdVFoEYrLz1f69H4Mv2olhWmbrgC+VarFB+XuR9+qoZombeJKJSUo8vLrh XCO5beCMbfrjNZbIBFq4mYncJ9gL12y4I0l8jRz8yR+6NCjhWL5rUpW4zJAblMDGDbDd u99Gj1tLXodTo/fLL3w7hDVeIJb4Usy3JqU8PUdjq3nbHlhlZfGSs+sAaBEuCXbBycYQ xin52lwM0I3o+dNtjq0VjF9ZtrXz07Pgbuj0gTgczKNnn09O/VgirsdZFI3pM1ajojRx yk95k+akwCPRQ/0am3jEmDqr7o8jfg+7RnZRdN2/o4Rh+5TOfg6SnCDWISm3MR+gNFww rFiQ== X-Gm-Message-State: AOAM530oKq9YMHUlMR1rndzvH/M03atXUwWxXE/dO63ZEAa2K+GRdKd6 fspmiYiqAoZcCns9gK5vTxf6KAYtuuci7O487JVBA3OFKTY= X-Google-Smtp-Source: ABdhPJw92KRlRNKszLIXUk1BBkBQ+kFDcCuuSFm0bUp+GiT5aNbz87epkZXsUIwaWEGguRxDHCv7lcS/ohXuTUUI2NY= X-Received: by 2002:a25:250c:: with SMTP id l12mr27282040ybl.267.1600298884994; Wed, 16 Sep 2020 16:28:04 -0700 (PDT) MIME-Version: 1.0 From: Michael Jurbala Date: Wed, 16 Sep 2020 19:27:53 -0400 Message-ID: Subject: AX200 wifi development To: freebsd-wireless@freebsd.org X-Rspamd-Queue-Id: 4BsGVZ0tHhz4RXM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=k6B2Rya9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of coolhwhipmike@gmail.com designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=coolhwhipmike@gmail.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.946]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.985]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b33:from]; NEURAL_HAM_SHORT(-0.17)[-0.171]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-wireless]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Sep 2020 23:28:07 -0000 There's been some discussion on here about updating FreeBSD wifi. I believe some of it was for ac but I think I also saw testing for ax. I have a new motherboard with Intel AX200 wifi and I wanted to see if there was anything I could do to help. I can't donate at the moment and don't know how to program but maybe there's something I could test on my system or another way to help. From owner-freebsd-wireless@freebsd.org Thu Sep 17 05:59:42 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 604A63FD7AF for ; Thu, 17 Sep 2020 05:59:42 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsRBP0tnsz4lrb for ; Thu, 17 Sep 2020 05:59:40 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 3CE4A8D4A157; Thu, 17 Sep 2020 05:59:33 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B894EE70813; Thu, 17 Sep 2020 05:59:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 6Nk-JX4MTadl; Thu, 17 Sep 2020 05:59:31 +0000 (UTC) Received: from [127.0.0.1] (unknown [IPv6:fde9:577b:c1a9:4902:a9a5:9338:ce39:ca14]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 73C50E707B1; Thu, 17 Sep 2020 05:59:30 +0000 (UTC) From: "Bjoern A. Zeeb" To: "James Wright" Cc: "Adrian Chadd" , freebsd-wireless@freebsd.org Subject: Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control Date: Thu, 17 Sep 2020 05:59:30 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <71F8008F-4268-4E57-9B6A-EC7C3FB6D811@lists.zabbadoz.net> In-Reply-To: <30d8d0ee-482e-bf82-4594-d4f704720ecd@digital-chaos.com> References: <31c36c34-f1aa-3d4d-ccd3-3d76dc9bf69e@digital-chaos.com> <30d8d0ee-482e-bf82-4594-d4f704720ecd@digital-chaos.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BsRBP0tnsz4lrb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-2.76 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_LONG(-1.07)[-1.072]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.36)[-0.358]; NEURAL_HAM_MEDIUM(-1.03)[-1.031]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-wireless] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 17 Sep 2020 05:59:42 -0000 On 16 Sep 2020, at 23:01, James Wright wrote: > This build is from stable/12 rather than HEAD, so it may not be > broken there, if that's any help. I synched code last week, so what’s in head is in stable/12 (from a WiFi perspective). Some of the locking is different, so the panic people see on head my not be exposed on stable/12 as it’s not asserted elsewhere (if it is what I think it is). If you want to do the exercise of trying out stable/12 <= revision 365607 and see if it makes a difference, then it could be a data point helping adrian. /bz From owner-freebsd-wireless@freebsd.org Thu Sep 17 06:03:27 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 092483FD46A for ; Thu, 17 Sep 2020 06:03:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsRGk6VVmz4mLr; Thu, 17 Sep 2020 06:03:26 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id AEB8B22237; Thu, 17 Sep 2020 06:03:26 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A9A928D4A157; Thu, 17 Sep 2020 06:03:25 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 3B40DE70813; Thu, 17 Sep 2020 06:03:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id YXPG4wNcAoR0; Thu, 17 Sep 2020 06:03:23 +0000 (UTC) Received: from [127.0.0.1] (unknown [IPv6:fde9:577b:c1a9:4902:a9a5:9338:ce39:ca14]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id CFD48E707B1; Thu, 17 Sep 2020 06:03:23 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Michael Jurbala" Cc: freebsd-wireless@freebsd.org Subject: Re: AX200 wifi development Date: Thu, 17 Sep 2020 06:03:23 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 17 Sep 2020 06:03:27 -0000 On 16 Sep 2020, at 23:27, Michael Jurbala wrote: > There's been some discussion on here about updating FreeBSD wifi. I > believe > some of it was for ac but I think I also saw testing for ax. > > I have a new motherboard with Intel AX200 wifi and I wanted to see if > there > was anything I could do to help. I can't donate at the moment and > don't > know how to program but maybe there's something I could test on my > system > or another way to help. Can you drop me (no need for Cc: the list) the output of pciconf -lBbcevV for that WiFi card and I’ll see if it’s worth to currently test something (or if I have samples already). I am currently sorting out LinuxKPI changes conflicting with the DRM graphics work. Once that is done and I return to WiFi I hope to have something more to test soon. /bz From owner-freebsd-wireless@freebsd.org Thu Sep 17 17:09:39 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1E7C3E767A for ; Thu, 17 Sep 2020 17:09:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bsk3R1Ztgz4JlY for ; Thu, 17 Sep 2020 17:09:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qk1-x734.google.com with SMTP id d20so3008021qka.5 for ; Thu, 17 Sep 2020 10:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=icL65RjoQlQNu3qJdHSpx0hRIOoUV9XQDa9x/IreO4E=; b=pw+Nc/Z7uRay7iFBKVQfSV+DLVX3aXwgq6XFSf5FZcxyNJRkKBLIjPKti9WzYdXMsB sG7fDkUbgXRFAAfsU7RWSYvFRedts/Kk+gf0883IgzaoInDhrL9G5AubmXa52y1k7qLX VaWQ8XdPwlJecEIS1Yo/LheT3F6xWwV5P1B5Hmrk0LzMGv16tjXElvEwlK24pi5cmon2 lQm1+jxwxwhgJBvOC0SgM4l6WF64IuwNIJ2cmuSqWMniRkzDq0eeig2ivVGS5eyLZNMX 0Ar29EQ6OKNG7BpyM2BpmEqbWQk8qqr3pzEX3X9YemGxlC0/1O2eytPqj95Cxqn2Q9iD bRoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=icL65RjoQlQNu3qJdHSpx0hRIOoUV9XQDa9x/IreO4E=; b=fDBFetZAurKh/oqTBxqsT62opLX8VXosYR/OfkVzZZxRFPso3eiPnbrS1Lk5j/7ZvV tsvkoJpffWDt4xWKSe7iBl+BnUzUonU7dNESee9rNmDYUgDdXzd9zsYYI/uZlXDloyfj /BSHUuCuP7/ZS98YRrmkTMPw5m8mJnENFPdECcPDmea+YOSG9193eOfuPJ0UfgVJvMFI Rp4+lxg5oqSIYKHKXrW9fdT7X1LRXdcXBFs7Vh4k5QsDd0nc5yb4m7pqmGxQyDHNzpjN OsAplROPMRUgJWoT9IvB/6b+XedAQPZ7qTO5X5mSXt2IN+NJ/FEuJjX/OnULy1Ofo1mR vkPw== X-Gm-Message-State: AOAM531drNxfyuB88Vj4HDhXB7OlvUaCPd8ZfhRDRC6CgNG9Miq5ychV 0QE888h10bxowVIzS4yWVonl2RX51AHTpxgeJIw= X-Google-Smtp-Source: ABdhPJwH1BHY1XRUtrTDqujLlLR7PApGUkpgNsGmfeWZ4o9q3WWL5QrfKx5WBspNX8KLcgMZ7iq2+dAiv3gTf85t/gw= X-Received: by 2002:a37:b882:: with SMTP id i124mr30116311qkf.51.1600362578067; Thu, 17 Sep 2020 10:09:38 -0700 (PDT) MIME-Version: 1.0 References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> <27e35111-6cee-d609-ffcd-2c78c35504b9@yahoo.com> In-Reply-To: <27e35111-6cee-d609-ffcd-2c78c35504b9@yahoo.com> From: Adrian Chadd Date: Thu, 17 Sep 2020 10:09:24 -0700 Message-ID: Subject: Re: Atheros QCA6174 (ath10k) not working To: Anthony Jenkins Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4Bsk3R1Ztgz4JlY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pw+Nc/Z7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::734 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.06)[0.065]; NEURAL_HAM_LONG(-1.05)[-1.049]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::734:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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, 17 Sep 2020 17:09:39 -0000 Hi! We know what's missing. :-) bz is working on porting more configuration/startup related changes from the more recent linux ath10k to athp, and I'm working on some transmit side control that's needed for correct data path behaviour on the QCA6174 and newer NICs. We'll get there. :-) Thanks! -adrian On Sun, 13 Sep 2020 at 13:27, Anthony Jenkins wrote: > Thanks Adrian, > > Just wondering if there's anything I can do to help. I have the driver > repo. > > Anthony > > On 2020-09-13 14:53, Adrian Chadd wrote: > > hi! > > > > we're still working on this. It's going to take some time. > > > > thanks, > > > > > > > > -adrian > > > > > > On Sun, 13 Sep 2020 at 11:12, Anthony Jenkins via freebsd-wireless > > > > > wrote: > > > > I have a Killer 1535 802.11ac wireless card (chipset = Qualcomm > > Atheros > > QCA6174). I am using the ath10k/athp driver from git repo > > https://github.com/erikarn/athp.git . Driver loads, but trying to > > start > > the interface fails. What should I be looking at to fix this? > > > > service netif start wlan2: > > > --------------------------------------------------------------------------- > > ifconfig: SIOCIFCREATE2: Input/output error > > ifconfig: interface wlan2 does not exist > > ifconfig: interface wlan2 does not exist > > ifconfig: interface wlan2 does not exist > > ifconfig: interface wlan2 does not exist > > Starting wpa_supplicant. > > /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant > > ifconfig: interface wlan2 does not exist > > rtsol: failed to get link layer information for wlan2 > > rtsol: failed to initialize wlan2 > > Starting Network: wlan2. > > ifconfig: interface wlan2 does not exist > > > --------------------------------------------------------------------------- > > > > Kernel messages: > > > --------------------------------------------------------------------------- > > athp0: ath10k_start: called; state=0 > > athp0: ath10k_start: state=1 > > athp0: ath10k_download_cal_dt: TODO: device tree check > > athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: > > 0x00000069 > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: htc ep 2 out of TX credits (0 < 1) > > ... > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: ath10k_wmi_cmd_send: failed (-35) > > athp0: failed to enable PMF QOS: -35 > > athp0: ath10k_core_stop: state=1 > > athp0: ath10k_wait_for_suspend: state=1 > > athp0: ath10k_wmi_pdev_suspend_target: called > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: htc ep 2 out of TX credits (0 < 1) > > ... > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: htc ep 2 out of TX credits (0 < 1) > > athp0: ath10k_wmi_cmd_send: failed (-35) > > athp0: could not suspend target (-35) > > athp0: ath10k_pci_irq_sync: TODO > > athp0: ath10k_pci_kill_tasklet: called > > athp0: ath10k_htt_tx_free: called > > athp0: ath10k_htt_tx_free: tearing down htt locks > > athp0: athp_vap_create: ath10k_start failed; ret=-35 > > > --------------------------------------------------------------------------- > > > > Some notable errors from 'kldload if_athp.ko': > > > > * Driver fails to load firmware file > > athp_QCA6174_hw3.0/firmware-5.bin; > > it does load file 'athp_QCA6174_hw3.0_firmware-4.bin'. > > > > athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin > > athp_cal-pci-athp0.bin: could not load firmware image, error 2 > > athp0: ath10k_fetch_fw_file: firmware_get: > > athp_QCA6174_hw3.0_board.bin > > firmware: 'athp_QCA6174_hw3.0_board.bin' version 1: 8124 bytes > > loaded at > > 0xffffffff84458000 > > athp0: ath10k_fetch_fw_file: firmware_get: > > athp_QCA6174_hw3.0_firmware-5.bin > > athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, > > error 2 > > athp0: could not fetch firmware file > > 'athp_QCA6174_hw3.0/firmware-5.bin': -1 > > athp0: ath10k_fetch_fw_file: firmware_get: > > athp_QCA6174_hw3.0_firmware-4.bin > > firmware: 'athp_QCA6174_hw3.0_firmware-4.bin' version 1: 733784 bytes > > loaded at 0xffffffff8445d000 > > > > I assume file 'athp_cal-pci-athp0.bin' is optional calibration data. > > > > * 'htc ep 2 out of TX credits (0 < 1)' repeated 144 times > > > > * ath10k_wmi_cmd_send failure > > > > athp0: ath10k_wmi_cmd_send: failed (-35) > > athp0: could not suspend target (-35) > > > > > > My full kernel messages from kldload(8) and netif are at > > http://www.qtchat.org/~ajenkins/ . > > > > Thanks, > > Anthony Jenkins > > > > > > _______________________________________________ > > 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 Sep 17 18:30:57 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E60C3E9871 for ; Thu, 17 Sep 2020 18:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BslsF0X9pz4QZZ for ; Thu, 17 Sep 2020 18:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 122443E9870; Thu, 17 Sep 2020 18:30:57 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11EB73E9969 for ; Thu, 17 Sep 2020 18:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BslsD6mK4z4QV7 for ; Thu, 17 Sep 2020 18:30:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CBB92E72F for ; Thu, 17 Sep 2020 18:30:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08HIUuDl001806 for ; Thu, 17 Sep 2020 18:30:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08HIUuHx001805 for wireless@FreeBSD.org; Thu, 17 Sep 2020 18:30:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249402] Locking issue when requesting an ieee80211 scan Date: Thu, 17 Sep 2020 18:30:56 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@NetBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.33 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, 17 Sep 2020 18:30:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249402 Bug ID: 249402 Summary: Locking issue when requesting an ieee80211 scan Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: martin@NetBSD.org Created attachment 218029 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218029&action= =3Dedit Patch to unlock the wifi ic before calling ieee80211_check_scan() While adapting the ieee80211 stack to NetBSD I ran into a locking issue whenever scans are started. I don't know if locking the wifi IC in FreeBSD allows for recursion - in Ne= tBSD it doesn't and all scan starts will result in a "locking against myself" assertion with LOCKDEBUG kernels. The call here comes in via the ic_newstate callback, which always is called with IC locked (see also the assertion a few lines above), but the ieee80211_check_scan() function (and indirectly ieee80211_check_scan_curren= t() which calls it) will lock the ic again. Simple patch to work around attached. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Sep 17 18:36:52 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7AE403E9E37 for ; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bsm042kRyz4QwG for ; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5BAC23EA01A; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B7323E9E9E for ; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bsm041lKdz4R4V for ; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AFB7E7AE for ; Thu, 17 Sep 2020 18:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08HIapdX008388 for ; Thu, 17 Sep 2020 18:36:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08HIappY008387 for wireless@FreeBSD.org; Thu, 17 Sep 2020 18:36:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249403] Abstract priv_check() for wireless operations Date: Thu, 17 Sep 2020 18:36:52 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@NetBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.33 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, 17 Sep 2020 18:36:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249403 Bug ID: 249403 Summary: Abstract priv_check() for wireless operations Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: martin@NetBSD.org Created attachment 218030 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218030&action= =3Dedit abstract priv_check() for iee80211 and add more arguments to allow a NetBSD kauth based implementation The kernel authorization system in NetBSD is (optionally) quite fine grained and needs a bit more data to take decisions. This creates an ifdef mess in = my adaption of the FreeBSD wifi stack, but it could be easily avoided with a m= inor change similar to the attached patch. The definitions for the macro should move to the OS specific header (so only the FreeBSD definition in ieee80211_freebsd.h), I left them all together so= the reason for the change is more obvious. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Sep 17 18:42:15 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D483F3E9DF6 for ; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bsm6H5LH3z4RY1 for ; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B74733E9DF4; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B70F13EA064 for ; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bsm6H4SRXz4RGs for ; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7DD33EB16 for ; Thu, 17 Sep 2020 18:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08HIgFuN017984 for ; Thu, 17 Sep 2020 18:42:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08HIgFCT017981 for wireless@FreeBSD.org; Thu, 17 Sep 2020 18:42:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249402] Locking issue when requesting an ieee80211 scan Date: Thu, 17 Sep 2020 18:42:15 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 17 Sep 2020 18:42:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249402 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #1 from Adrian Chadd --- Oh, I'd /totally love/ the comlock to be non-recursive in freebsd. That wou= ld force us to tidy up a whole lot of things. Maybe we should add some _locked() versions that expect the lock held, and = use those? I'd like to avoid the unlock//relock pattern because it is ra= cy as the state can change in that window. (The scan code is notorious for bei= ng bad at this..) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Sep 17 18:44:38 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C91F63EA215 for ; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bsm9250lbz4RL6 for ; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ABB083EA292; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB78D3E9D7E for ; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bsm9249tbz4RHB for ; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6ED5DEAB2 for ; Thu, 17 Sep 2020 18:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08HIicW5020143 for ; Thu, 17 Sep 2020 18:44:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08HIicrY020140 for wireless@FreeBSD.org; Thu, 17 Sep 2020 18:44:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249403] Abstract priv_check() for wireless operations Date: Thu, 17 Sep 2020 18:44:38 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 17 Sep 2020 18:44:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249403 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #1 from Adrian Chadd --- Hi! I think we should put the priv checks in as a method in ieee80211_freebsd.c= , so your ieee80211_netbsd.c can implement it as well. (same with the dfbsd and haiku users when they update.) What do you think instead of creating some stub priv check functions rather than using system defines, and we'll then have to define them in our ieee80211_{os}.c file? Thanks! We're also super open to adding whatever else makes portability eas= ier, so if you find freebsd specific things that you're #ifdef'ing do let us know and let's figure out a better way to abstract it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Fri Sep 18 13:30:11 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73A453E3367 for ; Fri, 18 Sep 2020 13:30:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtF7l2SDhz4ZJN for ; Fri, 18 Sep 2020 13:30:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 543313E3941; Fri, 18 Sep 2020 13:30:11 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53F3E3E37DD for ; Fri, 18 Sep 2020 13:30:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtF7l0T1Sz4ZFr for ; Fri, 18 Sep 2020 13:30:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E316F1BBAB for ; Fri, 18 Sep 2020 13:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08IDUAhQ031884 for ; Fri, 18 Sep 2020 13:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08IDUAgb031882 for wireless@FreeBSD.org; Fri, 18 Sep 2020 13:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249402] Locking issue when requesting an ieee80211 scan Date: Fri, 18 Sep 2020 13:30:10 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@NetBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete 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.33 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, 18 Sep 2020 13:30:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249402 martin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #218029|0 |1 is obsolete| | --- Comment #2 from martin --- Created attachment 218053 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218053&action= =3Dedit Alternative fix: add ie80211_scan_current_locked() and use that Yes, unlocking/relocking is evil, but this variant looks a bit bloated - be= tter pass an argument telling we already hold the lock? Martin --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Fri Sep 18 18:10:31 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D4EE3E93C9 for ; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtMMC2KSnz3ckx for ; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4E0293E9252; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DCE33E93C8 for ; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtMMC1PrRz3d4F for ; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14B281EDDB for ; Fri, 18 Sep 2020 18:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08IIAUOV006673 for ; Fri, 18 Sep 2020 18:10:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08IIAUIt006672 for wireless@FreeBSD.org; Fri, 18 Sep 2020 18:10:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249403] Abstract priv_check() for wireless operations Date: Fri, 18 Sep 2020 18:10: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status 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.33 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, 18 Sep 2020 18:10:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249403 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org Status|New |Open Assignee|wireless@FreeBSD.org |bz@FreeBSD.org --- Comment #2 from Bjoern A. Zeeb --- Hi Martin, if adrian's suggestion would work for you I'll go and implement that? /bz --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Fri Sep 18 19:49:47 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDC8B3EDBF0 for ; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtPYl5dmnz421k for ; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BF8D73EDBEF; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF5A33EDD1E for ; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtPYl4WWZz426h for ; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7FF1820315 for ; Fri, 18 Sep 2020 19:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08IJnlVg029596 for ; Fri, 18 Sep 2020 19:49:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08IJnla5029594 for wireless@FreeBSD.org; Fri, 18 Sep 2020 19:49:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 216091] iwn0 issues on FreeBSD11 Date: Fri, 18 Sep 2020 19:49:46 +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-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 18 Sep 2020 19:49:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216091 --- Comment #12 from Sean Farley --- (In reply to Jason W. Bacon from comment #11) The recommendation to change the MAC of the wired adapter sounds good. Out of curiosity, should you not be able to change the MAC of any wlan devi= ce regardless of the underlying wireless driver? If you can, then it may be better to suggest changing it on the wlan device since it would always work= .=20 Perhaps, it already works on all wired devices? I also wonder if this bug still exists or not. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 03:53:10 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 882383F9B5E for ; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtcHV36J0z4Xmy for ; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6AB613F9B5D; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A7E33F99BE for ; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtcHV2CQJz4XpC for ; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2FF4825F9B for ; Sat, 19 Sep 2020 03:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J3r9MF038823 for ; Sat, 19 Sep 2020 03:53:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J3r9rC038822 for wireless@FreeBSD.org; Sat, 19 Sep 2020 03:53:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 03:53:10 +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 Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 03:53:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #4 from Sreehari S --- Update: I booted 12.2-BETA2 today, and I noticed something VERY interesting with the wifi problem. It seems the firmware ucode load only fails if you reboot from Linux straight to FreeBSD. If I fully shut down the laptop and then boot the 12.2-BETA2 installer image, iwm0 starts up with no issues and I can even connect to wifi networks. So it seems there's only some kind of bug after a reboot from linux to freebsd now, it may be worth looking into. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 04:01:18 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A4303F9D01 for ; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtcSt39Qlz4XgV for ; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6AE683F9C0A; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AAFB3F9A3D for ; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtcSt2Cymz4Y1b for ; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2FDD125F37 for ; Sat, 19 Sep 2020 04:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J41IgK047930 for ; Sat, 19 Sep 2020 04:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J41IGA047929 for wireless@FreeBSD.org; Sat, 19 Sep 2020 04:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 04:01: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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 04:01:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #5 from Kyle Evans --- Once you've power cycled and got it working in FreeBSD, does it still work after a quick reboot? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 04:03:14 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67BA93F997A for ; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtcW62FnBz4Y29 for ; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4D5C83F9A5A; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D2BB3F9879 for ; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtcW61S0Rz4XhK for ; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15D9925F5C for ; Sat, 19 Sep 2020 04:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J43D4F052643 for ; Sat, 19 Sep 2020 04:03:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J43DXd052641 for wireless@FreeBSD.org; Sat, 19 Sep 2020 04:03:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 04:03:13 +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 Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 04:03:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #6 from Sreehari S --- (In reply to Kyle Evans from comment #5) Yes, I forgot to mention but once I got wifi working on FreeBSD and I reboo= ted back to FreeBSD, everything worked just fine once again. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 08:19:23 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDAC33FE682 for ; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtkBg5Y46z4kkr for ; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BC8B93FE681; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB3623FE41C for ; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtkBg2t54z4kWp for ; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 464138CFF for ; Sat, 19 Sep 2020 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J8JNO7042043 for ; Sat, 19 Sep 2020 08:19:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J8JNOd042042 for wireless@FreeBSD.org; Sat, 19 Sep 2020 08:19:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 08:19:23 +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 Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 08:19:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #7 from Sreehari S --- I've installed 12.2-BETA2 on another USB and I've noticed that while connec= ted to wifi my speeds are barely 2 Mbit/s download and 0.21 Mbit/s upload using https://github.com/sivel/speedtest-cli, but the same tool reports 88.24 Mbi= t/s and 55.14 Mbit/s on the same machine running void linux, so it isn't just my internet speed. I hope I'm not coming off as complaining too much, I'd just like to help polish this stuff out through testing. I imagine certain logs/files may be helpful, but I just don't know what those would be. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 08:19:59 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16EDE3FE426 for ; Sat, 19 Sep 2020 08:19:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtkCL6xwSz4kl0 for ; Sat, 19 Sep 2020 08:19:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EE4203FE425; Sat, 19 Sep 2020 08:19:58 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE01F3FE35C for ; Sat, 19 Sep 2020 08:19:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtkCL5zXvz4kf9 for ; Sat, 19 Sep 2020 08:19:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B0B9A9202 for ; Sat, 19 Sep 2020 08:19:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J8JwfW042511 for ; Sat, 19 Sep 2020 08:19:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J8JwCu042507 for wireless@FreeBSD.org; Sat, 19 Sep 2020 08:19:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 08:19:59 +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 Many People X-Bugzilla-Who: sreeharisreedev1@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 08:19:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #8 from Sreehari S --- I've installed 12.2-BETA2 on another USB and I've noticed that while connec= ted to wifi my speeds are barely 2 Mbit/s download and 0.21 Mbit/s upload using https://github.com/sivel/speedtest-cli, but the same tool reports 88.24 Mbi= t/s and 55.14 Mbit/s on the same machine running void linux, so it isn't just my internet speed. I hope I'm not coming off as complaining too much, I'd just like to help polish this stuff out through testing. I imagine certain logs/files may be helpful, but I just don't know what those would be. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 08:27:04 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CE5F3FE728 for ; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtkMX3F3Nz4khK for ; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F2DD3FE669; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EF843FEA06 for ; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtkMX2KPkz4kyJ for ; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 33550922E for ; Sat, 19 Sep 2020 08:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J8R4Qe052251 for ; Sat, 19 Sep 2020 08:27:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J8R4Tm052250 for wireless@FreeBSD.org; Sat, 19 Sep 2020 08:27:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249444] iwm 9250 not starting properly after boot Date: Sat, 19 Sep 2020 08:27:03 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@justmail.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 08:27:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249444 Bug ID: 249444 Summary: iwm 9250 not starting properly after boot Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: freebsd@justmail.de On my Lenovo TP T460 the iwm interface (Intel 8260) does not work properly after booting. My settings are: FreeBSD 12.1p10 + FreeBSD 12.2-BETA1 /boot/loader.conf: if_iwm_load=3D"YES" iwm8000Cfw_load=3D"YES" /etc/rc.conf ifconfig_em0=3D"up" wlans_iwm0=3D"wlan0" ifconfig_wlan0=3D"WPA powersave" create_args_wlan0=3D" country DE" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"laggproto failover laggport em0 laggport wlan0 DHCP" during boot, i get a lot of=20 wlan0: link state changed to UP lagg0: link state changed to UP wlan0: link state changed to DOWN lagg0: link state changed to DOWN iwm0: device timeout iwm0: dumping device error log iwm0: errlog not found, skipping wlan0: link state changed to UP lagg0: link state changed to UP In most cases there is no connection at the point when the system has boote= d to login-prompt. But a "service netif restart" connects the wlan reliably! I've tried also to load the iwm-modules via kld_list in rc.conf, or let Fre= eBSD autodetect the iwm but it does not work also. However, restarting netif do= es work in all those loading scenarios and brings up iwm+lagg. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 09:31:00 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 134E83D810A for ; Sat, 19 Sep 2020 09:31:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtlnH6sD3z4nLS for ; Sat, 19 Sep 2020 09:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EB56E3FFB7E; Sat, 19 Sep 2020 09:30:59 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB2173FFC48 for ; Sat, 19 Sep 2020 09:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtlnH61Rsz4nQv for ; Sat, 19 Sep 2020 09:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B3477A00E for ; Sat, 19 Sep 2020 09:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08J9UxPu020474 for ; Sat, 19 Sep 2020 09:30:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08J9Uxl1020473 for wireless@FreeBSD.org; Sat, 19 Sep 2020 09:30:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249287] 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon Gen7 Date: Sat, 19 Sep 2020 09:30:58 +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 Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 09:31:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 --- Comment #9 from Bjoern A. Zeeb --- (In reply to Sreehari S from comment #8) iwm(4) currently only does abg and no 11n or 11ac. We hope to rectify this with the iwlwifi port over which will also support the newer hardware from Intel before the end of the year. I'd prefer not to conflate two issues in the bug report, so let's keep this= one focused on the startup issues (for whoever is going to look into that). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Sep 19 20:57:17 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 792DC3EF1E3 for ; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bv3192gCnz4VNN for ; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 599703EF3DE; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5961E3EF5A7 for ; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bv3191nx3z4V7f for ; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2282112350 for ; Sat, 19 Sep 2020 20:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08JKvHa2089308 for ; Sat, 19 Sep 2020 20:57:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08JKvHIm089307 for wireless@FreeBSD.org; Sat, 19 Sep 2020 20:57:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 243992] iwm(4): iwm_pcie_load_section: Could not load the [0] uCode section (Intel Wireless-AC 9560) Date: Sat, 19 Sep 2020 20:57:16 +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: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tiritiri.pk@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.33 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, 19 Sep 2020 20:57:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243992 Peter Kerr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiritiri.pk@gmail.com --- Comment #15 from Peter Kerr --- Add to this: Huawei MateBook 13-S WRT-WX9 FreeBSD 12.2-BETA2 r365865 GENERIC amd64 $ pciconf -lcvV none4@pci0:0:20:3: class=3Dox028000 card=3D0x20348086 chip=3D0x9df080= 86=20=20 rev=3D0x30 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Cannon Point-LP CNV1 [ Wireless-AC ] ... As well as the message=20 iwm0: iwm_start_fw: failed 60 I also sometimes get=20 iwm0: (Intel(R) Dual Band Wireless AC 9560) mem 0x94210000 - 0x9421bfff at device 20.3 on pci0 iwm0: hw rev 0x310 fw ver 34.3125011985.0 address XX:XX:XX:XX:XX:XX iwm0: failed to send antennas before calibration: 35 iwm_run_init_ucode: failed 35 iwm0: could not initiate scan My device has only USB Type 3 ports for external comms | video | charging, and whether or not iwm loads or not seems to depend on what is connected to which of the two USB ports. With nothing in either port, and starting from power off, wlan0 sets up OK every time (so far). What additional logs can I send? --=20 You are receiving this mail because: You are the assignee for the bug.=