Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/ALFA-W1F1/RTL8814AU/platform/platform_aml_s905_sdio.h
1307 views
1
/******************************************************************************
2
*
3
* Copyright(c) 2016 - 2018 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 __PLATFORM_AML_S905_SDIO_H__
16
#define __PLATFORM_AML_S905_SDIO_H__
17
18
#include <linux/version.h> /* Linux vresion */
19
20
extern void sdio_reinit(void);
21
extern void extern_wifi_set_enable(int is_on);
22
23
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
24
extern void wifi_teardown_dt(void);
25
extern int wifi_setup_dt(void);
26
#endif /* kernel < 3.14.0 */
27
28
#endif /* __PLATFORM_AML_S905_SDIO_H__ */
29
30