~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/ath6kl/os/linux/include/ar6k_pal.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
//==============================================================================
22
22
#ifndef _AR6K_PAL_H_
23
23
#define _AR6K_PAL_H_
24
 
#define HCI_GET_OP_CODE(p)          (((A_UINT16)((p)[1])) << 8) | ((A_UINT16)((p)[0]))
 
24
#define HCI_GET_OP_CODE(p)          (((u16)((p)[1])) << 8) | ((u16)((p)[0]))
25
25
 
26
26
/* transmit packet reserve offset */
27
27
#define TX_PACKET_RSV_OFFSET        32
28
28
/* pal specific config structure */
29
 
typedef A_BOOL (*ar6k_pal_recv_pkt_t)(void *pHciPalInfo, void *skb);
 
29
typedef bool (*ar6k_pal_recv_pkt_t)(void *pHciPalInfo, void *skb);
30
30
typedef struct ar6k_pal_config_s
31
31
{
32
32
        ar6k_pal_recv_pkt_t fpar6k_pal_recv_pkt;