OLD | NEW |
(Empty) | |
| 1 //------------------------------------------------------------------------------ |
| 2 // <copyright file="bmi_internal.h" company="Atheros"> |
| 3 // Copyright (c) 2004-2008 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 // |
| 18 // Author(s): ="Atheros" |
| 19 //============================================================================== |
| 20 #ifndef BMI_INTERNAL_H |
| 21 #define BMI_INTERNAL_H |
| 22 |
| 23 #include "a_config.h" |
| 24 #include "athdefs.h" |
| 25 #include "a_types.h" |
| 26 #include "a_osapi.h" |
| 27 #define ATH_MODULE_NAME bmi |
| 28 #include "a_debug.h" |
| 29 #include "AR6002/hw2.0/hw/mbox_host_reg.h" |
| 30 #include "bmi_msg.h" |
| 31 |
| 32 #define ATH_DEBUG_BMI ATH_DEBUG_MAKE_MODULE_MASK(0) |
| 33 |
| 34 |
| 35 #define BMI_COMMUNICATION_TIMEOUT 100000 |
| 36 |
| 37 /* ------ Global Variable Declarations ------- */ |
| 38 A_BOOL bmiDone; |
| 39 |
| 40 A_STATUS |
| 41 bmiBufferSend(HIF_DEVICE *device, |
| 42 A_UCHAR *buffer, |
| 43 A_UINT32 length); |
| 44 |
| 45 A_STATUS |
| 46 bmiBufferReceive(HIF_DEVICE *device, |
| 47 A_UCHAR *buffer, |
| 48 A_UINT32 length, |
| 49 A_BOOL want_timeout); |
| 50 |
| 51 #endif |
OLD | NEW |