[pkg-wpa-devel] r856 - in /hostapd/trunk: debian/patches/30_mac80211_headers.dpatch debian/patches/31_mac80211_enable.dpatch driver_devicescape.c hostapd.conf

paravoid at users.alioth.debian.org paravoid at users.alioth.debian.org
Sun Jul 22 18:16:53 UTC 2007


Author: paravoid
Date: Sun Jul 22 18:16:53 2007
New Revision: 856

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=856
Log:
Upload forgotten files and correct previous mess up -- it's been a long time :/

Added:
    hostapd/trunk/debian/patches/30_mac80211_headers.dpatch   (with props)
    hostapd/trunk/debian/patches/31_mac80211_enable.dpatch   (with props)
Modified:
    hostapd/trunk/driver_devicescape.c
    hostapd/trunk/hostapd.conf

Added: hostapd/trunk/debian/patches/30_mac80211_headers.dpatch
URL: http://svn.debian.org/wsvn/pkg-wpa/hostapd/trunk/debian/patches/30_mac80211_headers.dpatch?rev=856&op=file
==============================================================================
--- hostapd/trunk/debian/patches/30_mac80211_headers.dpatch (added)
+++ hostapd/trunk/debian/patches/30_mac80211_headers.dpatch Sun Jul 22 18:16:53 2007
@@ -1,0 +1,443 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_mac80211_headers.dpatch by Faidon Liambotis <paravoid at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: mac80211 headers to build driver_devicescape.c
+
+ at DPATCH@
+diff -urNad trunk~/hostapd_ioctl.h trunk/hostapd_ioctl.h
+--- trunk~/hostapd_ioctl.h	1970-01-01 02:00:00.000000000 +0200
++++ trunk/hostapd_ioctl.h	2007-07-22 21:15:32.000000000 +0300
+@@ -0,0 +1,335 @@
++/*
++ * Host AP (software wireless LAN access point) user space daemon for
++ * Host AP kernel driver
++ * Copyright 2002-2003, Jouni Malinen <jkmaline at cc.hut.fi>
++ * Copyright 2002-2004, Instant802 Networks, Inc.
++ * Copyright 2005, Devicescape Software, Inc.
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ */
++
++#ifndef HOSTAPD_IOCTL_H
++#define HOSTAPD_IOCTL_H
++
++#ifdef __KERNEL__
++#include <linux/types.h>
++#endif /* __KERNEL__ */
++
++#define PRISM2_IOCTL_PRISM2_PARAM (SIOCIWFIRSTPRIV + 0)
++#define PRISM2_IOCTL_GET_PRISM2_PARAM (SIOCIWFIRSTPRIV + 1)
++#define PRISM2_IOCTL_HOSTAPD (SIOCIWFIRSTPRIV + 3)
++
++/* PRISM2_IOCTL_PRISM2_PARAM ioctl() subtypes:
++ * This table is no longer added to, the whole sub-ioctl
++ * mess shall be deleted completely. */
++enum {
++	PRISM2_PARAM_BEACON_INT = 3,
++	PRISM2_PARAM_AP_BRIDGE_PACKETS = 10,
++	PRISM2_PARAM_DTIM_PERIOD = 11,
++	PRISM2_PARAM_HOST_ENCRYPT = 17,
++	PRISM2_PARAM_HOST_DECRYPT = 18,
++	PRISM2_PARAM_IEEE_802_1X = 23,
++
++	/* Instant802 additions */
++	PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
++	PRISM2_PARAM_PREAMBLE = 1003,
++	PRISM2_PARAM_SHORT_SLOT_TIME = 1006,
++	PRISM2_PARAM_NEXT_MODE = 1008,
++	PRISM2_PARAM_RADIO_ENABLED = 1010,
++	PRISM2_PARAM_ANTENNA_MODE = 1013,
++	PRISM2_PARAM_PRIVACY_INVOKED = 1014,
++	PRISM2_PARAM_BROADCAST_SSID = 1015,
++	PRISM2_PARAM_STAT_TIME = 1016,
++	PRISM2_PARAM_STA_ANTENNA_SEL = 1017,
++	PRISM2_PARAM_TX_POWER_REDUCTION = 1022,
++	PRISM2_PARAM_EAPOL = 1023,
++	PRISM2_PARAM_KEY_TX_RX_THRESHOLD = 1024,
++	PRISM2_PARAM_KEY_INDEX = 1025,
++	PRISM2_PARAM_DEFAULT_WEP_ONLY = 1026,
++	PRISM2_PARAM_WIFI_WME_NOACK_TEST = 1033,
++	PRISM2_PARAM_ALLOW_BROADCAST_ALWAYS = 1034,
++	PRISM2_PARAM_SCAN_FLAGS = 1035,
++	PRISM2_PARAM_HW_MODES = 1036,
++	PRISM2_PARAM_CREATE_IBSS = 1037,
++	PRISM2_PARAM_WMM_ENABLED = 1038,
++	PRISM2_PARAM_MIXED_CELL = 1039,
++	PRISM2_PARAM_KEY_MGMT = 1040,
++	PRISM2_PARAM_RADAR_DETECT = 1043,
++	PRISM2_PARAM_SPECTRUM_MGMT = 1044,
++	PRISM2_PARAM_USER_SPACE_MLME = 1045,
++	PRISM2_PARAM_MGMT_IF = 1046,
++};
++
++/* PRISM2_IOCTL_HOSTAPD ioctl() cmd:
++ * This table is no longer added to, the hostapd ioctl
++ * shall be deleted completely. */
++enum {
++	PRISM2_HOSTAPD_FLUSH = 1,
++	PRISM2_HOSTAPD_ADD_STA = 2,
++	PRISM2_HOSTAPD_REMOVE_STA = 3,
++	PRISM2_HOSTAPD_GET_INFO_STA = 4,
++	PRISM2_SET_ENCRYPTION = 6,
++	PRISM2_GET_ENCRYPTION = 7,
++	PRISM2_HOSTAPD_SET_FLAGS_STA = 8,
++	PRISM2_HOSTAPD_MLME = 13,
++
++	/* Instant802 additions */
++	PRISM2_HOSTAPD_SET_BEACON = 1001,
++	PRISM2_HOSTAPD_GET_HW_FEATURES = 1002,
++	PRISM2_HOSTAPD_WPA_TRIGGER = 1004,
++	PRISM2_HOSTAPD_SET_RATE_SETS = 1005,
++	PRISM2_HOSTAPD_ADD_IF = 1006,
++	PRISM2_HOSTAPD_REMOVE_IF = 1007,
++	PRISM2_HOSTAPD_GET_DOT11COUNTERSTABLE = 1008,
++	PRISM2_HOSTAPD_GET_LOAD_STATS = 1009,
++	PRISM2_HOSTAPD_SET_STA_VLAN = 1010,
++	PRISM2_HOSTAPD_SET_GENERIC_INFO_ELEM = 1011,
++	PRISM2_HOSTAPD_SET_CHANNEL_FLAG = 1012,
++	PRISM2_HOSTAPD_SET_REGULATORY_DOMAIN = 1013,
++	PRISM2_HOSTAPD_SET_TX_QUEUE_PARAMS = 1014,
++	PRISM2_HOSTAPD_GET_TX_STATS = 1016,
++	PRISM2_HOSTAPD_UPDATE_IF = 1017,
++	PRISM2_HOSTAPD_SCAN_REQ = 1019,
++	PRISM2_STA_GET_STATE = 1020,
++	PRISM2_HOSTAPD_FLUSH_IFS = 1021,
++	PRISM2_HOSTAPD_SET_RADAR_PARAMS = 1023,
++	PRISM2_HOSTAPD_SET_QUIET_PARAMS = 1024,
++};
++
++#define PRISM2_HOSTAPD_MAX_BUF_SIZE 2048
++#define HOSTAP_CRYPT_ALG_NAME_LEN 16
++
++#ifndef ALIGNED
++#define ALIGNED __attribute__ ((aligned))
++#endif
++
++struct prism2_hostapd_param {
++	u32 cmd;
++	u8 sta_addr[ETH_ALEN];
++	u8 pad[2];
++	union {
++		struct {
++			u16 aid;
++			u16 capability;
++			u8 supp_rates[32];
++			u8 wds_flags;
++#define IEEE80211_STA_DYNAMIC_ENC BIT(0)
++			u8 enc_flags;
++			u16 listen_interval;
++		} add_sta;
++		struct {
++			u32 inactive_msec;
++			u32 rx_packets;
++			u32 tx_packets;
++			u32 rx_bytes;
++			u32 tx_bytes;
++			u32 current_tx_rate; /* in 100 kbps */
++			u32 channel_use;
++			u32 flags;
++			u32 num_ps_buf_frames;
++			u32 tx_retry_failed;
++			u32 tx_retry_count;
++			u32 last_rssi;
++			u32 last_ack_rssi;
++		} get_info_sta;
++		struct {
++			char alg[HOSTAP_CRYPT_ALG_NAME_LEN];
++			u32 flags;
++			u32 err;
++			u8 idx;
++#define HOSTAP_SEQ_COUNTER_SIZE 8
++			u8 seq_counter[HOSTAP_SEQ_COUNTER_SIZE];
++			u16 key_len;
++			u8 key[0] ALIGNED;
++		} crypt;
++		struct {
++			u32 flags_and;
++			u32 flags_or;
++		} set_flags_sta;
++		struct {
++			u16 head_len;
++			u16 tail_len;
++			u8 data[0] ALIGNED; /* head_len + tail_len bytes */
++		} beacon;
++		struct {
++			u16 num_modes;
++			u16 flags;
++			u8 data[0] ALIGNED; /* num_modes * feature data */
++		} hw_features;
++		struct {
++			u8  now;
++			s8  our_mode_only;
++			s16 last_rx;
++			u16 channel;
++			s16 interval; /* seconds */
++			s32 listen;   /* microseconds */
++		} scan;
++		struct {
++#define WPA_TRIGGER_FAIL_TX_MIC BIT(0)
++#define WPA_TRIGGER_FAIL_TX_ICV BIT(1)
++#define WPA_TRIGGER_FAIL_RX_MIC BIT(2)
++#define WPA_TRIGGER_FAIL_RX_ICV BIT(3)
++#define WPA_TRIGGER_TX_REPLAY BIT(4)
++#define WPA_TRIGGER_TX_REPLAY_FRAG BIT(5)
++#define WPA_TRIGGER_TX_SKIP_SEQ BIT(6)
++			u32 trigger;
++		} wpa_trigger;
++		struct {
++			u16 mode; /* MODE_* */
++			u16 num_supported_rates;
++			u16 num_basic_rates;
++			u8 data[0] ALIGNED; /* num_supported_rates * u16 +
++					     * num_basic_rates * u16 */
++		} set_rate_sets;
++		struct {
++			u8 type; /* WDS, VLAN, etc */
++			u8 name[IFNAMSIZ];
++			u8 data[0] ALIGNED;
++		} if_info;
++		struct dot11_counters {
++			u32 dot11TransmittedFragmentCount;
++			u32 dot11MulticastTransmittedFrameCount;
++			u32 dot11FailedCount;
++			u32 dot11ReceivedFragmentCount;
++			u32 dot11MulticastReceivedFrameCount;
++			u32 dot11FCSErrorCount;
++			u32 dot11TransmittedFrameCount;
++			u32 dot11WEPUndecryptableCount;
++			u32 dot11ACKFailureCount;
++			u32 dot11RTSFailureCount;
++			u32 dot11RTSSuccessCount;
++		} dot11CountersTable;
++		struct {
++#define LOAD_STATS_CLEAR BIT(1)
++			u32 flags;
++			u32 channel_use;
++		} get_load_stats;
++		struct {
++			char vlan_name[IFNAMSIZ];
++			int vlan_id;
++		} set_sta_vlan;
++		struct {
++			u8 len;
++			u8 data[0] ALIGNED;
++		} set_generic_info_elem;
++		struct {
++			u16 mode; /* MODE_* */
++			u16 chan;
++			u32 flag;
++			u8 power_level; /* regulatory limit in dBm */
++			u8 antenna_max;
++		} set_channel_flag;
++		struct {
++			u32 rd;
++		} set_regulatory_domain;
++		struct {
++			u32 queue;
++			s32 aifs;
++			u32 cw_min;
++			u32 cw_max;
++			u32 burst_time; /* maximum burst time in 0.1 ms, i.e.,
++					 * 10 = 1 ms */
++		} tx_queue_params;
++		struct ieee80211_tx_stats {
++			struct {
++				unsigned int len; /* num packets in queue */
++				unsigned int limit; /* queue len (soft) limit
++						     */
++				unsigned int count; /* total num frames sent */
++			} data[4];
++		} get_tx_stats;
++		struct {
++			u8 ssid_len;
++			u8 ssid[0] ALIGNED;
++		} scan_req;
++		struct {
++			u32 state;
++		} sta_get_state;
++		struct {
++#define MLME_STA_DEAUTH 0
++#define MLME_STA_DISASSOC 1
++			u16 cmd;
++			u16 reason_code;
++		} mlme;
++		struct {
++			u8 radar_firpwr_threshold;
++			u8 radar_rssi_threshold;
++			u8 pulse_height_threshold;
++			u8 pulse_rssi_threshold;
++			u8 pulse_inband_threshold;
++		} radar;
++		struct {
++			unsigned int period;
++			unsigned int offset;
++			unsigned int duration;
++		} quiet;
++		struct {
++			u8 dummy[80]; /* Make sizeof() this struct large enough
++				       * with some compiler versions. */
++		} dummy;
++	} u;
++};
++
++#define HOSTAP_CRYPT_FLAG_SET_TX_KEY BIT(0)
++#define HOSTAP_CRYPT_FLAG_PERMANENT BIT(1)
++
++#define HOSTAP_CRYPT_ERR_UNKNOWN_ALG 2
++#define HOSTAP_CRYPT_ERR_UNKNOWN_ADDR 3
++#define HOSTAP_CRYPT_ERR_CRYPT_INIT_FAILED 4
++#define HOSTAP_CRYPT_ERR_KEY_SET_FAILED 5
++#define HOSTAP_CRYPT_ERR_TX_KEY_SET_FAILED 6
++#define HOSTAP_CRYPT_ERR_CARD_CONF_FAILED 7
++
++#define HOSTAP_HW_FLAG_NULLFUNC_OK BIT(0)
++
++enum {
++	IEEE80211_KEY_MGMT_NONE = 0,
++	IEEE80211_KEY_MGMT_IEEE8021X = 1,
++	IEEE80211_KEY_MGMT_WPA_PSK = 2,
++	IEEE80211_KEY_MGMT_WPA_EAP = 3,
++};
++
++
++/* Data structures used for get_hw_features ioctl */
++struct hostapd_ioctl_hw_modes_hdr {
++	int mode;
++	int num_channels;
++	int num_rates;
++};
++
++struct ieee80211_channel_data {
++	short chan; /* channel number (IEEE 802.11) */
++	short freq; /* frequency in MHz */
++	int flag; /* flag for hostapd use (IEEE80211_CHAN_*) */
++};
++
++struct ieee80211_rate_data {
++	int rate; /* rate in 100 kbps */
++	int flags; /* IEEE80211_RATE_ flags */
++};
++
++
++/* ADD_IF and REMOVE_IF 'type' argument */
++enum {
++	HOSTAP_IF_WDS = 1, HOSTAP_IF_VLAN = 2, HOSTAP_IF_BSS = 3,
++	HOSTAP_IF_STA = 4
++};
++
++struct hostapd_if_wds {
++	u8 remote_addr[ETH_ALEN];
++};
++
++struct hostapd_if_vlan {
++	u8 id;
++};
++
++struct hostapd_if_bss {
++	u8 bssid[ETH_ALEN];
++};
++
++struct hostapd_if_sta {
++};
++
++#endif /* HOSTAPD_IOCTL_H */
+diff -urNad trunk~/ieee80211_common.h trunk/ieee80211_common.h
+--- trunk~/ieee80211_common.h	1970-01-01 02:00:00.000000000 +0200
++++ trunk/ieee80211_common.h	2007-07-22 21:15:32.000000000 +0300
+@@ -0,0 +1,93 @@
++/*
++ * IEEE 802.11 driver (80211.o) -- hostapd interface
++ * Copyright 2002-2004, Instant802 Networks, Inc.
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ */
++
++#ifndef IEEE80211_COMMON_H
++#define IEEE80211_COMMON_H
++
++#include <linux/types.h>
++
++/*
++ * This is common header information with user space. It is used on all
++ * frames sent to wlan#ap interface.
++ */
++
++#define IEEE80211_FI_VERSION 0x80211001
++
++struct ieee80211_frame_info {
++	__be32 version;
++	__be32 length;
++	__be64 mactime;
++	__be64 hosttime;
++	__be32 phytype;
++	__be32 channel;
++	__be32 datarate;
++	__be32 antenna;
++	__be32 priority;
++	__be32 ssi_type;
++	__be32 ssi_signal;
++	__be32 ssi_noise;
++	__be32 preamble;
++	__be32 encoding;
++
++	/* Note: this structure is otherwise identical to capture format used
++	 * in linux-wlan-ng, but this additional field is used to provide meta
++	 * data about the frame to hostapd. This was the easiest method for
++	 * providing this information, but this might change in the future. */
++	__be32 msg_type;
++} __attribute__ ((packed));
++
++
++enum ieee80211_msg_type {
++	ieee80211_msg_normal = 0,
++	ieee80211_msg_tx_callback_ack = 1,
++	ieee80211_msg_tx_callback_fail = 2,
++	ieee80211_msg_passive_scan = 3,
++	ieee80211_msg_wep_frame_unknown_key = 4,
++	ieee80211_msg_michael_mic_failure = 5,
++	/* hole at 6, was monitor but never sent to userspace */
++	ieee80211_msg_sta_not_assoc = 7,
++	ieee80211_msg_set_aid_for_sta = 8,
++	ieee80211_msg_key_threshold_notification = 9,
++	ieee80211_msg_radar = 11,
++};
++
++struct ieee80211_msg_key_notification {
++	int tx_rx_count;
++	char ifname[IFNAMSIZ];
++	u8 addr[ETH_ALEN]; /* ff:ff:ff:ff:ff:ff for broadcast keys */
++};
++
++
++enum ieee80211_phytype {
++	ieee80211_phytype_fhss_dot11_97  = 1,
++	ieee80211_phytype_dsss_dot11_97  = 2,
++	ieee80211_phytype_irbaseband     = 3,
++	ieee80211_phytype_dsss_dot11_b   = 4,
++	ieee80211_phytype_pbcc_dot11_b   = 5,
++	ieee80211_phytype_ofdm_dot11_g   = 6,
++	ieee80211_phytype_pbcc_dot11_g   = 7,
++	ieee80211_phytype_ofdm_dot11_a   = 8,
++	ieee80211_phytype_dsss_dot11_turbog = 255,
++	ieee80211_phytype_dsss_dot11_turbo = 256,
++};
++
++enum ieee80211_ssi_type {
++	ieee80211_ssi_none = 0,
++	ieee80211_ssi_norm = 1, /* normalized, 0-1000 */
++	ieee80211_ssi_dbm = 2,
++	ieee80211_ssi_raw = 3, /* raw SSI */
++};
++
++struct ieee80211_radar_info {
++		int channel;
++		int radar;
++		int radar_type;
++};
++
++#endif /* IEEE80211_COMMON_H */

