Re: [OpenWrt-Devel] [PATCH 4/5] lantiq/xrx200-net: add FID (filtering identifier) setting

2016-02-18 Thread Martin Schiller
On 02/19/2016 at 6:32 AM, John Crispin wrote: > > > On 18/02/2016 14:13, Martin Schiller wrote: > > By setting the FID of a VLAN group to a value other then the default (0) it > > is possible to switch from Shared VLAN Learning to Independant VLAN > Learning. > > > > and what are the pro / cons of

Re: [OpenWrt-Devel] [PATCH 4/5] lantiq/xrx200-net: add FID (filtering identifier) setting

2016-02-18 Thread John Crispin
On 18/02/2016 14:13, Martin Schiller wrote: > By setting the FID of a VLAN group to a value other then the default (0) it > is possible to switch from Shared VLAN Learning to Independant VLAN Learning. > and what are the pro / cons of doing so ? [...] > +static int xrx200sw_set_vlan_ports(st

Re: [OpenWrt-Devel] [PATCH 0/3 v2] ar71xx: fix imagenames for some TPlink units

2016-02-18 Thread Sven Roederer
Am Wednesday 17 February 2016, 07:49:37 schrieb John Crispin: > this patch seems incomplete. after applying it there are still lots of > images with n(d) behind them. One one side, there are many models around which are "N" or "ND" exclusively. So some of these suffixes are correct. One teh othe

[OpenWrt-Devel] [PATCH v5 8/8] ar71xx: WNR2000v3: enable control of all LEDs and buttons

2016-02-18 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v5 8/8] ar71xx: WNR2000v3: enable control of all LEDs and buttons This patch provides full GPIO support for WNR2000v3 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz --- Change

