/** @file mlan_event_ids.h
 *
 *  @brief This file contains FW event ID definitions.
 *
 *
 *  Copyright 2023 NXP
 *
 *  NXP CONFIDENTIAL
 *  The source code contained or described herein and all documents related to
 *  the source code (Materials) are owned by NXP, its
 *  suppliers and/or its licensors. Title to the Materials remains with NXP,
 *  its suppliers and/or its licensors. The Materials contain
 *  trade secrets and proprietary and confidential information of NXP, its
 *  suppliers and/or its licensors. The Materials are protected by worldwide
 *  copyright and trade secret laws and treaty provisions. No part of the
 *  Materials may be used, copied, reproduced, modified, published, uploaded,
 *  posted, transmitted, distributed, or disclosed in any way without NXP's
 *  prior express written permission.
 *
 *  No license under any patent, copyright, trade secret or other intellectual
 *  property right is granted to or conferred upon you by disclosure or delivery
 *  of the Materials, either expressly, by implication, inducement, estoppel or
 *  otherwise. Any license under such intellectual property rights must be
 *  express and approved by NXP in writing.
 *
 *  Alternatively, this software may be distributed under the terms of GPL v2.
 *  SPDX-License-Identifier:    GPL-2.0
 *
 *
 */

/* include guard is absent intentionally */

/* FW -> Host Event ID Constants */

/** Card Event definition : Dummy host wakeup signal */
ENUM_ELEMENT(EVENT_DUMMY_HOST_WAKEUP_SIGNAL, 0x0001),
	/** Card Event definition : Link lost */
	ENUM_ELEMENT(EVENT_LINK_LOST, 0x0003),
	/** Card Event definition : Link sensed */
	ENUM_ELEMENT(EVENT_LINK_SENSED, 0x0004),
	/** Card Event definition : MIB changed */
	ENUM_ELEMENT(EVENT_MIB_CHANGED, 0x0006),
	/** Card Event definition : Init done */
	ENUM_ELEMENT(EVENT_INIT_DONE, 0x0007),
	/** Card Event definition : Deauthenticated */
	ENUM_ELEMENT(EVENT_DEAUTHENTICATED, 0x0008),
	/** Card Event definition : Disassociated */
	ENUM_ELEMENT(EVENT_DISASSOCIATED, 0x0009),
	/** Card Event definition : Power save awake */
	ENUM_ELEMENT(EVENT_PS_AWAKE, 0x000a),
	/** Card Event definition : Power save sleep */
	ENUM_ELEMENT(EVENT_PS_SLEEP, 0x000b),
	/** Card Event definition : MIC error multicast */
	ENUM_ELEMENT(EVENT_MIC_ERR_MULTICAST, 0x000d),
	/** Card Event definition : MIC error unicast */
	ENUM_ELEMENT(EVENT_MIC_ERR_UNICAST, 0x000e),

	/** Card Event definition : Ad-Hoc BCN lost */
	ENUM_ELEMENT(EVENT_ADHOC_BCN_LOST, 0x0011),

	/** Card Event definition : Stop Tx */
	ENUM_ELEMENT(EVENT_STOP_TX, 0x0013),
	/** Card Event definition : Start Tx */
	ENUM_ELEMENT(EVENT_START_TX, 0x0014),
	/** Card Event definition : Channel switch */
	ENUM_ELEMENT(EVENT_CHANNEL_SWITCH, 0x0015),

	/** Card Event definition : MEAS report ready */
	ENUM_ELEMENT(EVENT_MEAS_REPORT_RDY, 0x0016),

	/** Card Event definition : WMM status change */
	ENUM_ELEMENT(EVENT_WMM_STATUS_CHANGE, 0x0017),

	/** Card Event definition : BG scan report */
	ENUM_ELEMENT(EVENT_BG_SCAN_REPORT, 0x0018),
	/** Card Event definition : BG scan stopped */
	ENUM_ELEMENT(EVENT_BG_SCAN_STOPPED, 0x0065),

	/** Card Event definition : Beacon RSSI low */
	ENUM_ELEMENT(EVENT_RSSI_LOW, 0x0019),
	/** Card Event definition : Beacon SNR low */
	ENUM_ELEMENT(EVENT_SNR_LOW, 0x001a),
	/** Card Event definition : Maximum fail */
	ENUM_ELEMENT(EVENT_MAX_FAIL, 0x001b),
	/** Card Event definition : Beacon RSSI high */
	ENUM_ELEMENT(EVENT_RSSI_HIGH, 0x001c),
	/** Card Event definition : Beacon SNR high */
	ENUM_ELEMENT(EVENT_SNR_HIGH, 0x001d),

	/** Card Event definition : IBSS coalsced */
	ENUM_ELEMENT(EVENT_IBSS_COALESCED, 0x001e),

	/** Event definition : IBSS station connected */
	ENUM_ELEMENT(EVENT_IBSS_STATION_CONNECT, 0x0020),
	/** Event definition : IBSS station dis-connected */
	ENUM_ELEMENT(EVENT_IBSS_STATION_DISCONNECT, 0x0021),

	/** Card Event definition : Data RSSI low */
	ENUM_ELEMENT(EVENT_DATA_RSSI_LOW, 0x0024),
	/** Card Event definition : Data SNR low */
	ENUM_ELEMENT(EVENT_DATA_SNR_LOW, 0x0025),
	/** Card Event definition : Data RSSI high */
	ENUM_ELEMENT(EVENT_DATA_RSSI_HIGH, 0x0026),
	/** Card Event definition : Data SNR high */
	ENUM_ELEMENT(EVENT_DATA_SNR_HIGH, 0x0027),

	/** Card Event definition : Link Quality */
	ENUM_ELEMENT(EVENT_LINK_QUALITY, 0x0028),

	/** Card Event definition : Port release event */
	ENUM_ELEMENT(EVENT_PORT_RELEASE, 0x002b),

