Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: chromeos/drivers/ath6kl/include/htc_services.h

Issue 646055: Atheros AR600x driver + build glue (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="htc_services.h" company="Atheros">
3 // Copyright (c) 2007 Atheros Corporation. All rights reserved.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License version 2 as
7 // published by the Free Software Foundation;
8 //
9 // Software distributed under the License is distributed on an "AS
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 // implied. See the License for the specific language governing
12 // rights and limitations under the License.
13 //
14 //
15 //------------------------------------------------------------------------------
16 //==============================================================================
17 // Author(s): ="Atheros"
18 //==============================================================================
19
20 #ifndef __HTC_SERVICES_H__
21 #define __HTC_SERVICES_H__
22
23 /* Current service IDs */
24
25 typedef enum {
26 RSVD_SERVICE_GROUP = 0,
27 WMI_SERVICE_GROUP = 1,
28
29 HTC_TEST_GROUP = 254,
30 HTC_SERVICE_GROUP_LAST = 255
31 }HTC_SERVICE_GROUP_IDS;
32
33 #define MAKE_SERVICE_ID(group,index) \
34 (int)(((int)group << 8) | (int)(index))
35
36 /* NOTE: service ID of 0x0000 is reserved and should never be used */
37 #define HTC_CTRL_RSVD_SVC MAKE_SERVICE_ID(RSVD_SERVICE_GROUP,1)
38 #define WMI_CONTROL_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,0)
39 #define WMI_DATA_BE_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,1)
40 #define WMI_DATA_BK_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,2)
41 #define WMI_DATA_VI_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,3)
42 #define WMI_DATA_VO_SVC MAKE_SERVICE_ID(WMI_SERVICE_GROUP,4)
43 #define WMI_MAX_SERVICES 5
44
45 /* raw stream service (i.e. flash, tcmd, calibration apps) */
46 #define HTC_RAW_STREAMS_SVC MAKE_SERVICE_ID(HTC_TEST_GROUP,0)
47
48 #endif /*HTC_SERVICES_H_*/
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/htc_packet.h ('k') | chromeos/drivers/ath6kl/include/ini_dset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698