|
@@ -39,7 +39,8 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) && \
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) && \
|
|
-LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0)
|
|
|
|
|
|
+LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0) && \
|
|
|
|
+!defined(CFG80211_CRYPTO_WEP_KEYS_REMOVED)
|
|
static QDF_STATUS
|
|
static QDF_STATUS
|
|
osif_cm_update_wep_seq_info(struct wlan_cm_connect_req *connect_req,
|
|
osif_cm_update_wep_seq_info(struct wlan_cm_connect_req *connect_req,
|
|
const struct cfg80211_connect_params *req)
|
|
const struct cfg80211_connect_params *req)
|
|
@@ -68,6 +69,7 @@ osif_cm_update_wep_seq_info(struct wlan_cm_connect_req *connect_req,
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#if !defined(CFG80211_CRYPTO_WEP_KEYS_REMOVED)
|
|
static QDF_STATUS
|
|
static QDF_STATUS
|
|
osif_cm_set_wep_key_params(struct wlan_cm_connect_req *connect_req,
|
|
osif_cm_set_wep_key_params(struct wlan_cm_connect_req *connect_req,
|
|
const struct cfg80211_connect_params *req)
|
|
const struct cfg80211_connect_params *req)
|
|
@@ -88,6 +90,14 @@ osif_cm_set_wep_key_params(struct wlan_cm_connect_req *connect_req,
|
|
|
|
|
|
return osif_cm_update_wep_seq_info(connect_req, req);
|
|
return osif_cm_update_wep_seq_info(connect_req, req);
|
|
}
|
|
}
|
|
|
|
+#else
|
|
|
|
+static QDF_STATUS
|
|
|
|
+osif_cm_set_wep_key_params(struct wlan_cm_connect_req *connect_req,
|
|
|
|
+ const struct cfg80211_connect_params *req)
|
|
|
|
+{
|
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
static void osif_cm_set_auth_type(struct wlan_cm_connect_req *connect_req,
|
|
static void osif_cm_set_auth_type(struct wlan_cm_connect_req *connect_req,
|
|
const struct cfg80211_connect_params *req)
|
|
const struct cfg80211_connect_params *req)
|