Koen Vandeputte
f628d0e0e9
hostapd: update to version 2016-12-15
...
Update to latest upstream HEAD:
- Refreshed all
- Delete patches and parts which made it upstream
Compile tested Full & Mini configs
Run-tested Mini config
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [another update, remove broken patch]
2016-12-20 16:24:21 +01:00
Alexandru Ardelean
58cf9a2476
network/services/hostapd: move whole files outside of patches and drop Build/Prepare rule in favor of default one
...
This more of a demo for the previous commit that comes with
this one, where I added support for copying source from 'src' to
the build dir(s).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-10-15 11:36:51 +02:00
Rafał Miłecki
e70e3c544a
hostapd: fix regression breaking brcmfmac
...
The latest update of hostapd broke brcmfmac due to upstream regression.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-13 12:06:42 +02:00
Felix Fietkau
859d940c79
hostapd: update to version 2016-09-05
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-08 15:28:38 +02:00
Johannes Römer
e8cb7d30e9
hostapd: fix typo and indentation in ap_sta_support.patch
...
Signed-off-by: Johannes Römer <jroemer@posteo.net>
2016-09-05 18:03:24 +02:00
Ash Benz
798cd261ab
hostapd: use printf to improve portability.
...
Signed-off-by: Ash Benz <ash.benz@bk.ru>
2016-08-23 12:15:41 +02:00
Felix Fietkau
da328f2865
hostapd: backport mesh/ibss HT20/HT40 related fix
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-27 17:22:39 +02:00
Felix Fietkau
ca6375ac51
hostapd: fix an error on parsing radius_das_client
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-21 16:58:50 +02:00
Felix Fietkau
75329fc161
hostapd: fix VLAN support in full wpad builds
...
Suppress -DCONFIG_NO_VLAN if CONFIG_IBSS_RSN is enabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-18 13:37:10 +02:00
Felix Fietkau
ad430c1080
hostapd: add a WDS AP fix for reconnecting clients
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-06 10:12:37 +02:00
Felix Fietkau
4e0a533f60
hostapd: fix breakage with non-nl80211 drivers
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 19:28:55 +02:00
Jo-Philipp Wich
e2a9c638e7
hostapd: fix compilation error in wext backend
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-15 19:10:32 +02:00
Felix Fietkau
ef74d5cbf8
hostapd: implement fallback for incomplete survey data
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 17:31:48 +02:00
Felix Fietkau
13b44abcff
hostapd: update to version 2016-06-15
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 17:11:43 +02:00
Michal Hrusecky
b67af71181
hostapd: Update to version 2016-05-05
...
Fixes CVE-2016-4476 and few possible memory leaks.
Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
2016-06-15 17:11:18 +02:00
Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Felix Fietkau
18b2f2d694
hostapd: fix mesh interface bridge handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48529
2016-01-28 17:20:10 +00:00
Felix Fietkau
924407b253
hostapd: update to version 2016-01-15
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48527
2016-01-28 17:19:13 +00:00
Rafał Miłecki
2611a5538e
hostapd: fix disassociation with FullMAC drivers and multi-BSS
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48202
2016-01-11 18:51:47 +00:00
Felix Fietkau
6c40914c0c
hostapd: fix post v2.4 security issues
...
- WPS: Fix HTTP chunked transfer encoding parser (CVE-2015-4141)
- EAP-pwd peer: Fix payload length validation for Commit and Confirm
(CVE-2015-4143)
- EAP-pwd server: Fix payload length validation for Commit and Confirm
(CVE-2015-4143)
- EAP-pwd peer: Fix Total-Length parsing for fragment reassembly
(CVE-2015-4144, CVE-2015-4145)
- EAP-pwd server: Fix Total-Length parsing for fragment reassembly
(CVE-2015-4144, CVE-2015-4145)
- EAP-pwd peer: Fix asymmetric fragmentation behavior (CVE-2015-4146)
- NFC: Fix payload length validation in NDEF record parser (CVE-2015-8041)
- WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use
(CVE-2015-5310)
- EAP-pwd peer: Fix last fragment length validation (CVE-2015-5315)
- EAP-pwd server: Fix last fragment length validation (CVE-2015-5314)
- EAP-pwd peer: Fix error path for unexpected Confirm message (CVE-2015-5316)
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
SVN-Revision: 48185
2016-01-10 17:03:37 +00:00
Felix Fietkau
8aa110f7a2
hostapd: wait longer for inactive client probe (empty data frame)
...
One second is not enough for some devices to ackowledge null data frame
which is sent at the end of ap_max_inactivity interval. In particular,
this causes severe Wi-Fi instability with Apple iPhone which may take
up to 3 seconds to respond.
Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
SVN-Revision: 47149
2015-10-06 12:33:10 +00:00
Rafał Miłecki
b6320a63a2
hostapd: check for banned client on association event
...
When using FullMAC drivers (e.g. brcmfmac) we don't get mgmt frames so
check for banned client in probe request handler won't ever be used.
Since cfg80211 provides us info about STA associating let's put a check
there.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47064
2015-09-28 09:09:00 +00:00
Felix Fietkau
91467cec6f
hostapd: add a new option to control HT coexistance separate from noscan
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45873
2015-06-02 08:39:19 +00:00
Felix Fietkau
06556a8e6b
hostapd: fix remote denial of service vulnerability in WMM action frame parsing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45619
2015-05-06 09:45:39 +00:00
Felix Fietkau
eba659cbba
hostapd: backport fix for CVE-2015-1863, refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45567
2015-04-23 08:01:51 +00:00
John Crispin
2b95d21fdb
hostapd: remove unused asprintf parameter
...
r45270 removed ieee80211n=%d from the format string but didn't remove
the parameter itself. Though this probably doesn't cause any harm, it's
quite confusing and unneeded.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45351
2015-04-10 08:31:26 +00:00
John Crispin
ff211def3e
hostapd: add update_beacon to ubus binding
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45325
2015-04-09 10:31:45 +00:00
Felix Fietkau
fe8d9f59da
hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45270
2015-04-04 17:51:46 +00:00
Felix Fietkau
89abb27f2c
hostapd: fix compile errors with nl80211 disabled ( #19325 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45063
2015-03-27 14:55:01 +00:00
Felix Fietkau
44218424f1
hostapd: fix a compiler warning in ap+station patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45062
2015-03-27 14:54:53 +00:00
Felix Fietkau
8905eb39b6
hostapd: disable the bridge packet receive workaround, it is unnecessary on openwrt and could potentially harm performance
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45060
2015-03-27 14:54:41 +00:00
Felix Fietkau
184bac2707
hostapd: add switch_chan and set_vendor_elements ubus methods
...
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45046
2015-03-26 23:33:52 +00:00
Felix Fietkau
9c7784e5f3
hostapd: update hostapd to 2015-03-25
...
madwifi was dropped upstream, can't find it anywhere in OpenWrt
either, thus finally burrying madwifi.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45045
2015-03-26 23:33:47 +00:00
John Crispin
8f3e9c91a8
hostapd: backport BSSID black/whitelists
...
This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.
This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.
In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).
This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':
config wifi-iface
option device 'radio2'
option network 'uplink'
option mode 'sta'
option ssid 'MyNetwork'
option encryption 'none'
list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'
This change consists of the following cherry-picked upstream commits:
b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)
0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)
Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
SVN-Revision: 44438
2015-02-13 10:53:54 +00:00
Rafał Miłecki
adaac86c7f
hostapd: backport patch fixing handling new stations
...
This patch fixes adding new stations for some specific drivers when
using more than 1 BSS.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43951
2015-01-12 22:10:00 +00:00
Felix Fietkau
3c9fcd2526
hostapd: update to 2014-10-25
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43059
2014-10-25 16:48:45 +00:00
Steven Barth
99984eaeb3
hostapd: CVE-2014-3686 fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42942
2014-10-17 06:15:35 +00:00
Felix Fietkau
cd80931e03
hostapd: merge an upstream patch for pmksa cache
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42762
2014-10-05 10:26:26 +00:00
Felix Fietkau
96b74d4eef
hostapd: add ubus bindings for wps
...
With this patch WPS discovery can be started or canceled over ubus if
WPS is enabled in wireless configuration. This is equivalent of
'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands.
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
SVN-Revision: 42459
2014-09-10 13:01:53 +00:00
Felix Fietkau
c6d1992701
hostapd: add more missing ifdefs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41863
2014-07-28 22:52:39 +00:00
Felix Fietkau
fd619513d1
hostapd: add missing ifdef
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41855
2014-07-28 10:36:51 +00:00
Felix Fietkau
eaa3c4a11d
hostapd: prevent spurious 20/40 mhz channel bandwidth switches if noscan is enabled
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41828
2014-07-25 14:29:58 +00:00
Felix Fietkau
53fa9374c2
hostapd: fix wpad-mini compile error ( #16700 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41023
2014-06-05 21:14:02 +00:00
Felix Fietkau
5758b210e3
hostapd: update to 2014-06-03
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41022
2014-06-05 15:58:01 +00:00
Felix Fietkau
a073d13baa
wpa_supplicant: fix locking hostapd to 20MHz ( #12720 )
...
Fixed wpa_supplicant when the radio is in 40MHz mode so that it no
longer restarts hostapd with the second channel disabled.
Signed-off-by: Lance Chaney <furryfur1@gmail.com>
SVN-Revision: 41019
2014-06-05 14:55:10 +00:00
Felix Fietkau
239b3c09c9
hostapd: add a package for eapol_test
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40782
2014-05-19 21:58:48 +00:00
Felix Fietkau
8a831de514
hostapd: update to version 2014-04-24, fixes some dfs related issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40571
2014-04-26 19:48:06 +00:00
Felix Fietkau
8994b4b191
hostapd: update to version 2014-04-04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40394
2014-04-06 12:13:55 +00:00
Felix Fietkau
a9d4cd35fc
hostapd: fix deletion of wds sta interfaces in AP mode
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39765
2014-02-28 14:43:53 +00:00
Felix Fietkau
2725913d2a
hostapd: fix frequency selection for ap+sta
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39426
2014-01-30 13:21:30 +00:00
Felix Fietkau
fd4cd3825b
wpa_supplicant: fix interface combination parsing issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39155
2013-12-21 19:42:45 +00:00
Felix Fietkau
9381eaccb3
wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38985
2013-12-02 13:08:11 +00:00
Felix Fietkau
6960ae4e65
hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38984
2013-12-02 13:08:08 +00:00
Felix Fietkau
5022b3949a
hostapd: always include p2p options in wpa_cli
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38981
2013-12-02 13:07:46 +00:00
Felix Fietkau
1d75f7506d
hostapd: update to version 2013-11-20
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38914
2013-11-25 15:43:15 +00:00
Felix Fietkau
cd1c8d463f
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38852
2013-11-18 13:54:26 +00:00
Felix Fietkau
37756a97a0
hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38782
2013-11-12 22:11:14 +00:00
Felix Fietkau
9df75e7f34
hostapd: fix ubus reconnect handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37741
2013-08-08 20:45:12 +00:00
Felix Fietkau
f53b96813e
hostapd: update to latest version (20130707)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37738
2013-08-08 16:04:19 +00:00
Felix Fietkau
91f0b411f4
hostapd: Fix WDS/WEP usage
...
WEP in WDS is currently broken in hostapd. Add a patch
to fix the issue.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37733
2013-08-06 17:59:12 +00:00
Felix Fietkau
76ca564e79
hostapd: Refresh patches
...
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37731
2013-08-06 17:59:05 +00:00
Felix Fietkau
22e012bad8
hostapd: Add an option to disable beaconing
...
Add a patch for hostapd that introduces a config option
"start_disabled" which can be used to bring up an AP
interface with beaconing disabled. This is useful in
a Repeater-AP setup where the Repeater AP has to start
beaconing only after the WDS link has been established.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37730
2013-08-06 17:59:02 +00:00
Felix Fietkau
ee68734929
hostapd: fix multi-ssid and AP+STA, clean up code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37111
2013-06-30 21:01:13 +00:00
Felix Fietkau
60b040bbaf
hostapd: update to latest git version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37110
2013-06-30 20:27:38 +00:00
Felix Fietkau
d7908e02b5
hostapd: return the frequency to some ubus calls to make integration easier
...
SVN-Revision: 36410
2013-04-23 18:35:50 +00:00
Felix Fietkau
62244d73ae
hostapd: update to 2013-04-05
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36376
2013-04-22 13:24:48 +00:00
Felix Fietkau
31876c193a
hostapd: fix build errors on supplicant-only builds
...
SVN-Revision: 36085
2013-03-18 16:11:32 +00:00
Felix Fietkau
2167101c90
hostapd: initial prototype of an ubus binding
...
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.
SVN-Revision: 36081
2013-03-17 20:47:18 +00:00
Felix Fietkau
9ddc45bc3f
hostapd: fix client reassociation after too many ACK failures
...
SVN-Revision: 35973
2013-03-12 00:19:25 +00:00
Felix Fietkau
fa1749e668
hostapd: update to git version 2013-03-02
...
SVN-Revision: 35887
2013-03-04 17:16:38 +00:00
Felix Fietkau
1d6574b9c3
hostapd: fix the scan wait patch for multiple interfaces
...
SVN-Revision: 35630
2013-02-16 19:00:34 +00:00
Felix Fietkau
99782943d2
hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
...
SVN-Revision: 35619
2013-02-16 14:26:03 +00:00
Florian Fainelli
f1498531c7
hostapd: include sys/stat.h for a struct stat definition
...
Some libcs need this header to be explicitely included (e.g: musl)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34295
2012-11-21 20:27:06 +00:00
Felix Fietkau
f911fb32fe
hostapd: merge some pending fixes (fixes assoc errors when moving between vaps of the same wifi device)
...
SVN-Revision: 33919
2012-10-25 14:31:17 +00:00
Felix Fietkau
26944502e3
hostapd: merge a security fix for a TLS message buffer overflow (CVE-2012-4445)
...
SVN-Revision: 33815
2012-10-17 18:16:56 +00:00
Felix Fietkau
405e21d167
packages: sort network related packages into package/network/
...
SVN-Revision: 33688
2012-10-10 12:32:29 +00:00