/****************************************************************************** * * Copyright(c) 2019 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * *****************************************************************************/ #ifndef _PHL_ACS_DEF_H_ #define _PHL_ACS_DEF_H_ /* size of phl_acs_chnl_tbl which include 2G/5G/6G channel */ #define MAX_ACS_INFO 102 #define NHM_RPT_NUM 12 struct acs_mntr_rpt { u8 clm_ratio; u8 nhm_ratio; u8 nhm_pwr; u8 nhm_rpt[NHM_RPT_NUM]; }; struct rtw_acs_info_parm { u8 idx; u8 ch; u8 band; struct acs_mntr_rpt rpt; }; struct acs_mntr_parm { u16 mntr_time; bool nhm_incld_cca; }; #endif /*_PHL_ACS_DEF_H_*/