Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Side by Side Diff: chromeos/drivers/ath6kl/os/linux/include/export_hci_transport.h

Issue 646055: Atheros AR600x driver + build glue (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="hci_bridge.c" company="Atheros">
3 // Copyright (c) 2009 Atheros Corporation. All rights reserved.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License version 2 as
7 // published by the Free Software Foundation;
8 //
9 // Software distributed under the License is distributed on an "AS
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 // implied. See the License for the specific language governing
12 // rights and limitations under the License.
13 //
14 //
15 //------------------------------------------------------------------------------
16 //==============================================================================
17 // HCI bridge implementation
18 //
19 // Author(s): ="Atheros"
20 //==============================================================================
21
22 #include "hci_transport_api.h"
23 #include "common_drv.h"
24
25 extern HCI_TRANSPORT_HANDLE (*_HCI_TransportAttach)(void *HTCHandle, HCI_TRANSPO RT_CONFIG_INFO *pInfo);
26 extern void (*_HCI_TransportDetach)(HCI_TRANSPORT_HANDLE HciTrans);
27 extern A_STATUS (*_HCI_TransportAddReceivePkts)(HCI_TRANSPORT_HANDLE HciTrans , HTC_PACKET_QUEUE *pQueue);
28 extern A_STATUS (*_HCI_TransportSendPkt)(HCI_TRANSPORT_HANDLE HciTrans, HTC_P ACKET *pPacket, A_BOOL Synchronous);
29 extern void (*_HCI_TransportStop)(HCI_TRANSPORT_HANDLE HciTrans);
30 extern A_STATUS (*_HCI_TransportStart)(HCI_TRANSPORT_HANDLE HciTrans);
31 extern A_STATUS (*_HCI_TransportEnableDisableAsyncRecv)(HCI_TRANSPORT_HANDLE HciTrans, A_BOOL Enable);
32 extern A_STATUS (*_HCI_TransportRecvHCIEventSync)(HCI_TRANSPORT_HANDLE HciTra ns,
33 HTC_PACKET *pPacket,
34 int MaxPollMS);
35
36
37 #define HCI_TransportAttach(HTCHandle, pInfo) \
38 _HCI_TransportAttach((HTCHandle), (pInfo))
39 #define HCI_TransportDetach(HciTrans) \
40 _HCI_TransportDetach(HciTrans)
41 #define HCI_TransportAddReceivePkts(HciTrans, pQueue) \
42 _HCI_TransportAddReceivePkts((HciTrans), (pQueue))
43 #define HCI_TransportSendPkt(HciTrans, pPacket, Synchronous) \
44 _HCI_TransportSendPkt((HciTrans), (pPacket), (Synchronous))
45 #define HCI_TransportStop(HciTrans) \
46 _HCI_TransportStop((HciTrans))
47 #define HCI_TransportStart(HciTrans) \
48 _HCI_TransportStart((HciTrans))
49 #define HCI_TransportEnableDisableAsyncRecv(HciTrans, Enable) \
50 _HCI_TransportEnableDisableAsyncRecv((HciTrans), (Enable))
51 #define HCI_TransportRecvHCIEventSync(HciTrans, pPacket, MaxPollMS) \
52 _HCI_TransportRecvHCIEventSync((HciTrans), (pPacket), (MaxPollMS))
53
54
55 extern A_STATUS ar6000_register_hci_transport(HCI_TRANSPORT_CALLBACKS *hciTransC allbacks);
56
57 extern A_STATUS ar6000_get_hif_dev(HIF_DEVICE *device, void *config);
58
59 extern A_STATUS ar6000_set_uart_config(HIF_DEVICE *hifDevice, A_UINT32 scale, A_ UINT32 step);
60
61 /* get core clock register settings
62 * data: 0 - 40/44MHz
63 * 1 - 80/88MHz
64 * where (5G band/2.4G band)
65 * assume 2.4G band for now
66 */
67 extern A_STATUS ar6000_get_core_clock_config(HIF_DEVICE *hifDevice, A_UINT32 *da ta);
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/os/linux/include/debug_linux.h ('k') | chromeos/drivers/ath6kl/os/linux/include/ieee80211_ioctl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698