[OpenWrt-Devel] [PATCH v5 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC

2016-02-18 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v5 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC Fix for invalid/random WLAN MAC address in WNR2000v3. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. Signed-off-by: Michal

Re: [OpenWrt-Devel] [PATCH] mac80211: add packages libertas-spi module and firmware

2016-02-18 Thread Joseph Honold
On 02/18/2016 01:07 PM, Felix Fietkau wrote: > On 2016-02-18 15:29, Joseph Honold wrote: >> This adds option to build kernel module and firmware packages >> for a Marvell 8686 SPI Wireless device >> >> Signed-off-by: Joseph Honold >> --- >> package/firmware/linux-firmware/marvell.mk | 10

Re: [OpenWrt-Devel] [PATCH] mac80211: add packages libertas-spi module and firmware

2016-02-18 Thread Felix Fietkau
On 2016-02-18 15:29, Joseph Honold wrote: > This adds option to build kernel module and firmware packages > for a Marvell 8686 SPI Wireless device > > Signed-off-by: Joseph Honold > --- > package/firmware/linux-firmware/marvell.mk | 10 ++ > package/kernel/mac80211/Makefile | 1

[OpenWrt-Devel] [PATCH 2/2] QMI/NCM/MBIM/DirectIP: Support defaultroute, peerdns, metric

2016-02-18 Thread Bruno Randolf
Add support for options 'defaultroute', 'peerdns' and 'metric' to QMI, NCM, MBIM and DirectIP dynamic dhcp interfaces. Same as for other network interfaces, these options should be respected. This includes the changes from http://patchwork.ozlabs.org/patch/581065/ Signed-off-by: Jakub Janco Sign

[OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

2016-02-18 Thread Bruno Randolf
Huawei HiLink ("h" model names) modems just provide a CDC Ethernet interface where we have to run DHCP to get an IP address (usually in the 192.168.8.0 range). While this may be bad design in general it's sometimes necessary to support these modems. This adds autodetection and handling of these to

Re: [OpenWrt-Devel] [PATCH 2/2] Add support for 'metric' to QMI, NCM, MBIM and DirectIP

2016-02-18 Thread Bruno Randolf
On 02/18/2016 04:43 PM, John Crispin wrote: > ideally this gets handled generically, which wont be easy as these are > all virtual interfaces. maybe if we just add the code in a generic place > rather than duplicate it lots of times. Ideally - yes... but where? Also I don't understand why these h

Re: [OpenWrt-Devel] [PATCH 2/2] Add support for 'metric' to QMI, NCM, MBIM and DirectIP

2016-02-18 Thread John Crispin
On 18/02/2016 17:36, Bruno Randolf wrote: > On 02/18/2016 02:00 PM, Jakub Jančo wrote: >> You should add all important options to networking: >> metric >> defaultroute >> peerdns >> These are important for remote management and dns resolving. >> >> You can see my not yet applied patch >> http://

Re: [OpenWrt-Devel] [PATCH 2/2] Add support for 'metric' to QMI, NCM, MBIM and DirectIP

2016-02-18 Thread Bruno Randolf
On 02/18/2016 02:00 PM, Jakub Jančo wrote: > You should add all important options to networking: > metric > defaultroute > peerdns > These are important for remote management and dns resolving. > > You can see my not yet applied patch http://patchwork.ozlabs.org/patch/581065/ > It works for me. H

[OpenWrt-Devel] [PATCH] mac80211: add packages libertas-spi module and firmware

2016-02-18 Thread Joseph Honold
This adds option to build kernel module and firmware packages for a Marvell 8686 SPI Wireless device Signed-off-by: Joseph Honold --- package/firmware/linux-firmware/marvell.mk | 10 ++ package/kernel/mac80211/Makefile | 15 ++- 2 files changed, 24 insertions(+), 1

Re: [OpenWrt-Devel] [PATCH 2/2] Add support for 'metric' to QMI, NCM, MBIM and DirectIP

2016-02-18 Thread Jakub Jančo
You should add all important options to networking: metric defaultroute peerdns These are important for remote management and dns resolving. You can see my not yet applied patch http://patchwork.ozlabs.org/patch/581065/ It works for me. -- S pozdravom Jakub Janco On Wed, Feb 17, 2016 at 7:21 PM

[OpenWrt-Devel] [PATCH 5/5] lantiq/xrx200-net: change VLAN untagged ports and PVID handling

2016-02-18 Thread Martin Schiller
This patch adds the xrx200sw_set_port_pvid() function and removes the xrx200sw_fixup_pvids() function and the restriction that a switch port can only be an untagged member of one VLAN group. There are situations, where an switch port needs to be a member of multiple VLAN groups without VLAN taggin

[OpenWrt-Devel] [PATCH 4/5] lantiq/xrx200-net: add FID (filtering identifier) setting

2016-02-18 Thread Martin Schiller
By setting the FID of a VLAN group to a value other then the default (0) it is possible to switch from Shared VLAN Learning to Independant VLAN Learning. Signed-off-by: Martin Schiller --- .../0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 39 +- 1 file changed, 38 insertio

[OpenWrt-Devel] [PATCH 3/5] lantiq/xrx200-net: fix VID max value

2016-02-18 Thread Martin Schiller
The correct possible VID range is 0-4095. Signed-off-by: Martin Schiller --- .../lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch

[OpenWrt-Devel] [PATCH 2/5] lantiq/xrx200-net: fix PCE_MAPx handling

2016-02-18 Thread Martin Schiller
Remove unnecessary MPMAP (PCE_MAP1) initialization and make DMCPMAP (PCE_MAP2) and UUCMAP (PCE_MAP3) configurable from user space. Signed-off-by: Martin Schiller --- .../0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 42 ++ 1 file changed, 28 insertions(+), 14 deletions(-)

[OpenWrt-Devel] [PATCH 1/5] lantiq/xrx200-net: Add support for eth0 as WAN interface if the SW_PORTMAP is disabled

2016-02-18 Thread Martin Schiller
Use priv->wan instead of priv->id as indicator if packets should go to the Ethernet WAN group (DPID=1) or not (DPID=0). This way, it's independant of interface names or indexes. Signed-off-by: Martin Schiller --- .../linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 2 +- 1 f

Re: [OpenWrt-Devel] [PATCH v2] CC: ramips: Backport support for Netgear EX2700

2016-02-18 Thread Joseph C. Lehner
This patch adds support for the Netgear EX2700 in Chaos Calmer and builds approriate -sysupgrade and -factory images. Signed-off-by: Joseph C. Lehner --- Changes in v2: * Build -factory and -sysupgrade images diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/rami

Re: [OpenWrt-Devel] [PATCH v8] ramips: build factory images for Netgear EX2700

2016-02-18 Thread Joseph C. Lehner
This patch adds support for building factory and sysupgrade images for the Netgear EX2700 that don't require modification of u-boot environment variables. The bootloader on this device expects the kernel partition to end on a 64k block boundary. The last 64 byte of the kernel partition must conta

Re: [OpenWrt-Devel] [PATCH] [trunk] oldpackages: fix mdk3 build issue

2016-02-18 Thread John Crispin
On 18/02/2016 11:40, Tomislav Požega wrote: > Create a patch that fixes an issue with mdk3 package that would break > build process when enabled with -Werror=format-security message. Closes > ticket https://dev.openwrt.org/ticket/20698 > > Signed-off-by: Tomislav Požega Hi Tomislav, sorry it

Re: [OpenWrt-Devel] [PATCH] [CC] oldpackages: fix mdk3 build issue

2016-02-18 Thread Rafał Miłecki
On 18 February 2016 at 11:38, Tomislav Požega wrote: > Create a patch that fixes an issue with mdk3 package that would break > build process when enabled with -Werror=format-security message. Closes > ticket https://dev.openwrt.org/ticket/20698 There isn't such thing as oldpackages repo for CC re

[OpenWrt-Devel] [PATCH] [trunk] packages: aircrack-ng: fix airmon-ng output in multi bssid mode

2016-02-18 Thread Tomislav Požega
Create a patch that removes the output of unnecessary interface informations which occur if the radio broadcasts more than one ssid to speed up the operation and provide clean output. Also removes scanProcesses function to get rid of the busybox output garbage. Signed-off-by: Tomislav Požega ---

[OpenWrt-Devel] [PATCH] [CC] packages: aircrack-ng: fix airmon-ng output in multi bssid mode

2016-02-18 Thread Tomislav Požega
Create a patch that removes the output of unnecessary interface informations which occur if the radio broadcasts more than one ssid to speed up the operation and provide clean output. Also removes scanProcesses function to get rid of the busybox output garbage. Signed-off-by: Tomislav Požega ---

[OpenWrt-Devel] [PATCH] [trunk] oldpackages: fix mdk3 build issue

2016-02-18 Thread Tomislav Požega
Create a patch that fixes an issue with mdk3 package that would break build process when enabled with -Werror=format-security message. Closes ticket https://dev.openwrt.org/ticket/20698 Signed-off-by: Tomislav Požega --- diff -purN a/feeds/packages/net/aircrack-ng/patches/001-airmon-ng_multi_bss

[OpenWrt-Devel] [PATCH] [CC] oldpackages: fix mdk3 build issue

2016-02-18 Thread Tomislav Požega
Create a patch that fixes an issue with mdk3 package that would break build process when enabled with -Werror=format-security message. Closes ticket https://dev.openwrt.org/ticket/20698 Signed-off-by: Tomislav Požega --- diff -purN a/feeds/packages/net/aircrack-ng/patches/001-airmon-ng_multi_bss

[OpenWrt-Devel] [PATCH] [trunk] ramips: update Xiaomi MiWiFi Mini .dts profile

2016-02-18 Thread Tomislav Požega
Update Xiaomi MiWiFi Mini .dts file with setting read-only flag to u-boot partition. Signed-off-by: Tomislav Požega --- diff -purN a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts --- a/target/linux/ramips/dts/MIWIFI-MINI.dts 2016-02-08 04:57:37.567841929 +01

Re: [OpenWrt-Devel] lantiq/xrx200-net: separate lan and wan ports

2016-02-18 Thread Martin Schiller
On 02/16/2016 at 9:46 AM, Martin Schiller wrote: > On 02/16/2016 at 8:32 AM, Martin Blumenstingl wrote: > > On Tue, Feb 16, 2016 at 8:06 AM, Martin Schiller wrote: > > > Hi! > > > > > > I need to set up the xrx200 switch with one LAN switch part (phy2-phy5) > > and one WAN port (phy1). > > > > > >

[OpenWrt-Devel] [PATCH] [CC] ramips: update Xiaomi MiWiFi Mini .dts profile

2016-02-18 Thread Tomislav Požega
Update Xiaomi MiWiFi Mini .dts file with setting read-only flag to u-boot partition and enabling PA to improve 2.4 GHz signal strength. Signed-off-by: Tomislav Požega --- diff -purN a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts --- a/target/lin

Re: [OpenWrt-Devel] Openwrt AR9344 Factory reset issue

2016-02-18 Thread alzhao
What is the info from uart if you re-power up the device? On Wed, 17 Feb 2016 at 21:38, John kerry wrote: > I have written the mac_address, wifi mac address and Serial number in mtd5 > (ART) successfully as below location : > Mac Address : offset 0x0 > Wi-Fi Mac Address: offset 4098 > Seral numbe

[OpenWrt-Devel] [PATCH] [trunk] ar71xx: fix device names in GL-AR150 and GL-AR300 profiles

2016-02-18 Thread Tomislav Požega
Fix profile names for GL-AR150 and GL-AR300 devices. Signed-off-by: Tomislav Požega --- diff -pur a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh 2016-02-05 08:17:54.907348279 +0100 +++ b/target

[OpenWrt-Devel] [PATCH] [CC] ar71xx: add support for GL devices AR150/AR300/Domino Pi

2016-02-18 Thread Tomislav Požega
Add support for GL-AR150, GL-AR300 and GL-Domino Pi devices. Backported from trunk, tested and working with GL-AR150. Signed-off-by: Tomislav Požega --- diff -purN a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds --- a/target/lin