Commit Graph

8762 Commits

Author SHA1 Message Date
Dan Williams
b5f3aa7120 libnm-glib: pass NMClient as first callback argument to activation callbacks
Better matches glib style.
2011-01-13 13:03:02 -06:00
Dan Williams
2d9cd80c87 wifi: use less memory converting SSID
nm_utils_ssid_to_utf8() handles null termination for us, so no
need to copy the SSID to a buffer first.
2011-01-13 12:42:52 -06:00
Dan Williams
b38f39cfc6 core: build keyfile plugin into NetworkManager
Since settings storage is now handled by NetworkManager, we must
have the ability to read/write all connection types at all times.
Since the 'keyfile' plugin is the only plugin that can handle all
connection types, build it into NetworkManager.
2011-01-12 18:12:23 -06:00
Dan Williams
8259b35ee5 wimax: add connection completion function 2011-01-12 17:46:43 -06:00
Dan Williams
2b65dcdf92 libnm-util: WiMAX setting requires a non-zero-length NSP name 2011-01-12 15:54:56 -06:00
Dan Williams
f9ceafd4a1 Merge remote branch 'origin/master' into rm-userset 2011-01-12 15:46:37 -06:00
Dan Williams
7de13fa58d libnm-glib: fix library builds
Duh, don't specify noinst_LTLIBRARIES twice...
2011-01-12 13:24:22 -06:00
Dan Williams
c1ee4fce68 tests: add some comments to the wifi connection completion tests 2011-01-12 13:20:37 -06:00
Jiří Klimeš
5a35862a1d man: fix formatting of NetworkManager page 2011-01-12 16:06:18 +01:00
Dan Williams
063859ba66 libnm-glib: add nm_client_add_and_activate_connection() 2011-01-12 00:39:34 -06:00
Dan Williams
3a160af5ab wifi: add RSN connection completion tests 2011-01-12 00:25:07 -06:00
Dan Williams
f7a8d53ac4 wifi: ensure shared auth is rejected for WPA APs when completing connections 2011-01-12 00:24:41 -06:00
Dan Williams
54c58bcf1f wifi: add more AP connection completion tests for EAP 2011-01-12 00:11:29 -06:00
Dan Williams
c4c02758e1 wifi: add more AP connection completion tests 2011-01-11 22:40:18 -06:00
Dan Williams
aa88058a5e wifi: simplify AP connection completion testcase
Make it clearer exactly what settings are added to the source
connection, and what to the expected one.
2011-01-11 21:52:12 -06:00
Robby Workman
2b9392950e slackware: add short sleep to initscript during service restart
The restart() function almost never works here - perhaps some part
of NM takes a bit too long to stop() and then blocks the start()
operation - but "sleep 2" between them makes everything fine.
2011-01-11 13:48:48 -06:00
Robby Workman
1d56981c8b slackware: remove HAL requirement from initscript 2011-01-11 13:48:06 -06:00
Mu Qiao
aaa54c65a8 ifnet: fix memory leak; handle file format changes 2011-01-11 12:33:37 -06:00
Radek Vykydal
b46cf443c0 ifcfg-rh: respect GATEWAYDEV for ibft/iSCSI configs too (rh #665027) 2011-01-11 09:54:29 -06:00
Dan Williams
215306f5a1 core: add AddAndActivate D-Bus method
Given connection details, complete the connection as well as possible
using the given specific object and device, add it to system
settings, and activate it all in one method.
2011-01-10 23:39:12 -06:00
Daniel Nylander
d350513d4b po: updated Swedish translation (bgo #638260) 2011-01-10 15:29:48 +01:00
Anders Jenbo
e33c09a942 po: updated Danish translation (bgo #638494) 2011-01-10 15:12:55 +01:00
Dan Williams
bf98469b8d include: fix BT capability docs 2011-01-09 02:00:51 -06:00
Dan Williams
694571a5c6 libnm-util: add defines for wifi modes 2011-01-09 02:00:29 -06:00
Dan Williams
5f1a102b11 build: require Intel WiMAX SDK v1.5.1 or greater for WiMAX support 2011-01-06 17:17:18 -06:00
Dan Williams
f08d892bda trivial: fix autoconf warning 2011-01-06 17:17:10 -06:00
Dan Williams
fa0fde8cbd release: bump version to 0.8.991 for WiMAX support 2011-01-06 17:13:38 -06:00
Dan Williams
93486fc42e cli: add support for WiMAX devices and connections 2011-01-06 17:01:55 -06:00
Dan Williams
9d24269e30 wimax: add Center Frequency, RSSI, CINR, TX Power, and BSID properties
Useful diagnostic/support info when device is connected.
2011-01-06 15:18:19 -06:00
Dan Williams
263c05118b build: ensure WiMAX bits are linked before system settings
System settings still links to libnm-glib, which also contains
an NMDeviceWimax class.  We don't care about the libnm-glib
class, so link the wimax bits first to ensure they are the ones
used.

This issue will go away when user settings is removed in the
near future.
2011-01-06 14:22:17 -06:00
Dan Williams
430151d6c2 build: make WiMAX support optional 2011-01-05 18:23:08 -06:00
Dan Williams
6971dcd34e wimax: logging cleanup 2011-01-05 17:54:05 -06:00
Dan Williams
6ab1f4f420 wimax: only update NSP properties if they've changed 2011-01-05 17:39:14 -06:00
Dan Williams
13794bfeb6 wimax: poll connected network signal strength 2011-01-05 16:57:56 -06:00
Dan Williams
f87e2251d7 wimax: turn off wimaxd's fast reconnect logic
It eventually gets confusing for everyone.  NM is the policy, so
handle reconnect there.
2011-01-05 16:34:51 -06:00
Dan Williams
89095e9fa7 wimax: fix debug log format string 2011-01-05 16:30:58 -06:00
Dan Williams
5cbe6da10e wimax: release and renew DHCP lease when requested by wimaxd 2011-01-05 16:23:22 -06:00
Dan Williams
9917da2c71 dhcp: add DHCP lease release capability 2011-01-05 16:23:00 -06:00
Dan Williams
6ae91e2f67 wimax: if the device is connected at startup, force it to disconnect
Otherwise it doesn't auto-scan and we get no network list.  As a later
optimization, we could detect this, call iwmx_sdk_get_connected_network()
to get the current NSP, match that up with a connection, and "assume"
the connection like we do for Ethernet devices.
2011-01-05 15:39:07 -06:00
Dan Williams
71adbcbb20 Revert "wimax: if the device is connected at startup, force it to disconnect"
This reverts commit 9c99066d6c.

Yay for finger-memory of git commit -a...
2011-01-05 15:38:03 -06:00
Dan Williams
9c99066d6c wimax: if the device is connected at startup, force it to disconnect
Otherwise it doesn't auto-scan and we get no network list.  As a later
optimization, we could detect this, call iwmx_sdk_get_connected_network()
to get the current NSP, match that up with a connection, and "assume"
the connection like we do for Ethernet devices.
2011-01-05 15:30:59 -06:00
Dan Williams
a9918eefac wimax: protect device add/remove with a mutex
Sometimes the add/remove code will get re-entered by the SDK because
the SDK is stupid.  Lock the code to ensure we don't double-detect
the same device.
2011-01-05 15:27:48 -06:00
Dan Williams
bee33b9a26 wimax: notify listeners of new wimax devices
If wimaxd gets started after NetworkManager, we need to notify
NetworkManager that the daemon has found and set up any wimax
interface it finds.  Most of the code for this was there but
not previously hooked up.
2011-01-05 15:13:04 -06:00
Dan Williams
1ec327130a core: factor out DHCPv4 setup 2011-01-05 14:07:32 -06:00
Dan Williams
e598b18656 wimax: add link timeout 2011-01-05 14:06:48 -06:00
Dan Williams
d1c7f3d992 wimax: handle media status change events
Which we need to use for DHCP renew.
2011-01-05 09:59:08 -06:00
Dan Williams
31a0dfa533 wimax: reduce connect timeout a bit 2011-01-04 18:51:51 -06:00
Dan Williams
568f11ee54 wimax: fix disconnect conditions
Only fail an activated device if it's actually activated, and
only fail an activating device if the timeout triggers or if
the connect callback indicates failure, not based on device state.
2011-01-04 18:50:48 -06:00
Dan Williams
597c2aeb80 wimax: fix a few SDK return value checks 2011-01-04 18:50:25 -06:00
Dan Williams
30721f8aa7 wimax: set initial device status 2011-01-04 18:26:52 -06:00