OLD | NEW |
(Empty) | |
| 1 //------------------------------------------------------------------------------ |
| 2 // Copyright (c) 2009-2010 Atheros Corporation. All rights reserved. |
| 3 // |
| 4 // The software source and binaries included in this development package are |
| 5 // licensed, not sold. You, or your company, received the package under one |
| 6 // or more license agreements. The rights granted to you are specifically |
| 7 // listed in these license agreement(s). All other rights remain with Atheros |
| 8 // Communications, Inc., its subsidiaries, or the respective owner including |
| 9 // those listed on the included copyright notices. Distribution of any |
| 10 // portion of this package must be in strict compliance with the license |
| 11 // agreement(s) terms. |
| 12 // </copyright> |
| 13 // |
| 14 // <summary> |
| 15 // PAL driver for AR6003 |
| 16 // </summary> |
| 17 // |
| 18 //------------------------------------------------------------------------------ |
| 19 //============================================================================== |
| 20 // Author(s): ="Atheros" |
| 21 //============================================================================== |
| 22 #ifndef _AR6K_PAL_H_ |
| 23 #define _AR6K_PAL_H_ |
| 24 #define HCI_GET_OP_CODE(p) (((A_UINT16)((p)[1])) << 8) | ((A_UINT16)((p
)[0])) |
| 25 |
| 26 /* transmit packet reserve offset */ |
| 27 #define TX_PACKET_RSV_OFFSET 32 |
| 28 /* pal specific config structure */ |
| 29 typedef A_BOOL (*ar6k_pal_recv_pkt_t)(void *pHciPalInfo, void *skb); |
| 30 typedef struct ar6k_pal_config_s |
| 31 { |
| 32 ar6k_pal_recv_pkt_t fpar6k_pal_recv_pkt; |
| 33 }ar6k_pal_config_t; |
| 34 |
| 35 void register_pal_cb(ar6k_pal_config_t *palConfig_p); |
| 36 #endif /* _AR6K_PAL_H_ */ |
OLD | NEW |