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 #define _HAL_TWT_C_
16 #include "hal_headers.h"
17
18 #ifdef CONFIG_PHL_TWT
19 enum rtw_hal_status
rtw_hal_twt_info_update(void * hal,struct rtw_phl_twt_info twt_info,struct rtw_wifi_role_t * role,u8 action)20 rtw_hal_twt_info_update(void *hal, struct rtw_phl_twt_info twt_info, struct rtw_wifi_role_t *role, u8 action)
21 {
22 return rtw_hal_mac_twt_info_update(hal, twt_info, role, action);
23 }
24
25 enum rtw_hal_status
rtw_hal_twt_sta_update(void * hal,u8 macid,u8 twt_id,u8 action)26 rtw_hal_twt_sta_update(void *hal, u8 macid, u8 twt_id, u8 action)
27 {
28 return rtw_hal_mac_twt_sta_update(hal, macid, twt_id, action);
29 }
30
31 enum rtw_hal_status
rtw_hal_twt_sta_announce(void * hal,u8 macid)32 rtw_hal_twt_sta_announce(void *hal, u8 macid)
33 {
34 return rtw_hal_mac_twt_sta_announce(hal, macid);
35 }
36 #endif /* CONFIG_PHL_TWT */
37
38