Propchange: hostapd/trunk/debian/patches/30_mac80211_headers.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: hostapd/trunk/debian/patches/31_mac80211_enable.dpatch
URL: http://svn.debian.org/wsvn/pkg-wpa/hostapd/trunk/debian/patches/31_mac80211_enable.dpatch?rev=856&op=file
==============================================================================
--- hostapd/trunk/debian/patches/31_mac80211_enable.dpatch (added)
+++ hostapd/trunk/debian/patches/31_mac80211_enable.dpatch Sun Jul 22 18:16:53 2007
@@ -1,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 31_mac80211_enable.dpatch by Faidon Liambotis <paravoid at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Enable mac80211/devicescape support and use our headers
+
+ at DPATCH@
+diff -urNad trunk~/.config trunk/.config
+--- trunk~/.config	2007-07-22 20:57:45.000000000 +0300
++++ trunk/.config	2007-07-22 20:57:52.000000000 +0300
+@@ -12,7 +12,7 @@
+ CONFIG_DRIVER_PRISM54=y
+ 
+ # Driver interface for drivers using Devicescape IEEE 802.11 stack
+-# CONFIG_DRIVER_DEVICESCAPE=y
++CONFIG_DRIVER_DEVICESCAPE=y
+ 
+ # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+ #CONFIG_DRIVER_BSD=y
+diff -urNad trunk~/driver_devicescape.c trunk/driver_devicescape.c
+--- trunk~/driver_devicescape.c	2007-07-22 20:44:17.000000000 +0300
++++ trunk/driver_devicescape.c	2007-07-22 20:58:09.000000000 +0300
+@@ -37,8 +37,8 @@
+ #include "ieee802_11.h"
+ #include "sta_info.h"
+ #include "hw_features.h"
+-#include <hostapd_ioctl.h>
+-#include <ieee80211_common.h>
++#include "hostapd_ioctl.h"
++#include "ieee80211_common.h"
+ /* from net/mac80211.h */
+ enum {
+ 	MODE_IEEE80211A = 0 /* IEEE 802.11a */,

Propchange: hostapd/trunk/debian/patches/31_mac80211_enable.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: hostapd/trunk/driver_devicescape.c
URL: http://svn.debian.org/wsvn/pkg-wpa/hostapd/trunk/driver_devicescape.c?rev=856&op=diff
==============================================================================
--- hostapd/trunk/driver_devicescape.c (original)
+++ hostapd/trunk/driver_devicescape.c Sun Jul 22 18:16:53 2007
@@ -37,8 +37,8 @@
 #include "ieee802_11.h"
 #include "sta_info.h"
 #include "hw_features.h"
-#include "hostapd_ioctl.h"
-#include "ieee80211_common.h"
+#include <hostapd_ioctl.h>
+#include <ieee80211_common.h>
 /* from net/mac80211.h */
 enum {
 	MODE_IEEE80211A = 0 /* IEEE 802.11a */,

Modified: hostapd/trunk/hostapd.conf
URL: http://svn.debian.org/wsvn/pkg-wpa/hostapd/trunk/hostapd.conf?rev=856&op=diff
==============================================================================
--- hostapd/trunk/hostapd.conf (original)
+++ hostapd/trunk/hostapd.conf Sun Jul 22 18:16:53 2007
@@ -169,8 +169,8 @@
 # Accept/deny lists are read from separate files (containing list of
 # MAC addresses, one per line). Use absolute path name to make sure that the
 # files can be read on SIGHUP configuration reloads.
-#accept_mac_file=/etc/hostapd/accept
-#deny_mac_file=/etc/hostapd/deny
+#accept_mac_file=/etc/hostapd.accept
+#deny_mac_file=/etc/hostapd.deny
 
 # IEEE 802.11 specifies two authentication algorithms. hostapd can be
 # configured to allow both of these or only one. Open system authentication
@@ -428,20 +428,20 @@
 eap_server=0
 
 # Path for EAP server user database
-#eap_user_file=/etc/hostapd/eap_user
+#eap_user_file=/etc/hostapd.eap_user
 
 # CA certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS
-#ca_cert=/etc/hostapd/ca.pem
+#ca_cert=/etc/hostapd.ca.pem
 
 # Server certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS
-#server_cert=/etc/hostapd/server.pem
+#server_cert=/etc/hostapd.server.pem
 
 # Private key matching with the server certificate for EAP-TLS/PEAP/TTLS
 # This may point to the same file as server_cert if both certificate and key
 # are included in a single file. PKCS#12 (PFX) file (.p12/.pfx) can also be
 # used by commenting out server_cert and specifying the PFX file as the
 # private_key.
-#private_key=/etc/hostapd/server.prv
+#private_key=/etc/hostapd.server.prv
 
 # Passphrase for private key
 #private_key_passwd=secret passphrase
@@ -557,7 +557,7 @@
 
 # File name of the RADIUS clients configuration for the RADIUS server. If this
 # commented out, RADIUS server is disabled.
-#radius_server_clients=/etc/hostapd/radius_clients
+#radius_server_clients=/etc/hostapd.radius_clients
 
 # The UDP port number for the RADIUS authentication server
 #radius_server_auth_port=1812
@@ -593,7 +593,7 @@
 # of (PSK,MAC address) pairs. This allows more than one PSK to be configured.
 # Use absolute path name to make sure that the files can be read on SIGHUP
 # configuration reloads.
-#wpa_psk_file=/etc/hostapd/wpa_psk
+#wpa_psk_file=/etc/hostapd.wpa_psk
 
 # Set of accepted key management algorithms (WPA-PSK, WPA-EAP, or both). The
 # entries are separated with a space.




More information about the Pkg-wpa-devel mailing list