From nobody Mon Apr 22 21:18:41 2024 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 4VNdRY6Cycz5Hw77 for ; Mon, 22 Apr 2024 21:19:21 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNdRY0HyPz54qr for ; Mon, 22 Apr 2024 21:19:21 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of ccfreebsd@gmail.com designates 209.85.208.174 as permitted sender) smtp.mailfrom=ccfreebsd@gmail.com Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2d8b194341eso48152861fa.3 for ; Mon, 22 Apr 2024 14:19:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713820758; x=1714425558; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ayFsqq4zGkACr0CS4P62w287uqjWFLRJa6Td+ZYVI5I=; b=JJ9bX4xEp6DCQ30jX8/Jxz3Spug9XN2t7EitN7BaSA4BV+U/w9Fz84nvjhHylJUaf4 wCdHgg26MIasT0L8BhmEED9KgzF6zV0SLvB41ZNWXTn42zr6lsz+jo7m9w9EMN8shwKS vYFgZjkGwgZYPb9dZeyLC+pwnVvsXTRBfyAUbcYuNTLShFaDsBeI1ue7xde2z4iYX7qd Pe7bYE5/tM+/wzhpEKaXcbrIoLFnqx9zkpFwjVCIql0J62EN+19/boQRmngMMcjn1INB qkQee/non/+mqf1CUqxD5svsqGPll6D85BdeozK7Rwo+2nY6eQuLl5CXrKRtxT7h/nCj EBfw== X-Gm-Message-State: AOJu0YxsJXrpaHz8kACgApvFM55i12wbQTYXFfvoHVN56dn8XWm5Suzx tSOlw1wrT9uqxcCfIaPnBTKmAInzQ4eJCONYbhNvLQLilUwKZ4OO9A+TcXs1 X-Google-Smtp-Source: AGHT+IFbmHZgmxt9WU6rzXM9GmkS3T+Wh3djWBvJYB1xdTgJslX3LChyzxS4ah4ZTboV6PHuO2Azvw== X-Received: by 2002:a2e:a586:0:b0:2d9:eb66:6d39 with SMTP id m6-20020a2ea586000000b002d9eb666d39mr8213391ljp.19.1713820758007; Mon, 22 Apr 2024 14:19:18 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id w22-20020a2e9996000000b002da2c2fc293sm1512957lji.121.2024.04.22.14.19.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 14:19:17 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2dde561f852so6987441fa.2 for ; Mon, 22 Apr 2024 14:19:17 -0700 (PDT) X-Received: by 2002:a2e:9183:0:b0:2da:1f03:b893 with SMTP id f3-20020a2e9183000000b002da1f03b893mr6702886ljg.11.1713820757730; Mon, 22 Apr 2024 14:19:17 -0700 (PDT) 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 From: Cheng Cui Date: Mon, 22 Apr 2024 17:18:41 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Weekly Development report(Apr 15 ~ Apr 18) on the iwlwifi WiFi project To: wireless@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007938ba0616b5fda8" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.75 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; NEURAL_HAM_SHORT(-0.86)[-0.861]; FORGED_SENDER(0.30)[cc@freebsd.org,ccfreebsd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[cc@freebsd.org,ccfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[wireless@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.174:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.174:from,209.85.208.181:received] X-Rspamd-Queue-Id: 4VNdRY0HyPz54qr --0000000000007938ba0616b5fda8 Content-Type: text/plain; charset="UTF-8" Still working on the HW key/encryption/decryption support under the `LKPI_80211_HW_CRYPTO` block. - This week I was still testing the key setup paths to see any clue that leads to HW crypto offload malfunction. But as I was stuck with some dead ends, I took one day off last Friday to refresh my jammed brain. 1. I dumped more key setup traces with key contents. But all these traces confirm the key setup progress in firmware (Linux vs. FreeBSD) is correct. 2. Also the way how a ucast key is used in the TX path is verified again. Today, adrian@ and I took several hours debugging the code and analyzing different code paths. Also there is email discussion with Johannes Berg that adrian@ helped to reach out with. -- Best Regards, Cheng Cui --0000000000007938ba0616b5fda8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Still working on the HW key/encryption/decryption support = under the `LKPI_80211_HW_CRYPTO` block.

  • This week I was still testing the key setup paths to see= any clue that leads to HW crypto offload malfunction. But as I was stuck w= ith some dead ends, I took one day off last Friday to refresh my jammed bra= in.
    1. I dumped more key setup traces with key contents. = But all these traces confirm the key setup progress in firmware (Linux vs. = FreeBSD) is correct.
    2. Also the way how a ucast key is used in the TX= path is verified again.
Today, adrian@ and I took sever= al hours debugging the code and analyzing different code paths. Also there = is email discussion with=C2=A0Johannes Berg that adrian@ helped to reach ou= t with.

--
Best Regards,
Cheng Cui
--0000000000007938ba0616b5fda8--