Commit Graph

218 Commits (cedf84c3487ba24bf7d70accc485f39da0b59041)

Author SHA1 Message Date
Travis Kemen e74fbc183b Cleanup redundant psk handling code in wpa_supplicant.sh. (I sent this one to openwrt-devel before, but I am resending it as part of this series because the next patch will also edit wpa_supplicant.sh).
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 20394
2010-03-24 00:19:42 +00:00
Jo-Philipp Wich 90c566f557 hostapd: always strip "11" from hwmode value
SVN-Revision: 20363
2010-03-21 22:35:58 +00:00
Nicolas Thill b4e99d33d9 use a common way of marking packages as not supported on specific targets
SVN-Revision: 20117
2010-03-10 04:12:57 +00:00
Felix Fietkau 5c02f218be hostapd: restore wds sta state after the sta reassociates
SVN-Revision: 20108
2010-03-09 21:33:24 +00:00
Felix Fietkau ad1507756b hostapd: remove the hotplug script for adding wds station interfaces to a bridge - it suffers from race conditions. instead let hostapd add the interfaces to the bridge
SVN-Revision: 20104
2010-03-09 21:16:38 +00:00
Felix Fietkau 875b9fc0ae hostapd: fix setting the station vlan for wds stations on reauthentication
SVN-Revision: 20103
2010-03-09 21:16:32 +00:00
Felix Fietkau 1aa0192b94 hostapd: upgrade to 20100309
SVN-Revision: 20090
2010-03-09 17:36:10 +00:00
Felix Fietkau 7fdbfef92f wpa_supplicant: fix bridging settings for wds
SVN-Revision: 20088
2010-03-09 17:35:59 +00:00
Felix Fietkau 31cfd93be4 hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
SVN-Revision: 19720
2010-02-19 01:34:44 +00:00
Felix Fietkau d692a2340c mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.

With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.

Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.

