1. 04 Mar, 2005 1 commit
  2. 21 Jan, 2005 1 commit
    • Dan Williams's avatar
      2005-01-21 Dan Williams <dcbw@redhat.com> · 9e154261
      Dan Williams authored
      	* Cache last-known-good wireless authentication method in
      		NetworkManagerInfo, and use that method first during
      		wireless device activation.  Should speed up devices that
      		need Shared Key authentication method since Open System is
      		now the default.
      
      	* Remove the hack to not do full activation on wired connections
      		that are active when we launch, it causes too many problems
      		with name resolution and was a hack in the first place.
      
      	* Re-work wireless device activation again somewhat to have a
      		clearer chain of events and to use last-known-good
      		authentication method of the access point.  Also provide
      		better status throughout activation to ensure the applet
      		can tell the user exactly what's going on.
      
      	* Remove the "find wireless network" code and now simply attempt
      		to activate with that access point.  This reduces the delay
      		between selecting "Other wireless Network" and actually
      		connecting to that network.
      
      	* Correctly stop the device's worker thread when its removed.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@388 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      9e154261
  3. 18 Jan, 2005 1 commit
    • Dan Williams's avatar
      2005-01-18 Dan Williams <dcbw@redhat.com> · c9b41bb4
      Dan Williams authored
      	* dhcpcd/client.c
      		- Remove some debug messages
      		- Wrap others in #ifdef DEBUG/#endif
      
      	* src/NetworkManager.c
      		- Remove some debug messages
      		- Clarify some debug messages
      		- Remove code related to old single-thread wireless scanning
      
      	* src/NetworkManagerAP.[ch]
      		- New AP property "last_seen" to track how recently an AP was
      			found in a scan
      		- Start using 'const' more in function arguments
      
      	* src/NetworkManagerAPList.[ch]
      		- (nm_ap_list_merge_scanned_ap): new, selectively update attributes
      			of an AP found in an AP list from a source AP, or if not found
      			in the list add the source AP
      		- (nm_ap_list_combine): remove, no longer needed
      
      	* src/NetworkManagerDevice.c
      		- Each device now has a "worker" thread from start to end of its life.
      			Scanning for wireless devices now happens in that thread,
      			not in a single "wireless scanning thread" for all devices as
      			previously.  Activation consists of adding an idle handler to the
      			thread's main loop/context, which gets run at the next available
      			opportunity.
      		- Wireless scanning is also simplified, there is now only one list of
      			access points per wireless device, and APs older than 60s are
      			removed from the list.  Previously, we kept results for the last
      			3 scans and merged whole lists, which was complicated.
      		- Cleaned up activation debug messages.
      		- Wireless activation and access-point search routines now use Open System
      			authentication before trying Shared Key.
      		- Removed some code in nm_device_update_best_ap() that could cause cards
      			to loose their link to the access point.
      		- Scanning now uses a backoff algorithm, where the inverval becomes
      			progressively longer between scans when the list of scanned access
      			points doesn't change.  A change will revert to the shortest scan
      			interval (20s).
      
      	* src/NetworkManagerWireless.[ch]
      		- Remove code related to old single-thread wireless scanning
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@382 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c9b41bb4
  4. 17 Dec, 2004 1 commit
    • Dan Williams's avatar
      2004-12-17 Dan Williams <dcbw@redhat.com> · e96c5c29
      Dan Williams authored
      	* Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
      		link-local addresses instead of doing DHCP.
      
      	* In the panel applet, there's a new "Create new Wireless Network..." item
      
      	* The panel applet also sticks around now even if NetworkManager dies, but
      		it doesn't hide its icon when NM isn't around.  Not hiding the icon is
      		a bug, I'll fix that later.
      
      	* We also don't use 'nscd' anymore in the RH backend, it was impeding name
      		lookups after a switch rather than actually doing them.
      
      	* Clean up some of those warnings in nm_ap_list_* functions
      
      	* Delay between scans changed to 15s instead of 10s
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@342 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      e96c5c29
  5. 16 Dec, 2004 1 commit
    • Dan Williams's avatar
      2004-12-15 Dan Williams <dcbw@redhat.com> · cd475e6d
      Dan Williams authored
      	Patch from Tom Parker
      	* Add autoip/Link Local Addressing support when we fail to get a DHCP
      		address
      
      	* Longer pause after setting ESSID on cards that support a larger number
      		of channels to give the card time to find the right channel
      
      	* Add system hook to restart mDNSResponder (or whatever the local implementation
      		of Multicast DNS is) when we activate interfaces
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@341 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      cd475e6d
  6. 17 Nov, 2004 1 commit
    • Dan Williams's avatar
      2004-11-17 Dan Williams <dcbw@redhat.com> · 498d3f87
      Dan Williams authored
      	* Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
      		connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
      		points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
      		show known access points that don't broadcast their ESSID in the menus without
      		any user intervention whatsoever.
      
      	* info-daemon/NetworkManagerInfoDbus.c
      		- (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
      			for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
      
      	* src/NetworkManagerAP.[ch]
      		- Add a "user_addresses" data member to the NMAccessPoint structure
      		- (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
      			the user_addresses data member
      
      	* src/NetworkManagerAPList.c
      		- (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
      			the AP's reported address
      		- (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
      
      	* src/NetworkManagerDHCP.c
      		- Increase DHCP timeout from 25s -> 30s
      
      	* src/NetworkManagerDbus.[ch]
      		- (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
      			user addresses
      
      	* src/NetworkManagerDevice.c
      		- (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
      			wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
      			"mgnt tx queue full", seemingly in response to NM controlling the card too much.
      			So, we take the card down to clear it out.
      		- (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
      			too, since that's where the user_addresses are
      
      	* src/NetworkManagerPolicy.c
      		- (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
      			that wireless networks' user_addresses list upon successful activation
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@319 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      498d3f87
  7. 02 Nov, 2004 1 commit
  8. 21 Oct, 2004 1 commit
    • Dan Williams's avatar
      2004-10-21 Dan Williams <dcbw@redhat.com> · faae8945
      Dan Williams authored
      	* NetworkManager.h
      		- New file, now contains commonly used structures and bits
      			for the dbus API of NetworkManager
      
      	* Makefile.am
      		- Deliver NetworkManager.h to ${includedir}/NetworkManager
      
      	* src/NetworkManager.h
      		- Rename -> src/NetworkManagerMain.c
      
      	* Various fixups all around to use NetworkManager.h and new
      		src/NetworkManagerMain.h, remove redundant bits that got
      		moved into NetworkManager.h
      
      	* src/NetworkManagerDevice.[ch]
      	  src/NetworkManagerUtils.[ch]
      	  src/NetworkManagerPolicy.c
      	  src/NetworkManagerDbus.c
      		- Whitelist wireless drivers, and blacklist some wired
      			drivers.  Also blacklist cipsec and ethernet-over-usb
      			devices at this time (RH #135722, RH #135648)
      		- Don't leak unsupported devices out over dbus, or allow
      			them to be set as the active device.  Skip over them
      			during automatic device picking
      
      	* test/nmclienttest.c
      		- Clean up the dbus code a lot
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@261 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      faae8945
  9. 15 Oct, 2004 1 commit
    • Dan Williams's avatar
      2004-10-15 Dan Williams <dcbw@redhat.com> · b6a637ed
      Dan Williams authored
      	* src/NetworkManagerAP.[ch]
      		- Add "artificial" get/set functions, set for APs that
      			aren't discovered as part of a scan but instead
      			discovered by force-setting the ESSID
      
      	* src/NetworkManagerDevice.[ch]
      		- (nm_device_wireless_network_exists): pass back whether
      			or not the discovered AP was encrypted.  Also, try
      			falling back to encrypted mode on the card if unencrypted
      			association doesn't work
      		- (nm_device_find_and_use_essid): If the network requested
      			did in fact exists, but it wasn't in our scan list, add
      			an "artificial" entry for it.  Some Cisco cards don't
      			see non-ESSID-broadcasting APs in their scan but can still
      			associate with them if you know the ESSID, this works around
      			that behavior
      		- (nm_device_do_normal_scan): Carry "artificial" APs over from scan
      			to scan if the card is currently associated with that AP
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@244 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      b6a637ed
  10. 11 Oct, 2004 1 commit
    • Dan Williams's avatar
      2004-10-11 Dan Williams <dcbw@redhat.com> · 6b4bfea2
      Dan Williams authored
      	* src/NetworkManagerAP.c
      		- (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
      			enough RAM to allocate new AP structures, but return NULL instead
      
      	* src/NetworkManagerAPList.[ch]
      		- (nm_ap_list_is_empty): new function
      		- (nm_ap_list_combine): new function, combine two access point lists
      		- (nm_ap_list_copy_keys): new function, copy keys from one list
      			into another
      
      	* src/NetworkManagerDevice.[ch]
      		- Rename some functions to be clearer:
      			nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
      			nm_device_just_activated     -> nm_device_is_just_activated
      			nm_device_activating         -> nm_device_is_activating
      			nm_device_now_scanning       -> nm_device_is_scanning
      		- Cache the last 4 scans so that the access point list is more stable.
      			We combine the lastest two scans and use that as the AP list,
      			and diff that combined list against the combination of the earliest
      			two cached scans for the WirelessNetworkAppeared/Dissappeared signals
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@210 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      6b4bfea2
  11. 08 Oct, 2004 1 commit
    • Dan Williams's avatar
      2004-10-08 Dan Williams <dcbw@redhat.com> · f39b3344
      Dan Williams authored
      	* info-daemon/NetworkManagerInfo.[ch]
      	  info-dameon/NetworkManagerInfoDbus.[ch]
      	  info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
      		- Preserve original label text in the passphrase dialog so that
      			it actually gets updated with the new network name the next
      			time around.  Previously, we were overwriting it so you'd get
      			the wrong network name to enter a key for
      		- Add a "Key Type" combo to the passphrase dialog, user selects
      			encryption key type now, type is stored in GConf too
      		- Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
      
      	* src/NetworkManagerAP.[ch]
      		- Remove all the encyption method magic.  It's now set by the user
      			and NetworkManager retrieves the type of encryption key from
      			NetworkManagerInfo
      
      	* src/NetworkManagerAPList.[ch]
      	  src/NetworkManagerDbus.[ch]
      		- Adjust to new way of setting encryption key and method
      		- Pull encryption method down from NMI along with key
      
      	* src/NetworkManagerDevice.[ch]
      		- Removed encryption method fallback magic as the method is now
      			determined by the user.  This greatly simplifies the connection
      			logic.
      		- More robust connection/link logic.  Besides removing the encryption
      			method fallback magic, check whether or not the card is receiving
      			invalidly encrypted packets, which usually indicates that we have
      			a bad WEP key set.
      		- Don't blindly forge ahead when DHCP fails (still not completely fixed)
      
      	* test/nminfotest.c
      		- Test out new "Key Type" stuff in the NMI passphrase dialog
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@195 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      f39b3344
  12. 13 Sep, 2004 1 commit
    • Dan Williams's avatar
      2004-09-13 Dan Williams <dcbw@redhat.com> · ee710f03
      Dan Williams authored
      	* TODO: fix typo
      
      	* docs/NetworkManager DBUS API.txt
      		- Update for new signal strength changes
      
      	* panel-applet/NMWirelessApplet.c
      		- Make panel icon show strength of the current connection
      		- Cleanups and memleak fixes
      
      	* panel-applet/NMWirelessApplet.h
      		- Add data members for signal strength on devices and networks
      
      	* panel-applet/NMWirelessAppletDbus.c
      		- Free more DBusErrors
      		- Update for new signal strength changes
      		- Make devices and networks more like real objects, use ref/unref methods
      		- Actually unlock the mutex when updating the active device
      
      	* src/NetworkManagerAP.c
      		- Change AP functions and data members from "quality"->"strength"
      
      	* src/NetworkManagerDbus.c
      		- Kill "getMaxQuality" and "getQuality" methods
      		- Add "getStrength" methods for Networks and Devices
      
      	* src/NetworkManagerDevice.[ch]
      		- Add accessors for device strength
      		- Add functions to update strength for a device.  Note that not all drivers
      			actually support signal strength for scanned access points (Atmel drivers
      			being one)
      		- Calculate signal strength for each AP during scan
      
      	* src/NetworkManagerWireless.[ch]
      		- Add function to return signal strength % from a device and a raw quality struct
      
      	* test/nmclienttest.c
      		- Update for new signal strength changes
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@156 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ee710f03
  13. 08 Sep, 2004 1 commit
    • Dan Williams's avatar
      2004-09-08 Dan Williams <dcbw@redhat.com> · b0d1e68d
      Dan Williams authored
      	* panel-applet/no-networkmanager.png
      	  panel-applet/Makefile.am
      	  panel-applet/NMWirelessApplet.c
      		- Add a "NetworkManager not running" icon and use it
      		- Use new consolidated GConf keys rather than Preferred/Trusted
      
      	* TODO: update
      
      	* info-daemon/NetworkManagerInfo.c
      	  info-daemon/NetworkManagerInfoDbus.[ch]
      	  info-daemon/NetworkManagerInfoPassphraseDialog.c
      		- There are now no longer two separate lists of wireless networks,
      			but one list where each network is "trusted" or not trusted
      		- Add a "getNetworkTrusted" dbus method
      		- "WirelessNetworkUpdate" signal now sent rather than
      			"PreferredNetworkUpdate/TrustedNetworkUpdate" signals
      		- Start freeing some dbus errors (not completed yet)
      
      	* info-daemon/passphrase.glade
      		- Remove the "don't show" hints for pager and taskbar
      		- Add a title since its going to be in the taskbar
      
      	* src/NetworkManager.[ch]
      	  src/NetworkManagerAPList.[ch]
      		- There are now no longer two separate lists of wireless networks,
      			but one list where each network is "trusted" or not trusted
      
      	* src/NetworkManagerAP.[ch]
      		- Add get/set "trusted" accessors and data bit
      
      	* src/NetworkManagerDbus.[ch]
      		- Add function to get "trusted" status of a network from NetworkManagerInfo
      		- Trap new WirelessNetworkUpdate signal rather than old separate signals
      
      	* src/NetworkManagerDevice.[ch]
      		- Add per-device config data (ip4 addr, gateway, netmask) and accessors
      		- (nm_device_new): Get device config from backend when initializing devices
      		- (nm_device_activation_worker): Split out device configuration on
      			activation to deal with static/dynamic IP differences, and try encryption
      			fallbacks on a device if the encryption method for the best AP is not good
      		- (nm_device_update_best_ap): convert to new consolidated access point lists from
      			NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
      
      	* src/NetworkManagerWireless.c
      		- libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
      
      	* src/backends/NetworkManagerRedHat.c
      	  src/backends/NetworkManagerSystem.h
      		- (nm_system_device_update_config_info): Add function to get device configuration
      			from system data in ifcfg-* files
      
      	* src/backends/NetworkManagerDebian.c
      	  src/backends/NetworkManagerGentoo.c
      	  src/backends/NetworkManagerSlackware.c
      		- Add stub functions for getting device configuration
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      b0d1e68d
  14. 29 Aug, 2004 1 commit
    • Colin Walters's avatar
      2004-08-29 Colin Walters <walters@verbum.org> · fbf832d9
      Colin Walters authored
      	* src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
      	a GTimeVal instead of time_t.  This is easier to work with,
      	since time_t may be a long or double, we don't know.
      
      	* src/NetworkManagerDbus.h: Update prototype.
      
      	* src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
      	instead of time_t.
      	(nm_ap_get_timestamp): Update to return GTimeVal.
      	(nm_ap_set_timestamp): Update to take GTimeVal.
      
      	* src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
      	GTimeVal change.
      	(nm_ap_list_print_members): Fix warnings in printf format.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@103 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      fbf832d9
  15. 25 Aug, 2004 1 commit
    • Dan Williams's avatar
      2004-08-24 Dan Williams <dcbw@redhat.com> · 846b7896
      Dan Williams authored
      	* src/NetworkManagerAP.[ch]
      		- Add a "enc_method_good" member and accessors to an Access Point
      			to signal when we've found the correct encryption method
      			for an access point
      		- Add a "timestamp" member and accessors, remove "priority" member
      			and accessors (use timestamps instead)
      		- Rename "wep_key"->"enc_key"
      		- (nm_ap_get_enc_key_hashed): new, return the correct mangled key
      			for a specified encryption method using the access points
      			source encryption key/passphrase
      
      	* src/NetworkManagerAPList.c
      		- When updating a network with dbus, grab timestamp now instead of
      			priority
      
      	* src/NetworkManagerDBus.[ch]
      		- Add signal for "DeviceActivating"
      		- Switch priority->timestamp
      
      	* src/NetworkManagerDevice.c
      		- Change references of "wep_key" -> "enc_key" or "key"
      		- Signal DeviceActivating when starting activation
      		- When activating a wireless device, if the access point we are connecting
      			to is encrypted, and we have a source key, try to generate a mangled
      			key and use that (ie, generate real WEP key from a passphrase)
      		- Rework device activation to fallback to other encryption methods if
      			a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
      			first, then if that doesn't work fall back to direct hex key).
      		- (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
      			priority.  We now prefer the latest access point used, rather than using
      			a priority scheme
      		- (nm_device_do_normal_scan): make the encryption method "unknown" on access
      			points we've just discovered, and merge in correct info from the global
      			access point lists
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@68 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      846b7896
  16. 02 Aug, 2004 1 commit
    • Dan Williams's avatar
      2004-08-02 Dan Williams <dcbw@redhat.com> · 3151e909
      Dan Williams authored
      	* TODO
      		- new task: proper logging support
      
      	* info-daemon/NetworkManagerInfo.c
      		- Correct spelling of "canceled"
      		- Correct casting of objects for g_signal_connect()
      
      	* info-daemon/NetworkManagerInfoDbus.c
      		- Add defines for NetworkManager namespace and object path, and use them
      		- Add filter function to trap new signals from NetworkManager:
      			WirelessNetworkAppeared, WirelessNetworkDisappeared
      
      	* info-daemon/passphrase.glade
      		- Change name of "ok" button to "Login to Network..."
      		- Mark invisible
      
      	* src/NetworkManager.c
      		- Code and debug message cleanups
      		- Rename "nm_add_current_devices"->"nm_add_initial_devices"
      		- (nm_add_initial_devices) Check returned string array of devices
      			and don't try to add devices if array is NULL
      		- (main) Initialize libhal a bit later, make code a bit clearer
      
      	* src/NetworkManagerAP.[ch]
      		- New accessor and data member "matched": used to speed up AP list
      			diffing
      		- New accessor and data member "enc_method": will be used during key
      			fallback to cache which passphrase->key conversion actually works
      			so we don't have to do it every time
      
      	* src/NetworkManagerAPList.[ch]
      		- (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
      		- (nm_ap_list_diff) New: given two lists of access points, find the differences
      			between them, and send WirelessNetworkAppeared/Disappeared signals over
      			dbus in response to those differences
      
      	* src/NetworkManagerDbus.[ch]
      		- (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
      			make an object path for that access point (NOTE that we don't yet check to
      			make sure that access point is actually in the device's AP list yet)
      		- (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
      		- (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
      			New: signal appearance/disappearance of wireless networks
      		- (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
      			key entry
      
      	* src/NetworkManagerDevice.[ch]
      		- (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
      		- (nm_device_ap_list_get) New: return the AP list (static function)
      		- (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
      			new one resulting from the scan with the old one
      
      	* src/NetworkManagerWireless.c
      		- (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
      
      	* test/nminfotest.c
      		- #define object paths and namespaces and use the #defines rather than static strings
      		- Test out user-key functionality of NetworkManagerInfo too
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@33 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      3151e909
  17. 28 Jul, 2004 1 commit
    • Dan Williams's avatar
      2004-07-27 Dan Williams <dcbw@redhat.com> · b0d607f9
      Dan Williams authored
      	* Remove various Makefile.in files
      
      	* TODO
      		- Add some more items
      
      	* configure.in
      		- Add checks for OpenSSL/md5 headers and libs
      
      	* src/Makefile.am
      		- Use OpenSSL CFLAGS
      
      	* src/NetworkManagerAP.[ch]
      		- Remove 'stamp' functions, replace with 'invalid' functions
      			to support user cancelling WEP key entry
      
      	* src/NetworkManagerDbus.c
      		- Remove 'stamp' return functions
      		- Treat returned user key as a passphrase and convert to a WEP key,
      			but don't actually use the WEP key yet.  We use the returned user
      			key as a hexadecimal WEP key until we can figure out a UI for
      			passphrase-vs-hex key
      
      	* src/NetworkManagerWireless.[ch]
      		- Add passphrase-to-128bit-key function
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@28 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      b0d607f9
  18. 15 Jul, 2004 1 commit
    • Dan Williams's avatar
      2004-07-15 Dan Williams <dcbw@redhat.com> · 088b0d8e
      Dan Williams authored
      	* src/Makefile.am
      		- Turn on warnings
      
      	* src/NetworkManager.c
      		- nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
      			that doing the deactivation ourselves
      		- Cancel an pending actions on a device if its being removed
      		- Break up link state checking a bit, make non-active wireless cards
      			deactivated to save power
      		- Remove unused variables
      
      	* src/NetworkManager.h
      		- Add support for "pending" device
      
      	* src/NetworkManagerAP.h
      	  src/NetworkManagerAP.c
      		- Add support for determining whether and AP has encryption enabled or not
      		- AP address is now "struct ether_addr" rather than a string
      
      	* src/NetworkManagerDbus.h
      	  src/NetworkManagerDbus.c
      		- Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
      		- Changes for AP address from struct ether_addr->string
      
      	* src/NetworkManagerDevice.h
      	  src/NetworkManagerDevice.c
      		- Remove unused variables, fix warnings
      		- Add support for Pending Actions (things that block a device from being "active"
      			until they are completed).
      		- First pending action:  Get a WEP key from the user
      		- Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
      		- Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
      		- Update wireless link checking to try to determine if the AP we are associated
      			with is correct, but the WEP key we are using is just wrong.  If its wrong,
      			trigger the GetUserKey pending action on the device
      		- If dhclient can't get an IP address, it brings the device down.  Bring it back
      			up in that case, otherwise we can't scan or link-check on it
      		- Add IP address change notifications at appropriate points (still needs some work)
      		- Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
      
      	* src/NetworkManagerPolicy.h
      	  src/NetworkManagerPolicy.c
      		- Split out "best" access point determiniation into separate function
      		- Make device activation 2-stage:  first the device is pending, then
      			in the next iteration through it becomes "active" unless it has
      			pending actions
      
      	* src/NetworkManagerUtils.h
      	  src/NetworkManagerUtils.c
      		- Clean up unused variables and warnings
      		- Wrap our debug macros in {} to prevent possible confusion
      
      	* src/NetworkManagerWireless.c
      		- Forgot to return current best priority, which lead to last available AP always
      			being chosen no matter what its priority was.  Corrected.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@15 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      088b0d8e
  19. 24 Jun, 2004 1 commit