Compare commits

..

103 Commits

Author SHA1 Message Date
Benjamin Larsson
d60dbaa036 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f2ffd68 Fix include to make build pass on older linux versions.
-------------------------------------------------------------------------------
commit f2ffd68750343bf3fb796926691ffaad87f9f382
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2018-02-05 13:18:19 +0100

    Fix include to make build pass on older linux versions.

Base directory -> /
 bridge.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-02-05 13:26:00 +01:00
msve
49f0f166b9 questd: compile for realtek 2018-01-26 17:41:47 +01:00
msve
c027d2cabe Added iopsys_realtek symlink in targets 2018-01-26 13:36:44 +01:00
msve
e6a995a3f1 Imported realtek config into genconfig.sh 2018-01-26 12:00:01 +01:00
Reidar Cederqvist
9f5683d8c8 10-switch: fix for EG300 wan port ref #13048 2017-10-13 10:36:58 +02:00
Sukru Senli
96fb53be0b questd updated 2017-10-13 10:27:30 +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
39 changed files with 819 additions and 117 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'

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.0
PKG_RELEASE:=RC7
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=4b9a5eb71dbf14f5fa72c7c10fa53035489f6f88
PKG_SOURCE_VERSION:=11a77f1e9ccc0d591ca69aeab9663e9ec4727b08
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,11 +1,12 @@
#!/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 || {
@@ -47,6 +48,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 +58,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-09-28
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=0999d69acc7e02b8f6ffcc1c4ca4c759de0f7915
PKG_SOURCE_VERSION:=fd932429d3a656fccabcda934932d008dae6e526
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

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,18 @@ populate_netmodes() {
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local curmode conf repeaterready
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 +213,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 +236,9 @@ switch_netmode() {
routed*)
ubus call uci commit '{"config":"network"}'
;;
repeater*)
[ -f /etc/init.d/omcproxy ] && /etc/init.d/omcproxy stop
;;
esac
else
reboot &
@@ -238,9 +272,29 @@ 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() {
@@ -251,10 +305,12 @@ reload_service() {
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

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

@@ -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
@@ -115,6 +116,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 +158,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

@@ -35,7 +35,8 @@ function feeds_update {
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-mips
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-arm
./scripts/feeds install -p feed_inteno_targets iopsys-ramips
./scripts/feeds install -p feed_inteno_targets iopsys-realtek
# install all packages
./scripts/feeds install -a

View File

@@ -9,15 +9,15 @@ 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_arm="dg400 eg400 f104w f104 dg400prime dg400primeb 963138REF_P502"
iopsys_ramips="ex400"
iopsys_realtek="rtl8685g"
ramips="mt7621"
target="bogus"
masterconfig=1
@@ -47,6 +47,13 @@ function genconfig {
fi
done
for p in $iopsys_realtek; do
if [ $p == $profile ]; then
target="iopsys_realtek"
return
fi
done
for p in $ramips; do
if [ $p == $profile ]; then
target="ramips"
@@ -156,15 +163,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
@@ -266,9 +275,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 +285,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 +303,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 +343,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 +357,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,8 +95,8 @@ 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

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 #

View File

@@ -5,13 +5,13 @@ PKG_NAME:=mtk-bndstrg
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=8a804320c53dead1c9b9f3650cbbc58908c76832
PKG_SOURCE_VERSION:=e5264d8da2a6de30c2e4e100dfee4dc5db0b59d0
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:=ece02822d74c2d9e4be4ebd3ebef4e4a3f57e05d
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

@@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=questd
PKG_VERSION:=3.1.38
PKG_SOURCE_VERSION:=41d563397f936dd7dd6db13d07e44ed9ef86f62a
PKG_SOURCE_VERSION:=f2ffd68750343bf3fb796926691ffaad87f9f382
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

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)