Commit Graph

210 Commits (fa61065873b50e19eae89902a2221778f337a0c3)

Author SHA1 Message Date
Felix Fietkau b132141413 hostapd: fix a race condition related to assoc response tx status processing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:17 +00:00
Felix Fietkau c8eee43263 hostapd: update to 20110527, includes a client mode wpa auth fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:12 +00:00
Felix Fietkau c9f66260cb wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:16:25 +00:00
Felix Fietkau e11d870f52 hostapd: fix a few compile errors and warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-24 03:34:46 +00:00
Felix Fietkau f1c3e8b659 hostapd: update to 2011-04-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:35 +00:00
Felix Fietkau 7890b013ad hostapd: fix bridge handling for wds stations (#9257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:49 +00:00
Alexandros C. Couloumbis c5d516084c package/hostapd: cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:36:48 +00:00
Felix Fietkau f1f27abcc6 hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:30:16 +00:00
Vasilis Tsiligiannis 8c41f9f5a3 [package] hostapd: add accounting configuration to hostapd uci script
Hello

This patch add accounting configuration in hostapd.sh
It also change "server, port, key" to "auth_server, auth_port, auth_secret" but keep backward compatibility
Please patch backfire & trunk

Thanks in advance.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:26 +00:00
Felix Fietkau 4476475e2c hostapd: write a stampfile when the random pool has been initialized - fixes rejected assoc attempts after hostapd restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 19:44:51 +00:00
Felix Fietkau 83cdf40c16 hostapd: update to 20110402, fixes issues with non-QoS clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 19:44:47 +00:00
Felix Fietkau de6b568a35 nl80211: send EAP frames as QoS data frames for QoS aware clients, should fix EAP rekeying timeout issues with intel clients (#8830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 11:38:35 +00:00
Felix Fietkau 0f5d91cdb3 hostapd: add more wps config methods to the config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:01:05 +00:00
Felix Fietkau bb5c25babc hostapd: make entropy collection contribute to the kernel pool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 21:00:54 +00:00
Felix Fietkau 0e823a1b02 hostapd: update to 2011-02-21, use PKG_MIRROR_MD5SUM, includes fixes for WPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 23:02:12 +00:00
Vasilis Tsiligiannis a096779b2e [package] hostapd: fix non-multicall hostapd compile (#9074)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 11:03:12 +00:00
Felix Fietkau fe94a18ab7 hostapd: add a patch to remove some unnecessary control interface functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 02:15:52 +00:00
Felix Fietkau daf32f2647 hostapd: add a separate config symbol for 802.11n driver support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:21:28 +00:00
Vasilis Tsiligiannis 92f1bd7ff2 [package] hostapd: Fix hostap driver for multicall binary builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 07:23:37 +00:00
Felix Fietkau 25791aaf8d hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:01:08 +00:00
Jo-Philipp Wich 9f1a6bc1fb [package] hostapd: allow mixed TKIP/CCMP for 11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 08:49:45 +00:00
Felix Fietkau 6691444d9a make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:13 +00:00
Felix Fietkau aae45a32b9 hostapd: update to 20110117
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 18:54:20 +00:00
Felix Fietkau 10bb2b1329 hostapd: Create one control interface per virtual bssid
Previously hostapd created one control interface /var/run/hostapd-phyX
which only contained the first virtual bssid (for example wlan0). In
order to access the other virtual bssids with hostapd_cli add all
virtual bssids to /var/run/hostapd-phyX by specifying the ctrl_interface
parameter per bssid.

Previously the control interface looked like:
	/var/run/hostapd-phyX/wlan0

Now, the control interface looks like this:
	/var/run/hostapd-phyX/wlan0
	/var/run/hostapd-phyX/wlan1
	...

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:52:54 +00:00
Felix Fietkau e1225a7328 hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:49 +00:00
Felix Fietkau cc2240d92f hostapd: Add CONFIG_FULL_DYNAMIC_VLAN=y to hostapd-full.config
This allows hostapd to make use of the config option
"vlan_tagged_interface" to automatically create bridge and
VLAN interfaces in a fully dynamic way.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:48:38 +00:00
Felix Fietkau 21adab3df5 hostapd: Allow rsn_preauth configuration
Hostapd can allow preauthentication for WPA2-EAP networks when
the interfaces through which preauthentication is allowed are
configured.

Add a new param "rsn_preauth=0/1" to the configuration that enables
or disables preauthentication on the according bridge interface.

Preauthentication for unbridged networks is not considered in this
patch.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:48:31 +00:00
Jo-Philipp Wich c55c75f1d0 [package] hostapd: terminate mainloop if interface setup fails, prevents blocking init or /sbin/wifi if an incorrect channel is configured
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 22:02:52 +00:00
Felix Fietkau 7ae3b77890 hostapd: back out a problematic madwifi change that worked around some issues with wep in madwifi (which may no longer be necessary), but broke dynamic WEP in AP mode (fixes #8267)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 00:57:41 +00:00
Felix Fietkau 80be8166aa hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-13 17:00:18 +00:00
Felix Fietkau e6eb9ff254 hostapd: update to 2010-11-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 22:39:19 +00:00
Felix Fietkau 08d9982314 hostapd: add some wpa related madwifi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-09 01:36:43 +00:00
Felix Fietkau be617d74f8 hostapd: update to 20101109, reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-09 01:36:36 +00:00
Vasilis Tsiligiannis b848594c3c [package] hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 10:39:29 +00:00
Felix Fietkau 991fcbd272 hostapd: move the madwifi segfault fix to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 13:49:34 +00:00
Jo-Philipp Wich 522a411c11 package/hostapd: fix crash in atheros driver (#8143)
hapd->driver->set_operstate may happen when the drv_priv data is not initialized yet,
this leads to a null pointer deref in the atheros driver. Protect the operstate call with a 
check for hapd->drv_priv.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 21:25:39 +00:00
Felix Fietkau da44354c6a hostapd: do not restrict ht capabilities for ap+sta
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 15:17:09 +00:00
Jo-Philipp Wich a90dcbc197 [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP
Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable
by setting the encryption parameter of a wifi-iface to contain "open"
(1, open system), "shared" (2, shared key), or "mixed" (3, permits both
open system and shared key.) For example, use "wep+shared" for shared
key authentication. The default is default is "open" as it is more
secure than "shared" (although WEP is pretty weak regardless.) For
non-WEP, "open" is always used.

https://dev.openwrt.org/ticket/8120

Signed-off-by: Mark Mentovai <mark@moxienet.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:11:04 +00:00
Felix Fietkau dc3eefc2b3 hostapd: backport a fix for setting the IFF_RUNNING flag on AP mode interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 13:47:12 +00:00
Felix Fietkau 78a9a8e62d hostapd: fix wpa_supplicant standalone compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 21:31:05 +00:00
Felix Fietkau bdbdb7b8ea hostapd: fix AP+STA reconnects
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 00:19:34 +00:00
Felix Fietkau 30999276f3 hostapd: remove some unnecessary debugging code from the last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:45:41 +00:00
Felix Fietkau f0a8a11ddf hostapd/mac80211: implement support for AP+STA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:39:54 +00:00
Felix Fietkau 580f1fe582 hostapd: fix SIGHUP for multi-bss
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:39:49 +00:00
Felix Fietkau dbd32699e8 hostapd: fix non-multicall wpa_supplicant compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 17:51:06 +00:00
Felix Fietkau 2c99d87747 hostapd: fix wpa_supplicant crash issues in WDS STA mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 03:14:48 +00:00
Felix Fietkau 80340ebdad hostapd: backport a fix to check for STA STBC capabilities before setting them (fixes #7464)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 16:16:32 +00:00
Vasilis Tsiligiannis 3bad36fbaf [package] hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 10:46:24 +00:00
Felix Fietkau 211bacfc87 move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:16 +00:00
Felix Fietkau 7c5114a298 hostapd: make rfkill support optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:22 +00:00