iwd/src
Andrew Zaborowski 97913c6f9a network: Refactor and move Known Networks management
Until now network.c managed the list of network_info structs including
for known networks and networks that are seen in at least one device's
scan results, with the is_known flag to distinguish known networks.
Each time the list was processed though the code was either interested
in one subset of networks or the other.  Split the list into a Known
Networks list and the list of other networks seen in scans.  Move all
code related to Known Networks to knownnetworks.c, this simplifies
network.h.  It also gets rid of network_info_get_known which actually
returned the list of all network_infos (not just for known networks),
which logically should have been private to network.c.  Update device.c
and scan.c to use functions specific to Known Networks instead of
filtering the lists by the is_known flag.

This will also allow knownnetworks.c to export DBus objects and/or
properties for the Known Networks information because it now knows when
Known Networks are added, removed or modified by IWD.
2018-07-25 09:40:14 -05:00
..
adhoc.c device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
adhoc.h device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
agent.c agent: Add new request types 2018-04-19 11:49:41 -05:00
agent.h agent: Add new request types 2018-04-19 11:49:41 -05:00
ap.c ap: Remove unused psk field 2018-07-23 11:46:15 -05:00
ap.h device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
backtrace.c build: check for existence of execinfo.h 2018-05-17 17:42:28 -05:00
backtrace.h backtrace: Try to find absolute executable path 2017-03-16 15:17:41 -05:00
common.c wsc: Rework wsc_init & wsc_exit 2018-07-17 19:19:09 -05:00
common.h scan: Move scan_get_security to common.c 2018-05-24 19:22:16 -05:00
crypto.c crypto: Use l_pkcs5_pbkdf2 in place of local pbkdf2_sha1 2017-10-09 14:34:31 -05:00
crypto.h ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
dbus.c dbus: Add dbus_error_from_errno 2018-07-02 12:24:33 -05:00
dbus.h dbus: added Ad-Hoc dbus interface 2018-07-17 10:53:08 -05:00
device.c network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
device.h device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
eap-aka.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-gtc.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-md5.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-mschapv2.c eap-mschapv2: Fix uninitialized use of memory 2018-06-15 07:55:41 -05:00
eap-mschapv2.h eap-mschap: Add crypto functions for mschapv2 2016-12-14 22:46:18 -06:00
eap-peap.c eap-peap: add warning for the missing M flag 2018-07-02 20:28:08 -05:00
eap-private.h eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-pwd.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-sim.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-tls.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-ttls.c eap-ttls: Rename eap to phase2_eap for clarity 2018-06-20 13:55:15 -05:00
eap-wsc.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-wsc.h eap-wsc: Send credential obtained events 2016-09-13 13:32:47 -05:00
eap.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap.h eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eapol.c eapol: Fix memory allocation issues 2018-07-16 10:51:13 -05:00
eapol.h netdev/eapol: removed eapol deauthenticate 2018-06-27 16:17:14 -05:00
ecc.c ecc: added byte conversion functions 2018-05-04 19:33:55 -05:00
ecc.h ecc: added byte conversion functions 2018-05-04 19:33:55 -05:00
ftutil.c netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
ftutil.h netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
genbuiltin make: plugin system for build 2017-11-28 13:20:33 -06:00
handshake.c handshake: remove handshake related netdev events 2018-06-22 14:21:50 -05:00
handshake.h netdev: fixed key setting failure 2018-07-03 16:45:25 -05:00
ie.c ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
ie.h ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
iwd-dbus.conf dbus: Add hwsim interface to DBus policy file 2017-03-09 11:45:41 -06:00
iwd.h wsc: Rework wsc_init & wsc_exit 2018-07-17 19:19:09 -05:00
iwd.service.in iwd.service: Use multi-user target 2018-05-22 11:28:02 -05:00
knownnetworks.c network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
knownnetworks.h network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
main.c wsc: Rework wsc_init & wsc_exit 2018-07-17 19:19:09 -05:00
mpdu.c mpdu: Refactor Authentication frame validation 2017-09-22 12:18:06 -05:00
mpdu.h mpdu: Refactor Authentication frame validation 2017-09-22 12:18:06 -05:00
netdev.c ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
netdev.h netdev: add join_adhoc/leave_adhoc API's 2018-07-17 16:25:33 -05:00
network.c network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
network.h network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
plugin.c plugins: module to load ell plugins 2017-11-28 13:30:06 -06:00
plugin.h plugins: module to load ell plugins 2017-11-28 13:30:06 -06:00
rfkill.c rfkill: Fix wiphy ID lookup 2016-07-20 15:29:39 -05:00
rfkill.h Add rfkill enable/disable and watch support 2016-07-07 13:21:08 -05:00
scan.c network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
scan.h scan: add ssid parameter 2018-06-29 13:48:09 -05:00
simauth.c main: Simplify sim_auth_init 2018-07-17 19:12:48 -05:00
simauth.h main: Simplify sim_auth_init 2018-07-17 19:12:48 -05:00
simutil.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
simutil.h eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
storage.c storage: Simplify storage_network_open 2018-06-14 20:53:39 -05:00
storage.h storage: Return const char * 2016-06-10 09:59:59 -05:00
util.c util: Add util_ssid_is_hidden 2018-06-28 11:37:06 -05:00
util.h util: Add util_ssid_is_hidden 2018-06-28 11:37:06 -05:00
watchlist.c watchlist: Fix memory leak 2017-10-18 19:29:24 -05:00
watchlist.h watchlist: added macro for notifying with no args 2017-11-16 14:10:47 -06:00
wiphy.c wiphy: Rename get_ext_feature API 2018-05-24 15:24:16 -05:00
wiphy.h wiphy: Rename get_ext_feature API 2018-05-24 15:24:16 -05:00
wsc.c wsc: Rework wsc_init & wsc_exit 2018-07-17 19:19:09 -05:00
wscutil.c wscutil: Fix invalid type conversion 2017-08-30 16:58:14 -05:00
wscutil.h wscutil: Add wsc_pin_generate 2017-02-17 12:27:13 -06:00