3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 02:32:52 +01:00
Commit Graph

2399 Commits

Author SHA1 Message Date
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
Denis Kenzior
3563c65111 netdev: Don't track NEWLINK & DELLINK
The plan is to use the much more reliable NEW_WIPHY, DEL_WIPHY,
NEW_INTERFACE, DEL_INTERFACE events.
2016-06-01 13:07:04 -05:00
Denis Kenzior
0b0fd5639f wiphy: Parse NEW_WIPHY and DEL_WIPHY events 2016-06-01 13:07:04 -05:00
Denis Kenzior
e48ca5a5a6 wiphy: Rename netdev to device 2016-06-01 13:06:59 -05:00
Denis Kenzior
af9ca22360 wiphy: Remove extraneous return 2016-05-31 11:29:48 -05:00
Andrew Zaborowski
1ba2630216 networks: Simplify parameters
for network_seen and network_connected

Only accept a struct network pointer instead of separately the ssid and
security type.  This is needed so we can do some more simplification in
the next patch by having access to the network struct.
2016-05-30 21:46:45 -05:00
Andrew Zaborowski
9fbdba0957 network: Add "const" to the getter argument types 2016-05-30 21:46:08 -05:00
Andrew Zaborowski
2e4848673a network: Check for duplicates in network_seen
It looks like with multiple netdev seeing the same networks we'd create
multiple network_info structures for each network.  Since the
"networks" list (of network_info structs) is global that's probbaly not
the intention here.
2016-05-30 21:45:52 -05:00