Re: [PATCH 8/8] mt76: validate rx CCMP PN
From: Felix Fietkau <nbd@nbd.name>
Date: 2018-01-24 16:23:35
From: Felix Fietkau <nbd@nbd.name>
Date: 2018-01-24 16:23:35
On 2018-01-24 17:20, Johannes Berg wrote:
On Wed, 2018-01-24 at 17:11 +0100, Felix Fietkau wrote:quoted
I guess I will have to look into fragmentation. I have a second driver pending that only reports the CCMP PN outside of the packet, and for performance reasons I really don't want to translate it and move it to a place where mac80211 can parse it. I'm also looking into doing parallel rx in software to see if I can get more performance that way. I think for that I would also need CCMP PN validation in the driver.Fair enough. We also do it, except we just decide that fragmented packets we don't care and can use mac80211 - but we get the PN in- frame, just can't always use mac80211 due to parallel RX.
I guess I could make the driver translate the header for fragmented packets only. - Felix