Kiet Lam | 54ae80e | 2014-03-07 15:19:39 -0800 | [diff] [blame] | 1 | /* |
Konamki, Sreelakshmi | b9c4571 | 2015-07-29 11:48:19 +0530 | [diff] [blame] | 2 | * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved. |
Kiet Lam | 54ae80e | 2014-03-07 15:19:39 -0800 | [diff] [blame] | 3 | * |
| 4 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 5 | * |
| 6 | * |
| 7 | * Permission to use, copy, modify, and/or distribute this software for |
| 8 | * any purpose with or without fee is hereby granted, provided that the |
| 9 | * above copyright notice and this permission notice appear in all |
| 10 | * copies. |
| 11 | * |
| 12 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 13 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 14 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 15 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 16 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 17 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 19 | * PERFORMANCE OF THIS SOFTWARE. |
| 20 | */ |
| 21 | |
| 22 | /* |
| 23 | * This file was originally distributed by Qualcomm Atheros, Inc. |
| 24 | * under proprietary terms before Copyright ownership was assigned |
| 25 | * to the Linux Foundation. |
| 26 | */ |
Sushant Kaushik | 4b7cb30 | 2014-01-06 17:45:01 +0530 | [diff] [blame] | 27 | |
| 28 | #ifndef __WLAN_HDD_TRACE_H__ |
| 29 | #define __WLAN_HDD_TRACE_H__ |
| 30 | |
| 31 | #include "macTrace.h" |
| 32 | |
| 33 | #define NO_SESSION 0xFF |
Konamki, Sreelakshmi | b9c4571 | 2015-07-29 11:48:19 +0530 | [diff] [blame] | 34 | #define TRACE_CODE_HDD_RX_SME_MSG 0xFF |
Sushant Kaushik | 4b7cb30 | 2014-01-06 17:45:01 +0530 | [diff] [blame] | 35 | |
| 36 | enum |
| 37 | { |
| 38 | TRACE_CODE_HDD_OPEN_REQUEST, |
| 39 | TRACE_CODE_HDD_STOP_REQUEST, |
| 40 | TRACE_CODE_HDD_TX_TIMEOUT, |
| 41 | TRACE_CODE_HDD_P2P_DEV_ADDR_IOCTL, |
| 42 | TRACE_CODE_HDD_SETSUSPENDMODE_IOCTL, |
| 43 | TRACE_CODE_HDD_SETROAMTRIGGER_IOCTL, |
| 44 | TRACE_CODE_HDD_GETROAMTRIGGER_IOCTL, |
| 45 | TRACE_CODE_HDD_SETROAMSCANPERIOD_IOCTL, |
| 46 | TRACE_CODE_HDD_GETROAMSCANPERIOD_IOCTL, |
| 47 | TRACE_CODE_HDD_SETROAMDELTA_IOCTL, |
| 48 | TRACE_CODE_HDD_GETROAMDELTA_IOCTL, |
| 49 | TRACE_CODE_HDD_GETBAND_IOCTL, |
| 50 | TRACE_CODE_HDD_GETCOUNTRYREV_IOCTL, |
| 51 | TRACE_CODE_HDD_SETROAMSCANCHANNELS_IOCTL, |
| 52 | TRACE_CODE_HDD_GETROAMSCANCHANNELS_IOCTL, |
| 53 | TRACE_CODE_HDD_HOSTAPD_OPEN_REQUEST, |
| 54 | TRACE_CODE_HDD_HOSTAPD_STOP_REQUEST, |
| 55 | TRACE_CODE_HDD_HOSTAPD_UNINIT_REQUEST, |
| 56 | TRACE_CODE_HDD_SOFTAP_TX_TIMEOUT, |
| 57 | TRACE_CODE_HDD_HOSTAPD_SET_MAC_ADDR, |
| 58 | TRACE_CODE_HDD_HOSTAPD_P2P_SET_NOA_IOCTL, |
| 59 | TRACE_CODE_HDD_HOSTAPD_P2P_SET_PS_IOCTL, |
| 60 | TRACE_CODE_HDD_HOSTAPD_SET_SAP_CHANNEL_LIST_IOCTL, |
| 61 | TRACE_CODE_HDD_ADD_VIRTUAL_INTF, |
| 62 | TRACE_CODE_HDD_DEL_VIRTUAL_INTF, |
| 63 | TRACE_CODE_HDD_CHANGE_VIRTUAL_INTF, |
| 64 | TRACE_CODE_HDD_CFG80211_START_AP, |
| 65 | TRACE_CODE_HDD_CFG80211_CHANGE_BEACON, |
| 66 | TRACE_CODE_HDD_CFG80211_STOP_AP, |
| 67 | TRACE_CODE_HDD_CFG80211_CHANGE_BSS, |
| 68 | TRACE_CODE_HDD_CFG80211_ADD_KEY, |
| 69 | TRACE_CODE_HDD_CFG80211_GET_KEY, |
| 70 | TRACE_CODE_HDD_CFG80211_SET_DEFAULT_KEY, |
| 71 | TRACE_CODE_HDD_CFG80211_CONNECT, |
| 72 | TRACE_CODE_HDD_CFG80211_DISCONNECT, |
| 73 | TRACE_CODE_HDD_CFG80211_JOIN_IBSS, |
| 74 | TRACE_CODE_HDD_CFG80211_LEAVE_IBSS, |
| 75 | TRACE_CODE_HDD_CFG80211_SET_WIPHY_PARAMS, |
| 76 | TRACE_CODE_HDD_CFG80211_SET_TXPOWER, |
| 77 | TRACE_CODE_HDD_CFG80211_GET_TXPOWER, |
| 78 | TRACE_CODE_HDD_CFG80211_SET_CHANNEL, |
| 79 | TRACE_CODE_HDD_CFG80211_ADD_BEACON, |
| 80 | TRACE_CODE_HDD_CFG80211_SET_BEACON, |
| 81 | TRACE_CODE_HDD_CFG80211_CHANGE_IFACE, |
| 82 | TRACE_CODE_HDD_CHANGE_STATION, |
| 83 | TRACE_CODE_HDD_CFG80211_UPDATE_BSS, |
| 84 | TRACE_CODE_HDD_CFG80211_SCAN, |
Konamki, Sreelakshmi | 7b464be | 2015-07-14 12:17:01 +0530 | [diff] [blame] | 85 | TRACE_CODE_HDD_CFG80211_SCHED_SCAN_START, |
| 86 | TRACE_CODE_HDD_CFG80211_SCHED_SCAN_STOP, |
Sushant Kaushik | 4b7cb30 | 2014-01-06 17:45:01 +0530 | [diff] [blame] | 87 | TRACE_CODE_HDD_REMAIN_ON_CHANNEL, |
| 88 | TRACE_CODE_HDD_REMAINCHANREADYHANDLER, |
| 89 | TRACE_CODE_HDD_CFG80211_CANCEL_REMAIN_ON_CHANNEL, |
| 90 | TRACE_CODE_HDD_ACTION, |
| 91 | TRACE_CODE_HDD_MGMT_TX_CANCEL_WAIT, |
| 92 | TRACE_CODE_HDD_CFG80211_GET_STA, |
| 93 | TRACE_CODE_HDD_CFG80211_SET_POWER_MGMT, |
| 94 | TRACE_CODE_HDD_CFG80211_DEL_STA, |
| 95 | TRACE_CODE_HDD_CFG80211_ADD_STA, |
| 96 | TRACE_CODE_HDD_CFG80211_SET_PMKSA, |
Konamki, Sreelakshmi | 7b464be | 2015-07-14 12:17:01 +0530 | [diff] [blame] | 97 | TRACE_CODE_HDD_CFG80211_DEL_PMKSA, |
Sushant Kaushik | 4b7cb30 | 2014-01-06 17:45:01 +0530 | [diff] [blame] | 98 | TRACE_CODE_HDD_CFG80211_UPDATE_FT_IES, |
| 99 | TRACE_CODE_HDD_CFG80211_TDLS_MGMT, |
| 100 | TRACE_CODE_HDD_CFG80211_TDLS_OPER, |
| 101 | TRACE_CODE_HDD_CFG80211_SET_REKEY_DATA, |
| 102 | TRACE_CODE_HDD_UNSUPPORTED_IOCTL, |
| 103 | TRACE_CODE_HDD_SETROAMSCANCHANNELMINTIME_IOCTL, |
Mihir Shete | 5d148f1 | 2014-12-16 17:54:49 +0530 | [diff] [blame] | 104 | TRACE_CODE_HDD_GETROAMSCANCHANNELMINTIME_IOCTL, |
| 105 | TRACE_CODE_HDD_STOP_NETDEV, |
| 106 | TRACE_CODE_HDD_WAKE_NETDEV, |
| 107 | TRACE_CODE_HDD_FLUSH_TX_QUEUES, |
Konamki, Sreelakshmi | 7b464be | 2015-07-14 12:17:01 +0530 | [diff] [blame] | 108 | TRACE_CODE_HDD_CFG80211_RESUME_WLAN, |
| 109 | TRACE_CODE_HDD_CFG80211_SUSPEND_WLAN, |
| 110 | TRACE_CODE_HDD_CFG80211_SET_MAC_ACL, |
| 111 | TRACE_CODE_HDD_CFG80211_TESTMODE, |
| 112 | TRACE_CODE_HDD_CFG80211_DUMP_SURVEY, |
Sushant Kaushik | 4b7cb30 | 2014-01-06 17:45:01 +0530 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | extern void hddTraceDump(void *pMac, tpvosTraceRecord pRecord, tANI_U16 recIndex); |
| 116 | extern void hddTraceInit(void); |
| 117 | #endif |
| 118 | |
| 119 | |