Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/ALFA-W1F1/RTL8814AU/include/custom_gpio.h
1307 views
1
/******************************************************************************
2
*
3
* Copyright(c) 2016 - 2017 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 __CUSTOM_GPIO_H__
16
#define __CUSTOM_GPIO_H___
17
18
#include <drv_conf.h>
19
#include <osdep_service.h>
20
21
typedef enum cust_gpio_modes {
22
WLAN_PWDN_ON,
23
WLAN_PWDN_OFF,
24
WLAN_POWER_ON,
25
WLAN_POWER_OFF,
26
WLAN_BT_PWDN_ON,
27
WLAN_BT_PWDN_OFF
28
} cust_gpio_modes_t;
29
30
extern int rtw_wifi_gpio_init(void);
31
extern int rtw_wifi_gpio_deinit(void);
32
extern void rtw_wifi_gpio_wlan_ctrl(int onoff);
33
34
#endif
35
36