mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-16 00:35:33 +00:00
Revert "MA-19405 Build nxp mxmwifi driver with debug APIs disabled for GKI"
This reverts commit 42c915813e
.
This commit is contained in:
parent
67cfa05402
commit
ca6dc88279
7 changed files with 2 additions and 62 deletions
|
@ -61,9 +61,6 @@ CONFIG_PCIE9098=y
|
||||||
# 2: All PRINTM()
|
# 2: All PRINTM()
|
||||||
CONFIG_DEBUG=1
|
CONFIG_DEBUG=1
|
||||||
|
|
||||||
# Enable Debug
|
|
||||||
CONFIG_DEBUG_SUPPORT=n
|
|
||||||
|
|
||||||
# Enable STA mode support
|
# Enable STA mode support
|
||||||
CONFIG_STA_SUPPORT=y
|
CONFIG_STA_SUPPORT=y
|
||||||
|
|
||||||
|
@ -154,10 +151,6 @@ ifeq ($(CONFIG_DEBUG),2)
|
||||||
DBG= -dbg
|
DBG= -dbg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEBUG_SUPPORT),y)
|
|
||||||
ccflags-y += -DDEBUG_SUPPORT
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_64BIT), y)
|
ifeq ($(CONFIG_64BIT), y)
|
||||||
ccflags-y += -DMLAN_64BIT
|
ccflags-y += -DMLAN_64BIT
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -655,7 +655,6 @@ done:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief vendor command to get driver memory dump
|
* @brief vendor command to get driver memory dump
|
||||||
*
|
*
|
||||||
|
@ -715,7 +714,6 @@ done:
|
||||||
LEAVE();
|
LEAVE();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief vendor command to get supported feature set
|
* @brief vendor command to get supported feature set
|
||||||
|
@ -4102,7 +4100,6 @@ static const struct wiphy_vendor_command vendor_commands[] = {
|
||||||
.policy = VENDOR_CMD_RAW_DATA,
|
.policy = VENDOR_CMD_RAW_DATA,
|
||||||
#endif
|
#endif
|
||||||
},
|
},
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
{
|
{
|
||||||
.info = {
|
.info = {
|
||||||
.vendor_id = MRVL_VENDOR_ID,
|
.vendor_id = MRVL_VENDOR_ID,
|
||||||
|
@ -4116,7 +4113,6 @@ static const struct wiphy_vendor_command vendor_commands[] = {
|
||||||
.policy = VENDOR_CMD_RAW_DATA,
|
.policy = VENDOR_CMD_RAW_DATA,
|
||||||
#endif
|
#endif
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
.info = {
|
.info = {
|
||||||
.vendor_id = MRVL_VENDOR_ID,
|
.vendor_id = MRVL_VENDOR_ID,
|
||||||
|
|
|
@ -7388,7 +7388,6 @@ t_void woal_send_disconnect_to_system(moal_private *priv,
|
||||||
}
|
}
|
||||||
#endif /* STA_SUPPORT */
|
#endif /* STA_SUPPORT */
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#if defined(PCIE)
|
#if defined(PCIE)
|
||||||
/**
|
/**
|
||||||
* @brief This function stores the SSU dumps in a file
|
* @brief This function stores the SSU dumps in a file
|
||||||
|
@ -7456,13 +7455,10 @@ save_ssudump:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif /* SSU_SUPPORT */
|
#endif /* SSU_SUPPORT */
|
||||||
#endif
|
|
||||||
|
|
||||||
#define OFFSET_SEQNUM 4
|
#define OFFSET_SEQNUM 4
|
||||||
#define OFFSET_TYPE 8
|
#define OFFSET_TYPE 8
|
||||||
#define DUMP_TYPE_ENDE 2
|
#define DUMP_TYPE_ENDE 2
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
t_void woal_store_firmware_dump(moal_handle *phandle, mlan_event *pmevent)
|
t_void woal_store_firmware_dump(moal_handle *phandle, mlan_event *pmevent)
|
||||||
{
|
{
|
||||||
struct file *pfile_fwdump = NULL;
|
struct file *pfile_fwdump = NULL;
|
||||||
|
@ -7553,7 +7549,6 @@ t_void woal_store_firmware_dump(moal_handle *phandle, mlan_event *pmevent)
|
||||||
LEAVE();
|
LEAVE();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#define DRV_INFO_SIZE 0x60000
|
#define DRV_INFO_SIZE 0x60000
|
||||||
#define DRV_INFO_PER_INTF 0x11000
|
#define DRV_INFO_PER_INTF 0x11000
|
||||||
|
@ -7934,8 +7929,6 @@ static int woal_dump_mlan_drv_info(moal_private *priv, t_u8 *buf)
|
||||||
#define HostCmd_CMD_CFG_DATA 0x008f
|
#define HostCmd_CMD_CFG_DATA 0x008f
|
||||||
#define DEF_FW_PATH "/lib/firmware/"
|
#define DEF_FW_PATH "/lib/firmware/"
|
||||||
#define DEF_HOSTCMD_PATH "/lib/firmware/nxp/hostcmd.conf"
|
#define DEF_HOSTCMD_PATH "/lib/firmware/nxp/hostcmd.conf"
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function save the hostcmd response to file
|
* @brief This function save the hostcmd response to file
|
||||||
*
|
*
|
||||||
|
@ -8008,7 +8001,6 @@ t_void woal_save_host_cmdresp(moal_handle *phandle, mlan_cmdresp_event *pevent)
|
||||||
filp_close(pfile, NULL);
|
filp_close(pfile, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump moal hex to file
|
* @brief This function dump moal hex to file
|
||||||
|
@ -8117,7 +8109,6 @@ static int woal_dump_mlan_hex(moal_private *priv, t_u8 *buf)
|
||||||
return ptr - (char *)buf;
|
return ptr - (char *)buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
|
||||||
/**
|
/**
|
||||||
* @brief This function create dump directory
|
* @brief This function create dump directory
|
||||||
|
@ -8189,9 +8180,7 @@ done:
|
||||||
LEAVE();
|
LEAVE();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function save dump buf to file
|
* @brief This function save dump buf to file
|
||||||
*
|
*
|
||||||
|
@ -8258,9 +8247,7 @@ done:
|
||||||
LEAVE();
|
LEAVE();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump drv info to file
|
* @brief This function dump drv info to file
|
||||||
*
|
*
|
||||||
|
@ -8349,7 +8336,6 @@ done:
|
||||||
moal_vfree(phandle, drv_buf);
|
moal_vfree(phandle, drv_buf);
|
||||||
LEAVE();
|
LEAVE();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function displays extra MOAL debug information
|
* @brief This function displays extra MOAL debug information
|
||||||
|
|
|
@ -2932,14 +2932,12 @@ int woal_enable_hs(moal_private *priv);
|
||||||
/** Get wakeup reason */
|
/** Get wakeup reason */
|
||||||
mlan_status woal_get_wakeup_reason(moal_private *priv,
|
mlan_status woal_get_wakeup_reason(moal_private *priv,
|
||||||
mlan_ds_hs_wakeup_reason *wakeup_reason);
|
mlan_ds_hs_wakeup_reason *wakeup_reason);
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
|
||||||
void woal_create_dump_dir(moal_handle *phandle, char *dir_buf, int buf_size);
|
void woal_create_dump_dir(moal_handle *phandle, char *dir_buf, int buf_size);
|
||||||
#endif
|
#endif
|
||||||
mlan_status woal_save_dump_info_to_file(char *dir_name, char *file_name,
|
mlan_status woal_save_dump_info_to_file(char *dir_name, char *file_name,
|
||||||
t_u8 *buf, t_u32 buf_len);
|
t_u8 *buf, t_u32 buf_len);
|
||||||
void woal_dump_drv_info(moal_handle *phandle, t_u8 *dir_name);
|
void woal_dump_drv_info(moal_handle *phandle, t_u8 *dir_name);
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FW_DUMP_TYPE_ENDED 0x002
|
#define FW_DUMP_TYPE_ENDED 0x002
|
||||||
#define FW_DUMP_TYPE_MEM_ITCM 0x004
|
#define FW_DUMP_TYPE_MEM_ITCM 0x004
|
||||||
|
@ -2951,23 +2949,19 @@ void woal_dump_drv_info(moal_handle *phandle, t_u8 *dir_name);
|
||||||
#define FW_DUMP_TYPE_REG_APU 0x00F
|
#define FW_DUMP_TYPE_REG_APU 0x00F
|
||||||
#define FW_DUMP_TYPE_REG_ICU 0x014
|
#define FW_DUMP_TYPE_REG_ICU 0x014
|
||||||
#ifdef SDIO_MMC
|
#ifdef SDIO_MMC
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
void woal_dump_firmware_info(moal_handle *phandle);
|
void woal_dump_firmware_info(moal_handle *phandle);
|
||||||
void woal_dump_firmware_info_v2(moal_handle *phandle);
|
void woal_dump_firmware_info_v2(moal_handle *phandle);
|
||||||
void woal_dump_firmware_info_v3(moal_handle *phandle);
|
void woal_dump_firmware_info_v3(moal_handle *phandle);
|
||||||
#endif
|
|
||||||
#endif /* SDIO_MMC */
|
#endif /* SDIO_MMC */
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/* Store the FW dumps received from events in a file */
|
/* Store the FW dumps received from events in a file */
|
||||||
void woal_store_firmware_dump(moal_handle *phandle, pmlan_event pmevent);
|
void woal_store_firmware_dump(moal_handle *phandle, pmlan_event pmevent);
|
||||||
|
|
||||||
#if defined(PCIE)
|
#if defined(PCIE)
|
||||||
void woal_store_ssu_dump(moal_handle *phandle, pmlan_event pmevent);
|
void woal_store_ssu_dump(moal_handle *phandle, pmlan_event pmevent);
|
||||||
#endif /* SSU_SUPPORT */
|
#endif /* SSU_SUPPORT */
|
||||||
|
|
||||||
/** save hostcmd response to file */
|
/** save hostcmd response to file */
|
||||||
t_void woal_save_host_cmdresp(moal_handle *phandle, mlan_cmdresp_event *pevent);
|
t_void woal_save_host_cmdresp(moal_handle *phandle, mlan_cmdresp_event *pevent);
|
||||||
#endif
|
|
||||||
|
|
||||||
int woal_pre_warmreset(moal_private *priv);
|
int woal_pre_warmreset(moal_private *priv);
|
||||||
int woal_warmreset(moal_private *priv);
|
int woal_warmreset(moal_private *priv);
|
||||||
|
|
||||||
|
|
|
@ -1886,7 +1886,6 @@ static rdwr_status woal_pcie_rdwr_firmware(moal_handle *phandle, t_u8 doneflag)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#ifdef PCIE8897
|
#ifdef PCIE8897
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
|
@ -2054,9 +2053,7 @@ done:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#if defined(PCIE8997) || defined(PCIE9098) || defined(PCIE9097)
|
#if defined(PCIE8997) || defined(PCIE9098) || defined(PCIE9097)
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
|
@ -2242,7 +2239,6 @@ done:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function check if this is second mac
|
* @brief This function check if this is second mac
|
||||||
|
@ -2261,7 +2257,6 @@ static t_u8 woal_pcie_is_second_mac(moal_handle *handle)
|
||||||
return MFALSE;
|
return MFALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
static void woal_pcie_dump_fw_info(moal_handle *phandle)
|
static void woal_pcie_dump_fw_info(moal_handle *phandle)
|
||||||
{
|
{
|
||||||
mlan_pm_wakeup_card(phandle->pmlan_adapter, MTRUE);
|
mlan_pm_wakeup_card(phandle->pmlan_adapter, MTRUE);
|
||||||
|
@ -2286,7 +2281,6 @@ static void woal_pcie_dump_fw_info(moal_handle *phandle)
|
||||||
mlan_pm_wakeup_card(phandle->pmlan_adapter, MFALSE);
|
mlan_pm_wakeup_card(phandle->pmlan_adapter, MFALSE);
|
||||||
queue_work(phandle->workqueue, &phandle->main_work);
|
queue_work(phandle->workqueue, &phandle->main_work);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static mlan_status woal_pcie_get_fw_name(moal_handle *handle)
|
static mlan_status woal_pcie_get_fw_name(moal_handle *handle)
|
||||||
{
|
{
|
||||||
|
@ -2474,9 +2468,7 @@ static moal_if_ops pcie_ops = {
|
||||||
.read_data_sync = woal_pcie_read_data_sync,
|
.read_data_sync = woal_pcie_read_data_sync,
|
||||||
.write_data_sync = woal_pcie_write_data_sync,
|
.write_data_sync = woal_pcie_write_data_sync,
|
||||||
.get_fw_name = woal_pcie_get_fw_name,
|
.get_fw_name = woal_pcie_get_fw_name,
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
.dump_fw_info = woal_pcie_dump_fw_info,
|
.dump_fw_info = woal_pcie_dump_fw_info,
|
||||||
#endif
|
|
||||||
.reg_dbg = woal_pcie_reg_dbg,
|
.reg_dbg = woal_pcie_reg_dbg,
|
||||||
.dump_reg_info = woal_pcie_dump_reg_info,
|
.dump_reg_info = woal_pcie_dump_reg_info,
|
||||||
.is_second_mac = woal_pcie_is_second_mac,
|
.is_second_mac = woal_pcie_is_second_mac,
|
||||||
|
|
|
@ -173,9 +173,7 @@ static struct sdio_driver REFDATA wlan_sdio = {
|
||||||
/********************************************************
|
/********************************************************
|
||||||
Local Functions
|
Local Functions
|
||||||
********************************************************/
|
********************************************************/
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
static void woal_sdiommc_dump_fw_info(moal_handle *phandle);
|
static void woal_sdiommc_dump_fw_info(moal_handle *phandle);
|
||||||
#endif
|
|
||||||
#if 0
|
#if 0
|
||||||
/** @brief This function dump the sdio register
|
/** @brief This function dump the sdio register
|
||||||
*
|
*
|
||||||
|
@ -1661,7 +1659,6 @@ static rdwr_status woal_cmd52_rdwr_firmware(moal_handle *phandle, t_u8 doneflag)
|
||||||
#define SQRAM_SIZE 0x33500
|
#define SQRAM_SIZE 0x33500
|
||||||
#define DTCM_SIZE 0x14000
|
#define DTCM_SIZE 0x14000
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
*
|
*
|
||||||
|
@ -1872,9 +1869,7 @@ done:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
*
|
*
|
||||||
|
@ -2050,9 +2045,7 @@ done:
|
||||||
PRINTM(MMSG, "==== DEBUG MODE END ====\n");
|
PRINTM(MMSG, "==== DEBUG MODE END ====\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
*
|
*
|
||||||
|
@ -2240,7 +2233,6 @@ done:
|
||||||
PRINTM(MMSG, "==== DEBUG MODE END ====\n");
|
PRINTM(MMSG, "==== DEBUG MODE END ====\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function reads and displays SDIO registers for debugging
|
* @brief This function reads and displays SDIO registers for debugging
|
||||||
|
@ -2315,7 +2307,6 @@ static void woal_sdiommc_reg_dbg(moal_handle *phandle)
|
||||||
mlan_pm_wakeup_card(phandle->pmlan_adapter, MFALSE);
|
mlan_pm_wakeup_card(phandle->pmlan_adapter, MFALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
/**
|
/**
|
||||||
* @brief This function dump firmware memory to file
|
* @brief This function dump firmware memory to file
|
||||||
*
|
*
|
||||||
|
@ -2352,7 +2343,6 @@ static void woal_sdiommc_dump_fw_info(moal_handle *phandle)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function save sdio reg info
|
* @brief This function save sdio reg info
|
||||||
*
|
*
|
||||||
|
@ -2449,7 +2439,6 @@ static int woal_sdiommc_dump_reg_info(moal_handle *phandle, t_u8 *drv_buf)
|
||||||
LEAVE();
|
LEAVE();
|
||||||
return drv_ptr - (char *)drv_buf;
|
return drv_ptr - (char *)drv_buf;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function reset sdio through sdio bus driver
|
* @brief This function reset sdio through sdio bus driver
|
||||||
|
@ -2498,10 +2487,8 @@ static moal_if_ops sdiommc_ops = {
|
||||||
.read_data_sync = woal_sdiommc_read_data_sync,
|
.read_data_sync = woal_sdiommc_read_data_sync,
|
||||||
.write_data_sync = woal_sdiommc_write_data_sync,
|
.write_data_sync = woal_sdiommc_write_data_sync,
|
||||||
.get_fw_name = woal_sdiommc_get_fw_name,
|
.get_fw_name = woal_sdiommc_get_fw_name,
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
.dump_fw_info = woal_sdiommc_dump_fw_info,
|
.dump_fw_info = woal_sdiommc_dump_fw_info,
|
||||||
.dump_reg_info = woal_sdiommc_dump_reg_info,
|
.dump_reg_info = woal_sdiommc_dump_reg_info,
|
||||||
#endif
|
|
||||||
.reg_dbg = woal_sdiommc_reg_dbg,
|
.reg_dbg = woal_sdiommc_reg_dbg,
|
||||||
.is_second_mac = woal_sdiommc_is_second_mac,
|
.is_second_mac = woal_sdiommc_is_second_mac,
|
||||||
};
|
};
|
||||||
|
|
|
@ -1726,7 +1726,6 @@ mlan_status moal_recv_event(t_void *pmoal, pmlan_event pmevent)
|
||||||
t_u8 radar_detected;
|
t_u8 radar_detected;
|
||||||
|
|
||||||
ENTER();
|
ENTER();
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
if (pmevent->event_id == MLAN_EVENT_ID_FW_DUMP_INFO) {
|
if (pmevent->event_id == MLAN_EVENT_ID_FW_DUMP_INFO) {
|
||||||
woal_store_firmware_dump(pmoal, pmevent);
|
woal_store_firmware_dump(pmoal, pmevent);
|
||||||
handle->driver_status = MTRUE;
|
handle->driver_status = MTRUE;
|
||||||
|
@ -1735,27 +1734,20 @@ mlan_status moal_recv_event(t_void *pmoal, pmlan_event pmevent)
|
||||||
ref_handle->driver_status = MTRUE;
|
ref_handle->driver_status = MTRUE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if ((pmevent->event_id != MLAN_EVENT_ID_DRV_DEFER_RX_WORK) &&
|
if ((pmevent->event_id != MLAN_EVENT_ID_DRV_DEFER_RX_WORK) &&
|
||||||
(pmevent->event_id != MLAN_EVENT_ID_DRV_DEFER_HANDLING) &&
|
(pmevent->event_id != MLAN_EVENT_ID_DRV_DEFER_HANDLING) &&
|
||||||
(pmevent->event_id != MLAN_EVENT_ID_DRV_MGMT_FRAME))
|
(pmevent->event_id != MLAN_EVENT_ID_DRV_MGMT_FRAME))
|
||||||
PRINTM(MEVENT, "event id:0x%x\n", pmevent->event_id);
|
PRINTM(MEVENT, "event id:0x%x\n", pmevent->event_id);
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
#if defined(PCIE)
|
#if defined(PCIE)
|
||||||
if (pmevent->event_id == MLAN_EVENT_ID_SSU_DUMP_FILE) {
|
if (pmevent->event_id == MLAN_EVENT_ID_SSU_DUMP_FILE) {
|
||||||
woal_store_ssu_dump(pmoal, pmevent);
|
woal_store_ssu_dump(pmoal, pmevent);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
#endif /* SSU_SUPPORT */
|
#endif /* SSU_SUPPORT */
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DEBUG_SUPPORT
|
|
||||||
if (pmevent->event_id == MLAN_EVENT_ID_STORE_HOST_CMD_RESP) {
|
if (pmevent->event_id == MLAN_EVENT_ID_STORE_HOST_CMD_RESP) {
|
||||||
woal_save_host_cmdresp(handle, (mlan_cmdresp_event *)pmevent);
|
woal_save_host_cmdresp(handle, (mlan_cmdresp_event *)pmevent);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
priv = woal_bss_index_to_priv(pmoal, pmevent->bss_index);
|
priv = woal_bss_index_to_priv(pmoal, pmevent->bss_index);
|
||||||
if (priv == NULL) {
|
if (priv == NULL) {
|
||||||
PRINTM(MERROR, "%s: priv is null\n", __func__);
|
PRINTM(MERROR, "%s: priv is null\n", __func__);
|
||||||
|
|
Loading…
Reference in a new issue