wifi: nl80211: Add support for randomizing TA of auth and deauth frames
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Thu, 12 Jan 2023 01:24:13 +0000 (06:54 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Mar 2023 10:12:02 +0000 (11:12 +0100)
commit6933486133ecf71bbe273d7ac72cfc4a51286af3
tree95bf74d956336a3dbb87a5fe17042d443e1e62f6
parent2ad7dd9425408bf0ca524102808059c05bad169e
wifi: nl80211: Add support for randomizing TA of auth and deauth frames

Add support to use a random local address in authentication and
deauthentication frames sent to unassociated peer when the driver
supports.

The driver needs to configure receive behavior to accept frames with
random transmit address specified in TX path authentication frames
during the time of the frame exchange is pending and such frames need to
be acknowledged similarly to frames sent to the local permanent address
when this random address functionality is used.

This capability allows use of randomized transmit address for PASN
authentication frames to improve privacy of WLAN clients.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20230112012415.167556-2-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/mlme.c