Johannes Berg says: ==================== Some updates: * injection/radiotap updates for new test capabilities * remove WDS support - even years ago when we turned it off by default it was already basically unusable * support for HE (802.11ax) rates for beacons * support for some vendor-specific HE rates * many other small features/cleanups * tag 'mac80211-next-for-net-next-2020-11-13' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next: (21 commits) nl80211: fix kernel-doc warning in the new SAE attribute cfg80211: remove WDS code mac80211: remove WDS-related code rt2x00: remove WDS code b43legacy: remove WDS code b43: remove WDS code carl9170: remove WDS code ath9k: remove WDS code wireless: remove CONFIG_WIRELESS_WDS mac80211: assure that certain drivers adhere to DONT_REORDER flag mac80211: don't overwrite QoS TID of injected frames mac80211: adhere to Tx control flag that prevents frame reordering mac80211: add radiotap flag to assure frames are not reordered mac80211: save HE oper info in BSS config for mesh cfg80211: add support to configure HE MCS for beacon rate nl80211: fix beacon tx rate mask validation nl80211/cfg80211: fix potential infinite loop cfg80211: Add support to calculate and report 4096-QAM HE rates cfg80211: Add support to configure SAE PWE value to drivers ieee80211: Add definition for WFA DPP ... ====================
Showing the changes to include/uapi (1 of 38 files). Show all
Unified · Split
| @@ -757,7 +757,8 @@ · 756 unmodified lines | ||
| 757 | 757 | * of any other interfaces, and other interfaces will again take |
| 758 | 758 | * precedence when they are used. |
| 759 | 759 | * |
| 760 | − * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface. | |
| 760 | + * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface | |
| 761 | + * (no longer supported). | |
| 761 | 762 | * |
| 762 | 763 | * @NL80211_CMD_SET_MULTICAST_TO_UNICAST: Configure if this AP should perform |
| 763 | 764 | * multicast to unicast conversion. When enabled, all multicast packets |
| @@ -1750,8 +1751,9 @@ enum nl80211_commands { · 986 unmodified lines | ||
| 1750 | 1751 | * specify just a single bitrate, which is to be used for the beacon. |
| 1751 | 1752 | * The driver must also specify support for this with the extended |
| 1752 | 1753 | * features NL80211_EXT_FEATURE_BEACON_RATE_LEGACY, |
| 1753 | − * NL80211_EXT_FEATURE_BEACON_RATE_HT and | |
| 1754 | − * NL80211_EXT_FEATURE_BEACON_RATE_VHT. | |
| 1754 | + * NL80211_EXT_FEATURE_BEACON_RATE_HT, | |
| 1755 | + * NL80211_EXT_FEATURE_BEACON_RATE_VHT and | |
| 1756 | + * NL80211_EXT_FEATURE_BEACON_RATE_HE. | |
| 1755 | 1757 | * |
| 1756 | 1758 | * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain |
| 1757 | 1759 | * at least one byte, currently used with @NL80211_CMD_REGISTER_FRAME. |
| @@ -2527,6 +2529,11 @@ enum nl80211_commands { · 769 unmodified lines | ||
| 2527 | 2529 | * override mask. Used with NL80211_ATTR_S1G_CAPABILITY in |
| 2528 | 2530 | * NL80211_CMD_ASSOCIATE or NL80211_CMD_CONNECT. |
| 2529 | 2531 | * |
| 2532 | + * @NL80211_ATTR_SAE_PWE: Indicates the mechanism(s) allowed for SAE PWE | |
| 2533 | + * derivation in WPA3-Personal networks which are using SAE authentication. | |
| 2534 | + * This is a u8 attribute that encapsulates one of the values from | |
| 2535 | + * &enum nl80211_sae_pwe_mechanism. | |
| 2536 | + * | |
| 2530 | 2537 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 2531 | 2538 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 2532 | 2539 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| @@ -3016,6 +3023,8 @@ enum nl80211_attrs { · 483 unmodified lines | ||
| 3016 | 3023 | NL80211_ATTR_S1G_CAPABILITY, |
| 3017 | 3024 | NL80211_ATTR_S1G_CAPABILITY_MASK, |
| 3018 | 3025 | |
| 3026 | + NL80211_ATTR_SAE_PWE, | |
| 3027 | + | |
| 3019 | 3028 | /* add attributes here, update the policy in nl80211.c */ |
| 3020 | 3029 | |
| 3021 | 3030 | __NL80211_ATTR_AFTER_LAST, |
| @@ -5896,6 +5905,9 @@ enum nl80211_feature_flags { · 2874 unmodified lines | ||
| 5896 | 5905 | * @NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP: Driver/device supports |
| 5897 | 5906 | * unsolicited broadcast probe response transmission |
| 5898 | 5907 | * |
| 5908 | + * @NL80211_EXT_FEATURE_BEACON_RATE_HE: Driver supports beacon rate | |
| 5909 | + * configuration (AP/mesh) with HE rates. | |
| 5910 | + * | |
| 5899 | 5911 | * @NUM_NL80211_EXT_FEATURES: number of extended features. |
| 5900 | 5912 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. |
| 5901 | 5913 | */ |
| @@ -5956,6 +5968,7 @@ enum nl80211_ext_feature_index { · 54 unmodified lines | ||
| 5956 | 5968 | NL80211_EXT_FEATURE_SAE_OFFLOAD_AP, |
| 5957 | 5969 | NL80211_EXT_FEATURE_FILS_DISCOVERY, |
| 5958 | 5970 | NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP, |
| 5971 | + NL80211_EXT_FEATURE_BEACON_RATE_HE, | |
| 5959 | 5972 | |
| 5960 | 5973 | /* add new features before the definition below */ |
| 5961 | 5974 | NUM_NL80211_EXT_FEATURES, |
| @@ -7124,4 +7137,23 @@ enum nl80211_unsol_bcast_probe_resp_attributes { · 1162 unmodified lines | ||
| 7124 | 7137 | NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX = |
| 7125 | 7138 | __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1 |
| 7126 | 7139 | }; |
| 7140 | + | |
| 7141 | +/** | |
| 7142 | + * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE | |
| 7143 | + * derivation. Applicable only when WPA3-Personal SAE authentication is | |
| 7144 | + * used. | |
| 7145 | + * | |
| 7146 | + * @NL80211_SAE_PWE_UNSPECIFIED: not specified, used internally to indicate that | |
| 7147 | + * attribute is not present from userspace. | |
| 7148 | + * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only | |
| 7149 | + * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only | |
| 7150 | + * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element | |
| 7151 | + * can be used. | |
| 7152 | + */ | |
| 7153 | +enum nl80211_sae_pwe_mechanism { | |
| 7154 | + NL80211_SAE_PWE_UNSPECIFIED, | |
| 7155 | + NL80211_SAE_PWE_HUNT_AND_PECK, | |
| 7156 | + NL80211_SAE_PWE_HASH_TO_ELEMENT, | |
| 7157 | + NL80211_SAE_PWE_BOTH, | |
| 7158 | +}; | |
| 7127 | 7159 | #endif /* __LINUX_NL80211_H */ |