shill: add support for connecting to WPA-PSK networks

BUG=chromium-os:20897
TEST=unittests, some autotests (see below)

the following autotests now pass, at least in the wifi_vm_config:
- network_WiFiManager.000_SSID_Length_Limit
- network_WiFiSecMat.010CheckWPA_TKIP
- network_WiFiSecMat.011CheckWPA_AES
- network_WiFiSecMat.012CheckWPA_Multi
- network_WiFiSecMat.018CheckWPA_CounterMeasures

Change-Id: Ie7499fd87f661ceef3ef0aae348a08bd43c305f4
Reviewed-on: http://gerrit.chromium.org/gerrit/8586
Tested-by: mukesh agrawal <quiche@google.com>
Reviewed-by: Paul Stewart <pstew@chromium.org>
14 files changed
tree: 85419cd98a4a0dfabf94884935ebe2ec45465ea5
  1. dbus_bindings/
  2. accessor_interface.h
  3. adaptor_interfaces.h
  4. byte_string.cc
  5. byte_string.h
  6. byte_string_unittest.cc
  7. cellular.cc
  8. cellular.h
  9. cellular_service.cc
  10. cellular_service.h
  11. cellular_unittest.cc
  12. connection.cc
  13. connection.h
  14. connection_unittest.cc
  15. control_interface.h
  16. crypto_des_cbc.cc
  17. crypto_des_cbc.h
  18. crypto_des_cbc_unittest.cc
  19. crypto_interface.h
  20. crypto_provider.cc
  21. crypto_provider.h
  22. crypto_provider_unittest.cc
  23. crypto_rot47.cc
  24. crypto_rot47.h
  25. crypto_rot47_unittest.cc
  26. dbus_adaptor.cc
  27. dbus_adaptor.h
  28. dbus_adaptor_unittest.cc
  29. dbus_control.cc
  30. dbus_control.h
  31. dbus_properties.cc
  32. dbus_properties.h
  33. dbus_properties_proxy.cc
  34. dbus_properties_proxy.h
  35. dbus_properties_proxy_interface.h
  36. dbus_properties_unittest.cc
  37. default_profile.cc
  38. default_profile.h
  39. default_profile_unittest.cc
  40. device.cc
  41. device.h
  42. device_dbus_adaptor.cc
  43. device_dbus_adaptor.h
  44. device_info.cc
  45. device_info.h
  46. device_info_unittest.cc
  47. device_stub.h
  48. device_unittest.cc
  49. dhcp_config.cc
  50. dhcp_config.h
  51. dhcp_config_unittest.cc
  52. dhcp_provider.cc
  53. dhcp_provider.h
  54. dhcp_provider_unittest.cc
  55. dhcp_proxy_interface.h
  56. dhcpcd_proxy.cc
  57. dhcpcd_proxy.h
  58. endpoint.cc
  59. endpoint.h
  60. ephemeral_profile.cc
  61. ephemeral_profile.h
  62. error.cc
  63. error.h
  64. error_unittest.cc
  65. ethernet.cc
  66. ethernet.h
  67. ethernet_service.cc
  68. ethernet_service.h
  69. glib.cc
  70. glib.h
  71. glib_io_handler.cc
  72. glib_io_handler.h
  73. HACKING
  74. ieee80211.h
  75. io_handler.h
  76. ip_address.cc
  77. ip_address.h
  78. ip_address_unittest.cc
  79. ipconfig.cc
  80. ipconfig.h
  81. ipconfig_dbus_adaptor.cc
  82. ipconfig_dbus_adaptor.h
  83. ipconfig_unittest.cc
  84. key_file_store.cc
  85. key_file_store.h
  86. key_file_store_unittest.cc
  87. key_value_store.cc
  88. key_value_store.h
  89. LICENSE
  90. Makefile
  91. manager.cc
  92. manager.h
  93. manager_dbus_adaptor.cc
  94. manager_dbus_adaptor.h
  95. manager_unittest.cc
  96. mock_adaptors.cc
  97. mock_adaptors.h
  98. mock_control.cc
  99. mock_control.h
  100. mock_dbus_properties_proxy.cc
  101. mock_dbus_properties_proxy.h
  102. mock_device.cc
  103. mock_device.h
  104. mock_device_info.cc
  105. mock_device_info.h
  106. mock_dhcp_config.cc
  107. mock_dhcp_config.h
  108. mock_dhcp_provider.cc
  109. mock_dhcp_provider.h
  110. mock_dhcp_proxy.cc
  111. mock_dhcp_proxy.h
  112. mock_glib.cc
  113. mock_glib.h
  114. mock_ipconfig.cc
  115. mock_ipconfig.h
  116. mock_manager.cc
  117. mock_manager.h
  118. mock_modem_cdma_proxy.cc
  119. mock_modem_cdma_proxy.h
  120. mock_modem_gsm_card_proxy.cc
  121. mock_modem_gsm_card_proxy.h
  122. mock_modem_gsm_network_proxy.cc
  123. mock_modem_gsm_network_proxy.h
  124. mock_modem_manager_proxy.cc
  125. mock_modem_manager_proxy.h
  126. mock_modem_proxy.cc
  127. mock_modem_proxy.h
  128. mock_modem_simple_proxy.cc
  129. mock_modem_simple_proxy.h
  130. mock_profile.cc
  131. mock_profile.h
  132. mock_property_store.cc
  133. mock_property_store.h
  134. mock_resolver.cc
  135. mock_resolver.h
  136. mock_routing_table.cc
  137. mock_routing_table.h
  138. mock_rtnl_handler.cc
  139. mock_rtnl_handler.h
  140. mock_service.cc
  141. mock_service.h
  142. mock_sockets.cc
  143. mock_sockets.h
  144. mock_store.cc
  145. mock_store.h
  146. mock_supplicant_interface_proxy.cc
  147. mock_supplicant_interface_proxy.h
  148. mock_supplicant_process_proxy.cc
  149. mock_supplicant_process_proxy.h
  150. mock_wifi.cc
  151. mock_wifi.h
  152. modem.cc
  153. modem.h
  154. modem_cdma_proxy.cc
  155. modem_cdma_proxy.h
  156. modem_cdma_proxy_interface.h
  157. modem_gsm_card_proxy.cc
  158. modem_gsm_card_proxy.h
  159. modem_gsm_card_proxy_interface.h
  160. modem_gsm_network_proxy.cc
  161. modem_gsm_network_proxy.h
  162. modem_gsm_network_proxy_interface.h
  163. modem_info.cc
  164. modem_info.h
  165. modem_info_unittest.cc
  166. modem_manager.cc
  167. modem_manager.h
  168. modem_manager_proxy.cc
  169. modem_manager_proxy.h
  170. modem_manager_proxy_interface.h
  171. modem_manager_unittest.cc
  172. modem_proxy.cc
  173. modem_proxy.h
  174. modem_proxy_interface.h
  175. modem_simple_proxy.cc
  176. modem_simple_proxy.h
  177. modem_simple_proxy_interface.h
  178. modem_unittest.cc
  179. nice_mock_control.cc
  180. nice_mock_control.h
  181. profile.cc
  182. profile.h
  183. profile_dbus_adaptor.cc
  184. profile_dbus_adaptor.h
  185. profile_unittest.cc
  186. property_accessor.h
  187. property_accessor_unittest.cc
  188. property_iterator.h
  189. property_store.cc
  190. property_store.h
  191. property_store_unittest.cc
  192. property_store_unittest.h
  193. proxy_factory.cc
  194. proxy_factory.h
  195. refptr_types.h
  196. resolver.cc
  197. resolver.h
  198. resolver_unittest.cc
  199. routing_table.cc
  200. routing_table.h
  201. routing_table_entry.h
  202. routing_table_unittest.cc
  203. rtnl_handler.cc
  204. rtnl_handler.h
  205. rtnl_handler_unittest.cc
  206. rtnl_listener.cc
  207. rtnl_listener.h
  208. rtnl_listener_unittest.cc
  209. rtnl_message.cc
  210. rtnl_message.h
  211. rtnl_message_unittest.cc
  212. service.cc
  213. service.h
  214. service_dbus_adaptor.cc
  215. service_dbus_adaptor.h
  216. service_sorter.h
  217. service_unittest.cc
  218. shill.conf
  219. shill_config.cc
  220. shill_config.h
  221. shill_daemon.cc
  222. shill_daemon.h
  223. shill_event.cc
  224. shill_event.h
  225. shill_main.cc
  226. shill_unittest.cc
  227. sockets.cc
  228. sockets.h
  229. store_interface.h
  230. supplicant_interface_proxy.cc
  231. supplicant_interface_proxy.h
  232. supplicant_interface_proxy_interface.h
  233. supplicant_process_proxy.cc
  234. supplicant_process_proxy.h
  235. supplicant_process_proxy_interface.h
  236. technology.cc
  237. technology.h
  238. testrunner.cc
  239. wifi.cc
  240. wifi.h
  241. wifi_endpoint.cc
  242. wifi_endpoint.h
  243. wifi_endpoint_unittest.cc
  244. wifi_service.cc
  245. wifi_service.h
  246. wifi_service_unittest.cc
  247. wifi_unittest.cc
  248. wpa_supplicant.cc
  249. wpa_supplicant.h