NetworkManager/src
Dan Williams b89990ae2c wifi: detect whether supplicant supports AP mode or not
And return an error when trying to activate an AP mode connection
if the supplicant does not support it.

With wpa_supplicant 1.0 and earlier there is no way to positively detect
whether AP mode is supported, so we simply try to start AP mode
and then fail if it doesn't work.

With more recent versions we can check the Introspection data
(if the supplicant has been built with introspection enabled) or
check the global Capabilities (if the supplicant is recent enough)
for positive indication of AP mode support.
2012-10-17 14:06:51 -05:00
..
bluez-manager build: fix up includes; prefer builddir over srcdir 2012-08-06 17:27:17 -05:00
dhcp-manager core: remove "real_" prefix from method implementation names 2012-10-02 15:43:24 -04:00
dns-manager distro: remove nm_backend_update_dns() 2012-09-25 16:44:11 -05:00
dnsmasq-manager core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
firewall-manager firewall: set interface zone before IP configuration (rh #805405) 2012-03-21 15:10:11 -05:00
generated distro: remove src/backends 2012-09-25 16:44:12 -05:00
ip6-manager ip6: ignore cached/cloned routes when retrieving IPv6 config (lp:1038541) (bgo #671767) 2012-08-30 16:04:13 -05:00
libgsystem core: import libgsystem, use it for local-allocations in main.c (bgo #685440) 2012-10-16 12:08:03 -05:00
logging build: fix build after addition of new warnings 2012-08-01 09:48:03 -04:00
modem-manager modem: reduce "starting the modem manager" to a debug message 2012-10-02 17:02:31 -05:00
posix-signals core: unblock signals for child processes we spawn out of NM (rh #739836) 2012-05-21 15:00:51 +02:00
ppp-manager build: fix up includes; prefer builddir over srcdir 2012-08-06 17:27:17 -05:00
settings settings: update seen-bssids property in 802-11-wireless setting for GetSettings 2012-10-16 15:48:41 +02:00
supplicant-manager wifi: detect whether supplicant supports AP mode or not 2012-10-17 14:06:51 -05:00
tests build: fix build after addition of new warnings 2012-08-01 09:48:03 -04:00
vpn-manager core: VPN autoconnect feature (bgo #560471) (rh #483120) 2012-09-24 10:38:26 +02:00
wifi wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
wimax core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
gdb-cmd 2006-02-26 Dan Williams <dcbw@redhat.com> 2006-02-27 04:31:52 +00:00
main.c core: import libgsystem, use it for local-allocations in main.c (bgo #685440) 2012-10-16 12:08:03 -05:00
Makefile.am core: import libgsystem, use it for local-allocations in main.c (bgo #685440) 2012-10-16 12:08:03 -05:00
NetworkManagerUtils.c all: Don't use ctype.h macros 2012-09-26 12:14:37 -04:00
NetworkManagerUtils.h libnm-util: move nm_utils_is_uuid() here 2012-09-26 12:14:37 -04:00
nm-activation-request.c core: add some helper functions to activation request 2012-09-24 10:38:26 +02:00
nm-activation-request.h core: add some helper functions to activation request 2012-09-24 10:38:26 +02:00
nm-active-connection.c core: add nm_active_connection_get_name() for easy access to connection name 2012-09-24 10:38:18 +02:00
nm-active-connection.h core: add nm_active_connection_get_name() for easy access to connection name 2012-09-24 10:38:18 +02:00
nm-call-store.c core: update logging in misc files 2010-04-07 12:28:57 -07:00
nm-call-store.h 2008-11-02 Dan Williams <dcbw@redhat.com> 2008-11-03 04:13:42 +00:00
nm-config.c config: fix return value in g_return_val_if_fail() - it's unsigned 2012-07-09 16:42:01 +02:00
nm-config.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-connection-provider.c core: move connection provider interface to src/ 2012-05-17 13:21:47 -05:00
nm-connection-provider.h core: move connection provider interface to src/ 2012-05-17 13:21:47 -05:00
nm-connectivity.c core: additional connectivity checking debug messages 2012-02-27 10:56:51 -06:00
nm-connectivity.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-crash-logger.c logger: ensure external crash logger buffer is terminated 2011-10-20 13:47:28 -05:00
nm-dbus-manager.c core: use #defines for NMDBusManager signal names 2010-12-10 11:36:55 -06:00
nm-dbus-manager.h build: do the right thing with config.h (bgo #644664) 2011-03-14 01:01:22 -05:00
nm-device-adsl.c core: remove "real_" prefix from method implementation names 2012-10-02 15:43:24 -04:00
nm-device-adsl.h docs: fix a few documentation errors 2012-06-29 11:49:51 +02:00
nm-device-bond.c core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
nm-device-bond.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-bt.c core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
nm-device-bt.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-ethernet.c core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
nm-device-ethernet.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-factory.h core: add device factory infrastructure and make WiMAX a plugin 2011-12-02 13:30:08 -06:00
nm-device-infiniband.c core: remove "real_" prefix from method implementation names 2012-10-02 15:43:24 -04:00
nm-device-infiniband.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-modem.c core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
nm-device-modem.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-olpc-mesh.c core: implement NMDevice::state-changed more idiomatically 2012-10-02 15:46:08 -04:00
nm-device-olpc-mesh.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-private.h wired: ensure carrier changes clear queued state where appropriate 2012-08-30 16:04:13 -05:00
nm-device-vlan.c core: remove "real_" prefix from method implementation names 2012-10-02 15:43:24 -04:00
nm-device-vlan.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-wifi.c wifi: detect whether supplicant supports AP mode or not 2012-10-17 14:06:51 -05:00
nm-device-wifi.h wifi: detect whether supplicant supports AP mode or not 2012-10-17 14:06:51 -05:00
nm-device-wired.c core: remove "real_" prefix from method implementation names 2012-10-02 15:43:24 -04:00
nm-device-wired.h core: const-ify nm_device_wired_get_hwaddr() 2012-02-23 00:03:50 -06:00
nm-device.c device: clear nm_device_state_changed() re-entry check on early exit 2012-10-10 11:03:50 -05:00
nm-device.h core: don't try to create VLANs on devices that don't support them 2012-09-27 13:57:47 -04:00
nm-dhcp4-config.c dispatcher: pass DHCP options as string:string hash 2011-05-11 16:01:12 -05:00
nm-dhcp4-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dhcp6-config.c dispatcher: pass DHCP options as string:string hash 2011-05-11 16:01:12 -05:00
nm-dhcp6-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dispatcher.c core: fix a crash due to GValueArray/GArray freeing mismatch (rh #865009) 2012-10-11 15:41:48 +02:00
nm-dispatcher.h core: add cancelation to dispatcher calls 2012-09-11 17:17:58 -05:00
nm-hostname-provider.c misc: license fixups 2010-01-21 15:11:50 -08:00
nm-hostname-provider.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-ip4-config.c trivial: use the constant for NM_IP*_COMPARE_FLAG_ALL 2012-06-12 10:00:03 -05:00
nm-ip4-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-ip6-config.c ip6: rename defgw to gateway 2012-06-26 23:50:19 -05:00
nm-ip6-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-manager-auth.c core: use nm_connection_get_setting_<type>() whenever possible 2011-12-06 16:06:43 -06:00
nm-manager-auth.h core: add nm_auth_chain_steal_data() 2011-07-01 15:38:38 -05:00
nm-manager.c core: fix suspend/resume signal names which the manager listens for 2012-10-14 10:44:34 -05:00
nm-manager.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-netlink-compat.c core: replace strcpy() with g_strlcpy() 2012-04-26 09:25:58 -04:00
nm-netlink-compat.h vlan: add compatible functions for libnl1 2012-02-24 14:31:41 -06:00
nm-netlink-monitor.c netlink: consolidate netlink monitor error handling and initialization 2011-12-03 17:38:07 -06:00
nm-netlink-monitor.h netlink: consolidate netlink monitor error handling and initialization 2011-12-03 17:38:07 -06:00
nm-netlink-utils.c core: fix ifindex value checks 2012-05-17 13:23:39 -05:00
nm-netlink-utils.h core: #include <netinet/in.h> for struct in6_addr 2012-02-13 17:44:07 -05:00
nm-policy-hostname.c all: Don't use ctype.h macros 2012-09-26 12:14:37 -04:00
nm-policy-hostname.h policy: stop touching /etc/hosts 2010-12-17 09:28:49 -06:00
nm-policy-hosts.c hosts: reduce warnings to debug messages 2012-10-04 14:40:27 -05:00
nm-policy-hosts.h policy: stop touching /etc/hosts 2010-12-17 09:28:49 -06:00
nm-policy.c core: fix routing if gateway not given in the first address 2012-10-11 17:07:21 -05:00
nm-policy.h settings: rename NMSysconfigSettings to NMSettings 2010-10-27 20:05:23 -05:00
nm-properties-changed-signal.c core: add nm-logging.h when compiling with DEBUG 2012-01-17 14:43:03 +01:00
nm-properties-changed-signal.h 2008-11-02 Dan Williams <dcbw@redhat.com> 2008-11-03 04:13:42 +00:00
nm-rfkill.h udev: add support for other types of rfkill switches 2009-12-23 01:30:54 -08:00
nm-session-monitor-ck.c build: easier selection of session tracking 2012-02-01 16:50:44 -06:00
nm-session-monitor-null.c core: fix undefined reference to assert in session-monitor-{systemd, null} 2012-02-09 10:48:20 -06:00
nm-session-monitor-systemd.c core: handle return values from libsystemd-login correctly 2012-08-27 09:55:04 -05:00
nm-session-monitor.h settings: clean up connection visibility and session change handling 2010-10-26 16:33:47 -05:00
nm-session-utils.c Use glib-mkenums to generate enum types 2012-02-15 11:42:15 -05:00
nm-session-utils.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-sleep-monitor-systemd.c core: add a systemd suspend/resume monitor (bgo #677694) 2012-10-13 09:20:00 -05:00
nm-sleep-monitor-upower.c core: DBusGConnections are not GObjects 2012-10-14 10:43:54 -05:00
nm-sleep-monitor.h core: factor out the upower suspend/resume code (bgo #677694) 2012-10-13 09:20:00 -05:00
nm-system.c all: Don't use ctype.h macros 2012-09-26 12:14:37 -04:00
nm-system.h distro: remove src/backends 2012-09-25 16:44:12 -05:00
nm-udev-manager.c rfkill: detect "acpi" subsystem devices as platform devices (bgo #680632) 2012-08-17 15:31:57 -05:00
nm-udev-manager.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-wifi-ap-utils.c wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
nm-wifi-ap-utils.h wifi: fix scanned signal strength calculation for WEXT-based drivers 2011-03-13 12:50:40 -05:00
nm-wifi-ap.c wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
nm-wifi-ap.h wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
org.freedesktop.NetworkManager.conf dbus: remove 'max_replies_per_connection' limit from D-Bus configuration 2012-05-23 10:37:19 +02:00