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_P2PPS_DEF_H_ 16 #define _PHL_P2PPS_DEF_H_ 17 #ifdef RTW_WKARD_P2PPS_REFINE 18 #ifdef CONFIG_PHL_P2PPS 19 20 struct rtw_phl_noa_info { 21 u8 en_desc_num; 22 u8 paused; 23 struct rtw_phl_noa_desc noa_desc[MAX_NOA_DESC]; 24 struct rtw_phl_opps_desc opps_desc; 25 }; 26 27 struct rtw_phl_p2pps_info { 28 struct phl_info_t *phl_info; 29 struct rtw_phl_p2pps_ops ops; 30 _os_lock p2pps_lock; 31 struct rtw_phl_noa_info noa_info[MAX_WIFI_ROLE_NUMBER]; 32 }; 33 #endif 34 #endif 35 #endif 36