NetworkManager/src/devices/wifi
Andrew Zaborowski a6f13d3c69 wifi/iwd: add AP mode support
Handle AP mode connections by setting the Mode property on IWD's Device
interface to "ap" (which will make the Station interface go away, the
Powered property -- normally controlled by set_enabled -- to switch to
FALSE and back to TRUE, and then the AccessPoint interface to appear)
and then calling the AccessPoint.Start method.  This is all done in the
CONFIG phase in NM.  We also attempt to always set Mode back to
"station" and wait for the Station interface to reappear before going to
the NM DISCONNECTED state.  All this complicates the code a little.

While making the necessary changes simplify a lot of the checks which
are implied by other things we've checked already, for example
priv->can_scan and priv->can_connect can now only be TRUE when device is
powered up and in station mode (Station interface is present) so we can
skip other checks.  Also assume that check_connection_compatible has
been called before other methods are called so we can skip multiple
connection mode checks and checks that a IWD KnownNetwork exsists for
EAP connections.

act_stage1_prepare and act_stage2_config now borrow more code from
nm-device-wifi.c because both backend now handle multiple modes.
2018-10-11 16:07:15 +02:00
..
tests wifi: don't use GBytesArray for NMWifiAP's ssid 2018-08-22 10:49:34 +02:00
meson.build meson: run the check-export.sh in test phase 2018-06-28 20:38:52 +02:00
nm-device-iwd.c wifi/iwd: add AP mode support 2018-10-11 16:07:15 +02:00
nm-device-iwd.h wifi: skip nm_platform_wifi_get_capabilities/get_mode for IWD backend 2018-10-11 16:07:15 +02:00
nm-device-olpc-mesh.c devices/olpc: correct the signal handler arguments 2018-10-09 20:07:02 +02:00
nm-device-olpc-mesh.h build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
nm-device-wifi.c device: always cancel WPS when secret-request fails 2018-10-03 17:25:28 +02:00
nm-device-wifi.h wifi: expose the LastScan property 2018-06-13 14:44:06 +02:00
nm-iwd-manager.c wifi/iwd: don't save secrets in mirror NM connections 2018-09-19 08:37:52 +02:00
nm-iwd-manager.h wifi/iwd: access Network objects through ObjectManager 2018-09-19 08:37:52 +02:00
nm-wifi-ap.c all: use nm_utils_gbytes_equal_mem() 2018-08-30 11:17:09 +02:00
nm-wifi-ap.h wifi: refactor nm_wifi_ap_set_ssid() to accept GBytes 2018-08-22 10:49:34 +02:00
nm-wifi-common.c core: fix wireless bitrate property name on D-Bus 2018-09-07 09:40:09 +02:00
nm-wifi-common.h wifi: rework tracking of wifi-aps to use CList 2018-03-27 09:58:00 +02:00
nm-wifi-factory.c wifi: skip nm_platform_wifi_get_capabilities/get_mode for IWD backend 2018-10-11 16:07:15 +02:00
nm-wifi-utils.c wifi/iwd: various minor cleanups in nm-iwd-manager.c 2018-09-05 15:24:04 +02:00
nm-wifi-utils.h wifi: Move get_connection_iwd_security to nm-wifi-utils.c 2018-09-05 15:24:04 +02:00