qcacld-3.0: Remove legacy code of CONFIG_SERIALIZATION_V1 part
Remove g_self_recovery_stats and WE_GET_RECOVERY_STAT Remove configs of CONFIG_SERIALIZATION_V1 part Change-Id: I82e72f22215b8794517410e0b8892b5adadcf457 CRs-Fixed: 2386839
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
fd8360c183
Коммит
ca0baaad8a
6
Kbuild
6
Kbuild
@@ -2435,12 +2435,6 @@ cppflags-y += -DATH_SUPPORT_WRAP=0
|
||||
cppflags-y += -DQCA_HOST2FW_RXBUF_RING
|
||||
#endof dummy flags
|
||||
|
||||
# Enable lock of serialization component to avoid race condition issues
|
||||
cppflags-y += -DWLAN_CMD_SERIALIZATION_LOCKING
|
||||
|
||||
#CONFIG_SERIALIZATION_V1: Don't use enhancements to serialization component
|
||||
#No CONFIG_SERIALIZATION_V1: Use enhancements to serialization component
|
||||
|
||||
ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os
|
||||
|
||||
# DFS component
|
||||
|
@@ -2136,7 +2136,6 @@
|
||||
*/
|
||||
#define WE_IBSS_GET_PEER_INFO_ALL 10
|
||||
/* Sub ioctls 11 to 16 are not used */
|
||||
#define WE_GET_RECOVERY_STAT 17
|
||||
#define WE_GET_FW_PROFILE_DATA 18
|
||||
/*
|
||||
* <ioctl>
|
||||
@@ -7176,11 +7175,6 @@ static int __iw_setnone_getnone(struct net_device *dev,
|
||||
|
||||
mac_handle = hdd_ctx->mac_handle;
|
||||
switch (sub_cmd) {
|
||||
|
||||
case WE_GET_RECOVERY_STAT:
|
||||
sme_get_recovery_stats(mac_handle);
|
||||
break;
|
||||
|
||||
case WE_GET_FW_PROFILE_DATA:
|
||||
ret = wma_cli_set_command(adapter->session_id,
|
||||
WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID,
|
||||
@@ -10499,11 +10493,6 @@ static const struct iw_priv_args we_private_args[] = {
|
||||
0,
|
||||
"ibssPeerInfoAll"},
|
||||
|
||||
{WE_GET_RECOVERY_STAT,
|
||||
0,
|
||||
0,
|
||||
"getRecoverStat"},
|
||||
|
||||
{WE_GET_FW_PROFILE_DATA,
|
||||
0,
|
||||
0,
|
||||
|
@@ -649,7 +649,6 @@ QDF_STATUS sme_dhcp_start_ind(mac_handle_t mac_handle,
|
||||
QDF_STATUS sme_dhcp_stop_ind(mac_handle_t mac_handle,
|
||||
uint8_t device_mode,
|
||||
uint8_t *macAddr, uint8_t sessionId);
|
||||
void sme_get_recovery_stats(mac_handle_t mac_handle);
|
||||
QDF_STATUS sme_neighbor_report_request(mac_handle_t mac_handle,
|
||||
uint8_t sessionId,
|
||||
tpRrmNeighborReq pRrmNeighborReq,
|
||||
|
@@ -61,8 +61,6 @@
|
||||
#include "cfg_ucfg_api.h"
|
||||
#include "wlan_fwol_ucfg_api.h"
|
||||
|
||||
static tSelfRecoveryStats g_self_recovery_stats;
|
||||
|
||||
static QDF_STATUS init_sme_cmd_list(struct mac_context *mac);
|
||||
|
||||
static void sme_disconnect_connected_sessions(struct mac_context *mac);
|
||||
@@ -7904,27 +7902,6 @@ int sme_ocb_gen_timing_advert_frame(mac_handle_t mac_handle,
|
||||
}
|
||||
#endif
|
||||
|
||||
void sme_get_recovery_stats(mac_handle_t mac_handle)
|
||||
{
|
||||
uint8_t i;
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
|
||||
"Self Recovery Stats");
|
||||
for (i = 0; i < MAX_ACTIVE_CMD_STATS; i++) {
|
||||
if (eSmeNoCommand !=
|
||||
g_self_recovery_stats.activeCmdStats[i].command) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
|
||||
"timestamp %llu: command 0x%0X: reason %d: session %d",
|
||||
g_self_recovery_stats.activeCmdStats[i].
|
||||
timestamp,
|
||||
g_self_recovery_stats.activeCmdStats[i].command,
|
||||
g_self_recovery_stats.activeCmdStats[i].reason,
|
||||
g_self_recovery_stats.activeCmdStats[i].
|
||||
sessionId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QDF_STATUS sme_notify_modem_power_state(mac_handle_t mac_handle, uint32_t value)
|
||||
{
|
||||
struct scheduler_msg msg = {0};
|
||||
|
Ссылка в новой задаче
Block a user