|
@@ -30,6 +30,7 @@
|
|
|
#include "wlan_policy_mgr_public_struct.h"
|
|
|
|
|
|
#ifdef WLAN_FEATURE_LL_LT_SAP
|
|
|
+#ifdef WLAN_FEATURE_BEARER_SWITCH
|
|
|
/**
|
|
|
* wlan_ll_lt_sap_bearer_switch_get_id() - Get the request id for bearer switch
|
|
|
* request
|
|
@@ -65,6 +66,38 @@ QDF_STATUS wlan_ll_sap_switch_bearer_on_sta_connect_start(
|
|
|
qdf_list_t *scan_list,
|
|
|
uint8_t vdev_id,
|
|
|
wlan_cm_id cm_id);
|
|
|
+#else
|
|
|
+static inline wlan_bs_req_id
|
|
|
+wlan_ll_lt_sap_bearer_switch_get_id(struct wlan_objmgr_vdev *vdev)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+static inline QDF_STATUS
|
|
|
+wlan_ll_lt_sap_switch_bearer_to_ble(
|
|
|
+ struct wlan_objmgr_psoc *psoc,
|
|
|
+ struct wlan_bearer_switch_request *bs_request)
|
|
|
+{
|
|
|
+ return QDF_STATUS_E_FAILURE;
|
|
|
+}
|
|
|
+
|
|
|
+static inline QDF_STATUS
|
|
|
+wlan_ll_sap_switch_bearer_on_sta_connect_start(struct wlan_objmgr_psoc *psoc,
|
|
|
+ qdf_list_t *scan_list,
|
|
|
+ uint8_t vdev_id,
|
|
|
+ wlan_cm_id cm_id)
|
|
|
+
|
|
|
+{
|
|
|
+ return QDF_STATUS_E_ALREADY;
|
|
|
+}
|
|
|
+
|
|
|
+static inline QDF_STATUS
|
|
|
+wlan_ll_sap_switch_bearer_on_sta_connect_complete(struct wlan_objmgr_psoc *psoc,
|
|
|
+ uint8_t vdev_id)
|
|
|
+{
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
+}
|
|
|
+#endif
|
|
|
|
|
|
/**
|
|
|
* wlan_ll_sap_switch_bearer_on_sta_connect_complete() - Switch bearer during
|