| OLD | NEW |
| 1 //------------------------------------------------------------------------------ | 1 //------------------------------------------------------------------------------ |
| 2 // <copyright file="common_drv.h" company="Atheros"> | 2 // Copyright (c) 2010 Atheros Corporation. All rights reserved. |
| 3 // Copyright (c) 2010 Atheros Corporation. All rights reserved. | |
| 4 // | 3 // |
| 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 // | 4 // |
| 9 // Software distributed under the License is distributed on an "AS | 5 // Permission to use, copy, modify, and/or distribute this software for any |
| 10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // purpose with or without fee is hereby granted, provided that the above |
| 11 // implied. See the License for the specific language governing | 7 // copyright notice and this permission notice appear in all copies. |
| 12 // rights and limitations under the License. | 8 // |
| 9 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 10 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 11 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 12 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 13 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 14 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 13 // | 16 // |
| 14 // | 17 // |
| 15 //------------------------------------------------------------------------------ | 18 //------------------------------------------------------------------------------ |
| 16 //============================================================================== | 19 //============================================================================== |
| 17 // Author(s): ="Atheros" | 20 // Author(s): ="Atheros" |
| 18 //============================================================================== | 21 //============================================================================== |
| 19 #ifndef COMMON_DRV_H_ | 22 #ifndef COMMON_DRV_H_ |
| 20 #define COMMON_DRV_H_ | 23 #define COMMON_DRV_H_ |
| 21 | 24 |
| 22 #include "hif.h" | 25 #include "hif.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 A_UINT32 TargetVersion); | 86 A_UINT32 TargetVersion); |
| 84 | 87 |
| 85 A_STATUS ar6000_set_hci_bridge_flags(HIF_DEVICE *hifDevice, | 88 A_STATUS ar6000_set_hci_bridge_flags(HIF_DEVICE *hifDevice, |
| 86 A_UINT32 TargetType, | 89 A_UINT32 TargetType, |
| 87 A_UINT32 Flags); | 90 A_UINT32 Flags); |
| 88 | 91 |
| 89 void ar6000_copy_cust_data_from_target(HIF_DEVICE *hifDevice, A_UINT32 TargetTyp
e); | 92 void ar6000_copy_cust_data_from_target(HIF_DEVICE *hifDevice, A_UINT32 TargetTyp
e); |
| 90 | 93 |
| 91 A_UINT8 *ar6000_get_cust_data_buffer(A_UINT32 TargetType); | 94 A_UINT8 *ar6000_get_cust_data_buffer(A_UINT32 TargetType); |
| 92 | 95 |
| 96 A_STATUS ar6000_setBTState(void *context, A_UINT8 *pInBuf, A_UINT32 InBufSize); |
| 97 |
| 98 A_STATUS ar6000_setDevicePowerState(void *context, A_UINT8 *pInBuf, A_UINT32 InB
ufSize); |
| 99 |
| 100 A_STATUS ar6000_setWowMode(void *context, A_UINT8 *pInBuf, A_UINT32 InBufSize); |
| 101 |
| 102 A_STATUS ar6000_setHostMode(void *context, A_UINT8 *pInBuf, A_UINT32 InBufSize); |
| 103 |
| 93 #ifdef __cplusplus | 104 #ifdef __cplusplus |
| 94 } | 105 } |
| 95 #endif | 106 #endif |
| 96 | 107 |
| 97 #endif /*COMMON_DRV_H_*/ | 108 #endif /*COMMON_DRV_H_*/ |
| OLD | NEW |