Compare commits

..

625 Commits

Author SHA1 Message Date
Sachin Singla
6c808aeec3 change hash of ifbt package 2018-08-31 14:05:06 +02:00
Sachin Singla
1b255c5aa7 change package name to ifbt 2018-08-31 13:54:53 +02:00
Sachin Singla
d061bb78ba fix build issues in fbt package 2018-08-28 15:03:46 +02:00
Sachin Singla
af87a3305f fbt package 2018-08-27 16:47:22 +02:00
Sachin Singla
b7eeed044f new package for fbt 2018-08-27 16:14:44 +02:00
Sukru Senli
e8cf33b544 Merge remote-tracking branch 'origin/devel' 2017-12-27 12:07:48 +01:00
Sukru Senli
fb983f5dbc questd: imonitor: bring down and up the wireless radios when bsd or acsd crashes 2017-12-22 15:21:30 +01:00
Sukru Senli
676e40a0cc voice-client depend on asterisk13 or asterisk18-mod 2017-12-22 14:28:38 +01:00
Sukru Senli
215274ef98 tptest: remove tptest.bredband.net from list 2017-12-20 19:20:49 +01:00
Erik Horemans
02ca863b23 new ice-client 5.0.1-RC1 2017-12-20 13:53:51 +01:00
Reidar Cederqvist
6f86f000b1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b279429 fix empty client list on wl1 when wl0 is disabled ref #13485
* 1c47a44 change strndup to strdup to avoid warnings
-------------------------------------------------------------------------------
commit b2794295fdf9469b6cd8ba1544f291d4b83a7d5a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-15 11:33:13 +0100

    fix empty client list on wl1 when wl0 is disabled ref #13485

Base directory -> /
 network.c |  5 +++--
 port.c    | 17 +++++++++++++++++
 port.h    |  1 +
 3 files changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 1c47a44bfcb863319282900446bf20965c9eccbc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-15 11:24:01 +0100

    change strndup to strdup to avoid warnings

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-12-15 11:34:14 +01:00
Sukru Senli
8506eed1e4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4bbcb4d network: handle rssi for repeated arp clients
-------------------------------------------------------------------------------
commit 4bbcb4d2f8c901c18cdf4456e65497975e03fada
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-13 17:39:02 +0100

    network: handle rssi for repeated arp clients

Base directory -> /
 network.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-12-13 17:40:02 +01:00
Sukru Senli
53b3f486bd questd: imonitor: do not restart quest if lan ifname is missing or is bridge 2017-12-13 13:38:22 +01:00
Sukru Senli
e31e5f32da questd-3.1.40 2017-12-13 13:11:50 +01:00
Reidar Cederqvist
26c2dae0c9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b4b9988 questd: improve parsing
* 9e98e21 questd: get nvram Hardware Version value
* 875d5fe fix c99 warning
* 2711c6b questd: print rssi value from extender
* f62075b questd: get rssi value from extender
* cd39df6 add missing close for ioctl socket
-------------------------------------------------------------------------------
commit b4b99885bea425f552e8a844ff2f15e2d4672c65
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100

    questd: improve parsing

Base directory -> /
 dumper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 9e98e21a84347b3d77a5ae44fb2fc783c7bb77dd
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 16:27:27 +0100

    questd: get nvram Hardware Version value

Base directory -> /
 dumper.c | 20 ++++++++++++++++++++
 system.c |  5 +++++
 system.h |  1 +
 3 files changed, 26 insertions(+)
-------------------------------------------------------------------------------
commit 875d5fe069d178ecb1b4b9bca78aba90691afc12
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-30 16:13:31 +0100

    fix c99 warning

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 2711c6b34357ea25abe08d43612347f6e0c4b5b2
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:37:56 +0100

    questd: print rssi value from extender

Base directory -> /
 network.c | 30 +++++++++++++++++++-----------
 network.h |  7 ++++++-
 2 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit f62075bd509755052e6006db9e901476145500db
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:35:06 +0100

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit cd39df609dcb7f824f50d4d544ac5247bcd85b3f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-04 12:47:24 +0100

    add missing close for ioctl socket

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-12-07 15:48:04 +01:00
Erik Horemans
2f2d88f770 new ice-client ice-client 5.0.1-RC0 2017-12-05 16:34:25 +01:00
Ionut-Alex Oprea
540b09e26b imonitor: increase questd memory limit to 20MB refs #13511 2017-12-05 14:24:40 +01:00
Robin Stjerndorff
001c25ee12 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 16cb4dd questd: improve parsing
* 312ca10 questd: get nvram Hardware Version value
* 824c247 fix c99 warning
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
-------------------------------------------------------------------------------
commit 16cb4dda3909efef54b84d44fa11dc28f9763c8c
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100

    questd: improve parsing

Base directory -> /
 dumper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 312ca10075347ea1ca4d4a051d079ff5643a934e
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 16:27:27 +0100

    questd: get nvram Hardware Version value

Base directory -> /
 dumper.c | 20 ++++++++++++++++++++
 system.c |  5 +++++
 system.h |  1 +
 3 files changed, 26 insertions(+)
-------------------------------------------------------------------------------
commit 824c24781123b0cc83216486732e5a03823ec5ed
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-30 16:13:31 +0100

    fix c99 warning

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 83a7011877b6a7b1dcbcfd925037ffd77de5165f
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:37:56 +0100

    questd: print rssi value from extender

Base directory -> /
 network.c | 30 +++++++++++++++++++-----------
 network.h |  7 ++++++-
 2 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit b554abd3fa7e0898095bfb575803081f716d3723
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:35:06 +0100

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-12-04 17:27:22 +01:00
Sukru Senli
d30348fb43 questd-3.1.39 2017-11-29 17:26:18 +01:00
Sukru Senli
636648a34f icwmp-3.0-2017-11-24 2017-11-29 17:19:16 +01:00
Sukru Senli
5dc5355632 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
* 10cba85 Define missing variable
-------------------------------------------------------------------------------
commit 83a7011877b6a7b1dcbcfd925037ffd77de5165f
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:37:56 +0100

    questd: print rssi value from extender

Base directory -> /
 network.c | 30 +++++++++++++++++++-----------
 network.h |  7 ++++++-
 2 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit b554abd3fa7e0898095bfb575803081f716d3723
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:35:06 +0100

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 10cba850fb80668502ca5ce0bc57533089062741
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-11-23 16:14:17 +0100

    Define missing variable

Base directory -> /
 port.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-11-29 17:13:08 +01:00
Sukru Senli
76f2740a29 questd: imonitor: check lan network only if it exits 2017-11-28 16:14:38 +01:00
Sukru Senli
7a6dc0eb84 questd: imonitor: check ubus call with longer invervals 2017-11-24 16:14:10 +01:00
Sukru Senli
5f75567e4b questd: imonitor: restart questd if ports info is missing 2017-11-24 10:08:55 +01:00
Ionut-Alex Oprea
42a8a0c073 /etc/init.d/quest: remove unneeded code 2017-11-22 16:47:30 +01:00
Sukru Senli
c40ed94c31 layer2interface: enable V43 tone set for GFAST 2017-11-21 10:53:10 +01:00
Kenneth Johansson
783880f6e8 genconfig: add hpc_hu02 board. 2017-11-17 15:49:43 +01:00
Sukru Senli
35b77f688d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bc34921 mediatek: trigger auto channel selection based on busy time
-------------------------------------------------------------------------------
commit bc34921baff1f6bc9d76920d8863010fa6b4e3cd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-17 09:28:55 +0100

    mediatek: trigger auto channel selection based on busy time

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-11-17 09:29:26 +01:00
Jonas Höglund
d32c9061ef Extract core packages 2017-11-15 16:34:43 +01:00
Sukru Senli
38b76deb5e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 053c721 wificontrol: do not run ApCliAutoConnect during wifi reload and wps
-------------------------------------------------------------------------------
commit 053c7218371b036976917e531fa1772d63b00dd3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-14 16:58:51 +0100

    wificontrol: do not run ApCliAutoConnect during wifi reload and wps

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-14 16:59:14 +01:00
Sukru Senli
d62d6167cb icwmp-3.0-2017-11-14 2017-11-14 16:45:01 +01:00
Sukru Senli
df6596d7d5 icwmp-3.0-2017-11-13 2017-11-13 18:09:34 +01:00
Sukru Senli
799c1c5aa3 ice-client: make sure ice-client password is always set to be WPAKEY 2017-11-10 14:22:30 +01:00
Sukru Senli
97d0f55d16 iop: genconfig: continue with common settings if board profile does not exist for the customer 2017-11-09 16:33:53 +01:00
Sukru Senli
cd8af291b1 Update feed [ feed_inteno_packages ] package [ loop-detector ]
-------------------------------------------------------------------------------
* d0fb770 update .gitignore
* 8e010ba use uint8_t instead of u_int8_t
-------------------------------------------------------------------------------
commit d0fb770eacd6691b98df138b60f5116e02f71a9b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-07 16:37:21 +0100

    update .gitignore

Base directory -> /
 .gitignore | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 8e010bac8a84812221bd8c5abbea46a624685ee8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-07 16:36:39 +0100

    use uint8_t instead of u_int8_t

Base directory -> /
 mac_ethernet.c | 2 +-
 mac_ethernet.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-07 16:37:49 +01:00
Ronny Nilsson
6526877731 samba2: fix build in Debian 9
Tune compiler CFLAGS. Samaba2 otherwise won't build on a
Debian 9 system. The flags should be backwards compatible
as well.
2017-11-07 13:48:42 +01:00
Sukru Senli
05eb2b020d iop: compile loop-detector as module 2017-11-06 17:02:25 +01:00
Sukru Senli
6a6d30cd77 inteno-netmodes: mtk routed mode omcproxy config 2017-11-06 15:37:53 +01:00
Sukru Senli
ef8f558dd4 inteno-netmodes: reload network when switched to repeater mode via WebGUI 2017-11-06 15:36:37 +01:00
Robin Stjerndorff
f93d57d7f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 1fa7794 broadcom: proper flag parsing for VHT capabilities
* a75e33a system: show hardware name instead of hardwaremodel in router.system
* 5c1edef network: test connection of client via arping if bridge timer aging reached 30
* 5b1324d network: do not work on client array directly
* 78c4d67 broadcom: show correct maxrate for 80MHz
* bb65654 network: give ipaddr and network for disconnect clients
* 945be06 port: change to a quicker port validation function ref #13044
* 1e2b4d3 port: TEMPORARY fix for eg300 wan slowing down port calls
* 8cfa617 port: fix incorrect string comparison
* 0b3e3b4 port: fixe typo and redirect stderr to stdout ref #13044
* abad9c8 port: update logic for getting port-speed ref #13044
* 9d4cb92 change strcpy to strncpy
-------------------------------------------------------------------------------
commit 1fa7794590ca938f1dffc77048610f68e5386a68
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-06 10:35:28 +0100

    broadcom: proper flag parsing for VHT capabilities

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a75e33ae0f0b3abad6cdc6086c4feb9d5feb58a8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 15:29:47 +0100

    system: show hardware name instead of hardwaremodel in router.system

Base directory -> /
 dumper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5c1edef2de5bf95b0e3468a5aa9c2d5cfc14d485
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 14:20:57 +0100

    network: test connection of client via arping if bridge timer aging reached
    30

Base directory -> /
 network.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 5b1324d5650edaf2a82acaa71d568dd6586a24cc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 10:47:02 +0100

    network: do not work on client array directly

Base directory -> /
 network.c | 203 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 101 insertions(+), 102 deletions(-)
-------------------------------------------------------------------------------
commit 78c4d67209287f40fd8bc78dbcea662dafd04050
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-01 18:22:17 +0100

    broadcom: show correct maxrate for 80MHz

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bb656543d0775057247c8b1e3048157121e0f399
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-18 14:58:05 +0200

    network: give ipaddr and network for disconnect clients

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 945be064408d5c6c1f1dfd34453d81657b8e1b87
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:15:33 +0200

    port: change to a quicker port validation function ref #13044

    and made default up to true for non eth devidces in ports call

Base directory -> /
 port.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 1e2b4d3bb447f0249e81e4df36e8ad0b5c6195c6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:13:48 +0200

    port: TEMPORARY fix for eg300 wan slowing down port calls

Base directory -> /
 port.c | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 8cfa6179b00e5a1278271cd48559d6bcd5829d46
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 17:09:55 +0200

    port: fix incorrect string comparison

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 0b3e3b4350d9c7d5250eff7e52a22dcb2aef514a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 14:32:50 +0200

    port: fixe typo and redirect stderr to stdout ref #13044

Base directory -> /
 port.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit abad9c874b47e366384f2751a9ab846223bf7b5e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 13:24:15 +0200

    port: update logic for getting port-speed ref #13044

Base directory -> /
 port.c | 133 ++++++++++++++++++++++++++++-------------------------------------
 1 file changed, 57 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
commit 9d4cb9218fa75b4d4c091449fcd65c60d50e6caf
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-10-02 12:19:32 +0200

    change strcpy to strncpy

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-06 10:36:58 +01:00
Reidar Cederqvist
9fec27da40 inteno-netmodes: removed dbug message from repeater ubus script 2017-11-03 13:08:20 +01:00
Sukru Senli
a64ff3c8a7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a75e33a system: show hardware name instead of hardwaremodel in router.system
-------------------------------------------------------------------------------
commit a75e33ae0f0b3abad6cdc6086c4feb9d5feb58a8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 15:29:47 +0100

    system: show hardware name instead of hardwaremodel in router.system

Base directory -> /
 dumper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-02 15:30:04 +01:00
Sukru Senli
0c178377f6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5c1edef network: test connection of client via arping if bridge timer aging reached 30
* 5b1324d network: do not work on client array directly
-------------------------------------------------------------------------------
commit 5c1edef2de5bf95b0e3468a5aa9c2d5cfc14d485
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 14:20:57 +0100

    network: test connection of client via arping if bridge timer aging reached
    30

Base directory -> /
 network.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 5b1324d5650edaf2a82acaa71d568dd6586a24cc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 10:47:02 +0100

    network: do not work on client array directly

Base directory -> /
 network.c | 203 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 101 insertions(+), 102 deletions(-)
-------------------------------------------------------------------------------
2017-11-02 14:21:47 +01:00
Sukru Senli
28825b6078 loop-detector: add trigger for correct config file 2017-11-02 11:46:38 +01:00
Sukru Senli
991927899d loop-detector: hook it up to openwrt init and uci structure 2017-11-02 11:36:53 +01:00
Sukru Senli
541715b927 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 78c4d67 broadcom: show correct maxrate for 80MHz
-------------------------------------------------------------------------------
commit 78c4d67209287f40fd8bc78dbcea662dafd04050
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-01 18:22:17 +0100

    broadcom: show correct maxrate for 80MHz

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-11-01 18:30:36 +01:00
Omar
54df72b3cc Ticket refs #11405: EX400: some packages are not available because they do not compile 2017-11-01 17:03:44 +01:00
Sukru Senli
1570a91c9c voice-client: fix erros during reload 2017-11-01 16:45:03 +01:00
Sukru Senli
509d9dfca8 loop-detector package 2017-11-01 13:58:19 +01:00
Sukru Senli
bd6352dfcb Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 959eca8 button: do not add buttons to ubus
-------------------------------------------------------------------------------
commit 959eca8ab2b50eaccfff9c710cffe5b317bb6ad1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-23 13:45:36 +0200

    button: do not add buttons to ubus

Base directory -> /
 src/button.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-23 13:46:02 +02:00
Anjan Chanda
0d9c49ac5e Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* a67f5cc mtk-bndstrg: handle sticky clients
-------------------------------------------------------------------------------
commit a67f5ccdf9bc6810f15f1ece9edaad5e89cad0f7
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-10-18 19:49:33 +0530

    mtk-bndstrg: handle sticky clients

Base directory -> /
 bndstrg.c | 214 ++++++++++++++++++++++++++++++++++++++++----------------------
 bndstrg.h |   3 +
 2 files changed, 141 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
2017-10-18 20:33:36 +05:30
Sukru Senli
8b0263ed90 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bb65654 network: give ipaddr and network for disconnect clients
-------------------------------------------------------------------------------
commit bb656543d0775057247c8b1e3048157121e0f399
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-18 14:58:05 +0200

    network: give ipaddr and network for disconnect clients

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-18 14:58:47 +02:00
Sukru Senli
05490cbfc2 icwmp-3.0-2017-10-14 2017-10-16 15:42:14 +02:00
Omar
ac773f5bc3 Ticket refs #13024:
EX400 does not have any wandevice config in the datamodel in extender mode
2017-10-16 15:41:42 +02:00
Reidar Cederqvist
6e64075198 10-switch: fix for EG300 wan port ref #13048 2017-10-13 10:36:23 +02:00
Reidar Cederqvist
8b211d1fa9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 945be06 port: change to a quicker port validation function ref #13044
* 1e2b4d3 port: TEMPORARY fix for eg300 wan slowing down port calls
-------------------------------------------------------------------------------
commit 945be064408d5c6c1f1dfd34453d81657b8e1b87
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:15:33 +0200

    port: change to a quicker port validation function ref #13044

    and made default up to true for non eth devidces in ports call

Base directory -> /
 port.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 1e2b4d3bb447f0249e81e4df36e8ad0b5c6195c6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:13:48 +0200

    port: TEMPORARY fix for eg300 wan slowing down port calls

Base directory -> /
 port.c | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-10-12 11:49:35 +02:00
Reidar Cederqvist
a224f4ccd8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8cfa617 port: fix incorrect string comparison
-------------------------------------------------------------------------------
commit 8cfa6179b00e5a1278271cd48559d6bcd5829d46
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 17:09:55 +0200

    port: fix incorrect string comparison

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-11 17:13:31 +02:00
Reidar Cederqvist
8bd23fa7e1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0b3e3b4 port: fixe typo and redirect stderr to stdout ref #13044
-------------------------------------------------------------------------------
commit 0b3e3b4350d9c7d5250eff7e52a22dcb2aef514a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 14:32:50 +0200

    port: fixe typo and redirect stderr to stdout ref #13044

Base directory -> /
 port.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-10-11 14:33:03 +02:00
Erik Horemans
3252f728d8 new ice-client R5.0.0-RC8 2017-10-11 14:23:04 +02:00
Reidar Cederqvist
c11422844c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* abad9c8 port: update logic for getting port-speed ref #13044
* 9d4cb92 change strcpy to strncpy
-------------------------------------------------------------------------------
commit abad9c874b47e366384f2751a9ab846223bf7b5e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 13:24:15 +0200

    port: update logic for getting port-speed ref #13044

Base directory -> /
 port.c | 133 ++++++++++++++++++++++++++++-------------------------------------
 1 file changed, 57 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
commit 9d4cb9218fa75b4d4c091449fcd65c60d50e6caf
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-10-02 12:19:32 +0200

    change strcpy to strncpy

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-10-11 13:44:31 +02:00
Erik Horemans
273ba35ae8 new ice-client 5.0.0-RC7 2017-10-04 16:32:29 +02:00
Kenneth Johansson
64259f47bb Add broadcom 963138REF reference board. 2017-10-04 14:18:03 +02:00
Jonas Höglund
0133c2f23e Install endpt utility to target 2017-10-04 14:00:51 +02:00
Jonas Höglund
3292b0e782 Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 837ec19 Set countries from brcm_countries.h
-------------------------------------------------------------------------------
commit 837ec19e37650e424e77c921672a0806e198ba7b
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-10-03 15:37:20 +0200

    Set countries from brcm_countries.h

Base directory -> /
 src/Makefile | 29 +----------------------------
 src/endpt.c  |  1 +
 src/main.c   |  7 ++++---
 3 files changed, 6 insertions(+), 31 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
4f78d16f9a Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 5202450 Only signal dialtone once
* 80a6420 Dialtone
* 2b6571d Ringing
* 09cf2ef Create connection
* 3f84f6b Shut down cleanly
* bbcb279 Get nr of endpoints
* c903329 Only initialize the SLIC:s
* b833e8a Create endpoints
* 8fd381a Init endpoint
-------------------------------------------------------------------------------
commit 520245066af315dde9009cd26a306f223c4a8961
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-10-02 17:30:12 +0200

    Only signal dialtone once

Base directory -> /
 src/endpt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 80a642078d1a097f19d52b149601604756021927
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 17:46:06 +0200

    Dialtone

Base directory -> /
 src/endpt.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 2b6571dbef4f8876ad10e142f27ec2b88b7ff549
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 17:31:10 +0200

    Ringing

Base directory -> /
 src/endpt.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 09cf2ef441d108e53bef812f4e4383e12db0d827
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 16:48:38 +0200

    Create connection

Base directory -> /
 src/endpt.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 81 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 3f84f6b7d00bdda5bd9f2de055fcf33f9af4c932
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 14:09:24 +0200

    Shut down cleanly

Base directory -> /
 src/endpt.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit bbcb279a85e48b4eb033fbf86401ad3def1658dc
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 11:35:39 +0200

    Get nr of endpoints

Base directory -> /
 src/endpt.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit c9033292674abc478b7bd2c70619af74426c8e9f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 10:45:30 +0200

    Only initialize the SLIC:s

Base directory -> /
 src/endpt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b833e8ac64167933c998468d1bfd77eb40661cb4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-27 17:55:20 +0200

    Create endpoints

Base directory -> /
 src/endpt.c | 9 +++++++++
 1 file changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 8fd381ae3ddc1218aadf95b86f1da5f0563221a6
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-27 17:15:58 +0200

    Init endpoint

Base directory -> /
 src/Makefile |  1 +
 src/endpt.c  | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
dc23894ad1 Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 4dd8c50 Endpoint init
* 88bff50 Add endpt test app
* c669442 Detect offhook
* a6dc78d Set up polling
-------------------------------------------------------------------------------
commit 4dd8c50ab8f107bd757ff7ece5f6c17b790201b3
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-26 14:52:48 +0200

    Endpoint init

Base directory -> /
 src/Makefile | 67 ++++++++++++++++++++++++++----------------------------------
 src/endpt.c  | 17 ++++++++++++++-
 2 files changed, 45 insertions(+), 39 deletions(-)
-------------------------------------------------------------------------------
commit 88bff50b4f9a11556a00dd9a6237af4e48751b4e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-22 16:21:57 +0200

    Add endpt test app

Base directory -> /
 src/Makefile |  6 ++++++
 src/endpt.c  | 11 +++++++++++
 2 files changed, 17 insertions(+)
-------------------------------------------------------------------------------
commit c669442f060ee302c5e50d6d0a941a38528e4e87
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-22 16:20:24 +0200

    Detect offhook

Base directory -> /
 src/main.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a6dc78d915b726a3804d2572a80247f6a2adf2ea
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-20 09:53:07 +0200

    Set up polling

Base directory -> /
 src/main.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 65 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
22c139da7b Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* c3e574f We don't seem to need to enable slics
* a01ac94 Power on slic
* 09eb0d3 Init slic
-------------------------------------------------------------------------------
commit c3e574fab047a95893e1b8526c65656bb05684b5
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 17:05:35 +0200

    We don't seem to need to enable slics

Base directory -> /
 src/main.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a01ac94ff6b8ce391a451fd4a5316dc45b1f2870
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 16:43:43 +0200

    Power on slic

Base directory -> /
 src/main.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
-------------------------------------------------------------------------------
commit 09eb0d33e15a2a4f369fe02b7af02b8e4187729f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 14:52:28 +0200

    Init slic

Base directory -> /
 src/Makefile | 44 +++++++++++++++++++++++++++++++++++++++++++-
 src/main.c   | 30 +++++++++++++++++++++++++++++-
 2 files changed, 72 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
9af7c41588 Add new brcmslic package 2017-10-04 12:36:53 +02:00
Sukru Senli
9948080efe Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7964428 network: overwrite macaddress of repeated clients and tag them as repeated
* 2ed8d81 Revert "remove the duplicate clients that have half mac mangled by the repeater"
* 5c7f00e remove the duplicate clients that have half mac mangled by the repeater
-------------------------------------------------------------------------------
commit 7964428754135891ce3a88c0ad6f8c44033dfb0e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-02 10:25:11 +0200

    network: overwrite macaddress of repeated clients and tag them as repeated

Base directory -> /
 network.c | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2ed8d8165fe7e7c65c052de1285f6d914755da49
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-29 18:34:16 +0200

    Revert "remove the duplicate clients that have half mac mangled by the
    repeater"

    This reverts commit 5c7f00e565a29eb2f9b3ccdc8107a5a86d0aebd4.

Base directory -> /
 network.c | 28 +---------------------------
 1 file changed, 1 insertion(+), 27 deletions(-)
-------------------------------------------------------------------------------
commit 5c7f00e565a29eb2f9b3ccdc8107a5a86d0aebd4
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-29 15:45:51 +0200

    remove the duplicate clients that have half mac mangled by the repeater

Base directory -> /
 network.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-02 11:38:55 +02:00
Ionut-Alex Oprea
170264bc5d Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* ece0282 fix memory leak
-------------------------------------------------------------------------------
commit ece02822d74c2d9e4be4ebd3ebef4e4a3f57e05d
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 19:29:27 +0200

    fix memory leak

Base directory -> /
 src/catv.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-09-28 19:30:51 +02:00
Ionut-Alex Oprea
5373a52046 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4806a53 fix errors reported by cppcheck
*   f77f333 Merge branch 'bridge_port_no' into devel
|\
| * 677bd87 use the bridge and bridge_port structures to find where the clients are connected
| * a3af3da add _get functions for bridge and bridge_port
| * 28a5d50 load the bridges information on startup
| * 82cae47 release the mutex for the bridges
| * 9eab326 fix the bridge_port cleanup
| * ad66e16 fix the code for the lists
| * 55eb4c6 make the code compile
| * 0f2d19e fixed some bugs
| * eafd6e3 debug print
| * 64c8d51 trigger the bridges_load
| * d5d5f41 fix errors reported by checkpatch.pl
| * 108129e bridge_port functions
| * 99e0bd6 more work on the bridge
| * 2cb1cb0 working on bridge ports etc.
|/
* 2270bc8 fix ws error
* 08e8d5e use only one curly bracket in #if so the editors don't get confused
* 542b049 remove redundant variable
-------------------------------------------------------------------------------
commit 4806a53412b7368dd9b46c2c0ae3f4601dad6493
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 18:39:23 +0200

    fix errors reported by cppcheck

Base directory -> /
 broadcom.c |  4 ++--
 dropbear.c | 10 +++++-----
 dumper.c   |  2 +-
 port.c     | 12 +++++++-----
 wps.c      |  4 ++--
 5 files changed, 17 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit f77f333032cf23c1ead28b8efb497cac04f6d060
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 18:23:34 +0200

    Merge branch 'bridge_port_no' into devel

Base directory -> /
 network.c |  18 ++---
 port.c    | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 port.h    |  42 +++++++++++
 questd.c  |   1 +
 4 files changed, 302 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 677bd87f53d4016fa6539f524e01abff8da1a7da
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:37:21 +0200

    use the bridge and bridge_port structures to find where the clients are
    connected

Base directory -> /
 network.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit a3af3da42c67765eb5765527148057464f408a5c
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:36:04 +0200

    add _get functions for bridge and bridge_port

Base directory -> /
 port.c | 28 ++++++++++++++++++++++++++++
 port.h |  4 ++++
 2 files changed, 32 insertions(+)
-------------------------------------------------------------------------------
commit 28a5d503c19d3831bdfa6474b34a2fd89295f056
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:35:14 +0200

    load the bridges information on startup

Base directory -> /
 questd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 82cae47ca0b607d67d774ffd9d0b02aed2e46818
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:47:26 +0200

    release the mutex for the bridges

Base directory -> /
 port.c | 14 +++++++-------
 port.h |  5 +++--
 2 files changed, 10 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 9eab326f6a4536af92c1081c49db81a44fbced7b
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:34:10 +0200

    fix the bridge_port cleanup

Base directory -> /
 port.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit ad66e16811f3793dff88524ce83ee7abae4237dd
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:27:52 +0200

    fix the code for the lists

Base directory -> /
 port.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 55eb4c6cf4227ad70a3f4ff1c04e65f07733d90d
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 17:37:23 +0200

    make the code compile

Base directory -> /
 port.c | 17 +++++++++--------
 port.h |  4 ++--
 2 files changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0f2d19e976bd285ddeb94a85404990c7630a8c01
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 16:26:52 +0200

    fixed some bugs

Base directory -> /
 port.c | 34 +++++++++++++++++-----------------
 port.h |  7 ++++---
 2 files changed, 21 insertions(+), 20 deletions(-)
-------------------------------------------------------------------------------
commit eafd6e391ebadee424d8144ce754b2a2c4df47b4
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:16:13 +0200

    debug print

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 64c8d518d5c4cbc8ab846018672fd7215130611b
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:15:51 +0200

    trigger the bridges_load

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit d5d5f41aa51533911665bd0a3117d62289aaec82
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:00:30 +0200

    fix errors reported by checkpatch.pl

Base directory -> /
 port.c | 17 +++++++++--------
 port.h | 10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 108129e41d0c37646c62597c422ad4298ce2d780
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 13:51:19 +0200

    bridge_port functions

Base directory -> /
 port.c | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++---------------
 port.h |   5 ++-
 2 files changed, 121 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
commit 99e0bd6acff2f4f2826c44b782b1006b642a7891
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-26 16:43:02 +0200

    more work on the bridge

Base directory -> /
 port.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++-------------------
 port.h |  15 +++++++
 2 files changed, 128 insertions(+), 47 deletions(-)
-------------------------------------------------------------------------------
commit 2cb1cb01d5f7bb9714c5209907ad801927239e02
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-21 17:10:18 +0200

    working on bridge ports etc.

Base directory -> /
 port.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 port.h | 18 +++++++++++++++++
 2 files changed, 90 insertions(+)
-------------------------------------------------------------------------------
commit 2270bc854bcddd4ec5c531ed2e9264938dd75ef7
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:57:05 +0200

    fix ws error

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 08e8d5ee3fd19ab10acec4bf0b0436a511d90828
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:56:38 +0200

    use only one curly bracket in #if so the editors don't get confused

Base directory -> /
 network.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 542b0497aa088ce202e34f092e78a677f81cbd20
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:42:26 +0200

    remove redundant variable

Base directory -> /
 network.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-28 19:08:03 +02:00
Sukru Senli
4e26e587b4 icwmp-3.0-2017-09-28 2017-09-28 16:25:40 +02:00
Kenneth Johansson
529dad8737 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 6be24af Wrong variable used for storing string.
-------------------------------------------------------------------------------
commit 6be24afc3c0422815ddd30f07811ee3eae3a9154
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-28 14:48:26 +0200

    Wrong variable used for storing string.

Base directory -> /
 src/button.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-28 14:48:52 +02:00
Kenneth Johansson
9df7cab0b4 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* f502d1b Add support for y3 images.
* 21fa9cc rename y2image command to yimage
-------------------------------------------------------------------------------
commit f502d1b589f14142bf7d7719e8434014f180d03f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:22:33 +0200

    Add support for y3 images.

Base directory -> /
 board/inteno/ex400/ex400_setup            |  4 +-
 board/inteno/ex400/httpd.c                |  2 +-
 board/inteno/ex400/production/ex400_setup |  4 +-
 board/inteno/ex400/y_image.c              | 65 +++++++++++++++++++++++--------
 4 files changed, 53 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 21fa9cc7a1ccd18e83e7803e01de4c162d2731b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:21:01 +0200

    rename y2image command to yimage

Base directory -> /
 board/inteno/ex400/Makefile   |   2 +-
 board/inteno/ex400/y2_image.c | 219 ----------------------------------------
 board/inteno/ex400/y_image.c  | 225 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 226 insertions(+), 220 deletions(-)
-------------------------------------------------------------------------------
2017-09-27 18:26:21 +02:00
Kenneth Johansson
cf1a476161 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 5eaa810 Prevent adding the same button twice.
* d9307f7 if config read from /lib/db/config/hw then do not allow any changes.
* a930a09 Read button config from two places.
-------------------------------------------------------------------------------
commit 5eaa810747ec7c130df2a2e6ac3a1df664c8f06b
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 19:02:20 +0200

    Prevent adding the same button twice.

Base directory -> /
 src/button.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit d9307f796d8b30170fdff7451c4efc35ed3cd428
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:54:53 +0200

    if config read from /lib/db/config/hw then do not allow any changes.

Base directory -> /
 src/button.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a930a095a0f2f4a338de846fd5a01de609588365
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:40:05 +0200

    Read button config from two places.

    First read /lib/db/config/hw then /etc/config/button

Base directory -> /
 src/button.c | 317 ++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 182 insertions(+), 135 deletions(-)
-------------------------------------------------------------------------------
2017-09-27 17:01:24 +02:00
Ke Hu
fa7a3e02eb revert changes about LED
delete the file , do not need it any more
2017-09-22 13:39:55 +02:00
Reidar Cederqvist
fe23056560 inteno-netmode: support netmode-conf without band (apply to both) ref #12898 2017-09-21 14:01:48 +02:00
ke.hu
7b1f241dda arm platform led set
disable arm board eg400, dg400 led blinking
2017-09-21 12:05:05 +02:00
Sukru Senli
53ba69c31a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a8d02b0 router.network: do not show repeated clients with all true
-------------------------------------------------------------------------------
commit a8d02b0010b637d50f02a4a7cf33a9fcda0f0aab
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-21 10:43:19 +0200

    router.network: do not show repeated clients with all true

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-21 10:43:38 +02:00
ke.hu
889a681b57 led config fix
setting led for all mips platform based on BCM
2017-09-21 10:04:58 +02:00
Erik Horemans
8239f1d6ec new ice-client 5.0.0-RC6 2017-09-21 09:24:21 +02:00
ke.hu
0899b8c4ab Led blinking stop
stop sw controlled blinking before peripheral manager take control
2017-09-21 09:16:55 +02:00
Sukru Senli
53985c2411 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 112d30f router.network: all true: consider the case if uplink is wireless
-------------------------------------------------------------------------------
commit 112d30f92fdaa1617d843dbaab26845039c40ce6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 18:03:33 +0200

    router.network: all true: consider the case if uplink is wireless

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 18:03:53 +02:00
Sukru Senli
a90ba2106c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e54d40f router.network: all true filter dumps only physically connected devices
-------------------------------------------------------------------------------
commit e54d40f1f96f70104c5d42549fae91bd7298e29f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 16:39:26 +0200

    router.network: all true filter dumps only physically connected devices

Base directory -> /
 network.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 16:43:21 +02:00
Reidar Cederqvist
e21dbcb787 inteno-netmodes: netmode-conf now only deletes correct wifi-ifaces 2017-09-20 11:00:11 +02:00
Sukru Senli
f61a0528f1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7c05f36 graphd: iface_traffic: change to tx = downstream, rx = upstream
* 33225dd mediatek: remove channels 116=> from chanlist
-------------------------------------------------------------------------------
commit 7c05f3629207b591714d3dd229a7b3f9b0b7a7d4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 09:18:26 +0200

    graphd: iface_traffic: change to tx = downstream, rx = upstream

Base directory -> /
 graphd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 33225dd3ebd69142928dae174c08b639c92a68e1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-19 11:54:37 +0200

    mediatek: remove channels 116=> from chanlist

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 09:19:47 +02:00
Reidar Cederqvist
a6ed988d81 Revert "inteno-netmode: remove some unused code"
This reverts commit 9162bd9515.
2017-09-20 09:11:29 +02:00
Reidar Cederqvist
9162bd9515 inteno-netmode: remove some unused code 2017-09-19 17:33:33 +02:00
Sukru Senli
e29a0c8b55 inteno-netmodes: wireless config: 2.4G radio in automode by default 2017-09-19 16:39:28 +02:00
Sukru Senli
57cd21ac6f layer2interface: add VDSL 35b support 2017-09-19 16:29:03 +02:00
Sukru Senli
73ecd33a20 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 33225dd mediatek: remove channels 116=> from chanlist
-------------------------------------------------------------------------------
commit 33225dd3ebd69142928dae174c08b639c92a68e1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-19 11:54:37 +0200

    mediatek: remove channels 116=> from chanlist

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-19 11:55:19 +02:00
Sukru Senli
9456c26510 layer2interface: anywan priority ptm>atm>eth 2017-09-19 09:19:28 +02:00
Anjan Chanda
ab9ec9002b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 1e38a65 wireless: mtk: fix channel bandwidth reporting
* 9cb2602 show macaddress of client for client move events
* 9641e64 port.c: fix port status call for eg400
* 069a557 init bluf after loading dsl stats
* f1bb6a5 check bridge index correctly for eth connected devices
* bb8fdf1 router.network: clients method can show all discoverd devices with all filter
* f2d8588 wireless: mtk: fix tx/rx data rates and counters
* de2fe8a wireless: mtk rai0 is AC
* 96477c3 port: add up to all ports when router.ports status is called without argument
-------------------------------------------------------------------------------
commit 1e38a650e55e3a5316272d9d2bd809bff3af1bbf
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-09-15 16:22:45 +0530

    wireless: mtk: fix channel bandwidth reporting

Base directory -> /
 mediatek.c | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 9cb26024d8dd608c4763386d124ab4eb2cde84bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-15 09:32:27 +0200

    show macaddress of client for client move events

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9641e647099660df80e829e1bd5ece92d1271c11
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-09-06 09:37:33 +0200

    port.c: fix port status call for eg400

Base directory -> /
 port.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 069a557d47e239ee09d559c37ae8dd617b577bc5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 17:42:33 +0200

    init bluf after loading dsl stats

Base directory -> /
 dsl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit f1bb6a5e799ed209a61f754f825f8bd2cb892193
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 11:31:44 +0200

    check bridge index correctly for eth connected devices

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit bb8fdf1286bd4ec0375c01c69cd9fdc1a48b6310
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 15:44:18 +0200

    router.network: clients method can show all discoverd devices with all
    filter

Base directory -> /
 network.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 network.h |  1 +
 2 files changed, 62 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit f2d85888a980cb8a30f9a0a497a7bfecadf42edb
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-08-23 19:44:02 +0530

    wireless: mtk: fix tx/rx data rates and counters

Base directory -> /
 mediatek.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 mediatek.h |  45 ++++++++----
 2 files changed, 267 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit de2fe8abc0187f1ae9710b472c43c401404df16b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-23 10:54:40 +0200

    wireless: mtk rai0 is AC

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 96477c386daec724d2d59a0ccdb9660492bc3673
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:56:39 +0200

    port: add up to all ports when router.ports status is called without
    argument

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2017-09-15 16:57:53 +05:30
Sukru Senli
7afb317d39 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9cb2602 show macaddress of client for client move events
-------------------------------------------------------------------------------
commit 9cb26024d8dd608c4763386d124ab4eb2cde84bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-15 09:32:27 +0200

    show macaddress of client for client move events

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-15 09:48:10 +02:00
Reidar Cederqvist
688df72baa inteno-netmode: fixe so that all wifi-ifac is deleted as they should 2017-09-14 10:22:42 +02:00
Erik Horemans
d000b5e27b new ice-client R5.0.0-RC4 2017-09-12 10:06:02 +02:00
Sukru Senli
3287ffb8d0 icwmp-3.0-2017-09-08 2017-09-11 16:30:07 +02:00
Erik Horemans
6e150e61fe new ice-client R5.0.0-RC3 2017-09-08 10:02:50 +02:00
Sukru Senli
40510c4d74 icwmp-3.0-2017-09-06 2017-09-07 09:01:22 +02:00
Sukru Senli
de73749392 inteno-netmodes: compare with correct mode 2017-09-06 12:28:22 +02:00
Reidar Cederqvist
7f0409a57a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9641e64 port.c: fix port status call for eg400
-------------------------------------------------------------------------------
commit 9641e647099660df80e829e1bd5ece92d1271c11
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-09-06 09:37:33 +0200

    port.c: fix port status call for eg400

Base directory -> /
 port.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-06 09:39:54 +02:00
Reidar Cederqvist
79a8179842 port_management: fix for eg400, need testing 2017-09-05 15:32:33 +02:00
Sukru Senli
a537a7e3f3 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 7606d45 conf_backup: rm -> rm -f
-------------------------------------------------------------------------------
commit 7606d45f5faf3348f84f9a290d22855ba5664d21
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-04 16:04:56 +0200

    conf_backup: rm -> rm -f

Base directory -> /
 scripts/functions/conf_backup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-05 15:20:36 +02:00
Sukru Senli
16a037f596 inteno-netmodes: stop omcproxy in repeater mode 2017-09-05 09:36:50 +02:00
Erik Horemans
8a7ebb7354 new ice-client R5.0.0-RC2 2017-09-04 16:22:27 +02:00
Sukru Senli
43750b3ac6 icwmp-3.0-2017-08-28 2017-09-04 09:45:13 +02:00
Erik Horemans
67cb7c766d correct package version ice-client 2017-09-04 09:40:42 +02:00
Reidar Cederqvist
cd378fd709 iop: added juci-ice-client to iop default config 2017-08-31 16:04:44 +02:00
Sukru Senli
8d281e2060 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 069a557 init bluf after loading dsl stats
-------------------------------------------------------------------------------
commit 069a557d47e239ee09d559c37ae8dd617b577bc5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 17:42:33 +0200

    init bluf after loading dsl stats

Base directory -> /
 dsl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-08-30 17:43:10 +02:00
Erik Horemans
910cda2b26 new ice-client R5.0.0-RC1 2017-08-30 16:10:01 +02:00
Sukru Senli
b7dd3bf6ad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f1bb6a5 check bridge index correctly for eth connected devices
-------------------------------------------------------------------------------
commit f1bb6a5e799ed209a61f754f825f8bd2cb892193
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 11:31:44 +0200

    check bridge index correctly for eth connected devices

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-08-30 12:57:51 +02:00
Sukru Senli
60980ab5a0 inteno-netmodes: make netmode-discover executable 2017-08-28 18:08:21 +02:00
Sukru Senli
c1b5bb5e7a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bb8fdf1 router.network: clients method can show all discoverd devices with all filter
* f2d8588 wireless: mtk: fix tx/rx data rates and counters
-------------------------------------------------------------------------------
commit bb8fdf1286bd4ec0375c01c69cd9fdc1a48b6310
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 15:44:18 +0200

    router.network: clients method can show all discoverd devices with all
    filter

Base directory -> /
 network.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 network.h |  1 +
 2 files changed, 62 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit f2d85888a980cb8a30f9a0a497a7bfecadf42edb
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-08-23 19:44:02 +0530

    wireless: mtk: fix tx/rx data rates and counters

Base directory -> /
 mediatek.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 mediatek.h |  45 ++++++++----
 2 files changed, 267 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
2017-08-28 17:27:10 +02:00
Sukru Senli
8ecc76b8d6 inteno-netmodes: netmode-discover functionality for discovering devices in repeater mode 2017-08-28 17:25:41 +02:00
Sukru Senli
bb6b71445c fping: add package 2017-08-28 16:23:19 +02:00
Jonas Höglund
b1ee0e5e43 Fix mtk-bndstrg build failure 2017-08-28 13:07:13 +02:00
Sukru Senli
8a7c1d05b4 icwmp-3.0-2017-08-25 2017-08-28 12:57:40 +02:00
Jonas Höglund
26f704b4d2 Add dg400primeb board 2017-08-25 09:51:16 +02:00
Omar
555ee900cb TR064 for openwrt: release 1.0 2017-08-23 17:18:37 +01:00
Sukru Senli
64c24f263d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* de2fe8a wireless: mtk rai0 is AC
* 96477c3 port: add up to all ports when router.ports status is called without argument
-------------------------------------------------------------------------------
commit de2fe8abc0187f1ae9710b472c43c401404df16b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-23 10:54:40 +0200

    wireless: mtk rai0 is AC

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 96477c386daec724d2d59a0ccdb9660492bc3673
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:56:39 +0200

    port: add up to all ports when router.ports status is called without
    argument

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2017-08-23 10:58:30 +02:00
Sukru Senli
e3386e918f Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
2017-08-22 11:45:21 +02:00
Sukru Senli
d7f5399107 icwmp-3.0-2017-08-21 2017-08-22 10:10:18 +02:00
Sukru Senli
e98cbe3873 inteno-netmodes: add bandsteering and apsteering sections to wireless configs 2017-08-22 09:57:01 +02:00
Sukru Senli
f0e4f6a835 iop: config: select ppptp 2017-08-21 15:55:49 +02:00
Reidar Cederqvist
6afd37f4d1 inteno-netmodes: added firewall reload to 01-netmode-handler hotplug/iface script 2017-08-18 17:18:07 +02:00
Sukru Senli
9d249ca9ef icwmp-3.0-2017-08-10 2017-08-14 13:33:16 +02:00
Kenneth Johansson
b44a150c97 genereate_tarballs: check for the correct name. 2017-08-09 13:30:58 +02:00
Kenneth Johansson
8e5040c66a change name of bcmopen tar file. 2017-08-08 17:10:09 +02:00
Kenneth Johansson
4eefa9129a add f104 card 2017-08-07 16:54:34 +02:00
Erik Horemans
5c267b8d63 new ice-client R4.4.0-RC9 2017-07-25 13:24:31 +02:00
Jonas Höglund
159449d6fe Always set DEVEL=y
We need this for the LOCALMIRROR variable to be set correctly by defconfig.
2017-07-17 11:25:55 +02:00
Anjan Chanda
1efd84e640 Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* dc542ed mtk-bndstrg: remove 'bndstrg' executable from git control
* 77f0c67 mtk-bndstrg: add more debug messages
* 7563a42 mtk-bndstrg: cleanup and refactor periodic exec loop
* 22161ce mtk-bndstrg: don't lookup nvram to decide clients' connection
* 91ae9ce mtk-bndstrg: enhance dynamic steering between 2.4G and 5G
* a531de6 mtk-bndstrg: fix client's state in DEFAULT_5G condition check
* 017d440 mtk-bndstrg: fix client's state checking in update_entry
* 135215d mtk-bndstrg: consider total frames in BAND_PERSIST decision
* 286fd5d mtk-bndstrg: change Hold time and low Rssi threshold default values
* 22fabf5 mtk-bndstrg: pass updated Control_Flags in CLI_ADD msg
* cd248e3 mtk-bndstrg: Skip checking nss and load-balance rules
* 22a9ab8 mtk-bndstrg: don't exit daemon prematurely
* da5014c mtk-bndstrg: change 'TableIndex' data type
* a1c0eda mtk-bndstrg: initialize bndstrg message buffers to zero
* cf9bd08 mtk-bndstrg: add improved debug messages
* 4f5528e mtk-bndstrg: improve debugging macros
* 484923b mtk-bndstrg: Update code to version bndstrg_5030
-------------------------------------------------------------------------------
commit dc542ed2f07ee0ff6966d498665c1d4ea571f06e
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:39:22 +0530

    mtk-bndstrg: remove 'bndstrg' executable from git control

Base directory -> /
 bndstrg | Bin 163132 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit 77f0c676a4e6c694869f69f0c26ccc5ebc0c27a2
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:36:21 +0530

    mtk-bndstrg: add more debug messages

Base directory -> /
 bndstrg.c | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 7563a429c249dcca4278d71425b0915cfc290045
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:34:43 +0530

    mtk-bndstrg: cleanup and refactor periodic exec loop

Base directory -> /
 bndstrg.c | 84 +++++++++++++++++++++++++--------------------------------------
 1 file changed, 33 insertions(+), 51 deletions(-)
-------------------------------------------------------------------------------
commit 22161cedb798f089037240605512d085e5a2fdcc
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:29:15 +0530

    mtk-bndstrg: don't lookup nvram to decide clients' connection

Base directory -> /
 bndstrg.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 91ae9ce4615d2927d4c6e67f8846333ffd766334
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:21:53 +0530

    mtk-bndstrg: enhance dynamic steering between 2.4G and 5G

Base directory -> /
 bndstrg.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 bndstrg.h |  2 ++
 2 files changed, 60 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit a531de6e3cc226567476e0321c56fede7d069fc8
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:16:24 +0530

    mtk-bndstrg: fix client's state in DEFAULT_5G condition check

Base directory -> /
 bndstrg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 017d4403923544c7f987e69ad24930b70d0c1b26
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:14:08 +0530

    mtk-bndstrg: fix client's state checking in update_entry

Base directory -> /
 bndstrg.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 135215d98dd0b1eca4b55dddf42e44c6779a5fe2
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:11:03 +0530

    mtk-bndstrg: consider total frames in BAND_PERSIST decision

Base directory -> /
 bndstrg.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 286fd5d32526217109b2064abbdedd13db67b185
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 15:02:31 +0530

    mtk-bndstrg: change Hold time and low Rssi threshold default values

Base directory -> /
 bndstrg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 22fabf524f6101eb3ed12ff1adf2d3d10fe5528f
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:58:56 +0530

    mtk-bndstrg: pass updated Control_Flags in CLI_ADD msg

Base directory -> /
 driver_wext.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit cd248e3aadba9568ccdb9531fe1335a575d0f39d
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:54:01 +0530

    mtk-bndstrg: Skip checking nss and load-balance rules

Base directory -> /
 bndstrg.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 22a9ab84a142aae28ca35aaff2443a125aa6422b
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:21:24 +0530

    mtk-bndstrg: don't exit daemon prematurely

Base directory -> /
 bndstrg.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit da5014ce87587c075a557f20d9743b67b243487c
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:16:03 +0530

    mtk-bndstrg: change 'TableIndex' data type

Base directory -> /
 bndstrg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit a1c0eda897f20b26b86e4a2a587e639b98480d24
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:08:00 +0530

    mtk-bndstrg: initialize bndstrg message buffers to zero

Base directory -> /
 bndstrg.c     | 2 +-
 driver_wext.c | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit cf9bd084b06e55bfcee30e967450dbe8880fb718
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:59:57 +0530

    mtk-bndstrg: add improved debug messages

Base directory -> /
 bndstrg.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 72 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 4f5528e88cd4606043ff7346f5e398dfd6b99a04
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:43:59 +0530

    mtk-bndstrg: improve debugging macros

Base directory -> /
 bndstrg.c |  5 +++++
 debug.h   | 27 +++++++++++++++++++++++++++
 main.c    |  5 ++++-
 3 files changed, 36 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 484923b663d03a61a198bcde3cf5364ab08d0ace
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:28:17 +0530

    mtk-bndstrg: Update code to version bndstrg_5030

Base directory -> /
 bndstrg       |  Bin 160584 -> 163132 bytes
 bndstrg.c     | 1046 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 bndstrg.h     |  140 ++++++--
 debug.h       |    2 +-
 driver.h      |    2 +
 driver_wext.c |   34 +-
 main.c        |    4 +-
 7 files changed, 1141 insertions(+), 87 deletions(-)
-------------------------------------------------------------------------------
2017-07-13 15:22:03 +05:30
Sukru Senli
d41add13ac icwmp-3.0-2017-07-10 2017-07-12 10:23:32 +02:00
Sukru Senli
e9cfdefff4 iop: genconfig: remove build_dir not found warning 2017-07-12 10:17:44 +02:00
Reidar Cederqvist
6a685d0806 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4f85e35 port: fixe critical bug in ports call
-------------------------------------------------------------------------------
commit 4f85e35bf0d8c13e7760b644b7779ced95802f8e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:48:27 +0200

    port: fixe critical bug in ports call

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 14:48:51 +02:00
Reidar Cederqvist
cd7b729f54 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ece2add ports: port status with bridge whithout valid uplink port now fail
* 38df11e network/arping: remove warnign from arping fuctionality
* f480efe port/network: fixed bug introduced in last commit
* a37af52 port: added up: true/false to port status call
* 3bb7c24 netchec: arping device support
-------------------------------------------------------------------------------
commit ece2add7b87212c1fe93487405584d65ca665839
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 12:15:55 +0200

    ports: port status with bridge whithout valid uplink port now fail

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 38df11e6d8a3d1b302dbf0648b734221ad8aada3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 12:01:42 +0200

    network/arping: remove warnign from arping fuctionality

Base directory -> /
 arping.c   | 2 +-
 netcheck.c | 6 +++---
 network.c  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit f480efe542b3253a90d461907fb9433d16ae3885
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:38:47 +0200

    port/network: fixed bug introduced in last commit

Base directory -> /
 network.c | 6 +++---
 port.c    | 5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit a37af52a10639171eb486de31c57583b335646ac
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:18:31 +0200

    port: added up: true/false to port status call

Base directory -> /
 port.c | 21 +++++++++++++++------
 port.h |  2 +-
 2 files changed, 16 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 3bb7c24f9bba9a94d5e701906191ccb610302254
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 10:43:02 +0200

    netchec: arping device support

Base directory -> /
 netcheck.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 12:16:10 +02:00
Reidar Cederqvist
d8f01e711e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f480efe port/network: fixed bug introduced in last commit
-------------------------------------------------------------------------------
commit f480efe542b3253a90d461907fb9433d16ae3885
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:38:47 +0200

    port/network: fixed bug introduced in last commit

Base directory -> /
 network.c | 6 +++---
 port.c    | 5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 11:39:23 +02:00
Reidar Cederqvist
9189f9d140 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a37af52 port: added up: true/false to port status call
* 3bb7c24 netchec: arping device support
-------------------------------------------------------------------------------
commit a37af52a10639171eb486de31c57583b335646ac
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:18:31 +0200

    port: added up: true/false to port status call

Base directory -> /
 port.c | 21 +++++++++++++++------
 port.h |  2 +-
 2 files changed, 16 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 3bb7c24f9bba9a94d5e701906191ccb610302254
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 10:43:02 +0200

    netchec: arping device support

Base directory -> /
 netcheck.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 11:19:53 +02:00
Kenneth Johansson
519be9e690 genconfig: ignore missing files.
Do not print out error if the files do not exist.
2017-07-07 15:00:52 +02:00
Ronny Nilsson
32398552f4 busybox: some of the kernel module loading utilities
were missing. Half of them were enabled, why not all?
2017-07-07 13:43:36 +02:00
Sukru Senli
94995450c1 iop: genconfig: do not attempt to clone if no access to customerconfigs 2017-07-06 14:19:24 +02:00
Alex Oprea
69f4f58cbd iop: ssh_sysupgrade_latest: accept y3 2017-07-05 15:18:50 +02:00
Sukru Senli
3a4ec3b3c0 inteno-netmodes: bring uplink wifi interface up/down if broadcom 2017-07-05 15:05:16 +02:00
Kenneth Johansson
5d88a8b6d1 correct variable name. 2017-07-05 13:45:33 +02:00
Sukru Senli
62797342b9 inteno-netmodes: reload questd network after changing mode 2017-07-04 13:50:45 +02:00
Sukru Senli
acc3be969d ice-client: set passwords via uci 2017-07-04 13:40:05 +02:00
Kenneth Johansson
62d773656c Add Gfast option parsing. 2017-07-03 17:02:54 +02:00
Reidar Cederqvist
e023750469 layer2: add 10-switch file to fix wan-vlan creation 2017-07-03 09:47:34 +02:00
Reidar Cederqvist
610011e141 inteno-netmode: netmode-conf: fixed bug if mode is default empty 2017-06-30 14:54:51 +02:00
Sukru Senli
5583da3e36 icwmp-3.0-2017-06-30 2017-06-30 12:01:07 +02:00
Reidar Cederqvist
0729f895e9 questd: added fix-commit for broadcom builds 2017-06-30 10:55:39 +02:00
Reidar Cederqvist
5626fa7cfd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8cd6282 wps: fixed missing if statement
-------------------------------------------------------------------------------
commit 8cd6282bf92a6aec34351069a524d3a0ac5f12f8
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-30 10:33:20 +0200

    wps: fixed missing if statement

Base directory -> /
 wps.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-06-30 10:33:54 +02:00
Reidar Cederqvist
ce51bfebef inteno-netmodes: do not copy configs if curmode hasn't changed 2017-06-30 08:59:48 +02:00
Reidar Cederqvist
850a4981bc Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 92f918d cleaned up the code and fixed warnings
* b1341a6 inbd: wps on success starts a timer that if it fires sets leds.wps to off
-------------------------------------------------------------------------------
commit 92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:25:57 +0200

    cleaned up the code and fixed warnings

Base directory -> /
 src/inbd.c | 94 +++++++++++++++++++++++++++++---------------------------------
 1 file changed, 44 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
commit b1341a60ab2f890aaf092be924b8059c35a4c794
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:22:05 +0200

    inbd: wps on success starts a timer that if it fires sets leds.wps to off

Base directory -> /
 src/inbd.c | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-30 08:58:28 +02:00
Reidar Cederqvist
583cf0e706 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6e8b8c wps: remove setpin and showpin functionality from mediatek
* e8bbdf6 wps: updated checkpin function to use internal math
-------------------------------------------------------------------------------
commit a6e8b8c6c63edc095a3f6d3c99093ca2650b04ee
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-30 08:12:18 +0200

    wps: remove setpin and showpin functionality from mediatek

    untill propperly tested

Base directory -> /
 wps.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit e8bbdf6b8a0112641bc82b4ebd94bfad6acbedfd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-29 11:17:07 +0200

    wps: updated checkpin function to use internal math

Base directory -> /
 wps.c | 66 +++++++++++++++++++++---------------------------------------------
 1 file changed, 21 insertions(+), 45 deletions(-)
-------------------------------------------------------------------------------
2017-06-30 08:58:23 +02:00
Reidar Cederqvist
4735181dca questd: updated questd to latest version 2017-06-29 11:02:55 +02:00
Sukru Senli
dbdbc2b7f8 iop: genconfig: allow giving another repo than customerconfigs with -r option 2017-06-29 10:43:41 +02:00
Alex Oprea
c70ba67607 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 41d5633 wps: addjust the status codes so that the gui does not show \"switching to repeater\"
-------------------------------------------------------------------------------
commit 41d563397f936dd7dd6db13d07e44ed9ef86f62a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-28 15:56:24 +0200

    wps: addjust the status codes so that the gui does not show \"switching to
    repeater\"

Base directory -> /
 wps.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-06-28 15:57:38 +02:00
Alex Oprea
98175e38c4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 81990b3 add even more "inteno" macs/altered macs
* f9a661b wps: fixed router.wps satus on mediatek
* 72b54f3 mediatek: added wl_get_wps_status function
-------------------------------------------------------------------------------
commit 81990b3d4a1510e8f995d253ee47bbc445e1feac
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-28 14:22:09 +0200

    add even more "inteno" macs/altered macs

Base directory -> /
 tools.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit f9a661bbd47358cb42cdca6ec4ae5643f824f809
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 10:54:19 +0200

    wps: fixed router.wps satus on mediatek

Base directory -> /
 wps.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 72b54f3aa8b1793f9129a2374010c2ff871f5e82
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 10:52:11 +0200

    mediatek: added wl_get_wps_status function

Base directory -> /
 mediatek.c | 64 ++++++++++++++++++++++++++++++++++----------------------------
 mediatek.h |  1 +
 2 files changed, 36 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
2017-06-28 14:23:24 +02:00
Sukru Senli
c0bf1be7c1 Revert "inteno-netmodes: prevent fake mode switching"
This reverts commit c730387f5c.
2017-06-27 13:49:01 +02:00
Reidar Cederqvist
48195b582f Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d053cd4 broadcom.c: changed the wl_get_channel function to use wl_get_bssinfo
-------------------------------------------------------------------------------
commit d053cd4c3411dfc064b5996826420f18a21bc10f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-26 13:15:37 +0200

    broadcom.c: changed the wl_get_channel function to use wl_get_bssinfo

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-26 13:19:18 +02:00
Sukru Senli
da4d852b6e inteno-netmodes: allow user to select repeater mode 2017-06-26 11:41:28 +02:00
Sukru Senli
c730387f5c inteno-netmodes: prevent fake mode switching 2017-06-23 16:50:57 +02:00
Sukru Senli
8bc349b6ef Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 08af87d wificontrol: run apcliconnect very 80 seconds
-------------------------------------------------------------------------------
commit 08af87d010d4e5e1a2d6af1bbfc942ae2f52ab5f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-23 13:07:04 +0200

    wificontrol: run apcliconnect very 80 seconds

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-06-23 13:07:51 +02:00
Sukru Senli
dde575f5ea inteno-netmode: flash leds only when changing mode or being configured by master 2017-06-23 11:49:01 +02:00
Alex Oprea
cedf5fb32b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 45b38f4 network: create a cache for arp
-------------------------------------------------------------------------------
commit 45b38f40e020a6811916afabdb54b100d0659437
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-22 21:29:21 +0200

    network: create a cache for arp

Base directory -> /
 network.c | 13 ++++++++++++-
 tools.c   | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools.h   |  7 +++++++
 3 files changed, 78 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-22 23:04:31 +02:00
Sukru Senli
2f45a2dc44 inteno-netmodes: add new macaddr to inteno MACs 2017-06-22 18:57:15 +02:00
Alex Oprea
9fd2bfd613 imonitor: set the limit memory for questd at 15MB 2017-06-22 16:37:59 +02:00
Kenneth Johansson
e04a8f0f98 Build natalie-dect single threaded. for real this time. 2017-06-22 16:36:41 +02:00
Sukru Senli
ab34a5ba66 inteno-netmodes: netmode-client-detect: put timed_check to background 2017-06-22 15:25:31 +02:00
Sukru Senli
5c312b3d84 inteno-netmodes: netmode-client-detect subsutition syntax fix 2017-06-22 15:11:15 +02:00
Sukru Senli
425bbafd83 inteno-netmodes: netmode-client-detect: use the last customer network 2017-06-22 15:08:05 +02:00
Sukru Senli
92e23a0bfc inteno-netmodes: netmode-client-detect: do not run timed_check in background 2017-06-22 15:05:17 +02:00
Alex Oprea
34472e7e46 inteno netmodes: fix indentation 2017-06-22 15:01:58 +02:00
Alex Oprea
c9e26055b6 inteno netmodes: generate the creds file before sending it 2017-06-22 15:01:58 +02:00
Alex Oprea
6d38f1ed82 inteno-netmodes: fix the ubus listen call not to end after 30s 2017-06-22 15:01:58 +02:00
Alex Oprea
162f0d444f inteno-netmodes: fix typo 2017-06-22 15:01:58 +02:00
Sukru Senli
cbd72e53d6 icwmp-3.0-2017-06-22 2017-06-22 14:54:54 +02:00
Sukru Senli
3b8f38808d iup: convert DESKEY to HEX format 2017-06-22 12:02:04 +02:00
Jonas Höglund
863eb435a4 Revert "Do not touch boardparams for now"
This reverts commit e50f074740.
2017-06-22 11:08:41 +02:00
Jonas Höglund
e50f074740 Do not touch boardparams for now 2017-06-22 10:32:50 +02:00
Alex Oprea
9c3e1dfc4b inteno-netmodes: flush the ips on br-lan, just in case 2017-06-21 19:27:06 +02:00
Jonas Höglund
4b717763af Build natalie-dect single threaded 2017-06-21 16:23:26 +02:00
Jonas Höglund
d765337e57 Revert "Add natalie-dect as dependency for dectmngr2"
This reverts commit e4b24fda80.
2017-06-21 14:17:28 +02:00
Sukru Senli
e81fd8d0aa iup: fix uci syntax 2017-06-21 13:40:44 +02:00
Sukru Senli
9d0d899f53 iup: use correct uci syntax 2017-06-21 13:19:37 +02:00
Sukru Senli
4ece106cf4 inteno-netmodes: remove F104W from netmodes 2017-06-21 11:38:16 +02:00
Sukru Senli
7e2645e9a4 layer2interface: use hasEthWan to determine if the board has ETH WAN port 2017-06-21 10:29:10 +02:00
Sukru Senli
9e2b2866ef Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ce16dd5 wificontrol: better handling of leds
-------------------------------------------------------------------------------
commit ce16dd5fabc97f7ea937e0be3eb9c7bda1f1eb0f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-21 09:31:03 +0200

    wificontrol: better handling of leds

Base directory -> /
 wificontrol.c | 66 ++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 47 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
2017-06-21 09:32:19 +02:00
Sukru Senli
0a4ddf27e3 inteno-netmodes: ex400 routed mode reboot 0 2017-06-20 18:27:34 +02:00
Jonas Höglund
e4b24fda80 Add natalie-dect as dependency for dectmngr2 2017-06-20 16:40:52 +02:00
Alex Oprea
526051018f iup: ping the name server if the default gateway does not respond 2017-06-19 17:45:11 +02:00
Jonas Höglund
13e2f6a252 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 064c9c3 Shorter timeout after upgrading rescue image
* 008997a Add -f option to rescue command.
* a9619c7 Rescue mode has to reset boot counters.
-------------------------------------------------------------------------------
commit 064c9c30ff159c9bf3fa695baddd54279cd0f062
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-06-19 17:16:48 +0200

    Shorter timeout after upgrading rescue image

Base directory -> /
 board/inteno/ex400/httpd.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 008997a8a559978870849dc82fc6ced4c2eaaa59
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 15:09:22 +0200

    Add -f option to rescue command.

    This allows it to run without having to push the reset button.

Base directory -> /
 board/inteno/ex400/board.c | 53 +++++++++++++++++++++++++++++++++++-----------
 1 file changed, 41 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit a9619c7110586089dc3f9b72391e467e1f40d309
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 14:58:24 +0200

    Rescue mode has to reset boot counters.

Base directory -> /
 board/inteno/ex400/httpd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-06-19 17:20:08 +02:00
Jonas Höglund
53398998c2 Force update of uboot 2017-06-19 17:19:18 +02:00
Sukru Senli
364b8483df layer2interface: brcmwifi: set wps_oob_configured to 1 in nvram 2017-06-19 10:07:44 +02:00
Sukru Senli
32573cfa8e inteno-netmodes: blink leds when switching between extender-repeater modes 2017-06-18 16:34:24 +02:00
Sukru Senli
ff051a6aab Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9493935 mediatek: show encryption correctly for extra SSIDs
-------------------------------------------------------------------------------
commit 9493935b0dea50f372c293aebc8f2d4031765443
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-18 15:48:38 +0200

    mediatek: show encryption correctly for extra SSIDs

Base directory -> /
 mediatek.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-18 15:48:51 +02:00
Sukru Senli
885baef845 inteno-netmodes: make sure netmode-handler and netmode-conf do not try to switch mode simultaneously 2017-06-18 15:05:51 +02:00
Sukru Senli
e9d413e2db Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ee5f30c net: make nat table work for MTK
-------------------------------------------------------------------------------
commit ee5f30c04d2f3e48c1ebb02caf3bdbd4efab44c5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-18 12:37:53 +0200

    net: make nat table work for MTK

Base directory -> /
 net.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
-------------------------------------------------------------------------------
2017-06-18 12:38:22 +02:00
Kenneth Johansson
962a09c08e genconfig: also touch boardparms_voice.c. 2017-06-16 11:55:47 +02:00
Jonas Höglund
985d5a9ea2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9560e66 Fix reboot logic
-------------------------------------------------------------------------------
commit 9560e66f6a2bd6d9a6d49e1f216aa2ebebdd965a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-06-16 10:43:47 +0200

    Fix reboot logic

Base directory -> /
 wificontrol.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-06-16 10:44:32 +02:00
Sukru Senli
0e52c823a6 inteno-netmodes: enable beamforming in all modes 2017-06-16 09:31:20 +02:00
Kenneth Johansson
e4f25fa7f0 Add config option for dg400prime. 2017-06-15 15:37:42 +02:00
Sukru Senli
0552dde787 inteno-netmodes: show overview page in GUI when behind public IP 2017-06-15 15:21:25 +02:00
Kenneth Johansson
58201949fc genconfig: trigger a rebuild of bcmkernel if the boardid change.
This was not needed before as only the PROFILE changed the result.
Now also boardid is going to produce a different kernel and CFE on ARM
based socs. So we need to make sure that they are rebuilt even if the new board is using
the same PROFILE.
2017-06-15 14:10:50 +02:00
Sukru Senli
9b1c5e2b64 icwmp: fix for hotplug copy 2017-06-15 13:58:51 +02:00
Sukru Senli
6bdfa81b7e icwmp: copy hotplug script under correct folder 2017-06-15 13:31:38 +02:00
Sukru Senli
e73bba2ae0 icwmp: start with hotplug script 2017-06-15 12:49:57 +02:00
Sukru Senli
68cc112732 inteno-netmodes: WPS pbc enable as AP in repeater/extender mode 2017-06-14 17:52:12 +02:00
Sukru Senli
724ee411fc inteno-netmodes: switch to extender mode if behind non inteno priva IP 2017-06-14 17:44:12 +02:00
Sukru Senli
05ee1c51ad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e33c053 wificontrol: If there is an uplink IP address but no connection for 5 minutes, reboot
-------------------------------------------------------------------------------
commit e33c0535c5de324d5a4ba7f43127e7f7058b7c5c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-14 17:36:49 +0200

    wificontrol: If there is an uplink IP address but no connection for 5
    minutes, reboot

Base directory -> /
 wificontrol.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-14 17:37:07 +02:00
Sukru Senli
5bdb0e354f iup: get MAC and DESKEY from ubus router.system object instead of /proc/nvram 2017-06-14 17:24:47 +02:00
Erik Horemans
9fc86cf55b new ice-client 4.4.0-RC8 2017-06-14 13:59:54 +02:00
Sukru Senli
75cd1bdaa7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 22083bc wificontrol: mtk: run ApCliAutoConnect to recover connection to master
-------------------------------------------------------------------------------
commit 22083bc9da6b1354703740b70549d4d0c86edf73
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-14 10:25:20 +0200

    wificontrol: mtk: run ApCliAutoConnect to recover connection to master

Base directory -> /
 wificontrol.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-06-14 10:26:16 +02:00
Erik Horemans
b9e558a817 new ice-client R4.4.0-RC7 2017-06-14 09:02:49 +02:00
Sukru Senli
72d4a7f61f inteno-netmodes: netmode-handler: code for handlig non inteno uplink 2017-06-10 14:41:07 +02:00
Sukru Senli
d87d1f01eb inteno-netmode: netmode-handler: if behind private ip which is not inteno device, switch to extender mode 2017-06-10 14:33:40 +02:00
Reidar Cederqvist
456c48dde8 inteno-netmodes: switch to bridge on public ip on wan port 2017-06-10 14:33:38 +02:00
Alex Oprea
d44d9e80b9 inteno-netmodes: shift range hotplug script 2017-06-10 14:06:19 +02:00
Kenneth Johansson
0da93b1d4a Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* a9e0b8e wlctl needs to have the interface as argument.
-------------------------------------------------------------------------------
commit a9e0b8ea80511ef16ef71c59412bcd9b90beb7fe
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-09 16:54:25 +0200

    wlctl needs to have the interface as argument.

    On systems with multiple wifi chips we need to specify what chip the led is
    connected to.

    Also fix an issue with address could only be 0-9 and we need 0-31.

Base directory -> /
 src/wlctl_led.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-06-09 16:54:46 +02:00
Erik Horemans
f8336fba61 new ice-client 4.4.0-RC6 2017-06-09 16:13:31 +02:00
Sukru Senli
342b63160d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* dedcae9 wireless: assoclist call returns array
-------------------------------------------------------------------------------
commit dedcae9867e6a2973834c506f7dabdcb1706238e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-09 10:00:49 +0200

    wireless: assoclist call returns array

Base directory -> /
 wireless.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-09 10:01:09 +02:00
Sukru Senli
23f15ddae5 inteno-netmodes: default network is lan 2017-06-08 14:21:43 +02:00
Alex Oprea
4726ae7734 iop: update_package: use the uppercase N as default value selected 2017-06-08 14:00:04 +02:00
Sukru Senli
c15bf421ba inteno-netmodes: netmode-conf: flash all leds when receiving credentials via zero touch 2017-06-08 12:21:31 +02:00
Sukru Senli
379c263b65 inteno-netmodes: enable wps in mtk routed mode and set channel to auto in repeater modes 2017-06-08 11:25:05 +02:00
Alex Oprea
9ab6046850 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bc51ae3 sort the macs
* 5e84952 add more "inteno" macs
-------------------------------------------------------------------------------
commit bc51ae35b2aeb09c9264266a3322b7b21bef49c0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-07 17:23:45 +0200

    sort the macs

Base directory -> /
 tools.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5e84952cecf4362ce9d3e8f75ae45da49ab5f914
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-07 17:13:51 +0200

    add more "inteno" macs

Base directory -> /
 tools.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-07 18:48:49 +02:00
Alex Oprea
313f540db8 inteno-netmodes: add more inteno-alike macs 2017-06-07 18:46:03 +02:00
Kenneth Johansson
3821a7a131 Add config option for f104w. 2017-06-07 14:56:01 +02:00
Sukru Senli
84e2181672 icwmp-3.0-2017-06-01 2017-06-01 16:07:52 -07:00
Alex Oprea
b91fff1f9a iup: move some code to /lib/functions/savecfg.sh 2017-06-01 15:38:49 +02:00
Alex Oprea
807f378a1f iup: fix grammar 2017-05-31 20:25:13 +02:00
Alex Oprea
5c91fa5e79 samba3: security patches for CVE-2010-2063 CVE-2010-3069 CVE-2012-1182 2017-05-31 16:50:55 +02:00
Reidar Cederqvist
7a185a0809 iop: genconfig: do not list juci-theme when listing customer boards 2017-05-31 15:53:21 +02:00
Reidar Cederqvist
cb8bb9c127 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4e1e080 network: made the port statistics long long refs #12135
* 2509608 tools: always null-terminate the output buffer
-------------------------------------------------------------------------------
commit 4e1e080fb8295d89c74abb93e08dcf2f9cc5abbf
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-30 13:17:42 +0200

    network: made the port statistics long long refs #12135

    to hold bigger values than 2Gb

Base directory -> /
 network.h | 12 ++++++------
 port.c    |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 2509608d33aa5881a71f4794d42e76f3e9926f89
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-29 15:09:28 +0200

    tools: always null-terminate the output buffer

Base directory -> /
 tools.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-05-30 13:21:39 +02:00
Sukru Senli
d949cb5228 inteno-netmodes: kill wifi before running wifi reload 2017-05-29 17:10:34 +02:00
Reidar Cederqvist
e733774cd3 layer2interface: broadcom: add support for changing last mac grop refs #12060 2017-05-29 11:00:46 +02:00
Reidar Cederqvist
b7a547c1d6 inteno-netmodes: fixed bug in netmode-conf refs #11988 2017-05-29 10:51:36 +02:00
Sukru Senli
5e860a4734 inteno-netmodes: kill wificontril with -9 if receives public IP 2017-05-24 11:56:42 +02:00
Sukru Senli
22b070d1d2 inteno-netmodes: channel update 2017-05-24 09:56:08 +02:00
Reidar Cederqvist
576e7e56ad inteno-netmodes: from_gui true will go back if connection fails 2017-05-23 16:07:09 +02:00
Reidar Cederqvist
503c9cff2c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* db68fec wireless: fix incorrect frequency in router.wireless status call
-------------------------------------------------------------------------------
commit db68fecf2de5bbfc94964fedb99c831e9458b00d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-22 16:59:54 +0200

    wireless: fix incorrect frequency in router.wireless status call

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-22 17:02:10 +02:00
Alex Oprea
b1c4ae9cae fix grammar 2017-05-20 02:13:15 +02:00
Alex Oprea
be45e11453 remove unnecessary log print 2017-05-19 19:08:37 +02:00
Alex Oprea
0ad3a95b30 netmode: script to simulate power-off hotplug net events
(of course): The event that happened when the router was powered off
	is simulated by this script.
	Triggered by /etc/init.d/done from base-files.
2017-05-19 14:46:24 +02:00
Sukru Senli
136dcee43f icwmp-3.0-2017-05-17 2017-05-18 13:24:42 +02:00
Reidar Cederqvist
26d0f4da51 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 795756e wificontrol: fixed the led_success functionality
-------------------------------------------------------------------------------
commit 795756ec0ef7a602b8cf18de1c0a05b6a4b12065
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 19:59:53 +0200

    wificontrol: fixed the led_success functionality

Base directory -> /
 wificontrol.c | 58 ++++++++--------------------------------------------------
 1 file changed, 8 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
2017-05-17 20:07:27 +02:00
Alex Oprea
1d995b4f8a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f40e270 client: assoclist: minimize the time that the list is inconsistent
-------------------------------------------------------------------------------
commit f40e270a33ebf85b9ab7737efd10252fc0887266
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-17 17:21:35 +0200

    client: assoclist: minimize the time that the list is inconsistent

Base directory -> /
 network.c | 66 +++++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 45 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
2017-05-17 19:03:51 +02:00
Reidar Cederqvist
410dffcdd8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a56a65b add more inteno mac addresses
-------------------------------------------------------------------------------
commit a56a65b7cd08c7ca7c9d829ed092aec3dec21925
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-17 17:03:56 +0200

    add more inteno mac addresses

Base directory -> /
 tools.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 17:08:17 +02:00
Reidar Cederqvist
b7a8105b18 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 50eef51 wificontrol: fix bug with setting led_success string
* 510d6c7 Revert "wificontrol: remove unsused variable need_update"
-------------------------------------------------------------------------------
commit 50eef514699450e793fde6d4f92e5f1638914dc1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:58:43 +0200

    wificontrol: fix bug with setting led_success string

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 510d6c7f9957e0ab7961c4cd4b8ad9dc97194f67
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:57:00 +0200

    Revert "wificontrol: remove unsused variable need_update"

    This reverts commit ae46c985f3ae2b78072ba492a85bb908f07018fe.

Base directory -> /
 wificontrol.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 16:59:16 +02:00
Reidar Cederqvist
23577050b5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4d3301d wificontrol: fixed incorrect ifdefs
* 30ae2f3 mediatek: fixed wl_autochannel function
* 5700ea0 wificontrol: Disable and enable apclii0 interface if repeater doesn't connect in 2 min
* 959f1dc wificontrol: do not allow clients to connect to repeater without uplink
* 44f4efe wificontrol: break very long strings into multiple lines
* ba24ba4 add wl_disassociate function
* ae46c98 wificontrol: remove unsused variable need_update
* 601b2b3 wificontrol: fix length of one-char string
* 6179f57 wificontrol: add support for --network to wificontrol --router call
-------------------------------------------------------------------------------
commit 4d3301df43d5bf43762ba880d9bb559fe493cdbd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:37:36 +0200

    wificontrol: fixed incorrect ifdefs

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 30ae2f3313cc44c1c44d660eef76a0658ac5c34b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 11:41:41 +0200

    mediatek: fixed wl_autochannel function

Base directory -> /
 mediatek.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5700ea04de13cee55ed4f74b3210995048c97005
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 09:27:18 +0200

    wificontrol: Disable and enable apclii0 interface if repeater doesn't
    connect in 2 min

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 959f1dc7a2cbc37ae9fa2205d34b8146c62faf1e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 08:57:04 +0200

    wificontrol: do not allow clients to connect to repeater without uplink

    to avoid loops between repeaters

Base directory -> /
 wificontrol.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 44f4efecf72dda0026f813cca90ae355aa45e506
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:16:16 +0200

    wificontrol: break very long strings into multiple lines

Base directory -> /
 wificontrol.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ba24ba425c1e36ea01c3ca827efe9352ec5464f5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-16 15:06:30 +0200

    add wl_disassociate function

Base directory -> /
 broadcom.c | 7 +++++++
 mediatek.c | 8 ++++++++
 2 files changed, 15 insertions(+)
-------------------------------------------------------------------------------
commit ae46c985f3ae2b78072ba492a85bb908f07018fe
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:41:42 +0200

    wificontrol: remove unsused variable need_update

Base directory -> /
 wificontrol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 601b2b3a0c828990236a6d4809e1beaa574f8159
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:38:52 +0200

    wificontrol: fix length of one-char string

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6179f571aa1e974a87e0d38037cb52c56878feed
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:05:03 +0200

    wificontrol: add support for --network to wificontrol --router call

Base directory -> /
 wificontrol.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 16:38:11 +02:00
Reidar Cederqvist
3d148c515c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 30ae2f3 mediatek: fixed wl_autochannel function
* 5700ea0 wificontrol: Disable and enable apclii0 interface if repeater doesn't connect in 2 min
* 959f1dc wificontrol: do not allow clients to connect to repeater without uplink
* 44f4efe wificontrol: break very long strings into multiple lines
* ba24ba4 add wl_disassociate function
* ae46c98 wificontrol: remove unsused variable need_update
* 601b2b3 wificontrol: fix length of one-char string
* 6179f57 wificontrol: add support for --network to wificontrol --router call
-------------------------------------------------------------------------------
commit 30ae2f3313cc44c1c44d660eef76a0658ac5c34b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 11:41:41 +0200

    mediatek: fixed wl_autochannel function

Base directory -> /
 mediatek.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5700ea04de13cee55ed4f74b3210995048c97005
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 09:27:18 +0200

    wificontrol: Disable and enable apclii0 interface if repeater doesn't
    connect in 2 min

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 959f1dc7a2cbc37ae9fa2205d34b8146c62faf1e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 08:57:04 +0200

    wificontrol: do not allow clients to connect to repeater without uplink

    to avoid loops between repeaters

Base directory -> /
 wificontrol.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 44f4efecf72dda0026f813cca90ae355aa45e506
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:16:16 +0200

    wificontrol: break very long strings into multiple lines

Base directory -> /
 wificontrol.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ba24ba425c1e36ea01c3ca827efe9352ec5464f5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-16 15:06:30 +0200

    add wl_disassociate function

Base directory -> /
 broadcom.c | 7 +++++++
 mediatek.c | 8 ++++++++
 2 files changed, 15 insertions(+)
-------------------------------------------------------------------------------
commit ae46c985f3ae2b78072ba492a85bb908f07018fe
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:41:42 +0200

    wificontrol: remove unsused variable need_update

Base directory -> /
 wificontrol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 601b2b3a0c828990236a6d4809e1beaa574f8159
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:38:52 +0200

    wificontrol: fix length of one-char string

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6179f571aa1e974a87e0d38037cb52c56878feed
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:05:03 +0200

    wificontrol: add support for --network to wificontrol --router call

Base directory -> /
 wificontrol.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 11:54:28 +02:00
Alex Oprea
c5426947c8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 85785b9 network: ports: fix logic for skipping clients that are behind a repeater or extender
* 4424ad4 network: client: add number of assoclist
* 0899f2b wireless: iface: add apmode flag
-------------------------------------------------------------------------------
commit 85785b97a1526114ae521beacb1b302c3cb914ab
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:52:16 +0200

    network: ports: fix logic for skipping clients that are behind a repeater or
    extender

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 4424ad493e47cc83e6de99a01e1178bb9324c54e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:29:57 +0200

    network: client: add number of assoclist

Base directory -> /
 network.c | 25 +++++++++++++++----------
 network.h |  1 +
 2 files changed, 16 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0899f2beb9fd1d2c8cb0fddc3f926b84e7ad3ba0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 17:33:04 +0200

    wireless: iface: add apmode flag

Base directory -> /
 wireless.c | 9 ++++++++-
 wireless.h | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-15 20:20:06 +02:00
Erik Horemans
9ba824122c new ice-client R4.4.0-RC4 2017-05-15 17:31:38 +02:00
Reidar Cederqvist
fbba796f43 Revert "inteno-netmode: fixed issues with ex400 behind ex400 refs"
This reverts commit aae94da9ec.
2017-05-15 16:00:02 +02:00
Reidar Cederqvist
fafa596b11 inteno-netmode: netmode-firewall-handler: only start client-detect if it is not running 2017-05-15 15:49:27 +02:00
Reidar Cederqvist
aae94da9ec inteno-netmode: fixed issues with ex400 behind ex400 refs 2017-05-15 15:28:09 +02:00
Reidar Cederqvist
a11361c916 inteno-netmodes: fixed bridge when in repeater-mode and autoconfigured 2017-05-15 14:21:12 +02:00
Reidar Cederqvist
4ad5c16568 inteno-netmode: fixed bug whith netmode-conf script for broadcom 2017-05-15 14:21:12 +02:00
Ronny Nilsson
f15adb5d45 Dectmngr2 update. Fix refs #11014 2017-05-15 14:18:20 +02:00
Sukru Senli
8009e2a4c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 824a4b2 wificontrol: set internet led state to eok upon success
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit 824a4b2f13f486fbf53b0068ad29f9dd15fae38a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-15 14:00:10 +0200

    wificontrol: set internet led state to eok upon success

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-15 14:00:33 +02:00
Erik Horemans
ce571123d2 new ice-client ice-client 4.4.0-RC3 2017-05-15 11:36:13 +02:00
Erik Horemans
e86df8d3a2 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-15 11:35:01 +02:00
Reidar Cederqvist
198a69e0c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-12 16:59:45 +02:00
Erik Horemans
8001a7f348 new ice-client 4.4.0-RC2 2017-05-12 15:54:44 +02:00
Erik Horemans
2480972e46 new ice-client 4.4.0-RC2 2017-05-12 11:24:14 +02:00
Erik Horemans
16d6b52429 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-12 11:23:12 +02:00
Sukru Senli
aa9381d962 inteno-netmodes: remove mcpd from routed_mtk 2017-05-12 09:56:18 +02:00
Kenneth Johansson
caaec622bb uboot: use correct commit. 2017-05-11 17:57:02 +02:00
Kenneth Johansson
8163932184 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e3be71a Prevent ethernet to start up by default.
-------------------------------------------------------------------------------
commit e3be71a830289189eaa895cbdcc755e07a7712e0
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-11 16:07:59 +0200

    Prevent ethernet to start up by default.

    Add a new command net_init to start ethernet driver.

    This is needed as the setup has all port in the same switch so WAN is
    connected to LAN and dhcp on clients on LAN is getting out to the ISP and
    stealing ip numbers.

Base directory -> /
 board/inteno/ex400/board.c | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 16:18:06 +02:00
Reidar Cederqvist
60cef7b8d8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a814517 wireless: added bsd_record function to router.wireless
* 1a7220c broadcom: added missing struct identifier and fixed baad naming
* 9c1cc54 wireless: added bsd_sta_info call to router.wireless
* 1dc4ca9 wireless: improved coding style on quest_bs_data function
-------------------------------------------------------------------------------
commit a8145170c3978e3dc92da9e0daab56da7ff049b6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:57:05 +0200

    wireless: added bsd_record function to router.wireless

Base directory -> /
 broadcom.c | 41 +++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 wireless.c | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)
-------------------------------------------------------------------------------
commit 1a7220cc6ce97488c1fe3a906062c151fecb7766
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:08:55 +0200

    broadcom: added missing struct identifier and fixed baad naming

Base directory -> /
 broadcom.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9c1cc54b063a905921676e2ba81cfacee59bd0c7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:53:32 +0200

    wireless: added bsd_sta_info call to router.wireless

Base directory -> /
 broadcom.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 13 +++++++++++++
 wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
-------------------------------------------------------------------------------
commit 1dc4ca9bcab3f6a6595dddc1d6ea11a9fae71625
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:48:59 +0200

    wireless: improved coding style on quest_bs_data function

Base directory -> /
 wireless.c | 108 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 56 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 14:01:01 +02:00
Sukru Senli
b89cc55127 asterisk: asterisk.hotplug: try ipv6 address to bind if ipv4 is not available 2017-05-10 18:43:53 +02:00
Reidar Cederqvist
70afc90bb0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5f3c52b wireless: allow router.wireless bs_data to be called without arguments
-------------------------------------------------------------------------------
commit 5f3c52b8734693f9327aeb873be9ea79ad2e56ab
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-10 15:34:08 +0200

    wireless: allow router.wireless bs_data to be called without arguments

Base directory -> /
 wireless.c | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-05-10 15:37:00 +02:00
Alex Oprea
caefdb79d0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b823465 broadcom: close forgotten pipe before return
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit b8234659d7e458208fe856acebcb87c86a6d956d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-09 17:26:23 +0200

    broadcom: close forgotten pipe before return

Base directory -> /
 broadcom.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-09 17:42:03 +02:00
Sukru Senli
d7af74ee3d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 12:33:11 +02:00
Sukru Senli
1456ae089a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 11:58:53 +02:00
Jonas Höglund
21c8dde43f iop: always set mirror 2017-05-05 13:05:10 +02:00
Reidar Cederqvist
e67829d4f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-05 11:05:27 +02:00
Reidar Cederqvist
81d9ac07f4 inteno-netmodes: added comment to test_ip to minimize confusion 2017-05-05 10:52:21 +02:00
Reidar Cederqvist
23949ba4e6 inteno-netmodes: fixed inverted logic in netmode-firewall-handler 2017-05-05 10:29:36 +02:00
Jonas Höglund
fbd369320c Build ice tarball for mediatek target 2017-05-04 15:05:08 +02:00
Jonas Höglund
623466d5c6 Use http url:s for public packets 2017-05-04 13:32:47 +02:00
Reidar Cederqvist
a8865fbd99 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* cf9f6df broadcom.h: fixed missing semicolon
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-04 12:52:21 +02:00
Reidar Cederqvist
cfd7968c30 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-04 12:47:42 +02:00
Jonas Höglund
551f3a6a64 Move ated to public.inteno.se 2017-05-04 12:40:09 +02:00
Jonas Höglund
183f52a0e4 Move mkt-bndstrng to public.inteno.se 2017-05-04 12:39:37 +02:00
Jonas Höglund
96e66fc839 Move uboot repo to public.inteno.se 2017-05-04 10:53:34 +02:00
Kenneth Johansson
44bda23f36 u-boot: escape escape escape
File copied to wrong place and with wrong permission.
2017-05-03 21:29:03 +02:00
Kenneth Johansson
64ba407746 New version string used by inteno for u-boot.
We need to have a version that we can change whenever we want to force and
update of u-boot. The u-boot version still exists.

To change the version and force an update change the PKG_RELEASE variable
in package Makefile.

uboot version is now checked on startup and if the installed one is too old
it will be updated.
2017-05-03 20:48:41 +02:00
Reidar Cederqvist
fb648dbec9 inteno-netmode: remove repeater ready flag on public ip 2017-05-03 14:38:28 +02:00
Reidar Cederqvist
4ce6f49284 inteno-netmode: repeater ubus: get_creds: duplicate ifaces if only one radio 2017-05-03 13:24:46 +02:00
Reidar Cederqvist
93b6ece77d inteno-netmode: repeater ubus: get_creds: check for disabled flag 2017-05-03 13:24:13 +02:00
Sukru Senli
af9e90e33d mtk-bndstrg: depend on librt 2017-05-02 16:03:44 +02:00
Sukru Senli
86cccc5764 icwmp-3.0-2017-05-01 2017-05-02 16:01:47 +02:00
Jonas Höglund
2d057b39a9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* a2aacfd Fix for ubifs mount.
-------------------------------------------------------------------------------
commit a2aacfdc3931a65b11929f685e7ed067bf1fbfa9
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-02 13:56:58 +0200

    Fix for ubifs mount.

    Replaying the journal require more memory. Give u-boot 4MB instead of 1MB.

Base directory -> /
 include/configs/ex400.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 14:06:17 +02:00
Sukru Senli
a3ce1a1abd mtk-bndstrg: copy correct file 2017-05-02 13:31:13 +02:00
Sukru Senli
c8453cd936 Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* 8a80432 compile with gcc
-------------------------------------------------------------------------------
commit 8a804320c53dead1c9b9f3650cbbc58908c76832
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-02 13:28:06 +0200

    compile with gcc

Base directory -> /
 Makefile |   3 ++-
 bndstrg  | Bin 101458 -> 160584 bytes
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 13:28:21 +02:00
Sukru Senli
ef9a83ad33 mtk-bndstrg: move under Utilities 2017-05-02 13:14:53 +02:00
Sukru Senli
f7539ded45 mtk-bndstrg: remove unnecessary files 2017-05-02 13:05:43 +02:00
Sukru Senli
929fb89e7f mtk-bndstrg: clone correct repo 2017-05-02 13:04:28 +02:00
Alex Oprea
c5259c5870 bndstrg: mediatek band steering preliminary makefile 2017-05-02 12:56:00 +02:00
Reidar Cederqvist
12bd3ec5fd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ba36f2f wireless.c: autochannel: add channel after successful switch
* 40af409 wireless.c: changed return to ok and added check if channel is dfs
* e4d7270 wireless.c: added return messge to autochannel call
-------------------------------------------------------------------------------
commit ba36f2fa761ba8e64c0dcfe1000dd1bebb8c7e5b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 12:48:49 +0200

    wireless.c: autochannel: add channel after successful switch

Base directory -> /
 broadcom.c | 8 +++-----
 wireless.c | 9 ++++++---
 2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 40af409c74bf3c89f246ca394b6c481d33a851f5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 11:35:00 +0200

    wireless.c: changed return to ok and added check if channel is dfs

Base directory -> /
 broadcom.c |  7 +++++++
 wireless.c | 10 ++++------
 2 files changed, 11 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit e4d7270df88c66469e140acd06832f22b5cd2b80
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 10:02:36 +0200

    wireless.c: added return messge to autochannel call

Base directory -> /
 wireless.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 09:40:57 +02:00
Jonas Höglund
666137f847 Return if mediatek binary already exists 2017-05-02 09:40:55 +02:00
Erik Horemans
48aa469b80 new ice-client R4.4.0-RC1 2017-05-02 09:40:43 +02:00
Erik Horemans
6e5c6ba219 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-04-28 15:51:42 +02:00
Erik Horemans
862c526c56 new ice-client R4.4.0-RC1 2017-04-28 15:51:32 +02:00
Jonas Höglund
abe25ff03a Return if mediatek binary already exists 2017-04-28 15:50:16 +02:00
Jonas Höglund
94a11e9a37 iop: update mediatek tarballs 2017-04-28 13:28:25 +02:00
Sukru Senli
ad5021eea4 voice_client: support binding asterisk to ipv6 interface 2017-04-28 11:26:17 +02:00
Ronny Nilsson
fd03db48c1 kernel: add devtmpfs for letting kernel auto populate
/dev early on boot as well as become equal to how
other MIPS targets work.
2017-04-27 15:59:42 +02:00
Alex Oprea
3c0826ca5c hotplug: net: repeater: remove unused parameter 2017-04-26 16:58:05 +02:00
Alex Oprea
8762fa4f4e hotplug: net: repeater: remove unused parameter 2017-04-26 16:12:54 +02:00
Alex Oprea
83dad53f2c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 16de648 questd: update is_inteno_*_macaddr functions
* 4d4e5a2 wificontrol: improve debug messages
* 92047e1 use long option --assoclist
* 703eec4 wificontrol: improve debug messages
-------------------------------------------------------------------------------
commit 16de648470f316aa3b2658e8870141d594aff074
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-26 13:45:50 +0200

    questd: update is_inteno_*_macaddr functions

Base directory -> /
 tools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4d4e5a29f2df1b4af603e53c8e237c11e020715c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-25 11:42:31 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 92047e1c8f2c139aa1de1e02899174576a1f76af
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 20:23:06 +0200

    use long option --assoclist

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 703eec48f8a8220c212a5c299ecf3315424caa35
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 19:08:58 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-04-26 13:50:06 +02:00
Alex Oprea
d6a6350e62 imonitor: do not check the ubus call before restarting questd
Do no check the ubus call before restarting questd
	because in some cases the ubus call still works as normal,
	even if there are 2 questd processes running.
2017-04-26 11:10:42 +02:00
Sukru Senli
3fb9756e42 icwmp-3.0-2017-04-26 2017-04-26 10:51:55 +02:00
Reidar Cederqvist
8d3eebb0c1 inteno-netmodes: dont start client-detect if repeaterready flag is set 2017-04-25 14:26:53 +02:00
Reidar Cederqvist
d28dbd9b75 inteno-netmdoe: stop using conf option and use seciton name 2017-04-25 13:37:32 +02:00
Reidar Cederqvist
267d65174c inteno-netmodes: added uplink_band to broadcom repeater netmodes 2017-04-25 12:11:33 +02:00
Reidar Cederqvist
abbfb77248 inteno-netmodes: init.d script now supports 'routed' netmode 2017-04-25 10:04:27 +02:00
Reidar Cederqvist
e288d7ec0c inteno-netmodes: netmode-conf: added check to skipp non ap interfaces when getting number 2017-04-24 17:54:48 +02:00
Reidar Cederqvist
7f33ffbdac inteno-netmodes: fixed bug 2017-04-24 17:41:22 +02:00
Reidar Cederqvist
7fc6da3a66 inteno-netmodes: client-detect: added a timed check every 60 sec 2017-04-24 16:10:17 +02:00
Reidar Cederqvist
a814d37e2b inteno-netmodes: start using repeater as netmode 2017-04-24 15:50:35 +02:00
Reidar Cederqvist
0710672275 inteno-netmodes: added support for setting repeater mode 2017-04-24 15:50:12 +02:00
Alex Oprea
3d2301cdb0 netmode: remove already fixed todo 2017-04-24 12:49:06 +02:00
Jonas Höglund
cd8244fb2a Set mediatek access in config file 2017-04-24 10:49:49 +02:00
Jonas Höglund
fd480290f5 Delete every file except for Kconfig in mediatek wifi drivers 2017-04-24 10:42:47 +02:00
Jonas Höglund
7e6052573e Remove more Mediatek propriety code 2017-04-21 17:04:43 +02:00
Sukru Senli
9b659fb859 icwmp: put dmmap under /etc/icwmpd 2017-04-21 16:12:33 +02:00
Ronny Nilsson
15314c65d5 Always recreate the feeds indices to cope with packages
being moved between feeds.
2017-04-21 15:08:37 +02:00
Ronny Nilsson
4fedd34f95 genconfig: Explicitly indicate yes/no to developer
mode due to there are other scripts depending on
these variables being non-empty.
2017-04-21 13:52:19 +02:00
Reidar Cederqvist
f88eebb055 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d80214e only send_data to destination if its an inteno-mac
-------------------------------------------------------------------------------
commit d80214e16eb15b031cc500cd5907951b119ef505
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-21 10:11:39 +0200

    only send_data to destination if its an inteno-mac

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-04-21 10:15:50 +02:00
Sukru Senli
cefefb9a63 icwmp-3.0-2017-04-19 2017-04-20 17:47:15 +02:00
Alex Oprea
7e38593c3f netmode: fix typo with curmode 2017-04-20 13:56:18 +02:00
Alex Oprea
0579b0ec60 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9083bba wificontrol: consider the inteno altered mac addresses too
* bdf0309 wificontrol: improve debug messages for MSG_TYPE_ASSOC
-------------------------------------------------------------------------------
commit 9083bba577d7cceb0f03a3d86fba425f392c37d2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:49:39 +0200

    wificontrol: consider the inteno altered mac addresses too

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bdf03091e90fcc08e3b6507e8e10c33e42cdb315
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:20:19 +0200

    wificontrol: improve debug messages for MSG_TYPE_ASSOC

Base directory -> /
 wificontrol.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-04-19 19:20:05 +02:00
Sukru Senli
7f14aca755 inteno-netmodes: fix macro in layer2_interface_ethernet config as well 2017-04-19 16:28:43 +02:00
Jonas Höglund
e396bd8531 Apply patches to generate mediatek consumer relase 2017-04-19 16:26:36 +02:00
Alex Oprea
0549986c77 imonitor: restart acsd if it's using more than 20% processor 2017-04-19 16:14:16 +02:00
Reidar Cederqvist
34f58ad7f9 inteno-netmodes: fixed bug in netmode-conf script 2017-04-19 15:45:49 +02:00
Jonas Höglund
16fbba701c Make mediatek tarball. Add target option to generate_tarballs. 2017-04-19 14:19:34 +02:00
Sukru Senli
2635873bcc icwmp-3.0-2017-04-14 2017-04-19 09:02:48 +02:00
Alex Oprea
9c191f7f89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2e132f1 wificontrol: rename function to collect_intenos and remove unnecessary parameter
* 2d0821e wificontrol: fix more codingstyle
* 66b5fad wificontrol: do not do call any other function between one function and its perror
* 6358360 wificontrol: remove strange code
* 19a3e9a wificontrol: fix some codinstyle
* 4b9c6fa improve log level
* 6d5952c wificontrol: rename long flag --verbosity to --verbose
* 4e007a4 wificontrol: improve message types
* 1a911d0 wireless: assoclist: more defensive code
-------------------------------------------------------------------------------
commit 2e132f10dc83ec308a112aa636c621aac755e51d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:51:11 +0200

    wificontrol: rename function to collect_intenos and remove unnecessary
    parameter

Base directory -> /
 wificontrol.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 2d0821e63039ac2022fbd7dc7f1ccf605de2b520
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:26:24 +0200

    wificontrol: fix more codingstyle

Base directory -> /
 wificontrol.c | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit 66b5fad1705dcb4967240acd66ac463898c4b9b8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:09:55 +0200

    wificontrol: do not do call any other function between one function and its
    perror

Base directory -> /
 wificontrol.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 6358360ba56a49c9e578db7400d6aecd21d6c97a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:02:12 +0200

    wificontrol: remove strange code

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit 19a3e9a3398abdec8a69f1aacf490257e837cf31
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:56:02 +0200

    wificontrol: fix some codinstyle

Base directory -> /
 wificontrol.c | 144 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)
-------------------------------------------------------------------------------
commit 4b9c6fa6032a22cd55c4f35e2ade1c0a16cbf77e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:11:02 +0200

    improve log level

Base directory -> /
 wificontrol.c | 68 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 38 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 6d5952c9b8dd9e3c944d3ed18b338ce08697771e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:03:50 +0200

    wificontrol: rename long flag --verbosity to --verbose

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 4e007a4a6441e1f1dcfbe5ddf8c4160d68d8aa26
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 11:30:47 +0200

    wificontrol: improve message types

Base directory -> /
 wificontrol.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 1a911d0910162046cff8c435abdb3834e64418e2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-13 14:30:56 +0200

    wireless: assoclist: more defensive code

    	This might fix a bug in wich the call
    	ubus call router.wireless radios
    returns buggy output like this:
    {
    "\u000100:E0:4D:04:C3:0B": {
    	"isup": false,

    	This happens because one extra entry seems to be written
    in the stas array, but outside the bounds of the array,
    overlapping the radios array, i.e. the first radio entry.

Base directory -> /
 wireless.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-18 17:14:15 +02:00
Sukru Senli
c7ea8cc974 inteno-netmodes: wifi reload if switching to repeater mode is not instant 2017-04-13 15:21:21 +02:00
Sukru Senli
ee3cd87e7e inteno-netmodes: update netmode scripts 2017-04-13 14:51:41 +02:00
Sukru Senli
9463e7b24b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9275776 wificontrol: open TCP port instead of UDP
-------------------------------------------------------------------------------
commit 927577622a47ca331bda4e3792863e786cb5bb66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 12:55:34 +0200

    wificontrol: open TCP port instead of UDP

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 12:55:50 +02:00
Sukru Senli
e13aebbd89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c335702 wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode
-------------------------------------------------------------------------------
commit c3357024b2f818d7a3530aac8e5d549f45a53c1d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:46:33 +0200

    wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode

Base directory -> /
 wificontrol.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-04-13 11:46:55 +02:00
Sukru Senli
e8f8ef22a9 inteno-netmodes: remove repeater specific firewall configs 2017-04-13 11:30:00 +02:00
Sukru Senli
0a8359a0de Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 73adf42 wificontrol: improvemets to ping_uplink function
* a0f9694 wificontrol: fix for reconnect in repeater mode
* 4e91aab wificontrol: removed unused code (comments)
* addfd85 wificontrol: fixed warning
* dd4f486 wificontrol: test to send one byte as protocol
* 0d2248f wificontrol: made old printf comments to dbg comments
* c0b6926 wificontrol: added verbose option
* ad9a4e2 wificontrol: get all lan network using libuci
* 5004bec wificontrol: fixed bug in receive loop in repeater mode
* e67c7de wificontrol: changed return value from NULL to 0
* 828a907 wificontrol: decresed buffersize to fit in tcp-packet
* adb6e25 wificontrol: created prepare_socket function to reuse code more
* d6d440d wificontrol: more timeout on sockets for --assoclist and --router mode
* b81ee13 wificontrol: assoclist: add timeout on socket
* 6e82f34 wificontrol: commented out all prinf
* 7a85c88 wificontrol: changed the set_creds calls to one combined
* d1368e5 questd: network: assoclist: initialize the buffers with zero
* a636276 wificontrol: make ping device dynamic
* 896fb07 wificontrol: trigger set_cred_uplink + debug prints
* 13023c9 wificontrol: fix get md5 values
* ba23b2d questd: use --destinatoin when calling wificontrol
* 5debde6 wificontrol: do not apply changes if the file is the same
* 30acbae wificontrol: apply the wireless settings only if any received
* 0edaaa2 wificontrol: try to send an empty string
* cb2efca wificontrol: fix the assoclist sending socket
* b872443 wificontrol: debug assoclist
* 7c73d25 wificontrol: assoclist functionality
* 051ed1f wificontrol: apply the new wireless configuration
* a0145c2 questd: client events: publish network
* c8275d0 questd: client events: publish ip
* 3f86328 wificontrol: add ping thread
* e12e5e0 wificontrol: add trivial comments
* 868365c wificontrol: repeater writes received data to file
* b4fd741 wificontrol: test with BUFFER_SIZE 4
* 35f3e1f wificontrol: rework while on repeater
* 70b0e71 wificontrol: change fgets to fread
* ccddf74 wificontrol: fix buffer size
* 0afaf49 wificontrol: simple recv
* a82d810 wificontrol: simple send
* 325a2d4 wificontrol: do not read from stdin
* d86b6c6 wificontrol: open file: --file, stdin, default file
* 9936828 wificontrol: change port to 9875
* 5e13d7c wificontrol: add SO_REUSEADDR on the listening socket
* f47c9fe wificontrol: basic client-server / router-repeater communication
* 0926745 wificontrol: add send_data to repeater function
* f8b6e96 wificontrol: add repeater's ip to repeaters array
* d119c5b wificontrol: fix lanname
* 7d63d06 wificontrol: parse arp entries
* 480d0eb tools: add function is_ip_in_network
* 3bfda0d wificontrol: get lan name
* ea0c4d0 wificontrol: a good version, with cmd line options
* 9f60ec1 wificontrol: minimal main
* f1fc945 add wificontrol.c
* b6fea3f remove wificontrol.c
-------------------------------------------------------------------------------
commit 73adf42cad8e82ecf44ea8f3c595b5e2d6f0fdb6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:13:00 +0200

    wificontrol: improvemets to ping_uplink function

Base directory -> /
 wificontrol.c | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit a0f969476dbe9e31765cf73521d143a0754ce4f3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 17:11:55 +0200

    wificontrol: fix for reconnect in repeater mode

Base directory -> /
 wificontrol.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 4e91aabaecdfb6d1f4045ae5a1d0c2a76ce21192
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 11:14:12 +0200

    wificontrol: removed unused code (comments)

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit addfd85b2c9782d914a583618f2edc128919649c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:47:39 +0200

    wificontrol: fixed warning

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit dd4f4862f9067735a27f4aa18a2661182ae33424
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:43:07 +0200

    wificontrol: test to send one byte as protocol

Base directory -> /
 wificontrol.c | 108 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 62 insertions(+), 46 deletions(-)
-------------------------------------------------------------------------------
commit 0d2248ff7ad89e864a97b203ed6fbec53acf188c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 16:03:32 +0200

    wificontrol: made old printf comments to dbg comments

Base directory -> /
 wificontrol.c | 58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
commit c0b6926cb1e086747d6cbd59f981f515719e8b3f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 15:39:56 +0200

    wificontrol: added verbose option

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit ad9a4e26c083890a51394dcbacd52f44dc50c61e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 12:37:04 +0200

    wificontrol: get all lan network using libuci

Base directory -> /
 wificontrol.c | 92 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 41 deletions(-)
-------------------------------------------------------------------------------
commit 5004bec2c76f779796b4e0af6cf21e9502994ea4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:44 +0200

    wificontrol: fixed bug in receive loop in repeater mode

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e67c7dea9a623a9211018c9afa7fd6e79e717778
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:15 +0200

    wificontrol: changed return value from NULL to 0

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 828a90741f6e0fd1bb3a94551bf10207d953c4c5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 12:02:58 +0200

    wificontrol: decresed buffersize to fit in tcp-packet

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit adb6e25347c0c05ec973238a7a7ab93d97e5c14d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:12:42 +0200

    wificontrol: created prepare_socket function to reuse code more

Base directory -> /
 wificontrol.c | 79 +++++++++++++++++++++++------------------------------------
 1 file changed, 30 insertions(+), 49 deletions(-)
-------------------------------------------------------------------------------
commit d6d440d9d0da07fe30e86f79edd3d14a9890c9f1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 20:52:53 +0200

    wificontrol: more timeout on sockets for --assoclist and --router mode

Base directory -> /
 wificontrol.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b81ee13ff57f5f782935d73dfea270179670ffa2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 18:42:03 +0200

    wificontrol: assoclist: add timeout on socket

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 6e82f345ee0470f4056bec3a8e5aedf2f11f91e6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 16:39:28 +0200

    wificontrol: commented out all prinf

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit 7a85c88077c062bf03beff2081265362cfaad84e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 15:48:58 +0200

    wificontrol: changed the set_creds calls to one combined

Base directory -> /
 wificontrol.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit d1368e560705239b25140901d51cb5270deb7571
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 12:16:16 +0200

    questd: network: assoclist: initialize the buffers with zero

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit a636276a8e9ee254e776d0bf9a8ca78e5da03b40
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 11:19:05 +0200

    wificontrol: make ping device dynamic

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 896fb07a0ce5397572d1b1c5bda53dfae643d1a0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:29:21 +0200

    wificontrol: trigger set_cred_uplink + debug prints

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 13023c9d5fbb9e4acf9603079e9346920033b21e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:28:45 +0200

    wificontrol: fix get md5 values

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit ba23b2d419e00f695f12c8a8a2141ea2c1a74999
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:56:35 +0200

    questd: use --destinatoin when calling wificontrol

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5debde6a627d82ff5bad441c9a9b063d1b2b7b74
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:43:01 +0200

    wificontrol: do not apply changes if the file is the same

Base directory -> /
 wificontrol.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 30acbae4f579439c14e0bcfa81df209534a439d0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:57:00 +0200

    wificontrol: apply the wireless settings only if any received

Base directory -> /
 wificontrol.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 0edaaa2b4935586016fedda5b0677d19dde388a2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:48:59 +0200

    wificontrol: try to send an empty string

Base directory -> /
 wificontrol.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit cb2efca7595baa786477abe0349aaf9dfb4e0a76
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:41:20 +0200

    wificontrol: fix the assoclist sending socket

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b872443ccacc0e89924b88eb8dcdac1d8e7518f8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:57:04 +0200

    wificontrol: debug assoclist

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7c73d25038f744c7782d7f7a480c1a58034c319e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:59 +0200

    wificontrol: assoclist functionality

Base directory -> /
 wificontrol.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 97 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 051ed1f80c6f647d3e8bde231fde60f7c1d2c28e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:36 +0200

    wificontrol: apply the new wireless configuration

Base directory -> /
 wificontrol.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit a0145c21d97f5c9d1056586932cff5eaed5115f7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:38:55 +0200

    questd: client events: publish network

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c8275d09d86d0fe61a1e77a49f51ccc6b871733e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:04:25 +0200

    questd: client events: publish ip

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3f86328f9f0eb4e719661440f5adff453eaba0e6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 12:15:31 +0200

    wificontrol: add ping thread

Base directory -> /
 wificontrol.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
-------------------------------------------------------------------------------
commit e12e5e0efa0cccbba8934ef06586d952cf15cf5c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 18:47:48 +0200

    wificontrol: add trivial comments

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 868365c6fb862eb7b6627c470b922c500191fdb1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 16:37:08 +0200

    wificontrol: repeater writes received data to file

Base directory -> /
 wificontrol.c | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit b4fd741da6f90959ba1e75607b657946e16e3f2d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:50:02 +0200

    wificontrol: test with BUFFER_SIZE 4

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 35f3e1f56cc16192859b068c41f83cc149fd6d63
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:48:44 +0200

    wificontrol: rework while on repeater

Base directory -> /
 wificontrol.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 70b0e7155aa8a665bfb090bd3a32a545a9f15e66
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:45:34 +0200

    wificontrol: change fgets to fread

Base directory -> /
 wificontrol.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit ccddf74acb60dfd835705f7191384fbdbff6be9e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:18:25 +0200

    wificontrol: fix buffer size

Base directory -> /
 wificontrol.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0afaf492b020466784c2f7f38af3974d39fa1b69
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:55:21 +0200

    wificontrol: simple recv

Base directory -> /
 wificontrol.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit a82d8105636c6cce41a0caeffaf045b89b35d0e7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:49:45 +0200

    wificontrol: simple send

Base directory -> /
 wificontrol.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 325a2d43d70f7dd33e4c0c0e11972c0b2c9f05b6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:40:37 +0200

    wificontrol: do not read from stdin

Base directory -> /
 wificontrol.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit d86b6c645aaadefeee98a107492a4bb5044c2ce8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:31:26 +0200

    wificontrol: open file: --file, stdin, default file

Base directory -> /
 wificontrol.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 50 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 9936828c45d11ec75de42c0d3fd16b435780c21c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 13:03:54 +0200

    wificontrol: change port to 9875

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5e13d7c2079a138be6dd9d6f60cdaaeff846d75d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 12:56:17 +0200

    wificontrol: add SO_REUSEADDR on the listening socket

Base directory -> /
 wificontrol.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f47c9fe1a057768cb7635c93a2c3245fb547cb92
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 11:55:03 +0200

    wificontrol: basic client-server / router-repeater communication

Base directory -> /
 wificontrol.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 82 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0926745ffc7e85f5c2d2751d0f0090003938d63f
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-30 16:29:13 +0200

    wificontrol: add send_data to repeater function

Base directory -> /
 wificontrol.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
-------------------------------------------------------------------------------
commit f8b6e96eeca997116483582ec9afd6dc3160e4ff
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 15:33:12 +0200

    wificontrol: add repeater's ip to repeaters array

Base directory -> /
 wificontrol.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit d119c5babdf85ed03cf2faa3597d21ecf9b4d2aa
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 13:11:21 +0200

    wificontrol: fix lanname

Base directory -> /
 wificontrol.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7d63d0606a4ec60db0804dc88f0edf9e503dab4d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:57:49 +0200

    wificontrol: parse arp entries

Base directory -> /
 wificontrol.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 480d0eb3f81d1a4cd3aabbed45af1dddbe1a8929
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:56:35 +0200

    tools: add function is_ip_in_network

Base directory -> /
 tools.c | 19 +++++++++++++++++++
 tools.h |  2 ++
 2 files changed, 21 insertions(+)
-------------------------------------------------------------------------------
commit 3bfda0d8a2cc5bbfc8705bb98062c261243a63d8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:10:50 +0200

    wificontrol: get lan name

Base directory -> /
 wificontrol.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ea0c4d0ce5ed821a4ce61f17b3471622450b4623
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:00:10 +0200

    wificontrol: a good version, with cmd line options

Base directory -> /
 wificontrol.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 141 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9f60ec100bb77853df8b24aa27b0631b3b9e22c5
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:12:19 +0200

    wificontrol: minimal main

Base directory -> /
 wificontrol.c | 8 ++++++++
 1 file changed, 8 insertions(+)
-------------------------------------------------------------------------------
commit f1fc9459d70e21ba2d2dd1e30734b145b4244155
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:58:09 +0200

    add wificontrol.c

Base directory -> /
 wificontrol.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit b6fea3f9f67fa2e8532975ced66a6e792ceaf0d3
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:57:39 +0200

    remove wificontrol.c

Base directory -> /
 wificontrol.c | 408 ----------------------------------------------------------
 1 file changed, 408 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 11:21:26 +02:00
Reidar Cederqvist
99f12a833b inteno-netmodes: netmode-conf: changed reboot to wifi reload nodat 2017-04-13 11:19:19 +02:00
Reidar Cederqvist
8d0c18d2d0 inteno-netmode: renamed netmode-detect netmode-client-detect 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
f0bfe70674 inteno-netmode: only run wificontrol on inteno-macaddr 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
dd83d4d139 inteno-netmodes: changed hotplug-script to disable firewall if connected to private ip 2017-04-13 11:19:14 +02:00
Reidar Cederqvist
d53c2eb937 inteno-netmodes: upgraded netmode-conf file to only apply/reload (reboot) if config is changed 2017-04-13 11:19:14 +02:00
Sukru Senli
b56f049445 inteno-netmodes: name updates 2017-04-13 11:19:12 +02:00
Sukru Senli
1e69e5495f inteno-netmodes: reboot when new credentials are received 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
d3047b2299 inteno-netmode: wifi reload insted of wifi apply 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
608f2eae88 inteno-netmodes: fixed typo in netifd init script 2017-04-13 11:19:11 +02:00
Reidar Cederqvist
2848efba56 inteno-netmodes: fixed missing quote 2017-04-13 11:19:09 +02:00
Reidar Cederqvist
1cd109e79b inteno-netmode: repeater ubus-call: combined set_creds_uplink/downlink 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
09c23507d0 inteno-netmode: added nessesary config_load 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
5617a44086 removed repeaterready as default 2017-04-13 11:19:07 +02:00
Alex Oprea
d0be333511 inteno-netmodes: update the wificontrol --repeater listening port to 9875 2017-04-13 11:19:06 +02:00
Alex Oprea
636939542f inteno-netmodes: add client_listener for ip add events 2017-04-13 11:18:56 +02:00
Alex Oprea
91da14a8ed inteno-netmodes: add set_creds_uplink 2017-04-13 11:18:56 +02:00
Alex Oprea
d9acfdd38b inteno-netmodes: remove askcred 2017-04-13 11:18:56 +02:00
Alex Oprea
38e35002ea inteno-netmode: add repeaterready option 2017-04-13 11:18:56 +02:00
Alex Oprea
7f125f35b8 inteno-netmodes: repeater: fix a nug in get_creds 2017-04-13 11:18:56 +02:00
Alex Oprea
d04b16d9ab inteno-netmode: ubus repeater: change functions names 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
84700c3018 inteno-netmodes: some fixes to repeater ubus script 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
53a6368118 netmode: use wifi apply when possible 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
bdf696d273 inteno-netmode: added repeater ubus script 2017-04-13 11:18:56 +02:00
Sukru Senli
2899e65f79 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6b12a9 initialize clients with repeated flag as false
-------------------------------------------------------------------------------
commit a6b12a910caf7c1e1b868f4f97ed004ca2bacf03
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 10:34:03 +0200

    initialize clients with repeated flag as false

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 10:34:58 +02:00
Reidar Cederqvist
319e5b5949 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 618a0ee network: ports call do not show repeated clients on port
* af73e44 graphd: added missing include (pthread)
-------------------------------------------------------------------------------
commit 618a0ee2a4c8022f6c55a8bb2580b1df31681846
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 10:15:23 +0200

    network: ports call do not show repeated clients on port

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit af73e4495f6fb4aaaf8bdfb3610ec78df5038e5a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:28:44 +0200

    graphd: added missing include (pthread)

Base directory -> /
 graphd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-04-12 10:17:20 +02:00
Alex Oprea
999dd67304 iup: do not check for file nor reboot if the section is not enabled 2017-04-11 16:39:35 +02:00
Sukru Senli
4f428b93c5 inteno-netmodes: make sure network config has no trailing spaces in ifname 2017-04-11 14:33:14 +02:00
Sukru Senli
256cb6c412 icwmp: do not copy over dmmap config file 2017-04-11 12:34:53 +02:00
Sukru Senli
142b6b781d iop: config: select correct juci package for mwan3 2017-04-10 16:52:25 +02:00
Sukru Senli
605272926a icwmp-3.0-2017-04-10 2017-04-10 16:06:29 +02:00
Sukru Senli
843df9e6cd iop: config: replace multiwan with mwan3 2017-04-10 13:24:27 +02:00
Erik Horemans
9413e41fc3 new ice-client R4.3.0-RC13 2017-04-06 16:47:40 +02:00
Jonas Höglund
2cecdb25a1 Update feed [ feed_inteno_packages ] package [ libtrace ]
Point to commit hash, not HEAD, in package makefile
2017-04-06 10:44:45 +02:00
Sukru Senli
becc1bb576 icwmp-3.0-2017-04-05 2017-04-06 09:59:12 +02:00
Sukru Senli
6cb0d69c54 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8d89f66 router.network: update linkspeed of a port for each call
-------------------------------------------------------------------------------
commit 8d89f663e30b93cd314df708bf6abbef342d52ee
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-05 12:41:22 +0200

    router.network: update linkspeed of a port for each call

Base directory -> /
 network.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-04-05 12:41:49 +02:00
Jonas Höglund
427482f60d Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* ff2cf8b Remove gpio_test program as it does not compile with musl
-------------------------------------------------------------------------------
commit ff2cf8bfbd3a04731088e9f4540796696e961382
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-04-05 10:16:15 +0200

    Remove gpio_test program as it does not compile with musl

Base directory -> /
 Makefile.am | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
-------------------------------------------------------------------------------
2017-04-05 10:21:50 +02:00
Reidar Cederqvist
06115ccd07 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f723937 broadcom.c, scanresults: fixed rssi for mips platform
* 6d6a0ea added definition for wl_get_maxrate in broadcom.c
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit f7239379bbf2014a9ceef947bcc6cdbd03596f3e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:15:35 +0200

    broadcom.c, scanresults: fixed rssi for mips platform

Base directory -> /
 broadcom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6d6a0eaf616c1b3c1fd817d28d5df911c084fe58
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:14:04 +0200

    added definition for wl_get_maxrate in broadcom.c

    and change the return-type to void because it never returned anything

Base directory -> /
 broadcom.c | 2 +-
 broadcom.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-05 10:20:24 +02:00
Jonas Höglund
abff7287ec iop: fix genconfig path 2017-04-04 16:35:23 +02:00
Sukru Senli
affb441247 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-03 11:55:04 +02:00
Sukru Senli
8164948f92 iop: generate_tarballs: support target mipsel builddir 2017-03-29 13:20:43 +02:00
Sukru Senli
66711b8542 iop: generate tarballs: for ice-client use target profile instead of brcm kernel profile 2017-03-29 13:13:44 +02:00
Sukru Senli
d54cacb3fb ice-client: open version update 2017-03-29 13:13:23 +02:00
Jonas Höglund
d5bd6b32e2 Extract patches to safer directory 2017-03-29 12:09:34 +02:00
Jonas Höglund
1495b55d8e Fix local repo checkout bug 2017-03-29 12:01:06 +02:00
Jonas Höglund
e81f07831e Remove dirname from exported patches 2017-03-29 11:51:45 +02:00
Jonas Höglund
50dab305c9 Update extract_core iop command 2017-03-28 17:41:47 +02:00
Erik Horemans
46716d47a3 new ice-client R4.3.0-RC10 2017-03-28 14:54:12 +02:00
Erik Horemans
2ec487b3f2 new ice-client R4.3.0-RC9 2017-03-27 15:35:00 +02:00
Reidar Cederqvist
50f792b504 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f241dd2 mediatek: made channel 0 on failed ioctl call
-------------------------------------------------------------------------------
commit f241dd296dc22301093bc98a4d623ab47fa5feee
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-27 11:56:19 +0200

    mediatek: made channel 0 on failed ioctl call

Base directory -> /
 mediatek.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-27 11:57:11 +02:00
Sukru Senli
c2a689ca65 icwmp-3.0-2017-03-24 2017-03-24 17:29:06 +01:00
Jonas Höglund
6cd99e0661 Add support for target config diff 2017-03-24 15:59:25 +01:00
Jonas Höglund
942ddd8c1c Move mtd-utils to feed_inteno_broadcom 2017-03-24 14:01:34 +01:00
Sukru Senli
72d813150d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5d4abbc wificontrol: sockect timeout 2 seconds
-------------------------------------------------------------------------------
commit 5d4abbc3bc7c96836840236f1346e2bc9454b45a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-24 12:15:53 +0100

    wificontrol: sockect timeout 2 seconds

Base directory -> /
 wificontrol.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-03-24 12:17:13 +01:00
Sukru Senli
88bbf9868e inteno-netmodes: set different routed modes for brcm and mtk 2017-03-23 13:16:44 +01:00
Sukru Senli
e6255a873e inteno-netmodes: common package for brcm and mtk 2017-03-23 12:46:43 +01:00
Sukru Senli
49786e3557 icwmp-3.0-2017-03-23 2017-03-23 10:55:56 +01:00
Jonas Höglund
3dcaf20891 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 08fb2b8 If image can not be booted from uboot reboot.
-------------------------------------------------------------------------------
commit 08fb2b839326c3bc2a2a0472b5dae6ee0288e483
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-21 17:30:56 +0100

    If image can not be booted from uboot reboot.

    Only allow 10 reboots to prevent infinite reboot and write to flash.

Base directory -> /
 board/inteno/ex400/iboot.c | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:04 +01:00
Jonas Höglund
6b4c1d809b Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1fbe8f5 Revert "Set baudrate to 57600"
-------------------------------------------------------------------------------
commit 1fbe8f5bf3702285049273005c16071326fb75fa
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-03-21 17:22:49 +0100

    Revert "Set baudrate to 57600"

    This reverts commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:00 +01:00
Sukru Senli
42b5cd023b Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 2217e77 gpio_set_state: add delay argument
-------------------------------------------------------------------------------
commit 2217e777ce56b53878ca467a06025db935c235eb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 15:00:41 +0100

    gpio_set_state: add delay argument

Base directory -> /
 src/gpio_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:10:31 +01:00
Sukru Senli
17c16349e5 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 2d474e9 wifi import new credentials when event is received
-------------------------------------------------------------------------------
commit 2d474e9ff37b9cfcffd4b9ac8eba8db03eb38a21
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-03 16:56:33 +0100

    wifi import new credentials when event is received

Base directory -> /
 src/inbd.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:39 +01:00
Jonas Höglund
9983e0cb74 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 6f962f2 Set baudrate to 57600
-------------------------------------------------------------------------------
commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-02-02 17:56:27 +0100

    Set baudrate to 57600

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:23 +01:00
Sukru Senli
8b6199d16c Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* f6f1d60 handle leds and switch here for now
* da054c1 minimilastic inbd init script for now
-------------------------------------------------------------------------------
commit f6f1d60abc493f1caf0a8bbe301ff790bfba193d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 16:30:29 +0100

    handle leds and switch here for now

Base directory -> /
 Makefile.am |   2 +-
 src/inbd.c  | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 116 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit da054c1159fc24334eb234cdc6c080297a6258b3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 13:50:45 +0100

    minimilastic inbd init script for now

Base directory -> /
 files/etc/init.d/inbd | 24 ------------------------
 1 file changed, 24 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:04 +01:00
Jonas Höglund
471018704d Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 5b30e9d Remove unused arg
-------------------------------------------------------------------------------
commit 5b30e9dbd4bf8ca13ed846478aa62135a4f94653
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 17:35:07 +0100

    Remove unused arg

Base directory -> /
 files/etc/init.d/inbd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:08:53 +01:00
Jonas Höglund
fe178ac7f3 Fix copy startscript for inbd 2017-03-23 10:08:41 +01:00
Jonas Höglund
417a9d11ef Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 366039b Add startup script for inbd
* 33dc81f Send ubus event on netlink event
-------------------------------------------------------------------------------
commit 366039bdfc80418f7089cb08230fe1b74de4edec
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:56:40 +0100

    Add startup script for inbd

Base directory -> /
 files/etc/init.d/inbd | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
-------------------------------------------------------------------------------
commit 33dc81f50b9c2039c3726b5a7bc250dcfe806803
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:28:17 +0100

    Send ubus event on netlink event

Base directory -> /
 src/inbd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:08:26 +01:00
Reidar Cederqvist
34a24d227d update_package.sh: fixed so version is asked for only when -v is set 2017-03-23 10:08:11 +01:00
Kenneth Johansson
e620faab86 Add bash debugger. 2017-03-23 10:07:43 +01:00
Jonas Höglund
ba1e3bdaa9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 65ae089 Set led to red when executing from internal SRAM.
* 5909d1e jtag: script for starting debug from nand.
-------------------------------------------------------------------------------
commit 65ae089853ddd9652103b4052af4b351d66f2374
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-28 16:56:21 +0100

    Set led to red when executing from internal SRAM.

    then set it to yellow/orange when executing from DRAM.

Base directory -> /
 Makefile                              |  14 ++++++++--
 board/inteno/ex400/jtag/ex400_led.cmm |  15 ++++++++++
 board/inteno/ex400/led.c              |   2 +-
 inteno_led.S                          |  50 ++++++++++++++++++++++++++++++++++
 mt7621_stage_L2.bin                   | Bin 19896 -> 19896 bytes
 5 files changed, 78 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5909d1e8240a7935d0005e88b2d4a1d35da50305
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-27 20:40:06 +0100

    jtag: script for starting debug from nand.

Base directory -> /
 board/inteno/ex400/jtag/ex400_quitck.cmm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:33 +01:00
Jonas Höglund
8c1b5a98aa Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* ee39c85 new default baudrate set to 115200.
-------------------------------------------------------------------------------
commit ee39c856a0162336ec53e76e330b19992a2b1b5a
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-23 13:45:35 +0100

    new default baudrate set to 115200.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:28 +01:00
Jonas Höglund
79f7392ae6 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1c053dc Add example ex400_setup script
-------------------------------------------------------------------------------
commit 1c053dc6060f344b755f2e9cdf500114c83a747f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 17:26:23 +0100

    Add example ex400_setup script

Base directory -> /
 board/inteno/ex400/production/ex400_setup | 76 +++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:20 +01:00
Kenneth Johansson
c8909f55c8 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 51f7502 print link info on std out.
-------------------------------------------------------------------------------
commit 51f7502ad1ce347af8a09531a782b87e94484599
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-22 16:57:03 +0100

    print link info on std out.

Base directory -> /
 configure.ac |  4 +--
 src/inbd.c   | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 91 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:16 +01:00
Kenneth Johansson
e1cb7b1733 update inbd. 2017-03-23 10:07:12 +01:00
Kenneth Johansson
f627287e5c Add inteno netlink bridge daemon. 2017-03-23 10:07:04 +01:00
Kenneth Johansson
44f1436849 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* cee4778 Add iboot command.
-------------------------------------------------------------------------------
commit cee4778f767e8770a2ac7bf6ea819370bb7628ea
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-24 18:47:05 +0100

    Add iboot command.

    This is inteno boot that support automatic switch over to alternate system
    image if something prevent boot on primary system.

Base directory -> /
 board/inteno/ex400/Makefile |   1 +
 board/inteno/ex400/iboot.c  | 162 ++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/wget.c   |   2 +-
 3 files changed, 164 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:40 +01:00
Kenneth Johansson
b2dcd3a853 perf_manager: turn off all leds when turning off.
we need this so that when we do a reset the leds is known to be off.
2017-03-23 10:06:34 +01:00
Jonas Höglund
c4a65ad164 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 20ef6d6 Don't write dirty as version
* 3545594 Save uboot version in env.
-------------------------------------------------------------------------------
commit 20ef6d6e6933ca7430390001532181a6e0353a2a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-15 15:05:22 +0100

    Don't write dirty as version

Base directory -> /
 scripts/setlocalversion | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 354559453d0b6728dc96c9f7bbb4dbcaeba61242
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-15 14:09:51 +0100

    Save uboot version in env.

    Do this so that the linux system can check what u-boot version is used.

Base directory -> /
 board/inteno/ex400/board.c   | 22 ++++++++++++++++++++--
 board/inteno/ex400/factory.c |  1 -
 include/configs/ex400.h      |  2 ++
 3 files changed, 22 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:26 +01:00
Kenneth Johansson
d69e7fe9ac Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* d907f86 print on serial port when rescue mode is active.
* b326684 Add led command.
-------------------------------------------------------------------------------
commit d907f8696346609080d0cf134d40acdc2c3f6ae6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:30:04 +0100

    print on serial port when rescue mode is active.

Base directory -> /
 board/inteno/ex400/board.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit b326684d8c3a4083114a9981249d2c6c0792a0ab
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:26:49 +0100

    Add led command.

Base directory -> /
 board/inteno/ex400/Makefile |  1 +
 board/inteno/ex400/board.c  | 45 ++++++++++++++++++---------
 board/inteno/ex400/led.c    | 74 +++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/led.h    | 14 +++++++++
 4 files changed, 119 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:23 +01:00
Jonas Höglund
eb420976d0 Update feed [ feed_inteno_packages ] package [ ated ]
-------------------------------------------------------------------------------
* f614cba Disable failing ethernet ioctl
-------------------------------------------------------------------------------
commit f614cba983d827d5185c60a6a5a35530621d44d2
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-11 15:24:14 +0100

    Disable failing ethernet ioctl

Base directory -> /
 cmd_io/eth.c | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:19 +01:00
Kenneth Johansson
09814867f6 update. 2017-03-23 10:06:16 +01:00
Kenneth Johansson
cc556268dd fix v variable. 2017-03-23 10:06:11 +01:00
Kenneth Johansson
e8e3ac95a1 it builds. 2017-03-23 10:06:05 +01:00
Kenneth Johansson
d6f4372820 add ated. 2017-03-23 10:05:59 +01:00
Kenneth Johansson
0664b20b01 update. 2017-03-23 10:05:52 +01:00
Kenneth Johansson
9d0878aa21 remove extra space. 2017-03-23 10:05:47 +01:00
Kenneth Johansson
6e0eb90c0a new version and put u-boot into release file.
we need u-boot in the release file so that we can install a new version
if that is needed.
2017-03-23 10:05:38 +01:00
Sukru Senli
f5844368e0 layer2interface: quick fix to install files 2017-03-23 10:05:32 +01:00
Sukru Senli
5585e53773 layer2interface: copy broadcom dir for broadcom targets only 2017-03-23 10:05:27 +01:00
Sukru Senli
325d978d02 port_management: configure only if the necessary tools exist 2017-03-23 10:05:12 +01:00
Sukru Senli
cb36f99318 inteno-netmodes: do not show bridged modes for EX400 2017-03-23 10:05:02 +01:00
Jonas Höglund
b5e0665e2c Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 8cd9e36 Add format nand commands to default uboot env
-------------------------------------------------------------------------------
commit 8cd9e3642b5e6be5630385aa2e7eb7666ed0d4fb
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-28 11:54:46 +0200

    Add format nand commands to default uboot env

Base directory -> /
 include/configs/ex400.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:53 +01:00
Kenneth Johansson
088d733b5e Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* c92bd59 make it work on UBI again.
-------------------------------------------------------------------------------
commit c92bd591777c9fb1e7c55e3e9da0e078a8be00b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-09-27 19:30:19 +0200

    make it work on UBI again.

Base directory -> /
 tools/env/fw_env.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:49 +01:00
Jonas Höglund
76618155da Update feed [ feed_inteno_packages ] package [ tptest ]
-------------------------------------------------------------------------------
* 5778690 Fix format string error
-------------------------------------------------------------------------------
commit 57786908e7a0c790f303417b459c562887582384
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-26 15:00:00 +0200

    Fix format string error

Base directory -> /
 client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:39 +01:00
Sukru Senli
94e332731f questd: update Makefile 2017-03-23 09:07:18 +01:00
Sukru Senli
88175f3d2d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c16d45c tools: fix trim funtion for empty string refs #11680
-------------------------------------------------------------------------------
commit c16d45c61f0708103c25749a9354805b8720f1f6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-22 16:39:38 +0100

    tools: fix trim funtion for empty string refs #11680

Base directory -> /
 tools.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 16:56:48 +01:00
Kent Ekholm
34025a770f Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* ee99af0 Fix for #9581, "error 404 on incoming call"
-------------------------------------------------------------------------------
commit ee99af0d91a2197529b13075d802ebc37e644e40
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2017-03-22 15:24:49 +0100

    Fix for #9581, "error 404 on incoming call"

    The destination number is not recognized because the dialplan becomes empty
    by some reason. The fix is to reload the dialplan and try to find the
    destination number again.

Base directory -> /
 channels/chan_sip.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 15:31:14 +01:00
Reidar Cederqvist
01d39c8552 iop-update_package: fixed so that -u flag is reset on every call 2017-03-22 11:35:35 +01:00
Erik Horemans
5e5f34662e new ice-client R4.3.0-RC7 2017-03-22 10:49:44 +01:00
Sukru Senli
724518ecf1 icwmp-3.0-2017-03-17 2017-03-21 15:59:38 +01:00
ke.hu
62a27eef77 LED setting
set led to notice state when init. After all init done, change to OK state
2017-03-20 16:16:45 +01:00
Sukru Senli
ce64054ddd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ab1bd4f wireless: fix for variable maxrate
-------------------------------------------------------------------------------
commit ab1bd4ff34c543a5d535cb2eb70619a7fdf44995
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-20 12:57:42 +0100

    wireless: fix for variable maxrate

Base directory -> /
 wireless.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-20 12:57:55 +01:00
Sukru Senli
b63d245946 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ecded15 wireless: wl_get_maxrate is for broadcom only
-------------------------------------------------------------------------------
commit ecded15212dcd908dfe195629fa700e42b453566
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-20 12:31:57 +0100

    wireless: wl_get_maxrate is for broadcom only

Base directory -> /
 wireless.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-03-20 12:33:34 +01:00
Sukru Senli
2a73bd91f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8b804b8 wireless: show correct max rate
-------------------------------------------------------------------------------
commit 8b804b847255f7d51fadd748eba19dd5c5d37edb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-20 12:29:24 +0100

    wireless: show correct max rate

Base directory -> /
 broadcom.c | 27 +++++++++++++++++++++++++++
 wireless.c | 17 ++---------------
 2 files changed, 29 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2017-03-20 12:29:55 +01:00
Sukru Senli
7543ee1575 iop: select juci-realtime-graphs by default 2017-03-17 15:18:14 +01:00
Sukru Senli
13008b1c12 questd: graphd installed 2017-03-17 15:05:18 +01:00
Sukru Senli
704c93fe85 questd updated 2017-03-17 14:39:56 +01:00
Sukru Senli
2a04e7f131 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
*   ea0308a Merge remote-tracking branch 'origin/realtime-graph' into devel
|\
| * 07077db graphd: renamed transmitted/received to upstream/downstream
| * 44d6a6e graphd: prettified code
| * ef76ecc graphd: reading rx/tx bytes as long long
| * f09651a graphd: changed rx/tx_bytes to long long
| * 9eae7bd graphd: added remove_node()
| * fba8e7d graphd: inverted rx/tx for client_traffic command
| * 6f8d867 graphd: estetic changes
| * 8b53dbb realtime-graph: added graphd.c
| * 2fa637e realtime-graph: added graphd to makefile
* 0e06469 net.c: ip_conntracks first two columns now read by sscanf
* 41272f7 mtk: get software version correctly
* 7e2deb9 mtk: calculate bandwidth from rate
-------------------------------------------------------------------------------
commit ea0308a1d0b2427aa3189d3a2df2fd40cc5fcceb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 14:03:27 +0100

    Merge remote-tracking branch 'origin/realtime-graph' into devel

Base directory -> /
 Makefile |   8 +-
 graphd.c | 394 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 401 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 07077db6964b0797f811eb90ac87457033c865ec
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-16 16:18:08 +0100

    graphd: renamed transmitted/received to upstream/downstream

Base directory -> /
 graphd.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 44d6a6e22a98a80f272cb43f8b19cf898ca5907b
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-14 14:05:17 +0100

    graphd: prettified code

Base directory -> /
 graphd.c | 55 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 30 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit ef76ecc46cb714b5817fc495bbc93936419a81e4
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-14 13:05:30 +0100

    graphd: reading rx/tx bytes as long long

Base directory -> /
 graphd.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 0e06469977c9c3e2368ece637be8fe8b7568aa83
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-09 15:05:39 +0100

    net.c: ip_conntracks first two columns now read by sscanf

Base directory -> /
 net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f09651a2e7e38e4f63953aa034f14fab82981dd3
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-10 14:29:39 +0100

    graphd: changed rx/tx_bytes to long long

Base directory -> /
 graphd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 9eae7bd0fc92e941f92c5b57b60b66d51a132014
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-08 18:46:59 +0100

    graphd: added remove_node()

Base directory -> /
 graphd.c | 46 +++++++++++++++++++++++++++++-----------------
 1 file changed, 29 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 41272f7f6eec28b103150c105c3049370a58e253
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-08 17:41:16 +0100

    mtk: get software version correctly

Base directory -> /
 system.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 7e2deb9eb8a76d4b711a39bcfb9d42593bcb2d01
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-08 17:32:21 +0100

    mtk: calculate bandwidth from rate

Base directory -> /
 mediatek.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fba8e7d9873b695313ecb1705cd993b680f860eb
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-06 16:12:29 +0100

    graphd: inverted rx/tx for client_traffic command

Base directory -> /
 graphd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 6f8d867b351d13a23b096da07f979371db208304
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-03-03 11:52:39 +0100

    graphd: estetic changes

Base directory -> /
 graphd.c | 107 +++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 56 insertions(+), 51 deletions(-)
-------------------------------------------------------------------------------
commit 8b53dbb815eabbdd33e45a12e0bf16ece6bfad17
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-02-24 16:31:18 +0100

    realtime-graph: added graphd.c

Base directory -> /
 graphd.c | 371 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 371 insertions(+)
-------------------------------------------------------------------------------
commit 2fa637ebaeb489d8745a7ea6ff106c6e5ec0aa49
Author: Christopher Nagy <christopher.nagy@inteno.se>
Date: 2017-02-24 16:29:54 +0100

    realtime-graph: added graphd to makefile

Base directory -> /
 Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-17 14:06:48 +01:00
Erik Horemans
37bb957de9 new ice-client R4.3.0-RC6 2017-03-17 13:12:20 +01:00
Sukru Senli
00b38325da brcmwifi: use correct parameter for bsd 2017-03-17 09:49:49 +01:00
Kenneth Johansson
05d27a0cac Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* a6eaaae Implement support function for led driver.
-------------------------------------------------------------------------------
commit a6eaaae28519e1b77cd6e7a95c28bf9b113afecb
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-16 16:43:47 +0100

    Implement support function for led driver.

    Need this to avoid led module to set leds to unsupported state.

Base directory -> /
 src/gpio_led.c     | 16 ++++++++++++++++
 src/touch_sx9512.c | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)
-------------------------------------------------------------------------------
2017-03-16 16:44:18 +01:00
Sukru Senli
22c0c977cd icwmp-3.0-2017-03-16 2017-03-16 15:10:08 +01:00
Sukru Senli
95a313b315 icwmp-3.0-2017-02-16 2017-03-16 10:10:49 +01:00
Sukru Senli
46fe110a85 brcmwifi: nvram bsd values from Broadcom for RSSI threshold 2017-03-15 17:38:15 +01:00
Erik Horemans
cfdb6d6e7e new ice-client R4.3.0-RC4 2017-03-15 16:07:33 +01:00
Sukru Senli
4a5fc4bb62 ice-client: fix typo in depedency 2017-03-14 10:22:44 +01:00
Sukru Senli
9ba825a769 asterisk: sleep 1 second before asterisk core reload 2017-03-13 17:21:17 +01:00
Erik Horemans
b62c1ba482 new ice-client 4.3.0-RC2 2017-03-13 14:23:22 +01:00
Sukru Senli
e2046e13f1 brcmwifi: bsd no deauth set in nvram 2017-03-10 14:49:53 +01:00
Alex Oprea
9d6fb2ca09 quest-monitor: rename to imonitor 2017-03-08 12:47:52 +01:00
Alex Oprea
192399d475 questd-monitor: monitor bsd not to hangup 2017-03-08 12:43:13 +01:00
Sukru Senli
87908befaf iup: sync before applying configs 2017-03-08 11:57:43 +01:00
Kenneth Johansson
4a2c9876f5 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* c3c2a59 change catv montor to run 10 times slower when no module is detected.
* 9700e9d Add delay for gpio.
-------------------------------------------------------------------------------
commit c3c2a591ad74ae0bdc255e8255045879502b2522
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-07 15:58:57 +0100

    change catv montor to run 10 times slower when no module is detected.

Base directory -> /
 src/catv_monitor.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 9700e9d11a146344b80e17dcd093474a15f8262a
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-07 15:47:06 +0100

    Add delay for gpio.

    This delay is how long to wait in microseconds after a gpio value is set.

    Used to work around HW issue with setting bits where the hardware uses a
    read modify write on a pin with a large capacitor.

Base directory -> /
 src/gpio.c                |  8 ++++----
 src/gpio.h                |  2 +-
 src/gpio_led.c            | 15 ++++++++++++---
 src/gpio_shift_register.c | 16 ++++++++--------
 src/gpio_test.c           |  2 +-
 5 files changed, 26 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2017-03-07 16:00:19 +01:00
Sukru Senli
14f97c4614 tptest: remove non working tptest server 2017-03-07 15:10:28 +01:00
Alex Oprea
4141ba46ec iup: keepuserconfig: improve the functionality refs #11467
the keepuserconfig option is checked in the config
	received though provisioning,
	and not in the config currently configured on the router.
2017-03-06 21:09:33 +01:00
Alex Oprea
2c7dc5c60b questd-monitor: possibly improve the restart procedure 2017-03-06 12:51:55 +01:00
Alex Oprea
1fe2d1e87f questd-monitor: start questd if it's not running 2017-03-06 12:50:03 +01:00
Reidar Cederqvist
97cd7cdff8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c547b76 port.c: added a check if input is valid in port status call
* cb4f134 port.c: fixed bug in port status for bridge
-------------------------------------------------------------------------------
commit c547b76a0995930ae4681c976189642ba1a248d2
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:28:19 +0100

    port.c: added a check if input is valid in port status call

Base directory -> /
 port.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
-------------------------------------------------------------------------------
commit cb4f13460c6f0c4e562ca7952aee98ed2bb4b81c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:27:33 +0100

    port.c: fixed bug in port status for bridge

Base directory -> /
 port.c | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
2017-03-06 11:54:07 +01:00
Sukru Senli
4478bb5a62 tptest: remove unavailable server 2017-03-06 11:24:12 +01:00
Sukru Senli
5b20ce3119 samba3: do not listen on any interface by default 2017-03-03 12:32:15 +01:00
Reidar Cederqvist
dddd98cf00 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 3094b92 fixed an error in tools.c and fixed warnings in port.c
-------------------------------------------------------------------------------
commit 3094b92365d860360934c0656ad51439eacac3ad
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-03 12:04:10 +0100

    fixed an error in tools.c and fixed warnings in port.c

Base directory -> /
 port.c  | 4 ++--
 tools.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-03 12:06:10 +01:00
Sukru Senli
79864c8e1d brcmwifi: set dconpoll 2017-03-02 16:07:12 +01:00
Martin Lindberg
024ad5e1d2 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* fd55c5d Ticket 11390 - Ubus asterisk.call_log printout
-------------------------------------------------------------------------------
commit fd55c5dc4865142b7955ead96fe93b1ce888c37c
Author: Martin Lindberg <martin.lindberg@evidente.se>
Date: 2017-03-02 15:03:48 +0100

    Ticket 11390 - Ubus asterisk.call_log printout

    Changed ubus prinout variables to match struct containing information.

Base directory -> /
 res/res_voice.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-02 15:19:38 +01:00
Sukru Senli
7502a6aed9 brcmwifi: set dconpoll correctly for dfs test 2017-03-02 15:18:40 +01:00
Sukru Senli
b63d7163a6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 24b09bb wireless: support 160MHz support
-------------------------------------------------------------------------------
commit 24b09bb6996838721859d0ad220f73497f3f0a4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-02 13:43:33 +0100

    wireless: support 160MHz support

Base directory -> /
 wireless.c | 18 +++++++++++++++---
 wireless.h |  2 +-
 2 files changed, 16 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-03-02 13:44:38 +01:00
Reidar Cederqvist
c3e82b5329 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e7a3968 wireless: added autochannel call
* 514517e wificontrol: internet led notice in repeater/extender mode
* dd1cf88 wificontrol: write online status to tmp
-------------------------------------------------------------------------------
commit e7a39684b7960e3c4b99958ae3fea7d918290753
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-01 13:53:37 +0100

    wireless: added autochannel call

Base directory -> /
 broadcom.c | 10 ++++++++++
 broadcom.h |  1 +
 mediatek.c |  4 ++++
 mediatek.h |  1 +
 wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 55 insertions(+)
-------------------------------------------------------------------------------
commit 514517e44fe90e6861a233b45a7a9f248753807b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-28 10:49:40 +0100

    wificontrol: internet led notice in repeater/extender mode

Base directory -> /
 wificontrol.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit dd1cf8830760bfea503fc049a1928a2119bd9e4c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-27 17:22:04 +0100

    wificontrol: write online status to tmp

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2017-03-01 13:56:18 +01:00
Reidar Cederqvist
74c940f058 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b7ae898 port.c: added support for bridges in port status call
* faf36c7 wificontrol: connect to clients which are on lan side
-------------------------------------------------------------------------------
commit b7ae898c21dd9a8866f997551e16ca982ed0a4e9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-02-27 15:19:33 +0100

    port.c: added support for bridges in port status call

Base directory -> /
 port.c | 48 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 37 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit faf36c70a7b775b80eafb6070d403aae06552870
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-15 14:12:01 +0100

    wificontrol: connect to clients which are on lan side

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-27 15:59:41 +01:00
Kenneth Johansson
ec0e038fa6 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* abe5807 mem leak: add missing file to previous mem fix patch
-------------------------------------------------------------------------------
commit abe58070db6a616eb4f24304f0613c9d67a77775
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-02-24 18:23:15 +0100

    mem leak: add missing file to previous mem fix patch

Base directory -> /
 src/catv.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 52 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-02-24 18:25:09 +01:00
Kenneth Johansson
ee972545bc Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 664864a Fix compile for bradcom targets (mips/arm).
* 1a5ba03 mem leak fix.
* 0434260 Add missed interrupt handler for touch panel.
* 3008d04 add support for gpio buttons using linux gpio interface.
* d57bb3f Add support for leds using linux gpio interface.
* 70137e9 Include touch driver sx9512 on all platforms.
-------------------------------------------------------------------------------
commit 664864adeb06d23569f27de91b9c743881d99ee4
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-02-24 16:38:36 +0100

    Fix compile for bradcom targets (mips/arm).

Base directory -> /
 Makefile.am | 4 +++-
 src/gpio.h  | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 1a5ba03b502a0910b5648b26b1051b0e59c4ff28
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-02-23 18:02:08 +0100

    mem leak fix.

    So blob_buf_init needs to have a blob_buf_free or else we leak memory.

    This is not done in the ubus example client so if you copy that code you
    have a memory leak.

Base directory -> /
 src/button.c       |  5 +++++
 src/catv_monitor.c |  7 +++++++
 src/led.c          |  2 ++
 src/sfp.c          | 22 +++++++++++++++++++++-
 4 files changed, 35 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 04342602acb00420c5e5cb4e83807d55ccc4b42f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-18 19:17:24 +0100

    Add missed interrupt handler for touch panel.

    missed this file from last commit.

Base directory -> /
 src/touch_sx9512.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 3008d04ed46d82f98fc2078333d1c76b6c03de1b
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-18 18:51:02 +0100

    add support for gpio buttons using linux gpio interface.

Base directory -> /
 Makefile.am       |  2 +-
 src/button.c      | 10 ++++++----
 src/gpio.h        |  4 ++++
 src/gpio_button.c | 32 +++++++++++++++++++++++++++++++-
 src/gpio_led.c    |  2 +-
 src/gpio_linux.c  | 34 ++++++++++++++++++++++++++++++++--
 6 files changed, 75 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit d57bb3f171a1c4383dbc9d6cff7a104b310a61fe
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-17 20:41:18 +0100

    Add support for leds using linux gpio interface.

Base directory -> /
 Makefile.am       |  9 ++++----
 src/gpio.h        | 14 +++++++++++++
 src/gpio_button.c |  1 -
 src/gpio_led.c    | 16 +++++++++-----
 src/gpio_linux.c  | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/server.c      |  6 +++---
 6 files changed, 96 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 70137e9ef89f43e71b455c8445dd33ae03b06bf6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-17 17:18:07 +0100

    Include touch driver sx9512 on all platforms.

    Was only compiled in on broadcom based platform. But is now also needed for
    mediatek SOC (ex400).

Base directory -> /
 Makefile.am        |  8 ++++----
 src/gpio.h         |  5 ++++-
 src/server.c       |  2 +-
 src/sx9512.c       |  6 ++++--
 src/sx9512.h       |  4 ++++
 src/touch_sx9512.c | 12 ++++++++----
 6 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2017-02-24 16:40:32 +01:00
Sukru Senli
ddf5cc1779 iup: add options 225 and 226 to reqopts by default 2017-02-22 10:26:08 +01:00
Sukru Senli
922eecb476 iup: set option43 url in provisioning.iup.urlcwmp as well 2017-02-22 10:26:05 +01:00
Erik Horemans
c3703c0268 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-02-20 15:08:29 +01:00
Erik Horemans
34210e58df new ice-client 4.2.0-RC7 2017-02-20 15:07:33 +01:00
Alex Oprea
a40ad59abc iup: keepuserconfig: boolean to save user changes
Add:
	provisioning.configserver.keepusersettings='on' or
	option keepuserconfig on
	in /etc/config/provisioning to save the changes done by user
	over a configuration update through provisioning/iup.
2017-02-15 15:26:38 +01:00
Alex Oprea
bdc0652e71 iup: increase debug level for Reboot message 2017-02-15 12:54:29 +01:00
Alex Oprea
af850eb63c iup: save user changes: wifi interface
When applying a new config received through iup/provisionining,
	Save the changes that the user has made to the wifi interfaces.
	(For example SSID or password change.)
2017-02-15 12:43:56 +01:00
Sukru Senli
069c3fa921 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 47c5d67 wificontrol: go through arp table only
* 7d93bc2 mtk: almost bullet proof autoconnect function
* 7dfa71b mtk: apcli reconnect
-------------------------------------------------------------------------------
commit 47c5d67522c792f2fca8a46bdcc719db8bef766e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-14 13:37:05 +0100

    wificontrol: go through arp table only

Base directory -> /
 wificontrol.c | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 7d93bc2c057d004f1f90e6f85c76f650f74765d5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-12 14:33:37 +0100

    mtk: almost bullet proof autoconnect function

Base directory -> /
 wificontrol.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 7dfa71b9e8aff739c14f748ed725fe9c1daa594c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-12 14:21:40 +0100

    mtk: apcli reconnect

Base directory -> /
 wificontrol.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-14 13:37:31 +01:00
Reidar Cederqvist
0b915187d0 added a check that fixes doubble macs on vlans 2017-02-13 12:27:41 +01:00
Sukru Senli
ea6bd4c067 brcmwifi: rssi threshold based policy is working 2017-02-11 15:31:51 +01:00
Alex Oprea
c35d0edbe2 iup: save user changes: port forwarding and parental control
when receiving a new configuration through iup,
	save the changes that the user has done to
	port forwarding and parental control and
	apply them back on top of the new configuration.
2017-02-10 19:30:52 +01:00
Sukru Senli
e53ff48d3c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9a7864e add new mac to inteno macaddr
-------------------------------------------------------------------------------
commit 9a7864ea9625429d67e54fafda2105f855806c5e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-10 10:47:01 +0100

    add new mac to inteno macaddr

Base directory -> /
 tools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-10 10:50:07 +01:00
Alex Oprea
46e32e3e8e iup: reduce verbose level. do not output messages to console 2017-02-09 16:50:01 +01:00
Erik Horemans
9ef243ea25 new ice-client 4.2.0-RC5 2017-02-07 16:00:44 +01:00
Erik Horemans
16cc785845 new ice-client 4.2.0-RC4 2017-02-07 15:00:17 +01:00
Erik Horemans
72135f8f93 new ice-client 4.2.0-RC3 2017-02-07 13:12:37 +01:00
Sukru Senli
0f847738ad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5f529c2 use is_inteno_macaddr function in more places
-------------------------------------------------------------------------------
commit 5f529c2aa8bd8865dd6d705470d565a142dbcb29
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-07 11:56:16 +0100

    use is_inteno_macaddr function in more places

Base directory -> /
 network.c | 2 +-
 tools.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-07 11:56:36 +01:00
Sukru Senli
24a8ef1789 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ccafa12 wificontrol: allow router.wireless call
-------------------------------------------------------------------------------
commit ccafa127bceba86d5168252ff71e818fa2893f28
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-04 18:25:18 +0100

    wificontrol: allow router.wireless call

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-07 11:18:12 +01:00
Alex Oprea
2e04005bad iup: init script: redirect a copy of the log messages to console 2017-02-06 21:52:26 +01:00
Alex Oprea
67b3767a48 iup: reload: use ubus call uci commit 2017-02-06 21:52:26 +01:00
Erik Horemans
6022e09124 new ice-client 4.2.0-RC2 2017-02-06 12:12:18 +01:00
Martin Lindberg
a88d977014 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* 1a9ae7d Ticket 10983 - Handeling endpoint driver issues at asterisk crash/restart.
-------------------------------------------------------------------------------
commit 1a9ae7d68f2190eb009e892525163d23f9d1750e
Author: Martin Lindberg <martin.lindberg@evidente.se>
Date: 2017-02-06 10:34:57 +0100

    Ticket 10983 - Handeling endpoint driver issues at asterisk crash/restart.

    Reloading chan_brcm if endpoint in not properly restarted.

Base directory -> /
 channels/chan_brcm.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-02-06 10:46:37 +01:00
Sukru Senli
eddf989308 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2a5340f wificontrol: fast and ugly way to get assoclist of repeater
-------------------------------------------------------------------------------
commit 2a5340fc5cc501c6d57e127c5533c65e8eeb6018
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-04 13:48:13 +0100

    wificontrol: fast and ugly way to get assoclist of repeater

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:52:32 +01:00
Alex Oprea
0f61b1e560 iup: improve logging messages 2017-02-04 01:23:56 +01:00
Alex Oprea
a129cb2b9b iup: provisioninig: add log messages for scheduling and unscheduling 2017-02-04 01:02:27 +01:00
Alex Oprea
d1a12bc597 iup: polling.enabled: implement functionality 2017-02-03 22:14:06 +01:00
Alex Oprea
515ab236b5 iup: wait_for_default_gateway: increase timers to 120 10 2017-02-02 00:12:33 +01:00
Alex Oprea
537f4c4686 iup: wait_for_default_gateway: add interface for ping 2017-02-02 00:12:33 +01:00
Alex Oprea
dcdb147f2f iup: wait_for_default_gateway 2017-02-02 00:12:33 +01:00
Alex Oprea
bf43dcd54a iup: init.d script: always start iup 2017-02-02 00:12:22 +01:00
Alex Oprea
e8aff57d70 iup: verbose on 3 levels: -v ,-v -v, -v -v -v 2017-02-02 00:08:49 +01:00
Alex Oprea
fa6425ca2a iup: refactor code: add main and parse_dhcp_functions 2017-01-31 16:17:49 +01:00
Alex Oprea
77ece46686 iup: option 132: use verbose function instead of logger 2017-01-30 22:50:28 +01:00
Alex Oprea
2b31afb782 iup: improve config checksums log message 2017-01-30 22:42:48 +01:00
Alex Oprea
d3e6be9559 iup: improve the log messages and debug output 2017-01-30 22:30:57 +01:00
Alex Oprea
099522a02c iup: improve dhcp options parsing, comments and debug output 2017-01-30 22:30:42 +01:00
Alex Oprea
d88f5ca39e iup: reboot: improve log, output message and reboot reason 2017-01-30 21:07:27 +01:00
Alex Oprea
f0c365c181 iup: fix iup tmp directory path 2017-01-30 21:07:27 +01:00
Alex Oprea
f58fa5af0a iup: do not use the verbose function before parsing the args 2017-01-30 21:07:27 +01:00
Alex Oprea
ca38833cf2 iup: improve the message logging function 2017-01-30 21:07:27 +01:00
Alex Oprea
7074b1ad67 iup: remove whitespaces 2017-01-30 21:07:27 +01:00
Sukru Senli
08bd17c96a questd-3.1.30 2017-01-30 18:02:08 +01:00
Sukru Senli
09dfd6314b icwmp-3.0-2017-01-30 2017-01-30 17:53:50 +01:00
Sukru Senli
8f77d0f706 questd-3.1.29 2017-01-27 11:16:38 +01:00
Alex Oprea
d793f92e7e iop: update_package: fix output text 2017-01-26 13:43:12 +01:00
Alex Oprea
d4b564d426 questd: questd-monitor: remove dummy set 2017-01-25 19:18:08 +01:00
Alex Oprea
0aa291679e questd: add quest-monitor script refs #11253 2017-01-25 19:14:32 +01:00
Sukru Senli
849ac59ea2 asterisk: create hotplug directory 2017-01-25 17:22:28 +01:00
Sukru Senli
4af5017229 asterisk: do not stop boot process #11083 2017-01-25 16:49:48 +01:00
Reidar Cederqvist
a68d674a03 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ca6338b created get_port_status insted of get_ports_speed and get_port_type
* 93cae17 Fix reading keys on mediatek
* cb64fb0 mediatek.c: fixed parsing for wifi_scan_results
* 265b2c2 mediatek.c: added frequency to scanresults
* 44b9a8a wireless: added the radio to parse_scanresults function
* 2d1fea1 broadcom.c: scanresults changed rssi and noice to be ints and added snr
* ca74c0d mediatek: fix channel reading
* 95dca63 rename scanresult functions to scanresults
* 9a42c34 fix not severe bug in trim function
-------------------------------------------------------------------------------
commit ca6338b417026ebe5931f946aa4f40ca7771c7c5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-25 15:34:20 +0100

    created get_port_status insted of get_ports_speed and get_port_type

Base directory -> /
 broadcom.c |  14 ++++++
 network.c  |   4 +-
 port.c     | 166 ++++++++++++++++++++++++++++++++-----------------------------
 port.h     |   2 +-
 4 files changed, 105 insertions(+), 81 deletions(-)
-------------------------------------------------------------------------------
commit 93cae172d7f1350f46209984a0f890d1f5d5d57e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-25 15:29:38 +0100

    Fix reading keys on mediatek

Base directory -> /
 dumper.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit cb64fb08a83bcf09e5f10322cf0726592572310d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 17:49:41 +0100

    mediatek.c: fixed parsing for wifi_scan_results

Base directory -> /
 mediatek.c | 72 ++++++++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 51 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
commit 265b2c29c918b6079d26b964427d94dbeb5c86d6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 15:44:13 +0100

    mediatek.c: added frequency to scanresults

Base directory -> /
 mediatek.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------------------------------------------------------------------------
commit 44b9a8a0e6a21557f8f825b1942448351b595a8a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 15:26:22 +0100

    wireless: added the radio to parse_scanresults function

    for broadcom: used for getting local noise for mediatec: used for getting
    frequency

Base directory -> /
 broadcom.c | 23 ++++++++++++++---------
 broadcom.h |  2 +-
 mediatek.c |  2 +-
 mediatek.h |  2 +-
 wireless.c |  2 +-
 5 files changed, 18 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 2d1fea19413d4351fc90b495ab92a4d044c849b9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 13:47:34 +0100

    broadcom.c: scanresults changed rssi and noice to be ints and added snr

Base directory -> /
 broadcom.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit ca74c0d4d93c7751cac728d2d04641a9ac8e3542
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 18:35:41 +0100

    mediatek: fix channel reading

Base directory -> /
 mediatek.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 95dca6369255e39f25fa012c3f887819d46828c9
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 18:09:59 +0100

    rename scanresult functions to scanresults

Base directory -> /
 broadcom.c | 4 ++--
 broadcom.h | 4 ++--
 mediatek.c | 4 ++--
 mediatek.h | 4 ++--
 wireless.c | 8 ++++----
 5 files changed, 12 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 9a42c347959d4a4af5114301a8c39e08ca178e84
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 15:21:17 +0100

    fix not severe bug in trim function

Base directory -> /
 tools.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-01-25 15:57:21 +01:00
Sukru Senli
163ab7e74c brcmwifi: policy based band steering 2017-01-25 14:21:04 +01:00
Kenneth Johansson
92b29dad02 IOP: update_package: only scan in the build directory that is currently in use. 2017-01-23 21:20:12 +01:00
Reidar Cederqvist
ca22f0e22e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 55d6ea2 wireless.c: fixed bug in scanresults
-------------------------------------------------------------------------------
commit 55d6ea233dff357e155e2e617ebd9411d6af3466
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-20 17:47:24 +0100

    wireless.c: fixed bug in scanresults

Base directory -> /
 wireless.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-01-20 17:48:35 +01:00
Reidar Cederqvist
aae2181dcf Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c0fd80a scanresults: put all scanresults in array called access_points
* 7716541 mtk: for now enable wps via hotplug
* 3a240ee network: do not show invalid arp clients
-------------------------------------------------------------------------------
commit c0fd80a59279e5b7541b027c42e257046169125a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-18 17:12:45 +0100

    scanresults: put all scanresults in array called access_points

    broadcom: display scanresults as an array named access_points

    mediatek: display scanresults as an array named access_points

Base directory -> /
 wireless.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit 77165419b3ae3d6a2ff1739d06f47902ddcd2394
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-16 15:57:13 +0100

    mtk: for now enable wps via hotplug

Base directory -> /
 wps.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 3a240ee06193c9f39f1525b0cd203116fe5532f0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-11 21:11:25 +0100

    network: do not show invalid arp clients

Base directory -> /
 network.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-01-20 17:45:58 +01:00
Sukru Senli
326729c7cc icwmp-3.0-2017-01-20 2017-01-20 13:00:47 +01:00
Sukru Senli
943033b027 Revert "icwmp-3.0-2017-01-20"
This reverts commit 984deb65b8.
2017-01-20 12:18:18 +01:00
Sukru Senli
984deb65b8 icwmp-3.0-2017-01-20 2017-01-20 10:57:46 +01:00
Reidar Cederqvist
70a3ba9345 juci: renamed juci-broadcom-wl to juci-wireless 2017-01-20 10:36:46 +01:00
Sukru Senli
dddf21c8ea inteno-netmodes: repeater modes bridge all ports 2017-01-18 20:29:18 +01:00
Alex Oprea
351cbf5689 multiwan: allow comma as separator in dns servers list 2017-01-18 16:43:51 +01:00
Alex Oprea
1a520f8012 multiwan: use dns entries from alias interfaces refs #11167 2017-01-18 14:41:27 +01:00
Sukru Senli
6d946f825d icwmp-3.0-2017-01-17 2017-01-17 16:43:32 +01:00
Alex Oprea
b99bfac5d7 multiwan: allow overlapping interface names refs #11167
Overlapping interface names: wan and wwan

fixed wan_id_map

wan_if_map

all the query_config

wan_ip_map and wan_gw_map

wan_fail_map

wan_recorevery_map

wan_monitor_map

fix closing parantheses
2017-01-13 15:56:43 +01:00
Reidar Cederqvist
c22ff6da15 multiwan-script: added some network_flush_cache to get fresh data 2017-01-13 10:53:53 +01:00
Reidar Cederqvist
ecaae37784 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 44105d2 directory.c: removed unwanted printouts and moved the level-check
-------------------------------------------------------------------------------
commit 44105d2003ad530b8ba4e85fd6ac06850aec1f4c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 13:48:13 +0100

    directory.c: removed unwanted printouts and moved the level-check

Base directory -> /
 directory.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-01-11 13:48:37 +01:00
Reidar Cederqvist
2b52dbf70c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c90a65c directory.c: added a max_recursion_level to folder_tree
* efe54ef mtk: do not create dsl object
* 4486659 directory.c: fixed memory-leak and made some improvments
-------------------------------------------------------------------------------
commit c90a65c91092b50bd5166b655db0c52466f760c9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 13:42:46 +0100

    directory.c: added a max_recursion_level to folder_tree

Base directory -> /
 directory.c | 14 ++++++++++----
 directory.h |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit efe54ef99677c9a5e0c7c3b10f04defa0944f5de
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-11 13:31:41 +0100

    mtk: do not create dsl object

Base directory -> /
 questd.c | 2 +-
 questd.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 4486659c73b25c8e4c5fcd466023bb85634a6dc9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 12:42:26 +0100

    directory.c: fixed memory-leak and made some improvments

Base directory -> /
 directory.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2017-01-11 13:43:43 +01:00
Reidar Cederqvist
5c83411d48 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a680f2f directory.c: fixed so that autocompltete returns path + directory name
-------------------------------------------------------------------------------
commit a680f2f190bc0b93d646d5a5804367a3155e7b4f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 11:08:28 +0100

    directory.c: fixed so that autocompltete returns path + directory name

Base directory -> /
 directory.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-01-11 11:09:05 +01:00
Reidar Cederqvist
3fa43ebf40 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a638d7b chaged autocomplete to return an array insted of object
-------------------------------------------------------------------------------
commit a638d7bf300c961fe7477349bf3fe37efb16d125
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 10:44:10 +0100

    chaged autocomplete to return an array insted of object

Base directory -> /
 directory.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-01-11 10:44:33 +01:00
Reidar Cederqvist
b7a2269497 updated questd to latest devel and fixed spelling error 2017-01-11 10:32:58 +01:00
Reidar Cederqvist
d4a22863e0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
*   29d32f0 Merge branch 'test' into devel
|\
| * b2ed2ff directory: added a autocomplete function to router.directory
| * ca50004 directory: updated router.directory folder_tree
| * 26cf2e9 added a directory object with folder_tree function
* e6b84b5 manually applied the changes that were skipped during rebase
* 5214820 wificontrol: do ifup wan for Broadcom only
* efc2024 trim some strings to remove the newline
* 5bf0675 broadcom: retrieve the encryption, key management and cipher for the scanned networks
* 1fd3c3a Read mediatek values from db
* 34e8d3d rename scanresult to scanresults
* 994cb4c broadcom: fix scaning results for 5 GHz
* 7a2d9fc fixed some warnings
* 0407d44 fix eswap defines parantheses
* 22f2cfc changed the naming in output from scanresults for mediatek
* 976bfe6 commented out unused functions
* 6e39519 broadcom: wireless scanning, first version
* 23f9fe1 move the blob_buf_init function
* cc312f6 broadcom: add wl_scan
* 062a1aa add header files include guards
* 6d6869b added ubus call router.wireless scan and scanresult functions
* a3f559a wl_get_noise: try to use ioctl, but this is not yet implemented in the kernel
* 1857794 wl_get_isup: use ioctl call
* 8ff33b8 fixed so that sizeof is used with correct array
* 34e3a9b fixes to be able to build on broadcom after merge
* cab79a2 check for pointer for not being null
* bac5591 added a comment for why hwmodes is const char
* 8042fae fixed some warnings and made Wireless and Radio struct have static memory
* 830fbd5 wl_get_bitrate: use ioctl call to get the bitrate
* c4bd374 use correct socket fd
* 1487eb8 wl_get_bssid: use ioctl call
* ba7760f fixed a argument-order misstake
* a098935 close the rectory after usage
* 50c0462 wl_get_ssid: use ioctl call to get the essid
* d3b69bc made it so that wl_ioctl is ucing the last input as length
* da523ef fixed some warnings in network.c and mediatek.c
* 43bf140 cleaned out the loead_network function
* 62ecff1 finilized the ubus call router.port status function
* 7e3a399 added a free for the uci_network and uci_dhcp objects
* c5b4341 added a function to free the memory allocated by init_package
* c8cb634 exposed a framework to get hw values from tools.h
* 018e6f3 changed from including sys/time.h to time.h
* 2c6e99b ioctl for getting the frequency channel
* 7d91ab4 wl_ioctl: do not use strlen on uninitialized memory. replaced with sizeof
* 6599c09 wl_ioctl: prevent interface name buffer overflow
* 25de286 Revert "removed unused code (fdb)"
* 2e8f041 changed the include for time.h from sys/time.h to time.h
* c68430e removed unused modules from makefile
* 39ea427 moved init_package to tools
* ae59581 changed the include for time.h from sys/ to just time.h
* e530a33 removed unused code (fdb)
* 11ebaa8 mini fix to makeifle
* 111e227 moved questd_cflags to questd_target
* b70fe5d test to add swconfig
* b87d8fe include swlib
* c650df2 started work on ubus call router.ports info
* 16d9b8b started work on ubus call router.ports info
* f25a767 call hotplug script for wps client pbc
* 742d375 initial mtk wps support
* 0d6c9e5 remove unterminated define
* 05931f2 mtk: zero tx and rx bytes until we get them correctly
* b6c070d put endif to correct line
* c2d1d1f mtk: cleanup
* 60f8a4f mtk: show speed correctly
* 29f1216 mtk: fix some warnings
* 281582d mtk: get rssi value correctly
* bd198fb mtk: get wireless clients from assoclist
* c176fbe mtk: more cleanup
* 7295555 mtk: header file cleanup
* 240ae2d mtk: ioctl working
* a0f8a62 mediatek code cleanup
* 77c431e use same get port name method for brcm and mtk
* 4ad37fb for mtk read encryption from config for now
* dd9a00d show real speed for mtk
* aa72845 zero device char array first
* 3d6140a calculate wdev correctly for mtk
* 8ff56ee mediatek updates
* 148584b mediatek: hardcode sta info until we know how to get it
* 74023cc mediatek: network topology almost working
* c843235 imitate led.internet object
* e3748e8 initial mediatek wireless code
* 06a2d5c mediatek
-------------------------------------------------------------------------------
commit 29d32f0b5564b89efb2c067f0b9627e9da324451
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 10:13:33 +0100

    Merge branch 'test' into devel

Base directory -> /
 Makefile    |   4 +-
 directory.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 directory.h |   3 +
 questd.c    |   2 +
 questd.h    |   2 +
 5 files changed, 214 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b2ed2ffc5a9c1056a4aed8e76080ee795e0f809e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 10:07:16 +0100

    directory: added a autocomplete function to router.directory

Base directory -> /
 directory.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 directory.h |  1 +
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
commit ca50004d11214a2bbd3c6f5ef4df1e3e047c5f1f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 10:06:51 +0100

    directory: updated router.directory folder_tree

Base directory -> /
 directory.c | 38 +++++++++++++++++---------------------
 directory.h |  1 +
 2 files changed, 18 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
commit e6b84b5f17fb44fc33adc4eb40123fdec2322065
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-10 18:59:47 +0100

    manually applied the changes that were skipped during rebase

Base directory -> /
 mediatek.c | 46 +++++++++++++++++++++++++++++++++++++++-------
 network.c  |  1 -
 system.c   |  4 ++--
 tools.c    | 25 +++++++++++++++++++++++++
 tools.h    |  1 +
 wireless.c | 18 ++++++------------
 wps.c      |  2 +-
 7 files changed, 74 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit 52148208c920ecf966171cef1e976543bf647bfd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-10 15:59:53 +0100

    wificontrol: do ifup wan for Broadcom only

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit efc20244b17cc49fa1260d3c210e78db1d4750c6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-22 19:27:02 +0100

    trim some strings to remove the newline

Base directory -> /
 network.c | 4 ++--
 system.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 5bf0675efe3011c90c4b6bae048ed6e613b47f2a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 18:58:51 +0100

    broadcom: retrieve the encryption, key management and cipher for the scanned
    networks

Base directory -> /
 broadcom.c | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 183 insertions(+)
-------------------------------------------------------------------------------
commit 1fd3c3a2a8ad728c17ece1d383b01d9cade2fa1f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 14:57:39 +0100

    Read mediatek values from db

Base directory -> /
 dumper.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit 34e8d3d408809408306b7823b374f978cddd6f9e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:59:47 +0100

    rename scanresult to scanresults

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 994cb4c081395254a102ccb6f361ca6c4527da8f
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:54:31 +0100

    broadcom: fix scaning results for 5 GHz

Base directory -> /
 broadcom.c | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 7a2d9fc1860111d997ffbf50a4ef4d3f0f2c3468
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-21 11:41:45 +0100

    fixed some warnings

Base directory -> /
 broadcom.c | 4 +++-
 broadcom.h | 2 +-
 port.c     | 3 +--
 wireless.c | 1 +
 4 files changed, 6 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 0407d44269c6d4105a7601872906bc3b95963f09
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:39:15 +0100

    fix eswap defines parantheses

Base directory -> /
 broadcom.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 22f2cfc5f4aa31e85552f8f2f69e8192849fd450
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-20 10:21:28 +0100

    changed the naming in output from scanresults for mediatek

Base directory -> /
 mediatek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 976bfe60f787fc73322b56e1d6243c284ffbf65d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-20 10:20:45 +0100

    commented out unused functions

Base directory -> /
 broadcom.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 6e39519bcda662bc7b45bd871d028c65544b5e66
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-19 19:38:06 +0100

    broadcom: wireless scanning, first version

Base directory -> /
 broadcom.c | 79 +++++++++++++++++++++++++++++++++++++++++++-------------------
 broadcom.h |  9 +++++++
 2 files changed, 64 insertions(+), 24 deletions(-)
-------------------------------------------------------------------------------
commit 23f9fe1c349ff6dc4934998f89c7e7636b15fc5d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-19 19:37:15 +0100

    move the blob_buf_init function

Base directory -> /
 mediatek.c | 1 -
 wireless.c | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cc312f6b27312c9c29d831aa45392f939e0752ee
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 16:06:23 +0100

    broadcom: add wl_scan

Base directory -> /
 broadcom.c | 33 +++++++++++++++++++++++++++++++++
 broadcom.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)
-------------------------------------------------------------------------------
commit 062a1aaa7c161fb43c4b3227186c541fea23938c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 16:05:35 +0100

    add header files include guards

Base directory -> /
 broadcom.h | 5 +++++
 mediatek.h | 4 ++++
 2 files changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 6d6869bb71516514412d5c4fa054e6f6ed82f9f5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-16 15:19:12 +0100

    added ubus call router.wireless scan and scanresult functions

Base directory -> /
 mediatek.c | 39 ++++++++++++++++++++++++++++
 mediatek.h |  4 +++
 wireless.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
-------------------------------------------------------------------------------
commit a3f559a27359ecedaf73a53237a3eb52198054f6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 14:54:26 +0100

    wl_get_noise: try to use ioctl, but this is not yet implemented in the
    kernel

Base directory -> /
 mediatek.c | 40 +++++++++++++++++++++++++++++++++++-----
 1 file changed, 35 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 1857794e1051178ef57dae03e8e9adab8828e445
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 16:54:03 +0100

    wl_get_isup: use ioctl call

Base directory -> /
 mediatek.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 8ff33b8496e50a739516e10c1d988e1d7fe55908
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-11-04 12:17:36 +0100

    fixed so that sizeof is used with correct array

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 34e3a9b2374295608d89798319bc8367eb86990a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 14:41:01 +0100

    fixes to be able to build on broadcom after merge

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit cab79a2c7ddc519f9a84b2be9c225a6d32d5b095
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 11:56:10 +0100

    check for pointer for not being null

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bac55917b397eb714c12f0d3637fd84c8a19e7d8
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-15 09:54:08 +0100

    added a comment for why hwmodes is const char

Base directory -> /
 wireless.h | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 8042faec11123b6ef9a4ccb640d632f081030e1a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-15 09:43:14 +0100

    fixed some warnings and made Wireless and Radio struct have static memory

Base directory -> /
 network.c  |  2 --
 wireless.c | 35 +++++++++++++++--------------------
 wireless.h | 16 ++++++++++------
 3 files changed, 25 insertions(+), 28 deletions(-)
-------------------------------------------------------------------------------
commit 830fbd535934a5c53176765b6577d6eb593b3db1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 18:26:45 +0100

    wl_get_bitrate: use ioctl call to get the bitrate

Base directory -> /
 mediatek.c | 14 +++++++++-----
 mediatek.h |  2 +-
 wireless.c | 13 +++++++------
 3 files changed, 17 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit c4bd374075dd1a7720f2e30ec48cd79a4f2b1103
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 16:36:09 +0100

    use correct socket fd

Base directory -> /
 mediatek.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 1487eb83e09a23a28fd351215fc4fdf405e6c0e7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 15:34:00 +0100

    wl_get_bssid: use ioctl call

Base directory -> /
 mediatek.c | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ba7760f8f69fb55c5448af5946a10f91f1b9f343
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 14:40:26 +0100

    fixed a argument-order misstake

Base directory -> /
 port.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit a098935814dd16fae6c8638d371d4a0b05354e3a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 14:01:54 +0100

    close the rectory after usage

Base directory -> /
 port.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 50c0462ab3a98abf847ecb27633aebba9ad8b99a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 13:08:47 +0100

    wl_get_ssid: use ioctl call to get the essid

Base directory -> /
 mediatek.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit d3b69bc82c1ab7811709d7f7b06a11546ad398fc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 12:02:36 +0100

    made it so that wl_ioctl is ucing the last input as length

    WARNING: make sure that you send in a valid length wen calling this function

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit da523efc07bcc636e647505c64dd76ede26cd032
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 11:50:54 +0100

    fixed some warnings in network.c and mediatek.c

Base directory -> /
 mediatek.c | 4 +---
 network.c  | 6 ++----
 2 files changed, 3 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 43bf1409620e8ceb5a66f7333523b479c3ef80c1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 10:10:38 +0100

    cleaned out the loead_network function

Base directory -> /
 network.c | 60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 62ecff193ee102ba6a2670a100777e2b321df13f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-13 17:31:48 +0100

    finilized the ubus call router.port status function

Base directory -> /
 port.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 119 insertions(+), 41 deletions(-)
-------------------------------------------------------------------------------
commit 7e3a399dcf80c79080ab1bc429a0d541b0d02b4e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-13 17:31:17 +0100

    added a free for the uci_network and uci_dhcp objects

Base directory -> /
 network.c | 12 +++++++-----
 network.h | 10 +++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit c5b434130ecfa3e707f0fb5881df27ca68b1fb53
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-13 17:30:04 +0100

    added a function to free the memory allocated by init_package

Base directory -> /
 tools.h | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit c8cb6348762bb1508ad549cb134547fcad2a29cf
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-13 17:28:29 +0100

    exposed a framework to get hw values from tools.h

Base directory -> /
 dumper.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 018e6f30c1a0b1ed38f28ab07f6a9434da93eb28
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-13 17:26:02 +0100

    changed from including sys/time.h to time.h

Base directory -> /
 dumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 2c6e99b0a0167abfdd620aa85103a31284ddd7fe
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-13 16:27:03 +0100

    ioctl for getting the frequency channel

Base directory -> /
 mediatek.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 7d91ab4fa5cedfafb993d8a40ec73eecb5ff8502
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-12 19:54:36 +0100

    wl_ioctl: do not use strlen on uninitialized memory. replaced with sizeof

Base directory -> /
 mediatek.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 6599c0927f205365ac99b993890f9296c24eb2e9
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-12 19:36:40 +0100

    wl_ioctl: prevent interface name buffer overflow

Base directory -> /
 mediatek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 25de2863aebda6a48ca3ad03e25ddcd7a89f1892
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 14:28:27 +0100

    Revert "removed unused code (fdb)"

    This reverts commit eee8ee1b2c72cc9b2cd126a710ba06c4f1ca927b.

Base directory -> /
 port.c | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 2e8f041f1ecf0d34309f0f59aeb2a81584183aa9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 13:10:14 +0100

    changed the include for time.h from sys/time.h to time.h

Base directory -> /
 dumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c68430ef338fac895afdb17bace0bdc662477351
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 13:09:38 +0100

    removed unused modules from makefile

Base directory -> /
 Makefile | 12 ------------
 1 file changed, 12 deletions(-)
-------------------------------------------------------------------------------
commit 39ea427c985c2bcebb51969ae22abc06371b6313
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 12:53:20 +0100

    moved init_package to tools

Base directory -> /
 Makefile   |  2 +-
 network.c  | 27 +++------------------------
 tools.h    |  2 ++
 wireless.c | 23 +----------------------
 4 files changed, 7 insertions(+), 47 deletions(-)
-------------------------------------------------------------------------------
commit ae5958187189423be02cc381eefd37e919aacc86
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 12:34:08 +0100

    changed the include for time.h from sys/ to just time.h

Base directory -> /
 dumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e530a3322232b1badbe9ce479f54bc9700335a96
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-12 12:14:44 +0100

    removed unused code (fdb)

Base directory -> /
 port.c | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 11ebaa8ee733fd6df63150f5e877b8a564c44d05
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-09 16:39:13 +0100

    mini fix to makeifle

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 111e227d5b385cf5fcedd9cbb9f2b6c6f4326297
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-09 15:55:08 +0100

    moved questd_cflags to questd_target

Base directory -> /
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b70fe5d3939e383b5a5195ce2733945417ba79a9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-09 15:53:33 +0100

    test to add swconfig

Base directory -> /
 Makefile   |  7 ++++---
 mediatek.c |  2 +-
 port.c     | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
 3 files changed, 49 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit b87d8fe2c715e07cd203299567d244b426ce0d23
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-09 09:55:10 +0100

    include swlib

Base directory -> /
 Makefile | 4 +++-
 port.c   | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c650df27b4a4e8d02a079120d3928b494fde7d8a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-08 17:29:34 +0100

    started work on ubus call router.ports info

Base directory -> /
 port.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 80 insertions(+), 32 deletions(-)
-------------------------------------------------------------------------------
commit 16d9b8b35d9e1268bf31c7f7155e316b94de327c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-08 13:40:52 +0100

    started work on ubus call router.ports info

Base directory -> /
 port.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 67 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit f25a76771783d2cb76abaf70cff134200d6c271d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-12-01 11:01:53 +0100

    call hotplug script for wps client pbc

Base directory -> /
 wps.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 742d37539c28de5793123f98debd0d0cf91c921b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-25 18:56:21 +0100

    initial mtk wps support

Base directory -> /
 wps.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
-------------------------------------------------------------------------------
commit 0d6c9e55eff8f9c47b106b6e7dc8b570814db560
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-19 11:56:35 +0100

    remove unterminated define

Base directory -> /
 broadcom.h | 3 ---
 1 file changed, 3 deletions(-)
-------------------------------------------------------------------------------
commit 05931f2ebbd9d177766211ce8652a0e493f77ec0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:43:37 +0100

    mtk: zero tx and rx bytes until we get them correctly

Base directory -> /
 mediatek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b6c070dbc2b5bb8900c0816221357d35c3f34272
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:37:21 +0100

    put endif to correct line

Base directory -> /
 network.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit c2d1d1f91066f379cf734d384b4802e9ce7a6345
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:28:49 +0100

    mtk: cleanup

Base directory -> /
 mediatek.c | 6 ++++--
 mediatek.h | 2 +-
 network.c  | 2 +-
 port.c     | 2 +-
 wireless.c | 4 ++--
 5 files changed, 9 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 60f8a4f011193318940957f953fc8325555d6019
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:03:31 +0100

    mtk: show speed correctly

Base directory -> /
 mediatek.c | 31 ++++++++++++++++++++-----------
 network.c  |  4 ++--
 2 files changed, 22 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 29f1216ce20e12ec9f809aab5241809b76b7d417
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 10:04:08 +0100

    mtk: fix some warnings

Base directory -> /
 mediatek.c | 2 ++
 wireless.c | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 281582d93db2f7bee0308af7f1046813e6e77b98
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 10:02:01 +0100

    mtk: get rssi value correctly

Base directory -> /
 mediatek.c | 46 +++++++++++++++++++++++++++++++++++++---------
 wireless.c |  9 +++++++--
 2 files changed, 44 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit bd198fb2053995e3dda4b9328c3ae497d222b408
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 09:23:22 +0100

    mtk: get wireless clients from assoclist

Base directory -> /
 network.c | 43 +++++++++----------------------------------
 1 file changed, 9 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
commit c176fbea2da70fc121dfa4465a845b9f43e60db1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 16:46:12 +0100

    mtk: more cleanup

Base directory -> /
 broadcom.c      |   8 ++---
 led.internet.sh |  19 -----------
 mediatek.c      | 100 +++++++++++++++++++++++++++++++-------------------------
 mediatek.h      |  12 -------
 wireless.c      |   2 ++
 5 files changed, 61 insertions(+), 80 deletions(-)
-------------------------------------------------------------------------------
commit 72955557485a35f0a24d3910ceaa93d43d141803
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 15:22:46 +0100

    mtk: header file cleanup

Base directory -> /
 broadcom.h |    2 -
 mediatek.c |   63 ++-
 mediatek.h | 1249 +++++-------------------------------------------------------
 3 files changed, 151 insertions(+), 1163 deletions(-)
-------------------------------------------------------------------------------
commit 240ae2dd34195c7aa522a033a8f4c2c2f0b751b8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 11:08:32 +0100

    mtk: ioctl working

Base directory -> /
 mediatek.c | 11 +++++++----
 mediatek.h |  5 ++++-
 2 files changed, 11 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit a0f8a62e77abc3213eb058e15024e0b65ad7b13c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-15 15:37:13 +0100

    mediatek code cleanup

Base directory -> /
 mediatek.c |  259 +--------
 mediatek.h | 1798 ++++++++++++++++++++++++++++++++++++++++--------------------
 network.c  |    4 +-
 3 files changed, 1232 insertions(+), 829 deletions(-)
-------------------------------------------------------------------------------
commit 77c431ea19a9591f6f16b18fe87b93d4966c83d8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 14:24:09 +0200

    use same get port name method for brcm and mtk

Base directory -> /
 port.c | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 4ad37fba96cda34eb0c8a4e1461fda0ada613b00
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:37:00 +0200

    for mtk read encryption from config for now

Base directory -> /
 mediatek.c | 39 ++++-----------------------------------
 1 file changed, 4 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit dd9a00df1557ff4689476bd629dd743123b06de9
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:27:16 +0200

    show real speed for mtk

Base directory -> /
 wireless.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit aa7284520b0f702cd93a6318a1a2cc3458aec0d0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:42 +0200

    zero device char array first

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3d6140a57955863f89b622aff10fc6b1c659463d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:18 +0200

    calculate wdev correctly for mtk

Base directory -> /
 wireless.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 8ff56ee03760ac14fa0e012537cb35b64a7e7854
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 10:58:46 +0200

    mediatek updates

Base directory -> /
 mediatek.c | 64 --------------------------------------------------------------
 port.c     |  4 ----
 2 files changed, 68 deletions(-)
-------------------------------------------------------------------------------
commit 148584bafc8c3700bf0308d1549c4cddb47673ed
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 17:15:58 +0200

    mediatek: hardcode sta info until we know how to get it

Base directory -> /
 mediatek.c | 59 ++++++-----------------------------------------------------
 1 file changed, 6 insertions(+), 53 deletions(-)
-------------------------------------------------------------------------------
commit 74023cc960434bc4b24af7f1eea6c663abba9d28
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 15:44:17 +0200

    mediatek: network topology almost working

Base directory -> /
 mediatek.c | 15 +--------------
 network.c  | 27 ++++++++++++++++++++-------
 port.c     | 16 ++++++++++++----
 3 files changed, 33 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit c8432358b253a29086881fc0d09a83a2d47f6f8b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:55:10 +0200

    imitate led.internet object

Base directory -> /
 led.internet.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
-------------------------------------------------------------------------------
commit e3748e841fe2614f01f7b25244f8a157993582d5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:49:43 +0200

    initial mediatek wireless code

Base directory -> /
 mediatek.c | 203 ++++++++++++++++++++++++++++---------------------------------
 network.c  |   2 -
 port.c     |   5 ++
 questd.c   |   4 --
 wireless.c |  21 ++++++-
 wps.c      |   4 +-
 6 files changed, 120 insertions(+), 119 deletions(-)
-------------------------------------------------------------------------------
commit 06a2d5c281e09867269ee1954d675e297d90e3bd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 17:58:13 +0200

    mediatek

Base directory -> /
 Makefile           |   6 +-
 dumper.c           |  32 +++
 mediatek.c         | 611 ++++++++++++++++++++++++++++++++++++++++++++++
 mediatek.h         | 691 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 mtkwifi_channels.h | 393 ++++++++++++++++++++++++++++++
 network.c          |  13 +-
 network.h          |   5 +-
 port.c             |  14 +-
 questd.c           |   4 +-
 questd.h           |   2 -
 uboot_env.c        |   2 +-
 wireless.c         |   4 -
 12 files changed, 1758 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit 26cf2e98f13f2511fbd5f7879da9715a01e7fc81
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-10 14:26:14 +0100

    added a directory object with folder_tree function

Base directory -> /
 Makefile    |   4 +-
 directory.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 directory.h |   1 +
 questd.c    |   1 +
 questd.h    |   1 +
 5 files changed, 152 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-01-11 10:16:24 +01:00
Sukru Senli
db54b7165f questd-3.1.27 2017-01-10 13:10:05 +01:00
Sukru Senli
3d02f139b4 brcmwifi: use bandsteering option instead of bsd 2017-01-05 11:41:05 +01:00
Sukru Senli
9fe6844f61 questd-3.1.26 2017-01-05 10:51:10 +01:00
Sukru Senli
3bc7e1f27f layer2interface: brcmwifi: add dhdctl command for radar messages 2017-01-03 12:41:43 +01:00
Sukru Senli
436089b432 icwmp-3.0-2017-01-02 2017-01-03 10:07:20 +01:00
Sukru Senli
7356870093 icwmp-3.0-2016-12-30 2017-01-02 16:19:36 +01:00
Sukru Senli
bbe890c36b icwmp-3.0-2016-12-29 2016-12-29 16:39:58 +01:00
Sukru Senli
94725e8e68 icwmp-3.0-2016-12-28 2016-12-28 14:19:26 +01:00
Sukru Senli
7cc38e0625 icwmp-3.0-2016-12-22 2016-12-28 09:32:25 +01:00
Erik Horemans
56f334af49 new ice-client 4.1.0-RC8 2016-12-27 17:08:30 +01:00
Sukru Senli
0c490c89a5 inteno-netmodes: autoswtich mode for repeater_dualdown as well 2016-12-23 14:07:45 +01:00
Sukru Senli
84c6f751aa iop: genconfig updated 2016-12-23 10:25:49 +01:00
Sukru Senli
e4784566d0 iop: genconfig: support getting themes from customerconfigs 2016-12-23 09:56:49 +01:00
Sukru Senli
625624ac76 icwmp updated 2016-12-22 09:52:46 +01:00
Sukru Senli
703aac1b4c icwmp-3.0-2016-12-21 2016-12-21 17:57:13 +01:00
Sukru Senli
a40e0c6f52 brcmwifi: change bsd policy to rssi threshold based 2016-12-21 10:44:44 +01:00
Sukru Senli
1da89a58b6 inteno-netmodes: do not create repeater mode for 2.4 only devices 2016-12-20 12:22:54 +01:00
Sukru Senli
cb81c8fad6 questd-3.1.25 2016-12-19 16:34:33 +01:00
Sukru Senli
22faec3230 icwmp-3.0-2016-12-19 2016-12-19 15:54:43 +01:00
Sukru Senli
805f16b1de remove repeater mode from DG400 and EG400 2016-12-19 13:53:33 +01:00
Sukru Senli
ea72126e80 questd-3.1.26 2016-12-19 10:09:56 +01:00
Erik Horemans
cffb90c2df new ice-client 4.1.0-RC6 2016-12-13 17:42:12 +01:00
Sukru Senli
01d2fe6833 icwmp-3.0-2016-12-07 2016-12-07 14:46:08 +01:00
Sukru Senli
55ccad945a voice-client: make sure voicesec encrypted pasword is saved 2016-12-07 12:51:13 +01:00
imen.bhiri
7e20efba97 Add libtrace 2016-12-06 17:21:11 +01:00
Erik Horemans
365daeb278 new ice-client 4.1.0-RC5 2016-12-02 17:49:42 +01:00
Reidar Cederqvist
92727456cb asterisk: fixed stupid error caused by strange behaviour in network.sh script 2016-12-02 10:34:27 +01:00
Reidar Cederqvist
bb5318f201 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a53d9b9 removed support for dss keys in dropbear
-------------------------------------------------------------------------------
commit a53d9b949da052a6fb3ad49bff422821853ed0bc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-01 15:07:42 +0100

    removed support for dss keys in dropbear

Base directory -> /
 dropbear.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-12-01 15:08:30 +01:00
Erik Horemans
a66af826a1 new ice-client 4.1.0-RC4 2016-11-30 15:16:12 +01:00
Martin Lindberg
b03c76dfb9 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* 62c3764 Adding possibility to get DTMF and RTP in syslog
-------------------------------------------------------------------------------
commit 62c3764e6765fa9b1d22cb5dda26476e4742bdcf
Author: Martin Lindberg <martin.lindberg@evidente.se>
Date: 2016-11-30 11:18:40 +0100

    Adding possibility to get DTMF and RTP in syslog

    If enabled (done from voice_client conf file) the following logging will be
    added.
    - Every state changes in brcm
    - At call source and destination numbers
    - At hangup RTP statistics

Base directory -> /
 channels/chan_brcm.c |  80 +++++----
 channels/chan_sip.c  | 462 ++++++++++++++++++++++++++-------------------------
 main/channel.c       | 168 ++++++++++---------
 3 files changed, 375 insertions(+), 335 deletions(-)
-------------------------------------------------------------------------------
2016-11-30 11:27:57 +01:00
Sukru Senli
661c1b2a5a icwmp-3.0-2016-11-24 2016-11-30 10:12:14 +01:00
Martin Lindberg
95d45b3381 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* 77854a6 Fix for led handling
-------------------------------------------------------------------------------
commit 77854a6ec695442122a435f36af1ce5e7e6a488a
Author: Martin Lindberg <martin.lindberg@evidente.se>
Date: 2016-11-28 15:05:18 +0100

    Fix for led handling

    Near side termination led continues to blink until next register interval or
    offhook/onhook

Base directory -> /
 res/res_voice.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-11-29 13:32:52 +01:00
Sukru Senli
e0cd51c35f iop: add common.diff first 2016-11-28 13:28:49 +01:00
Sukru Senli
267fa988d6 iop: genconfig fix help message 2016-11-25 20:12:24 +01:00
Alex Oprea
f9392373cc iup: add options 225 and 226 refs #9951 2016-11-25 18:16:26 +01:00
Reidar Cederqvist
08ef748614 updated genconfig to work with new customerconfigs 2016-11-25 14:34:00 +01:00
Ronny Nilsson
37d39e0c2e Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 17aa3b1 Sync handset clock when it becomes online
* 715f597 Fix compiler warning
* 359ca6f Merge common strings
* 857e262 Indicate when a handset is busy in a call or changes state to offhook. Both with an event and in the handset "list". refs #9408
* 19cf38c Deny duplicate call setups
* 97fdb0d For factory production we immediately call any registered handset. For normal end users this is a NOP.
* f994070 Test for XAVI EG400 production. Call phone handset automatically when it has registered.
-------------------------------------------------------------------------------
commit 17aa3b1d8d372ebcf4d37379f7cc4fb59c461d4b
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-23 14:59:11 +0100

    Sync handset clock when it becomes online

Base directory -> /
 src/handset.c | 39 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 36 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 715f597100cb42ee8f720d45c45ad26e24c5a7be
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-23 14:57:55 +0100

    Fix compiler warning

Base directory -> /
 src/external_call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 359ca6f29a9c816dd9a84f37ab906574f9312dba
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-23 11:11:57 +0100

    Merge common strings

Base directory -> /
 src/handset.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 857e262b09050300306ad458eb713f4e61f7e788
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-23 11:11:15 +0100

    Indicate when a handset is busy in a call or changes state to offhook. Both
    with an event and in the handset "list". refs #9408

Base directory -> /
 src/external_call.c | 19 ++++++++++++++-
 src/external_call.h |  1 +
 src/ubus.c          | 68 ++++++++++++++++++++++++++++-------------------------
 src/ubus.h          |  2 ++
 4 files changed, 57 insertions(+), 33 deletions(-)
-------------------------------------------------------------------------------
commit 19cf38c0902d846d2d17ac177bcc28710e80fe51
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-23 11:07:35 +0100

    Deny duplicate call setups

Base directory -> /
 src/external_call.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 97fdb0d2494f2958be87b82f8857837368244611
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-02 12:53:44 +0100

    For factory production we immediately call any registered handset. For
    normal end users this is a NOP.

Base directory -> /
 src/handset.c    |  7 ++-----
 src/ubus-dummy.c | 26 ++++++++++++++++++++++++--
 src/ubus.c       |  8 ++++++++
 src/ubus.h       |  2 ++
 4 files changed, 36 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit f9940703522b66061ddf4bb6581e88eeb64b6ea1
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-11-01 17:34:16 +0100

    Test for XAVI EG400 production. Call phone handset automatically when it has
    registered.

Base directory -> /
 src/handset.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-11-23 16:21:55 +01:00
Sukru Senli
dd385b48d1 icwmp-3.0-2016-11-23 2016-11-23 14:33:41 +01:00
Sukru Senli
9d138db4b2 iop: replace busybox wget with wget package 2016-11-22 11:19:14 +01:00
Sukru Senli
cb7b42c053 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e59f0ba show encryption correctly
-------------------------------------------------------------------------------
commit e59f0baafb9f8941e0ecd5cebc953d640ec0525b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-22 10:52:58 +0100

    show encryption correctly

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-11-22 10:53:19 +01:00
Martin Lindberg
029ea2e421 Merge branch 'martinl-#7318' into devel 2016-11-22 08:49:12 +01:00
Sukru Senli
d716d0acf9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0c67997 usb: show filesystem as well
-------------------------------------------------------------------------------
commit 0c67997d43ede911bafc7648cb828cc9c4807e3a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-21 19:53:46 +0100

    usb: show filesystem as well

Base directory -> /
 usb.c | 16 ++++++++--------
 usb.h |  1 +
 2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2016-11-21 19:54:27 +01:00
Sukru Senli
b1b0d943d5 brcmwifi: monitor mode support 2016-11-21 19:14:39 +01:00
Sukru Senli
8795d9e33a inteno-netmodes: added repeater mode for all boards except DG150 and DG150v2 2016-11-21 18:08:01 +01:00
Martin Lindberg
44b177be66 Ticket #7318 Syslog reporting
Adding possibility to enablöe CDR logging to syslog.
2016-11-18 15:34:31 +01:00
Sukru Senli
850ee347fd brcmwifi: fix reverse steering policy 2016-11-18 12:42:14 +01:00
Sukru Senli
0138e62150 icwmp-3.0-2016-11-15 2016-11-16 12:02:36 +01:00
Sukru Senli
2b39fd9b62 libtrace package 2016-11-14 13:44:53 +01:00
Reidar Cederqvist
a8fd92202f fixed splling error 2016-11-14 13:17:29 +01:00
Reidar Cederqvist
bf7c00a79f added -u option to update_package 2016-11-14 13:06:07 +01:00
Jonas Höglund
db132ac5fa Define NATALIE_OPEN 2016-11-14 10:58:36 +01:00
Jonas Höglund
1617952d52 Revert "iop: genconfig: set NATALIE_OPEN correctly"
This reverts commit 94267e3d7a.
2016-11-14 10:19:47 +01:00
Sukru Senli
db50e5cd71 logrotate package added 2016-11-11 09:54:17 +01:00
Sukru Senli
c061cc8408 brcmwifi: steer to correct radio 2016-11-10 12:57:00 +01:00
Sukru Senli
fa0506d8ce brcmwifi: initial bsd code with pre-defiend policies 2016-11-10 12:27:57 +01:00
Martin Lindberg
ccf5ebd1f4 Ticket #10068 Handle blocking of special rate calls.
Tweek format of handling of regex to detect special rate calles.
2016-11-09 15:51:32 +01:00
Sukru Senli
6f6ccb924a brcmwifi: force enable obss_coex 2016-11-09 10:16:38 +01:00
Sukru Senli
f08ab2223c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 889e317 show client as wireless only if it is associated
-------------------------------------------------------------------------------
commit 889e317f0de3917a4f46de94c3d66d0819e6b9a3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 15:11:46 +0100

    show client as wireless only if it is associated

Base directory -> /
 broadcom.c | 6 +++++-
 broadcom.h | 2 +-
 network.c  | 5 ++++-
 wireless.c | 4 +++-
 4 files changed, 13 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-11-08 15:12:54 +01:00
Sukru Senli
df1978f7c4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5b3d4db add is_inteno_macaddr function
* c9074d8 adapt to new Inteno mac address range
-------------------------------------------------------------------------------
commit 5b3d4dbb769965367c1a578490c3b71b4d39770e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:54:03 +0100

    add is_inteno_macaddr function

Base directory -> /
 Makefile      |  4 ++--
 network.c     | 12 ++++++------
 tools.c       | 10 ++++++++++
 tools.h       |  2 ++
 wificontrol.c | 38 ++++++--------------------------------
 5 files changed, 26 insertions(+), 40 deletions(-)
-------------------------------------------------------------------------------
commit c9074d8b3a7de736c6745d5dee1a8bed666b36fa
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:34:44 +0100

    adapt to new Inteno mac address range

Base directory -> /
 network.c     | 13 ++++++++-----
 wificontrol.c |  4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2016-11-08 13:54:33 +01:00
Sukru Senli
800d8d5075 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 994ebba router.network ports do not show the bridge without member
-------------------------------------------------------------------------------
commit 994ebbaa5897c5b27aca9dbe188f3a257e02691e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 12:38:40 +0100

    router.network ports do not show the bridge without member

Base directory -> /
 network.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2016-11-08 12:39:12 +01:00
Sukru Senli
d5413838e1 questd-3.1.23 2016-11-07 17:28:15 +01:00
Sukru Senli
ee8ae8c13f inteno-netmodes: repeater modes use 80MHz for 5G band 2016-11-07 16:49:33 +01:00
Sukru Senli
52652dd042 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d1079f3 find usb netdevice for both arm and mips
-------------------------------------------------------------------------------
commit d1079f32b14282cdc1ce2da736684bc505ed293b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-07 15:38:44 +0100

    find usb netdevice for both arm and mips

Base directory -> /
 usb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-11-07 15:39:21 +01:00
Sukru Senli
2afc1d59c9 icwmp-3.0-2016-11-03 2016-11-04 10:47:42 +01:00
Sukru Senli
c40b31720f natalie-dect: create target dir for install 2016-11-03 09:12:29 +01:00
Sukru Senli
930ff414cb inteno-netmodes: update firewall configs 2016-11-02 17:31:58 +01:00
Sukru Senli
87afc76177 natalie-dect: fix open build 2016-11-02 16:40:18 +01:00
Sukru Senli
94267e3d7a iop: genconfig: set NATALIE_OPEN correctly 2016-11-02 16:33:55 +01:00
Reidar Cederqvist
1193886cef changed the default value for enable in catv from 'no' to '0' both the new and old value work with the current inti.d script 2016-08-31 14:20:38 +02:00
Reidar Cederqvist
cebc3f53e5 updated the init.d script for catv so it gets a bool for enable from config and sends "on/off" to ubus call catv set-enable 2016-08-31 14:16:36 +02:00
138 changed files with 4400 additions and 1069 deletions

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-mod
PKG_VERSION:=1.8.10.1
PKG_SOURCE_VERSION:=015d279241d0ac5d8c1321aa6f78b9ae551575d1
PKG_SOURCE_VERSION:=ee99af0d91a2197529b13075d802ebc37e644e40
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/asterisk-1.8.x
@@ -455,6 +455,8 @@ define Package/asterisk18-mod/install
$(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/asterisk.hotplug $(1)/etc/hotplug.d/iface/80-asterisk
endef
define Package/asterisk18-mod-sounds/install

View File

@@ -0,0 +1,19 @@
#!/bin/sh
[ "$ACTION" = ifup ] || exit 0
config_load voice_client
config_get bindintf SIP bindintf
[ "$INTERFACE" == "$bindintf" ] || exit 0
. /lib/functions/network.sh
if [ -n "$bindintf" ]; then
network_get_ipaddr bindaddr "$bindintf"
[ -z "$bindaddr" ] && network_get_ipaddr6 bindaddr "$bindintf"
bindaddr="${bindaddr:-0.0.0.0}"
sed -i "s/bindaddr=.*/bindaddr=$bindaddr/g" /etc/asterisk/sip.conf
[ -e /var/run/asterisk/asterisk.ctl ] && /etc/init.d/asterisk reload
fi

View File

@@ -9,26 +9,9 @@ USE_PROCD=1
NAME=asterisk
PROG=/usr/sbin/asterisk
DEFAULT=/etc/default/asterisk
CONFDIR=/etc/asterisk
init_asterisk() {
# do not start asterisk until the
# router receives a default route
config_load voice_client
local bindintf
config_get bindintf SIP bindintf ""
if [ "$bindintf" == "" ]; then
while ! ip r | grep -q default; do
sleep 1
done
else
network_get_ipaddr ip "$bindintf"
while [ "$ip" == "" ]; do
sleep 1
network_flush_cache
network_get_ipaddr ip "$bindintf"
done
fi
[ -f $DEFAULT ] && . $DEFAULT
[ -d /var/run/asterisk ] || mkdir -p /var/run/asterisk
[ -d /var/log/asterisk ] || mkdir -p /var/log/asterisk
@@ -56,6 +39,8 @@ start_service() {
}
reload_service() {
asterisk -rx "config reload $CONFDIR/sip.conf"
sleep 1
asterisk -rx "core reload"
asterisk -rx "dialplan reload"
asterisk -rx "brcm reload"

67
ated/Makefile Normal file
View File

@@ -0,0 +1,67 @@
#
# Copyright (C) 2016 inteno
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ated
PKG_VERSION:=1.2.2
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f614cba983d827d5185c60a6a5a35530621d44d2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/ated
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
#PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
#PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/ated
CATEGORY:=Utilities
TITLE:=Daemon for handling wifi calibration
URL:=
DEPENDS:= libc
endef
define Package/ated/description
Daemon for handling wifi calibration
endef
#TARGET_CFLAGS += -I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/mips/include
MAKE_FLAGS += \
v=2 \
m=3
#TARGET_CPPFLAGS := \
# -I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx \
# -I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
# $(TARGET_CPPFLAGS)
# we donot wwant to have any install.
define Build/Install/Default
endef
define Package/ated/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ated $(1)/sbin/
endef
$(eval $(call BuildPackage,ated))

62
bashdb/Makefile Normal file
View File

@@ -0,0 +1,62 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bashdb
PKG_VERSION:=4.4-0.92
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
#PKG_SOURCE_URL:=http://sourceforge.net/projects/bashdb/files/bashdb/$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/bashdb/
PKG_MD5SUM:=b72c17870bfab2fd791b1f6de4d79f9e
#PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Bash script debugging utility.
URL:=http://sourceforge.net/projects/bashdb/
endef
define Package/$(PKG_NAME)/description
Bash script debugging utility.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DLINUX $(TARGET_CPPFLAGS) \
-I./src" \
LIBS="$(TARGET_LDFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)"
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bashdb $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/share
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.sh $(1)/usr/share/$(PKG_NAME)/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.inc $(1)/usr/share/$(PKG_NAME)/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/init
$(INSTALL_DATA) $(PKG_BUILD_DIR)/init/*.sh $(1)/usr/share/$(PKG_NAME)/init/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/show_sub
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/set_sub
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/info_sub
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/*.sh $(1)/usr/share/$(PKG_NAME)/command/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/show_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/show_sub/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/set_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/set_sub/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/info_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/info_sub/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/lib
$(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/*.sh $(1)/usr/share/$(PKG_NAME)/lib/
endef
$(eval $(call BuildPackage,bashdb))

47
brcmslic/Makefile Normal file
View File

@@ -0,0 +1,47 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_SOURCE_URL:=git@private.inteno.se:brcmslic
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=837ec19e37650e424e77c921672a0806e198ba7b
PKG_NAME:=brcmslic
RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/brcmslic
CATEGORY:=Utilities
TITLE:=Brcmslic
URL:=
DEPENDS:=
endef
define Package/brcmslic/description
Brcmslic
endef
define Package/brcmslic/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/brcmslic $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endpt $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,brcmslic))

View File

@@ -0,0 +1,4 @@
config dect 'dect'
option radio 'auto'

View File

@@ -1,4 +1,4 @@
config service 'catv'
option enable 'no'
option enable '0'
option filter '3'

View File

@@ -11,7 +11,7 @@ PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=3191d38385c8e46c3888859f196e41c7db4447bc
PKG_SOURCE_VERSION:=13da1568d57b8e6732dadc16de828d64c81906b8
PKG_NAME:=dectmngr2

54
fping/Makefile Normal file
View File

@@ -0,0 +1,54 @@
#
# Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fping
PKG_VERSION:=4.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://fping.org/dist/
PKG_HASH:=67eb4152b98ad34f99d2eec4e1098a0bb52caf13c0c89cd147349d08190fe8ce
PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
PKG_LICENSE:=BSD-4-Clause
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/fping
SECTION:=net
CATEGORY:=Network
TITLE:=sends ICMP ECHO_REQUEST packets to network hosts
URL:=http://fping.org/
endef
define Package/fping/description
fping is a ping like program which uses the Internet Control Message Protocol
(ICMP) echo request to determine if a target host is responding. fping
differs from ping in that you can specify any number of targets on the command
line, or specify a file containing the lists of targets to ping. Instead of
sending to one target until it times out or replies, fping will send out a
ping packet and move on to the next target in a round-robin fashion.
endef
CONFIGURE_ARGS+= \
--enable-ipv4 \
--enable-ipv6
TARGET_CFLAGS += -std=gnu99
define Package/fping/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fping $(1)/usr/bin/
endef
$(eval $(call BuildPackage,fping))

View File

@@ -19,18 +19,18 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=4.0.1
PKG_RELEASE:=RC17
BASE_PKG_VERSION:=5.0.1
PKG_RELEASE:=RC1
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=97a3da5fae8b5374a598c78346cb11477c85e293
PKG_SOURCE_VERSION:=a2635dd11c477d70728ab6cbe5c2dee3965dbe14
ifeq ($(CONFIG_ICE_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_SOURCE:=$(PKG_NAME)-$(BRCM_KERNEL_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(TARGET_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
else
@@ -59,7 +59,6 @@ $(call Package/ice-client/Default)
TITLE:=ice-client
MENU:=1
DEPENDS:=+libopenssl +libstdcpp +libubus +ubus +ubusd +jshn +libubox +libpthread
# DEPENDS:=+libopenssl +uclibcxx +libubus +ubus +ubusd +jshn +libubox +libpthread
endef
define Package/ice-client/config
@@ -79,7 +78,7 @@ endef
# PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(BASE_PKG_VERSION)
#
#
# These settings allow you to specify a soruce folder where your source code is located
# These settings allow you to specify a source folder where your source code is located
# This avoids having to tar-zip or fetch from git each time
# Changes can be done in your sources while the build is performed somewhere else
# If you forget some settings, your source folder will be deleted!!! So be carefull and
@@ -155,6 +154,7 @@ define Package/ice-client/install
$(CP) $(PKG_BUILD_DIR)/scripts/etc/config/ice $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/server.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/defaults.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/modify.ini $(1)/etc/iopsys
$(INSTALL_DIR) $(1)/etc/iopsys/certificates
$(CP) $(PKG_BUILD_DIR)/scripts/cert_server_ca.pem $(1)/etc/iopsys/certificates

View File

@@ -1,13 +1,15 @@
#!/bin/sh
grep -rq "^ice:" /etc/passwd || {
local password="$(db get hw.board.wpaKey)"
if [ -n "$password" ]; then
adduser -D -H -s /bin/false ice
(echo $password; sleep 1; echo $password) | passwd ice >/dev/null 2>&1
fi
adduser -D -H -s /bin/false ice
}
uci -q delete passwords.ice
uci -q set passwords.ice=usertype
uci -q set passwords.ice.password="\$WPAKEY"
uci -q add_list passwords.ice._access_r=root
uci -q commit passwords
uci show rpcd | grep username=.*ice.* >/dev/null || {
cat >> /etc/config/rpcd << EOF
@@ -22,8 +24,8 @@ config login
list write 'juci-broadcom-iptv'
list write 'juci-broadcom-vlan'
list write 'juci-broadcom-vlan-admin'
list write 'juci-broadcom-wl'
list write 'juci-broadcom-wl-admin'
list write 'juci-wireless'
list write 'juci-wireless-admin'
list write 'juci-catv'
list write 'juci-ddns'
list write 'juci-diagnostics'
@@ -47,6 +49,7 @@ config login
list write 'juci-network-netifd'
list write 'juci-owsd'
list write 'juci-printer'
list write 'juci-realtime-graphs'
list write 'juci-samba'
list write 'juci-sfp'
list write 'juci-snmpd'
@@ -56,6 +59,7 @@ config login
list write 'juci-usb'
list write 'core'
list write 'unauthenticated'
EOF
}

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2016-10-20
PKG_VERSION:=3.0-2017-11-24
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=fdaa1daa184205fe256bb155b7fb0f29a034baaa
PKG_SOURCE_VERSION:=d74b88913f676ebf9a210c4674555d080e57ff52
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -34,7 +34,7 @@ define Package/icwmp/Default
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CWMP client
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +libexpat +libstrophe +curl
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +libexpat +libstrophe +curl +libtrace
endef
define Package/icwmp/description
@@ -66,6 +66,10 @@ define Build/Prepare
endef
endif
ifeq ($(CONFIG_TARGET_IBOARDID),"EX400")
TARGET_CFLAGS += -DEX400
endif
TARGET_CFLAGS += \
-D_GNU_SOURCE -D_AADJ
@@ -122,16 +126,18 @@ endif
define Package/icwmp-$(BUILD_VARIANT)/install
$(INSTALL_DIR) $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmpd $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/firewall.cwmp $(1)/etc/firewall.cwmp
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmpd.init $(1)/etc/init.d/icwmpd
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uci-defaults/90-cwmpfirewall $(1)/etc/uci-defaults/90-cwmpfirewall
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(CP) ./files/icwmp.hotplug $(1)/etc/hotplug.d/iface/90-icwmp
ifeq ($(CONFIG_CWMP_SCRIPTS_FULL),y)
$(INSTALL_DIR) $(1)/usr/share/icwmp
$(CP) $(PKG_BUILD_DIR)/scripts/defaults $(1)/usr/share/icwmp

44
icwmp/files/icwmp.hotplug Normal file
View File

@@ -0,0 +1,44 @@
#!/bin/sh
grep -q "Designated" /etc/banner || exit 0
. /lib/functions/network.sh
[ "$ACTION" == "ifup" ] || exit 0
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" == "1" ] && exit 0
local proto="$(uci -q get network.$INTERFACE.proto)"
[ "$proto" == "none" ] && exit 0
local ifname="$(uci -q get network.$INTERFACE.ifname)"
[ "${ifname:0:1}" == "@" ] && exit 0
mkdir -p /tmp/ipv4
local previpaddr=""
local curipaddr=""
local ipaddrfile=/tmp/ipv4/$INTERFACE-ipaddr
previpaddr=$(cat $ipaddrfile 2>/dev/null)
network_get_ipaddr curipaddr $INTERFACE
[ -n "$curipaddr" ] && echo $curipaddr > $ipaddrfile || rm -f $ipaddrfile
local prevgateway=""
local curgateway=""
local gatewayfile=/tmp/ipv4/$INTERFACE-gateway
prevgateway=$(cat $gatewayfile 2>/dev/null)
network_get_gateway curgateway $INTERFACE
[ -n "$curgateway" ] && echo $curgateway > $gatewayfile || rm -f $gatewayfile
local prevsubnets=""
local cursubnets=""
local subnetsfile=/tmp/ipv4/$INTERFACE-subnets
prevsubnets=$(cat $subnetsfile 2>/dev/null)
network_get_subnets cursubnets $INTERFACE
[ -n "$cursubnets" ] && echo $cursubnets > $subnetsfile || rm -f $subnetsfile
[ "$previpaddr" = "$curipaddr" -a "$prevgateway" = "$curgateway" -a "$prevsubnets" = "$cursubnets" ] && exit 0
[ -f /etc/config/cwmp ] && /etc/init.d/icwmpd reload &

36
ifbt/Makefile Normal file
View File

@@ -0,0 +1,36 @@
#
# Copyright (C) 2013 Inteno
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ifbt
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=da97d6668d3c0e3f2be226c66b406e90179ada81
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.inteno.se:ifbt.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/ifbt
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +libubus +libblobmsg-json +libjson-c
TITLE:=Fast BSS Transition
endef
define Package/ifbt/description
ifbt is Iopsys application for fast BSS transition
endef
define Package/ifbt/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ifbt $(1)/sbin/
endef
$(eval $(call BuildPackage,ifbt))

53
inbd/Makefile Normal file
View File

@@ -0,0 +1,53 @@
#
# Copyright (C) 2016 Inteno
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/inbd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/inbd
CATEGORY:=Utilities
TITLE:=Inteno Netlink Bridge Daemon
URL:=
DEPENDS:=+libuci +libubus +libblobmsg-json +libnl-genl
endef
define Package/inbd/description
Application handling netlink messages from kernel and sending them out on ubus.
endef
define Package/inbd/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/inbd $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/files/etc/init.d/inbd $(1)/etc/init.d/
endef
$(eval $(call BuildPackage,inbd))

View File

@@ -12,6 +12,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/inteno-netmodes
CATEGORY:=Base system
DEPENDS:=+fping
TITLE:=Predefined Network Modes
endef

View File

@@ -0,0 +1,119 @@
#!/bin/sh
[ "$INTERFACE" != "wan" ] && exit
. /lib/functions/network.sh
network_get_ipaddr ip $INTERFACE
repeaterready="$(uci -q get netmode.setup.repeaterready)"
[ -z "$ip" ] && exit
toggle_firewall() {
local section=$1
local disable=$2
config_get name "$1" name
if [ "$name" == "wan" ]; then
uci -q set firewall.settings.disabled=$disable
if [ "$disable" == "1" ]; then
uci -q set firewall.$section.input="ACCEPT"
else
uci -q set firewall.$section.input="REJECT"
fi
uci -q commit firewall
fi
}
set_disabled() {
config_load firewall
config_foreach toggle_firewall zone $1
/etc/init.d/firewall reload
}
is_inteno_macaddr()
{
macaddr=$1
echo $macaddr | grep -i -e "^00:22:07" \
-e "^02:22:07" \
-e "^44:D4:37" \
-e "^00:0C:07" \
-e "^02:0C:07" \
-e "^06:0C:07" \
-e "^00:0C:43" \
-e "^02:0C:43" \
-e "^06:0C:43" \
&& return
false
}
switch_mode() {
[ "$repeaterready" == "1" ] || return
# flush the ip on br-lan; br-lan will anyhow be deleted.
# this is needed if the ip received on the wan is also from the same net
ip addr flush dev br-lan
# flush iptables in case the MASTER
# tries to configure us before
# firewall is disabled the proper way
iptables -F
ubus call leds set '{"state" : "allflash"}'
local ret=0
# let netmode-conf up to 20 seconds before switching mode
for tm in 2 4 6 8; do
if [ -f /tmp/wificontrol.txt ]; then
ret=1
break
fi
sleep $tm
done
# let netmode-conf take over
[ $ret -eq 1 ] && return
# go head with switching mode
touch -f /tmp/switching_mode
echo "Switching to 'extender' mode" > /dev/console
uci -q set netmode.setup.curmode='repeater'
uci set netmode.setup.repeaterready=0
uci commit netmode
/etc/init.d/netmode reload
echo "Restarting network services" > /dev/console
ubus call network reload
wifi reload nodat
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
rm -f /tmp/switching_mode
}
test_ip() {
if [ -n "$(echo $ip | grep -E '^(192\.168|10\.|172\.1[6789]\.|172\.2[0-9]\.|172\.3[01]\.)')" ]; then
# private IP
switch_mode
set_disabled 1
else
# public IP
set_disabled 0
[ "$1" -eq "1" ] && {
uci set netmode.setup.repeaterready=0
uci commit netmode
local pid="$(ps | grep wificontro[l] | awk '/repeater/ {print $1}')"
[ "$pid" != "" ] && kill -9 $pid
pid="$(pidof netmode-client-detect)"
[ "$pid" == "" ] && /sbin/netmode-client-detect &
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
}
fi
}
case "$(uci -q get netmode.setup.curmode)" in
repeater*) test_ip ;;
*) [ "$repeaterready" == "1" ] && test_ip 1;;
esac

View File

@@ -0,0 +1,251 @@
#!/bin/sh
# this scripts shifts the lan network prefixes
# if a wan interface has the same network prefix.
. /lib/functions.sh
. /lib/functions/network.sh
local lockfile="/tmp/70-shiftrange.lock"
local restricted_nets=""
local all_nets=""
#####
##### initial functions
#####
initial_check()
{
# run only on ifup
[ "$ACTION" == "ifup" ] || exit 0
# run only for uplink (not is_lan) interfaces
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" != "1" ] || exit 0
# run only if the uplink interface has a configured protocol
local proto="$(uci -q get network.$INTERFACE.proto)"
[ "$proto" != "none" ] || exit 0
}
finish()
{
lock -u $lockfile
rm -f $lockfile
}
# just one instance of this script at a time
just_one_instance()
{
local counter=0
local limit=10
#wait for the lock to become free
while [ -e $lockfile ] ; do
sleep 1
counter=$((counter + 1))
[ "$counter" -gt "$limit" ] && exit 1
done
lock $lockfile
trap finish EXIT INT TERM
}
#####
##### helper functions
#####
#given a an ip and a mask in the form of "192.168.1.1/24"
#return the network address like "192.168.1.0/24"
get_network_address()
{
local ip="$1"
[ -z "$ip" ] && return
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local mask=$((0xFFFFFFFF >> (32 - $prefix) << (32 - $prefix)))
local network=$(($ip & $mask))
local n1=$((($network & 0xFF000000) >> 24))
local n2=$((($network & 0x00FF0000) >> 16))
local n3=$((($network & 0x0000FF00) >> 8))
local n4=$(( $network & 0x000000FF))
echo "$n1.$n2.$n3.$n4/$prefix"
}
#given a network address (192.168.1.0/24)
#find the next network address (192.168.2.0/24)
next_network_address()
{
local ip=$1
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local one=$((1 << (32-$prefix)))
local new=$(($ip + $one))
local n1=$((($new & 0xFF000000) >> 24))
local n2=$((($new & 0x00FF0000) >> 16))
local n3=$((($new & 0x0000FF00) >> 8))
local n4=$(( $new & 0x000000FF))
echo "$n1.$n2.$n3.$n4/$prefix"
}
# given a network address and a prefix (192.168.2.0/24)
# return the first host ip available (192.168.2.1)
first_host_in_network ()
{
local ip=$1
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local new=$(($ip + 1))
local n1=$((($new & 0xFF000000) >> 24))
local n2=$((($new & 0x00FF0000) >> 16))
local n3=$((($new & 0x0000FF00) >> 8))
local n4=$(( $new & 0x000000FF))
echo "$n1.$n2.$n3.$n4"
}
# given a network address,
# find the next available network address.
shift_range()
{
local net="$1"
while true ; do
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] && [ "$all_nets" == "${all_nets//$net/}" ]; then
# found a net that is not in restricted nets nor in all nets
break
fi
net=$(next_network_address $net)
done
echo "$net"
}
#####
##### parse all interfaces section
#####
# restricted_nets = all the IPs on wan interfaces
# all_nets = all the IPs on any interface
parse_interface()
{
local interface=$1
local nets="" # "192.168.1.1/24"
local networks="" # "192.168.1.0/24"
config_get is_lan $interface is_lan
network_get_subnets nets $interface
for n in $nets ; do
networks="$networks $(get_network_address $n)"
done
[ "$is_lan" != "1" ] && restricted_nets="$restricted_nets $networks"
all_nets="$all_nets $networks"
}
# parse all the interfaces
# get all the IPs on wan interfaces and store them in restrict_nets
# get all the IPs on all interfaces and store them in all_nets
parse_interfaces()
{
config_foreach parse_interface "interface"
}
#####
##### parse all lan interfaces section
#####
parse_lan()
{
local interface=$1
local nets=""
local ips=""
local newips=""
local ips_changed=0
[ "$interface" == "loopback" ] && return
config_get is_lan $interface is_lan
[ "$is_lan" == "1" ] || return
network_get_subnets ips $interface
for ip in $ips ; do
net="$(get_network_address $ip)"
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] ; then
# net is not in restricted nets
# append ip to newips
[ -z "$newips" ] && newips="${ip%/*}" || newips="$newips ${ip%/*}"
continue
fi
#net is in restricted_nets
local newnet=$(shift_range $net)
local newip="$(first_host_in_network $newnet)"
# append newip to newips
[ -z "$newips" ] && newips="$newip" || newips="$newips $newip"
ips_changed=1
logger "$0: Changing the ip on interface $interface from $ip to $newip/${newnet##*/}"
echo "$0: Changing the ip on interface $interface from $ip to $newip/${newnet##*/}" >/dev/console
done
#assign the new ips
if [ "$ips_changed" == "1" ] ; then
uci -q set network.$interface.ipaddr="$newips"
fi
}
# parse all the interface with is_lan=1
parse_lans()
{
config_foreach parse_lan "interface"
}
#####
##### main
#####
main()
{
initial_check
just_one_instance
config_load network
parse_interfaces
parse_lans
if [ -n "$(uci changes network)" ] ; then
ubus call uci commit '{"config":"network"}'
fi
}
main $@

View File

@@ -3,25 +3,38 @@
. /lib/functions.sh
include /lib/network
[ "$INTERFACE" != "$(uci get layer2_interface_ethernet.Wan.ifname)" ] && exit
[ "$(uci get netmode.setup.curmode)" != "repeater" ] && exit
ps | grep hotplug | grep button && exit
MTK=0
[ "$(db -q get hw.board.hardware)" == "EX400" ] && MTK=1
WANDEV="$(uci get layer2_interface_ethernet.Wan.ifname)"
[ $MTK -eq 1 ] && WANDEV="eth0.2"
[ "$INTERFACE" != "$WANDEV" ] && exit
defroute=$(ip route | grep default | awk '{print$3}')
case "$(uci get netmode.setup.curmode)" in
repeater|repeater_dualdown) echo "Preparing to switch mode" ;;
*) exit ;;
repeater*)
echo "Preparing to switch mode"
;;
*)
ping -c 1 -w 5 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
exit
;;
esac
get_wifi_wet_interface() {
# handle_interface() {
# config_get mode "$1" mode
# if [ "$mode" == "wet" ] ; then
# config_get ifname "$1" ifname
# echo "$ifname"
# fi
# }
# config_load wireless
# config_foreach handle_interface wifi-iface "$device"
echo "wl1"
handle_interface() {
config_get mode "$1" mode
if [ "$mode" == "sta" -o "$mode" == "wet" ] ; then
config_get ifname "$1" ifname
echo "$ifname"
fi
}
config_load wireless
config_foreach handle_interface wifi-iface
}
get_wifi_iface_cfgstr() {
@@ -30,42 +43,60 @@ get_wifi_iface_cfgstr() {
[ "$ifname" == "$2" ] && echo "wireless.$1"
}
config_load wireless
config_foreach get_cfgno wifi-iface $1 $2
config_foreach get_cfgno wifi-iface $1
}
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
[ $MTK -eq 1 ] && link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
case "$ACTION" in
add|register)
[ "$link" == "down" ] && return
ubus call leds set '{"state" : "allflash"}'
echo "Autoswitch to Extender mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
# remove wifi client interface
case "$(uci get netmode.setup.curmode)" in
repeater_dualdown)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).disabled=1
;;
repeater)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).mode=ap
repeater*)
uci -q set $(get_wifi_iface_cfgstr $wetif).disabled=1
;;
esac
uci commit wireless
#add wan ethernet port
uci set network.wan.ifname="$(echo $(uci get layer2_interface_ethernet.Wan.ifname) $(uci get network.wan.ifname) | tr ' ' '\n' | sort -u | tr '\n' ' ')"
ubus call uci commit '{"config":"network"}'
uci set network.wan.ifname="$(echo $WANDEV $(uci get network.wan.ifname) | sed 's/$/ /' | sed -r "s/$wetif //g" | tr ' ' '\n' | sort -u | tr '\n' ' ')"
uci commit network
ubus call network reload
[ -f /usr/sbin/wlctl ] && wlctl -i $wetif bss down 2>/dev/null
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
remove|unregister)
[ "$link" == "up" ] && return
ubus call leds set '{"state" : "allflash"}'
echo "Autoswitch to Repeater mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
# add wifi client interface
case "$(uci get netmode.setup.curmode)" in
repeater_dualdown)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).disabled=0
;;
repeater)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).mode=wet
repeater*)
uci -q set $(get_wifi_iface_cfgstr $wetif).disabled=0
;;
esac
uci commit wireless
#remove wan ethernet port
uci set network.wan.ifname="$(uci get network.wan.ifname | sed 's/$/ /' | sed -r "s/`uci get layer2_interface_ethernet.Wan.ifname` //g")"
ubus call uci commit '{"config":"network"}'
uci set network.wan.ifname="$(echo $wetif $(uci get network.wan.ifname) | sed 's/$/ /' | sed -r "s/$WANDEV //g" | tr ' ' '\n' | sort -u | tr '\n' ' ')"
uci commit network
ubus call network reload
[ -f /usr/sbin/wlctl ] && wlctl -i $wetif bss up 2>/dev/null
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || {
killall -9 wifi
wifi reload nodat
killall -USR1 udhcpc
}
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
esac

View File

@@ -3,6 +3,9 @@
START=10
USE_PROCD=1
TMPDIR=/var/netmodes
OLD_MODE_FILE=/var/netmodes/old_mode
. /usr/share/libubox/jshn.sh
. /lib/network/config.sh
@@ -41,13 +44,29 @@ get_device() {
populate_netmodes() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local curmode
config_load netmode
config_get curmode setup curmode
mkdir -p $TMPDIR
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
fi
echo $curmode > $OLD_MODE_FILE
delete_netmode() {
uci delete netmode.$1
}
config_load netmode
config_foreach delete_netmode netmode
uci commit netmode
@@ -59,21 +78,37 @@ populate_netmodes() {
lan5=$(get_device LAN5)
for file in $(find $modedir -type f); do
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "layer2_interface_ethernet" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
fi
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)
local keys lang desc exp exclude
for mode in $(ls $modedir); do
case "$mode" in
repeater*)
wlctl -i wl1 ap >/dev/null 2>&1 || ifconfig rai0 2>/dev/null | grep -q rai0 || continue
;;
esac
lang=""
desc=""
exp=""
uci -q set netmode.$mode=netmode
uci -q set netmode.$mode.conf=$mode
json_load "$(cat $modedir/$mode/DETAILS)"
if json_select excluded_boards; then
@@ -130,36 +165,159 @@ populate_netmodes() {
json_get_var cred credentials
uci -q set netmode.$mode.askcred="$cred"
json_get_var ulb uplink_band
uci -q set netmode.$mode.uplink_band="$ulb"
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
config_get curmode setup curmode
[ -d /etc/netmodes/$curmode ] || {
[ "$(db -q get hw.board.hardware)" == "EX400" ] && uci -q set netmode.setup.curmode="routed_mtk" || uci -q set netmode.setup.curmode="routed_brcm"
}
uci commit netmode
}
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local netreload="$1"
local curmode conf repeaterready old_mode
config_load netmode
config_get curmode setup curmode
config_get conf $curmode conf
cp /etc/netmodes/$conf/* /etc/config/
config_get repeaterready setup repeaterready "0"
if [ "$repeaterready" == "1" ] ; then
uci -q set netmode.setup.repeaterready="0"
uci commit netmode
fi
if [ "$curmode" == "repeater" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="repeater_mtk_5g_up_dual_down"
else
curmode="repeater_brcm_2g_up_dual_down"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
old_mode=`cat $OLD_MODE_FILE 2>/dev/null`
# if curmode has not changed do not copy configs
if [ "$curmode" == "$old_mode" ]; then
/etc/init.d/enviroment reload
return
fi
echo $curmode >$OLD_MODE_FILE
[ -d "/etc/netmodes/$curmode" ] || return
cp /etc/netmodes/$curmode/* /etc/config/
rm -f /etc/config/DETAILS
sync
local reboot=$(uci -q get netmode.$curmode.reboot)
local askcred=$(uci -q get netmode.$curmode.askcred)
if [ "$reboot" == "0" ]; then
/etc/init.d/enviroment reload
case "$curmode" in
routed*)
ubus call uci commit '{"config":"network"}'
;;
repeater*)
if [ -f /etc/init.d/omcproxy ]; then
/etc/init.d/omcproxy stop
fi
if [ "$netreload" != "0" ]; then
ubus call uci commit '{"config":"network"}'
fi
;;
esac
else
reboot &
fi
}
start_client_listener() {
local curmode repeaterready ulcpid
config_load netmode
config_get repeaterready setup repeaterready 0
ulcpid=$(ps | grep "ubus listen client" | grep -v grep | awk '{print$1}')
[ $repeaterready -eq 1 ] && {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
return
}
config_get curmode setup curmode
case "$curmode" in
repeater*)
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
;;
*)
pidof netmode-client-detect || /sbin/netmode-client-detect &
;;
esac
}
start_netmode_discover() {
local curmode repeaterready
killall -9 netmode-discover >/dev/null 2>&1
config_load netmode
config_get repeaterready setup repeaterready 0
[ $repeaterready -eq 1 ] && return
config_get curmode setup curmode
case "$curmode" in
repeater*)
/sbin/netmode-discover &
;;
esac
}
start_service() {
populate_netmodes
start_client_listener
start_netmode_discover
}
reload_service() {
switch_netmode
switch_netmode "$1"
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
start_client_listener
start_netmode_discover
}
stop_service() {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
killall -9 netmode-discover >/dev/null 2>&1
}
service_triggers()

View File

@@ -10,7 +10,8 @@
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
"CG301",
"EX400"
],
"acl" : [
"admin",

View File

@@ -1,3 +1,6 @@
config settings 'settings'
option disabled '0'
config defaults
option syn_flood 1
option input ACCEPT

View File

@@ -1,23 +0,0 @@
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '0'
option ifname 'atm0.1'
option baseifname 'atm0'
option atmtype 'ubr'
option name 'atm_inet'
option vpi '8'
option vci '35'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm1.1'
option baseifname 'atm1'
option atmtype 'ubr'
option name 'atm_tv'
option vpi '8'
option vci '45'

View File

@@ -1,18 +0,0 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'

View File

@@ -4,6 +4,13 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'

View File

@@ -10,7 +10,9 @@
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
"CG301",
"EX400",
"F*"
],
"acl" : [
"admin",

View File

@@ -1,3 +1,6 @@
config settings 'settings'
option disabled '0'
config defaults
option syn_flood 1
option input ACCEPT

View File

@@ -1,34 +0,0 @@
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '0'
option ifname 'atm0.1'
option baseifname 'atm0'
option atmtype 'ubr'
option name 'atm_inet'
option vpi '8'
option vci '35'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm1.1'
option baseifname 'atm1'
option atmtype 'ubr'
option name 'atm_tv'
option vpi '8'
option vci '45'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm2.1'
option baseifname 'atm2'
option atmtype 'ubr'
option name 'atm_voip'
option vpi '8'
option vci '55'

View File

@@ -1,5 +0,0 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'

View File

@@ -1,9 +0,0 @@
config vdsl_interface
option unit '0'
option ifname 'ptm0.1'
option baseifname 'ptm0'
option name 'VDSL2'
option dslat '1'
option ptmprio '1'
option ipqos '1'

View File

@@ -1,32 +0,0 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'eth_voip'
option ifname '$WAN.200'
option baseifname '$WAN'
option vlan8021q '200'
option vlan8021p '0'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_voip'
option ifname 'ptm0.200'
option baseifname 'ptm0'
option vlan8021q '200'
option vlan8021p '0'

View File

@@ -4,6 +4,13 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'

View File

@@ -1,24 +0,0 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option vendorid 'Inteno_Repeater_$MAC4'
option hostname 'Inteno_Repeater_$MAC4'
option ifname '$WAN.1'
option reqopts '43'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ifname '$LAN1 $LAN2 $LAN3 $LAN4'
option ipaddr '192.168.11.1'
option netmask '255.255.255.0'

View File

@@ -8,10 +8,13 @@
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 5G" }
],
"excluded_boards" : [
"DG*",
"EG*",
"VG*"
"DG15*",
"DG40*",
"EG40*",
"EX40*",
"F*"
],
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,15 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'

View File

@@ -4,11 +4,18 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '20'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
@@ -27,7 +34,7 @@ config wifi-device 'wl0'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '0'
option beamforming '1'
option doth '1'
option dfsc '1'

View File

@@ -0,0 +1,20 @@
{
"description": [
{ "en" : "Repeater 2.4▴▾2.4&5" },
{ "sv" : "Repeater 2.4▴▾2.4&5" }
],
"explanation": [
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point. Uplink 2.4G & Downlink 2.4G + 5G" },
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*",
"EX40*",
"F*"
],
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,15 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'

View File

@@ -4,11 +4,18 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '20'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
@@ -27,7 +34,7 @@ config wifi-device 'wl0'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '0'
option beamforming '1'
option doth '1'
option dfsc '1'

View File

@@ -1,121 +0,0 @@
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
option hidden 1
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
option target ACCEPT
option family ipv4
option hidden 1
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
option hidden 1
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
option name Allow-DHCPv6
option src wan
option proto udp
option src_ip fe80::/10
option src_port 547
option dest_ip fe80::/10
option dest_port 546
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
option reload 1
# include a file with rules for SIP and RTP traffic
config include
option path /etc/firewall.sip
option reload 1

View File

@@ -1,24 +0,0 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option vendorid 'Inteno_Repeater_$MAC4'
option hostname 'Inteno_Repeater_$MAC4'
option ifname '$WAN.1'
option reqopts '43'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ifname '$LAN1 $LAN2 $LAN3 $LAN4'
option ipaddr '192.168.11.1'
option netmask '255.255.255.0'

View File

@@ -8,10 +8,10 @@
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG*",
"EG*",
"VG*"
"*G*",
"F*"
],
"uplink_band" : 'b',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,41 @@
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option type 'bridge'
option ifname 'eth0.2 eth0.1'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option reqopts '66 67 128 224'
option igmp_snooping '0'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -0,0 +1,39 @@
config owsd 'global'
option sock '/var/run/ubus.sock'
option www '/www'
option redirect '/cgi-bin/luci:/cacheflush.html'
config owsd-listen 'loopback'
option port '80'
option interface 'loopback'
option ipv6 'on'
list origin '*'
config owsd-listen 'lan'
option port '80'
option interface 'lan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
config owsd-listen 'wan'
option port '80'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8080'
option port '8080'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8181'
option port '8181'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'

View File

@@ -0,0 +1,59 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel auto
option bandwidth '20'
option hwmode auto
option htmode HT20
option country 'DE'
config wifi-iface
option device ra0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname ra0
option wps_pbc 1
config wifi-device rai0
option band a
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 1
config wifi-iface
option device rai0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname rai0
option wps_pbc 1
config wifi-iface
option device ra0
option network wan
option mode wet
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname apcli0

View File

@@ -0,0 +1,17 @@
{
"description": [
{ "en" : "Repeater 5▴▾2.4&5" },
{ "sv" : "Repeater 5▴▾2.4&5" }
],
"explanation": [
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point. Uplink 5G & Downlink 2.4G + 5G" },
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 5G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"*G*",
"F*"
],
"uplink_band" : 'a',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,41 @@
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option type 'bridge'
option ifname 'eth0.2 eth0.1'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option reqopts '66 67 128 224'
option igmp_snooping '0'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -0,0 +1,39 @@
config owsd 'global'
option sock '/var/run/ubus.sock'
option www '/www'
option redirect '/cgi-bin/luci:/cacheflush.html'
config owsd-listen 'loopback'
option port '80'
option interface 'loopback'
option ipv6 'on'
list origin '*'
config owsd-listen 'lan'
option port '80'
option interface 'lan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
config owsd-listen 'wan'
option port '80'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8080'
option port '8080'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8181'
option port '8181'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'

View File

@@ -0,0 +1,59 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel auto
option bandwidth '20'
option hwmode auto
option htmode HT20
option country 'DE'
config wifi-iface
option device ra0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname ra0
option wps_pbc 1
config wifi-device rai0
option band a
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 1
config wifi-iface
option device rai0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname rai0
option wps_pbc 1
config wifi-iface
option device rai0
option network wan
option mode wet
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname apclii0

View File

@@ -1,5 +0,0 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'

View File

@@ -1,9 +0,0 @@
config vdsl_interface
option unit '0'
option ifname 'ptm0.1'
option baseifname 'ptm0'
option name 'VDSL2'
option dslat '1'
option ptmprio '1'
option ipqos '1'

View File

@@ -7,6 +7,9 @@
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"EX4*"
],
"credentials" : 0
}

View File

@@ -1,5 +1,5 @@
config settings settings
option disabled 0
config settings 'settings'
option disabled '0'
config defaults
option syn_flood 1

View File

@@ -4,6 +4,13 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'

View File

@@ -0,0 +1,17 @@
{
"description": [
{ "en" : "Fully Routed (NAT)" },
{ "sv" : "Fullt Omdirigerad (NAT)" }
],
"explanation": [
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"*G*",
"F*"
],
"reboot" : 0,
"credentials" : 0
}

View File

@@ -0,0 +1,22 @@
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k 0
option localise_queries 1
option rebind_protection 0
option rebind_localhost 1
option local '/lan/'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h

View File

@@ -1,3 +1,6 @@
config settings 'settings'
option disabled '0'
config defaults
option syn_flood 1
option input ACCEPT
@@ -16,6 +19,7 @@ config zone
config zone
option name wan
list network 'wan'
list network 'wan6'
option input REJECT
option output ACCEPT
option forward REJECT
@@ -35,16 +39,6 @@ config rule
option dest_port 68
option target ACCEPT
option family ipv4
option hidden 1
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
option target ACCEPT
option family ipv4
option hidden 1
# Allow IPv4 ping
config rule
@@ -54,7 +48,13 @@ config rule
option icmp_type echo-request
option family ipv4
option target ACCEPT
option hidden 1
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
@@ -68,13 +68,24 @@ config rule
option dest_port 546
option family ipv6
option target ACCEPT
option hidden 1
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
@@ -89,7 +100,6 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential forwarded IPv6 ICMP traffic
config rule
@@ -107,15 +117,37 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# allow IPsec/ESP and ISAKMP passthrough
config rule
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
config dmz dmz
option enabled '0'
option exclude_ports '5060 7547'
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
option reload 1
# include a file with rules for SIP and RTP traffic
# include a file with rules for prioritizing some specific packets
config include
option path /etc/firewall.sip
option path /etc/firewall.qos
option reload 1
# include a file with rules for DMZ Host
config include dmzhost
option path /etc/firewall.dmz
option reload 1

View File

@@ -0,0 +1,47 @@
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option is_lan '1'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0.1 ra0 rai0'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option reqopts '66 67 128 224'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -0,0 +1,10 @@
config proxy
option scope global
option uplink wan
list downlink lan
config proxy
option scope global
option uplink wan6
list downlink lan

View File

@@ -0,0 +1,48 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel auto
option bandwidth '20'
option hwmode auto
option htmode HT20
option country 'DE'
config wifi-iface
option device ra0
option network lan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1
config wifi-device rai0
option band a
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 1
config wifi-iface
option device rai0
option network lan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1

View File

@@ -0,0 +1,56 @@
#!/bin/sh
# receive new client events
# and trigger wificontrol in --router mode for that client
. /usr/share/libubox/jshn.sh
local action ipaddr macaddr network
timed_check() {
while true; do
network=${network:-lan}
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
wificontrol --router
sleep $1
done
}
is_inteno_macaddr()
{
macaddr=$1
echo $macaddr | grep -i -e "^00:22:07" \
-e "^02:22:07" \
-e "^44:D4:37" \
-e "^00:0C:07" \
-e "^02:0C:07" \
-e "^06:0C:07" \
-e "^00:0C:43" \
-e "^02:0C:43" \
-e "^06:0C:43" \
&& return
false
}
timed_check 60 &
while true ; do
ubus listen client | \
while read event ; do
#echo "netmode-client-detect got event: $event" >/dev/console
json_load "$event"
json_select client
json_get_var action action
[ "$action" == "connect" ] || continue
json_get_var macaddr macaddr
json_get_var ipaddr ipaddr
json_get_var network network "lan"
if is_inteno_macaddr $macaddr; then
echo "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
/sbin/wificontrol --router --destination $ipaddr
fi
done
done

View File

@@ -0,0 +1,288 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
state="exit"
TMPPATH="/tmp/netmode_config_backup"
CURMODE=""
SLEEPTIME=300
set_wireless_values() {
local iface_num="$1"
local ssid="$2"
local key="$3"
local encryption="$4"
local device="$5"
local old_ssid old_key old_encryption
if ! uci -q get wireless.@wifi-iface[$iface_num] >/dev/null 2>&1; then
state="reload"
uci add wireless wifi-iface >/dev/null 2>&1
uci set wireless.@wifi-iface[$iface_num].device="$device"
fi
local network="$(uci -q get wireless.@wifi-iface[$iface_num].network)"
old_ssid="$(uci -q get wireless.@wifi-iface[$iface_num].ssid)"
old_key="$(uci -q get wireless.@wifi-iface[$iface_num].key)"
old_encryption="$(uci -q get wireless.@wifi-iface[$iface_num].encryption)"
if [ "$old_ssid" != "$ssid" -o "$old_encryption" != "$encryption" -o "$old_key" != "$key" -o -z "$network" ]; then
#TODO: get network dynamicaly
[ "$state" == "exit" ] && state="apply"
[ -z "$network" ] && network="wan"
uci set wireless.@wifi-iface[$iface_num].network="$network"
uci set wireless.@wifi-iface[$iface_num].ssid="$ssid"
uci set wireless.@wifi-iface[$iface_num].key="$key"
uci set wireless.@wifi-iface[$iface_num].encryption="$encryption"
fi
}
get_wifi_device_from_band(){
local section="$1"
local band="$2"
local __ret="$3"
local b
config_get b $section "band"
if [ "$band" == "$b" ]; then
eval "export -- \"$__ret=$section\""
fi
}
get_device(){
local band="$1"
config_foreach get_wifi_device_from_band "wifi-device" "$band" "$2"
}
get_iface_num() {
local device="$1"
local prev="$2"
local __save="$3"
local i=0
local dev
while true; do
[ $i -gt 100 ] && break ## just a safty messure
if ! uci -q get wireless.@wifi-iface[$i] >/dev/null; then
break
fi
mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
dev="$(uci -q get wireless.@wifi-iface[$i].device)"
if [ "$dev" != "$device" ]; then
[ -z "$dev" ] && break
i=$((i+1))
elif [ $prev -ne 0 ]; then
i=$((i+1))
prev=$((prev-1))
else
break
fi
done
eval "export -- \"$__save=$i\""
}
restore() {
if [ "$1" == "back" ]; then
uci set juci.juci.homepage='netmode-wizard'
uci commit juci
cp $TMPPATH/* /etc/config/
uci set netmode.setup.curmode=$CURMODE
uci commit netmode
ubus call network reload
wifi reload
ubus call router.network reload
fi
rm -r $TMPPATH
ubus call leds set '{"state":"normal"}'
}
backup() {
mkdir -p $TMPPATH
cp /etc/config/* $TMPPATH/
CURMODE="$(uci -q get netmode.setup.curmode)"
ubus call leds set '{"state":"allflash"}'
}
###### START HERE #######
file="$1"
from_gui="$2"
[ -f "$file" ] || exit
# let netmode-handler up to 20 seconds to finish switching mode
for tm in 2 4 6 8; do
if [ ! -f /tmp/switching_mode ]; then
break
fi
sleep $tm
done
[ "$from_gui" == "true" ] && backup
json_load "`cat $file`"
json_select "wifi_ifaces"
local curmode repmode
config_load netmode
config_get curmode setup curmode
case $curmode in
*repeater*)
;;
*)
uci set netmode.setup.curmode="repeater"
uci commit netmode
/etc/init.d/netmode reload
curmode="$(uci -q get netmode.setup.curmode)"
;;
esac
local apcliband="a"
case $curmode in
*_2g_*) apcliband="b";;
esac
i=1
local dummy band ssid key encryption device iface_num
while json_get_var dummy $i; do
json_select $i
json_get_var band band
[ "$band" == "" -o "$apcliband" == "$band" ] && break
json_select ..
i=$((i+1))
done
[ "$apcliband" == "$band" -o "$band" == "" ] || {
[ "$from_gui" == "true" ] && restore "back"
exit
}
repeater_iface_num=$(uci -q show wireless | grep -e ".mode='wet'" -e ".mode='sta'" | sed 's/.*\[\([0-9]\)\].*/\1/')
[ -z "$repeater_iface_num" ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
set_wireless_values "$repeater_iface_num" "$ssid" "$key" "$encryption"
json_load "`cat $file`"
json_select "wifi_ifaces"
config_load wireless
local b_num=0
local a_num=0
i=1
while json_get_var dummy $i; do
json_select $i
json_get_var band band
json_get_var ssid ssid
json_get_var encryption encryption
json_get_var key key
if [ "$band" == "" ]; then
get_device "a" device
get_iface_num "$device" "$a_num" iface_num
a_num=$((a_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
get_device "b" device
get_iface_num "$device" "$b_num" iface_num
b_num=$((b_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
else
get_device "$band" device
case $band in
a)
get_iface_num "$device" "$a_num" iface_num
a_num=$((a_num+1))
;;
b)
get_iface_num "$device" "$b_num" iface_num
b_num=$((b_num+1))
;;
esac
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
fi
i=$((i+1))
json_select ..
done
i=$((b_num + a_num + 1))
if [ $repeater_iface_num -gt $i ]; then
i=$((i-1))
fi
while uci -q get wireless.@wifi-iface[$i] >/dev/null; do
# if repeater_iface_num is greater than the number of
# configured downlink we need to make sure its not deleted
local mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
state="reload"
uci -q delete wireless.@wifi-iface[$i] >/dev/null
# do not increment i. The next interface will now
# have the same index as the deleted interface
done
uci commit wireless
if [ "$from_gui" == "true" ]; then
# check for connectivity
wifi reload
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
i=$SLEEPTIME;
while [ $i -gt 0 ]; do
ip=`route -n | awk '/^0.0.0.0/{print $2}'`
if [ "$ip" == "" ]; then
i=$((i-10))
sleep 10
continue
fi
ping -w1 $ip
if [ $? -eq 0 ]; then
restore
exit
else
i=$((i-10))
sleep 9
fi
done
restore "back"
else
if [ "$state" == "exit" ]; then
return
fi
ubus call leds set '{"state":"allflash"}'
if [ "$state" == "apply" ]; then
# wifi apply
wifi reload
else
# wifi reload
wifi reload
fi
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
ubus call leds set '{"state":"normal"}'
fi

View File

@@ -0,0 +1,44 @@
#!/bin/sh
local unlisted mac ipaddr netmask mask
mask_to_cidr() {
nbits=0
IFS=.
for dec in $1 ; do
case $dec in
255) let nbits+=8;;
254) let nbits+=7;;
252) let nbits+=6;;
248) let nbits+=5;;
240) let nbits+=4;;
224) let nbits+=3;;
192) let nbits+=2;;
128) let nbits+=1;;
0);;
*) echo "Error: $dec is not recognised"; exit 1
esac
done
echo "$nbits"
}
while true; do
unlisted=0
ps | grep -q wifi | grep -q reload || {
for mac in $(brctl showmacs br-wan 2>/dev/null | tail -n +2 | grep no | awk '{print$2}'); do
grep -q "$mac" /proc/net/arp || unlisted=$((unlisted+1))
done
ipaddr=$(ifconfig br-wan | grep -v inet6 | grep inet | tr ':' ' ' | awk '{print$3}')
netmask=$(ifconfig br-wan | grep -v inet6 | grep inet | tr ':' ' ' | awk '{print$7}')
mask=$(mask_to_cidr $netmask)
}
if [ $unlisted -gt 0 -a -n "$ipaddr" -a -n "$netmask" ]; then
fping -c 1 -t 1000 -g $ipaddr/$mask -q >/dev/null 2>&1
fi
sleep 20
done

View File

@@ -0,0 +1,19 @@
#!/bin/sh
MTK=0
[ "$(db -q get hw.board.hardware)" == "EX400" ] && MTK=1
if [ $MTK -eq 1 ]; then
WANDEV="eth0.2"
link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
else
WANDEV="$(uci get layer2_interface_ethernet.Wan.ifname)"
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
fi
[ "$link" == "up" ] && action=add
[ "$link" == "down" ] && action=remove
[ -z "$action" ] && exit
# trigger a fake hotplug net event
INTERFACE=$WANDEV ACTION=$action /sbin/hotplug-call net

View File

@@ -0,0 +1,141 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
get_if_creds() {
local section=$1
local network=$2
local net dev ssid key encryption band
config_get net $section "network" "lan"
if [ "$net" == "$network" ]; then
config_get dev $section "device"
band="$(uci -q get wireless.$dev.band)"
config_get ssid $section ssid
config_get key $section key
config_get encryption $section encryption
config_get disabled $section disabled 0
[ $disabled -eq 1 ] && return
[ "$ssid" == "" -o "$band" == "" ] && return
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
fi
}
validate_file() {
local file="$1"
local real="$(readlink -f `dirname $file`)"
real="${real}/`basename $file`"
case "$real" in
/tmp/*)
touch $real && return 0 || return 1
;;
*)
return 1
;;
esac
}
write_error(){
json_init
json_add_string "status" "error: $1"
json_dump
exit 1
}
duplicate_if_single_radio() {
json_select "wifi-ifaces"
local i=1
local dummy band dup_band num_radios
num_radios="$(uci -q show wireless | grep wifi-device | wc -l)"
[ "$num_radios" == "2" ] && return
band="$(uci -q get wireless.@wifi-device[0].band)"
[ "$band" == "a" ] && dup_band="b"
[ "$band" == "b" ] && dup_band="a"
[ -z "$dup_band" ] && return
while json_get_var dummy $i; do
i=$((i+1))
done
i=$((i-1))
local ssid key encryption
while [ $i -gt 0 ]; do
json_select $i
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
json_select ..
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$dup_band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
i=$((i-1))
done
}
case "$1" in
list)
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str", "from_gui": "str" } }'
;;
call)
case "$2" in
get_creds)
#TODO: if not routed exit
local curmode="$(uci -q get netmode.setup.curmode)"
case $curmode in
*repeater*) write_error "not in repeater mode";;
esac
local network file input
read input
json_load $input
json_get_var network network
json_get_var file file
json_init
json_add_array "wifi-ifaces"
config_load wireless
config_foreach get_if_creds "wifi-iface" "$network"
json_close_array
duplicate_if_single_radio
if [ "$file" == "" ]; then
json_dump
else
validate_file $file && json_dump -i >$file || write_error "invalid filename (\"$file\"), file must be in /tmp/ and in an existing directory"
fi
json_init
json_add_string "status" success
json_dump
;;
set_creds)
local file from_gui
read input
json_load "$input"
json_get_var file file
json_get_var from_gui from_gui
validate_file "$file" || write_error "invalid filename (\"$file\"), file must be in /tmp and exist"
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
json_init
json_add_string "status" success
json_dump
netmode-conf "$file" "$from_gui" >/dev/null 2>&1 &
;;
esac
;;
esac

View File

@@ -47,7 +47,7 @@ CONFIG_PACKAGE_juci-broadcom-ethernet=y
CONFIG_PACKAGE_juci-broadcom-iptv=y
CONFIG_PACKAGE_juci-broadcom-pwrmgmt=y
CONFIG_PACKAGE_juci-broadcom-vlan=y
CONFIG_PACKAGE_juci-broadcom-wl=y
CONFIG_PACKAGE_juci-wireless=y
CONFIG_PACKAGE_juci-broadcom-xdsl=y
CONFIG_PACKAGE_juci-ddns=y
CONFIG_PACKAGE_juci-diagnostics=y
@@ -56,10 +56,11 @@ CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-ice-client=y
CONFIG_PACKAGE_juci-icwmp=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-inteno-backup=y
CONFIG_PACKAGE_juci-inteno-multiwan=y
CONFIG_PACKAGE_juci-mwan3=y
CONFIG_PACKAGE_juci-inteno-provisioning=y
CONFIG_PACKAGE_juci-inteno-qos=y
CONFIG_PACKAGE_juci-inteno-voice-client=y
@@ -72,6 +73,7 @@ CONFIG_PACKAGE_juci-netmode=y
CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-printer=y
CONFIG_PACKAGE_juci-realtime-graphs=y
CONFIG_PACKAGE_juci-samba=y
CONFIG_PACKAGE_juci-simple-gui=y
CONFIG_PACKAGE_juci-snmpd=y
@@ -93,6 +95,7 @@ CONFIG_PACKAGE_libdaemon=y
CONFIG_PACKAGE_libffmpeg-mini=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_loop-detector=m
CONFIG_PACKAGE_minidlna=y
CONFIG_PACKAGE_miniupnpd=y
CONFIG_PACKAGE_mtd-utils=y
@@ -100,7 +103,7 @@ CONFIG_PACKAGE_mtd-utils-deubinize=y
CONFIG_PACKAGE_mtd-utils-imagewrite=y
CONFIG_PACKAGE_mtd-utils-mkfs.jffs2=y
CONFIG_PACKAGE_mtd-utils-nanddump=y
CONFIG_PACKAGE_multiwan=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_ndisc6=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_odhcp6c=y
@@ -114,6 +117,7 @@ CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
CONFIG_PACKAGE_ppp-mod-pppoa=y
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
CONFIG_PACKAGE_ppp-mod-pptp=y
CONFIG_PACKAGE_ppp-multilink=y
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_qos-scripts=y
@@ -136,6 +140,7 @@ CONFIG_PACKAGE_umbim=y
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wwan=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_zoneinfo-core=y
@@ -154,6 +159,14 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q=y
CONFIG_BUSYBOX_CONFIG_FIRST_SYSTEM_ID=100
CONFIG_BUSYBOX_CONFIG_HTTPD=y
CONFIG_BUSYBOX_CONFIG_INSMOD=y
CONFIG_BUSYBOX_CONFIG_MODINFO=y
CONFIG_BUSYBOX_CONFIG_MODPROBE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST=y
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS=y
CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
CONFIG_BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
CONFIG_BUSYBOX_CONFIG_LAST_SYSTEM_ID=999
CONFIG_BUSYBOX_CONFIG_LOGIN=y
CONFIG_BUSYBOX_CONFIG_LSMOD=y
@@ -185,6 +198,7 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_SECURETTY=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_GET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_PUT=y
# CONFIG_BUSYBOX_CONFIG_WGET is not set
# CONFIG_BUSYBOX_CONFIG_LOGIN_SCRIPTS is not set
# CONFIG_BUSYBOX_CONFIG_LOGIN_SESSION_AS_CHILD is not set
# CONFIG_BUSYBOX_CONFIG_PAM is not set
@@ -193,3 +207,5 @@ CONFIG_LIBCURL_CRYPTO_AUTH=y
CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y
# CONFIG_SAMBA3_CONFIG_NO_PRINTING is not set
# CONFIG_SIGNED_PACKAGES is not set
CONFIG_KERNEL_DEVTMPFS=y
CONFIG_KERNEL_DEVTMPFS_MOUNT=y

View File

@@ -1,88 +1,132 @@
#!/bin/bash
# Intermediate repo for core packages
core_repo=git@public.inteno.se:iopsys-cc-core.git
# Repo to which core packages should be imported
import_repo=git@public.inteno.se:feed-inteno-openwrt.git
import_branch=openwrt-cc-core
function export_core {
local path=$1
# export paths to their own branches in an intermediate repo
repo=$(basename $path)
git subtree push -q --prefix=$path $core_repo $repo
}
function update_core {
local path=$1
if [ ! -d $topdir/feeds/feed_inteno_openwrt ]; then
echo "You need to run ./iop feeds_update"
exit -1
fi
# ensure that we are synced with the remote
cd $topdir/feeds/feed_inteno_openwrt
git checkout $import_branch
git pull
# first install subtrees if they don't already exist
repo=$(basename $path)
git subtree add --prefix=$repo $core_repo $repo
# install subtrees in feed from intermediate repo
repo=$(basename $path)
echo "Exporting $repo"
git subtree pull -q -m "Exporting $repo" --prefix=$repo $core_repo $repo
# update import repo sync branch
git push origin $import_branch
}
function display_help {
echo "Usage: ./iop export_core -e path/to/package"
}
function extract_core {
initial_commit=1427738ac4b77f474999ae21af1a8b916468df36
patch_dir=extract_core_patches
topdir=$(pwd)
# Dir of script location
topdir=$(pwd)
# Paths to packages that should be exported.
paths+='package/network/services/base-files '
paths+='package/network/services/dnsmasq '
paths+='package/network/config/firewall '
paths+='package/network/config/netifd '
paths+='package/network/config/qos-scripts '
paths+='package/system/procd '
paths+='package/utils/busybox '
function print_usage {
echo "Usage: $0 extract_core"
echo " -p <path-to-package> | default"
echo " -r <import-repo>"
echo " -b <import-branch>"
echo ""
echo "Example: $0 extract_core"
echo " -p package/utils/busybox"
echo " -r feeds/feed_inteno_openwrt"
echo " -b devel"
}
if [ $# -eq 0 ]; then
display_help
exit -1
fi
function orphan_branch {
local branch=$1
# Execute user command
while getopts "he:" opt; do
case $opt in
e)
path=${OPTARG}
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
export_core $path
update_core $path
;;
h)
display_help
exit 0
;;
\?)
display_help
exit -1
;;
esac
done
git checkout --orphan $branch
git rm -rf --cached *
git rm -rf --cached .empty
rm -rf *
rm -rf .empty
}
function export_core {
local path=$1
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
# Generate patches from start of openwrt repo.
mkdir -p $patch_dir
repo=$(basename $path)
dir=$(dirname $path)
git format-patch $initial_commit $path -o $patch_dir
# Remove dirname from patches to commit the packages to the
# top directory in the destination repo.
ls $patch_dir | while read line; do
sdir=$(echo "$dir/" | sed 's/\//\\\//g')
sed -i "s/$sdir//g" $patch_dir/$line
done
cd $import_repo
if [ -n "$(git rev-parse -q --verify remotes/origin/$repo)" ]; then
# Create temporary branch to apply patches on.
# We need to do this as git am does not like it
# when patches have already been applied.
orphan_branch tmp
git am $topdir/$patch_dir/*
# Rebase and merge.
git rebase origin/$repo
git checkout --track -b $repo origin/$repo
git merge tmp
git br -d tmp
else
# Remote branch does not exist for packet so create it.
orphan_branch $repo
git am $topdir/$patch_dir/*
fi
git push origin $repo
# Merge the package branch into the main branch.
git checkout $import_branch
git merge $repo -m "Syncing $repo"
git push origin $import_branch
git br -d $repo
rm -rf $topdir/$patch_dir
cd $topdir
}
# Execute user command
while getopts "p:r:b:h" opt; do
case $opt in
p)
export_path=${OPTARG}
;;
r)
import_repo=${OPTARG}
;;
b)
import_branch=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$export_path" ] || [ ! -n "$import_repo" ] || [ ! -n "$import_branch" ]; then
print_usage
exit 1
fi
if [ "$export_path" == "default" ]; then
echo "Extracting default packages:"
for p in $paths; do
export_core $p
done
else
export_core $export_path
fi
exit 0
}
register_command "extract_core" "Extract core package to feeds_inteno_openwrt"
register_command "extract_core" "Extract core package to separate feed"

View File

@@ -24,6 +24,7 @@ function feeds_update {
else
./scripts/feeds update
fi
./scripts/feeds update -ai
# replace core packages with iopsys versions
if [ $override == 1 ]; then

View File

@@ -5,17 +5,17 @@ function genconfig {
export IMPORT=1
export SRCTREEOVERR=0
export FILEDIR="files/"
export THEMEDIR="themes"
CURRENT_CONFIG_FILE=".current_config_file"
export CONFIGPATH="package/feeds/feed_inteno_packages/iop/configs"
CUSTPATH="customerconfigs"
CUSTREPO="git@private.inteno.se:customerconfigs"
export CUSTCONF="customerconfigs/customers"
export VERBOSE=0
export DEVELOPER=0
LOCAL_MIRROR="http://mirror.inteno.se/mirror"
iopsys_brcm63xx_mips="cg300 cg301 dg150 dg150v2 dg150alv2 dg200 dg200al dg301 dg301al eg300 vg50 vox25"
iopsys_brcm63xx_arm="dg400 eg400"
iopsys_brcm63xx_mips="cg300 cg301 dg150 dg150v2 dg150alv2 dg200 dg200al dg301 dg301al eg300 vg50 vox25 hpc_hu02"
iopsys_brcm63xx_arm="dg400 eg400 f104w f104 dg400prime dg400primeb 963138REF_P502"
iopsys_ramips="ex400"
ramips="mt7621"
target="bogus"
@@ -63,6 +63,7 @@ function genconfig {
iceAllowed=0
endptAllowed=0
natalieAllowed=0
mediatekAllowed=0
allowedRepos="$(ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -w 'R\|W' | awk '{print$NF}')"
for repo in $allowedRepos; do
@@ -71,6 +72,7 @@ function genconfig {
ice-client) iceAllowed=1 ;;
endptcfg) endptAllowed=1 ;;
natalie-dect*) natalieAllowed=1 ;;
linux) mediatekAllowed=1 ;;
esac
done
}
@@ -103,7 +105,7 @@ function genconfig {
local ALL="$1"
local CUSTOMER="$2"
if [ "$CUSTOMER" -a -d "$CUSTCONF/$CUSTOMER" ]; then
local boards="$(ls -1 "$CUSTCONF/$CUSTOMER" | grep -v common)"
local boards="$(ls -1 "$CUSTCONF/$CUSTOMER" | grep -v common | grep -v juci-theme)"
if [ "$boards" ]; then
echo "$CUSTOMER has following boards:"
for board in $boards; do
@@ -117,10 +119,10 @@ function genconfig {
exit 1
elif [ -d $CUSTCONF ]; then
local customers="$(ls -1 $CUSTCONF)"
if [ "$customers" -a "$1" == 1 ]; then
if [ "$customers" -a "$ALL" == 1 ]; then
for customer in $customers; do
echo $customer
local boards="$(ls -1 $CUSTCONF/$customer | grep -v common)"
local boards="$(ls -1 $CUSTCONF/$customer | grep -v common | grep -v juci-theme)"
if [ "$boards" ]; then
for board in $boards; do
echo -e "\t$board"
@@ -141,16 +143,6 @@ function genconfig {
}
use_local_mirror()
{
if wget -T 3 -t 2 -O /dev/null $LOCAL_MIRROR >/dev/null 2>/dev/null; then
echo "mirror [$LOCAL_MIRROR] exists. Using local mirror"
sed -i "s;CONFIG_LOCALMIRROR=.*;CONFIG_LOCALMIRROR=\"$LOCAL_MIRROR\";" .config
else
echo "mirror [$LOCAL_MIRROR] does not exist. Not using local mirror"
fi
}
generate_config()
{
DIFFFILE="$1"
@@ -163,15 +155,17 @@ function genconfig {
setup_dirs()
{
if [ $DEVELOPER -eq 1 ]; then
if ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -qw ${CUSTREPO:22}; then
if [ ! -d "$CUSTPATH" ]; then
git clone "$CUSTREPO" "$CUSTPATH"
git clone "$CUSTREPO" "$CUSTPATH"
elif [ $IMPORT -eq 1 ]; then
cd $CUSTPATH
v "git pull"
git pull
cd - >/dev/null #go back
cd $CUSTPATH
v "git pull"
git pull
cd - >/dev/null #go back
fi
else
echo "You do not have access to $CUSTREPO"
fi
if [ ! -d "$FILEDIR" ]; then
@@ -180,6 +174,13 @@ function genconfig {
v "rm -rf $FILEDIR*"
rm -rf $FILEDIR*
fi
if [ ! -d "$THEMEDIR" ]; then
mkdir -p $THEMEDIR
elif [ -d "$THEMEDIR" -a $CLEAN -eq 1 ]; then
v "rm -rf $THEMEDIR/*"
rm -rf $THEMEDIR/*
fi
}
create_and_copy_files()
@@ -192,9 +193,18 @@ function genconfig {
if [ $target == "bogus" ]; then
echo "Hardware profile does not exist"
exit 1
elif [ -n "$CUSTOMER" -a ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "Customer profile does not exist"
exit 1
elif [ -n "$CUSTOMER" ]; then
if [ ! -d "$CUSTCONF/$CUSTOMER/" ]; then
echo "Customer profile for '$CUSTOMER' does not exist"
exit 1
elif [ ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "'$BOARDTYPE' board profile does not exist for customer '$CUSTOMER'"
if [ -f "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
echo "Common profile configuration will be used"
else
exit 1
fi
fi
fi
# Generate base config
@@ -206,6 +216,13 @@ function genconfig {
cp $CONFIGPATH/config .config
fi
# Add target diff
local target_name=$(echo $target | sed 's/_/-/g')
local target_conf=target/linux/${target_name}/config
if [ -f $target_conf ]; then
cat $target_conf >> .config
fi
# Apply profile diff to master config if selected
if [ -n "$PROFILE" ]; then
if [ -e "$CONFIGPATH/$PROFILE.diff" ]; then
@@ -236,6 +253,11 @@ function genconfig {
v "cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR"
cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR
fi
if [ -d "$CUSTCONF/$CUSTOMER/juci-theme" ]; then
customer="$(echo $CUSTOMER | tr 'A-Z' 'a-z')"
v "cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer"
cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer
fi
if [ -e "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
v "Apply $CUSTCONF/$CUSTOMER/common/common.diff"
cat $CUSTCONF/$CUSTOMER/common/common.diff >> .config
@@ -254,25 +276,36 @@ function genconfig {
[ $SRCTREEOVERR -eq 1 ] && echo CONFIG_SRC_TREE_OVERRIDE=y >> .config
# developer mode selected ?
echo "CONFIG_DEVEL=y" >>.config
if [ $DEVELOPER -eq 1 ]; then
# rewrite url to clone with ssh instead of http
echo "CONFIG_DEVEL=y" >>.config
echo "CONFIG_GITMIRROR_REWRITE=y" >>.config
[ $bcmAllowed -eq 0 ] && echo "CONFIG_BCM_OPEN=y" >> .config
[ $iceAllowed -eq 0 ] && echo "CONFIG_ICE_OPEN=y" >> .config
[ $endptAllowed -eq 0 ] && echo "CONFIG_ENDPT_OPEN=y" >> .config
[ $natalieAllowed -eq 0 ] && echo "CONFIG_NATALIE_OPEN=y" >> .config
[ $mediatekAllowed -eq 0 ] && echo "CONFIG_MEDIATEK_OPEN=y" >> .config
else
echo "CONFIG_GITMIRROR_REWRITE=n" >>.config
echo "CONFIG_BCM_OPEN=y" >> .config
echo "CONFIG_ICE_OPEN=y" >> .config
echo "CONFIG_ENDPT_OPEN=y" >> .config
echo "CONFIG_NATALIE_OPEN=y" >> .config
echo "CONFIG_MEDIATEK_OPEN=y" >> .config
fi
# Force regeneration of themes
touch package/feeds/feed_inteno_juci/juci/Makefile
# Force regeneration of kernel Makefile
# Needed to disable kmods for iopsys-brcm targets
touch package/kernel/linux/Makefile
# we need to signal to bradcom SDK that we have changed the board id
# currently boardparms.c and boardparms_voice.c is the only place that is depending on inteno boardid name
# so just touch that file.
[ -d ./build_dir ] && find build_dir/ -name "boardparms*c" -print0 2>/dev/null | xargs -0 touch 2>/dev/null
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"
@@ -311,6 +344,7 @@ function genconfig {
-n|--no-update) export IMPORT=0;;
-v|--verbose) export VERBOSE="$(($VERBOSE + 1))";;
-p|--profile) export PROFILE="$2"; shift;;
-r|--repo) export CUSTREPO="$2"; shift;;
-s|--override) export SRCTREEOVERR=1;;
-h|--help) usage;;
-l|--list) list_customers 0 $2;;
@@ -324,12 +358,11 @@ function genconfig {
esac
shift;
done
CUSTREPO="${CUSTREPO:-git@private.inteno.se:customerconfigs}"
setup_dirs
create_and_copy_files "$1" "$2"
if [ $masterconfig -eq 1 ]; then
use_local_mirror
fi
fi
}

View File

@@ -2,15 +2,16 @@
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith
local tarfile bcmkernelcommith sdkversion
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/feed_inteno_broadcom/bcmkernel/$sdkversion.mk | cut -d'=' -f2)
# do not build bcmopen sdk if it was already built before
ssh $SERVER "ls $FPATH/bcmopen-$profile-$bcmkernelcommith.tar.gz" && return
ssh $SERVER "ls $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/bcmkernel-3.4-$sdkversion/bcm963xx/release
sh do_consumer_release -p $profile -y
tarfile='out/bcm963xx_*_consumer.tar.gz'
[ $(ls -1 $tarfile |wc -l) -ne 1 ] && echo "Too many tar files: '$tarfile'" && return
scp $tarfile $SERVER:$FPATH/bcmopen-$profile-$bcmkernelcommith.tar.gz
scp $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
rm -f $tarfile
cd $curdir
}
@@ -58,15 +59,48 @@ build_ice_consumer() {
icebasever=$(grep -w "BASE_PKG_VERSION:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
icerelease=$(grep -w "PKG_RELEASE:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
iceversion=$icebasever$icerelease
ssh $SERVER "ls $FPATH/ice-client-$profile-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$profile-$iceversion-$icecommith.tar.gz
scp ice-client-$profile-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$profile-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$profile-$iceversion-$icecommith.tar.gz
ssh $SERVER "ls $FPATH/ice-client-$target-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/ice-client-$icebasever/ipkg-* || cd ./build_dir/target-mips*musl-*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$target-$iceversion-$icecommith.tar.gz
scp ice-client-$target-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$target-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$target-$iceversion-$icecommith.tar.gz
cd $curdir
}
build_mediatek_kernel() {
local mediatek_commit kernel_version kernel
mediatek_commit=$(grep CONFIG_KERNEL_GIT_COMMIT .config | cut -d '=' -f2 | tr -d '"')
kernel_version=$(grep KERNEL_PATCHVER target/linux/iopsys-ramips/Makefile | cut -d '=' -f2)
kernel=linux-${kernel_version}.*
ssh $SERVER "ls $FPATH/mediatek-kernel-open-$mediatek_commit.tar.gz" && return
echo "Building mediatek kernel tarball from kernel commit:"
echo $mediatek_commit
cd build_dir/target-mipsel_1004kc*/linux-iopsys-ramips_*/$kernel
# Save Kconfig files to recreate the same kernel config,
# delete everyting else.
find drivers/net/wireless/mt_wifi -type f ! -name Kconfig | xargs rm
find drivers/net/wireless/rlt_wifi -type f ! -name Kconfig | xargs rm
# remove git repo
rm -rf .git
# patch kernel for openstk
ls consumer_release | while read line; do patch -p1 < consumer_release/$line; done
cd ..
tar -czv $kernel -f mediatek-kernel-open-$mediatek_commit.tar.gz
scp mediatek-kernel-open-$mediatek_commit.tar.gz $SERVER:$FPATH/
cd $curdir
}
function print_usage {
echo "Usage: $0 generate_tarballs"
echo " -t <target>"
}
function generate_tarballs {
SERVER="god@software.inteno.se"
@@ -74,14 +108,47 @@ function generate_tarballs {
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
target=$(grep CONFIG_TARGET_BOARD .config | cut -d'=' -f2 | tr -d '"')
board=$(grep CONFIG_TARGET_IBOARDID .config | cut -d'=' -f2 | tr -d '"')
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
curdir=$(pwd)
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
# Execute user command
while getopts "t:h" opt; do
case $opt in
t)
stk_target=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$stk_target" ]; then
print_usage
exit 1
fi
if [ "$stk_target" == "broadcom" ]; then
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
elif [ "$stk_target" == "mediatek" ]; then
build_mediatek_kernel
build_ice_consumer
else
echo "Invalid target: $stk_target"
print_usage
exit 1
fi
}

View File

@@ -34,7 +34,7 @@ function ssh_sysupgrade_latest {
exit 1
fi
{ cd `dirname $0`
IMAGE=`ls -Art bin/*/*.y2 | tail -n1`
IMAGE=`ls -Art bin/*/*.y[23] | tail -n1`
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop ssh_sysupgrade $1 $IMAGE $2
}
}

View File

@@ -1,6 +1,5 @@
#!/bin/bash
print_git_update()
{
echo "pkg -> ${PKG_NAME}"
@@ -99,6 +98,28 @@ insert_hash_in_feed_makefile()
(cd ${PKG_DIR}; git add ${name})
}
insert_version_in_feed_makefile()
{
if [ -n "$PKG_SOURCE_VERSION_FILE" ]
then
name="$PKG_SOURCE_VERSION_FILE"
else
name=Makefile
fi
last_version=$(awk -F '=' '/PKG_VERSION:=/ {print $2}' ${PKG_DIR}/${name})
echo -n "please enter version: "
read -ei "$last_version" answer
if [ -z ${answer} ]; then
return
fi
sed -i -e "s/\(^PKG_VERSION:=\).*/\1${answer}/" ${PKG_DIR}/${name}
(cd ${PKG_DIR}; git add ${name})
}
# BUG: fix if only local branche name!
branch_uptodate()
@@ -373,12 +394,16 @@ insert_hash_in_feeds_config()
check_packages()
{
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
echo "Now checking if any changes has been done to the packages."
echo "Now checking if any changes have been done to the packages."
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
# only scan in the build directory that is currently in use.
CPU=$(grep "CONFIG_CPU_TYPE=" .config| cut -f2 -d\")
LIBC=$(grep "CONFIG_LIBC=" .config| cut -f2 -d\")
# First scan all files in build dir for packages that have .git directories.
all_pkgs=$(find build_dir/ -name ".git")
all_pkgs=$(find build_dir/*${CPU}*${LIBC}* -name ".git")
for pkg in `echo "$all_pkgs"`
do
pkg=$(dirname $pkg)
@@ -400,6 +425,7 @@ check_packages()
# print_git_update
git_repos_uptodate
insert_hash_in_feed_makefile
[ ${UPDATE} -eq 1 ] && insert_version_in_feed_makefile
create_message >tmp/msg
commit_feed tmp/msg
insert_hash_in_feeds_config
@@ -463,7 +489,7 @@ Date: %ai%n\
check_feeds()
{
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
echo "Now checking if any changes has been done to the feeds."
echo "Now checking if any changes have been done to the feeds."
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
feeds=$(grep -v "^#" feeds.conf| awk '{print $2}')
@@ -510,7 +536,7 @@ check_feeds()
read answer
case $answer in
n|N)
n|N|'')
continue;;
esac
branch_uptodate feeds/${feed}
@@ -547,10 +573,19 @@ feeds_at_top()
exit 0
}
usage(){
echo -e "$0 [flags]"
echo -e "flags:"
echo -e " -v\tVerbose mode"
echo -e " -h\tShow this help"
echo -e " -u\tUpdate package version\n"
}
# Exported interface
function update_package {
UPDATE=0
Color_Off='\033[0m' # Text Reset
# Regular Colors
@@ -563,15 +598,18 @@ function update_package {
Cyan='\033[0;36m' # Cyan
White='\033[0;37m' # White
while getopts "v:h" opt; do
while getopts "v:hu" opt; do
case $opt in
v)
verbose=$OPTARG
;;
h)
echo "some help! No options yet"
exit 1
;;
usage
exit 1
;;
u)
UPDATE=1
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1

View File

@@ -21,7 +21,7 @@ define Package/iup
endef
define Package/iup/description
This package contains Intenos IUP Client
This package contains Inteno's IUP Client
endef
define Build/Compile

View File

@@ -31,19 +31,16 @@ management_interfaces() {
}
init_iup() {
local polling_enabled
local interval
local starttime
local nummber
number=$RANDOM
if [ -f $CRONPATH ]; then
echo "File $CRONPATH exists"
else
echo "File $CRONPATH did not exists"
touch $CRONPATH
fi
[ -f $CRONPATH ] || touch $CRONPATH
config_load provisioning
config_get polling_enabled polling enabled on
config_get interval polling interval
config_get starttime polling starttime
@@ -54,12 +51,12 @@ init_iup() {
local newreqopts=
local baseopts=
local reqopts="$(uci -q get network.$net.reqopts)"
local iupopts="66 67 128 224"
local iupopts="66 67 128 224 225 226"
local ropt iopt
config_get enabled iup enabled "on"
for ropt in $reqopts; do
case $ropt in
66|67|128|224) ;;
66|67|128|224|225|226) ;;
*) baseopts="$baseopts $ropt" ;;
esac
done
@@ -67,7 +64,7 @@ init_iup() {
reqopts="$baseopts $iupopts"
for ropt in $reqopts; do
case $ropt in
66|67|128|224) [ $enabled == "on" ] && newreqopts="$newreqopts $ropt" ;;
66|67|128|224|225|226) [ $enabled == "on" ] && newreqopts="$newreqopts $ropt" ;;
*) newreqopts="$newreqopts $ropt" ;;
esac
done
@@ -82,8 +79,18 @@ init_iup() {
ubus call network reload
#################################################################
if [ $polling_enabled == "off" ]; then
sed -i "/\/sbin\/iup/d" $CRONPATH
logger -s -t /etc/init.d/iup[$$] "Provisioning polling unscheduled" 2>/dev/console
return
fi
local log_hour=$starttime
local log_minute
local log_interval=$interval
if [ $interval == "weekly" ]; then
interval="0"
log_interval="$log_interval/sunday"
elif [ $interval == "hourly" ]; then
interval='*'
starttime='*'
@@ -91,9 +98,7 @@ init_iup() {
interval='*'
fi
let "number %= $RANGE"
if grep -q "$starttime \* \* \\$interval /sbin/iup" "$CRONPATH" ; then
echo "IUP is scheduled $starttime \* \* \\$interval "
else
if ! grep -q "$starttime \* \* \\$interval /sbin/iup" "$CRONPATH" ; then
if grep -q "iup" "$CRONPATH" ; then
sed -i "/iup/d" $CRONPATH
fi
@@ -101,15 +106,14 @@ init_iup() {
fsync $CRONPATH
/etc/init.d/cron restart
fi
log_minute=$(awk '/\/sbin\/iup/ {print $1}' /etc/crontabs/root)
logger -s -t /etc/init.d/iup[$$] "Provisioning is scheduled at $log_hour:$log_minute $log_interval" 2>/dev/console
}
start_service() {
init_iup
test_default_route
if [ "$?" -eq 0 ]; then
/sbin/iup -v &
fi
/sbin/iup -v &
}
stop_service() {

View File

@@ -4,6 +4,7 @@ echo $$ > /var/run/iup.pid
. /lib/functions.sh
. /lib/functions/network.sh
. /lib/functions/savecfg.sh
. /usr/share/libubox/jshn.sh
include /lib/upgrade
@@ -16,38 +17,44 @@ export IUPTEMP="/tmp/iup"
export INTERACTIVE=0
export VERBOSE=0
export CONF=1
export DESKEY=$(cat /proc/nvram/DesKey | tr -d '\n' | hexdump -e '16/1 "%02x"')
export MAC=$(cat /proc/nvram/BaseMacAddr)
export DESKEY=
export MAC=
export RANGE=10
export RETRYSTOP=5
export SLEEP=10
#remove whitespace
MAC=${MAC// /}
#lower to upper Conversion
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]')
local sysinfo=$(ubus call router.system info)
json_load "$sysinfo"
json_select system
json_get_var MAC basemac
json_select ..
json_select keys
json_get_var DESKEY des
json_select ..
# MAC lowercase to uppercase and remove ':'
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]' | tr -d ':')
# Convert DESKEY to HEX format
DESKEY=$(echo $DESKEY | tr -d '\n' | hexdump -e '16/1 "%02x"')
# no verbose: no output
# -v log to system log
# -v -v log to system log and console
# -v -v -v log to system log, console and stderr
v() {
[ "$VERBOSE" -ge 1 ] && logger -t iup "$@"
[ "$VERBOSE" -eq 0 ] && return
[ "$VERBOSE" -eq 1 ] && logger -t $0[$$] "$@" && return
[ "$VERBOSE" -eq 2 ] && logger -s -t $0[$$] "$@" >/dev/console 2>&1 && return
[ "$VERBOSE" -eq 3 ] && logger -s -t $0[$$] "$@" 2>&1 | tee /dev/console && return
}
if [ -f $IUPMD5 ]; then
v "File $IUPMD5 exists"
else
v "File $IUPMD5 did not exists"
touch $IUPMD5
fi
vv() {
VERBOSE="$(($VERBOSE + 1))"
v "$@"
VERBOSE="$(($VERBOSE - 1))"
handle_ucitrack()
{
local config="$1"
config_get init "$config" init
echo $init
config_get affects "$config" affects
for aff in $affects
do
config_foreach handle_ucitrack $aff
done
}
get_packages()
@@ -61,35 +68,34 @@ get_packages()
reload ()
{
local reload
local initlist
local reload
local pack
pack=$(get_packages $1)
config_load ucitrack
v "Calling ubus call uci commit for $pack"
for packname in $pack
do
initlist=$(config_foreach handle_ucitrack $packname)
for reltest in $initlist
do
case $reload in
*" $reltest "*) v "already added to reload $reltest" ;;
*) reload="$reload"" ""$reltest" ;;
esac
done
ubus call uci commit '{"config":"'$packname'"}'
sleep 1
done
v "Init scripts to be run $reload"
for inittoreload in $reload
do
if [ "$inittoreload" != "iup" ]; then
/etc/init.d/$inittoreload restart
fi
done
#Ugly hack need to figure out something here
test_default_route
if [ "$?" -eq 1 ]; then
sleep 5
}
save_usercfg()
{
savecfg_save_config fw_redirect fw_parental wifi
}
apply_usercfg()
{
# decide to save the user changes based on keepuserconfig received through provisioning
local keep
config_load provisioning
config_get_bool keep configserver keepuserconfig "0"
v "apply_usercfg(): keepuserconfig = $keep"
if [ "$keep" != "1" ] ; then
savecfg_rm_files
return
fi
savecfg_apply_config fw_redirect fw_parental wifi
}
handle_provisioning() {
@@ -117,15 +123,15 @@ handle_provisioning() {
config_get deckey "$config" deckey
if [ "$enabled" -eq 1 ]; then
if [ "$config" == "iup" ]; then
v "using url from dhcp options"
v "Using url received in dhcp options"
config_get url "$config" urliup
else
else
config_get url "$config" url
fi
url=${url//\$MAC/$MAC}
v "Download from $url"
while [ $retry -le $RETRYSTOP ]
v "Downloading from url \"$url\""
while [ $retry -le $RETRYSTOP ]
do
if [ ${url%%:*} == "tftp" ]; then
tftpfile=${url#*\/\/}
@@ -137,17 +143,17 @@ handle_provisioning() {
get_image "$url" "cat" > $IUPCONFFILES
fi
if [ -s $IUPCONFFILES ]; then
v "File Downloaded"
v "Download finished"
retry=$((RETRYSTOP + 1))
else
v "Download failed will try again in $incsleep sec"
else
v "Download failed, retrying in $incsleep seconds"
sleep $incsleep
incsleep=$((incsleep * retry + number))
retry=$((retry+1))
fi
done
fi
if [ ! -s "$IUPCONFFILES" ]; then
if [ ! -s "$IUPCONFFILES" ] && [ "$enabled" -eq 1 ]; then
echo "File not Found"
reboot="off"
CONF=0
@@ -163,41 +169,44 @@ handle_Downloaded_file()
[ -n "$1" ] && DECKEY=$(echo $1 | tr -d '\n' | hexdump -e '16/1 "%02x"')
KEY=${DECKEY:-$DESKEY}
local img_type
case "$(get_image_type "$IUPCONFFILES")" in
"INTENO") img_type=2 ;;
"CFE+FS") img_type=1 ;;
"FS") img_type=0 ;;
*) img_type="UNKNOWN";;
esac
case "$(get_image_type "$IUPCONFFILES")" in
"INTENO") img_type=2 ;;
"CFE+FS") img_type=1 ;;
"FS") img_type=0 ;;
*) img_type="UNKNOWN";;
esac
if [ "$img_type" == "UNKNOWN" ] ; then
case "$(hexdump -v -n 2 -e '1/1 "%02x"' $IUPCONFFILES)" in
1f8b)
v "Found Config"
v "Downloaded file is an unencrypted config"
md5=$(md5sum $IUPCONFFILES)
md5="${md5%% *}" # remove the first space and everything after it
md5sum "$IUPCONFFILES" >> "$IUPMD5.temp"
if grep -q "$md5" "$IUPMD5"; then
v "Config Already Up to Date"
#becuse config is up to date we need to disable last step reboot if set
v "Config is already up to date, nothing to do"
#because config is up to date we need to disable last step reboot if set
reboot="off"
rm -rf $IUPTEMP
else
cd /tmp/iup/
save_usercfg
cd $IUPTEMP
tar xvzf $IUPCONFFILES
for f in $CONFILESLURP
do
v "file to be applied $f and config $(cat $f)"
uci import -f $f
v "File to be applied $f and config $(cat $f)"
uci -f $f import
done
pack=$(get_packages $CONFILESLURP)
v "$pack packages to be commited"
v "Packages to be commited: $pack"
for packname in $pack
do
uci commit $packname
done
apply_usercfg
reboot=`uci -q get provisioning.configserver.reboot`
if [ "$reboot" != "on" ]; then
sync
reload $CONFILESLURP
fi
rm -rf $IUPTEMP
@@ -207,11 +216,11 @@ handle_Downloaded_file()
fi
;;
*)
v "encrypted"
v "Downloaded file is an encrypted config"
if [ $KEY ]; then
openssl enc -d -des-ede -nosalt -K $KEY -iv "0000000000000000" -in $IUPCONFFILES -out $IUPCONFFILES.tmp
if [ $? -eq 0 ]; then
v "Decrypted Content"
v "Decryption successful"
mv $IUPCONFFILES.tmp $IUPCONFFILES
handle_Downloaded_file
else
@@ -227,11 +236,12 @@ handle_Downloaded_file()
;;
esac
else
v "Image found will start flashing"
v "Downloaded file is a firmware, will start reflashing"
if [ "$defaultreset" -eq 1 ]; then
v "nuke config"
v "Not saving configuration over reflash"
/sbin/sysupgrade -v -n $IUPCONFFILES
else
v "Saving configuration over reflash"
/sbin/sysupgrade -v $IUPCONFFILES
fi
fi
@@ -253,7 +263,7 @@ change_to_vlan() {
# bring down old interface/device.
ifdown "${base_dev}"
logger -t dhcp_opt132 "bringing down old if: ${base_dev}"
v "option 132: bringing down old if: ${base_dev}"
# extract base name of device.
base_dev=$(echo ${base_dev} | cut -d. -f1)
@@ -267,15 +277,15 @@ change_to_vlan() {
uci set layer2_interface_vlan.@vlan_interface[-1].baseifname=${base_dev}
# and commit the change.
uci commit layer2_interface_vlan
logger -t dhcp_opt132 "committed update to file layer2_interface_vlan"
v "option 132: committed update to file layer2_interface_vlan"
# reload configuration files.
/etc/init.d/layer2_interface_vlan reload
logger -t dhcp_opt132 "reload layer2_interface_vlan config"
v "option 132: reload layer2_interface_vlan config"
# replace old interface (like eth0.1 with new eth0.101).
wan_if=$(uci get network.$3.ifname)
logger -t dhcp_opt132 "old network.${3}.ifname: $wan_if"
v "option 132: old network.${3}.ifname: $wan_if"
# loop through the string, remove any word close to "base_dev".
for word in ${wan_if}; do
@@ -293,10 +303,12 @@ change_to_vlan() {
uci set network.wan.ifname="${new_wan_if}"
# and commit the change.
uci commit network
logger -t dhcp_opt132 "committed update to file network: ifname=${new_wan_if}"
v "option 132: committed update to file network: ifname=${new_wan_if}"
# reboot into new if configuration.
reboot
vv "Rebooting"
export REBOOT_REASON=iup
/sbin/reboot
}
handle_option224()
@@ -347,67 +359,65 @@ handle_option224()
softwareminuspath=${url##*/}
if [ $url ] && [ $active -eq 1 ]; then
echo "Software version to download $softwareminuspath"
v "Software version to download \"$softwareminuspath\""
local sysinfo=$(ubus call router.system info)
json_load "$sysinfo"
json_select system
json_get_var firmware firmware
local firmware_new=${softwareminuspath%.*} # remove extension (.w, .y or .y2) from filename
if [ "$firmware_new" != "$firmware" ] ; then
echo "Image found $url will start flashing"
v "Firmware found $url will start flashing"
v "Currently running firmware: \"$firmware\""
v "Newly received firmware: \"$firmware_new\""
wait_for_dns $url
v "Start flashing"
/sbin/sysupgrade -v $url &
return 1
else
echo "Will not update software, already up to date"
v "Firmware is up to date, nothing to do"
return 0
fi
fi
}
### MAIN ###
while [ -n "$1" ]; do
case "$1" in
-v) export VERBOSE="$(($VERBOSE + 1))";;
-q) export VERBOSE="$(($VERBOSE - 1))";;
-*)
echo "Invalid option: $1"
exit 1
;;
*) break;;
esac
shift;
done
# Process IUP related DHCP options #
if [ -n "$1" ]; then
local privopt224 vendorspecinf httpurl128
parse_dhcp_options()
{
local the_json="$@"
# Process IUP related DHCP options #
local privopt224 privopt225 privopt226 vendorspecinf httpurl128
local tftp bootfile vlanid vlanpriority interface
json_load "$1"
json_load "$the_json"
json_get_var interface interface
json_get_var privopt224 privopt224
json_get_var vendorspecinf vendorspecinf
json_get_var privopt225 privopt225
json_get_var privopt226 privopt226
json_get_var vendorspecinf vendorspecinf # option 43
json_get_var httpurl128 httpurl128
json_get_var tftp tftp
json_get_var bootfile bootfile
json_get_var vlanid vlanid
json_get_var vlanpriority vlanpriority
json_get_var tftp tftp # option 66
json_get_var bootfile bootfile #option 67
json_get_var vlanid vlanid # option 132
json_get_var vlanpriority vlanpriority # option 133
if [ $privopt224 ]; then
echo "Option224 recived " $privopt224 > /dev/console
v "dhcp option 224 firmware url $privopt224"
handle_option224 $privopt224
[ $? -eq 1 ] && exit
fi
if [ $vendorspecinf ]; then
v "dhcp option 43 tr69 url $vendorspecinf"
url=${vendorspecinf%%,*}; rest=${vendorspecinf#*,}
provisioningcode=${rest%%,*};
uci_set_state provisioning iup urlcwmp "$url"
uci_set_state provisioning iup url "$url"
uci_set_state provisioning iup provisioningcode "$provisioningcode"
elif [ $httpurl128 ]; then
v "dhcp option 128 http config url $httpurl128"
uci_set_state provisioning iup urliup "$httpurl128"
elif [ $tftp ]; then
v "dhcp option 66 tftp config url $tftp"
if [ ${bootfile:0:1} == '/' ]; then
uci_set_state provisioning iup urliup "tftp://$tftp$bootfile"
else
@@ -415,70 +425,165 @@ if [ -n "$1" ]; then
fi
fi
# if we get vlanid and maybe vlanpriority, configure for that.
# vlanid (and vlanpriority)
if [ -n "$vlanid" -a -n "$vlanpriority" ]; then
logger -t dhcp_opt132 "vlanid: ${vlanid}, vlanpriority: ${vlanpriority}"
v "dhcp option 132 vlanid: ${vlanid} vlanpriority: ${vlanpriority}"
change_to_vlan ${vlanid} ${vlanpriority} ${interface}
elif [ -n "$vlanid" ]; then
logger -t dhcp_opt132 "vlanid: ${vlanid}"
v "dhcp option 132 vlanid: ${vlanid}"
change_to_vlan ${vlanid} 0 ${interface}
elif [ -n "$privopt225" ] || [ -n "$privopt226" ]; then
# opt225 and opt226 can be used together or separatly
if [ -n "$privopt225" ]; then
v "dhcp option 225: $privopt225"
# option225 is allowd to change only once per CPE
if [ "$(uci get -q ice.cloud.frozen)" != "1" ] ; then
uci set ice.cloud.frozen="1"
uci set ice.cloud.enabled="1"
uci set ice.cloud.server="$privopt225"
fi
fi
if [ -n "$privopt226" ]; then
v "dhcp option 226: $privopt226"
[ -z "$(uci get -q ice.dhcp)" ] && uci set ice.dhcp="dhcp"
uci set ice.dhcp.opt226connectionid="$privopt226"
ubus send dhcp.opt226connectionid '{"opt226connectionid":"","value":"'$privopt226'"}'
fi
uci commit
fi
}
# wait_for_default_gateway to become reachable
# return 0 if the default gateway is reachable
# return 1 if the default gateway is not reachable after $wait_time
wait_for_default_gateway()
{
local gateway
local device
local wait_time=120
local wait_interval=10
while [ true ] ; do
gateway=""
device=""
network_flush_cache
network_get_gateway gateway wan #true
network_get_device device wan
device="${device:+-I }$device"
if ping -q -w 1 -c 1 $device $gateway >/dev/null 2>&1 ; then
[ "$wait_time" -lt "60" ] && v "Default gateway $gateway is reachable"
sleep $wait_interval
return 0
fi
# try the nameservers too
for ns in $(grep nameserver /var/resolv.conf.auto | awk '{print $2}'); do
if ping -q -w 1 -c 1 $device $ns >/dev/null 2>&1 ; then
[ "$wait_time" -lt "60" ] && v "Name server $ns is reachable"
sleep $wait_interval
return 0
fi
done
v "Waiting for default gateway or name server. Countdown $wait_time seconds"
sleep $wait_interval
wait_time=$((wait_time - wait_interval))
[ "$wait_time" -le "0" ] && break # timer expired
done
return 1 # default gateway and name server are not reachable
}
main()
{
while [ -n "$1" ]; do
case "$1" in
-v) export VERBOSE="$(($VERBOSE + 1))";;
-q) export VERBOSE="$(($VERBOSE - 1))";;
--dhcp-options)
shift
parse_dhcp_options "$@"
exit 0
;;
-*)
echo "Invalid option: $1"
exit 1
;;
*) break;;
esac
shift;
done
if ! wait_for_default_gateway ; then
v "Neither default gateway nor name server are reachable. Aborting iup."
exit 1
fi
exit 0
fi
if [ ! -f $IUPMD5 ]; then
v "Creating file $IUPMD5"
touch $IUPMD5
fi
local iupurl
local configurl
local software
local sofwareminuspath
config_load provisioning
#check if iup should be used or if its overridden by /etc/config
config_get configurl configserver url
config_get reboot configserver reboot
config_get iupurl iup urliup
local iupurl
local configurl
local software
local sofwareminuspath
if [ $configurl ]; then
handle_provisioning configserver "0"
elif [ $iupurl ]; then
handle_provisioning iup "1"
else
v "No Provisioning Server Found"
exit
fi
config_load provisioning
#check if iup should be used or if its overridden by /etc/config
config_get configurl configserver url
config_get reboot configserver reboot
config_get iupurl iup urliup
config_load provisioning
config_foreach handle_provisioning subconfig "0"
config_get software uppgradeserver url
sofwareminuspath=${software##*/}
v "Software version to download $sofwareminuspath"
if [ $software ]; then
local sysinfo=$(ubus call router.system info)
json_load "$sysinfo"
json_select system
json_get_var firmware firmware
json_get_var filesystem filesystem
if [ "$filesystem" == "JFFS2" ] ; then
firmware=$firmware.w
else
firmware=$firmware.y
fi
if [ "$sofwareminuspath" == "${sofwareminuspath/$firmware/}" ] ; then
echo $software
handle_provisioning uppgradeserver "0"
if [ $configurl ]; then
handle_provisioning configserver "0"
elif [ $iupurl ]; then
handle_provisioning iup "1"
else
v "Will not update software, already up to date"
v "No provisioning server configured"
exit
fi
fi
if [ $CONF -eq 1 ]; then
mv "$IUPMD5.temp" $IUPMD5
fi
config_load provisioning
config_foreach handle_provisioning subconfig "0"
config_get software uppgradeserver url
sofwareminuspath=${software##*/}
if [ "$reboot" == "on" ]; then
v "Reboot Signaled"
/sbin/reboot
fi
if [ $software ]; then
v "Software version to download \"$sofwareminuspath\""
local sysinfo=$(ubus call router.system info)
json_load "$sysinfo"
json_select system
json_get_var firmware firmware
json_get_var filesystem filesystem
if [ "$filesystem" == "JFFS2" ] ; then
firmware=$firmware.w
else
firmware=$firmware.y
fi
if [ "$sofwareminuspath" == "${sofwareminuspath/$firmware/}" ] ; then
v "Software \"$software\""
handle_provisioning uppgradeserver "0"
else
v "Will not update software, already up to date"
fi
fi
rm -rf /var/run/iup.pid
if [ $CONF -eq 1 ]; then
mv "$IUPMD5.temp" $IUPMD5
fi
if [ "$reboot" == "on" ]; then
vv "Rebooting"
export REBOOT_REASON=iup
/sbin/reboot
fi
rm -rf /var/run/iup.pid
}
main $@

View File

@@ -29,8 +29,14 @@ endef
define Build/Compile
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
define Package/layer2interface/install
$(CP) ./broadcom/* $(1)/
endef
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
define Package/layer2interface/install
$(CP) ./broadcom/* $(1)/
endef
endif
$(eval $(call BuildPackage,layer2interface))

View File

@@ -0,0 +1,113 @@
. /lib/network/config.sh
# FIX: for EG300 WAN port for release 3.13.1 - 4.x
if [ "$INTERFACE" == "eth2" ]; then
touch /var/update.eth2
fi
# end FIX
addif() {
# check if wan had a event and start all related services
wan=`uci -q get layer2_interface_ethernet.Wan.baseifname`
if [ "$INTERFACE" == "$wan" ]; then
/etc/init.d/layer2_interface_ethernet start
/etc/init.d/layer2_interface_vlan start
fi
}
delif() {
##remove ethernet wan and nuke any vlans associated
wan=`uci -q get layer2_interface_ethernet.Wan.baseifname`
if [ "$INTERFACE" == "$wan" ]; then
/etc/init.d/layer2_interface_ethernet stop
fi
}
# true if speed on interface is Gbit
gigatest() {
local speed=$(ethctl $INTERFACE media-type 2>&1 | awk '{if (NR == 2) print $6}')
case "$speed" in
1000*) return 0 ;;
*) return 1 ;;
esac
}
# true if there is a link on any lan port
lan_test () {
local landev=$(db get hw.board.ethernetLanPorts)
local ledontest
for dev in $landev; do
ledontest=$(cat /sys/class/net/$dev/operstate)
if [ "$ledontest" == "up" ]; then
return 0
fi
done
return 1
}
# true if adsl or vdsl is up.
dsltest() {
if cat /var/state/layer2_interface 2>/dev/null | grep 'adsl\|vdsl' | grep up; then
return 0
else
return 1
fi
}
case "$ACTION" in
add|register)
case "$PHYSDEVDRIVER" in
natsemi) sleep 1 ;;
esac
addif
local interfname=$(interfacename $INTERFACE)
local operstate=$(cat /sys/class/net/$INTERFACE/operstate)
# if [ "$operstate" == "up" ]; then
if true ; then
case "$interfname" in
GbE*)
ubus call led.lan set '{"state" : "ok"}'
ubus call led.gbe set '{"state" : "ok"}'
ubus call led.gbe_phy_link set '{"state" : "ok"}'
ubus call led.gbe_phy_speed set '{"state": "off"}'
$(gigatest) && ubus call led.gbe_phy_speed set '{"state":"ok"}'
;;
LAN*)
ubus call led.lan set '{"state":"ok"}'
;;
WAN*)
ubus call led.wan set '{"state" : "ok"}'
ubus call led.wan_phy_link set '{"state" : "ok"}'
ubus call led.wan_phy_speed set '{"state" : "off"}'
$(gigatest) && ubus call led.wan_phy_speed set '{"state":"ok"}'
;;
esac
fi
;;
remove|unregister)
local interfname=$(interfacename $INTERFACE)
local operstate=$(cat /sys/class/net/$INTERFACE/operstate)
if [ "$operstate" == "down" ]; then
case "$interfname" in
GbE*)
ubus call led.gbe set '{"state" : "off"}'
ubus call led.gbe_phy_link set '{"state" : "off"}'
ubus call led.gbe_phy_speed set '{"state" : "off"}'
$(lan_test) || ubus call led.lan set '{"state":"off"}'
;;
LAN*)
$(lan_test) || ubus call led.lan set '{"state":"off"}'
;;
WAN*)
ubus call led.wan set '{"state" : "off"}'
ubus call led.wan_phy_speed set '{"state" : "off"}'
ubus call led.wan_phy_link set '{"state" : "off"}'
# is this needed here ?? don't the dsl hotplug event control this ???
# $(dsltest) || ubus call led.dsl set '{"state":"off"}'
;;
esac
fi
delif
;;
esac

View File

@@ -16,6 +16,7 @@ start_service() {
local AnnexL
local ADSL2plus
local VDSL2
local GFast
local a8a
local b8b
local c8c
@@ -23,11 +24,14 @@ start_service() {
local a12a
local b12b
local a17a
local a30a
local b35b
local US0
local bitswap
local sra
local vdsl
config_load layer2_interface
config_get Glite capabilities Glite
config_get GDmt capabilities GDmt
@@ -36,6 +40,7 @@ start_service() {
config_get ADSL2plus capabilities ADSL2plus
config_get AnnexL capabilities AnnexL
config_get VDSL2 capabilities VDSL2
config_get GFast capabilities GFast
config_get AnnexM capabilities AnnexM
config_get a8a capabilities 8a
@@ -45,6 +50,9 @@ start_service() {
config_get a12a capabilities 12a
config_get b12b capabilities 12b
config_get a17a capabilities 17a
config_get a30a capabilities 30a
config_get b35b capabilities 35b
config_get BrcmPriv1 capabilities BrcmPriv1
config_get US0 capabilities US0
config_get bitswap capabilities bitswap
@@ -58,6 +66,7 @@ start_service() {
ADSL2plus=$(echo $ADSL2plus | sed 's/Enabled\|1/p/g')
AnnexM=$(echo $AnnexM | sed 's/Enabled\|1/m/g')
VDSL2=$(echo $VDSL2 | sed 's/Enabled\|1/v/g')
GFast=$(echo $GFast | sed 's/Enabled\|1/f/g')
a8a=$(echo $a8a | sed 's/Enabled\|1/8a/g')
b8b=$(echo $b8b | sed 's/Enabled\|1/8b/g')
@@ -66,7 +75,10 @@ start_service() {
a12a=$(echo $a12a | sed 's/Enabled\|1/12a/g')
b12b=$(echo $b12b | sed 's/Enabled\|1/12b/g')
a17a=$(echo $a17a | sed 's/Enabled\|1/17a/g')
a30a=$(echo $a30a | sed 's/Enabled\|1/30a/g')
b35b=$(echo $b35b | sed 's/Enabled\|1/BrcmPriv1/g')
BrcmPriv1=$(echo $BrcmPriv1 | sed 's/Enabled\|1/BrcmPriv1/g')
[ -n "$b35b" ] && BrcmPriv1=""
US0=$(echo $US0 | sed 's/1/on/g')
US0=$(echo $US0 | sed 's/0/off/g')
bitswap=$(echo $bitswap | sed 's/1/on/g')
@@ -83,13 +95,17 @@ start_service() {
json_get_var vdsl vdsl
if [ $vdsl -eq 1 ]; then
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2 --profile \"$a8a $b8b $c8c $d8d $a12a $b12b $a17a\" --sra $sra --bitswap $bitswap --us0 $US0"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2 --profile "$a8a $b8b $c8c $d8d $a12a $b12b $a17a" --sra $sra --bitswap $bitswap --us0 $US0
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2$GFast --profile \"$a8a $b8b $c8c $d8d $a12a $b12b $a17a $a30a $b35b $BrcmPriv1\" --sra $sra --bitswap $bitswap --us0 $US0"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2$GFast --profile "$a8a $b8b $c8c $d8d $a12a $b12b $a17a $a30a $b35b $BrcmPriv1" --sra $sra --bitswap $bitswap --us0 $US0
else
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM --sra $sra --bitswap $bitswap"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM --sra $sra --bitswap $bitswap
fi
if [ "$GFast" == "f" ]; then
# enable V43 tone set for GFAST
xdslctl configure1 --phycfg 0 0 0 0 0 0 0 0 0 0 0 0x400000 0x400000
fi
}

View File

@@ -50,10 +50,11 @@ addethernet() {
config_get baseifname $1 baseifname
config_get ifname $1 ifname
config_get bridge $1 bridge
config_get mac2 $1 mac2
ifname="${ifname:-$baseifname.1}"
brcm_virtual_interface_rules "$baseifname" "$ifname" "$bridge"
brcm_virtual_interface_rules "$baseifname" "$ifname" "$bridge" "$mac2"
}

View File

@@ -1,30 +1,13 @@
#!/bin/sh
local hasEthWan="1"
local hasEthWan="$(db -q get hw.board.hasEthWan)"
hasEthWan=${hasEthWan:-1}
local hasAdsl="$(db -q get hw.board.hasAdsl)"
local hasVdsl="$(db -q get hw.board.hasVdsl)"
local LANPORTS="$(db -q get hw.board.ethernetLanPorts)"
local WANPORTS=""
# populate layer2_interface_ethernet #
if [ "$hasEthWan" == "1" ]; then
local wanEthernetPort="$(db -q get hw.board.ethernetWanPort)"
wanEthernetPort="${wanEthernetPort:-eth0}"
if [ ! -f /etc/config/layer2_interface_ethernet -o -z "$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_ethernet <<EOF
config ethernet_interface 'Wan'
option name 'WAN'
option baseifname '${wanEthernetPort}'
option ifname '${wanEthernetPort}.1'
EOF
fi
local ifname="$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasEthWan" == "0" ]; then
echo "" > /etc/config/layer2_interface_ethernet
fi
# populate layer2_interface #
if [ "$hasAdsl" == "1" ]; then
if [ ! -f /etc/config/layer2_interface -o -z "$(uci -q get layer2_interface.capabilities)" ]; then
@@ -60,6 +43,28 @@ elif [ "$hasAdsl" == "0" -a "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface
fi
# populate layer2_interface_vdsl #
if [ "$hasVdsl" == "1" ]; then
local wanVdslPort=$(db -q get hw.board.vdslWanPort)
wanVdslPort="${wanVdslPort:-ptm0}"
if [ ! -f /etc/config/layer2_interface_vdsl -o -z "$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_vdsl <<EOF
config vdsl_interface
option 'unit' '0'
option 'ifname' '${wanVdslPort}.1'
option 'baseifname' '${wanVdslPort}'
option 'name' 'VDSL2'
option 'dslat' '1'
option 'ptmprio' '1'
option 'ipqos' '1'
EOF
fi
local ifname="$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_vdsl
fi
# populate layer2_interface_adsl #
if [ "$hasAdsl" == "1" ]; then
local wanAdslPort=$(db -q get hw.board.adslWanPort)
@@ -84,26 +89,22 @@ elif [ "$hasAdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_adsl
fi
# populate layer2_interface_vdsl #
if [ "$hasVdsl" == "1" ]; then
local wanVdslPort=$(db -q get hw.board.vdslWanPort)
wanVdslPort="${wanVdslPort:-ptm0}"
if [ ! -f /etc/config/layer2_interface_vdsl -o -z "$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_vdsl <<EOF
config vdsl_interface
option 'unit' '0'
option 'ifname' '${wanVdslPort}.1'
option 'baseifname' '${wanVdslPort}'
option 'name' 'VDSL2'
option 'dslat' '1'
option 'ptmprio' '1'
option 'ipqos' '1'
# populate layer2_interface_ethernet #
if [ "$hasEthWan" == "1" ]; then
local wanEthernetPort="$(db -q get hw.board.ethernetWanPort)"
wanEthernetPort="${wanEthernetPort:-eth0}"
if [ ! -f /etc/config/layer2_interface_ethernet -o -z "$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_ethernet <<EOF
config ethernet_interface 'Wan'
option name 'WAN'
option baseifname '${wanEthernetPort}'
option ifname '${wanEthernetPort}.1'
EOF
fi
local ifname="$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)"
local ifname="$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_vdsl
elif [ "$hasEthWan" == "0" ]; then
echo "" > /etc/config/layer2_interface_ethernet
fi
# populate network config ifnames #

Some files were not shown because too many files have changed in this diff Show More