qcacld-3.0: Cleanup the unused serialization commands

Cleanup the serialization commands that are not used now.

Change-Id: I340c52fb3180bec94508c5d5d36f43ba6efab143
CRs-Fixed: 2344570
This commit is contained in:
Abhishek Singh 2018-11-03 11:30:30 +05:30 committed by nshrivas
parent 7d6f1ac679
commit 4e2676e7a3
3 changed files with 0 additions and 59 deletions

View File

@ -46,30 +46,11 @@ struct wmi_twt_enable_complete_event_param;
/* Mask can be only have one bit set */
typedef enum eSmeCommandType {
eSmeNoCommand = 0,
eSmeDropCommand,
/* this is not a command, it is to identify this is a CSR command */
eSmeCsrCommandMask = 0x10000,
eSmeCommandRoam,
eSmeCommandWmStatusChange,
e_sme_command_del_sta_session,
#ifdef FEATURE_WLAN_TDLS
/*
* eSmeTdlsCommandMask = 0x80000,
* To identify TDLS commands <TODO>
* These can be considered as csr commands.
*/
eSmeCommandTdlsSendMgmt,
eSmeCommandTdlsAddPeer,
eSmeCommandTdlsDelPeer,
eSmeCommandTdlsLinkEstablish,
#endif
/* PMC */
eSmePmcCommandMask = 0x20000, /* To identify PMC commands */
eSmeCommandEnterBmps,
eSmeCommandExitBmps,
eSmeCommandEnterUapsd,
eSmeCommandExitUapsd,
eSmeCommandExitWowl,
/* QOS */
eSmeQosCommandMask = 0x40000, /* To identify Qos commands */
eSmeCommandAddTs,

View File

@ -158,23 +158,10 @@ static uint8_t *sme_trace_get_command_string(uint32_t command)
{
switch (command) {
CASE_RETURN_STRING(eSmeNoCommand);
CASE_RETURN_STRING(eSmeDropCommand);
CASE_RETURN_STRING(eSmeCsrCommandMask);
CASE_RETURN_STRING(eSmeCommandRoam);
CASE_RETURN_STRING(eSmeCommandWmStatusChange);
CASE_RETURN_STRING(e_sme_command_del_sta_session);
#ifdef FEATURE_WLAN_TDLS
CASE_RETURN_STRING(eSmeCommandTdlsSendMgmt);
CASE_RETURN_STRING(eSmeCommandTdlsAddPeer);
CASE_RETURN_STRING(eSmeCommandTdlsDelPeer);
CASE_RETURN_STRING(eSmeCommandTdlsLinkEstablish);
#endif
CASE_RETURN_STRING(eSmePmcCommandMask);
CASE_RETURN_STRING(eSmeCommandEnterBmps);
CASE_RETURN_STRING(eSmeCommandExitBmps);
CASE_RETURN_STRING(eSmeCommandEnterUapsd);
CASE_RETURN_STRING(eSmeCommandExitUapsd);
CASE_RETURN_STRING(eSmeCommandExitWowl);
CASE_RETURN_STRING(eSmeQosCommandMask);
CASE_RETURN_STRING(eSmeCommandAddTs);
CASE_RETURN_STRING(eSmeCommandDelTs);

View File

@ -20082,18 +20082,6 @@ enum wlan_serialization_cmd_type csr_get_cmd_type(tSmeCmd *sme_cmd)
case eSmeCommandDelTs:
cmd_type = WLAN_SER_CMD_DELTS;
break;
case eSmeCommandTdlsSendMgmt:
cmd_type = WLAN_SER_CMD_TDLS_SEND_MGMT;
break;
case eSmeCommandTdlsAddPeer:
cmd_type = WLAN_SER_CMD_TDLS_ADD_PEER;
break;
case eSmeCommandTdlsDelPeer:
cmd_type = WLAN_SER_CMD_TDLS_DEL_PEER;
break;
case eSmeCommandTdlsLinkEstablish:
cmd_type = WLAN_SER_CMD_TDLS_LINK_EST;
break;
case e_sme_command_set_hw_mode:
cmd_type = WLAN_SER_CMD_SET_HW_MODE;
break;
@ -20106,21 +20094,6 @@ enum wlan_serialization_cmd_type csr_get_cmd_type(tSmeCmd *sme_cmd)
case e_sme_command_set_antenna_mode:
cmd_type = WLAN_SER_CMD_SET_ANTENNA_MODE;
break;
case eSmeCommandEnterBmps:
cmd_type = WLAN_SER_CMD_ENTER_BMPS;
break;
case eSmeCommandExitBmps:
cmd_type = WLAN_SER_CMD_EXIT_BMPS;
break;
case eSmeCommandEnterUapsd:
cmd_type = WLAN_SER_CMD_ENTER_UAPSD;
break;
case eSmeCommandExitUapsd:
cmd_type = WLAN_SER_CMD_EXIT_UAPSD;
break;
case eSmeCommandExitWowl:
cmd_type = WLAN_SER_CMD_EXIT_WOWL;
break;
default:
break;
}