Compare commits

..

159 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
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
55 changed files with 1139 additions and 216 deletions

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'

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,14 +19,14 @@ 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.4.0
PKG_RELEASE:=RC8
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:=4b9a5eb71dbf14f5fa72c7c10fa53035489f6f88
PKG_SOURCE_VERSION:=a2635dd11c477d70728ab6cbe5c2dee3965dbe14
ifeq ($(CONFIG_ICE_OPEN),y)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
@@ -154,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
@@ -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-2017-06-30
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:=0999d69acc7e02b8f6ffcc1c4ca4c759de0f7915
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)
@@ -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

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))

View File

@@ -12,7 +12,7 @@ PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=2d474e9ff37b9cfcffd4b9ac8eba8db03eb38a21
PKG_SOURCE_VERSION:=92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/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

@@ -27,6 +27,7 @@ toggle_firewall() {
set_disabled() {
config_load firewall
config_foreach toggle_firewall zone $1
/etc/init.d/firewall reload
}
is_inteno_macaddr()

View File

@@ -67,7 +67,9 @@ case "$ACTION" in
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)
@@ -87,11 +89,13 @@ case "$ACTION" in
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
@@ -162,17 +181,20 @@ populate_netmodes() {
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local curmode conf repeaterready
local netreload="$1"
local curmode conf repeaterready old_mode
config_load netmode
config_get curmode setup curmode
config_get repeaterready setup repeaterready "0"
if [ "$repeaterready" == "1" ] ; then
uci -q set netmode.setup.repeaterready="0"
uci commit netmode
fi
config_get curmode setup curmode
if [ "$curmode" == "repeater" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
@@ -193,6 +215,17 @@ switch_netmode() {
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
@@ -205,6 +238,14 @@ switch_netmode() {
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 &
@@ -238,23 +279,45 @@ start_client_listener() {
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

@@ -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

@@ -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

@@ -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

@@ -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

@@ -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 ra0
option band b
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'

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 ra0
option band b
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'

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,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

@@ -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 ra0
option band b
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'

View File

@@ -63,7 +63,7 @@ get_iface_num() {
break
fi
mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" != "ap" ]; then
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
@@ -150,12 +150,12 @@ local dummy band ssid key encryption device iface_num
while json_get_var dummy $i; do
json_select $i
json_get_var band band
[ "$apcliband" == "$band" ] && break
[ "$band" == "" -o "$apcliband" == "$band" ] && break
json_select ..
i=$((i+1))
done
[ "$apcliband" == "$band" ] || {
[ "$apcliband" == "$band" -o "$band" == "" ] || {
[ "$from_gui" == "true" ] && restore "back"
exit
}
@@ -184,30 +184,57 @@ i=1
while json_get_var dummy $i; do
json_select $i
json_get_var band band
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
}
json_get_var ssid ssid
json_get_var encryption encryption
json_get_var key key
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
json_select ..
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))
@@ -215,7 +242,8 @@ while uci -q get wireless.@wifi-iface[$i] >/dev/null; do
fi
state="reload"
uci -q delete wireless.@wifi-iface[$i] >/dev/null
i=$((i+1))
# do not increment i. The next interface will now
# have the same index as the deleted interface
done
uci commit wireless

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

@@ -15,7 +15,6 @@ get_if_creds() {
config_get key $section key
config_get encryption $section encryption
config_get disabled $section disabled 0
echo "disabled for $band = $disabled" >>/tmp/dbg
[ $disabled -eq 1 ] && return
[ "$ssid" == "" -o "$band" == "" ] && return
json_add_object

View File

@@ -56,6 +56,7 @@ 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
@@ -94,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
@@ -115,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
@@ -156,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

View File

@@ -6,15 +6,12 @@ function extract_core {
topdir=$(pwd)
# Paths to packages that should be exported.
paths+='package/network/services/samba36 '
paths+='package/network/services/base-files '
paths+='package/network/services/dnsmasq '
paths+='package/network/services/dropbear '
paths+='package/network/services/odhcpd '
paths+='package/network/config/firewall '
paths+='package/network/config/netifd '
paths+='package/network/config/qos-scripts '
paths+='package/network/utils/iproute2 '
paths+='package/network/utils/curl '
paths+='package/system/procd '
paths+='package/utils/busybox '
function print_usage {

View File

@@ -9,14 +9,13 @@ function genconfig {
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 f104w dg400prime"
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"
@@ -156,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
@@ -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
@@ -266,9 +276,9 @@ 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
@@ -276,7 +286,6 @@ function genconfig {
[ $natalieAllowed -eq 0 ] && echo "CONFIG_NATALIE_OPEN=y" >> .config
[ $mediatekAllowed -eq 0 ] && echo "CONFIG_MEDIATEK_OPEN=y" >> .config
else
echo "CONFIG_DEVEL=n" >>.config
echo "CONFIG_GITMIRROR_REWRITE=n" >>.config
echo "CONFIG_BCM_OPEN=y" >> .config
echo "CONFIG_ICE_OPEN=y" >> .config
@@ -295,7 +304,7 @@ function genconfig {
# 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.
find build_dir/ -name "boardparms*c" -print0 | xargs -0 touch
[ -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)"
@@ -335,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;;
@@ -348,6 +358,9 @@ function genconfig {
esac
shift;
done
CUSTREPO="${CUSTREPO:-git@private.inteno.se:customerconfigs}"
setup_dirs
create_and_copy_files "$1" "$2"
fi

View File

@@ -3,15 +3,15 @@
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith sdkversion
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
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
}
@@ -109,6 +109,7 @@ 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 '"')
curdir=$(pwd)

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

@@ -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

@@ -8,24 +8,6 @@ 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
@@ -61,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)
@@ -85,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 #

48
loop-detector/Makefile Normal file
View File

@@ -0,0 +1,48 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=loop-detector
PKG_VERSION:=1.0
PKG_SOURCE_VERSION:=d0fb770eacd6691b98df138b60f5116e02f71a9b
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/loop-detector
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/loop-detector
SECTION:=utils
CATEGORY:=Utilities
TITLE:=L2 Loop detector
DEPENDS:= +libpcap +libuci +libpthread
endef
define Package/loop-detector/description
L2 Loop detection package
endef
TARGET_CFLAGS += \
-D_GNU_SOURCE
TARGET_LDFLAGS += \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS += \
--with-uci-include-path=$(STAGING_DIR)/usr/include \
--with-libubox-include-path=$(STAGING_DIR)/usr/include \
--with-libubus-include-path=$(STAGING_DIR)/usr/include
define Package/loop-detector/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/loop-detector $(1)/sbin/
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) ./files/loop_detection.init $(1)/etc/init.d/loop_detection
$(INSTALL_DIR) $(1)/etc/config
$(CP) ./files/loop_detection.config $(1)/etc/config/loop_detection
endef
$(eval $(call BuildPackage,loop-detector))

View File

@@ -0,0 +1,5 @@
config loop-detect loop
option enabled '1'
option discovery_interval '10'
option recovery_check_tries '5'

View File

@@ -0,0 +1,36 @@
#!/bin/sh /etc/rc.common
START=21
STOP=89
USE_PROCD=1
NAME=loop-detector
start_service() {
local enabled
config_load loop_detection
config_get_bool enabled loop enabled 1
if [ $enabled -eq 1 ]; then
procd_open_instance
procd_set_param command "/sbin/loop-detector"
procd_set_param respawn
procd_close_instance
fi
}
stop() {
service_stop /sbin/loop-detector
}
service_triggers()
{
procd_add_reload_trigger loop_detection
}
reload_service() {
stop
start
}

View File

@@ -5,13 +5,13 @@ PKG_NAME:=mtk-bndstrg
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=8a804320c53dead1c9b9f3650cbbc58908c76832
PKG_SOURCE_VERSION:=a67f5ccdf9bc6810f15f1ece9edaad5e89cad0f7
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/mtk-bndstrg
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
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

View File

@@ -12,7 +12,7 @@ PKG_NAME:=peripheral_manager
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=a9e0b8ea80511ef16ef71c59412bcd9b90beb7fe
PKG_SOURCE_VERSION:=959eca8ab2b50eaccfff9c710cffe5b317bb6ad1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/peripheral_manager

View File

@@ -62,18 +62,25 @@ get_current_status() {
fi
}
sfp_flag(){
get_flag(){
local port=$1
local sfptype=$2
local media="$(ethctl $port media-type 2>&1 | grep 'This is probably wrong')"
[ -z "$media" ] && echo "" || echo "sfp $sfptype"
local eg300="$(ethctl $port media-type 2>&1 | grep 'This is probably wrong')"
local eg400="$(ethctl $port media-type 2>&1 | grep 'Error: Interface eth0 has sub ports, please specified one')"
if [ -n "$eg300" ]; then
echo "sfp copper"
elif [ -n "$eg400" ]; then
echo "port 10"
else
echo ""
fi
}
set_port_status() {
local port="$1"
local status="$2"
local flag=$(sfp_flag $port "copper")
local curstatus=$(get_current_status $port $flag)
local flag=$(get_flag $port)
local curstatus=$(get_current_status "$port" "$flag")
ifconfig $port >/dev/null 2>&1 || return
@@ -93,14 +100,14 @@ set_port_status() {
esac
;;
10*AUTO)
ethctl $port media-type $flag advertise $status
ethctl $port media-type advertise $status $flag
;;
10*)
ethctl $port media-type $flag $status
ethctl $port media-type $status $flag
;;
*)
ethctl $port media-type $flag advertise 1000FDAUTO
ethctl $port media-type $flag auto
ethctl $port media-type advertise 1000FDAUTO $flag
ethctl $port media-type auto $flag
;;
esac
else

View File

@@ -23,18 +23,24 @@ get_current_status() {
fi
}
sfp_flag(){
get_flag(){
local port=$1
local sfptype=$2
local media="$(ethctl $port media-type 2>&1 | grep 'This is probably wrong')"
[ -z "$media" ] && echo "" || echo "sfp $sfptype"
local eg300="$(ethctl $port media-type 2>&1 | grep 'This is probably wrong')"
local eg400="$(ethctl $port media-type 2>&1 | grep 'Error: Interface eth0 has sub ports, please specified one')"
if [ -n "$eg300" ]; then
echo "sfp fiber"
elif [ -n "$eg400" ]; then
echo "port 9"
else
echo ""
fi
}
set_fiber_status() {
local port="$1"
local status="$2"
local flag=$(sfp_flag $port "fiber")
local curstatus=$(get_current_status $port $flag)
local flag=$(get_flag $port)
local curstatus=$(get_current_status "$port" "$flag")
case "$status" in
disabled)

View File

@@ -6,9 +6,9 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=questd
PKG_VERSION:=3.1.38
PKG_VERSION:=3.1.40
PKG_SOURCE_VERSION:=41d563397f936dd7dd6db13d07e44ed9ef86f62a
PKG_SOURCE_VERSION:=b2794295fdf9469b6cd8ba1544f291d4b83a7d5a
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/questd
@@ -43,7 +43,7 @@ export QUESTD_CFLAGS
define Package/questd
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +ubus +libpthread +(TARGET_iopsys_ramips_ex400):swconfig +(TARGET_iopsys_ramips_ex400):libnl-tiny
DEPENDS:=+libuci +libubox +ubus +libpthread +(TARGET_iopsys_ramips_ex400):swconfig +(TARGET_iopsys_ramips_ex400):libnl-tiny +libopenssl
TITLE:=router info daemon
endef

View File

@@ -21,8 +21,8 @@ start_service() {
}
stop() {
service_stop /sbin/questd
service_stop /sbin/graphd
#stop_service() is called after procd killed the service
echo ;
}
service_triggers()

View File

@@ -1,6 +1,7 @@
#!/bin/sh
. /lib/functions.sh
. /usr/share/libubox/jshn.sh
# 1. sleep for $SLEEP_LONG seconds
# 2. run the check_* functions
@@ -22,7 +23,7 @@ NPROC_COUNT=4 # number of time that the NPROC_LIMIT has to be hit to trigger a p
NPROC_NFAIL=0 # current consecutive Number of FAILures. process restarts when NPROC_NFAIL == NPROC_COUNT
# memmory limit
MEM_LIMIT=15000
MEM_LIMIT=20000
MEM_COUNT=4
MEM_NFAIL=0
@@ -31,6 +32,9 @@ PCPU_LIMIT=38
PCPU_COUNT=4
PCPU_NFAIL=0
# network call check
NNET_NFAIL=0
UBUS_TIMEOUT=5
@@ -39,7 +43,7 @@ ACSDBIN=$(which acsd)
restart_questd()
{
logger -s -t $0[$$] "Restarting questd. $NPROC_NFAIL $MEM_NFAIL $PCPU_NFAIL"
logger -s -t $0[$$] "Restarting questd. $NPROC_NFAIL $MEM_NFAIL $PCPU_NFAIL $NNET_NFAIL"
killall -q -KILL questd
/etc/init.d/quest stop
@@ -49,6 +53,7 @@ restart_questd()
NPROC_NFAIL=0
MEM_NFAIL=0
PCPU_NFAIL=0
NNET_NFAIL=0
}
@@ -110,21 +115,38 @@ check_pcpu()
check_ubuscall()
{
local rv
local rv
ubus -t $UBUS_TIMEOUT call router.system info >/dev/null 2>&1
rv=$?
ubus -t $UBUS_TIMEOUT call router.system info >/dev/null 2>&1
rv=$?
[ "$rv" = "0" ] && return 0
return 1
[ "$rv" = "0" ] && return 0
return 1
}
check_ubus_network_call() {
[ "$(uci -q get network.lan)" == "interface" ] || return 0
json_load "$(ifstatus lan)" || return 0
json_get_var up up
[ $up -eq 1 ] || return 0
local ifname="$(uci -q get network.lan.ifname)"
[ -z "$ifname" -o "${ifname:0:3}" == "br-" ] && return 0
ubus -t 5 call router.network ports '{"network":"lan"}' | grep -q statistics || {
NNET_NFAIL=1
return 1
}
return 0
}
restart_bsd()
{
logger -s -t $0[$$] "Restarting bsd."
killall -q -KILL bsd
bsd
logger -s -t $0[$$] "Restarting WiFi and Band Steering daemon due to bsd hangup."
killall -q -15 bsd 2>/dev/null
wlctl -i wl0 down 2>/dev/null
wlctl -i wl1 down 2>/dev/null
wlctl -i wl0 up 2>/dev/null
wlctl -i wl1 up 2>/dev/null
bsd &
}
check_bsdcall()
@@ -141,9 +163,13 @@ check_bsdcall()
restart_acsd()
{
logger -s -t $0[$$] "Restarting acsd."
killall -q -KILL acsd
acsd &
logger -s -t $0[$$] "Restarting WiFi and Auto Channel Selection daemon due to acsd high CPU usage."
killall -q -9 acsd 2>/dev/null
wlctl -i wl0 down 2>/dev/null
wlctl -i wl1 down 2>/dev/null
wlctl -i wl0 up 2>/dev/null
wlctl -i wl1 up 2>/dev/null
acsd
}
check_acsd()
@@ -155,7 +181,7 @@ check_acsd()
for p in $pcpu; do
p=${p%%%*}
if [ "$p" -ge "20" ]; then
if [ "$p" -ge "40" ]; then
return 1
fi
done
@@ -193,8 +219,11 @@ main()
"$restart_mem" = "1" -o \
"$restart_pcpu" = "1" ]
then
# check_ubuscall || restart_questd
restart_questd
else
if [ "$sample" -ge "$SAMPLES" ]; then
check_ubus_network_call || restart_questd
fi
fi
if [ "$BSDBIN" ] ; then

View File

@@ -55,11 +55,14 @@ define Package/samba2-client
endef
TARGET_CFLAGS += $(FPIC)
WERR := -Werror=format-security
TARGET_CFLAGS_WITHOUT_WERR := $(filter-out $(WERR),$(TARGET_CFLAGS))
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR)/source ; rm -rf config.{cache,status} ; \
CFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE" \
./configure \
$(HOST_CONFIGURE_VARS) \
$(HOST_CONFIGURE_ARGS) \
@@ -93,7 +96,7 @@ define Build/Compile
clean
(cd $(PKG_BUILD_DIR)/source; rm -rf config.{cache,status}; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288 -Dfcntl=fcntl64" \
CFLAGS="$(TARGET_CFLAGS_WITHOUT_WERR) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) $(LIBGCC_S)" \
ac_cv_lib_cups_httpConnect=no \

View File

@@ -0,0 +1,40 @@
--- a/source/utils/owrt_smbpasswd.c 2017-10-03 15:57:24.190827000 +0100
+++ a/source/utils/owrt_smbpasswd.c 2017-10-03 16:07:54.862857000 +0100
@@ -108,7 +108,7 @@
}
}
- fprintf(fp, line);
+ fprintf(fp, "%s", line);
out:
if(fp)
@@ -134,20 +134,20 @@
p = strchr(t, ':');
if(p && (p - t == strlen(user)) && (strncmp(t, user, strlen(user))) == 0)
{
- fpos_t r_pos, w_pos;
+ long int r_pos, w_pos;
char t2[256];
- fgetpos(fp, &r_pos);
+ r_pos = ftell(fp);
w_pos = r_pos;
- w_pos.__pos -= strlen(t);
+ w_pos -= strlen(t);
while(fgets(t2, 256, fp))
{
- fsetpos(fp, &w_pos);
+ fseek(fp, w_pos, SEEK_SET);
fputs(t2, fp);
- r_pos.__pos += strlen(t2);
- w_pos.__pos += strlen(t2);
- fsetpos(fp, &r_pos);
+ r_pos += strlen(t2);
+ w_pos += strlen(t2);
+ fseek(fp, r_pos, SEEK_SET);
}
- ftruncate(fileno(fp), w_pos.__pos);
+ ftruncate(fileno(fp), w_pos);
break;
}
}

View File

@@ -1,8 +1,5 @@
config testserver '1'
option server 'tptest.bredband.net'
option port '1640'
config testserver '2'
config testserver '1'
option server 'referens.sth.ip-performance.se'
option port '1642'

107
tr064/.cproject Normal file
View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916" name="Debug" parent="cdt.managedbuild.config.gnu.cross.exe.debug">
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.debug.482080998" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.debug">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1864775892" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/tr064}/Debug" id="cdt.managedbuild.builder.gnu.cross.84968765" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.912678595" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.732187738" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.406132207" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.656190220" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.894741631" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.1987025848" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.debugging.level.1506505331" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1176314661" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker">
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1134635640" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1076025733" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker"/>
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.862614592" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.638528350" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.390953300" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.release.517635632">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.release.517635632" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.release.517635632" name="Release" parent="cdt.managedbuild.config.gnu.cross.exe.release">
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.release.517635632." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.release.2086871607" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.release">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1691338213" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/tr064}/Release" id="cdt.managedbuild.builder.gnu.cross.2045398730" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.804948441" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.422910401" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.1240870180" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.none" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.118715116" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.119838407" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.198417757" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.debugging.level.380023243" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.751400281" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker">
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.398459196" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1354328537" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker"/>
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.1258554594" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.2022763402" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1223740654" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="tr064.cdt.managedbuild.target.gnu.cross.exe.1457888368" name="Executable" projectType="cdt.managedbuild.target.gnu.cross.exe"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916;cdt.managedbuild.config.gnu.cross.exe.debug.1423203916.;cdt.managedbuild.tool.gnu.cross.c.compiler.912678595;cdt.managedbuild.tool.gnu.c.compiler.input.656190220">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.release.517635632;cdt.managedbuild.config.gnu.cross.exe.release.517635632.;cdt.managedbuild.tool.gnu.cross.c.compiler.804948441;cdt.managedbuild.tool.gnu.c.compiler.input.118715116">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>

27
tr064/.project Executable file
View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tr064</name>
<comment></comment>
<projects>
<project>openssl-1.0.2i</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="cdt.managedbuild.config.gnu.cross.exe.debug.1423203916" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1404192411374960532" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="cdt.managedbuild.config.gnu.cross.exe.release.517635632" name="Release">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1404192411374960532" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
</project>

82
tr064/Makefile Executable file
View File

@@ -0,0 +1,82 @@
# Copyright (C) 2017 PIVA Software <www.pivasoftware.com>
# Author: OMAR Kallel <omar.kallel@pivasoftware.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=tr064
PKG_VERSION:=1.0
PKG_SOURCE_URL:=git@public.inteno.se:tr064.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=e53d492a09c433718a520987c419cb6a4d4ae8dc
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \
CONFIG_TR064_DEBUG \
CONFIG_TR064_DEVEL
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/tr064
SECTION:=utils
CATEGORY:=Utilities
TITLE:=tr064
DEPENDS:=+libubus +libuci +libubox +libmicroxml +libjson-c +libpthread +libdatamodel +libopenssl +libubus +libubox
endef
define Package/tr064/description
TR-064 protocol
endef
TARGET_CFLAGS += \
-D_GNU_SOURCE
TARGET_LDFLAGS += \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS += \
--with-uci-include-path=$(STAGING_DIR)/usr/include \
--with-libubox-include-path=$(STAGING_DIR)/usr/include \
--with-libubus-include-path=$(STAGING_DIR)/usr/include
ifeq ($(CONFIG_TR064_DEBUG),y)
CONFIGURE_ARGS += \
--enable-debug
endif
ifeq ($(CONFIG_TR064_DEVEL),y)
CONFIGURE_ARGS += \
--enable-devel
endif
CONFIGURE_ARGS += \
--enable-jsonc=1
define Package/tr064/conffiles
/etc/config/tr064
endef
define Package/tr064/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/upnp-md
$(INSTALL_DIR) $(1)/etc/upnp-md/web
$(INSTALL_DIR) $(1)/etc/upnp-md/x509
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/upnp-md-pupnp/upnp-md $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/web/*.xml $(1)/etc/upnp-md/web
$(CP) $(PKG_BUILD_DIR)/tools/parse_ftp_server_log.sh $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/tools/kill_child.sh $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/x509/*.pem $(1)/etc/upnp-md/x509
$(INSTALL_CONF) $(PKG_BUILD_DIR)/conf/upnp-md.conf $(1)/etc/upnp-md
$(CP) $(PKG_BUILD_DIR)/conf/DMconf.xml $(1)/etc/upnp-md
$(CP) $(PKG_BUILD_DIR)/conf/CPID.csv $(1)/etc/upnp-md
$(CP) $(PKG_BUILD_DIR)/conf/tr064 $(1)/etc/config
$(CP) $(PKG_BUILD_DIR)/conf/tr064d $(1)/etc/init.d
chmod 0744 $(1)/etc/init.d/tr064d
endef
$(eval $(call BuildPackage,tr064))

View File

@@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=u-boot
PKG_VERSION:=2016.08
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE_URL:=http://public.inteno.se:/uboot
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=064c9c30ff159c9bf3fa695baddd54279cd0f062
PKG_SOURCE_VERSION:=f502d1b589f14142bf7d7719e8434014f180d03f
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -16,7 +16,7 @@ define Package/voice-client
SECTION:=net
CATEGORY:=Network
TITLE:=voice-client
DEPENDS:=+asterisk18-mod
DEPENDS:=asterisk13||asterisk18-mod
endef
define Package/voice-client/description

View File

@@ -68,6 +68,7 @@ TMPL_ASTERISK=$TEMPLATEDIR/asterisk.conf.TEMPLATE
TMPL_CDR=$TEMPLATEDIR/cdr.conf.TEMPLATE
TMPL_CDR_SYSLOG=$TEMPLATEDIR/cdr_syslog.conf.TEMPLATE
TMPL_INDICATIONS=$TEMPLATEDIR/indications.conf.TEMPLATE
TMPL_CEL=$TEMPLATEDIR/cel.conf.TEMPLATE
TMPL_LOGGER=$TEMPLATEDIR/logger.conf.TEMPLATE
TMPL_MANAGER=$TEMPLATEDIR/manager.conf.TEMPLATE
TMPL_MODULES=$TEMPLATEDIR/modules.conf.TEMPLATE
@@ -80,7 +81,7 @@ TMPL_BRCM_LINE=$TEMPLATEDIR/brcm_line.TEMPLATE
TMPL_MEETME=$TEMPLATEDIR/meetme.conf.TEMPLATE
SPECRATEDIR=$ASTERISKDIR/special_rate_nr.cfg
SPECRATECFG=$ASTERISKDIR/special_rate_nr.cfg
run_hook()
{
@@ -97,13 +98,13 @@ escape_sed_substitution()
# Gets rid of any config files from $ASTERISKDIR not found in $WORKDIR.
clean_up_asterisk_config_dir()
{
for f in $ASTERISKDIR/* ; do
basef="`basename $f`"
if [ ! -e "$WORKDIR/$basef" ] ; then
rm -rf "$f"
for f in $ASTERISKDIR/* ; do
basef="`basename $f`"
if [ ! -e "$WORKDIR/$basef" ] ; then
rm -rf "$f"
echo "$f" >> /tmp/voice.log
fi
done
fi
done
}
# Compares md5sums of the config files in $WORKDIR to those
@@ -113,7 +114,7 @@ compare_configs_and_copy_changed()
{
# First, compute md5sums of the config files in $WORKDIR.
cd $WORKDIR/
md5sum * > $MD5SUMSFILE
md5sum * > $MD5SUMSFILE 2>/dev/null
# Now, check the files in $ASTERISKDIR against the md5sums.
cd $ASTERISKDIR/
@@ -141,15 +142,15 @@ assemble_and_copy_config()
# start if a config item is missing and an included config file isn't created.
# Copy the template files which we don't edit.
cp $TMPL_ASTERISK $WORKDIR/asterisk.conf
cp $TMPL_CDR $WORKDIR/cdr.conf
cp $TMPL_CEL $WORKDIR/cel.conf
cp $TMPL_INDICATIONS $WORKDIR/indications.conf
cp $TMPL_MANAGER $WORKDIR/manager.conf
cp $TMPL_MODULES $WORKDIR/modules.conf
cp $TMPL_EXTENSIONS_MACRO $WORKDIR/extensions_macro.conf
cp $TMPL_MUSICONHOLD $WORKDIR/musiconhold.conf
cp $SPECRATEDIR $WORKDIR/special_rate_nr.cfg
[ -f $TMPL_ASTERISK ] && cp $TMPL_ASTERISK $WORKDIR/asterisk.conf
[ -f $TMPL_CDR ] && cp $TMPL_CDR $WORKDIR/cdr.conf
[ -f $TMPL_CEL ] && cp $TMPL_CEL $WORKDIR/cel.conf
[ -f $TMPL_INDICATIONS ] && cp $TMPL_INDICATIONS $WORKDIR/indications.conf
[ -f $TMPL_MANAGER ] && cp $TMPL_MANAGER $WORKDIR/manager.conf
[ -f $TMPL_MODULES ] && cp $TMPL_MODULES $WORKDIR/modules.conf
[ -f $TMPL_EXTENSIONS_MACRO ] && cp $TMPL_EXTENSIONS_MACRO $WORKDIR/extensions_macro.conf
[ -f $TMPL_MUSICONHOLD ] && cp $TMPL_MUSICONHOLD $WORKDIR/musiconhold.conf
[ -f $SPECRATECFG ] && cp $SPECRATECFG $WORKDIR/special_rate_nr.cfg
test -e $TMPL_MEETME && cp $TMPL_MEETME $WORKDIR/meetme.conf
@@ -178,7 +179,7 @@ assemble_and_copy_config()
mv $WORKDIR/features.tmp $WORKDIR/features.conf
mv $WORKDIR/voicemail.tmp $WORKDIR/voicemail.conf
mv $WORKDIR/meetme.tmp $WORKDIR/meetme.conf
mv $WORKDIR/logger.tmp $WORKDIR/logger.conf
mv $WORKDIR/logger.tmp $WORKDIR/logger.conf
mv $WORKDIR/queues.tmp $WORKDIR/queues.conf
mv $WORKDIR/dnsmgr.tmp $WORKDIR/dnsmgr.conf
@@ -467,13 +468,13 @@ configure_sip()
if [ -z "$registertimeoutbackoff" ] ; then
sed -i "s/registertimeoutbackoff=|REGISTERTIMEOUTBACKOFF|/;registertimeoutbackoff=/g" $WORKDIR/sip.tmp
else
sed -i "s/|REGISTERTIMEOUTBACKOFF|/$registertimeoutbackoff/g" $WORKDIR/sip.tmp
sed -i "s/|REGISTERTIMEOUTBACKOFF|/$registertimeoutbackoff/g" $WORKDIR/sip.tmp
fi
if [ -z "$registerattemptsbackoff" ] ; then
sed -i "s/registerattemptsbackoff=|REGISTERATTEMPTSBACKOFF|/;registerattemptsbackoff=/g" $WORKDIR/sip.tmp
else
sed -i "s/|REGISTERATTEMPTSBACKOFF|/$registerattemptsbackoff/g" $WORKDIR/sip.tmp
sed -i "s/|REGISTERATTEMPTSBACKOFF|/$registerattemptsbackoff/g" $WORKDIR/sip.tmp
fi
if [ -z "$register403timeout" ] ; then
@@ -542,7 +543,7 @@ configure_sip()
for section in ${CONFIG_SECTIONS}; do
local transport
config_get cfgtype "$section" TYPE
[ -n "$type" -a "x$cfgtype" != "x$type" ] && continue
[ -n "$type" -a "x$cfgtype" != "x$type" ] && continue
config_get transport $section transport
if [ "$transport" == "tls" ] ; then
tlsenable="yes"
@@ -804,7 +805,7 @@ configure_sip_provider()
fi
sed -i "s/|AUTOFRAMING|/$autoframing/" $WORKDIR/sip_provider.tmp
# Set registered extension so that incoming calls match the correct peer
# Set registered extension so that incoming calls match the correct peer
sed -i "s/|CONTACT_USER|/$user/g" $WORKDIR/sip_provider.tmp
# Add SIP Provider configuration to the temp file containing all SIP Provider configs.
@@ -1035,7 +1036,7 @@ configure_queue()
echo "[macro-$1]" >> $WORKDIR/macros.tmp
echo "exten => s,1,Answer()" >> $WORKDIR/macros.tmp
# Workaround to fix no ringback issue for incoming SIP calls
# Workaround to fix no ringback issue for incoming SIP calls
echo "exten => s,n,Playback(silence/1)" >> $WORKDIR/macros.tmp
echo "exten => s,n,Queue($1,R)" >> $WORKDIR/macros.tmp
@@ -1127,13 +1128,13 @@ configure_cdr()
echo "cdr_syslog: $cdr_syslog"
if [ -z "$cdr_syslog" ] ; then
if [ -z "$cdr_syslog" ] ; then
cdr_syslog='0'
fi
# Enable/disable CDR logging in syslog
if [ "$cdr_syslog" == "1" ] ; then
cp $TMPL_CDR_SYSLOG $WORKDIR/cdr_syslog.conf
cp $TMPL_CDR_SYSLOG $WORKDIR/cdr_syslog.conf
fi
}
@@ -1188,27 +1189,28 @@ configure_call_filters()
echo "exten => s,n(not-foreign),Set(FOREIGN=0)" >> $WORKDIR/macros.tmp
echo "" >> $WORKDIR/macros.tmp
# Get special rate numbers from /etc/asterisk/special_rate_nr.cfg
while read line
do
i=0
for v in $(echo $line | tr ";" "\n")
if [ -f $SPECRATECFG ]; then
while read line
do
if [ "$i" -eq "0" -a "$v" != "$country" ] ; then
continue 2
fi
if [ "$i" -eq "1" ] ; then
srn=$v
fi
i=$((i+1))
done
i=0
for v in $(echo $line | tr ";" "\n")
do
if [ "$i" -eq "0" -a "$v" != "$country" ] ; then
continue 2
fi
if [ "$i" -eq "1" ] ; then
srn=$v
fi
i=$((i+1))
done
if [ -n "$srn" ] ; then
# Special rate numbers found
break
fi
done < "/etc/asterisk/special_rate_nr.cfg"
if [ -n "$srn" ] ; then
# Special rate numbers found
break
fi
done < $SPECRATECFG
fi
echo "Found special rate numbers: $srn"
@@ -1327,8 +1329,8 @@ get_call_filter()
macro="NoOp()"
if ! [ "x$direction" != "xincoming" -o "x$direction" != "xoutgoing" ] ; then
echo $macro
fi
echo $macro
fi
local call_filter enabled
config_get call_filter $provider call_filter "call_filter0"
@@ -1353,20 +1355,20 @@ configure_opening_hours_profile()
local section cfgtype
[ -z "$CONFIG_SECTIONS" ] && return 0
for section in ${CONFIG_SECTIONS}; do
config_get cfgtype "$section" TYPE
[ -n "timespan" -a "x$cfgtype" != "xtimespan" ] && continue
local owner
config_get cfgtype "$section" TYPE
[ -n "timespan" -a "x$cfgtype" != "xtimespan" ] && continue
local owner
config_get owner $section owner
if [ "$owner" == "$1" ] ; then
local tr dow dom months
config_get tr $section time_range
config_get dow $section days_of_week
config_get dom $section days_of_month
config_get months $section months
config_get owner $section owner
if [ "$owner" == "$1" ] ; then
local tr dow dom months
config_get tr $section time_range
config_get dow $section days_of_week
config_get dom $section days_of_month
config_get months $section months
echo "exten => s,n,GotoIfTime($tr,$dow,$dom,$months,?$label)" >> $WORKDIR/macros.tmp
fi
echo "exten => s,n,GotoIfTime($tr,$dow,$dom,$months,?$label)" >> $WORKDIR/macros.tmp
fi
done
if [ "$invert" == "0" ] ; then
echo "exten => s,n,Goto(closed)" >> $WORKDIR/macros.tmp
@@ -1641,7 +1643,7 @@ configure_extensions_provider()
local call_ivr call_queue extension
echo "exten => $user,n,Set(__TRANSFER_CONTEXT=\${CHANNEL(peername)}-transfer)" >> $tmp
# replace prefix '+' with '00'
# replace prefix '+' with '00'
echo "exten => $user,n,GotoIf($[\"\${CALLERID(NUM):0:1}\" = \"+\"]?rewrite:norewrite)" >> $tmp
echo "exten => $user,n(rewrite),Set(CALLERID(num)=\"00\${CALLERID(num):1}\"))" >> $tmp
echo "exten => $user,n(norewrite),NoOp()">> $tmp
@@ -1704,7 +1706,7 @@ configure_brcm_line_extension()
echo "Configuring local extension $extension"
config_get cbbs_enabled "features" cbbs_enabled
# load cbbs settings if enabled
# load cbbs settings if enabled
cbbs_key=""
cbbs_maxretry="0"
cbbs_retrytime="0"
@@ -1721,7 +1723,7 @@ configure_brcm_line_extension()
sed -i "s/|LINE|/$line/g" $WORKDIR/extensions_local_line.tmp
sed -i "s/|TIMEOUT|/$(get_voicemail_timeout)/g" $WORKDIR/extensions_local_line.tmp
#cbbs settings
#cbbs settings
sed -i "s/|CBBS_KEY|/$(escape_sed_substitution $cbbs_key)/" $WORKDIR/extensions_local_line.tmp
sed -i "s/|MAX_RETRIES|/$cbbs_maxretry/" $WORKDIR/extensions_local_line.tmp
sed -i "s/|RETRYTIME|/$cbbs_retrytime/" $WORKDIR/extensions_local_line.tmp
@@ -1998,8 +2000,8 @@ configure_conference()
echo "exten => $extension,n(enterno),Read(confno,,5)" >> $WORKDIR/extensions_local.tmp
for section in ${CONFIG_SECTIONS}; do
config_get cfgtype "$section" TYPE
[ "x$cfgtype" != "xconference_room" ] && continue
config_get cfgtype "$section" TYPE
[ "x$cfgtype" != "xconference_room" ] && continue
local name id enabled
config_get name $section name
@@ -2011,7 +2013,7 @@ configure_conference()
echo "Enabling conference room $id"
echo "exten => $extension,n,GotoIf($[\"\${confno}\"=\"$id\"]?enterconf)" >> $WORKDIR/extensions_local.tmp
echo "conf => $id" >> $WORKDIR/meetme.tmp
done
done
echo "exten => $extension,n,Playback(conf-invalid)" >> $WORKDIR/extensions_local.tmp
echo "exten => $extension,n,Goto(enterno)" >> $WORKDIR/extensions_local.tmp
@@ -2281,11 +2283,13 @@ reload_service() {
# if there is a registered account
ubus call led.voice1 set '{"state":"off"}'
asterisk -rx "config reload $ASTERISKDIR/sip.conf"
sleep 1
asterisk -rx "core reload"
asterisk -rx "dialplan reload"
asterisk -rx "brcm reload"
}
service_triggers() {
procd_add_reload_trigger voice_client
procd_add_reload_trigger voice_client
}