+@@ -2477,6 +2525,9 @@ enum nl80211_sched_scan_match_attr {
+ * @NL80211_RRF_NO_IR: no mechanisms that initiate radiation are allowed,
+ * this includes probe requests or modes of operation that require
+ * beaconing.
++ * @NL80211_RRF_AUTO_BW: maximum available bandwidth should be calculated
++ * base on contiguous rules and wider channels will be allowed to cross
++ * multiple contiguous/overlapping frequency ranges.
+ */
+ enum nl80211_reg_rule_flags {
+ NL80211_RRF_NO_OFDM = 1<<0,
+@@ -2488,6 +2539,7 @@ enum nl80211_reg_rule_flags {
+ NL80211_RRF_PTMP_ONLY = 1<<6,
+ NL80211_RRF_NO_IR = 1<<7,
+ __NL80211_RRF_NO_IBSS = 1<<8,
++ NL80211_RRF_AUTO_BW = 1<<11,
+ };
+
+ #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR
+@@ -3131,6 +3183,7 @@ enum nl80211_key_attributes {
+ * in an array of MCS numbers.
+ * @NL80211_TXRATE_VHT: VHT rates allowed for TX rate selection,
+ * see &struct nl80211_txrate_vht
++ * @NL80211_TXRATE_GI: configure GI, see &enum nl80211_txrate_gi
+ * @__NL80211_TXRATE_AFTER_LAST: internal
+ * @NL80211_TXRATE_MAX: highest TX rate attribute
+ */
+@@ -3139,6 +3192,7 @@ enum nl80211_tx_rate_attributes {
+ NL80211_TXRATE_LEGACY,
+ NL80211_TXRATE_HT,
+ NL80211_TXRATE_VHT,
++ NL80211_TXRATE_GI,
+
+ /* keep last */
+ __NL80211_TXRATE_AFTER_LAST,
+@@ -3156,6 +3210,12 @@ struct nl80211_txrate_vht {
+ __u16 mcs[NL80211_VHT_NSS_MAX];
+ };
+
++enum nl80211_txrate_gi {
++ NL80211_TXRATE_DEFAULT_GI,
++ NL80211_TXRATE_FORCE_SGI,
++ NL80211_TXRATE_FORCE_LGI,
++};
++
+ /**
+ * enum nl80211_band - Frequency band
+ * @NL80211_BAND_2GHZ: 2.4 GHz ISM band
+@@ -3801,11 +3861,6 @@ enum nl80211_ap_sme_features {
+ * @NL80211_FEATURE_CELL_BASE_REG_HINTS: This driver has been tested
+ * to work properly to suppport receiving regulatory hints from
+ * cellular base stations.
+- * @NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL: If this is set, an active
+- * P2P Device (%NL80211_IFTYPE_P2P_DEVICE) requires its own channel
+- * in the interface combinations, even when it's only used for scan
+- * and remain-on-channel. This could be due to, for example, the
+- * remain-on-channel implementation requiring a channel context.
+ * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of
+ * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station
+ * mode
+@@ -3847,7 +3902,7 @@ enum nl80211_feature_flags {
+ NL80211_FEATURE_HT_IBSS = 1 << 1,
+ NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2,
+ NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3,
+- NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4,
++ /* bit 4 is reserved - don't use */
+ NL80211_FEATURE_SAE = 1 << 5,
+ NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6,
+ NL80211_FEATURE_SCAN_FLUSH = 1 << 7,
+@@ -4037,4 +4092,20 @@ struct nl80211_vendor_cmd_info {
+ __u32 subcmd;
+ };
+
++/**
++ * enum nl80211_tdls_peer_capability - TDLS peer flags.
++ *
++ * Used by tdls_mgmt() to determine which conditional elements need
++ * to be added to TDLS Setup frames.
++ *
++ * @NL80211_TDLS_PEER_HT: TDLS peer is HT capable.
++ * @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable.
++ * @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable.
++ */
++enum nl80211_tdls_peer_capability {
++ NL80211_TDLS_PEER_HT = 1<<0,
++ NL80211_TDLS_PEER_VHT = 1<<1,
++ NL80211_TDLS_PEER_WMM = 1<<2,
++};
++
+ #endif /* __LINUX_NL80211_H */