#ifdef UAP_SUPPORT
	/** Event ID: STA deauth */
	ENUM_ELEMENT(EVENT_MICRO_AP_STA_DEAUTH, 0x002c),
	/** Event ID: STA assoicated */
	ENUM_ELEMENT(EVENT_MICRO_AP_STA_ASSOC, 0x002d),
	/** Event ID: BSS started */
	ENUM_ELEMENT(EVENT_MICRO_AP_BSS_START, 0x002e),
	/** Event ID: BSS idle event */
	ENUM_ELEMENT(EVENT_MICRO_AP_BSS_IDLE, 0x0043),
	/** Event ID: BSS active event */
	ENUM_ELEMENT(EVENT_MICRO_AP_BSS_ACTIVE, 0x0044),

	/** Event ID: MIC countermeasures event */
	ENUM_ELEMENT(EVENT_MICRO_AP_MIC_COUNTERMEASURES, 0x004c),
#endif /* UAP_SUPPORT */

	/** Card Event definition : Pre-Beacon Lost */
	ENUM_ELEMENT(EVENT_PRE_BEACON_LOST, 0x0031),

	ENUM_ELEMENT(EVENT_WATCHDOG_TMOUT, 0x0032),

	/** Card Event definition : Add BA event */
	ENUM_ELEMENT(EVENT_ADDBA, 0x0033),
	/** Card Event definition : Del BA event */
	ENUM_ELEMENT(EVENT_DELBA, 0x0034),
	/** Card Event definition: BA stream timeout*/
	ENUM_ELEMENT(EVENT_BA_STREAM_TIMEOUT, 0x0037),

	/** Card Event definition : AMSDU aggr control */
	ENUM_ELEMENT(EVENT_AMSDU_AGGR_CTRL, 0x0042),

	/** Card Event definition: WEP ICV error */
	ENUM_ELEMENT(EVENT_WEP_ICV_ERR, 0x0046),

	/** Card Event definition : Host sleep enable */
	ENUM_ELEMENT(EVENT_HS_ACT_REQ, 0x0047),

	/** Card Event definition : BW changed */
	ENUM_ELEMENT(EVENT_BW_CHANGE, 0x0048),

