NetworkManager/libnm-util/cipher-wpa-psk-hex.h

32 lines
1.1 KiB
C
Raw Normal View History

/* 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 CIPHER_WPA_PSK_HEX_H
#define CIPHER_WPA_PSK_HEX_H
#define WPA_PMK_LEN 32
IEEE_802_11_Cipher * cipher_wpa_psk_hex_new (void);
2006-01-11 Dan Williams <dcbw@redhat.com> 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
2006-01-11 20:46:26 +00:00
void cipher_wpa_psk_hex_set_we_cipher (IEEE_802_11_Cipher *cipher, int we_cipher);
#endif /* CIPHER_WPA_PSK_HEX_H */