1 //------------------------------------------------------------------------------
2 // Copyright (c) 2009-2010 Atheros Corporation. All rights reserved.
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.
15 // PAL driver for AR6003
18 //------------------------------------------------------------------------------
19 //==============================================================================
20 // Author(s): ="Atheros"
21 //==============================================================================
24 #define HCI_GET_OP_CODE(p) (((A_UINT16)((p)[1])) << 8) | ((A_UINT16)((p)[0]))
26 /* transmit packet reserve offset */
27 #define TX_PACKET_RSV_OFFSET 32
28 /* pal specific config structure */
29 typedef bool (*ar6k_pal_recv_pkt_t)(void *pHciPalInfo, void *skb);
30 typedef struct ar6k_pal_config_s
32 ar6k_pal_recv_pkt_t fpar6k_pal_recv_pkt;
35 void register_pal_cb(ar6k_pal_config_t *palConfig_p);
36 #endif /* _AR6K_PAL_H_ */