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

Side by Side Diff: include/service.h

Issue 6609007: flimflam: add "psk" security as a way to specify either "wpa" or "rsn" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: add comments; be more careful doing compat work Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « doc/service-api.txt ('k') | include/wifi.h » ('j') | src/wifi.c » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * 2 *
3 * Connection Manager 3 * Connection Manager
4 * 4 *
5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. 5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as 8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 * 10 *
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 CONNMAN_SERVICE_MODE_ADHOC = 2, 54 CONNMAN_SERVICE_MODE_ADHOC = 2,
55 }; 55 };
56 56
57 enum connman_service_security { 57 enum connman_service_security {
58 CONNMAN_SERVICE_SECURITY_UNKNOWN = 0, 58 CONNMAN_SERVICE_SECURITY_UNKNOWN = 0,
59 CONNMAN_SERVICE_SECURITY_NONE = 1, 59 CONNMAN_SERVICE_SECURITY_NONE = 1,
60 CONNMAN_SERVICE_SECURITY_WEP = 2, 60 CONNMAN_SERVICE_SECURITY_WEP = 2,
61 CONNMAN_SERVICE_SECURITY_WPA = 3, 61 CONNMAN_SERVICE_SECURITY_WPA = 3,
62 CONNMAN_SERVICE_SECURITY_RSN = 4, 62 CONNMAN_SERVICE_SECURITY_RSN = 4,
63 CONNMAN_SERVICE_SECURITY_802_1X = 5, 63 CONNMAN_SERVICE_SECURITY_802_1X = 5,
64 CONNMAN_SERVICE_SECURITY_PSK = 6,
64 65
65 CONNMAN_SERVICE_SECURITY_MAX 66 CONNMAN_SERVICE_SECURITY_MAX
66 }; 67 };
67 68
68 enum connman_service_state { 69 enum connman_service_state {
69 CONNMAN_SERVICE_STATE_UNKNOWN = 0, 70 CONNMAN_SERVICE_STATE_UNKNOWN = 0,
70 CONNMAN_SERVICE_STATE_IDLE = 1, 71 CONNMAN_SERVICE_STATE_IDLE = 1,
71 CONNMAN_SERVICE_STATE_CARRIER = 2, 72 CONNMAN_SERVICE_STATE_CARRIER = 2,
72 CONNMAN_SERVICE_STATE_ASSOCIATION = 3, 73 CONNMAN_SERVICE_STATE_ASSOCIATION = 3,
73 CONNMAN_SERVICE_STATE_CONFIGURATION = 4, 74 CONNMAN_SERVICE_STATE_CONFIGURATION = 4,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 enum connman_network_phymode connman_service_get_phymode(const struct 171 enum connman_network_phymode connman_service_get_phymode(const struct
171 connman_service *service); 172 connman_service *service);
172 enum connman_service_security connman_service_get_security(const struct 173 enum connman_service_security connman_service_get_security(const struct
173 connman_service *service); 174 connman_service *service);
174 175
175 #ifdef __cplusplus 176 #ifdef __cplusplus
176 } 177 }
177 #endif 178 #endif
178 179
179 #endif /* __CONNMAN_SERVICE_H */ 180 #endif /* __CONNMAN_SERVICE_H */
OLDNEW
« no previous file with comments | « doc/service-api.txt ('k') | include/wifi.h » ('j') | src/wifi.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698