|
@@ -21822,7 +21822,8 @@ wlan_hdd_cfg80211_update_ft_ies(struct wiphy *wiphy,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CFG80211_EXTERNAL_DH_UPDATE_SUPPORT
|
|
|
+#if defined(CFG80211_EXTERNAL_DH_UPDATE_SUPPORT) || \
|
|
|
+(LINUX_VERSION_CODE > KERNEL_VERSION(5, 2, 0))
|
|
|
/**
|
|
|
* __wlan_hdd_cfg80211_update_owe_info() - update OWE info
|
|
|
* @wiphy: Pointer to wiphy
|
|
@@ -23448,7 +23449,8 @@ void hdd_set_rate_bw(struct rate_info *info, enum hdd_rate_info_bw hdd_bw)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CFG80211_EXTERNAL_DH_UPDATE_SUPPORT
|
|
|
+#if defined(CFG80211_EXTERNAL_DH_UPDATE_SUPPORT) || \
|
|
|
+(LINUX_VERSION_CODE > KERNEL_VERSION(5, 2, 0))
|
|
|
void hdd_send_update_owe_info_event(struct hdd_adapter *adapter,
|
|
|
uint8_t sta_addr[],
|
|
|
uint8_t *owe_ie,
|
|
@@ -23798,7 +23800,8 @@ static struct cfg80211_ops wlan_hdd_cfg80211_ops = {
|
|
|
#if defined(KERNEL_SUPPORT_11R_CFG80211)
|
|
|
.update_ft_ies = wlan_hdd_cfg80211_update_ft_ies,
|
|
|
#endif
|
|
|
-#ifdef CFG80211_EXTERNAL_DH_UPDATE_SUPPORT
|
|
|
+#if defined(CFG80211_EXTERNAL_DH_UPDATE_SUPPORT) || \
|
|
|
+(LINUX_VERSION_CODE > KERNEL_VERSION(5, 2, 0))
|
|
|
.update_owe_info = wlan_hdd_cfg80211_update_owe_info,
|
|
|
#endif
|
|
|
#ifdef FEATURE_WLAN_TDLS
|