History

cfg80211: Add support for randomizing TA of Public Action frames

Add support to use a random local address (Address 2 = TA in transmit and the same address in receive functionality) for Public Action frames in order to improve privacy of WLAN clients. Applications fill the random transmit address in the frame buffer in the NL80211_CMD_FRAME command. This can be used only with the drivers that indicate support for random local address by setting the new NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA and/or NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED in ext_features. The driver needs to configure receive behavior to accept frames to the specified random address during the time 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 not used.

vamsi krishna committed 9 years ago

Commit ab5bb2d1 parent 10b2eb62 files · +25 −2Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+6−0
@@ -4699,6 +4699,10 @@ enum nl80211_feature_flags { · 4698 unmodified lines
46994699 * configuration (AP/mesh) with VHT rates.
47004700 * @NL80211_EXT_FEATURE_FILS_STA: This driver supports Fast Initial Link Setup
47014701 * with user space SME (NL80211_CMD_AUTHENTICATE) in station mode.
4702+ * @NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA: This driver supports randomized TA
4703+ * in @NL80211_CMD_FRAME while not associated.
4704+ * @NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED: This driver supports
4705+ * randomized TA in @NL80211_CMD_FRAME while associated.
47024706 *
47034707 * @NUM_NL80211_EXT_FEATURES: number of extended features.
47044708 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
@@ -4714,6 +4718,8 @@ enum nl80211_ext_feature_index { · 9 unmodified lines
47144718 NL80211_EXT_FEATURE_BEACON_RATE_HT,
47154719 NL80211_EXT_FEATURE_BEACON_RATE_VHT,
47164720 NL80211_EXT_FEATURE_FILS_STA,
4721+ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA,
4722+ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED,
47174723
47184724 /* add new features before the definition below */
47194725 NUM_NL80211_EXT_FEATURES,