2 * Copyright (c) 2007 Atheros Communications Inc.
6 #ifndef __HTC_SERVICES_H__
7 #define __HTC_SERVICES_H__
9 /* Current service IDs */
12 RSVD_SERVICE_GROUP = 0,
13 WMI_SERVICE_GROUP = 1,
16 HTC_SERVICE_GROUP_LAST = 255
17 } HTC_SERVICE_GROUP_IDS;
19 #define MAKE_SERVICE_ID(group,index) \
20 (int)(((int)group << 8) | (int)(index))
22 /* NOTE: service ID of 0x0000 is reserved and should never be used */
23 #define HTC_CTRL_RSVD_SVC MAKE_SERVICE_ID(RSVD_SERVICE_GROUP,1)
24 #define HTC_LOOPBACK_RSVD_SVC MAKE_SERVICE_ID(RSVD_SERVICE_GROUP,2)
25 #define WMI_CONTROL_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,0)
27 #define WMI_BEACON_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,1)
28 #define WMI_CAB_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,2)
30 #define WMI_UAPSD_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,3)
31 #define WMI_MGMT_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,4)
33 #define WMI_DATA_VO_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,5)
34 #define WMI_DATA_VI_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,6)
36 #define WMI_DATA_BE_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,7)
37 #define WMI_DATA_BK_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,8)
39 /* raw stream service (i.e. flash, tcmd, calibration apps) */
40 #define HTC_RAW_STREAMS_SVC MAKE_SERVICE_ID(HTC_TEST_GROUP,0)
42 #endif /*HTC_SERVICES_H_*/