--- zzzz-none-000/linux-4.19.183/include/uapi/linux/nl80211.h 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/include/uapi/linux/nl80211.h 2023-06-28 08:54:20.000000000 +0000 @@ -4284,6 +4284,10 @@ NL80211_KEY_DEFAULT_MGMT, NL80211_KEY_TYPE, NL80211_KEY_DEFAULT_TYPES, +#ifdef CONFIG_BCM_KF_MISC_BACKPORTS + NL80211_KEY_MODE, + NL80211_KEY_DEFAULT_BEACON, +#endif /* CONFIG_BCM_KF_MISC_BACKPORTS */ /* keep last */ __NL80211_KEY_AFTER_LAST, @@ -4339,6 +4343,9 @@ * @NL80211_BAND_2GHZ: 2.4 GHz ISM band * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz) * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 64.80 GHz) +#ifdef CONFIG_BCM_KF_NL80211_6G_BAND_SUPPORT + * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.1 GHz) +#endif * @NUM_NL80211_BANDS: number of bands, avoid using this in userspace * since newer kernel versions may support more bands */ @@ -4346,6 +4353,13 @@ NL80211_BAND_2GHZ, NL80211_BAND_5GHZ, NL80211_BAND_60GHZ, +#ifndef CONFIG_BCM_KF_MISC_BACKPORTS +#ifdef CONFIG_BCM_KF_NL80211_6G_BAND_SUPPORT + NL80211_BAND_6GHZ, +#endif /* CONFIG_BCM_KF_NL80211_6G_BAND_SUPPORT */ +#else + NL80211_BAND_6GHZ, +#endif /* CONFIG_BCM_KF_MISC_BACKPORTS */ NUM_NL80211_BANDS, }; @@ -5259,6 +5273,19 @@ NL80211_EXT_FEATURE_TXQS, NL80211_EXT_FEATURE_SCAN_RANDOM_SN, NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT, +#ifdef CONFIG_BCM_KF_MISC_BACKPORTS + NL80211_EXT_FEATURE_CAN_REPLACE_PTK0, + NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER, + NL80211_EXT_FEATURE_AIRTIME_FAIRNESS, + NL80211_EXT_FEATURE_AP_PMKSA_CACHING, + NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD, + NL80211_EXT_FEATURE_EXT_KEY_ID, + NL80211_EXT_FEATURE_STA_TX_PWR, + NL80211_EXT_FEATURE_SAE_OFFLOAD, + NL80211_EXT_FEATURE_VLAN_OFFLOAD, + NL80211_EXT_FEATURE_AQL, + NL80211_EXT_FEATURE_BEACON_PROTECTION, +#endif /* CONFIG_BCM_KF_MISC_BACKPORTS */ /* add new features before the definition below */ NUM_NL80211_EXT_FEATURES,