OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2004-2008 Atheros Communications Inc. |
| 3 * All rights reserved. |
| 4 * |
| 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. |
| 7 * defined. |
| 8 * |
| 9 * |
| 10 * ar3kcpsconfig.h |
| 11 * |
| 12 * |
| 13 * |
| 14 * The software source and binaries included in this development package are |
| 15 * licensed, not sold. You, or your company, received the package under one |
| 16 * or more license agreements. The rights granted to you are specifically |
| 17 * listed in these license agreement(s). All other rights remain with Atheros |
| 18 * Communications, Inc., its subsidiaries, or the respective owner including |
| 19 * those listed on the included copyright notices.. Distribution of any |
| 20 * portion of this package must be in strict compliance with the license |
| 21 * agreement(s) terms. |
| 22 * |
| 23 * |
| 24 * |
| 25 */ |
| 26 |
| 27 |
| 28 |
| 29 #ifndef __AR3KPSCONFIG_H |
| 30 #define __AR3KPSCONFIG_H |
| 31 |
| 32 /* |
| 33 * Define the flag HCI_TRANSPORT_SDIO and undefine HCI_TRANSPORT_UART if the tra
nsport being used is SDIO. |
| 34 */ |
| 35 #undef HCI_TRANSPORT_UART |
| 36 |
| 37 #include <linux/fs.h> |
| 38 #include <linux/errno.h> |
| 39 #include <linux/string.h> |
| 40 #include <linux/signal.h> |
| 41 #include <linux/timer.h> |
| 42 |
| 43 |
| 44 #include <linux/ioctl.h> |
| 45 #include <linux/skbuff.h> |
| 46 #include <linux/firmware.h> |
| 47 #include <linux/wait.h> |
| 48 |
| 49 |
| 50 #include <net/bluetooth/bluetooth.h> |
| 51 #include <net/bluetooth/hci_core.h> |
| 52 |
| 53 #include "ar3kpsparser.h" |
| 54 |
| 55 #define FPGA_REGISTER 0x4FFC |
| 56 |
| 57 |
| 58 #define PS_ASIC_FILE "PS_ASIC.pst" |
| 59 #define PS_FPGA_FILE "PS_FPGA.pst" |
| 60 |
| 61 #define PATCH_FILE "RamPatch.txt" |
| 62 #define BDADDR_FILE "ar3kbdaddr.pst" |
| 63 |
| 64 |
| 65 #ifndef HCI_TRANSPORT_SDIO |
| 66 #define AR3K_CONFIG_INFO struct hci_dev |
| 67 extern wait_queue_head_t HciEvent; |
| 68 extern wait_queue_t Eventwait; |
| 69 extern A_UCHAR *HciEventpacket; |
| 70 #endif /* #ifndef HCI_TRANSPORT_SDIO */ |
| 71 |
| 72 A_STATUS AthPSInitialize(AR3K_CONFIG_INFO *hdev); |
| 73 A_STATUS ReadPSEvent(A_UCHAR* Data); |
| 74 #endif /* __AR3KPSCONFIG_H */ |
OLD | NEW |