2 * Copyright (c) 2007 Atheros Communications Inc.
5 * $ATH_LICENSE_HOSTSDK0_C$
9 #ifndef __HTC_SERVICES_H__
10 #define __HTC_SERVICES_H__
12 /* Current service IDs */
15 RSVD_SERVICE_GROUP
= 0,
16 WMI_SERVICE_GROUP
= 1,
19 HTC_SERVICE_GROUP_LAST
= 255
20 }HTC_SERVICE_GROUP_IDS
;
22 #define MAKE_SERVICE_ID(group,index) \
23 (int)(((int)group << 8) | (int)(index))
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
34 /* raw stream service (i.e. flash, tcmd, calibration apps) */
35 #define HTC_RAW_STREAMS_SVC MAKE_SERVICE_ID(HTC_TEST_GROUP,0)
37 #endif /*HTC_SERVICES_H_*/
This page took 0.041598 seconds and 5 git commands to generate.