mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacmn: Add qdf_platform source file to qdf/Kbuild
Add qdf_platform source file to qdf/Kbuild and clean-up WAR introduced in change I8172f3dbe0716be24a4dda739afb49f94528a4f6 Change-Id: Icb76d53544590b8bcace275ef52870606fb5d826
This commit is contained in:
parent
38c92c691b
commit
20a0efabb1
5 changed files with 8 additions and 14 deletions
|
|
@ -53,6 +53,7 @@ src/qdf_flex_mem.o \
|
|||
src/qdf_parse.o \
|
||||
src/qdf_str.o \
|
||||
src/qdf_types.o \
|
||||
src/qdf_platform.o \
|
||||
$(HOST_CMN_CONVG_NLINK)/src/wlan_nlink_srv.o \
|
||||
$(HOST_CMN_CONVG_SRC)/qal/linux/src/qal_devcfg.o \
|
||||
$(HOST_CMN_CONVG_SRC)/qal/linux/src/qal_vbus_dev.o \
|
||||
|
|
|
|||
|
|
@ -82,7 +82,11 @@ bool qdf_is_fw_down(void);
|
|||
void qdf_register_self_recovery_callback(qdf_self_recovery_callback callback);
|
||||
|
||||
/**
|
||||
* qdf_trigger_self_recovery () - tirgger self recovery
|
||||
* qdf_trigger_self_recovery () - trigger self recovery
|
||||
*
|
||||
* Call API only in case of fatal error,
|
||||
* if self_recovery_cb callback is registered, injcets fw crash and recovers
|
||||
* else raises QDF_BUG()
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -61,6 +61,8 @@ void __qdf_trigger_self_recovery(const char *func, const uint32_t line)
|
|||
{
|
||||
if (self_recovery_cb)
|
||||
self_recovery_cb(QDF_REASON_UNSPECIFIED, func, line);
|
||||
else
|
||||
QDF_DEBUG_PANIC_FL(func, line, "");
|
||||
}
|
||||
|
||||
qdf_export_symbol(__qdf_trigger_self_recovery);
|
||||
|
|
|
|||
|
|
@ -30,9 +30,7 @@
|
|||
#include <target_if_reg.h>
|
||||
#include <wmi_unified_reg_api.h>
|
||||
#include <wlan_reg_ucfg_api.h>
|
||||
#ifdef CONFIG_MCL
|
||||
#include <qdf_platform.h>
|
||||
#endif
|
||||
|
||||
static inline uint32_t get_chan_list_cc_event_id(void)
|
||||
{
|
||||
|
|
@ -105,12 +103,10 @@ static int tgt_reg_chan_list_update_handler(ol_scn_t handle,
|
|||
|
||||
TARGET_IF_ENTER();
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
if (qdf_is_fw_down()) {
|
||||
target_if_debug("ignore chan list update evt in ssr");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
psoc = target_if_get_psoc_from_scn_hdl(handle);
|
||||
if (!psoc) {
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@
|
|||
#include "wlan_objmgr_pdev_obj.h"
|
||||
#include "qdf_mc_timer.h"
|
||||
#include "wlan_utility.h"
|
||||
#ifdef CONFIG_MCL
|
||||
#include "qdf_platform.h"
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
wlan_serialization_put_back_to_global_list(qdf_list_t *queue,
|
||||
|
|
@ -153,17 +151,10 @@ static QDF_STATUS wlan_serialization_timer_destroy(
|
|||
return status;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
static void wlan_serialization_non_scan_timeout_action(void)
|
||||
{
|
||||
qdf_trigger_self_recovery();
|
||||
}
|
||||
#else
|
||||
static void wlan_serialization_non_scan_timeout_action(void)
|
||||
{
|
||||
QDF_BUG(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wlan_serialization_generic_timer_callback() - timer callback when timer fire
|
||||
|
|
|
|||
Loading…
Reference in a new issue