Hi, Stanislaw, On Mon, 25 May 2020 at 11:58, Stanislaw Gruszka <stf_xl@xxxxx> wrote: > > Yeah, and at least without nohwcrypt=y we can still use HW encryption > for non-MFP stations. > > Rui, feel free to repost your patch with additional sta->mfp check. Sure, will do. :) > If someone is willing to implement mt76 approach to have HW encryption offload > for MFP+CCMP, I'll be happy to review patch. From other hand, most people will > use MFP with modern ciphers anyway, so I'm not sure how much need is for such > patch. I've been having a look at how mt76 solves the problem, but I haven't fully understood it yet. I feel it's out of my league, since I only started looking at wireless drivers very recently (I don't grasp all the concepts and the architecture). But one thing that also bugs me about software fallbacks is that for most of the older CPUs we don't have SIMD implementations of the required crypto. So, not only we fall back to software, but we're also stuck with scalar C algorithms on CPUs which are already slow. Rui