Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 14:32:11 -0400
From:      Cheng Cui <cc@freebsd.org>
To:        wireless@freebsd.org
Subject:   Weekly Development report(Apr 08 ~ Apr 12) on the iwlwifi WiFi project
Message-ID:  <CAGaXuiJ9H9E6H8OOtKg9bDoYpyk%2B2_gQ7bot0HF58a5ytEiPgg@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Still working on the HW key/encryption/decryption support under the
`LKPI_80211_HW_CRYPTO` block.


   - This week I was mainly testing different ideas and digging up
   different code paths to see any clue that leads to HW crypto offload
   malfunction.


   1. Firstly, I figured out how to reproduce the malfunction in Linux
      kernel, with the way to nullify info->control.hw_key right before
      iwl_mvm_set_tx_params() inside iwl_mvm_tx_mpdu(). I added this
info in the
      tracking PR 277996
      <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277996>.
      2. We(adrian@ bz@ and me) are in sync with the issue. Adrian is very
      kind and introduced some related work background.
      3. So far, some missing flags, e.g. IEEE80211_KEY_FLAG_PAIRWISE
      or ieee80211_tx_info_flags do not help. And my blind guess of
      shrinking ieee80211_tx_info size to match Linux skb->cb 48 Byte size does
      not seem to work either.

Will again dig up the driver hw key setup path in Linux and investigate.

-- 
Best Regards,
Cheng Cui

[-- Attachment #2 --]
<div dir="ltr">Still working on the HW key/encryption/decryption support under the `LKPI_80211_HW_CRYPTO` block.<div><br></div><div><ul><li>This week I was mainly testing different ideas and digging up different code paths to see any clue that leads to HW crypto offload malfunction.<br></li></ul><ol><ol><li>Firstly, I figured out how to reproduce the malfunction in Linux kernel, with the way to nullify info-&gt;control.hw_key right before iwl_mvm_set_tx_params() inside iwl_mvm_tx_mpdu(). I added this info in the tracking PR <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277996" target="_blank">277996</a>.</li><li>We(adrian@ bz@ and me) are in sync with the issue. Adrian is very kind and introduced some related work background.</li><li>So far, some missing flags, e.g. IEEE80211_KEY_FLAG_PAIRWISE or ieee80211_tx_info_flags do not help. And my blind guess of shrinking ieee80211_tx_info size to match Linux skb-&gt;cb 48 Byte size does not seem to work either.</li></ol></ol>Will again dig up the driver hw key setup path in Linux and investigate.<br><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div>Best Regards,<div>Cheng Cui</div></div></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGaXuiJ9H9E6H8OOtKg9bDoYpyk%2B2_gQ7bot0HF58a5ytEiPgg>