mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-21 11:22:50 +00:00
Some checks failed
Build OpenWrt/uCentral images / build (cig_wf186h) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf186w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf188n) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf189) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf196) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-a1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-b1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap102) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap104) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap105) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap111) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap112) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_3) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xe) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (indio_um-305ax) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sercomm_ap72tip) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630c-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-211g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-id2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-od2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr5018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018-v4) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax820) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax840) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap640) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap650) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap655) (push) Has been cancelled
Build OpenWrt/uCentral images / trigger-testing (push) Has been cancelled
Build OpenWrt/uCentral images / create-x64_vm-ami (push) Has been cancelled
Signed-off-by: John Crispin <john@phrozen.org>
91 lines
3.2 KiB
Diff
91 lines
3.2 KiB
Diff
From 3c5da4abf9298e72e89b012ef9a1cc9a4b53975e Mon Sep 17 00:00:00 2001
|
|
From: Aloka Dixit <quic_alokad@quicinc.com>
|
|
Date: Tue, 20 Jul 2021 13:47:09 -0700
|
|
Subject: [PATCH 01/23] nl80211: sync kernel definitions
|
|
|
|
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
|
|
---
|
|
src/drivers/nl80211_copy.h | 39 +++++++++++++++++++++++++++++++++++++-
|
|
1 file changed, 38 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/drivers/nl80211_copy.h b/src/drivers/nl80211_copy.h
|
|
index 3dddbf7..8bd1f69 100644
|
|
--- a/src/drivers/nl80211_copy.h
|
|
+++ b/src/drivers/nl80211_copy.h
|
|
@@ -1920,7 +1920,8 @@ enum nl80211_commands {
|
|
* features NL80211_EXT_FEATURE_BEACON_RATE_LEGACY,
|
|
* NL80211_EXT_FEATURE_BEACON_RATE_HT,
|
|
* NL80211_EXT_FEATURE_BEACON_RATE_VHT and
|
|
- * NL80211_EXT_FEATURE_BEACON_RATE_HE.
|
|
+ * NL80211_EXT_FEATURE_BEACON_RATE_HE and
|
|
+ * NL80211_EXT_FEATURE_BEACON_RATE_EHT.
|
|
*
|
|
* @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
|
|
* at least one byte, currently used with @NL80211_CMD_REGISTER_FRAME.
|
|
@@ -4025,6 +4026,8 @@ enum nl80211_mpath_info {
|
|
NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
|
|
};
|
|
|
|
+#define NL80211_EHT_NSS_MAX 16
|
|
+
|
|
/**
|
|
* enum nl80211_band_iftype_attr - Interface type data attributes
|
|
*
|
|
@@ -5282,6 +5285,9 @@ enum nl80211_key_attributes {
|
|
* see &struct nl80211_txrate_he
|
|
* @NL80211_TXRATE_HE_GI: configure HE GI, 0.8us, 1.6us and 3.2us.
|
|
* @NL80211_TXRATE_HE_LTF: configure HE LTF, 1XLTF, 2XLTF and 4XLTF.
|
|
+ * @NL80211_TXRATE_EHT: EHT rates allowed for TX rate selection,
|
|
+ * see &struct nl80211_txrate_eht
|
|
+ *
|
|
* @__NL80211_TXRATE_AFTER_LAST: internal
|
|
* @NL80211_TXRATE_MAX: highest TX rate attribute
|
|
*/
|
|
@@ -5294,6 +5300,7 @@ enum nl80211_tx_rate_attributes {
|
|
NL80211_TXRATE_HE,
|
|
NL80211_TXRATE_HE_GI,
|
|
NL80211_TXRATE_HE_LTF,
|
|
+ NL80211_TXRATE_EHT,
|
|
|
|
/* keep last */
|
|
__NL80211_TXRATE_AFTER_LAST,
|
|
@@ -5326,6 +5333,14 @@ enum nl80211_txrate_gi {
|
|
NL80211_TXRATE_FORCE_LGI,
|
|
};
|
|
|
|
+/**
|
|
+ * struct nl80211_txrate_eht - EHT MCS/NSS txrate bitmap
|
|
+ * @mcs: MCS bitmap table for each NSS (array index 0 for 1 stream, etc.)
|
|
+ */
|
|
+struct nl80211_txrate_eht {
|
|
+ __u16 mcs[NL80211_EHT_NSS_MAX];
|
|
+};
|
|
+
|
|
/**
|
|
* enum nl80211_band - Frequency band
|
|
* @NL80211_BAND_2GHZ: 2.4 GHz ISM band
|
|
@@ -6429,6 +6444,12 @@ enum nl80211_feature_flags {
|
|
* in authentication and deauthentication frames sent to unassociated peer
|
|
* using @NL80211_CMD_FRAME.
|
|
*
|
|
+ * @NL80211_EXT_FEATURE_WIDE_BAND_SCAN: Driver/device supports wide band scan
|
|
+ * on a frequency along with its corresponding phymode (40Mhz, 80Mhz)
|
|
+ *
|
|
+ * @NL80211_EXT_FEATURE_BEACON_RATE_EHT: Driver supports beacon rate
|
|
+ * configuration (AP/mesh) with EHT rates.
|
|
+ *
|
|
* @NUM_NL80211_EXT_FEATURES: number of extended features.
|
|
* @MAX_NL80211_EXT_FEATURES: highest extended feature index.
|
|
*/
|
|
@@ -6495,7 +6516,10 @@ enum nl80211_ext_feature_index {
|
|
NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE,
|
|
NL80211_EXT_FEATURE_BSS_COLOR,
|
|
NL80211_EXT_FEATURE_FILS_CRYPTO_OFFLOAD,
|
|
+ NL80211_EXT_FEATURE_WIDE_BAND_SCAN,
|
|
NL80211_EXT_FEATURE_RADAR_BACKGROUND,
|
|
+ NL80211_EXT_FEATURE_STA_MGMT_RTS_CTS,
|
|
+ NL80211_EXT_FEATURE_BEACON_RATE_EHT,
|
|
NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE,
|
|
NL80211_EXT_FEATURE_PUNCT,
|
|
NL80211_EXT_FEATURE_SECURE_NAN,
|