1 /* 2 * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved. 3 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Previously licensed under the ISC license by Qualcomm Atheros, Inc. 6 * 7 * 8 * Permission to use, copy, modify, and/or distribute this software for 9 * any purpose with or without fee is hereby granted, provided that the 10 * above copyright notice and this permission notice appear in all 11 * copies. 12 * 13 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 14 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 15 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 16 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 17 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 18 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 * PERFORMANCE OF THIS SOFTWARE. 21 */ 22 23 /* 24 * This file was originally distributed by Qualcomm Atheros, Inc. 25 * under proprietary terms before Copyright ownership was assigned 26 * to the Linux Foundation. 27 */ 28 29 #ifndef _WLAN_MODULE_IDS_H_ 30 #define _WLAN_MODULE_IDS_H_ 31 32 /* Wlan module ids , global across all the modules */ 33 typedef enum { 34 WLAN_MODULE_ID_MIN = 0, 35 WLAN_MODULE_INF = WLAN_MODULE_ID_MIN, /* 0x0 */ 36 WLAN_MODULE_WMI, /* 0x1 */ 37 WLAN_MODULE_STA_PWRSAVE, /* 0x2 */ 38 WLAN_MODULE_WHAL, /* 0x3 */ 39 WLAN_MODULE_COEX, /* 0x4 */ 40 WLAN_MODULE_ROAM, /* 0x5 */ 41 WLAN_MODULE_RESMGR_CHAN_MANAGER, /* 0x6 */ 42 WLAN_MODULE_RESMGR, /* 0x7 */ 43 WLAN_MODULE_VDEV_MGR, /* 0x8 */ 44 WLAN_MODULE_SCAN, /* 0x9 */ 45 WLAN_MODULE_RATECTRL, /* 0xa */ 46 WLAN_MODULE_AP_PWRSAVE, /* 0xb */ 47 WLAN_MODULE_BLOCKACK, /* 0xc */ 48 WLAN_MODULE_MGMT_TXRX, /* 0xd */ 49 WLAN_MODULE_DATA_TXRX, /* 0xe */ 50 WLAN_MODULE_HTT, /* 0xf */ 51 WLAN_MODULE_HOST, /* 0x10 */ 52 WLAN_MODULE_BEACON, /* 0x11 */ 53 WLAN_MODULE_OFFLOAD, /* 0x12 */ 54 WLAN_MODULE_WAL, /* 0x13 */ 55 WAL_MODULE_DE, /* 0x14 */ 56 WLAN_MODULE_PCIELP, /* 0x15 */ 57 WLAN_MODULE_RTT, /* 0x16 */ 58 WLAN_MODULE_RESOURCE, /* 0x17 */ 59 WLAN_MODULE_DCS, /* 0x18 */ 60 WLAN_MODULE_CACHEMGR, /* 0x19 */ 61 WLAN_MODULE_ANI, /* 0x1a */ 62 WLAN_MODULE_P2P, /* 0x1b */ 63 WLAN_MODULE_CSA, /* 0x1c */ 64 WLAN_MODULE_NLO, /* 0x1d */ 65 WLAN_MODULE_CHATTER, /* 0x1e */ 66 WLAN_MODULE_WOW, /* 0x1f */ 67 WLAN_MODULE_WAL_VDEV, /* 0x20 */ 68 WLAN_MODULE_WAL_PDEV, /* 0x21 */ 69 WLAN_MODULE_TEST, /* 0x22 */ 70 WLAN_MODULE_STA_SMPS, /* 0x23 */ 71 WLAN_MODULE_SWBMISS, /* 0x24 */ 72 WLAN_MODULE_WMMAC, /* 0x25 */ 73 WLAN_MODULE_TDLS, /* 0x26 */ 74 WLAN_MODULE_HB, /* 0x27 */ 75 WLAN_MODULE_TXBF, /* 0x28 */ 76 WLAN_MODULE_BATCH_SCAN, /* 0x29 */ 77 WLAN_MODULE_THERMAL_MGR, /* 0x2a */ 78 WLAN_MODULE_PHYERR_DFS, /* 0x2b */ 79 WLAN_MODULE_RMC, /* 0x2c */ 80 WLAN_MODULE_STATS, /* 0x2d */ 81 WLAN_MODULE_NAN, /* 0x2e */ 82 WLAN_MODULE_IBSS_PWRSAVE, /* 0x2f */ 83 WLAN_MODULE_HIF_UART, /* 0x30 */ 84 WLAN_MODULE_LPI, /* 0x31 */ 85 WLAN_MODULE_EXTSCAN, /* 0x32 */ 86 WLAN_MODULE_UNIT_TEST, /* 0x33 */ 87 WLAN_MODULE_MLME, /* 0x34 */ 88 WLAN_MODULE_SUPPL, /* 0x35 */ 89 WLAN_MODULE_ERE, /* 0x36 */ 90 WLAN_MODULE_OCB, /* 0x37 */ 91 WLAN_MODULE_RSSI_MONITOR, /* 0x38 */ 92 WLAN_MODULE_WPM, /* 0x39 */ 93 WLAN_MODULE_CSS, /* 0x3a */ 94 WLAN_MODULE_PPS, /* 0x3b */ 95 WLAN_MODULE_SCAN_CH_PREDICT, /* 0x3c */ 96 WLAN_MODULE_MAWC, /* 0x3d */ 97 WLAN_MODULE_CMC_QMIC, /* 0x3e */ 98 WLAN_MODULE_EGAP, /* 0x3f */ 99 WLAN_MODULE_NAN20, /* 0x40 */ 100 WLAN_MODULE_QBOOST, /* 0x41 */ 101 WLAN_MODULE_P2P_LISTEN_OFFLOAD, /* 0x42 */ 102 WLAN_MODULE_HALPHY, /* 0x43 */ 103 WAL_MODULE_ENQ, /* 0x44 */ 104 WLAN_MODULE_GNSS, /* 0x45 */ 105 WLAN_MODULE_WAL_MEM, /* 0x46 */ 106 WLAN_MODULE_SCHED_ALGO, /* 0x47 */ 107 WLAN_MODULE_TX, /* 0x48 */ 108 WLAN_MODULE_RX, /* 0x49 */ 109 WLAN_MODULE_WLM, /* 0x4a */ 110 WLAN_MODULE_RU_ALLOCATOR, /* 0x4b */ 111 WLAN_MODULE_11K_OFFLOAD, /* 0x4c */ 112 WLAN_MODULE_STA_TWT, /* 0x4d */ 113 WLAN_MODULE_AP_TWT, /* 0x4e */ 114 WLAN_MODULE_UL_OFDMA, /* 0x4f */ 115 WLAN_MODULE_HPCS_PULSE, /* 0x50 */ 116 WLAN_MODULE_DTF, /* 0x51 */ /* Deterministic Test Framework */ 117 WLAN_MODULE_QUIET_IE, /* 0x52 */ 118 WLAN_MODULE_SHMEM_MGR, /* 0x53 */ 119 WLAN_MODULE_CFIR, /* 0x54 */ /* Channel Capture */ 120 WLAN_MODULE_CODE_COVER, /* 0x55 */ /* code coverage */ 121 WLAN_MODULE_SHO, /* 0x56 */ /* SAP HW offload */ 122 WLAN_MODULE_MLO_MGR, /* 0x57 */ /* MLO manager */ 123 WLAN_MODULE_PEER_INIT, /* 0x58 */ /* peer init connection handling */ 124 WLAN_MODULE_STA_MLO_PS, /* 0x59 */ /* MLO PS manager */ 125 WLAN_MODULE_MLO_SYNC_SEQ_NUM, /* 0x5a */ /* sync seq num after rm MPDU */ 126 WLAN_MODULE_PLCMGR, /* 0x5b */ /* Policy Manager */ 127 /* OEM module IDs: 128 * Reserve a small series of module IDs for use in OEM WLAN FW that 129 * interacts with WLAN FW SDK. 130 */ 131 WLAN_MODULE_OEM0, /* 0x5c */ 132 WLAN_MODULE_OEM1, /* 0x5d */ 133 WLAN_MODULE_OEM2, /* 0x5e */ 134 WLAN_MODULE_OEM3, /* 0x5f */ 135 WLAN_MODULE_OEM4, /* 0x60 */ 136 WLAN_MODULE_OEM5, /* 0x61 */ 137 WLAN_MODULE_OEM6, /* 0x62 */ 138 WLAN_MODULE_OEM7, /* 0x63 */ 139 140 WLAN_MODULE_T2LM, /* 0x64 */ 141 WLAN_MODULE_HEALTH_MON, /* 0x65 */ 142 WLAN_MODULE_XGAP, /* 0x66 */ 143 WLAN_MODULE_MLO_OWNERSHIP_UPDATE, /* 0x67 */ 144 145 WLAN_MODULE_SCHED_ALGO_TXBF, /* 0x68 */ 146 WLAN_MODULE_SCHED_ALGO_DL_MU_MIMO, /* 0x69 */ 147 WLAN_MODULE_SCHED_ALGO_UL_MU_MIMO, /* 0x6a */ 148 WLAN_MODULE_SCHED_ALGO_DL_MU_OFDMA, /* 0x6b */ 149 WLAN_MODULE_SCHED_ALGO_UL_MU_OFDMA, /* 0x6c */ 150 WLAN_MODULE_SCHED_ALGO_SU, /* 0x6d */ 151 WLAN_MODULE_SCHED_ALGO_MLO, /* 0x6e */ 152 WLAN_MODULE_SCHED_ALGO_SAWF, /* 0x6f */ 153 WLAN_MODULE_BAR, /* 0x70 */ 154 WLAN_MODULE_SMART_TX, /* 0x71 */ 155 WLAN_MODULE_BRIDGE_PEER, /* 0x72 */ 156 WLAN_MODULE_AUX_MAC_MGR, /* 0x73 */ 157 WLAN_MODULE_TCAM, /* 0x74 */ 158 WLAN_MODULE_P2P_R2, /* 0x75 */ 159 WLAN_MODULE_SYSSW, /* 0x76 */ 160 161 /* HDL MODULE IDS */ 162 WLAN_MODULE_PHYLIB_RXDCOCAL, /* 0x77 */ 163 WLAN_MODULE_PHYLIB_COMBCAL, /* 0x78 */ 164 WLAN_MODULE_PHYLIB_TPCCAL, /* 0x79 */ 165 WLAN_MODULE_PHYLIB_BBFILTCAL, /* 0x7a */ 166 WLAN_MODULE_PHYLIB_PKTDETCAL, /* 0x7b */ 167 WLAN_MODULE_PHYLIB_PAPRDCAL, /* 0x7c */ 168 WLAN_MODULE_PHYLIB_NFCAL, /* 0x7d */ 169 WLAN_MODULE_PHYLIB_ADCCAL, /* 0x7e */ 170 WLAN_MODULE_PHYLIB_DACCAL, /* 0x7f */ 171 WLAN_MODULE_PHYLIB_PALCAL, /* 0x80 */ 172 WLAN_MODULE_PHYLIB_RXGAINCAL, /* 0x81 */ 173 WLAN_MODULE_PHYLIB_CALUTILS, /* 0x82 */ 174 WLAN_MODULE_PHYLIB_PHYRESET, /* 0x83 */ 175 WLAN_MODULE_PHYLIB_RFACONFIG, /* 0x84 */ 176 WLAN_MODULE_PHYLIB_SETCHAINMASK, /* 0x85 */ 177 WLAN_MODULE_PHYLIB_SETXBAR, /* 0x86 */ 178 WLAN_MODULE_PHYLIB_M3, /* 0x87 */ 179 WLAN_MODULE_PHYLIB_COMMON, /* 0x88 */ 180 WLAN_MODULE_PHYLIB_SPURMITT, /* 0x89 */ 181 WLAN_MODULE_PHYLIB_RTT, /* 0x8a */ 182 WLAN_MODULE_PHYLIB_FTPG, /* 0x8b */ 183 WLAN_MODULE_PHYLIB_RSTCAL, /* 0x8c */ 184 WLAN_MODULE_PHYLIB_RXBBFCAL, /* 0x8d */ 185 WLAN_MODULE_PHYLIB_TIADCCAL, /* 0x8e */ 186 WLAN_MODULE_PHYLIB_IM2CAL, /* 0x8f */ 187 WLAN_MODULE_PHYLIB_PACCAL, /* 0x90 */ 188 WLAN_MODULE_PHYLIB_PDCCAL, /* 0x91 */ 189 WLAN_MODULE_PHYLIB_SPURCAL, /* 0x92 */ 190 WLAN_MODULE_PHYLIB_PHYDBG, /* 0x93 */ 191 WLAN_MODULE_PHYLIB_RRI, /* 0x94 */ 192 WLAN_MODULE_PHYLIB_SSCAN, /* 0x95 */ 193 WLAN_MODULE_PHYLIB_RSVD, /* 0x96 */ 194 195 196 WLAN_MODULE_ID_MAX, 197 WLAN_MODULE_ID_INVALID = WLAN_MODULE_ID_MAX, 198 WLAN_MODULE_ID_ALL = 0xffff /* wildcard to indicate all modules */ 199 } WLAN_MODULE_ID; 200 201 202 #endif /* _WLAN_MODULE_IDS_H_ */ 203