OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004-2008 Atheros Communications Inc. | 2 * Copyright (c) 2004-2010 Atheros Communications Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This file defines the symbols exported by Atheros PS and patch download modul
e. | 5 * This file defines the symbols exported by Atheros PS and patch download modul
e. |
6 * define the constant HCI_TRANSPORT_SDIO if the module is being used for HCI SD
IO transport. | 6 * define the constant HCI_TRANSPORT_SDIO if the module is being used for HCI SD
IO transport. |
7 * defined. | 7 * defined. |
8 * | 8 * |
9 * | 9 * |
10 * ar3kcpsconfig.h | 10 * ar3kcpsconfig.h |
11 * | 11 * |
12 * | 12 * |
(...skipping 16 matching lines...) Expand all Loading... |
29 #ifndef __AR3KPSCONFIG_H | 29 #ifndef __AR3KPSCONFIG_H |
30 #define __AR3KPSCONFIG_H | 30 #define __AR3KPSCONFIG_H |
31 | 31 |
32 /* | 32 /* |
33 * Define the flag HCI_TRANSPORT_SDIO and undefine HCI_TRANSPORT_UART if the tra
nsport being used is SDIO. | 33 * Define the flag HCI_TRANSPORT_SDIO and undefine HCI_TRANSPORT_UART if the tra
nsport being used is SDIO. |
34 */ | 34 */ |
35 #undef HCI_TRANSPORT_UART | 35 #undef HCI_TRANSPORT_UART |
36 | 36 |
37 #include <linux/fs.h> | 37 #include <linux/fs.h> |
38 #include <linux/errno.h> | 38 #include <linux/errno.h> |
39 #include <linux/string.h> | |
40 #include <linux/signal.h> | 39 #include <linux/signal.h> |
41 #include <linux/timer.h> | |
42 | 40 |
43 | 41 |
44 #include <linux/ioctl.h> | 42 #include <linux/ioctl.h> |
45 #include <linux/skbuff.h> | |
46 #include <linux/firmware.h> | 43 #include <linux/firmware.h> |
47 #include <linux/wait.h> | |
48 | 44 |
49 | 45 |
50 #include <net/bluetooth/bluetooth.h> | 46 #include <net/bluetooth/bluetooth.h> |
51 #include <net/bluetooth/hci_core.h> | 47 #include <net/bluetooth/hci_core.h> |
52 | 48 |
53 #include "ar3kpsparser.h" | 49 #include "ar3kpsparser.h" |
54 | 50 |
55 #define FPGA_REGISTER 0x4FFC | 51 #define FPGA_REGISTER 0x4FFC |
56 #define BDADDR_TYPE_STRING 0 | 52 #define BDADDR_TYPE_STRING 0 |
57 #define BDADDR_TYPE_HEX 1 | 53 #define BDADDR_TYPE_HEX 1 |
(...skipping 12 matching lines...) Expand all Loading... |
70 #ifndef HCI_TRANSPORT_SDIO | 66 #ifndef HCI_TRANSPORT_SDIO |
71 #define AR3K_CONFIG_INFO struct hci_dev | 67 #define AR3K_CONFIG_INFO struct hci_dev |
72 extern wait_queue_head_t HciEvent; | 68 extern wait_queue_head_t HciEvent; |
73 extern wait_queue_t Eventwait; | 69 extern wait_queue_t Eventwait; |
74 extern A_UCHAR *HciEventpacket; | 70 extern A_UCHAR *HciEventpacket; |
75 #endif /* #ifndef HCI_TRANSPORT_SDIO */ | 71 #endif /* #ifndef HCI_TRANSPORT_SDIO */ |
76 | 72 |
77 A_STATUS AthPSInitialize(AR3K_CONFIG_INFO *hdev); | 73 A_STATUS AthPSInitialize(AR3K_CONFIG_INFO *hdev); |
78 A_STATUS ReadPSEvent(A_UCHAR* Data); | 74 A_STATUS ReadPSEvent(A_UCHAR* Data); |
79 #endif /* __AR3KPSCONFIG_H */ | 75 #endif /* __AR3KPSCONFIG_H */ |
OLD | NEW |