* Help with encrypting PMF management frames
@ 2019-06-06 16:54 Ben Greear
2019-06-06 22:12 ` Ben Greear
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2019-06-06 16:54 UTC (permalink / raw)
To: linux-wireless
Hello,
My variant of ath10k uses the normal 'native-wifi' tx path for management frames.
Internally in the firmware, it seems that the management TID is flagged to expect
raw frames, and I think that is why I see Action frames on-air that are not actually
encrypted but which have some space added to their packet that should be filled in by
the hw-crypt engine.
Is there a way to get mac80211 to software-crypt just management-tid PMF frames?
So far, I have not been able to find the correct place in the tx logic of
mac80211...
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with encrypting PMF management frames
2019-06-06 16:54 Help with encrypting PMF management frames Ben Greear
@ 2019-06-06 22:12 ` Ben Greear
0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2019-06-06 22:12 UTC (permalink / raw)
To: linux-wireless
On 6/6/19 9:54 AM, Ben Greear wrote:
> Hello,
>
> My variant of ath10k uses the normal 'native-wifi' tx path for management frames.
> Internally in the firmware, it seems that the management TID is flagged to expect
> raw frames, and I think that is why I see Action frames on-air that are not actually
> encrypted but which have some space added to their packet that should be filled in by
> the hw-crypt engine.
>
> Is there a way to get mac80211 to software-crypt just management-tid PMF frames?
>
> So far, I have not been able to find the correct place in the tx logic of
> mac80211...
>
> Thanks,
> Ben
>
Ok, I found the issue. It seems the ath10k hardware refuses to encrypt
management frames unless they are sent in RAW mode (nwifi mgt frames are sent
w/out encryption for whatever reason).
So, the fix is in the ath10k driver (and just my driver I suppose, stock
driver uses a different API for mgt frames that eventually is raw-tx down in
the firmware).
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-06 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 16:54 Help with encrypting PMF management frames Ben Greear
2019-06-06 22:12 ` Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).