1 /****************************************************************************** 2 * 3 * Copyright(c) 2019 Realtek Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 *****************************************************************************/ 15 #ifndef _PHL_HEADERS_H_ 16 #define _PHL_HEADERS_H_ 17 18 /* 19 * Basic components 20 */ 21 #include "rtw_general_def.h" 22 #include "phl_list.h" 23 #include "phl_status.h" 24 #include "pltfm_ops.h" 25 #include "phl_config.h" 26 #include "hal_g6/hal_config.h" 27 #include "phl_types.h" 28 #include "phl_util.h" 29 #include "phl_def.h" 30 #include "phl_debug.h" 31 /* 32 * PHL Feature headers start 33 */ 34 #include "phl_regulation_def.h" 35 #include "phl_chnlplan.h" 36 #include "phl_country.h" 37 #include "phl_scan_instance.h" 38 #include "phl_regulation.h" 39 #include "phl_trx_def.h" 40 #include "phl_wow_def.h" 41 #include "phl_btc_def.h" 42 #include "phl_p2pps_def.h" 43 #include "phl_cmd_dispatch.h" 44 #include "phl_wow.h" 45 #include "phl_watchdog.h" 46 #include "phl_struct.h" 47 #include "phl_test_def.h" 48 #include "phl_test.h" 49 #include "phl_msg_hub.h" 50 #include "phl_chan.h" 51 #include "phl_role.h" 52 #include "custom/phl_custom_def.h" 53 #include "custom/phl_custom_api.h" 54 #include "custom/phl_custom.h" 55 #include "phl_sw_cap.h" 56 #include "phl_sta.h" 57 #include "phl_mcc_def.h" 58 #include "phl_mr.h" 59 #include "test/trx_test.h" 60 #include "test/cmd_disp_test.h" 61 #include "test/phl_ps_dbg_cmd.h" 62 #include "test/phl_ser_dbg_cmd.h" 63 #include "phl_tx.h" 64 #include "phl_rx_agg.h" 65 #include "phl_rx.h" 66 67 #include "phl_ser_def.h" 68 #include "phl_sound.h" 69 70 #include "phl_btc.h" 71 #include "phl_ps.h" 72 73 #ifdef CONFIG_FSM 74 #include "phl_fsm.h" 75 #include "phl_cmd_fsm.h" 76 #include "phl_cmd_job.h" 77 #include "phl_ser_fsm.h" 78 #include "phl_scan_fsm.h" 79 #include "phl_btc_fsm.h" 80 #include "phl_sound_fsm.h" 81 #endif /*CONFIG_FSM*/ 82 83 #include "phl_cmd_ps.h" 84 #include "phl_sound_cmd.h" 85 #include "phl_cmd_ser.h" 86 87 #include "phl_pkt_ofld.h" 88 #include "test/phl_dbg_cmd.h" 89 #include "phl_chan.h" 90 #include "phl_acs.h" 91 #include "phl_led_def.h" 92 #include "phl_led.h" 93 #include "phl_trx_mit.h" 94 #include "phl_dm.h" 95 #include "phl_notify.h" 96 #include "phl_cmd_general.h" 97 #include "phl_p2pps.h" 98 #include "phl_cmd_btc.h" 99 #include "phl_twt.h" 100 #include "phl_ecsa_export.h" 101 #include "phl_ecsa.h" 102 #include "phl_thermal.h" 103 #include "phl_txpwr.h" 104 #include "phl_ext_tx_pwr_lmt_def.h" 105 106 #ifdef CONFIG_PHL_CHANNEL_INFO 107 #include "phl_chan_info.h" 108 #endif /* CONFIG_PHL_CHANNEL_INFO */ 109 110 #ifdef CONFIG_PCI_HCI 111 #include "hci/phl_trx_def_pcie.h" 112 #include "hci/phl_trx_pcie.h" 113 #endif 114 #ifdef CONFIG_USB_HCI 115 #include "hci/phl_trx_def_usb.h" 116 #include "hci/phl_trx_usb.h" 117 #endif 118 #ifdef CONFIG_SDIO_HCI 119 #include "hci/phl_trx_def_sdio.h" 120 #include "hci/phl_trx_sdio.h" 121 #endif 122 123 124 /****************************************************************************** 125 * Driver layer shall pass wifi configuration flag to PHL for feature category 126 * comment it temporarily. 127 *****************************************************************************/ 128 #ifdef CONFIG_WIFI_5 129 #endif 130 131 #ifdef CONFIG_WIFI_6 132 #include "hal_g6/hal_general_def.h" 133 #include "hal_g6/hal_def.h" 134 #include "hal_g6/hal_api.h" 135 #else 136 /*temporarily*/ 137 #include "hal_g6/hal_general_def.h" 138 #include "hal_g6/hal_def.h" 139 #include "hal_g6/hal_api.h" 140 #endif 141 142 #ifdef CONFIG_WIFI_7 143 #endif 144 145 #endif /*_PHL_HEADERS_H_*/ 146