xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/nlrtw.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2020 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 __RTW_NLRTW_H_
16 #define __RTW_NLRTW_H_
17 
18 #ifdef CONFIG_RTW_NLRTW
19 int rtw_nlrtw_init(void);
20 int rtw_nlrtw_deinit(void);
21 int rtw_nlrtw_ch_util_rpt(_adapter *adapter, u8 n_rpts, u8 *val, u8 **mac_addr);
22 #else
rtw_nlrtw_init(void)23 static inline int rtw_nlrtw_init(void) {return _FAIL;}
rtw_nlrtw_deinit(void)24 static inline int rtw_nlrtw_deinit(void) {return _FAIL;}
rtw_nlrtw_ch_util_rpt(_adapter * adapter,u8 n_rpts,u8 * val,u8 ** mac_addr)25 static inline int rtw_nlrtw_ch_util_rpt(_adapter *adapter, u8 n_rpts, u8 *val, u8 **mac_addr) {return _FAIL;}
26 #endif
27 
28 #endif /* __RTW_NLRTW_H_ */
29