Weekly Development report(Mar 25 ~ Mar 29) on the iwlwifi WiFi project

From: Cheng Cui <cc_at_freebsd.org>
Date: Tue, 02 Apr 2024 13:28:50 UTC
As mentioned earlier there is a problem with the HW encryption per packet
once `LKPI_80211_HW_CRYPTO` is defined. This problem (tracking in PR 277996
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277996>) is on top of
the patch D44463 <https://reviews.freebsd.org/D44463>, which I would
welcome more feedback. Current investigation confirms that HW key setup in
firmware/driver is successful, 80211 key mapping between the FreeBSD and
the LinuxKPI is correct, and the HW key encryption stub in skbuf for the
driver is available until the driver handles it. After sync-up with Bjoern,
I found this problem only happens in the tx path, not the rx path, which
means this is only impacting the tx encryption. My next step is to
investigate the tx path with HW encryption in the Linux kernel, and figure
out how to check these parameters/flags. Most likely I am going to dump a
Linux kernel core file on the point where I am interested to see the
internal stats.

-- 
Best Regards,
Cheng Cui