shill: wifi: Scan for hidden SSIDs

Find all services with the "hidden" property set.  If any exist,
specify the "SSIDs" argument to wpa_supplicant and supply up to
MAX_SSIDS-1 of them as arguments to the scan, as well as the
broadcast SSID.

Side effect -- removed the "services_" vector from the Service
superclass.  I don't think a non-subclassed Service vector makes
any sense to keep around.

BUG=chromium-os:22074
TEST=New Unit Test

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