From nobody Wed Feb 19 11:41:02 2025 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YyZGV0qCJz5pFTT for ; Wed, 19 Feb 2025 11:41:06 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YyZGT48qsz3Ffb; Wed, 19 Feb 2025 11:41:05 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739965265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5wm3kgpylNISq4TjYnWfy1tZ0k09ew+2nquWRSEbzNA=; b=ncsl61R3bfGeHN4c01W6Fnx1rwqGdzb30crn+1+jReoJ8dxItAnVxp5+4zEctzqhVgDbzV t9VQ1fOxTUwc42/DX6xK9WDextvCuBgtrcxHsJrB1FyQ2WSrYvQPrMSf/rAGAKNpgrlftb 4+2dEvdCqppXr0qip7WniSOXNxHxFTfdURH3A04Og8pbvF6kT2dShWIn8oxrUV1BUTso5j N8wE4k33AOmOmW7lwhom8BCDFigooqs0qlEknByyx+RDFa5dQhhDZyvyOMITgSZV0zfm0Q uk4ajuMq2/LcTW2gZw3qtxm4cph0S/UVBXqBCakLq3oi4yJfMwm9tnGWF7PLRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739965265; a=rsa-sha256; cv=none; b=s6DrZbdcNX3vzkN4iu8sZATUe1oXNFgfNGVtTLtXJERGWVMaaCpDnXhva0nfxsTbMsjVRy 9U6HADsK+oi+QNBGDiGGF2cOTcu+Wn/o2G2i4+pVVPGKe+B+obESoS+y1w2YNqj4ijgyd4 Q9KYALBuMYb4rt0TuNxp7o2pwvpgNxW/+eWLdPLSw6f7uPaTzQ8ENJupJUqMmL6pkKQ4NS O3bSK2fn1qFtVezFD1Vmsz41cRMG3AwfdcjtyjG9Bbo4tEaGZyiIh8WKpPKeqEQ+ID1c5a LBDFfpvwitP/MBCkYLMeKiMe44gtSXDrpG0u9NS/yiWG56GqUp7ZrQeF3XCYfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739965265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5wm3kgpylNISq4TjYnWfy1tZ0k09ew+2nquWRSEbzNA=; b=Z37jNm0Asvt/4rw57P1oT2/PdMs9cp6fOdHges/e2gYAewXDKivdUTkzDbhPwpqYU58wcp gv4THrdh6dTNvaz7sG97pyRloMWYxWqqRlFeyYzUCabizOewHJ7EQztZaFU99XGbtiMqt1 mzxK4gW/sXXS6OMqFDKl1EW++fEX4en2gFsfoBsxLh0Zp/IAaTy9yADWAuBeJMC+EKOeAe dNj/gGj9/eXOc5MydPMqCOxDQ8ob5qWaRwJENyxP8pYHrGZ74tPK9OAhYr3u/XxH19q1SH xf4rzp2ljPnCgNfjPAsGemWNM2Y9Dew/X3tKIl169SNPOSJFgiw7iXqCKgT8Eg== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YyZGT2YKDz2wM; Wed, 19 Feb 2025 11:41:05 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 95519A64805; Wed, 19 Feb 2025 11:41:02 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 5FA7D2D029DF; Wed, 19 Feb 2025 11:41:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id obkVZohxpnnb; Wed, 19 Feb 2025 11:41:02 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:da44:89ff:fedd:d5ab]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 6CB7F2D029D8; Wed, 19 Feb 2025 11:41:02 +0000 (UTC) Date: Wed, 19 Feb 2025 11:41:02 +0000 (UTC) From: "Bjoern A. Zeeb" To: ltning-freebsd-wireless@anduin.net cc: FreeBSD wireless mailing list Subject: Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) In-Reply-To: <13f9a40c-1394-4a4f-adc7-49671cfd5786@anduin.net> Message-ID: <80118nq3-1098-403n-p478-p07q94346qo8@SerrOFQ.bet> References: <13f9a40c-1394-4a4f-adc7-49671cfd5786@anduin.net> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Wed, 19 Feb 2025, ltning-freebsd-wireless@anduin.net wrote: Hi, > All good on my Framework 13: > > iwlwifi0@pci0:170:0:0: class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086 > device=0x2725 subvendor=0x8086 subdevice=0x0020 > > No obvious differences from before. I have a feeling it might be a tad faster > than before - especially under high CPU load - but that may also be entirely > placebo. I would not expect this to be noticable with the current state. As indicated in the original message it is a prerequisite for going to the next step. > Btw I'm not able to build tools/tools/net80211/wlanstats. Build log attached. > I'll pull down newer source and rebuild (since it's later been moved to > usr/sbin) but I am not at liberty to do that right now. Yes, I had to fix that when I moved it into usr.sbin; it seemed one of the maros used was removed in Decemeber 2024. If you want to build it in tools, I think this bit will fix it (just pasted in): @@ -460,8 +460,8 @@ getlladdr(struct wlanstatfoo_p *wf) if (p == NULL) errx(1, "did not find link layer address for interface %s", wf->ifr.ifr_name); - sdl = (const struct sockaddr_dl *) p->ifa_addr; - IEEE80211_ADDR_COPY(wf->mac, CLLADDR(sdl)); + sdl = (const struct sockaddr_dl *)(const void *)p->ifa_addr; + IEEE80211_ADDR_COPY(wf->mac, sdl->sdl_data + sdl->sdl_nlen); freeifaddrs(ifp); } Thanks a lot for testing and reporting back! Bjoern -- Bjoern A. Zeeb r15:7