blob: cc78f069d641323345d436e5939c46666331a554 [file] [log] [blame]
/*
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/*
* This file was originally distributed by Qualcomm Atheros, Inc.
* under proprietary terms before Copyright ownership was assigned
* to the Linux Foundation.
*/
/***********************************************************************
sme_Trace.h
\brief definition for trace related APIs
\author Kiran Kumar Reddy CH L V
========================================================================*/
#ifndef __SME_TRACE_H__
#define __SME_TRACE_H__
#include "macTrace.h"
#define NO_SESSION 0xFF
enum {
TRACE_CODE_SME_RX_HDD_MSG_SCAN_REQ,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_GET_RESULTS,
TRACE_CODE_SME_RX_HDD_MSG_CONNECT,
TRACE_CODE_SME_RX_HDD_MSG_SET_11DINFO,
TRACE_CODE_SME_RX_HDD_MSG_GET_SOFTAP_DOMAIN,
TRACE_CODE_SME_RX_HDD_MSG_SET_REGINFO,
TRACE_CODE_SME_RX_HDD_MSG_UPDATE_CHANNEL_CONFIG,
TRACE_CODE_SME_RX_HDD_MSG_UPDATE_CONFIG,
TRACE_CODE_SME_RX_HDD_MSG_HDDREADYIND,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_FLUSH_RESULTS,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_FLUSH_P2PRESULTS,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_RESULT_GETFIRST,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_RESULT_GETNEXT,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_RESULT_PURGE,
TRACE_CODE_SME_RX_HDD_ROAM_REASSOC,
TRACE_CODE_SME_RX_HDD_ROAM_DISCONNECT,
TRACE_CODE_SME_RX_HDD_ROAM_GET_CONNECTPROFILE,
TRACE_CODE_SME_RX_HDD_ROAM_FREE_CONNECTPROFILE,
TRACE_CODE_SME_RX_HDD_ROAM_SET_PMKIDCACHE,
TRACE_CODE_SME_RX_HDD_ROAM_GET_PMKIDCACHE,
TRACE_CODE_SME_RX_HDD_GET_CONFIGPARAM,
TRACE_CODE_SME_RX_HDD_GET_MODPROFFIELDS,
TRACE_CODE_SME_RX_HDD_SET_CONFIG_PWRSAVE,
TRACE_CODE_SME_RX_HDD_GET_CONFIG_PWRSAVE,
TRACE_CODE_SME_RX_HDD_ENABLE_PWRSAVE,
TRACE_CODE_SME_RX_HDD_DISABLE_PWRSAVE,
TRACE_CODE_SME_RX_HDD_SIGNAL_POWER_EVENT,
TRACE_CODE_SME_RX_HDD_START_AUTO_BMPSTIMER,
TRACE_CODE_SME_RX_HDD_STOP_AUTO_BMPSTIMER,
TRACE_CODE_SME_RX_HDD_IS_PWRSAVE_ENABLED,
TRACE_CODE_SME_RX_HDD_REQUEST_FULLPOWER,
TRACE_CODE_SME_RX_HDD_REQUEST_BMPS,
TRACE_CODE_SME_RX_HDD_SET_DHCP_FLAG,
TRACE_CODE_SME_RX_HDD_REQUEST_STANDBY,
TRACE_CODE_SME_RX_HDD_WOWL_ADDBCAST_PATTERN,
TRACE_CODE_SME_RX_HDD_WOWL_DELBCAST_PATTERN,
TRACE_CODE_SME_RX_HDD_ENTER_WOWL,
TRACE_CODE_SME_RX_HDD_EXIT_WOWL,
TRACE_CODE_SME_RX_HDD_SET_KEY,
TRACE_CODE_SME_RX_HDD_REMOVE_KEY,
TRACE_CODE_SME_RX_HDD_GET_STATS,
TRACE_CODE_SME_RX_HDD_GET_RSSI,
TRACE_CODE_SME_RX_HDD_GET_CNTRYCODE,
TRACE_CODE_SME_RX_HDD_SET_CNTRYCODE,
TRACE_CODE_SME_RX_HDD_CHANGE_CNTRYCODE,
TRACE_CODE_SME_RX_HDD_BTC_SIGNALEVENT,
TRACE_CODE_SME_RX_HDD_BTC_SETCONFIG,
TRACE_CODE_SME_RX_HDD_BTC_GETCONFIG,
TRACE_CODE_SME_RX_HDD_SET_CFGPRIVACY,
TRACE_CODE_SME_RX_HDD_NEIGHBOR_REPORTREQ,
TRACE_CODE_SME_RX_HDD_DBG_READREG,
TRACE_CODE_SME_RX_HDD_DBG_WRITEREG,
TRACE_CODE_SME_RX_HDD_DBG_READMEM,
TRACE_CODE_SME_RX_HDD_DBG_WRITEMEM,
TRACE_CODE_SME_RX_HDD_OPEN_SESSION,
TRACE_CODE_SME_RX_HDD_CLOSE_SESSION,
TRACE_CODE_SME_RX_HDD_SET_HOSTOFFLOAD,
TRACE_CODE_SME_RX_HDD_SET_GTKOFFLOAD,
TRACE_CODE_SME_RX_HDD_GET_GTKOFFLOAD,
TRACE_CODE_SME_RX_HDD_SET_POWERPARAMS,
TRACE_CODE_SME_RX_HDD_ABORT_MACSCAN,
TRACE_CODE_SME_RX_HDD_REGISTER_MGMTFR,
TRACE_CODE_SME_RX_HDD_DEREGISTER_MGMTFR,
TRACE_CODE_SME_RX_HDD_REMAIN_ONCHAN,
TRACE_CODE_SME_RX_HDD_SEND_ACTION,
TRACE_CODE_SME_RX_HDD_CANCEL_REMAIN_ONCHAN,
TRACE_CODE_SME_RX_HDD_CONFIG_RXPFIL,
TRACE_CODE_SME_RX_HDD_CONFIG_SUSPENDIND,
TRACE_CODE_SME_RX_HDD_CONFIG_RESUMEREQ,
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
TRACE_CODE_SME_RX_HDD_CONFIG_EXTWOW,
TRACE_CODE_SME_RX_HDD_CONFIG_APP_TYPE1,
TRACE_CODE_SME_RX_HDD_CONFIG_APP_TYPE2,
#endif
TRACE_CODE_SME_RX_HDD_SET_MAXTXPOW,
TRACE_CODE_SME_RX_HDD_SET_TXPOW,
TRACE_CODE_SME_RX_HDD_SET_TMLEVEL,
TRACE_CODE_SME_RX_HDD_CAPS_EXCH,
TRACE_CODE_SME_RX_HDD_DISABLE_CAP,
TRACE_CODE_SME_RX_HDD_GET_DEFCCNV,
TRACE_CODE_SME_RX_HDD_GET_CURCC,
TRACE_CODE_SME_RX_HDD_RESET_PW5G,
TRACE_CODE_SME_RX_HDD_UPDATE_RP5G,
TRACE_CODE_SME_RX_HDD_SET_ROAMIBAND,
TRACE_CODE_SME_RX_HDD_GET_ROAMIBAND,
TRACE_CODE_SME_RX_HDD_UPDATE_RSSIDIFF,
TRACE_CODE_SME_RX_HDD_UPDATE_IMMRSSIDIFF,
TRACE_CODE_SME_RX_HDD_UPDATE_FTENABLED,
TRACE_CODE_SME_RX_HDD_UPDATE_WESMODE,
TRACE_CODE_SME_RX_HDD_SET_SCANCTRL,
TRACE_CODE_SME_RX_HDD_UPDATE_P2P_IE,
TRACE_CODE_SME_RX_HDD_UPDATE_ROAM_SCAN_N_PROBES,
TRACE_CODE_SME_RX_HDD_UPDATE_ROAM_SCAN_HOME_AWAY_TIME,
TRACE_CODE_SME_RX_HDD_STORE_JOIN_REQ,
TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ,
TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ,
TRACE_CODE_SME_RX_HDD_MSG_DEAUTH_STA,
#ifdef FEATURE_WLAN_TDLS
TRACE_CODE_SME_RX_HDD_TDLS_LINK_ESTABLISH_PARAM,
TRACE_CODE_SME_RX_HDD_TDLS_CHAN_SWITCH_REQ,
TRACE_CODE_SME_RX_HDD_TDLS_SEND_MGMT_FRAME,
TRACE_CODE_SME_RX_HDD_TDLS_CHANGE_PEER_STA,
TRACE_CODE_SME_RX_HDD_TDLS_ADD_PEER_STA,
TRACE_CODE_SME_RX_HDD_TDLS_DEL_PEER_STA,
#endif
TRACE_CODE_SME_RX_HDD_PREF_NET_LIST,
#ifdef FEATURE_WLAN_LPHB
TRACE_CODE_SME_RX_HDD_LPHB_CONFIG_REQ,
#endif /* FEATURE_WLAN_LPHB */
TRACE_CODE_SME_RX_HDD_ROAM_DEL_PMKIDCACHE,
/*
* New trace commands to be added before this comment not at the end
* Trace codes for SME commands
*/
TRACE_CODE_SME_COMMAND = 250,
TRACE_CODE_SME_TX_WDA_MSG,
TRACE_CODE_SME_RX_WDA_MSG,
};
void smeTraceInit(tpAniSirGlobal pMac);
#endif //__SME_TRACE_H__