SVN-Revision: 19718
2010-02-19 01:07:21 +00:00
Felix Fietkau 63b1d06a31 hostapd: select crda if mac80211 is selected
SVN-Revision: 19667
2010-02-16 18:29:03 +00:00
Felix Fietkau 756b82b7ec hostapd: fix wpad compile on powerpc
SVN-Revision: 19663
2010-02-16 18:28:46 +00:00
Felix Fietkau 002a278972 hostapd: move the roboswitch config override to the right place
SVN-Revision: 19662
2010-02-16 18:28:42 +00:00
Felix Fietkau e1efddf19b mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
SVN-Revision: 19550
2010-02-08 13:42:14 +00:00
Felix Fietkau 4c776cf093 hostapd: fix a segfault in the error path of the nl80211 bss interface add function
SVN-Revision: 19496
2010-02-02 02:51:06 +00:00
Felix Fietkau c830d6cfe7 add me as a maintainer for a few other packages
SVN-Revision: 19439
2010-01-31 12:24:55 +00:00
Felix Fietkau d780bbd5ff hostapd: fix segfault in mac80211 wds ap handling
SVN-Revision: 19420
2010-01-30 16:08:02 +00:00
Felix Fietkau 6f0883ae22 wpa_supplicant: add missing dependencies
SVN-Revision: 19333
2010-01-25 21:48:37 +00:00
Felix Fietkau 74d986abeb hostapd: fix wpad compile error by preventing make spam from showing up in the cflags/ldflags dump files
SVN-Revision: 19295
2010-01-23 18:25:04 +00:00
Felix Fietkau 8499c45a73 hostapd: fix compile error in the roboswitch driver
SVN-Revision: 19290
2010-01-23 15:12:57 +00:00
Felix Fietkau 8e07eba864 hostapd: fix build error
SVN-Revision: 19289
2010-01-23 14:33:42 +00:00
Felix Fietkau 64268c7165 hostapd: add a build variant for wpa_supplicant and one for a multicall hostapd+supplicant program (wpad) and remove the old wpa_supplicant package
SVN-Revision: 19286
2010-01-23 08:28:26 +00:00
Felix Fietkau ba7bfddaae mac80211: restructure /lib/wifi/mac80211.sh use the new multi-bss single instance hostapd mode move mac80211 specific bits out of /lib/wifi/hostapd.sh add a new option 'htmode' for switching between HT20 and HT40+,HT40-
SVN-Revision: 19235
2010-01-20 02:26:05 +00:00
Felix Fietkau c61daab867 hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance
SVN-Revision: 19234
2010-01-20 02:26:00 +00:00
Felix Fietkau 43c96ad50c hostapd: remove all object files on config changes
SVN-Revision: 19229
2010-01-19 18:23:06 +00:00
Felix Fietkau 8ed8fe14b2 hostapd: fix compile error with madwifi enabled
SVN-Revision: 19080
2010-01-08 21:25:40 +00:00
Felix Fietkau c40e11d79e hostapd: upgrade to latest version
SVN-Revision: 19077
2010-01-08 16:55:19 +00:00
Felix Fietkau b4ea1b0ac3 hostapd: parse the option for hiding the ESSID (#6310)
SVN-Revision: 18727
2009-12-09 19:10:54 +00:00
Felix Fietkau 4ca03b54ee hostapd: update to latest git, fixes ampdu settings in the beacon HT IE
SVN-Revision: 18606
2009-11-29 16:56:38 +00:00
Felix Fietkau 7e3d67e546 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
SVN-Revision: 18602
2009-11-29 14:13:47 +00:00
Felix Fietkau 79fcadc146 hostapd: fix rebuild checks (#6210)
SVN-Revision: 18497
2009-11-23 17:12:54 +00:00
Felix Fietkau f1da5431bb build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
SVN-Revision: 18464
2009-11-22 07:08:39 +00:00
Hauke Mehrtens ac141eb667 fix build of hostapd-utils
This fixes #6158.
Thank you Will Dyson for your patch.

SVN-Revision: 18417
2009-11-14 12:21:25 +00:00
Felix Fietkau 2913dec9f1 hostapd: fix endian bugs in STA HT capability handling
SVN-Revision: 18405
2009-11-12 14:15:13 +00:00
Felix Fietkau 3036844666 hostapd: fix HT40 BSS scan checks
SVN-Revision: 18404
2009-11-12 14:15:09 +00:00
Felix Fietkau c8c6f7ec39 mac80211: fix a race condition when bringing up wds sta interfaces on the ap
SVN-Revision: 18377
2009-11-11 16:32:09 +00:00
Felix Fietkau 5501cf6ed8 hostapd: automatically add wds sta interfaces of an ap to the right bridge
SVN-Revision: 18365
2009-11-11 05:15:55 +00:00
Felix Fietkau 36eccaad21 hostapd: implement wds ap support
SVN-Revision: 18364
2009-11-11 05:15:51 +00:00
Felix Fietkau a8ea28ad90 hostapd: update to latest git, remove openssl dependency for hostapd-full, it works with internal crypto now
SVN-Revision: 18360
2009-11-11 00:34:42 +00:00
Felix Fietkau 8a89f203a0 hostapd: use the new build variants feature to clean up the makefile
SVN-Revision: 18358
2009-11-10 22:00:59 +00:00
Felix Fietkau 875d957512 mac80211: fill some important capabilities into ht_capab in the hostapd config
SVN-Revision: 18293
2009-11-04 21:53:49 +00:00
Felix Fietkau a7cba046e6 hostapd: make compilation of the hostap driver conditional - saves 10k uncompressed
SVN-Revision: 18107
2009-10-20 21:14:57 +00:00
Felix Fietkau 6e9ada01c0 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051
2009-10-17 04:55:59 +00:00
Felix Fietkau 260d749684 hostapd: initialize wme to sane values
SVN-Revision: 17823
2009-10-02 18:55:03 +00:00
Florian Fainelli 838c1d7cd0 add additions from (#5149)
SVN-Revision: 16841
2009-07-14 13:06:34 +00:00
Vasilis Tsiligiannis 94b56b6c6c hostapd: Remove deprecated 'debug' configuration variable
SVN-Revision: 16594
2009-06-27 22:14:21 +00:00
Felix Fietkau 517728c9f7 hostapd: prefer built-in crypto header files over external ones from STAGING_DIR (thx, russell)
SVN-Revision: 16102
2009-05-27 02:54:29 +00:00
Felix Fietkau 0f632264ec fix more issues with libnl-tiny and eglibc
SVN-Revision: 15592
2009-05-04 16:13:46 +00:00
Felix Fietkau f06689ce61 hostapd: use libnl-tiny instead of libnl
SVN-Revision: 15519
2009-04-30 18:11:01 +00:00
Nicolas Thill 7658ef1316 introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS
SVN-Revision: 15451
2009-04-27 15:53:00 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Hauke Mehrtens e2f8f72041 hostapd only supports either b or g as hwmode configuration variable. If bg is set the scripts transfers it now to g mode.
SVN-Revision: 15182
2009-04-09 21:44:30 +00:00
Felix Fietkau ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Hauke Mehrtens 1d970c0035 bump to version 0.6.9. Synced default.config and mini.config with upstream version.
SVN-Revision: 14992
2009-03-23 16:16:22 +00:00
Gabor Juhos 782ca84485 hostapd: add 11n mode and ht_capab option for hostapd
SVN-Revision: 14713
2009-03-01 18:02:49 +00:00
Nicolas Thill 21d7852de0 replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
2009-02-24 00:08:08 +00:00
Felix Fietkau b29544b2c3 add country code option for hostapd (patch from #4675)
SVN-Revision: 14608
2009-02-22 02:46:04 +00:00
Gabor Juhos 620c50530f hostapd: update to 0.6.8
SVN-Revision: 14544
2009-02-17 20:21:02 +00:00
Felix Fietkau 7cb6d9f6a1 allow hostapd to continue, even if setting the country code fails
SVN-Revision: 14287
2009-01-30 19:33:09 +00:00
Felix Fietkau 408690fb74 fix hostapd startup for no-crypto configurations
SVN-Revision: 14276
2009-01-30 02:52:14 +00:00
Felix Fietkau 9bb8734d2e hostapd: add support for socket filtering to get rid of some of the massive cpu overhead with mac80211 drivers (backport from hostapd git repository)
SVN-Revision: 14225
2009-01-27 20:05:46 +00:00
Felix Fietkau fe48f4cac0 hostapd: upgrade to 0.6.7 and conditionally enable 11n support (currently depends on ath9k)
SVN-Revision: 14224
2009-01-27 20:05:11 +00:00
Andy Boyett aa59a08b45 hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
2009-01-15 07:50:11 +00:00
Andy Boyett 35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
2008-12-31 19:09:26 +00:00
Imre Kaloz 5e122b54bc bump hostapd to version 0.6.6
Signed-off-by: Roberto Riggio <roberto.riggio@create-net.org>

SVN-Revision: 13467
2008-12-02 13:19:56 +00:00
Andy Boyett bc1b8ed25c bump to version 0.6.5 - updates driver_nl80211 to match changes in recent compat-wireless snapshots (for >= 2.6.27) - adds preliminary support for 802.11n to hostapd itself
SVN-Revision: 13275
2008-11-18 07:26:15 +00:00
Felix Fietkau e050667baa fix typo
SVN-Revision: 13084
2008-10-30 22:49:15 +00:00
Felix Fietkau a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
2008-10-29 17:26:49 +00:00
Felix Fietkau 9161a70235 fix hostapd a/g mode if only the channel is configured in the config
SVN-Revision: 13076
2008-10-29 15:52:58 +00:00
Felix Fietkau 1b5de1c105 fix hostapd race condition which breaks wpa with madwifi
SVN-Revision: 13075
2008-10-29 15:52:44 +00:00
Felix Fietkau b0e7c7ba79 implement conditional dependencies for menuconfig and build deps
SVN-Revision: 12820
2008-10-01 21:26:19 +00:00
Felix Fietkau 69692e019a parse the a/g mode setting in /etc/config/wireless when setting up hostapd (instead of hardcoding it to g)
SVN-Revision: 12673
2008-09-23 18:18:21 +00:00
Florian Fainelli 6b04ad55f9 A WPA(2) pre-shared key can either be specified as a 8 to 63 character passphrase which is hashed to a 256 bit key together with the SSID, or a 64 character hex key. Currently, the latter option is supported by the broadcom wifi type, but no by hostapd. The attached patch allows using a 64 character hex key. (#3935)
Signed-off-by: thomas@archlinux.org

SVN-Revision: 12394
2008-08-26 17:19:00 +00:00
Florian Fainelli 6c56733f40 Fix hostapd with open access point and per-device configuration, thanks sn9
SVN-Revision: 12375
2008-08-23 21:21:04 +00:00
Florian Fainelli 2a888f2e23 Update hostapd to 0.6.4
SVN-Revision: 12298
2008-08-13 19:32:40 +00:00
Florian Fainelli 6ce90189ad Fix hostapd compilation which was broken only for 2.6.25 (#3733). Thanks to Hauke Mehrtens.
SVN-Revision: 11763
2008-07-10 14:23:06 +00:00
Florian Fainelli 216556954e Update hostapd to 0.6.3 (#3615)
SVN-Revision: 11738
2008-07-07 13:49:36 +00:00
Peter Denison ea8b4cb0d7 Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens. Fixes #3501
SVN-Revision: 11407
2008-06-08 20:19:19 +00:00
Travis Kemen b35e663111 add wpa-eap uci configs Signed-off-by: David Bird <david@coova.com>
SVN-Revision: 11355
2008-06-04 18:18:58 +00:00
Florian Fainelli f0e627da97 Fix hostapd compilation errors on STA_INFO (#3308)
SVN-Revision: 10784
2008-04-10 14:28:14 +00:00
Travis Kemen fe7e52b4fa change psk back to key
SVN-Revision: 10488
2008-02-18 23:40:31 +00:00
Michael Büsch b09be5c15e hostapd: Disable driver_nl80211 if mac80211 is not built
SVN-Revision: 10481
2008-02-17 17:02:02 +00:00
Michael Büsch 7a62cb1f15 hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
SVN-Revision: 10478
2008-02-17 13:30:24 +00:00
Michael Büsch 306caa660a hostapd: use patches to add the nl80211 driver instead of copying the files.
SVN-Revision: 10475
2008-02-17 12:18:33 +00:00
Michael Büsch 5fc0f18316 Enable nl80211 support in hostapd.
SVN-Revision: 10470
2008-02-16 19:01:59 +00:00
Michael Büsch 794ddf6b63 Add hostapd support for nl80211 (mac80211 stack)
SVN-Revision: 10469
2008-02-16 18:51:55 +00:00
Michael Büsch 99aaf500ed Upgrade b43 and mac80211.
This also temporarly disables hostapd support for mac80211, as hostapd needs patches to compile against latest mac80211.
Will do that in a seperate patch.

SVN-Revision: 10466
2008-02-15 22:47:47 +00:00
Felix Fietkau c439768c9a fix libnl include issues which broke a few packages
SVN-Revision: 9581
2007-11-19 23:03:09 +00:00
Felix Fietkau 55fff87408 fix path to .config (#2722)
SVN-Revision: 9579
2007-11-17 16:01:28 +00:00
Felix Fietkau ca9147efb9 clean up stale stampfiles
SVN-Revision: 9576
2007-11-17 14:21:14 +00:00
Felix Fietkau 4235aee8c2 fix hostapd rebuild check, isolate the common src/ directory for hostapd variants as well to fix compile errors when both variants are selected (#2722)
SVN-Revision: 9575
2007-11-17 14:14:16 +00:00
Felix Fietkau 992e1f5e04 fix hostapd build with openssl
SVN-Revision: 9574
2007-11-16 23:37:24 +00:00
Felix Fietkau 82c697991a hostapd: turn libnl into a build dependency
SVN-Revision: 9568
2007-11-16 05:08:32 +00:00
Felix Fietkau a8c17898cc fix config change detect for hostapd
SVN-Revision: 9565
2007-11-16 03:47:11 +00:00
Felix Fietkau 42d7efd083 update hostapd patches to the latest from http://johannes.sipsolutions.net/patches/hostap/all/2007-11-14-16:31/
SVN-Revision: 9564
2007-11-16 03:24:01 +00:00
Felix Fietkau 5a543584b8 improve build checks for hostapd (combinations of madwifi and mac80211)
SVN-Revision: 9563
2007-11-16 03:11:42 +00:00
Felix Fietkau 11feaad40a use the static version of libnl for hostapd
SVN-Revision: 9562
2007-11-16 03:11:39 +00:00
Felix Fietkau 67dd9a73dc fix up hostapd for mac80211
SVN-Revision: 9554
2007-11-16 03:10:56 +00:00
Felix Fietkau 5460d7854e disable driver_devicescape in hostapd will be enabled again when the mac80211 guys have sorted out the api ;)
SVN-Revision: 9369
2007-10-20 16:07:02 +00:00
Nicolas Thill b262b81027 fix hostap dependencies
SVN-Revision: 8799
2007-09-16 16:12:20 +00:00
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +00:00
Felix Fietkau 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00
Florian Fainelli 00274181f7 Upgrade hostapd to 0.5.8, thanks to Daniel Gimpelevich
SVN-Revision: 8368
2007-08-07 09:13:44 +00:00
John Crispin dd0a1806ea Some packages make no sense or do not build for etrax
SVN-Revision: 8216
2007-07-29 15:50:32 +00:00
Imre Kaloz bec5f22912 avr32 build fixes
SVN-Revision: 8017
2007-07-17 10:38:33 +00:00
Felix Fietkau 9114220553 refresh all package patches in the buildroot using quilt
SVN-Revision: 7490
2007-06-04 11:25:53 +00:00
Felix Fietkau d913bf3c49 move hostapd setup script from wireless-tools to hostapd package
SVN-Revision: 7000
2007-04-18 12:40:27 +00:00
Nicolas Thill 7f409744a4 replace common -I and -L search flags with TARGET_CPPFLAGS and TARGET_LDFLAGS
SVN-Revision: 6735
2007-03-28 00:35:26 +00:00
Felix Fietkau 24faf55360 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
SVN-Revision: 6582
2007-03-16 20:21:39 +00:00
Felix Fietkau 1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
2007-03-16 19:18:55 +00:00
Nicolas Thill 3de63356ba cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
SVN-Revision: 6180
2007-01-22 17:33:10 +00:00
Felix Fietkau a07ed4abe1 upgrade hostapd to 0.5.7 (patch from #1133)
SVN-Revision: 6047
2007-01-09 15:10:26 +00:00
Imre Kaloz 102e46bf19 fix typo (closes #1149)
SVN-Revision: 5996
2007-01-05 18:54:36 +00:00
Florian Fainelli 76b24f64fa Use the KernelPackage template instead of kmod-foo
SVN-Revision: 5995
2007-01-05 15:36:58 +00:00
Felix Fietkau c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
2006-11-23 00:29:07 +00:00
Felix Fietkau 97df37dfd7 update hostapd to latest upstream version
SVN-Revision: 5365
2006-10-31 21:04:48 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00