Commit Graph

1206 Commits

Author SHA1 Message Date
Andrew Zaborowski 3fa9a21a39 network: Add network_disconnected
Let network handle anything that needs to be done on a disconnection,
this way keep the settings opening and closing logic in network.c.
2016-06-09 14:13:58 -05:00
Denis Kenzior b3abd2f7ca test-runner: add debug info for cmd being executed 2016-06-09 09:56:40 -05:00
Denis Kenzior d9848730ed test-runner: Update to the new l_main API 2016-06-09 09:56:40 -05:00
Denis Kenzior 454f7d7867 iwd: Update to the new l_main api 2016-06-09 09:56:40 -05:00
Denis Kenzior 87296b4aab hwsim: Update to new l_main api 2016-06-09 09:56:37 -05:00
Denis Kenzior 6de565db05 monitor: Update to new l_main api 2016-06-09 09:39:03 -05:00
Denis Kenzior ee00ac6541 client: Update to new l_main api 2016-06-08 17:39:35 -05:00
Andrew Zaborowski ab15413294 storage: Add storage_network_remove 2016-06-08 11:33:57 -05:00
Andrew Zaborowski 8be78588e2 common: Add security_from_str
The reverse operation of security_to_str.
2016-06-08 11:08:10 -05:00
Andrew Zaborowski 0cb233cdde agent: Drop unused declaration 2016-06-08 11:06:28 -05:00
Andrew Zaborowski 2285ad24ab network: Create a settings file on connection
Make sure networks of all 4 security types have a settings file created
or updated with a new modification time on a successful connect so that
autoconnect and network sorting works for networks other than PSK too.

By doing this on storage_network_touch failure we make sure we don't
overwrite anything dropped into the settings directory while we were
connecting.
2016-06-08 11:03:53 -05:00
Andrew Zaborowski 33d2ae60e9 network: Use security_to_str instead of switch(security)
Convert switch (network->security) statements to security_to_str to be
consistent across network.c in how the settings file name ending is
obtained.
2016-06-08 11:01:35 -05:00
Denis Kenzior b2bcf97373 scan: Remove unused scan_bss_address_to_string 2016-06-06 18:25:12 -05:00
Denis Kenzior c96d43a6da wiphy: Use util_address_to_string 2016-06-06 18:25:00 -05:00
Denis Kenzior 22e1c2f592 wsc: Use util_address_to_string 2016-06-06 18:24:49 -05:00
Denis Kenzior 64c388fe76 wiphy: Fix crash in device address property getter
Address is being returned as a string, even though it is actually an
array of 6 uint8_t elements
2016-06-06 18:23:53 -05:00
Denis Kenzior 92c943998f util: Add util_address_to_string 2016-06-06 18:23:17 -05:00
Tim Kourt 9f3711954b doc: Correct kernel build instructions 2016-06-06 12:15:32 -05:00
Tim Kourt 5ac9a20e4f tools: Add test_runner_kernel_config 2016-06-06 12:15:05 -05:00
Tim Kourt 9c8595c43f autotests: Replace strings with constants 2016-06-06 12:14:10 -05:00
Tim Kourt 2b1e820062 autotests: Replace strings with constants 2016-06-06 12:13:40 -05:00
Tim Kourt 16839f2ca0 autotests: Replace strings with constants 2016-06-06 12:13:38 -05:00
Tim Kourt c2751ad6a2 autotests: Replace strings with constants 2016-06-06 12:13:20 -05:00
Tim Kourt 10be3c27b9 t-runner: Search for iwd in both /src and $PATH 2016-06-06 12:08:56 -05:00
Denis Kenzior dcfbc74326 wiphy: Remove addr from device struct 2016-06-06 12:05:24 -05:00
Denis Kenzior cedb980f92 wiphy: Remove name from device struct 2016-06-06 12:05:20 -05:00
Denis Kenzior d6c6e4acda netdev: Move netdev enumeration to netdev.c 2016-06-06 12:03:23 -05:00
Denis Kenzior 833ed20b9a netdev: Add netdev_get_name 2016-06-03 09:53:47 -05:00
Denis Kenzior 1573bf7d99 netdev: Add netdev_get_iftype 2016-06-03 09:53:47 -05:00
Denis Kenzior 1bd7baf44b netdev: Add netdev_find 2016-06-03 09:53:46 -05:00
Denis Kenzior 8e7829e1ab netdev: Add netdev_get_address 2016-06-03 09:53:46 -05:00
Denis Kenzior 7a3f823d26 netdev: Add netdev_get_ifindex 2016-06-03 09:53:46 -05:00
Denis Kenzior 7c359ee2c2 netdev: Add netdev struct definition 2016-06-03 09:53:46 -05:00
Denis Kenzior 8113f4c64e wiphy: Add wiphy_find 2016-06-03 09:53:46 -05:00
Denis Kenzior 61b50cf81f netdev: Parse NEW_INTERFACE and DEL_INTERFACE 2016-06-03 09:53:46 -05:00
Denis Kenzior e5821f6ade netdev: Remove unneeded comment 2016-06-03 09:53:46 -05:00
Denis Kenzior 280f2d40ad netdev: Make netdev_init accept nl80211 2016-06-03 09:53:46 -05:00
Denis Kenzior 411af28489 t-runner: Add command line option for debug output 2016-06-03 09:48:58 -05:00
Denis Kenzior 8da12f2457 doc: Add proposed KnownNetworks API 2016-06-03 09:48:53 -05:00
Tim Kourt bc22e66df5 t-runner: Remove debug statements 2016-06-03 09:42:51 -05:00
Tim Kourt 6b5963f43b doc: Notes for test-runner usage 2016-06-03 09:41:33 -05:00
Rahul Rahul 8312f38231 autotests: removed simpleAgent from test2AP 2016-06-01 14:39:38 -05:00
Rahul Rahul 51b10d580d autotests: removed simpleAgent form test1AP 2016-06-01 14:39:38 -05:00
Rahul Rahul 2e4d520dbb autotests: moved simpleAgent to utility dir 2016-06-01 14:39:38 -05:00
Rahul Rahul 39b9f26e44 autotests: fixed utility after objectManager changes 2016-06-01 14:39:38 -05:00
Rahul Rahul 2b781d544d autotests: fixed twoNetworks after objectManager changes 2016-06-01 14:39:38 -05:00
Rahul Rahul 0976f3cee4 autotests: fixed scanNetwork after objectManager changes 2016-06-01 14:39:38 -05:00
Rahul Rahul 149eff1c71 autotests: fixed connectDisconnect after objectManager changes 2016-06-01 14:39:38 -05:00
Rahul Rahul 3c68c358d8 autotests: fixed scanNetworkWithoutAP after objectManager changes 2016-06-01 14:39:38 -05:00
Denis Kenzior 7b929181ca wiphy: Remove unused wiphy_notify_dellink 2016-06-01 13:07:04 -05:00