• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * net_bdh_adpater.h
3  *
4  * ap6275s driver header
5  *
6  * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
7  *
8  * This software is licensed under the terms of the GNU General Public
9  * License version 2, as published by the Free Software Foundation, and
10  * may be copied, distributed, and modified under those terms.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  */
18 #ifndef NET_BDH_ADAPTER_H
19 #define NET_BDH_ADAPTER_H
20 
21 #include <linux/netdevice.h>
22 #include "net_device.h"
23 
24 
25 #ifdef __cplusplus
26 #if __cplusplus
27 extern "C" {
28 #endif
29 #endif
30 
31 void set_krn_netdev(struct NetDevice *hnetdev, struct net_device *netdev, int ifidx);
32 struct wiphy *get_krn_wiphy(void);
33 
34 int32_t hdf_bdh6_netdev_init(struct NetDevice *netDev);
35 int32_t hdf_bdh6_netdev_open(struct NetDevice *netDev);
36 int32_t hdf_bdh6_netdev_stop(struct NetDevice *netDev);
37 
38 #ifdef __cplusplus
39 #if __cplusplus
40 }
41 #endif
42 #endif
43 
44 #endif
45