4ee448bdf3125190761467e4ff92da015729e238
[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 @@ -5937,6 +5940,16 @@ enum nl80211_feature_flags {
14 * @NL80211_EXT_FEATURE_BEACON_RATE_HE: Driver supports beacon rate
15 * configuration (AP/mesh) with HE rates.
16 *
17 + * @NL80211_EXT_FEATURE_SECURE_LTF: Device supports secure LTF measurement
18 + * exchange protocol.
19 + *
20 + * @NL80211_EXT_FEATURE_SECURE_RTT: Device supports secure RTT measurement
21 + * exchange protocol.
22 + *
23 + * @NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE: Device supports management
24 + * frame protection for all management frames exchanged during the
25 + * negotiation and range measurement procedure.
26 + *
27 * @NUM_NL80211_EXT_FEATURES: number of extended features.
28 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
29 */
30 @@ -5998,6 +6011,9 @@ enum nl80211_ext_feature_index {
31 NL80211_EXT_FEATURE_FILS_DISCOVERY,
32 NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP,
33 NL80211_EXT_FEATURE_BEACON_RATE_HE,
34 + NL80211_EXT_FEATURE_SECURE_LTF,
35 + NL80211_EXT_FEATURE_SECURE_RTT,
36 + NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE,
37
38 /* add new features before the definition below */
39 NUM_NL80211_EXT_FEATURES,
40 @@ -6295,11 +6311,13 @@ struct nl80211_vendor_cmd_info {
41 * @NL80211_TDLS_PEER_HT: TDLS peer is HT capable.
42 * @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable.
43 * @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable.
44 + * @NL80211_TDLS_PEER_HE: TDLS peer is HE capable.
45 */
46 enum nl80211_tdls_peer_capability {
47 NL80211_TDLS_PEER_HT = 1<<0,
48 NL80211_TDLS_PEER_VHT = 1<<1,
49 NL80211_TDLS_PEER_WMM = 1<<2,
50 + NL80211_TDLS_PEER_HE = 1<<3,
51 };
52
53 /**
54 @@ -6891,6 +6909,9 @@ enum nl80211_peer_measurement_ftm_capa {
55 * if neither %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED nor
56 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
57 * ranging will be used.
58 + * @NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK: negotiate for LMR feedback. Only
59 + * valid if either %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED or
60 + * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
61 *
62 * @NUM_NL80211_PMSR_FTM_REQ_ATTR: internal
63 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
64 @@ -6909,6 +6930,7 @@ enum nl80211_peer_measurement_ftm_req {
65 NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC,
66 NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED,
67 NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED,
68 + NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK,
69
70 /* keep last */
71 NUM_NL80211_PMSR_FTM_REQ_ATTR,