Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2024 11:59:34 -0400
From:      Cheng Cui <cc@freebsd.org>
To:        wireless@freebsd.org
Subject:   Weekly Development report(Apr 01 ~ Apr 05) on the iwlwifi WiFi project
Message-ID:  <CAGaXuiLPhfQwe2PXzV__QTobKxOLdbuzLHoK3XXjDHkzVGWJRA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000006e7198061597e6cf
Content-Type: text/plain; charset="UTF-8"

Still working on the HW key/encryption/decryption support under the
`LKPI_80211_HW_CRYPTO` block.


   1. Firstly, the Linux kernel debugging is more complicated than I
   thought. For example, the crash(8)/kdump based kernel core file read does
   not have the gdb frame check on the interested individual frame trace. It
   looks like kgdb is used for live kernel debugging through the console, or I
   have not found a reliable source to debug core dump files by using kgdb.
   This makes me feel I am in favor with the FreeBSD kgdb workflow (it can
   work on a kernel core file).
   2. Secondly, even with the help of printk in Linux and made sure all the
   necessary parameters are setup correctly for the `struct
   ieee80211_key_conf` before calling `lkpi_80211_mo_set_key`, as I compared
   these parameters in the same tx path in Linux, the FreeBSD hw encryption
   still is not working, and packet capture shows no tx ccmp encryption in the
   header. In discussion with Bjoern, I may need to focus on the
   ieee80211_tx_info struct.
   3. Updated the tracking PR 277996
   <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277996>; with my
   current investigation. I need to dig up further on the key setup process
   and the corresponding LinuxKPI code on different flags setup.
   4. I still need more feedback on how to proceed with patch D44463
   <https://reviews.freebsd.org/D44463>. I have sent a private email to
   adrian <https://reviews.freebsd.org/p/adrian/>@ asking for help, and I
   am waiting for his response.

Meanwhile, I have sent out an email to olivier@, and asked him about
test_ccmp.c
in regression tests. I am still waiting for his responses.

-- 
Best Regards,
Cheng Cui

--0000000000006e7198061597e6cf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Still working on the HW key/encryption/decryption support =
under the `LKPI_80211_HW_CRYPTO` block.<div><br></div><div><ol><li>Firstly,=
 the Linux kernel debugging is more complicated than I thought. For example=
, the crash(8)/kdump based kernel core file read does not have the gdb fram=
e check on the interested individual frame trace. It looks like kgdb is use=
d for live kernel debugging through the console, or I have not found a reli=
able source to debug core dump files by using kgdb. This makes me feel I am=
=C2=A0in favor with the FreeBSD kgdb workflow (it can work on a kernel core=
 file).=C2=A0</li><li>Secondly, even with the help of printk in Linux and m=
ade sure all the necessary parameters are setup=C2=A0correctly for the `str=
uct ieee80211_key_conf` before calling `lkpi_80211_mo_set_key`, as I compar=
ed these parameters in the same tx path in Linux, the FreeBSD hw encryption=
 still is not working, and packet capture shows no tx ccmp encryption in th=
e header. In discussion with Bjoern, I may need to focus on the ieee80211_t=
x_info struct.<br></li><li>Updated the tracking PR<span class=3D"gmail-Appl=
e-converted-space">=C2=A0</span><a href=3D"https://bugs.freebsd.org/bugzill=
a/show_bug.cgi?id=3D277996" target=3D"_blank">277996</a>=C2=A0with my curre=
nt investigation. I need to dig up further on the key setup process and the=
 corresponding LinuxKPI code on different flags setup.</li><li>I still need=
 more feedback on how to proceed with patch=C2=A0<a href=3D"https://reviews=
.freebsd.org/D44463" style=3D"font-family:Calibri">D44463</a>. I have sent =
a private email to=C2=A0<a href=3D"https://reviews.freebsd.org/p/adrian/" s=
tyle=3D"font-family:Calibri">adrian</a>@ asking for help, and I am waiting =
for his response.</li></ol><div>Meanwhile, I have sent out an email to=C2=
=A0<span style=3D"font-family:&quot;Google Sans&quot;,Roboto,RobotoDraft,He=
lvetica,Arial,sans-serif">olivier@, and asked him about=C2=A0</span>test_cc=
mp.c in regression tests. I am still waiting for his responses.</div><div><=
br></div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"l=
tr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><div></div>Best Regards,<div>Cheng Cui</div></div></div></div></di=
v>

--0000000000006e7198061597e6cf--



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