#ifdef WIFI_DIRECT_SUPPORT
	/** WIFIDIRECT generic event */
	ENUM_ELEMENT(EVENT_WIFIDIRECT_GENERIC_EVENT, 0x0049),
	/** WIFIDIRECT service discovery event */
	ENUM_ELEMENT(EVENT_WIFIDIRECT_SERVICE_DISCOVERY, 0x004a),
#endif
	/** Remain on Channel expired event */
	ENUM_ELEMENT(EVENT_REMAIN_ON_CHANNEL_EXPIRED, 0x005f),

	/** TDLS generic event */
	ENUM_ELEMENT(EVENT_TDLS_GENERIC_EVENT, 0x0052),

	ENUM_ELEMENT(EVENT_MEF_HOST_WAKEUP, 0x004f),

	/** Card Event definition: Channel switch pending announcment */
	ENUM_ELEMENT(EVENT_CHANNEL_SWITCH_ANN, 0x0050),

	/** Event definition:  Radar Detected by card */
	ENUM_ELEMENT(EVENT_RADAR_DETECTED, 0x0053),

	/** Event definition:  Radar Detected by card */
	ENUM_ELEMENT(EVENT_CHANNEL_REPORT_RDY, 0x0054),

	/** Event definition:  Scan results through event */
	ENUM_ELEMENT(EVENT_EXT_SCAN_REPORT, 0x0058),
	/** Enhance ext scan done event */
	ENUM_ELEMENT(EVENT_EXT_SCAN_STATUS_REPORT, 0x007f),

	/** Event definition: RXBA_SYNC */
	ENUM_ELEMENT(EVENT_RXBA_SYNC, 0x0059),

	/** Event ID: TX data pause event */
	ENUM_ELEMENT(EVENT_TX_DATA_PAUSE, 0x0055),

	/** Event definition : FW debug information */
	ENUM_ELEMENT(EVENT_FW_DEBUG_INFO, 0x0063),

	/** Event ID: SAD Report */
	ENUM_ELEMENT(EVENT_SAD_REPORT, 0x0066),

	/** Event ID: Multi Chan Info*/
	ENUM_ELEMENT(EVENT_MULTI_CHAN_INFO, 0x006a),

	ENUM_ELEMENT(EVENT_FW_DUMP_INFO, 0x0073),
	/** Event ID: Tx status */
	ENUM_ELEMENT(EVENT_TX_STATUS_REPORT, 0x0074),

	ENUM_ELEMENT(EVENT_BT_COEX_WLAN_PARA_CHANGE, 0x0076),

	ENUM_ELEMENT(EVENT_VDLL_IND, 0x0081),

	ENUM_ELEMENT(EVENT_ROAM_OFFLOAD, 0x0083),

	ENUM_ELEMENT(EVENT_WLS_FTM_COMPLETE, 0x0086),

	ENUM_ELEMENT(EVENT_EXCEED_MAX_P2P_CONN, 0x0089),

#if defined(PCIE)
	ENUM_ELEMENT(EVENT_SSU_DUMP_DMA, 0x008C),
#endif

	ENUM_ELEMENT(EVENT_CSI, 0x008D),
	ENUM_ELEMENT(EVENT_FW_HANG_REPORT, 0x008F),
	/** Card Event definition : RESET PN */

	ENUM_ELEMENT(EVENT_ASSOC_REQ_IE, 0x0095),

	ENUM_ELEMENT(EVENT_CHAN_LOAD, 0x0099),

	ENUM_ELEMENT(EVENT_IMD3_CAL_START, 0x00A0),
	ENUM_ELEMENT(EVENT_IMD3_CAL_END, 0x00A1),
