TODO: Add Clock API support for connmanctl
[platform/upstream/connman.git] / TODO
1 Background
2 ==========
3
4 - Priority scale: High, Medium and Low
5
6 - Complexity scale: C1, C2, C4 and C8.
7    The complexity scale is exponential, with complexity 1 being the
8    lowest complexity. Complexity is a function of both task 'complexity'
9    and task 'scope'.
10
11
12 Core
13 ====
14
15 - Session API implementation
16
17    Priority: High
18    Complexity: C4
19    Owner: Daniel Wagner <daniel.wagner@bmw-carit.de>
20    Owner: Patrik Flykt <patrik.flykt@linux.intel.com>
21
22    The session API should provide a connection abstraction in order to
23    prioritize applications network accesses, prevent or allow network
24    and bearer roaming, or provide applications with a way to request
25    for periodic network connections. On-demand connections will be
26    implemented through this API as well.
27    See http://www.mail-archive.com/connman@connman.net/msg01653.html
28
29
30 - Personal firewall
31
32    Priority: Low
33    Complexity: C8
34    Owner: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
35
36    Discuss and implement a basic and safe firewalling strategy into
37    Connman. Provide a D-Bus API for personal firewalling.
38
39
40 - PACRunner extensions
41
42    Priority: Low
43    Complexity: C4
44
45    Support more URI schemes, support multiple connections, tighter
46    security integration.
47
48
49 - Check logging produced by connman_info()
50
51    Priority: Medium
52    Complexity: C1
53
54    Check that logging produced by connman_info() contains meaningful messages
55    and get rid of the unnecessary ones.
56
57
58 - Support for multiple agents
59
60   Priority: Medium
61   Complexity: C2
62
63   Allow to register multiple agents. Each unique system bus name owner
64   however is only allowed to register one agent.
65
66   The selection of which agents is used  should be matched by bus name
67   owner if possible or first come first serve. A graceful fallback to
68   the next agent should be also used in case of malfunctional agents.
69
70 - Remove --nobacktrace option
71
72  Priority: Medium
73  Complexity: C1
74  When: 2.0
75
76  Remove the --nobacktrace option or change it to --backtrace depending on the
77  level of systemd integration or other factors.
78
79
80 - Clean up type definitions
81
82    Priority: Medium
83    Complexity: C1
84
85    Go through variable types and use the following:
86    * bool from <stdbool.h> instead of connman_bool_t and gboolean, in the
87      latter case in those places it makes sense
88
89
90 - Clean up data structure usage
91
92    Priority: Medium
93    Complexity: C4
94
95    Use hash tables, queues and lists in the code. Replace GSequences with
96    simpler structures. At the same time do a check on the currently used
97    data structures and see if something can be simplified.
98
99
100 - Unit tests for DHCP, DNS and HTTP
101
102    Priority: Medium
103    Complexity: C4
104
105    Create unit tests for these components starting with DHCP. Use gtest
106    from GLib for this task similarly to what has been done for OBEX in Bluez
107    and oFono in general.
108
109
110 - DHCPv6 DECLINE message support
111
112    Priority: Medium
113    Complexity: C2
114
115
116 WiFi
117 ====
118
119 - Clean up WiFi data structure usage
120
121    Priority: Medium
122    Complexity: C2
123
124    Struct wifi_data is passed as a pointer in some of the wifi plugin
125    callbacks. For example removing a WiFi USB stick causes RTNL and
126    wpa_supplicant to call the wifi plugin at the same time causing the
127    freeing of the wifi data structure. Fix up the code to have proper
128    reference counting or other handling in place for the shared wifi data
129    and the members in the data structure.
130
131
132 - EAP-AKA/SIM
133
134    Priority: Medium
135    Complexity: C2
136    Owner: Samuel Ortiz <sameo@linux.intel.com>
137
138    This EAP is needed for SIM card based network authentication.
139    ConnMan here plays a minor role: Once wpa_supplicant is set up for
140    starting and EAP-AKA/SIM authentication, it will talk to a SIM card
141    through its pcsc-lite API.
142
143
144 - EAP-FAST
145
146    Priority: Low
147    Complexity: C1
148
149
150 - WiFi p2p
151
152    Priority: Medium
153    Complexity: C2
154
155
156 - Removing wpa_supplicant 0.7.x legacy support
157
158   Priority: Low
159   Complexity: C1
160   Owner: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
161
162   Removing global country property setter in gsupplicant, and removing
163   wifi's technology set_regdom implementation. Removing autoscan fallback.
164   (Note: should be done around the end 2012)
165
166 Bluetooth
167 =========
168
169 - Remove Bluez 4.x support
170
171   Priority: Low
172   Complexity: C1
173
174   Remove plugins/bluetooth-legacy.c support in about 6 month (July 2013) or
175   when Bluez 4.x usage becomes minimal.
176
177 Cellular
178 ========
179
180
181 VPN
182 ===
183
184 - IPsec
185
186    Priority: Medium
187    Complexity: C4
188    Owner: Jukka Rissanen <jukka.rissanen@linux.intel.com>
189
190 - L2TP & PPTP compatibility prefix removal
191
192    Priority: Medium
193    Complexity: C1
194    When: connman 2.0
195
196    The VPN config file provisioning patchset contains code that makes
197    PPP options to be marked by "PPPD." prefix. The code supports also
198    old "L2TP." and "PPTP." prefix for PPP options. Remove the compatibility
199    code and only allow "PPPD." prefix for PPP options.
200
201
202 Tools
203 =====
204
205 - Add Session mode, VPN and Clock API support to connmanctl command line tool
206
207    Priority: Low
208    Complexity: C2
209
210    The connmanctl command line tool should support Session mode and VPN
211    Agent with a set of suitable commands used in both interactive and
212    non-interactive mode. Also add support for Clock API.
213
214
215 User Interface
216 ==============
217
218 - GNOME3 UI
219
220    Priority: Low
221    Complexity: C4
222    Owner: Alok Barsode <alok.barsode@linux.intel.com>
223
224    A GNOME3 shell user interface would make it easier for mainstream distros
225    users to use ConnMan.