aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* wifi: Introduce 802.11ac supportFelix Fietkau2014-02-032-0/+6
| | | | | | | | | | | | | | | | This patch introduces 802.11ac support to mac80211 and hostapd. The split of VHT160 in two 80 MHz bands is not yet supported, since it requires an additional user supplied parameter for the channel of the second band. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> Signed-off-by: Simon Wunderlich <simon@open-mesh.com> [sven@open-mesh.com: Rebased patch, merged htmode and vhtmode, removed special hwmode, replaced uci vht_capab list with overwritable autoconfig, fixed hostapd integration, fixed commit description, add HT40+/- for VHT modes, add VHT40 center_freq autoconfig, refactored major parts] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Revert to slightly modified version of old behaviourSteven Barth2014-02-032-4/+5
| | | | | | | | Latest changes broke source-restriction of on-link routes. Restoring old-behaviour but adding correct source-restrictions which prevents the offlink handler to remove the on-link route. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve handling of RA on-link routes and addressesSteven Barth2014-02-022-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: do not get basic_rate as a simple string variableFelix Fietkau2014-02-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix internal router DHCPv4 filterSteven Barth2014-02-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: several bugfixes and improvementsSteven Barth2014-01-311-2/+2
| | | | | | | | * Fixed broken stateless-mode (fixes #14863) * Support for multiple IAIDs, improved server compatibility, improved NTP/SNTP support and other fixes (thanks to T-Labs) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix basic rate list handling with netifdFelix Fietkau2014-01-311-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix frequency selection for ap+staFelix Fietkau2014-01-304-13/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: build without libreadlineJo-Philipp Wich2014-01-291-1/+2
| | | | | | | | lldpcli uses libreadline for tab completion. libreadline take around 110kb. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add missing lldpcliJo-Philipp Wich2014-01-291-1/+1
| | | | | | | | lldpd calls on startup lldpcli to configure itself. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: push to version 0.7.7Jo-Philipp Wich2014-01-291-3/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Fix 80211w setup with netifdJo-Philipp Wich2014-01-281-1/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Fix basic_rate setup with netifdJo-Philipp Wich2014-01-281-0/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix certain config values being overwrittenSteven Barth2014-01-231-2/+2
| | | | | | Thanks to Hans Dedecker for the fix. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: Make don't fragment bit (df) a configurable variableSteven Barth2014-01-231-2/+4
| | | | | | | | | | | | | | Make the IPv4 "do not fragment" bit a configurable variable for the 6rd tunnel interface as the bit should not be set in the encapsulating IPv4 header according to RFC3056. On top the config variable allows to enable/disable path mtu discovery for tunnel interfaces. Config variable can be passed to netifd as tunnel config support is already present for the "do not fragment" bit. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't add unnecessary NOP policy rulesSteven Barth2014-01-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6in4: fix typo in config variable (fixes #14830)Steven Barth2014-01-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: don't reload if there were no address or data changesSteven Barth2014-01-191-0/+1
| | | | | | | This fixes packet loss due to reloading firewall every minute with IPv6 implementation of certain ISPs. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: Fix a memory corruption when static leases are usedSteven Barth2014-01-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: be even less verbose and don't start unnecessary relaysSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix logspamSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: use hybrid management mode by defaultSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistenceSteven Barth2014-01-171-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Use sourcerouting by defaultSteven Barth2014-01-172-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix several small issues + decrease sizeSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: several bugfixes and improved integrationSteven Barth2014-01-173-3/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6in4, 6rd, 6to4: Use source-restricted routes by defaultSteven Barth2014-01-173-10/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Add IFUPDATE-flags and use main IPv6 routing table againSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: improve logging in hotplug scriptJohn Crispin2014-01-151-1/+1
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: ifenslave: add kernel dependencies as source was removed from 3.12Zoltan HERPAI2014-01-151-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mcast_rate settingJohn Crispin2014-01-141-1/+1
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <r.vanweert@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix frequency setting for IBSS/RSNJohn Crispin2014-01-121-2/+4
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <rene@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: improve usability when switch device incorrectJohn Crispin2014-01-121-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba: add browsable optionJohn Crispin2014-01-121-0/+3
| | | | | | | | https://dev.openwrt.org/ticket/14682 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: try to workaround race condition at startupSteven Barth2014-01-022-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: initialize the switch early at start time and on reload (fixes #13015)Felix Fietkau2013-12-311-6/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wireless related segfaults on armFelix Fietkau2013-12-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wifi related segfaultsFelix Fietkau2013-12-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mixed wep/wpa with netifdFelix Fietkau2013-12-281-0/+1
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix the uci option name for ap isolateFelix Fietkau2013-12-281-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: remove useless variables, return -1 on errorsJohn Crispin2013-12-273-11/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix wep with netifdFelix Fietkau2013-12-231-4/+4
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: fix interface combination parsing issuesFelix Fietkau2013-12-211-0/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: rework init procedureJo-Philipp Wich2013-12-213-11/+46
| | | | | | | | | | | - cache udhcp check results to speed up subsequent reloads - enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed - implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed - launch dnsmasq from interface hotplug to avoid race conditions with network bringup Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add reload trigger for /etc/config/wireless as wellJo-Philipp Wich2013-12-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix handling of tcp_ecn parameterJo-Philipp Wich2013-12-171-2/+2
| | | | | | | | | | | The firewall3 implementation as well as the shell implementation predating it used to process the tcp_ecnoption as boolean while it actually is an integer. Change the code to parse tcp_ecn as integer. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: reduce .ipk package size from ~100k down to ~60kFelix Fietkau2013-12-172-1/+121
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move old wifi setup scripts to hostapd-common-oldFelix Fietkau2013-12-161-4/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: switch to /lib/functions/network.shJo-Philipp Wich2013-12-161-15/+11
| | | | | | | | | | | This commit changes the dnsmasq init script to use the interface status exposed by netifd. The old references to scan_interfaces() and (indirect) accesses to uci state variables are removed and replaced with corresponding network_*() calls. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a null pointer crashFelix Fietkau2013-12-161-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39088 3c298f89-4303-0410-b956-a3cf2f4a3e73