blob: fe47b57d033405e6ae5da4fb39b048e33ac576fc [file] [log] [blame]
developer4e0da232022-05-09 13:05:53 +08001diff --git a/src/drivers/nl80211_copy.h b/src/drivers/nl80211_copy.h
2index f962c06..f7be755 100644
3--- a/src/drivers/nl80211_copy.h
4+++ b/src/drivers/nl80211_copy.h
5@@ -2560,6 +2560,19 @@ enum nl80211_commands {
6 * disassoc events to indicate that an immediate reconnect to the AP
7 * is desired.
8 *
9+ * @NL80211_ATTR_OBSS_COLOR_BITMAP: bitmap of the u64 BSS colors for the
10+ * %NL80211_CMD_OBSS_COLOR_COLLISION event.
11+ *
12+ * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
13+ * until the color switch event.
14+ * @NL80211_ATTR_COLOR_CHANGE_COLOR: u8 attribute specifying the color that we are
15+ * switching to
16+ * @NL80211_ATTR_COLOR_CHANGE_ELEMS: Nested set of attributes containing the IE
17+ * information for the time while performing a color switch.
18+ *
19+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
20+ * transmit power to stay within regulatory limits. u32, dBi.
21+ *
22 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
23 * @NL80211_ATTR_MAX: highest attribute number currently defined
24 * @__NL80211_ATTR_AFTER_LAST: internal use
25@@ -3057,6 +3070,14 @@ enum nl80211_attrs {
26
27 NL80211_ATTR_DISABLE_HE,
28
29+ NL80211_ATTR_OBSS_COLOR_BITMAP,
30+
31+ NL80211_ATTR_COLOR_CHANGE_COUNT,
32+ NL80211_ATTR_COLOR_CHANGE_COLOR,
33+ NL80211_ATTR_COLOR_CHANGE_ELEMS,
34+
35+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
36+
37 /* add attributes here, update the policy in nl80211.c */
38
39 __NL80211_ATTR_AFTER_LAST,
40@@ -5950,6 +5971,9 @@ enum nl80211_feature_flags {
41 * frame protection for all management frames exchanged during the
42 * negotiation and range measurement procedure.
43 *
44+ * @NL80211_EXT_FEATURE_BSS_COLOR: The driver supports BSS color collision
45+ * detection and change announcemnts.
46+ *
47 * @NUM_NL80211_EXT_FEATURES: number of extended features.
48 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
49 */
50@@ -6014,6 +6038,7 @@ enum nl80211_ext_feature_index {
51 NL80211_EXT_FEATURE_SECURE_LTF,
52 NL80211_EXT_FEATURE_SECURE_RTT,
53 NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE,
54+ NL80211_EXT_FEATURE_BSS_COLOR,
55
56 /* add new features before the definition below */
57 NUM_NL80211_EXT_FEATURES,