summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* package: fix segfault of iwinfo.scanlist("radio0").Jo-Philipp Wich2014-08-122-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bug revealed in r41830. First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname() would be zeroed out if the argument is "wlan0" or the like. This will happen in the following call stack. nl80211_get_scanlist("radio0", buf, len); nl80211_phy2ifname("radio0") // return static var nif with content "wlan0" nl80211_get_scanlist(nif, buf, len); // tail call nl80211_get_mode(nif); nl80211_phy2ifname(nif); // zero out nif Later we try nl80211_ifadd("") which was supposed to create interface "tmp.", but that won't happen because nl80211_msg() will put an invalid ifidx 0 to the nlmsg. Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily nl80211_get_scanlist() returned 0 and left *len undefined. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42151
* imx6: update kernel configLuka Perkov2014-08-111-3/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42149
* imx6: kernel: add GW5520 supportLuka Perkov2014-08-118-2/+441
| | | | | | | | | | | | | | | | | | | | | | | | The GW5520 is a small form-factor single-board computer with the following features: * 70x100mm form-factor * IMX6DL 800MHz SoC (IMX6Q optional) * 512MB 32bit DDR3 SDRAM (up to 2GB optional) * 256MB NAND FLASH (up to 2GB optional) * Gateworks System Controller * 2x front-panel Intel i210 GbE adapters with passive PoE support * 2x MiniPCIe sockets with USB support * 2x front-panel USB * 1x rear-panel full-size HDMI connector * 1x front-panel bi-color user LED * 1x front-panel user pushbutton * 1x rear-panel barrel jack for power * 1x Application connector with: * 2x TTL level UARTs * 10x TTL level Digital IO Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42148
* imx6: kernel: add GW16083 Ethernet Expansion Mezzanine supportLuka Perkov2014-08-1110-1/+1862
| | | | | | | | | | | | | | | | The GW16083 Ethernet Expansion Mezzanine adds the following to supported Gateworks baseboards: * 7-port Ethernet Switch * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module) * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected) This series adds support for a phy driver that adds support for ENET5/ENET6 PHY adding initialization for those PHY's and a polling mechanism that detects SFP insertion and configuration. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42147
* imx6: kernel: add GW16082 miniPCI Expansion Mezzanine supportLuka Perkov2014-08-112-0/+114
| | | | | | | | | | The GW16082 miniPCI Expansion Mezzanine has the INTA/B/C/D IRQ's reversed from the PCI standard. This will soon be resolved in the bootloader via devicetree, but in the meantime this will work around the issue. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42146
* imx6: kernel: fix occasional link failureLuka Perkov2014-08-111-0/+38
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42145
* imx6: kernel: backport an upstream pci hang fixLuka Perkov2014-08-111-0/+86
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42144
* bcm53xx: add b43 wifi supportHauke Mehrtens2014-08-112-1/+2
| | | | | | | | Now it is possible to use b43 wifi. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42143
* bcm53xx: remove BCM4360 from PCI idsHauke Mehrtens2014-08-111-2/+1
| | | | | | | | bcma does not support this card and b43 hangs when probing this card. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42142
* mac80211: fix warning with kernel 3.14Hauke Mehrtens2014-08-111-0/+27
| | | | | | | | This fixes a redefinition of net_get_random_once() warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42141
* base-files: /lib/functions/network.sh: fix network_get_ipaddr6Jo-Philipp Wich2014-08-112-2/+13
| | | | | | | | | | | | When looking for the first ipaddr also consider the current prefix just like network_get_ipaddrs6 does. If ipv6-address was empty the function did not return the first ipaddr even if the list was non-empty. fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006 Signed-off-by: Henning Schild <henning@hennsch.de> SVN-Revision: 42139
* firewall: fix potential NULL pointer accessJo-Philipp Wich2014-08-111-2/+2
| | | | | | | | Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42138
* dropbear: update to 2014.65Steven Barth2014-08-115-10/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42131
* add support for the NC-LINK SMART-300Imre Kaloz2014-08-1113-0/+251
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 42130
* brcm63xx: remove now obsolete board fixup codeJonas Gorski2014-08-1166-244/+172
| | | | | | | | | Now that we migrated all users to dtb based detection, we can drop the board fixup code. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42129
* brcm63xx: use dtb board detection for neufbox 4Jonas Gorski2014-08-1148-433/+96
| | | | | | | | This splits up neufbox 4 for now into two images, one for each OEM. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42128
* brcm63xx: use dtb board detection for NB6Jonas Gorski2014-08-1125-47/+44
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42127
* brcm63xx: use dtb board detection for HW556Jonas Gorski2014-08-1121-83/+151
| | | | | | | | | | This requires individual images for each board version for now. Linux partition was shrunk to ensure writing thewrong image won't erase wifi calibration data. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42126
* brcm63xx: replace CFEFIXUP usage with dtb based detectionJonas Gorski2014-08-1156-104/+190
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42125
* brcm63xx: move bcm96328avng to dtb detectionJonas Gorski2014-08-112-3/+12
| | | | | | | | Use appended dtb for board detection for bcm96328avng. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42124
* brcm63xx: add support for registering parallel flash through dtbJonas Gorski2014-08-1122-21/+711
| | | | | | | | | Add the required nodes to the dtsi files and code to prevent double registration from the board support code. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42123
* brcm63xx: add helpers for building cfe images with dtbJonas Gorski2014-08-111-0/+24
| | | | | | | | Add a helper for building images with dtb appended kernels. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42122
* brcm63xx: add support for attaching dtbs to lzma kernelsJonas Gorski2014-08-111-5/+26
| | | | | | | | | | In preparation for switching to dtb based board identification, add support for building lzma-loader and lzma cfe kernels with dtb appended. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42121
* brcm63xx: add empty dtsi files for each of the supported SoCsJonas Gorski2014-08-119-0/+187
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42120
* brcm63xx: add and enable support for loading an appended dtbJonas Gorski2014-08-1168-153/+620
| | | | | | | | | Allow appending a dtb blob to the binary and use it for identifying the board. Fall back to nvram based identification in case of no dtb passed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42119
* brcm63xx: correctly export fallback sprom for brcm-wlJonas Gorski2014-08-111-2/+13
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42118
* brcm63xx: make board patch context less ambiguousJonas Gorski2014-08-1126-29/+85
| | | | | | | | | Make it less likely for quilt/patch to put boards into the "wrong" section. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42117
* brcm63xx: fix board patches offsetsJonas Gorski2014-08-1143-98/+96
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo fix 553-boards_probe_switch.patch] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42116
* firewall: implement selective conntrack flushing (#10225)Jo-Philipp Wich2014-08-111-2/+2
| | | | | | | | | | Utilize the new selective conntrack flushing facility to clear out active conntrack entries referring to old IP addresses after a firewall reload. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42114
* kernel: 3.14: refresh patchesLuka Perkov2014-08-111-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42113
* build: enable PER_FEED_REPO by defaultJo-Philipp Wich2014-08-111-1/+1
| | | | | | | | | Enable the separate feed repositories by default to align custom builds with the repositories available on the snapshot download server. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42112
* hostapd: fix some whitespacesLuka Perkov2014-08-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42111
* brcm63xx: Add fallback sprom for A4001NJonas Gorski2014-08-102-3/+10
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42110
* brcm63xx: Add fallback sprom for HG520vJonas Gorski2014-08-103-4/+11
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42109
* brcm63xx: Add fallback sprom for P870HW-51aJonas Gorski2014-08-104-5/+12
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42108
* brcm63xx: Add fallback sprom for VR-3025unJonas Gorski2014-08-105-6/+24
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42107
* brcm63xx: Add fallback sprom for VR-3025uJonas Gorski2014-08-106-10/+28
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42106
* brcm63xx: Add fallback sprom for WAP-5813nJonas Gorski2014-08-107-8/+26
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42105
* brcm63xx: Add fallback sprom for AR-5381uJonas Gorski2014-08-1024-57/+75
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42104
* brcm63xx: Add fallback sprom for AR-5387unJonas Gorski2014-08-1025-56/+92
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42103
* brcm63xx: Add fallback sprom for A4001N1Jonas Gorski2014-08-1026-54/+61
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42102
* brcm63xx: Add fallback sprom for CT6373Jonas Gorski2014-08-1025-38/+45
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42101
* brcm63xx: Add fallback sprom for CT5365Jonas Gorski2014-08-1037-65/+72
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42100
* brcm63xx: Add fallback sprom for CT5361_CT5621Jonas Gorski2014-08-1039-69/+76
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42099
* brcm63xx: Add fallback sprom for Huawei HG553Jonas Gorski2014-08-1045-87/+94
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42098
* brcm63xx: Fix fallback sprom il0macJonas Gorski2014-08-107-9/+9
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42097
* netfilter: consider reply direction on selective flushingJo-Philipp Wich2014-08-106-36/+54
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42095
* netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13Jo-Philipp Wich2014-08-102-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42093
* netfilter: support /proc conntrack flushing of specific ip addressesJo-Philipp Wich2014-08-096-60/+282
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42092
* build: fix removal of old .ipk files with CONFIG_PER_FEED_REPOJo-Philipp Wich2014-08-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42090