mac80211: Update to version 5.11.22-1
[openwrt/staging/mkresin.git] / package / kernel / mac80211 / patches / subsys / 010-sync-nl80211_h.patch
1 --- a/include/uapi/linux/nl80211.h
2 +++ b/include/uapi/linux/nl80211.h
3 @@ -655,6 +655,9 @@
4 * When a security association was established on an 802.1X network using
5 * fast transition, this event should be followed by an
6 * %NL80211_CMD_PORT_AUTHORIZED event.
7 + * Following a %NL80211_CMD_ROAM event userspace can issue
8 + * %NL80211_CMD_GET_SCAN in order to obtain the scan information for the
9 + * new BSS the card/driver roamed to.
10 * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify
11 * userspace that a connection was dropped by the AP or due to other
12 * reasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and
13 @@ -1963,8 +1966,15 @@ enum nl80211_commands {
14 * @NL80211_ATTR_PROBE_RESP: Probe Response template data. Contains the entire
15 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
16 * to be filled by the FW.
17 - * @NL80211_ATTR_DISABLE_HT: Force HT capable interfaces to disable
18 - * this feature. Currently, only supported in mac80211 drivers.
19 + * @NL80211_ATTR_DISABLE_HT: Force HT capable interfaces to disable
20 + * this feature during association. This is a flag attribute.
21 + * Currently only supported in mac80211 drivers.
22 + * @NL80211_ATTR_DISABLE_VHT: Force VHT capable interfaces to disable
23 + * this feature during association. This is a flag attribute.
24 + * Currently only supported in mac80211 drivers.
25 + * @NL80211_ATTR_DISABLE_HE: Force HE capable interfaces to disable
26 + * this feature during association. This is a flag attribute.
27 + * Currently only supported in mac80211 drivers.
28 * @NL80211_ATTR_HT_CAPABILITY_MASK: Specify which bits of the
29 * ATTR_HT_CAPABILITY to which attention should be paid.
30 * Currently, only mac80211 NICs support this feature.
31 @@ -3045,6 +3055,8 @@ enum nl80211_attrs {
32
33 NL80211_ATTR_SAR_SPEC,
34
35 + NL80211_ATTR_DISABLE_HE,
36 +
37 /* add attributes here, update the policy in nl80211.c */
38
39 __NL80211_ATTR_AFTER_LAST,
40 @@ -5928,6 +5940,16 @@ enum nl80211_feature_flags {
41 * @NL80211_EXT_FEATURE_BEACON_RATE_HE: Driver supports beacon rate
42 * configuration (AP/mesh) with HE rates.
43 *
44 + * @NL80211_EXT_FEATURE_SECURE_LTF: Device supports secure LTF measurement
45 + * exchange protocol.
46 + *
47 + * @NL80211_EXT_FEATURE_SECURE_RTT: Device supports secure RTT measurement
48 + * exchange protocol.
49 + *
50 + * @NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE: Device supports management
51 + * frame protection for all management frames exchanged during the
52 + * negotiation and range measurement procedure.
53 + *
54 * @NUM_NL80211_EXT_FEATURES: number of extended features.
55 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
56 */
57 @@ -5989,6 +6011,9 @@ enum nl80211_ext_feature_index {
58 NL80211_EXT_FEATURE_FILS_DISCOVERY,
59 NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP,
60 NL80211_EXT_FEATURE_BEACON_RATE_HE,
61 + NL80211_EXT_FEATURE_SECURE_LTF,
62 + NL80211_EXT_FEATURE_SECURE_RTT,
63 + NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE,
64
65 /* add new features before the definition below */
66 NUM_NL80211_EXT_FEATURES,
67 @@ -6286,11 +6311,13 @@ struct nl80211_vendor_cmd_info {
68 * @NL80211_TDLS_PEER_HT: TDLS peer is HT capable.
69 * @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable.
70 * @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable.
71 + * @NL80211_TDLS_PEER_HE: TDLS peer is HE capable.
72 */
73 enum nl80211_tdls_peer_capability {
74 NL80211_TDLS_PEER_HT = 1<<0,
75 NL80211_TDLS_PEER_VHT = 1<<1,
76 NL80211_TDLS_PEER_WMM = 1<<2,
77 + NL80211_TDLS_PEER_HE = 1<<3,
78 };
79
80 /**
81 @@ -6882,6 +6909,9 @@ enum nl80211_peer_measurement_ftm_capa {
82 * if neither %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED nor
83 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
84 * ranging will be used.
85 + * @NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK: negotiate for LMR feedback. Only
86 + * valid if either %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED or
87 + * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
88 *
89 * @NUM_NL80211_PMSR_FTM_REQ_ATTR: internal
90 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
91 @@ -6900,6 +6930,7 @@ enum nl80211_peer_measurement_ftm_req {
92 NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC,
93 NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED,
94 NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED,
95 + NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK,
96
97 /* keep last */
98 NUM_NL80211_PMSR_FTM_REQ_ATTR,