aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: update to wireless-testing 2017-11-01Felix Fietkau2017-11-1630-1812/+720
| | | | | | | The wireless regdb is now loaded via firmware loading, CRDA support and built-in regdb support have been removed. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* wireless-regdb: add package containing the wireless regulatory databaseFelix Fietkau2017-11-163-0/+298
| | | | | | Installs to /lib/firmware for newer cfg80211 versions Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubus: update to the latest versionFelix Fietkau2017-11-161-3/+3
| | | | | | | | | | | 9c13096 ubus: Remove unnecessary memset calls. 6d1ea6c libubus: Fix deletion from context's object AVL tree when removing object e02813b ubusd: don't free messages in ubus_send_msg() anymore be146ad ubusd: rename goto label from `error` to `out` 27d712d ubusd_monitor: alloc & free the buffer outside of the loop 5f87f54 ubusd: move global retmsg per client Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libnl-tiny: use fixed message size instead of using the page sizeFelix Fietkau2017-11-161-6/+1
| | | | | | Simplifies the code and reduces size Signed-off-by: Felix Fietkau <nbd@nbd.name>
* otrx: always align image to 0x1000Rafał Miłecki2017-11-161-1/+7
| | | | | | | This seems to match what the original trx tool and mjn3's replacement do. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add packaging for mtdoopsJianhui Zhao2017-11-151-0/+14
| | | | Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
* modules: Add kmod-ixgbevf kernel module for Intel(R) 10GbE Virtual Ethernet ↵Chris Blakely2017-11-151-0/+19
| | | | | | | | | | | support These adapters support SR-IOV. Thus the host can assign Virtual Functions (VFs) to different VMs by the PCI-E Passthrough (e.g. VFIO for KVM), to gain different advantages (performance, VF to VF communications, host kernel offload, etc.). Signed-off-by: Chris Blakely <cpblakely@gmail.com>
* packages: nvram: fix memory leak in _nvram_freeZhai Zhaoxuan2017-11-151-0/+4
| | | | | | | The value of nvram_tuple_t is allocated in _nvram_realloc, but it is not freed in _nvram_free. Signed-off-by: Zhai Zhaoxuan <zhaizhaoxuan@xiaomi.com>
* sysupgrade: don't kill our own parentMat Trudel2017-11-151-2/+3
| | | | | | | | Add the parent of the sysupgrade script to the list of pids not getting killed Signed-off-by: Mat Trudel <mat@geeky.net> Signed-off-by: John Crispin <john@phrozen.org>
* hostapd: rework frequency/ht/vht selection for ibss/meshFelix Fietkau2017-11-159-179/+58
| | | | | | | | | | - Remove obsolete patch chunks regarding fixed_freq - Instead of patching in custom HT40+/- parameters, use the standard config syntax as much as possible. - Use fixed_freq for mesh - Fix issues with disabling obss scan when using fixed_freq on mesh Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: don't pass the hostapd ctrl iface in adhocAntonio Quartulli2017-11-151-2/+8
| | | | | | | Passing the ctrl iface to wpa_supplicant will automatically cause wpa_supplicant to send "STOP_AP" messages to the hostapd. This breaks the AP interfaces. Signed-off-by: Antonio Quartulli <ordex@autistici.org>
* hostapd: explicitly set beacon interval for wpa_supplicantSven Eckelmann2017-11-151-0/+1
| | | | | | | | | | | | | | | The beacon_int is currently set explicitly for hostapd and when LEDE uses iw to join and IBSS/mesh. But it was not done when wpa_supplicant was used to join an encrypted IBSS or mesh. This configuration is required when an AP interface is configured together with an mesh interface. The beacon_int= line must therefore be re-added to the wpa_supplicant config. The value is retrieved from the the global variable. Fixes: 1a16cb9c67f0 ("mac80211, hostapd: always explicitly set beacon interval") Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> [rebase]
* hostapd: set mcast_rate in mesh modeSven Eckelmann2017-11-151-0/+68
| | | | | | | | | | | | | | | | | | The wpa_supplicant code for IBSS allows to set the mcast rate. It is recommended to increase this value from 1 or 6 Mbit/s to something higher when using a mesh protocol on top which uses the multicast packet loss as indicator for the link quality. This setting was unfortunately not applied for mesh mode. But it would be beneficial when wpa_supplicant would behave similar to IBSS mode and set this argument during mesh join like authsae already does. At least it is helpful for companies/projects which are currently switching to 802.11s (without mesh_fwding and with mesh_ttl set to 1) as replacement for IBSS because newer drivers seem to support 802.11s but not IBSS anymore. Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com> Tested-by: Simon Wunderlich <simon.wunderlich@openmesh.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [refresh]
* hostapd: refresh ubus patchFelix Fietkau2017-11-151-36/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-envtools: add support for Wallys DR342Piotr Dymacz2017-11-141-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* otrx: add support for -A (append) and -a (align) optionsRafał Miłecki2017-11-141-1/+24
| | | | | | They are inspired and compatible with the original and mjn3's trx tool. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* otrx: optimize memory usage when creating TRX imageRafał Miłecki2017-11-141-14/+7
| | | | | | | | There is no need to allocate buffer as big as the whole image in order to calculate CRC32. It's enough to use small buffer and just read file content block by block. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* otrx: use helper function when checking image's CRC32Rafał Miłecki2017-11-141-7/+3
| | | | | | | | This requires changing this helper to accept initial/current CRC32 value as argument but it allows dropping duplicated (complex?) code calculating the CRC32. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* igmpproxy: remove firewall rules when service is stoppedHans Dedecker2017-11-142-1/+5
| | | | | | | | | Remove multicast routing firewall rules when the igmpproxy is stopped by triggering a firewall config change. Keeping the firewall open from the wan for igmp and udp multicast is not desired when the igmpproxy service is inactive. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* dnsmasq: fix swapped ubus args mac and ipJaroslav Safka2017-11-131-2/+2
| | | | | | | Fix swapped arguments "mac" and "ip" when calling function "ubus_event_bcast". Signed-off-by: Jaroslav Safka <devel@safka.org>
* openvpn: add support to start/stop single instancesMartin Schiller2017-11-132-18/+37
| | | | | Signed-off-by: Martin Schiller <ms@dev.tdt.de> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> (PKG_RELEASE increase)
* rpcd: fix packagelist memory leakDaniel Golle2017-11-131-2/+2
| | | | | | a0231be8fbc61 sys: fix memory leak in packagelist Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* package/elfutils: add CFLAG -Wno-format-nonliteralAlexander Couzens2017-11-131-1/+1
| | | | | | | When a library is using fortify-packages GCC will complain about "error: format not a string literal, argument types not checked". Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* openssl: update to 1.0.2mPeter Wagner2017-11-122-5/+5
| | | | | | | | | | don't set no-ssl3-method when CONFIG_OPENSSL_WITH_SSL3 di disabled otherwise the compile breaks with this error: ../libssl.so: undefined reference to `SSLv3_client_method' Fixes CVE: CVE-2017-3735, CVE-2017-3736 Signed-off-by: Peter Wagner <tripolar@gmx.at>
* rpcd: update to the latest version from 2017-11-12Daniel Golle2017-11-121-3/+3
| | | | | | 4e483312b0216 sys: add packagelist method Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* wireguard: fix portability issueFelix Fietkau2017-11-111-0/+18
| | | | | | | Check if the compiler defines __linux__, instead of assuming that the host OS is the same as the target OS. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* wireguard: move to kernel build directoryFelix Fietkau2017-11-111-1/+1
| | | | | | It builds a kernel module, so its build dir should be target specific Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to latest git HEADJohn Crispin2017-11-101-3/+3
| | | | | | | 7c9aa7c service: add data within the service itself e2b819a service: fix calls to blobmsg_parse() Signed-off-by: John Crispin <john@phrozen.org>
* procd: service_data: Support data within the service itselfPierre Lebleu2017-11-102-0/+19
| | | | | | Use the same approach than the service_triggers for the service_data. Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com>
* layerscape: add ls1012afrdm device supportYangbo Lu2017-11-105-5/+73
| | | | | | | | The QorIQ FRDM-LS1012A Board is an ultra-low-cost development platform for QorIQ LS1012A Series Network Processors built on ARM Cortex-A53 processor. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: enlarge ext4 rootfs size to 30MBYangbo Lu2017-11-104-5/+5
| | | | | | This patch is to enlarge ext4 rootfs size to 30MB. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: add ppa firmware packageYangbo Lu2017-11-101-0/+105
| | | | | | | | | | | | | | This patch is to add PPA (The Primary Protected Application) package and also enable it for all layerscape devices. LSDK github provides ppa source code git tree, but it only could be compiled with 64-bit toolchain. For 32-bit devices, there was no method to use it. https://github.com/qoriq-open-source/ppa-generic This patch is to directly use a private ppa binary tree for both 32-bit and 64-bit devices. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: support LSDK ppfeYangbo Lu2017-11-101-61/+26
| | | | | | | | This patch is to use ppfe git tree on LSDK github instead of private git tree, and support the latest ppfe on ls1012ardb. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: stop pfe before starting up kernelYangbo Lu2017-11-102-3/+3
| | | | | | | For ls1012ardb, pfe should be stopped before starting up kernel. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: update u-boot to LSDK-1709-update-103017 tagYangbo Lu2017-11-102-4/+4
| | | | | | Updated u-boot to LSDK-1709-update-103017 tag. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: use 1GHz CPU fequency for ls1012ardbYangbo Lu2017-11-101-1/+1
| | | | | | Used 1GHz CPU fequency for ls1012ardb instead of 800MHz. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: update rcw to LSDK-17.09-update-103017 tagYangbo Lu2017-11-101-2/+2
| | | | | | Updated rcw to LSDK-17.09-update-103017 tag. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: support LEDE boot for ls1088ardb/ls2088ardbYangbo Lu2017-11-102-0/+112
| | | | | | | Added u-boot patches to support LEDE boot for ls1088ardb and ls2088ardb. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: support all-in-one firmware for ls1088ardb/ls2088ardbYangbo Lu2017-11-102-2/+26
| | | | | | | Suppport all-in-one firmware for ls1088ardb/ls2088ardb by integrating u-boot/rcw/mc/dpl/restool. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: add restool packageYangbo Lu2017-11-1013-0/+794
| | | | | | | | restool is a user space application providing the ability to dynamically create and manage Layerscape DPAA2 containers and objects from Linux. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: add dpl firmware packageYangbo Lu2017-11-101-0/+58
| | | | | | | This patch is to add data path layout files for the second generation Data Path Acceleration Architecture. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: add mc firmware packageYangbo Lu2017-11-101-0/+57
| | | | | | | | This patch is to add package support for Management Complex Firmware for the second generation Data Path Acceleration Architecture. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: move fman/rcw/ppfe packages to layerscape/Yangbo Lu2017-11-104-0/+0
| | | | | | | This patch is to create a layerscape directory for all firmware packages of layerscape. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* rpcd: update to the latest version from 2017-11-09Rafał Miłecki2017-11-091-3/+3
| | | | | | 9a8640183c031 plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: fix getting gid from group_add_nextYousong Zhou2017-11-092-8/+7
| | | | | | | | | | | | Shell function return code only has range [0, 255]. Other values will be truncated, e.g. return 65536 will have the same effect as return 0 While at it, drop other "return $rc" where rc will almost always take value 0 and whose value current callers actually do not check Fixes FS#988 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* functions.sh: fix default_postinst functionMarko Ratkaj2017-11-081-1/+1
| | | | | | | | | | | | | | | | | | When we run "opkg install" on a package that installs an uci-defaults script, functions.sh will fail to evaluate that script in its default_postinst function. This happens because there is no "./" present and it searches for the file in paths specified by the PATH variable. This would work on bash, but it will not work on ash and some other shells like sh, zsh. This applys to the ". filename" directive used in this case. This patch will make the path relative to the /etc/uci-defaults directory. Fixes: FS#1021 Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* ltq-ptm: add missing depency to ltq-?dsl-*-meiJonas Gorski2017-11-071-0/+5
| | | | | | | Add the required dependency to the mei driver as cought by the depenceny checker. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ltq-atm: fix dependency for xrx200Jonas Gorski2017-11-071-1/+1
| | | | | | | Ad the missing dependency for the xrx200 variant, which depends on the vdsl mei driver. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ltq-adsl-mei: use the same file name for all variantJonas Gorski2017-11-073-8/+4
| | | | | | | | | | | Due to limitations in the symvers treatment and the mei drivers exporting the same funtions, modpost might use the wrong mei driver to link against. Work around this by renaming them all to the same name, making it always the "right" module name even if the wrong file was used. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* partially revert "mwlwifi: switch to AutoProbe"Jonas Gorski2017-11-071-1/+1
| | | | | | | | | | | | | Apearently we need to ensure mwlwifi loads before mwifiex on the WRT3200ACM, else mwifiex will claim the wifi. Fix this by reverting to AutoLoad, but keep the removal of mac80211 line. This partially reverts commit 471d5dc6e3c16a2bef9bde2b788b563a00357292. Fixes: 471d5dc6e3c1 ("mwlwifi: switch to AutoProbe") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>