mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 11:48:04 +02:00
Add options for WPA2 and WPA1+CCMP (AES). * gnome/applet/wireless-applet.glade - Add UI bits for WPA+CCMP * gnome/applet/other-network-dialog.c - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager, and don't allow creation of WPA2 Ad-Hoc networks since wpa_supplicant doesn't support them * gnome/applet/wireless-security-manager.c - (wsm_set_capabilities): Add WPA2 options, and pass capability on to the specific wireless security option being created * gnome/applet/wireless-security-option.[ch] - (wso_wpa_create_key_type_model): new utility function to create the model required for WPA Key Type combo box * gnome/applet/wso-private.h gnome/applet/wireless-security-option.h - Move private function prototypes into wso-private.h * gnome/applet/wso-wpa-psk-hex.[ch] gnome/applet/wso-wpa-psk-passphrase.[ch] - (append_dbus_params_func): get WPA version from checkbox and pass it to the dbus serialization helper - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the key type combo changes - (wso_wpa_psk_hex_new): set up the key type combo with the correct model and options * libnm-util/cipher-wpa-psk-hex.c libnm-util/cipher-wpa-psk-passphrase.c - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher): new function; allow the cipher to be changed after object creation * src/nm-ap-security-wpa-psk.c - (set_description): Do WPA2 descriptions too * src/nm-ap-security.c - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1317 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
/* NetworkManager Wireless Applet -- Display wireless access points and allow user control
|
|
*
|
|
* Dan Williams <dcbw@redhat.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* (C) Copyright 2005 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef WIRELESS_SECURITY_OPTION_H
|
|
#define WIRELESS_SECURITY_OPTION_H
|
|
|
|
#include <dbus/dbus.h>
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "cipher.h"
|
|
|
|
typedef struct WirelessSecurityOption WirelessSecurityOption;
|
|
|
|
const char * wso_get_name (WirelessSecurityOption * opt);
|
|
|
|
GtkWidget * wso_get_widget (WirelessSecurityOption * opt, GtkSignalFunc validate_cb, gpointer user_data);
|
|
|
|
gboolean wso_is_wso_widget (GtkWidget * widget);
|
|
|
|
gboolean wso_validate_input (WirelessSecurityOption * opt, const char * ssid, IEEE_802_11_Cipher ** out_cipher);
|
|
|
|
gboolean wso_append_dbus_params (WirelessSecurityOption *opt, const char *ssid, DBusMessage *message);
|
|
|
|
void wso_free (WirelessSecurityOption * opt);
|
|
|
|
#endif /* WIRELESS_SECURITY_OPTION_H */
|