diff options
author | mokopatches <mokopatches@openmoko.org> | 2008-11-19 17:03:20 +0000 |
---|---|---|
committer | warmcat <andy@warmcat.com> | 2008-11-19 17:03:20 +0000 |
commit | ddb66e6fd40f9896da1b76c7234e4a1607ae8965 (patch) | |
tree | 1c6218d186d1c4b3dc8cf7ac018bf210afe728df /drivers/sdio/function/wlan/ar6000/include/htc_services.h | |
parent | 04f702b8cae122213b1e6f40341274eff4720fa2 (diff) |
atheros_2_0_function.patch
Diffstat (limited to 'drivers/sdio/function/wlan/ar6000/include/htc_services.h')
-rw-r--r-- | drivers/sdio/function/wlan/ar6000/include/htc_services.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/sdio/function/wlan/ar6000/include/htc_services.h b/drivers/sdio/function/wlan/ar6000/include/htc_services.h new file mode 100644 index 00000000000..fc6fc296625 --- /dev/null +++ b/drivers/sdio/function/wlan/ar6000/include/htc_services.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2007 Atheros Communications Inc. + * All rights reserved. + * + * $ATH_LICENSE_HOSTSDK0_C$ + * + */ + +#ifndef __HTC_SERVICES_H__ +#define __HTC_SERVICES_H__ + +/* Current service IDs */ + +typedef enum { + RSVD_SERVICE_GROUP = 0, + WMI_SERVICE_GROUP = 1, + + HTC_TEST_GROUP = 254, + HTC_SERVICE_GROUP_LAST = 255 +}HTC_SERVICE_GROUP_IDS; + +#define MAKE_SERVICE_ID(group,index) \ + (int)(((int)group << 8) | (int)(index)) + +/* NOTE: service ID of 0x0000 is reserved and should never be used */ +#define HTC_CTRL_RSVD_SVC MAKE_SERVICE_ID(RSVD_SERVICE_GROUP,1) +#define WMI_CONTROL_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,0) +#define WMI_DATA_BE_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,1) +#define WMI_DATA_BK_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,2) +#define WMI_DATA_VI_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,3) +#define WMI_DATA_VO_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,4) +#define WMI_MAX_SERVICES 5 + +/* raw stream service (i.e. flash, tcmd, calibration apps) */ +#define HTC_RAW_STREAMS_SVC MAKE_SERVICE_ID(HTC_TEST_GROUP,0) + +#endif /*HTC_SERVICES_H_*/ |