Root/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/include/htc_services.h

1/*
2 * Copyright (c) 2007 Atheros Communications Inc.
3 * All rights reserved.
4 *
5 * $ATH_LICENSE_HOSTSDK0_C$
6 *
7 */
8
9#ifndef __HTC_SERVICES_H__
10#define __HTC_SERVICES_H__
11
12/* Current service IDs */
13
14typedef enum {
15    RSVD_SERVICE_GROUP = 0,
16    WMI_SERVICE_GROUP = 1,
17
18    HTC_TEST_GROUP = 254,
19    HTC_SERVICE_GROUP_LAST = 255
20}HTC_SERVICE_GROUP_IDS;
21
22#define MAKE_SERVICE_ID(group,index) \
23            (int)(((int)group << 8) | (int)(index))
24
25/* NOTE: service ID of 0x0000 is reserved and should never be used */
26#define HTC_CTRL_RSVD_SVC MAKE_SERVICE_ID(RSVD_SERVICE_GROUP,1)
27#define WMI_CONTROL_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,0)
28#define WMI_DATA_BE_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,1)
29#define WMI_DATA_BK_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,2)
30#define WMI_DATA_VI_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,3)
31#define WMI_DATA_VO_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,4)
32#define WMI_MAX_SERVICES 5
33
34/* raw stream service (i.e. flash, tcmd, calibration apps) */
35#define HTC_RAW_STREAMS_SVC MAKE_SERVICE_ID(HTC_TEST_GROUP,0)
36
37#endif /*HTC_SERVICES_H_*/
38

Archive Download this file



interactive