Compare commits

..

549 Commits

Author SHA1 Message Date
Arun Muthusamy
0b1986c99e openvswitch feed package 2018-09-10 14:58:57 +02:00
Ronny Nilsson
07ac6e3944 Dect: Add Natalie version string. 2018-09-07 16:53:49 +02:00
Ronny Nilsson
1e0a33f94b Dectmngr2 build parallell. 2018-09-06 16:19:38 +02:00
Ronny Nilsson
950ef5db5f Change method for finding out version of Broadcom SDK in use. 2018-09-06 16:19:10 +02:00
Ronny Nilsson
f8d9b81bd8 Natalie Dect for for MIPS is almost working.
refs #13885
2018-09-06 15:36:23 +02:00
Anjan Chanda
22987c2002 Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 7875239 construct neighbor entry details
* 3717549 include iopsys copyright header
-------------------------------------------------------------------------------
commit 78752399841a4309c23d9dbf092857921b97be27
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-05 14:02:31 +0200

    construct neighbor entry details

Base directory -> /
 src/agent.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 src/agent.h |  1 +
 src/utils.c | 19 +++++++------
 src/utils.h |  8 +++---
 4 files changed, 91 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
commit 37175495a89ded74c22e1acec3e292804a7e8323
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-05 11:20:38 +0200

    include iopsys copyright header

Base directory -> /
 src/agent.c         | 23 +++++++++++++++++++++++
 src/agent.h         | 22 ++++++++++++++++++++++
 src/agent_ubus.c    |  4 ++--
 src/agent_ubus.h    | 22 ++++++++++++++++++++++
 src/cntlr.c         | 22 ++++++++++++++++++++++
 src/cntlr.h         | 22 ++++++++++++++++++++++
 src/config.c        | 22 ++++++++++++++++++++++
 src/config.h        | 22 ++++++++++++++++++++++
 src/debug.c         | 22 ++++++++++++++++++++++
 src/debug.h         | 22 ++++++++++++++++++++++
 src/default_rules.c | 22 ++++++++++++++++++++++
 src/default_rules.h | 22 ++++++++++++++++++++++
 src/list_sort.c     | 21 +++++++++++++++++++++
 src/main.c          |  5 ++---
 src/rules.c         | 22 ++++++++++++++++++++++
 src/rules.h         | 22 ++++++++++++++++++++++
 src/utils.c         | 22 ++++++++++++++++++++++
 src/utils.h         | 22 ++++++++++++++++++++++
 18 files changed, 356 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-09-05 14:10:17 +02:00
Anjan Chanda
61a0d748c5 Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* cb55e6c add .gitgnore file
* bd0ef6c allow scanresults upto 256 entries
-------------------------------------------------------------------------------
commit cb55e6ce18dffe1bb5cd3ace8b39c3b1a9a60e62
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-31 09:38:47 +0200

    add .gitgnore file

Base directory -> /
 .gitignore | 12 ++++++++++++
 1 file changed, 12 insertions(+)
-------------------------------------------------------------------------------
commit bd0ef6ca797bdc5e203ece7e49b8ad591cbddfb8
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-27 13:53:21 +0200

    allow scanresults upto 256 entries

Base directory -> /
 wifimngr.c | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2018-09-05 10:18:35 +02:00
Anjan Chanda
21215a266c Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* 9013a57 add .gitignore file
-------------------------------------------------------------------------------
commit 9013a57cb78f7346e3636d1ff101a74c321cd4c3
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-31 09:41:51 +0200

    add .gitignore file

Base directory -> /
 .gitignore | 13 +++++++++++++
 1 file changed, 13 insertions(+)
-------------------------------------------------------------------------------
2018-09-05 10:17:42 +02:00
Anjan Chanda
85b70ccab8 Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* f1c44c6 improve sta steering verdict for rssi
* 1dcf740 add legacy steering config options
* 0d3a811 get tx/rx stats for stas
* d80860b add .gitignore file
* 1c0b539 fix netif config and add debug prints
* c5b8a01 implement legacy AP steering for STAs
* 43b0e52 replace fprintfs with dbg prints
* f945d69 skip to next rule if sta's rssi above threshold
* 26e6250 handle controller initiated steer opportunity
* b67c6d8 implement wifi.agent's steer ubus method
-------------------------------------------------------------------------------
commit f1c44c63060eeb813d0dd7d38809fea1ffa81392
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-04 12:48:43 +0200

    improve sta steering verdict for rssi

Base directory -> /
 src/default_rules.c | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
commit 1dcf7401919d94fa52594d5a536b528a490d5b12
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-04 12:16:06 +0200

    add legacy steering config options

Base directory -> /
 src/agent.c  | 6 ++++--
 src/config.c | 2 ++
 src/config.h | 5 +++++
 3 files changed, 11 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0d3a8119f4715af35265641c95659250b7103086
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-03 09:55:36 +0200

    get tx/rx stats for stas

Base directory -> /
 src/agent.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit d80860b59b34449c94a02339937dd697bd6d2b7d
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-29 09:10:07 +0200

    add .gitignore file

Base directory -> /
 .gitignore | 12 ++++++++++++
 1 file changed, 12 insertions(+)
-------------------------------------------------------------------------------
commit 1c0b5390a3829648af5cef0cc7b05affd7f21d33
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-28 16:38:59 +0200

    fix netif config and add debug prints

Base directory -> /
 src/agent.c         | 12 ++++++++++--
 src/config.c        |  2 ++
 src/default_rules.c |  4 +++-
 3 files changed, 15 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit c5b8a019fc1c9abc0f984d7569d6e6e376231722
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-28 12:10:12 +0200

    implement legacy AP steering for STAs

Base directory -> /
 src/agent.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 src/agent.h |  8 ++++++-
 2 files changed, 69 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 43b0e52240ec4aac94f2248c7bf5a54387aa0f29
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-21 13:56:19 +0200

    replace fprintfs with dbg prints

Base directory -> /
 src/agent_ubus.c | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit f945d69655c4b881cef78b1243a7af14127a5d98
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-21 13:12:52 +0200

    skip to next rule if sta's rssi above threshold

Base directory -> /
 src/default_rules.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 26e6250337f3aee4ec86998529972d14380ef221
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-21 13:11:57 +0200

    handle controller initiated steer opportunity

Base directory -> /
 src/agent.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++-------------
 src/agent.h |   7 +++-
 2 files changed, 88 insertions(+), 24 deletions(-)
-------------------------------------------------------------------------------
commit b67c6d89a2d9af698e88c540c9e370b58767a81c
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-20 15:13:34 +0200

    implement wifi.agent's steer ubus method

Base directory -> /
 src/agent.c      | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/agent.h      |  15 +++++++-
 src/agent_ubus.c |  30 +++++++++++----
 3 files changed, 148 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2018-09-05 10:16:49 +02:00
Sukru Senli
4e9fb2d798 icwmp-4.0-2018-09-03: fix STUN UDPConnectionRequestAddress bug 2018-09-04 15:32:39 +02:00
Kenneth Johansson
3ca325dfec add grx intel target. 2018-09-03 15:28:09 +02:00
Sukru Senli
49f20de98d icwmp: copy over correct config file 2018-09-03 11:11:44 +02:00
Sachin Singla
8a57b4919d change package name to ifbt 2018-08-31 14:59:04 +02:00
Sachin Singla
4cf87d31c4 fix build issues in fbt package 2018-08-29 10:39:29 +02:00
Sukru Senli
e1be039861 icwmp-4.0-2018-08-23 2018-08-24 13:09:44 +02:00
Sukru Senli
1f7018969b owsd: revert ubusx_acl support 2018-08-24 12:11:21 +02:00
Omar Kallel
1d94473d81 icwmp-4.0-2018-08-16: STUN support 2018-08-20 11:16:17 +02:00
Anjan Chanda
6f7628d51b Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 1451268 bound rssi array to ANT_MAX
-------------------------------------------------------------------------------
commit 1451268ba941b707cf90a650f2c488086f152cfc
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-17 13:23:33 +0200

    bound rssi array to ANT_MAX

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-08-17 13:51:46 +02:00
Anjan Chanda
54b170cae6 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* b1eedba libwifi: mtk: implement API get_bss_info()
* 7a8a38a libwifi: bcm: implement API get_bss_info()
* 6b2a3ea libwifi: add new API wifi_get_bss_info()
-------------------------------------------------------------------------------
commit b1eedba52dc453f51dc8d76f43912a64df5bdd92
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-17 13:26:21 +0200

    libwifi: mtk: implement API get_bss_info()

Base directory -> /
 libwifi/mtk.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
-------------------------------------------------------------------------------
commit 7a8a38a00912af71b4065fd9c9398ad3eacf0698
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-16 15:56:05 +0200

    libwifi: bcm: implement API get_bss_info()

Base directory -> /
 libwifi/bcm.c      | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/broadcom.h |  15 +++++++
 2 files changed, 134 insertions(+)
-------------------------------------------------------------------------------
commit 6b2a3eac26af6d2c1d2a9ebe7bac673c151de666
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-16 15:54:44 +0200

    libwifi: add new API wifi_get_bss_info()

Base directory -> /
 libwifi/wifi.c | 10 ++++++++++
 libwifi/wifi.h | 12 ++++++++++++
 2 files changed, 22 insertions(+)
-------------------------------------------------------------------------------
2018-08-17 13:50:21 +02:00
Anjan Chanda
bfe328734b Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 5d72d7d improve signal handling and reload logic
-------------------------------------------------------------------------------
commit 5d72d7d47c323e40299d8caeb79d86efcb555575
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-15 15:30:50 +0200

    improve signal handling and reload logic

Base directory -> /
 src/agent.c | 47 ++++++++++++++++++++++++++++++++++++-----------
 src/agent.h |  1 +
 2 files changed, 37 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
2018-08-15 15:46:27 +02:00
Amin Ben Ramdhane
7e696ef816 Ticket refs #14599: SDX810-AP: Unable to manage SDX810-AP from ACS server when it is connected via NAT Gateway(SDX-810RG)(complement-3) 2018-08-15 13:49:08 +02:00
Anjan Chanda
57b2e7d657 Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 010f252 swap to fix exclude-list stas
* 9c69359 cleanup debug prints
* 85fa418 debug function to dump agent's config
* 633a681 load config from uci configs
* 47cca3a list_flush() to delete all list entries
-------------------------------------------------------------------------------
commit 010f252203a88187bdaf4e4e381a4f5ae1c4ba83
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-14 15:26:40 +0200

    swap to fix exclude-list stas

Base directory -> /
 src/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 9c6935900ab91d48c6a54dba88517331e3dfe37b
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-14 15:10:43 +0200

    cleanup debug prints

Base directory -> /
 src/agent.c         |  4 ++--
 src/config.c        | 36 +++++++++++++++++-------------------
 src/default_rules.c | 23 ++---------------------
 3 files changed, 21 insertions(+), 42 deletions(-)
-------------------------------------------------------------------------------
commit 85fa4187d6c761170071d74074ba4aae487ab822
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-14 14:16:58 +0200

    debug function to dump agent's config

Base directory -> /
 src/agent.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 633a681b08feeff18f418018c84b25e81c937583
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-14 14:15:55 +0200

    load config from uci configs

Base directory -> /
 src/config.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/config.h |  18 ++++++----
 2 files changed, 123 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 47cca3a13804d3ad61f91a143a6526d2785b32ae
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-14 14:14:50 +0200

    list_flush() to delete all list entries

Base directory -> /
 src/utils.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2018-08-15 10:40:00 +02:00
Anjan Chanda
1ed9f8bee4 wifilife-1.0.1 - Initial 2018-08-14 11:03:20 +02:00
Anjan Chanda
801f286ea5 Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* ae20fe7 fix corruption in hwmodes array
* c89b859 report bssload in scan results
* 011e063 'stas' method show for a specific sta too
-------------------------------------------------------------------------------
commit ae20fe7456ef66d55035efbd0f16bae965371d7e
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-09 16:47:54 +0200

    fix corruption in hwmodes array

Base directory -> /
 wifimngr.c | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit c89b859803c28efae9660b5d06bec119c18ecf77
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-03 15:44:20 +0200

    report bssload in scan results

Base directory -> /
 wifimngr.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit 011e06341ab5c242711abc47975dfc51cba9c229
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-07-13 11:25:59 +0200

    'stas' method show for a specific sta too

Base directory -> /
 utils.h    |  8 ++++----
 wifimngr.c | 50 ++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 44 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
2018-08-10 10:54:28 +02:00
Anjan Chanda
75a44fc397 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* e0eac3f libwifi: bcm: return enhanced scan results with bssload info
* d498f94 libwifi: mtk: return enhanced scan results with bssload info
* 0daa1a2 libwifi: add load and rssi info in bss struct
* 85b21eb libwifi: mtk: fallback to basic if enhanced stainfo unavailable
-------------------------------------------------------------------------------
commit e0eac3f845f78e1e16c14ba597d9232f190e7188
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-07 10:44:17 +0200

    libwifi: bcm: return enhanced scan results with bssload info

Base directory -> /
 libwifi/bcm.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
-------------------------------------------------------------------------------
commit d498f94c9709853d70bc2282a8ddfc64585ca9f1
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-03 15:40:27 +0200

    libwifi: mtk: return enhanced scan results with bssload info

Base directory -> /
 libwifi/mtk.c | 44 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 0daa1a2165a02a953857d6a8047bf76c980aefcc
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-08-03 15:39:13 +0200

    libwifi: add load and rssi info in bss struct

Base directory -> /
 libwifi/wifi.h | 9 +++++++++
 1 file changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 85b21eb1a220934aa56c67c9c7c59b6f8722dc46
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-07-13 11:14:53 +0200

    libwifi: mtk: fallback to basic if enhanced stainfo unavailable

Base directory -> /
 libwifi/mtk.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-08-10 10:53:53 +02:00
Ionuț-Alex Oprea
9d501b2185 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 372743e Revert "use mac as ubusx event prefix refs #15472"
-------------------------------------------------------------------------------
commit 372743e4c905c9d51988742442b375f0b2bab8db
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-25 16:51:46 +0200

    Revert "use mac as ubusx event prefix refs #15472"

    This reverts commit ddaaafa5cd5a6b4fbeb554afd03e982559ceab88.

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-07-25 17:02:22 +02:00
Ionuț-Alex Oprea
08c0aae9a5 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* ddaaafa use mac as ubusx event prefix refs #15472
* 1c99f70 use mac as ubusx object prefix refs #15472
* 5f2da35 add cmdline parameter to control the ubusx prefix type refs #15472
* db5477b wsubus: match origin case insensitively refs #15501
* 19a429e prepare for: ubusx object prefix change from ip to mac refs #15472
-------------------------------------------------------------------------------
commit ddaaafa5cd5a6b4fbeb554afd03e982559ceab88
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:41:15 +0200

    use mac as ubusx event prefix refs #15472

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 1c99f70271531871468ebe538b516152092c9d4f
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:29:14 +0200

    use mac as ubusx object prefix refs #15472

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5f2da3522ceb95c44f200d6ffa24d62eb31d0fed
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:19:12 +0200

    add cmdline parameter to control the ubusx prefix type refs #15472

Base directory -> /
 src/local_stub.c    | 11 +++++++++++
 src/main.c          |  9 +++++++++
 src/wsubus_client.h |  1 +
 3 files changed, 21 insertions(+)
-------------------------------------------------------------------------------
commit db5477ba0ef4596b4b68c73a16c042f6d8400474
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-07-23 14:25:47 +0200

    wsubus: match origin case insensitively refs #15501

Base directory -> /
 src/wsubus.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 19a429e78c025c03ec11fb20229c389e453a8825
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-20 15:32:37 +0200

    prepare for: ubusx object prefix change from ip to mac refs #15472

    	The ubus objects that belong to other routers and are published
    through ubusx have a prefix to identify the remote router.
    This is normally the ip, for example:
    	192.168.1.201/router.system
    This commit adds a function that can change this prefix to the
    corresponding mac(as seen in the dhcp leases), for example:
    	06:22:07:67:75:9a/router.system

    	Note that this commit does not enable this functionality,
    only adds it.

Base directory -> /
 src/local_stub.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
-------------------------------------------------------------------------------
2018-07-24 16:44:04 +02:00
Ionuț-Alex Oprea
45dd7acb3d owsd: use mac as ubusx object prefix refs #15472 2018-07-24 16:43:19 +02:00
Sukru Senli
2d561d5f4a icwmp-4.0-2018-07-16 2018-07-16 13:08:09 +02:00
Anjan Chanda
78196d9d1e Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 29ac0e0 format neighbor-list to array type
* bd40818 show maxrate and airtime
-------------------------------------------------------------------------------
commit 29ac0e0361e20d21559e0f2f585e5220f048b9e0
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-07-12 16:38:38 +0200

    format neighbor-list to array type

Base directory -> /
 wifimngr_wifi.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit bd40818b2986d6f17881f03e3c6897edf234e482
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-05 15:25:16 +0200

    show maxrate and airtime

Base directory -> /
 wifimngr.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2018-07-12 16:42:25 +02:00
Anjan Chanda
b46a240711 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* cf38a61 libdsl: bcm: remove testmode and add start/stop
* 12974eb libethernet: add copyright and license information
* de6f12c libdsl: remove dsl.h
* 83a6d83 libdsl: add copyright and license information
* e448dfd libwifi: add copyright and license information
* 8976f35 libwifi: mtk: support enhanced STA info
* 9d33e28 libethernet: add Makefile
-------------------------------------------------------------------------------
commit cf38a6165251709c0d60b33eafd7f32dcc0675d7
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-13 12:35:31 +0200

    libdsl: bcm: remove testmode and add start/stop

    implement start/stop dsl with a desired config. remove testmode code for now
    as it is unused. rename APIs: dsl_enable --> dsl_start
                dsl_disable --> dsl_stop
                dsl_get_info --> dsl_get_status.

Base directory -> /
 libdsl/bcm.c  | 304 ++++++++++++++++++++++++++++++++++++++++++----------------
 libdsl/dsl.c  |  28 ++----
 libdsl/xdsl.h |  48 ++++------
 3 files changed, 248 insertions(+), 132 deletions(-)
-------------------------------------------------------------------------------
commit 12974eb839c6bffb4ebdfdbf19cf4aced03a640c
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-12 12:54:40 +0200

    libethernet: add copyright and license information

Base directory -> /
 libethernet/bcm.c      | 21 +++++++++++++++++++++
 libethernet/ethernet.c | 21 +++++++++++++++++++++
 libethernet/ethernet.h | 21 +++++++++++++++++++++
 libethernet/ethsw.c    | 21 +++++++++++++++++++++
 4 files changed, 84 insertions(+)
-------------------------------------------------------------------------------
commit de6f12cec63de6e9137b058e84892fc6ddb7a4f5
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-12 12:45:40 +0200

    libdsl: remove dsl.h

Base directory -> /
 libdsl/dsl.h | 175 -----------------------------------------------------------
 1 file changed, 175 deletions(-)
-------------------------------------------------------------------------------
commit 83a6d837e7f76c11358edb38b4efac27bc77bafe
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-12 12:43:45 +0200

    libdsl: add copyright and license information

Base directory -> /
 libdsl/bcm.c  | 21 +++++++++++++++++++++
 libdsl/dsl.c  | 21 +++++++++++++++++++++
 libdsl/xdsl.h | 23 +++++++++++++++++++++++
 3 files changed, 65 insertions(+)
-------------------------------------------------------------------------------
commit e448dfd5a379d22dbbdf5abc50eefe80368cef15
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-12 12:36:04 +0200

    libwifi: add copyright and license information

Base directory -> /
 libwifi/bcm.c     | 21 +++++++++++++++++++++
 libwifi/chlist.c  | 26 ++++++++++++++++++++++++++
 libwifi/drivers.c | 21 +++++++++++++++++++++
 libwifi/drivers.h | 21 +++++++++++++++++++++
 libwifi/mtk.c     | 21 +++++++++++++++++++++
 libwifi/wifi.c    | 21 +++++++++++++++++++++
 libwifi/wifi.h    | 22 +++++++++++++++++++---
 7 files changed, 150 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 8976f3557283e4a19ae3fb57e9ad54ff1abca9c8
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-06-05 15:22:17 +0200

    libwifi: mtk: support enhanced STA info

Base directory -> /
 libwifi/mtk.c  | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 libwifi/wifi.h | 25 +++++++++++++++++++-----
 2 files changed, 79 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9d33e280070808d24d28945f5e38ccd2a303d4af
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-05-31 14:35:11 +0200

    libethernet: add Makefile

Base directory -> /
 libethernet/Makefile | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
-------------------------------------------------------------------------------
2018-07-12 16:41:49 +02:00
Ronny Nilsson
dfb4e5ba86 Erase unpopulated Dect lines from UCI to prevent them
from showing up in the web GUI.
refs #14641
2018-07-11 16:25:59 +02:00
Ronny Nilsson
d9936eb807 Voice: Bugfix in the special case handling of possibly unpopulated Dect HW. 2018-07-11 11:07:32 +02:00
Ronny Nilsson
59e7e0e273 Voice: simulated busy lines if Dect is missing.
If Dect has been disabled in run time we simulate
it as always being busy by going offhook forever.
2018-07-10 17:27:30 +02:00
Ronny Nilsson
8349283fcc Special case handling of possibly unpopulated Dect HW.
Asterisk always needs the raw true kernel values. Everybody
else should satisfy with faked zero number of Dect lines.
This is due to the kernel and libvoip always reports the
same number of lines, no matter if Dect is populated or not.
2018-07-05 16:59:18 +02:00
Reidar Cederqvist
a09e05f356 tptest: change port of referens.sth.ip-performance.se to 1641 refs #15422 2018-07-05 12:01:45 +02:00
Ronny Nilsson
8f5315532b Only start dect daemon if the board has had dect populated by factory. 2018-07-03 15:55:40 +02:00
Reidar Cederqvist
aab1311df9 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* cb4e05c ipping_launch: round result values to be unsigned ints refs #15385 refs #14153
-------------------------------------------------------------------------------
commit cb4e05c74369b1eddc93f55a3c59ff3337b04af7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-06-28 14:30:27 +0200

    ipping_launch: round result values to be unsigned ints refs #15385 refs
    #14153

Base directory -> /
 scripts/functions/ipping_launch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2018-06-28 15:16:04 +02:00
Reidar Cederqvist
205c3e04ff icwmp: fix hotplug iface script to check for netmode-conf pid file refs #15348 2018-06-28 11:52:45 +02:00
Reidar Cederqvist
f5c49c8a6e inteno-netmodes: change touching done_file to having a .pid file refs #15348 2018-06-28 11:52:45 +02:00
Benjamin Larsson
b6bb626f2b script: add annexconfig script for selection of dsl annex 2018-06-26 10:26:19 +02:00
Sukru Senli
c574df203d icwmp: configurable vendor prefix support 2018-06-21 14:50:23 +02:00
Omar Kallel
697f71b9a9 Ticket refs #15314: TR-069: make the introduction of vendor specific parameter prefix configurable 2018-06-21 11:14:14 +01:00
Sukru Senli
dec6ee1fcb icwmp-4.0-2018-06-21 2018-06-21 10:34:08 +02:00
Sukru Senli
bf7b0f322a icwmp-4.0-2018-06-18 2018-06-18 15:46:16 +02:00
Ke Hu
eba462998f eg200 support 2018-06-18 10:24:29 +02:00
Benjamin Larsson
a6ac6ad76d watchdog: fix running on new 4.1 kernel 2018-06-15 15:48:13 +02:00
Sukru Senli
082a0160a2 imonitor: default rule is non matching 2018-06-15 14:04:40 +02:00
Sukru Senli
cb965fd0a3 icwmp-4.0-2018-06-14 2018-06-15 14:03:20 +02:00
Sukru Senli
d9ed6113f3 imonitor: by default have no rules 2018-06-15 12:01:11 +02:00
Reidar Cederqvist
b517470c4a inteno-netmodes: use arping instead of ping to verify connection to master refs #15159 2018-06-14 15:18:51 +02:00
Sukru Senli
6b73d03a3c icwmp-4.0-2018-06-13: CPU and memory status via TR069 2018-06-14 14:50:03 +02:00
Ionuț-Alex Oprea
4c491044b6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 3f6f5e5 Merge branch 'processes' into devel refs #14911
* 577c1cc remove unused variables
* 4671b7e fix variable types
* 8197d37 proper error check for asprintf and fscanf
* da1eac1 remove unused variable fstat
* 113c20c use a single place for adding the values to the blobmsg
* b8816fe fix coding style according to checkpatch.pl
* 7ffd38e Add priority and cputime to ubus router.system processes
-------------------------------------------------------------------------------
commit 3f6f5e56ebd11862c0255a05e733f7fe08e1ceb0
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 16:18:51 +0200

    Merge branch 'processes' into devel refs #14911

Base directory -> /
 system.c | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 577c1cc78d3eeb062b4374e5b9837e34b1c0cfcd
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 16:11:38 +0200

    remove unused variables

Base directory -> /
 system.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 4671b7e0fefc30040163e24dc93ef7431fc4fc11
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 16:01:56 +0200

    fix variable types

Base directory -> /
 system.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 8197d375cf4fc6fc16aaf0b098acfbfe2847f550
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 14:57:22 +0200

    proper error check for asprintf and fscanf

Base directory -> /
 system.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit da1eac1b23f7837c9d9ac7b0afe0feb7ec583bdb
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 14:42:46 +0200

    remove unused variable fstat

Base directory -> /
 system.c | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
commit 113c20cba53c9272538e4d883ce759b0e0a01c2e
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 14:41:12 +0200

    use a single place for adding the values to the blobmsg

Base directory -> /
 system.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit b8816fee3bf0f0ed2db3fd5147049345887b8e01
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-13 14:27:03 +0200

    fix coding style according to checkpatch.pl

Base directory -> /
 system.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 7ffd38eec42ece3e8f4c86105930e304f5ed7f72
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-06-13 12:02:32 +0100

    Add priority and cputime to ubus router.system processes

Base directory -> /
 system.c | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-06-13 16:25:22 +02:00
Sukru Senli
8febdc5117 owsd: fix the copyright header in the Makefile 2018-06-13 13:30:33 +02:00
Reidar Cederqvist
e379b9bbf6 inteno-netmodes: trigger a reload of icwmp hotplug iface script 2018-06-12 10:59:03 +02:00
Reidar Cederqvist
57bab15116 icwmp & inteno-netmodes: dont reload icwmp if netmode-conf is running 2018-06-12 10:59:03 +02:00
Reidar Cederqvist
336285d438 icwmp: fix hotplug iface script (check device and restart) 2018-06-12 10:59:03 +02:00
Sukru Senli
951d37b3ff icwmp-4.0-2018-06-11 2018-06-12 10:19:53 +02:00
Sukru Senli
69137bfded iup: set option 43 url to cwmp config refs #15261 2018-06-12 10:17:34 +02:00
Kent Ekholm
05b545c2c5 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* a58b69a Added handling of congestion dial tone.
-------------------------------------------------------------------------------
commit a58b69aea2b51e0da0b9f74f692dbe53121ac800
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-06-11 19:52:20 +0200

    Added handling of congestion dial tone.

    Ref: #14703

Base directory -> /
 src/line.c | 9 +++++++--
 src/ubus.c | 2 ++
 2 files changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-06-11 20:23:22 +02:00
Benjamin Larsson
62b39e68a4 add eg200 to genconfig 2018-06-11 08:59:07 +02:00
Sukru Senli
1a38055019 iop: select openssl as default curl ssl library instead of mbedtls 2018-06-08 11:48:41 +02:00
Sukru Senli
8ca2803e92 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* df6a21b Ticket refs #14844: Software Development
-------------------------------------------------------------------------------
commit df6a21b52429d7c2c0455b9415b886cb86b4328d
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-06-07 13:44:57 +0100

    Ticket refs #14844: Software Development

Base directory -> /
 dm/dmtree/tr098/landevice.c        |  18 +++--
 dm/dmtree/tr098/layer_2_bridging.c |  74 +++++++-----------
 dm/dmtree/tr098/wandevice.c        | 149 +++++++++++--------------------------
 dm/dmtree/tr181/bridging.c         | 132 +++++++++++++-------------------
 dm/dmtree/tr181/ethernet.c         |   5 +-
 5 files changed, 135 insertions(+), 243 deletions(-)
-------------------------------------------------------------------------------
2018-06-07 15:50:04 +02:00
Ionuț-Alex Oprea
86dd2c0994 owsd config: add ubusx_acl example 2018-06-07 14:23:00 +02:00
Ronny Nilsson
167dfe751c Voice: removed obsolete config option. 2018-06-07 11:35:52 +02:00
Ronny Nilsson
b3e142ee35 Dect: describing comment for config. 2018-06-07 11:31:54 +02:00
Sukru Senli
eec691dbeb Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* c8a9e8f Ticket refs #15238: Fixing some issues in XMPP object
* 69777aa Ticket refs #15148: icwmp http issue introduced by curl >=7.54.0
-------------------------------------------------------------------------------
commit c8a9e8fac9c473e36bd7b0f567fafc2cd6b74d75
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-06-05 21:12:58 +0100

    Ticket refs #15238: Fixing some issues in XMPP object

Base directory -> /
 config.c                | 12 +++++++-----
 config/cwmp             |  4 ++++
 dm/dmtree/common/xmpp.c | 33 +++++++++++++++++++++++++++------
 3 files changed, 38 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 69777aae9b30aaa3b4e0ca761d752686681da5e3
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-06-05 15:38:10 +0100

    Ticket refs #15148: icwmp http issue introduced by curl >=7.54.0

Base directory -> /
 http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-06-07 10:57:21 +02:00
Ronny Nilsson
7483d42f14 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 3f5c494 Indentation cleanup
* 7f4db9b Optimaly we could query the kernel for line numbers and corresponding timeslots. But Broadcom provide not support for it and thus we need to hardwaire it.
-------------------------------------------------------------------------------
commit 3f5c49418e7ac1e190c33853617abc66d155ed28
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-05-29 16:28:33 +0200

    Indentation cleanup

Base directory -> /
 src/ubus.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f4db9b15521e20ab5f57b77fd875d27d2409151
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-05-29 16:28:06 +0200

    Optimaly we could query the kernel for line numbers and corresponding
    timeslots. But Broadcom provide not support for it and thus we need to
    hardwaire it.

Base directory -> /
 src/external_call.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
2018-06-06 12:28:28 +02:00
Ronny Nilsson
79efb93c70 Voice: starting two calls simultaneously gave an error message. 2018-06-05 16:46:30 +02:00
Ionuț-Alex Oprea
1d78413c74 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
*   f0147e7 Merge branch 'ubusx_acl' into devel
|\
| * d13aeee fix checkpatch.pl warnings and errors
| * 6eac202 replace avl_strcmp with ubus_object_path_compare: proper comparison for object that end with *
| * d092c9e replace printf with lwsl_notice
| * ce1b001 fix compile warnings: type cast
| * a58a5de implement ubusx_acl__add_object to the avl tree
| * b45d846 ubusx_acl: if option is not used, allow all objects bu default
| * 6a4240c add include ubusx_acl.h in main.c
| * 18450f3 add ubusx_acl__add_objects method
| * 60158a8 add the -X option: ubusx acl
| * 2d98397 add the avl tree to keep the object names
| * c3afdb3 add ubusx_acl to makefile
| * 292b619 initial add ubusx_acl files
| * 7f7752e call the ubusx_acl methods
|/
* aed9de1 Create new vhost on -i if iface already defined
-------------------------------------------------------------------------------
commit f0147e754b1018ef51b96ec21f40b921a30e6a6e
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 16:15:32 +0200

    Merge branch 'ubusx_acl' into devel

Base directory -> /
 CMakeLists.txt      |   1 +
 src/main.c          |  11 ++++
 src/rpc_list_ubus.h |   6 ++
 src/ubusx_acl.c     | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ubusx_acl.h     |  36 ++++++++++++
 5 files changed, 213 insertions(+)
-------------------------------------------------------------------------------
commit d13aeee31979200f801e203dda58c0c7624ede9e
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 16:13:17 +0200

    fix checkpatch.pl warnings and errors

Base directory -> /
 src/main.c          |  2 +-
 src/rpc_list_ubus.h |  5 +++--
 src/ubusx_acl.c     | 25 +++++++++++++------------
 src/ubusx_acl.h     |  4 ++--
 4 files changed, 19 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 6eac202a77a9f3d2288e37ad82624075507c03cf
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 15:59:40 +0200

    replace avl_strcmp with ubus_object_path_compare: proper comparison for
    object that end with *

Base directory -> /
 src/ubusx_acl.c | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit d092c9e1832c5c225adc708f027811319a06486a
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 15:27:58 +0200

    replace printf with lwsl_notice

Base directory -> /
 src/ubusx_acl.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit ce1b00135b25d8020813830df52c70aff674944a
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 13:54:53 +0200

    fix compile warnings: type cast

Base directory -> /
 src/ubusx_acl.c | 6 +++---
 src/ubusx_acl.h | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit a58a5de270f1cf360f894fad875cba359ebe3fa3
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 13:49:43 +0200

    implement ubusx_acl__add_object to the avl tree

Base directory -> /
 src/ubusx_acl.c | 28 ++++++++++++++++++++++++----
 src/ubusx_acl.h |  2 +-
 2 files changed, 25 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit b45d84696d8a77ede69c0176fa12c02b2fbf0890
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 12:00:44 +0200

    ubusx_acl: if option is not used, allow all objects bu default

Base directory -> /
 src/ubusx_acl.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 6a4240c5c9b9eb74ac0c2b864db1ffbd01b7d0b1
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 11:35:41 +0200

    add include ubusx_acl.h in main.c

Base directory -> /
 src/main.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 18450f3548a8b9f71c597ab73b544bfa144a552c
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 11:31:13 +0200

    add ubusx_acl__add_objects method

Base directory -> /
 src/main.c      |  1 +
 src/ubusx_acl.c | 18 ++++++++++++++++++
 src/ubusx_acl.h |  1 +
 3 files changed, 20 insertions(+)
-------------------------------------------------------------------------------
commit 60158a8c5a14a0dc18eb94d55584cbf174f57b5f
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-05 10:26:23 +0200

    add the -X option: ubusx acl

Base directory -> /
 src/main.c | 9 +++++++++
 1 file changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 2d98397f786954935946ceec29550e29a6e6e445
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-06-04 15:15:36 +0200

    add the avl tree to keep the object names

Base directory -> /
 src/ubusx_acl.c | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c3afdb3a6f5df1c7b8f23eafa7e86455a71851c5
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-30 16:57:42 +0200

    add ubusx_acl to makefile

Base directory -> /
 CMakeLists.txt  | 1 +
 src/ubusx_acl.c | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 292b61900a1e6b73d1fb6b205f627b69fb5c1b93
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-30 16:32:30 +0200

    initial add ubusx_acl files

Base directory -> /
 src/ubusx_acl.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ubusx_acl.h | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)
-------------------------------------------------------------------------------
commit 7f7752eba0f65ac53cbdacf44c416a989e768f7d
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-30 16:30:54 +0200

    call the ubusx_acl methods

Base directory -> /
 src/rpc_list_ubus.h | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit aed9de16f49d94bd5abf10a3038fd9a1712cec19
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-02-27 11:27:44 +0100

    Create new vhost on -i if iface already defined

    New lws virtual host will now be created if option -i is specified multiple
    times on the same port(vhost). New vhost will have the same port and label
    as previous vhost.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/main.c | 75 +++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 52 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
2018-06-05 16:26:26 +02:00
Ionuț-Alex Oprea
a9754642bd add "list ubusx_acl" option 2018-06-05 16:19:18 +02:00
Sukru Senli
c75d29f5e3 Update feed [ feed_inteno_packages ] package [ imonitor ]
-------------------------------------------------------------------------------
* 532f490 Fix nr_tests option to work correctly
-------------------------------------------------------------------------------
commit 532f4900862bcb45d8cd4bf37555fabda81750b6
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-06-04 10:13:44 +0200

    Fix nr_tests option to work correctly

    Adjust tests to work with the new nr_tests logic. Run format-check.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c                           | 102 +++++++++++++++-----------------
 src/uci_parser.c                        |   2 +-
 test/control.c                          |   4 +-
 test/data/uci_file_valid_execute_script |   2 +-
 test/monitor.c                          |  11 ++--
 5 files changed, 58 insertions(+), 63 deletions(-)
-------------------------------------------------------------------------------
2018-06-05 15:55:24 +02:00
Sukru Senli
ae9188df9b icwmp-4.0-2018-06-05 2018-06-05 13:56:48 +02:00
Anjan Chanda
79ff914720 Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* a9b2632 add more 'wifi' methods
-------------------------------------------------------------------------------
commit a9b2632692e3a366947cf76a64cafa191e2461a3
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-05-29 15:30:39 +0200

    add more 'wifi' methods

     radios (wifi radio information)
    status (wifi interface status)
    stas (detailed STA info)
    assoclist (association list)
    autochannel (trigger autochannel selection)

Base directory -> /
 wifimngr.c | 503 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 491 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2018-05-29 15:41:33 +02:00
Anjan Chanda
82df3da1b0 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* 1b86356 libwifi: add chlist and drvlist files
-------------------------------------------------------------------------------
commit 1b863569ba4ed64d7fdbc4e05d4abf6597aa257e
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-05-28 16:34:47 +0200

    libwifi: add chlist and drvlist files

Base directory -> /
 libwifi/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-05-29 09:07:48 +02:00
Anjan Chanda
97ae62b7e6 wifimngr-1.0.0: provides wifi ubus object 2018-05-29 09:04:46 +02:00
Anjan Chanda
fef8f7118a iop-lla-libs: add dependency libopenssl 2018-05-28 17:05:08 +02:00
Ronny Nilsson
95bc6100aa Dect: fix long caller numbers couldn't be displayed. 2018-05-28 16:58:16 +02:00
Ronny Nilsson
8c89627626 Dect: phone call disconnect works too. 2018-05-28 16:56:40 +02:00
Sukru Senli
736e91655f icwmp-4.0-2018-05-23 2018-05-28 16:52:16 +02:00
Ionuț-Alex Oprea
d15520516a Update feed [ feed_inteno_packages ] package [ imonitor ] 2018-05-28 12:47:52 +02:00
Anjan Chanda
55465fd4a6 iop-lla-libs: remove soft linking to non-existent lib version 2018-05-28 11:08:22 +02:00
Anjan Chanda
a1e16a3b2e iop-lla-libs-1.0.0 2018-05-28 10:05:42 +02:00
Ronny Nilsson
d84783f886 Dect: fix name clashing on MIPS. 2018-05-25 15:42:02 +02:00
Ronny Nilsson
33af5c4df3 Dect: endptmngr has got Dect support 2018-05-25 08:10:33 +02:00
Erik Horemans
f06747ebeb new ice-client 5.1.1 2018-05-24 16:37:59 +02:00
Ionuț-Alex Oprea
41565403d4 inteno-netmodes: netmode: change verbose level from debug to warning refs #15087 2018-05-24 15:06:15 +02:00
Reidar Cederqvist
0ddbe68676 iop: remove p910nd from inteno default software 2018-05-24 10:13:54 +02:00
Reidar Cederqvist
bbb3f94335 voice-client: fix security issue refs #14962 2018-05-18 17:11:56 +02:00
Ionuț-Alex Oprea
108e0e3bf5 Update feed [ feed_inteno_packages ] package [ imonitor ]
-------------------------------------------------------------------------------
* 297c594 Interval option now supports decimal number
* e74f168 Implemented string_regex matching option
* 387afe6 Improve monitor tests to be more robust
* 28c2870 Change internal handling of match options
* 844f293 Rearrange #include locations
* e3a5d16 Rename a test config file
* d70af8d Updated Dockerfile to build consistent environment
* 2108f29 allow OpenSSH login without password and set port map
* c66c1fe add sudo when running make test or make test_coverage
* 0b4240a change exec call in README.md
* 7d6adde change Dockerfile exec label
* da47c38 add strace
* 3f7f773 implement string_not_match
* ff92f92 bump to newest CMocka 1.1.1
* 265b43a configure user sudo
* 650549a write 'Development Workflow' chapter
* 2cf5f51 test that a process is running after the execute is called
* 7c356d6 add a note regarding usage of make format with root user
* 807641d add NetBeans IDE project folder to ignore list
* 4f30881 format the code using project code style
* 8140f7b map host user to a container
* 54180ab integrate automatic code style check and correction
* 96e49c5 add missing static keyword
* d2488f2 use system call insted of ubus for execute
* 187d88f Unify whitespaces across files
* 425c16a add OpenSSH server into Dockerfile
-------------------------------------------------------------------------------
commit 297c5945dcbc22a1504307ea658d7b43eb45d295
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-26 16:37:51 +0200

    Interval option now supports decimal number

    Changed the way interval option is parsed. Now there is a guard against
    negative and too large values. Some tests needed to be updated to work with
    this changes. Added parser tests for negative value and decimal value.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c                                      |  4 +-
 src/uci_parser.c                                   | 17 ++++--
 test/data/uci_file_invalid_negative_interval_value |  8 +++
 test/data/uci_file_valid_float_interval            |  8 +++
 test/monitor.c                                     | 26 ++++-----
 test/uci_parser.c                                  | 62 ++++++++++++++++++++--
 6 files changed, 103 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit e74f1684bf8d88aff29a2ecd00fa89529cd8a6d0
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-26 14:46:52 +0200

    Implemented string_regex matching option

    imonitor can now use regular expressions (POSIX ERE flavour) to match the
    pattern to the test output. Corresponding tests and readme updates are also
    included in this commit.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 README.md                                          |  30 ++--
 src/main.c                                         |   1 +
 src/monitor.c                                      |  25 ++-
 src/uci_parser.c                                   |   2 +-
 ..._file_invalid_both_string_match_and_regex_match |   9 ++
 ...valid_string_match_string_not_match_regex_match |  10 ++
 test/data/uci_file_valid_regex_match               |   8 +
 test/monitor.c                                     | 167 +++++++++++++++++++++
 test/uci_parser.c                                  |  61 ++++++++
 9 files changed, 295 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 387afe6b4ae748a7171027f6c95827753c3edeb8
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 12:31:24 +0100

    Improve monitor tests to be more robust

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 test/monitor.c | 254 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 217 insertions(+), 37 deletions(-)
-------------------------------------------------------------------------------
commit 28c28702cca84fbc10cc8171cdd5dc0af53b113e
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 10:19:31 +0100

    Change internal handling of match options

    Reworked how string_match and string_not_match options are handled
    internally. Also added beginning of support for regex matching.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c     | 73 +++++++++++++++++++++++--------------------
 src/monitor.h     |  5 +--
 src/uci_parser.c  | 93 +++++++++++++++++++++++++++++++++----------------------
 test/monitor.c    | 27 ++++++++++------
 test/uci_parser.c |  8 ++---
 5 files changed, 121 insertions(+), 85 deletions(-)
-------------------------------------------------------------------------------
commit 844f2937d19636e978d3dda939fb4a11c774013f
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 10:16:19 +0100

    Rearrange #include locations

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/control.h     | 18 ------------------
 src/monitor.c     |  1 -
 src/monitor.h     | 17 ++++++++++++++++-
 src/uci_parser.c  |  3 ++-
 src/uci_parser.h  |  2 +-
 test/uci_parser.c |  1 +
 6 files changed, 20 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit e3a5d16ad17c65a02a70e82a08262ca77be6e162
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 09:56:45 +0100

    Rename a test config file

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 .../data/uci_file_invalid_both_string_match_and_string_not_match | 9 +++++++++
 test/data/uci_file_valid_both_string_match_and_string_not_match  | 9 ---------
 test/uci_parser.c                                                | 2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit d70af8d33b81be91f92b67af3567cc5dbf1755ba
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 09:48:10 +0100

    Updated Dockerfile to build consistent environment

    Now checkouts a specific commit for uci, ubus and rpcd sources

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit 2108f29a50bfdf229ea3226634723e53e8e313ee
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-21 20:26:44 +0100

    allow OpenSSH login without password and set port map

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    | 3 ++-
 README.md     | 2 +-
 entrypoint.sh | 8 ++++++--
 3 files changed, 9 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit c66c1fe81d8726ad22acad0f2b33e1a634d7f834
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 17:56:25 +0100

    add sudo when running make test or make test_coverage

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 0b4240a8a00f759d0661766025b4fea8ad19003b
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 13:18:37 +0100

    change exec call in README.md

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7d6adde6329ff427b112b8124a6436b9de5a4789
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 10:55:16 +0100

    change Dockerfile exec label

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit da47c385520eb41c1d948e16689d2b14eda80a26
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 14:43:42 +0100

    add strace

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 3f7f773f5bb4eb460fa6329842e84824070f7ca8
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 14:25:04 +0100

    implement string_not_match

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 src/control.h                                      |  1 +
 src/monitor.c                                      | 57 ++++++++++++------
 src/uci_parser.c                                   | 42 ++++++++++---
 src/uci_parser.h                                   |  1 +
 ...le_valid_both_string_match_and_string_not_match |  9 +++
 test/data/uci_file_valid_string_not_match          |  8 +++
 test/monitor.c                                     | 68 +++++++++++++++++++++-
 test/uci_parser.c                                  | 46 +++++++++++++++
 8 files changed, 205 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
commit ff92f92b984240142b2b1ca917f2559eeeac2124
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 10:19:32 +0100

    bump to newest CMocka 1.1.1

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 265b43a7a5c5efe4ad1d24282736af84695cbc8d
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 10:04:38 +0100

    configure user sudo

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    | 1 +
 entrypoint.sh | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 650549a84cc5c0f64dfe3f2b7d2184130be292eb
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 14:54:44 +0100

    write 'Development Workflow' chapter

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 2cf5f51f2c8cd2071fbe5f5f20482f10b45ac7f9
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 10:01:17 +0100

    test that a process is running after the execute is called

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 test/control.c                           | 70 +++++++++++++++++++++++++++++++-
 test/data/uci_file_valid_execute_command |  8 ++++
 2 files changed, 77 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7c356d6ed1429d9260d7a8d88619b86d226dda4d
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 08:17:46 +0100

    add a note regarding usage of make format with root user

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 807641d76f22c1d3cf3d34838bc3de0a1cd3b09f
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:41:39 +0100

    add NetBeans IDE project folder to ignore list

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 4f308811022e8368d34f0c011ca255729f86783f
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:40:50 +0100

    format the code using project code style

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 src/debug.h       |  83 ++++++++++++-------
 src/main.c        |   4 +-
 src/monitor.c     |  56 +++++++------
 src/monitor.h     |   4 +-
 src/uci_parser.c  |  22 ++++--
 test/control.c    |  24 +++---
 test/monitor.c    | 168 +++++++++++++++++++++++----------------
 test/uci_parser.c | 233 +++++++++++++++++++++++++++++-------------------------
 8 files changed, 345 insertions(+), 249 deletions(-)
-------------------------------------------------------------------------------
commit 8140f7b753f8e7cc6d495557d19d3ae904135034
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:18:46 +0100

    map host user to a container

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    |  9 ++++++---
 README.md     |  2 +-
 entrypoint.sh | 11 +++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 54180ab6fbd84d1fb8ceb3846a9e4b8b5237d46b
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 12:02:22 +0100

    integrate automatic code style check and correction

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 .clang-format                       | 89 +++++++++++++++++++++++++++++++++++++
 CMakeLists.txt                      |  4 ++
 Dockerfile                          |  1 +
 README.md                           | 31 +++++++++++++
 cmake/modules/FindClangFormat.cmake | 33 ++++++++++++++
 cmake/modules/clang-format.cmake    | 37 +++++++++++++++
 6 files changed, 195 insertions(+)
-------------------------------------------------------------------------------
commit 96e49c55bae19c588c601877b87049e5a09e44cd
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-13 09:18:54 +0100

    add missing static keyword

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit d2488f2d5ebb85b5492895d28b771a61102a4f7e
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-13 09:18:23 +0100

    use system call insted of ubus for execute

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 187d88f345258672a1faf54a95415cfb2bca28e9
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-09 16:26:01 +0100

    Unify whitespaces across files

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/control.c    |  26 ++--
 src/control.h    |  20 ++--
 src/debug.h      |  40 +++----
 src/main.c       |  62 +++++-----
 src/monitor.c    | 354 +++++++++++++++++++++++++++----------------------------
 src/monitor.h    |   4 +-
 src/uci_parser.c |   6 +-
 src/uci_parser.h |   6 +-
 8 files changed, 259 insertions(+), 259 deletions(-)
-------------------------------------------------------------------------------
commit 425c16a82bd713dd97d9bac76b65ee5f06279dbb
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-08 13:29:40 +0100

    add OpenSSH server into Dockerfile

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile       | 10 ++++++++++
 supervisord.conf |  3 +++
 2 files changed, 13 insertions(+)
-------------------------------------------------------------------------------
2018-05-16 17:27:45 +02:00
Benjamin Larsson
1f48ceec47 Add " 2018-05-16 17:05:54 +02:00
Benjamin Larsson
485477a368 Generate latest symlink on the server for open consumer packages 2018-05-16 17:04:20 +02:00
Sukru Senli
0a5a30e17c iop: config: select imonitor and rulengd packages 2018-05-14 14:22:40 +02:00
Reidar Cederqvist
28eeb8fd3c inteno-netmodes: libexec script can't run scripts in background fixed by extra-script
by starting a script that starts netmode-conf in the background refs #14901
2018-05-14 10:02:38 +02:00
Erik Horemans
165538cc11 new ice-client 5.0.3-RC9 2018-05-07 17:10:37 +02:00
Ionuț-Alex Oprea
1d882b99aa Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* fbd7dcf netmode: config: config_compare_wet: fix band comparison refs #14918 refs #14919 refs #14920
* 81f444e netmode: config: config_compare_wet: log the change for the wet interface
* acf96c5 fix some text in comments
-------------------------------------------------------------------------------
commit fbd7dcfab03df19b3c32675940e0aee708c7cf75
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:17:55 +0200

    netmode: config: config_compare_wet: fix band comparison refs #14918 refs
    #14919 refs #14920

Base directory -> /
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 81f444ef9c914d49c2896229e205302d449ecc24
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:16:12 +0200

    netmode: config: config_compare_wet: log the change for the wet interface

Base directory -> /
 config.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit acf96c5272c763c355cda5f168de091f536b8ac7
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:14:02 +0200

    fix some text in comments

Base directory -> /
 config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-05-07 15:24:43 +02:00
Ionuț-Alex Oprea
8bb09e6767 iop: build_branch: add set -+x 2018-05-07 12:57:11 +02:00
Sukru Senli
f80cf53231 icwmp: Unable to discover CPE from ACS fix 2018-05-04 09:32:23 +02:00
Sukru Senli
c271d2fea6 icwmp-4.0-2018-05-02 2018-05-02 15:29:38 +02:00
Kent Ekholm
f2285030f9 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* cdef595 Added country settings for Croatia.
-------------------------------------------------------------------------------
commit cdef59501213d8846843a1c41662255d6bd1562a
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-04-20 11:06:38 +0200

    Added country settings for Croatia.

    Ref: #14703

Base directory -> /
 src/endpt.c | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-04-26 15:14:33 +02:00
Ionuț-Alex Oprea
072c2dc4ab netmode: add log message for netmode_get_ip_type function 2018-04-25 16:11:44 +02:00
Ionuț-Alex Oprea
6e0521962e hotplug net 80-repeater: improve log messages 2018-04-25 12:12:08 +02:00
Sukru Senli
252f960651 iup: adapt option 132 implementation to new network config 2018-04-25 08:26:27 +02:00
Ionuț-Alex Oprea
271c4a9a7a inteno-netmodes: improve logging messages 2018-04-23 17:00:06 +02:00
Sukru Senli
292fc18311 iop: configs: select busybox arping 2018-04-23 14:45:21 +02:00
Sukru Senli
8efd6f5207 peripheral_manager: ledctl with simplified API 2018-04-23 14:01:35 +02:00
Sukru Senli
be23fd6dc4 icwmp-4.0-2018-04-20 2018-04-20 16:24:42 +02:00
Sukru Senli
a538965656 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d3a77fa mediatek: use correct file for 5G ApCli interface
-------------------------------------------------------------------------------
commit d3a77faeadac7c7094fa084524d08e03c296bb56
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-04-19 16:52:26 +0200

    mediatek: use correct file for 5G ApCli interface

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-04-19 16:57:28 +02:00
Ionuț-Alex Oprea
62e6e41b86 iop: update_package: fix typos 2018-04-19 12:43:40 +02:00
Ionuț-Alex Oprea
398ebb5025 Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* e43701f zero-out the buffer before initializing it
-------------------------------------------------------------------------------
commit e43701f76ba2a8699df797d88fffc3895a3bfeb8
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-04-19 12:29:33 +0200

    zero-out the buffer before initializing it

Base directory -> /
 netmoded.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-04-19 12:40:35 +02:00
Ionuț-Alex Oprea
3b1fd5d4b5 iup: dhcp_option_relay: do not output to console 2018-04-17 16:18:18 +02:00
Ionuț-Alex Oprea
2e769a153c iup: add dhcp_option_relay refs #14666 2018-04-17 16:10:51 +02:00
Kent Ekholm
04e772ce31 Added indications for croatia. 2018-04-17 16:08:18 +02:00
Sukru Senli
2608ceb6f7 inteno-netmodes: testnet: log connection status when changed 2018-04-17 16:08:16 +02:00
Sukru Senli
dae658ecef owsd: do not install uci-default script 2018-04-17 16:08:13 +02:00
Kent Ekholm
445e56309a Added codes for Croatia. 2018-04-17 13:08:27 +02:00
Sukru Senli
b472992872 icwmp: fix SoftwareVersion parameter 2018-04-13 13:28:34 +02:00
Sukru Senli
568e9fb3e3 icwmp-4.0-2018-04-13 2018-04-13 09:20:32 +02:00
Sukru Senli
ad553e8e22 SDX810-RG: select CONFIG_TARGET_NO_DSL #14709 2018-04-12 14:51:06 +02:00
Sukru Senli
93ec60c75c icwmp-4.0-2018-04-09 2018-04-12 11:20:44 +02:00
Kenneth Johansson
91fe77784e iop ssh_sysupgrade: be verbose. 2018-04-10 17:37:43 +02:00
Ke Hu
f52e3a6d43 update uboot inteno version
if we upg uboot, env inteno version should be set
2018-04-09 17:22:17 +02:00
Kenneth Johansson
ad4bdf1cbe u-boot: new version to force update on all boards.
Force the u-boot version to include the actual build time. This is
needed for the "uboot_inteno_version" variable update to work in all
situations.
2018-04-09 16:01:41 +02:00
Erik Horemans
112bcd7856 new ice-client 5.0.3-RC5 2018-04-09 15:11:53 +02:00
Erik Horemans
cdaa3de08e new ice-client 5.0.3-RC2 2018-04-06 17:10:29 +02:00
Sukru Senli
7d9442cbb2 inteno-netmodes: reboot unless reboot is not set to 0 2018-04-05 11:01:05 +02:00
Ionuț-Alex Oprea
c0b299231d iop: build_branch_sysupgrade: do not run sysupgrade if build_branch fails 2018-04-04 17:14:06 +02:00
Sukru Senli
19f6370294 icwmp-4.0-2018-04-04 refs #14555 2018-04-04 11:37:47 +02:00
Sukru Senli
57cc779ebe Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 488440a icwmpd.init: uci get notification with -q option
-------------------------------------------------------------------------------
commit 488440ac21a91977afcb05043f97ebd3f493db57
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-29 09:58:06 +0200

    icwmpd.init: uci get notification with -q option

Base directory -> /
 init/icwmpd.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-29 09:58:29 +02:00
Sukru Senli
4db612a708 icwmpd: do not send notify for cwmp config change 2018-03-29 09:26:42 +02:00
Sukru Senli
3030e697b4 icwmp-4.0-2018-03-29 2018-03-29 09:11:56 +02:00
Reidar Cederqvist
41d8969cb5 iop: default config: update juci-plugin names to not include inteno ref #14556 2018-03-28 15:56:28 +02:00
Sukru Senli
68a0b57b89 inteno-netmodes: testnet: fix typo 2018-03-27 09:42:27 +02:00
Sukru Senli
dc1b5991ca inteno-netmodes: testnet: direct operstate check error to devnull 2018-03-23 21:48:16 +01:00
Sukru Senli
220d50e5a6 inteno-netmodes: testnet: disable access to wireless only if uplink is wifi wan refs #14531 2018-03-23 21:40:39 +01:00
Sukru Senli
dca064ff86 voice-client: show only the calls with account info in the call log refs #14164 2018-03-21 17:57:59 +01:00
Sukru Senli
1e0ca02fd3 Update feed [ feed_inteno_packages ] package [ rulengd ]
-------------------------------------------------------------------------------
* 99881f3 Removed unnecessary debug message
* f37f28d Fix support for multiple rules on same event
-------------------------------------------------------------------------------
commit 99881f39232154530ac129dc2109d78963017ad1
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-20 16:22:26 +0100

    Removed unnecessary debug message

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/ruleng_ubus.c | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
commit f37f28decf08926569a99e55f4c54a3822274f0f
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-20 13:47:41 +0100

    Fix support for multiple rules on same event

    Rulengd now executes configured methods for all matched rules

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/ruleng_ubus.c | 64 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 34 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
2018-03-21 15:27:53 +01:00
Sukru Senli
a415627888 icwmp-4.0-2018-03-21 2018-03-21 09:11:49 +01:00
Ke Hu
b59819d1c7 fix public lib
change from git to http
2018-03-19 10:50:28 +01:00
Sukru Senli
2c8aa1b16e inteno-netmodes: adapt netmodes configs to new vlan and dsl config way 2018-03-19 10:16:16 +01:00
Sukru Senli
ed56e666ec Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 11dd6f3 router.wireless: allow getting assoclist for a specific vif
-------------------------------------------------------------------------------
commit 11dd6f37554f87c767560b3d1d4eba2e2a4ed0ef
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-17 10:26:33 +0100

    router.wireless: allow getting assoclist for a specific vif

Base directory -> /
 wireless.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-03-17 10:28:01 +01:00
Sukru Senli
31972f6962 icwmp: add uci-defaults script to set reqopts 2018-03-16 17:11:03 +01:00
Sukru Senli
9124826b25 iup: add uci-default script to set reqopts 2018-03-16 17:06:58 +01:00
Ronny Nilsson
e9011a695d voice-client: Revert part of 6694e1975b
where I removed a bit to much.
2018-03-16 16:31:02 +01:00
Ronny Nilsson
eb827af331 voice-client: Reduce default set of codecs for SIP
peers. We try to have ALAW only everywhere due to
previously there has been unnecessary transcodings
in several places.
2018-03-16 16:28:21 +01:00
Hrvoje Varga
2adaa3ecf3 imonitor: add package
Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>
2018-03-16 13:42:16 +01:00
Sukru Senli
2ca35674da Update feed [ feed_inteno_packages ] package [ rulengd ]
-------------------------------------------------------------------------------
* 8285c86 Support multiple rules with same event type
* e1f9223 rulengd: update README
-------------------------------------------------------------------------------
commit 8285c86691a9af4d2e4644fffbfc25ff8a09f816
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-05 10:40:06 +0100

    Support multiple rules with same event type

    Multiple rules with with same event type will now be matched based on their
    event_data.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/ruleng_ubus.c | 53 +++++++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 28 deletions(-)
-------------------------------------------------------------------------------
commit e1f92234c2f278155888c8dce0348c3672ad0ca3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-02-22 10:52:55 +0100

    rulengd: update README

Base directory -> /
 README | 61 ++++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 44 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2018-03-16 13:39:55 +01:00
Sukru Senli
76cb04904f Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 532fe17 Ticket refs #14375: ACS shows "TimedOut Error" on performing "GetParameterValues" on SDX810-AP
-------------------------------------------------------------------------------
commit 532fe1757c09ceb058c8bfb841a935bd0a73c66d
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-15 18:30:22 +0100

    Ticket refs #14375: ACS shows "TimedOut Error" on performing
    "GetParameterValues" on SDX810-AP

Base directory -> /
 dm/dmcommon.c              | 12 +++++---
 dm/dmtree/tr181/bridging.c | 73 ++++++++++++++++++++++++++--------------------
 dm/dmtree/tr181/ethernet.c |  2 ++
 dm/dmtree/tr181/wifi.c     |  7 ++++-
 4 files changed, 58 insertions(+), 36 deletions(-)
-------------------------------------------------------------------------------
2018-03-16 10:07:21 +01:00
Sukru Senli
7ecbecc9a8 icwmp-4.0-2018-03-15: refs #14390 2018-03-15 16:06:57 +01:00
Sukru Senli
9d18af368d Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* a1d2dc9 do not reload network if reqopts are not changed
-------------------------------------------------------------------------------
commit a1d2dc97b0f55a1c028012d12d30447f05ab3baa
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-15 15:29:33 +0100

    do not reload network if reqopts are not changed

Base directory -> /
 init/icwmpd.init | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2018-03-15 15:30:00 +01:00
Sukru Senli
2cfea5f582 Revert "icwmp: reload icwmp if new option 43 is received"
This reverts commit b708797e87.
2018-03-14 14:57:22 +01:00
Sukru Senli
6ed3ae9458 icwmp-4.0-2018-03-14 2018-03-14 14:56:09 +01:00
Sukru Senli
b708797e87 icwmp: reload icwmp if new option 43 is received 2018-03-14 14:36:16 +01:00
Ionuț-Alex Oprea
214c9b7e2a iop: ssh_sysupgrade: ssh timeout in 60 seconds 2018-03-14 14:34:03 +01:00
Sukru Senli
6c2c23924d icwmp: reload icwmp when DNS servers are changed as well 2018-03-14 14:13:35 +01:00
Sukru Senli
45034ef8a6 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 02188f6 Ticket refs #13889: Support needed to differentiate WEP 64/128 encryption modes and also the mapping required to set WiFi Key #2 to WiFi Key #4 values from ACS
-------------------------------------------------------------------------------
commit 02188f68caac03e15bad8af98611cc28d856e69f
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-13 12:20:14 +0100

    Ticket refs #13889: Support needed to differentiate WEP 64/128 encryption
    modes and also the mapping required to set WiFi Key #2 to WiFi Key #4 values
    from ACS

Base directory -> /
 dm/dmtree/tr181/wifi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-13 18:55:39 +01:00
Kenneth Johansson
cedf4806e4 generate_tarballs: mediatek linux dir has changed name.
It is only linux-iopsys-ramips now.
2018-03-13 15:29:20 +01:00
Ronny Nilsson
e773632860 endptmngr: Extend signals handling to catch more of them.
Needed for procd reload to work.
2018-03-13 15:19:33 +01:00
Sukru Senli
72344b29b0 inteno-netmodes: limit bridged mode from sdx810-ap 2018-03-13 14:46:34 +01:00
Ronny Nilsson
6694e1975b voice_client: re-enable comment away settings Asterisk no longer need.
It should work now.
This reverts commit b15782bd07.
2018-03-13 11:35:55 +01:00
Kenneth Johansson
2f600a6b58 Revert "samba3: create directories in start script."
This reverts commit 7b1a960d5b.
2018-03-13 11:33:43 +01:00
Ronny Nilsson
aaa473edbf endptmngr: listen for new object events instead of polling 2018-03-13 11:27:43 +01:00
Kenneth Johansson
7b1a960d5b samba3: create directories in start script.
was done in preinit before.
2018-03-12 22:06:42 +01:00
Sukru Senli
336c2b2aa2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f900dfd do not arping arponly clients fixes #14416
-------------------------------------------------------------------------------
commit f900dfdb36475d4b2cbd7fb6098c32de2b4b58f5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-12 16:08:27 +0100

    do not arping arponly clients fixes #14416

Base directory -> /
 network.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-12 18:18:26 +01:00
Sukru Senli
5664619289 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 110737a Ticket refs #14143: Unable to get wan6 connection in ACS "get parameters" list
* cc552c8 Ticket refs #14137: Unable to retrieve "ErrorsSent", "ErrorsReceived", "DiscardPacketsSent", "DiscardPacketsReceived" parameters for Radios and Ethernet Interfaces via ACS
* 1546cf5 Ticket refs #13884: Enabling "WPA-WPA2-Enterprise" encryption mode via ACS for SSID is not reflected in the RG GUI
* 83d902f Ticket refs #14144: Unable to set "Device.IP.Interface.${i}.IPv4Address.${i}.Enable" parameter from ACS
* ee3096d Ticket refs #13917: Device.Ethernet.Interface.x.Status show always Up even LAN port is not up
-------------------------------------------------------------------------------
commit 110737a3c0f06df26d469608cbd956e26095407e
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-09 18:41:24 +0100

    Ticket refs #14143: Unable to get wan6 connection in ACS "get parameters"
    list

Base directory -> /
 dm/dmtree/tr181/ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cc552c8ef26686e71ae84eb586b62a9d0eba14d9
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-09 18:36:03 +0100

    Ticket refs #14137: Unable to retrieve "ErrorsSent", "ErrorsReceived",
    "DiscardPacketsSent", "DiscardPacketsReceived" parameters for Radios and
    Ethernet Interfaces via ACS

Base directory -> /
 dm/dmtree/tr181/ethernet.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 dm/dmtree/tr181/ethernet.h |  4 ++++
 dm/dmtree/tr181/wifi.c     | 41 ++++++++++++++++++++++++++++++++++++++++-
 dm/dmtree/tr181/wifi.h     |  4 ++++
 4 files changed, 92 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 1546cf5cbe49590537750f5758a549bac6026689
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-03-09 10:49:34 +0100

    Ticket refs #13884: Enabling "WPA-WPA2-Enterprise" encryption mode via ACS
    for SSID is not reflected in the RG GUI

Base directory -> /
 dm/dmtree/tr181/wifi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 83d902fdb2d68985dad7ea2f19307326aff68c6f
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-08 17:49:31 +0100

    Ticket refs #14144: Unable to set
    "Device.IP.Interface.${i}.IPv4Address.${i}.Enable" parameter from ACS

Base directory -> /
 dm/dmtree/tr181/ip.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit ee3096d50ca05f19fb377ec1d7496db50c82e9e6
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-08 17:31:12 +0100

    Ticket refs #13917: Device.Ethernet.Interface.x.Status show always Up even
    LAN port is not up

Base directory -> /
 dm/dmtree/tr181/ethernet.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-03-12 18:17:45 +01:00
Ke Hu
af0debb6a9 add open to ice and endptmngr
Do not open ice to open
endpt add open definition for  public compiling
add a new function for tarball script to upload endptmngr
2018-03-09 16:13:16 +01:00
Ke Hu
19466fa4a4 add config.in file
endptmng needs open options
2018-03-09 13:08:49 +01:00
Amin Ben Ramdhane
5ea9066e73 Ticket refs #14209: TR-069: add support for compiling both TR-098 and TR-181 support and make it UCI configurable 2018-03-08 16:28:21 +01:00
Ke Hu
55e39205dc upload name issue
kernel name is 502030, but config define is 502003
different name.
2018-03-08 16:18:35 +01:00
Sukru Senli
ad652de055 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* a65572a DeviceInfo.VendorLogFile : update instance in dmmap instead of systemwq!
* 6fc82a6 Ticket refs #14388: "Device.WiFi.AccessPoint.x.Enable"  is 0 after factory reset even though the Access points are enabled
* 0c20fe9 Ticket refs #14270: X_IOPSYS_ifname is wrongly populated for wifi clients in Device.Hosts.Host.{i}. profile
* 59261aa Ticket refs #14266: Ethernet Interface Alias parameter to be populated as same interface name
* 79aa835 #14159:TR-069: Vendor logfile in datamodel
* 393b7af Ticket refs #14185: TR069 reboot not working
* 679324f Ticket refs #13818: Not able to Upgrade/downgrade RG using TR069 . Required/Steps for Upgrade procedure
* fe026c3 Ticket refs #14209: TR-069: add support for compiling both TR-098 and TR-181 support and make it UCI configurable
-------------------------------------------------------------------------------
commit a65572af53664945cc6af751c2cbff3a37d64833
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-03-08 11:03:49 +0100

    DeviceInfo.VendorLogFile : update instance in dmmap instead of systemwq!

Base directory -> /
 dm/dmtree/common/deviceinfo.c | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 6fc82a68e0377a4aaa4a0a7f49c04803a122e4d1
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-07 13:04:21 +0100

    Ticket refs #14388: "Device.WiFi.AccessPoint.x.Enable"  is 0 after factory
    reset even though the Access points are enabled

Base directory -> /
 dm/dmtree/tr181/wifi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0c20fe9560304df4ce29cf67c499062e75f436fa
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-07 13:02:10 +0100

    Ticket refs #14270: X_IOPSYS_ifname is wrongly populated for wifi clients in
    Device.Hosts.Host.{i}. profile

Base directory -> /
 dm/dmtree/tr181/hosts.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 59261aabea1a8f31af52e5401541584e5743ab22
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-07 12:39:06 +0100

    Ticket refs #14266: Ethernet Interface Alias parameter to be populated as
    same interface name

Base directory -> /
 dm/dmtree/tr181/ethernet.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 79aa8353d7cc64933fafb1ee69d7991b77b18336
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-03-07 10:07:42 +0100

    #14159:TR-069: Vendor logfile in datamodel

Base directory -> /
 dm/dmtree/common/deviceinfo.c | 63 ++++++++++++++++++++++++++++++++++++++
 dm/dmtree/common/deviceinfo.h |  7 +++++
 scripts/icwmp.sh              | 70 ++++++++++++++++++++++++++++++-------------
 xml.c                         | 26 ++++++++--------
 4 files changed, 131 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit 393b7af010908ebccb379cc5620656088c37bbc8
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-03-01 14:21:25 +0100

    Ticket refs #14185: TR069 reboot not working

Base directory -> /
 event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 679324fc33045953adc0ec63265738fc1b2e38ef
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-03-01 11:37:55 +0100

    Ticket refs #13818: Not able to Upgrade/downgrade RG using TR069 .
    Required/Steps for Upgrade procedure

Base directory -> /
 xml.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit fe026c3ffa7623f12d14d4b164c458f3e5c5437c
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-03-01 10:41:34 +0100

    Ticket refs #14209: TR-069: add support for compiling both TR-098 and TR-181
    support and make it UCI configurable

Base directory -> /
 bin/Makefile.am                      |   5 +-
 config/cwmp                          |   3 +
 configure.ac                         |  14 ---
 dm/dmcommon.c                        |   9 ++
 dm/dmcommon.h                        |   1 +
 dm/dmcwmp.c                          |   2 +-
 dm/dmcwmp.h                          |  15 ++-
 dm/dmentry.c                         |  75 +++++++++++--
 dm/dmtree/common/root.c              | 200 +++++++++++++++++++++++++----------
 dm/dmtree/common/root.h              |  41 ++++---
 dm/dmtree/common/x_inteno_se_owsd.c  |  40 ++++---
 dm/dmtree/tr098/landevice.c          |  16 +--
 dm/dmtree/tr098/landevice.h          |  14 +--
 dm/dmtree/tr098/layer_2_bridging.c   |  22 ++--
 dm/dmtree/tr098/layer_3_forwarding.c |  25 ++---
 dm/dmtree/tr098/x_inteno_se_wifi.c   |   4 +-
 dm/dmtree/tr098/x_inteno_se_wifi.h   |   4 +-
 dm/dmtree/tr181/bridging.c           |  20 ++--
 dm/dmtree/tr181/bridging.h           |   2 -
 dm/dmtree/tr181/dhcp.c               |   2 +-
 dm/dmtree/tr181/hosts.c              |   4 +-
 dm/dmtree/tr181/ip.c                 |  13 ++-
 dm/dmtree/tr181/nat.c                |   2 +-
 dm/dmtree/tr181/ppp.c                |   8 +-
 dm/dmtree/tr181/routing.c            |  21 ++--
 dm/dmtree/tr181/wan.c                |   6 +-
 dm/dmtree/tr181/wifi.c               |  22 ++--
 dm/dmtree/tr181/wifi.h               |  18 ++--
 event.c                              |   2 +-
 xml.c                                |  12 +--
 30 files changed, 376 insertions(+), 246 deletions(-)
-------------------------------------------------------------------------------
2018-03-08 16:05:04 +01:00
Erik Horemans
56a8f5967d new ice-client 5.0.2-RC15 2018-03-08 16:01:51 +01:00
Reidar Cederqvist
4ee2668013 iop: scripts: update update_feed_branches 2018-03-08 16:01:37 +01:00
Sukru Senli
1c0896dd7b iop: update_feed_branches 2018-03-08 16:01:33 +01:00
Kent Ekholm
dcc55d8564 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 719be12 Revert "Restart the endptmngr daemon when UCI voice client settings"
-------------------------------------------------------------------------------
commit 719be12028f018e0c1e145082b920e7aefc3c8fa
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-03-07 17:27:21 +0100

    Revert "Restart the endptmngr daemon when UCI voice client settings"

    This reverts commit 5af57d240649cff2959dc9117d3938447a8f52b7.

    When endptmngr was restarted the endpoint initialisation failed and
    endptmngr eventually crashed on all restart attempts.

Base directory -> /
 files/etc/init.d/endptmngr | 5 -----
 1 file changed, 5 deletions(-)
-------------------------------------------------------------------------------
2018-03-07 18:17:20 +01:00
Kent Ekholm
b15782bd07 Revert "Comment away settings Asterisk no more need. The Endptmngr program"
This reverts commit 460e72f094.

This commit made incoming calls not work beacause no codecs was configured.
2018-03-07 17:24:44 +01:00
Ionut-Alex Oprea
358b1b0af0 inteno-netmodes: flush network cache before getting the ip 2018-03-07 10:56:36 +01:00
Ronny Nilsson
b84dfd06ee endptmngr: Debug print of endpoint names 2018-03-06 18:30:16 +01:00
Ionut-Alex Oprea
3c6042c0f8 iop: build_branch: fix param count 2018-03-06 14:32:02 +01:00
Ionut-Alex Oprea
afea9fc91f iop: build_branch: add more help messages 2018-03-06 14:10:15 +01:00
Ionut-Alex Oprea
7cf104cdd3 iop: add command: build_branch 2018-03-06 13:51:58 +01:00
Ronny Nilsson
7c84202d60 voice_client: remove unused code 2018-03-05 17:06:43 +01:00
Ronny Nilsson
255bb23bcd voice_client: for Asterisk v13 in combination with endptmngr we try
to limit excessive voice transcoding. We use ALAW everywhere internally
and transcode only if it really is necessary.
2018-03-05 17:06:43 +01:00
Ronny Nilsson
094db5b7fa endptmngr: Line signaling didn't work before the first connection
Refs: #14363
2018-03-05 17:06:43 +01:00
Anjan Chanda
7da065dd79 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0e50e2b wireless: mediatek: enumerate only AP mode interfaces in load_wireless
-------------------------------------------------------------------------------
commit 0e50e2b81fe1da0b48480e8af2dfc409b2812c11
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-03-05 13:59:01 +0100

    wireless: mediatek: enumerate only AP mode interfaces in load_wireless

Base directory -> /
 wireless.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2018-03-05 14:59:21 +01:00
Sukru Senli
5b12b73fa3 inteno-netmodes: fix netmode-discover checking for wifi script running 2018-03-05 13:51:22 +01:00
Sukru Senli
d01308ac9e inteno-netmodes: exclude SDX810-AP board from routed_brcm 2018-03-05 12:00:25 +01:00
Ionut-Alex Oprea
7420bfc587 inteno-netmodes: netmode-discover: prevent busy waiting 2018-03-05 11:14:32 +01:00
Sukru Senli
f9896c5776 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 3de7c6a use correct path for passwd
-------------------------------------------------------------------------------
commit 3de7c6af6a74a5748d0dea9781931bfbbb178246
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-04 11:34:40 +0100

    use correct path for passwd

Base directory -> /
 system.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-03-04 11:34:54 +01:00
Sukru Senli
17d502dd91 voice-client: if call log is not available return empty array 2018-03-03 11:56:50 +01:00
Ionut-Alex Oprea
992c628bff Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* b898924 ubus call netmode sync: make the call reentrant by adding a mutex
* bd47286 add ubus sync method: push credentials to all registered repeaters
-------------------------------------------------------------------------------
commit b898924491c378ca09ab124991b27f54a336e4e9
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-03-02 15:34:22 +0100

    ubus call netmode sync: make the call reentrant by adding a mutex

    	if this ubus call is issued twice at the same time,
    only one will do the actual work and the other one will return with
    an error.

    	Can be tested with:
    	while true ; do ubus call netmode sync & done
    Most of the calls will fail
    (Done with return code 9 == UBUS_STATUS_UNKNOWN_ERROR),
    but still the maximum (continuosly) possible will run.

Base directory -> /
 netmoded.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bd472860ff1fe71ebd066813dcebe8fd99553747
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-03-02 14:26:59 +0100

    add ubus sync method: push credentials to all registered repeaters

Base directory -> /
 netmoded.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-02 15:45:11 +01:00
Ionut-Alex Oprea
54214a0918 Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* dfc2c63 netmoded: do not compare network for local ifaces refs #14339
-------------------------------------------------------------------------------
commit dfc2c634122f2b2eb9aad12125aa8d08fdf9e20a
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-03-01 11:19:07 +0100

    netmoded: do not compare network for local ifaces refs #14339

Base directory -> /
 config.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2018-03-01 11:46:41 +01:00
Ronny Nilsson
432945e380 voice_client: disable likely unused code 2018-02-27 17:31:05 +01:00
Ronny Nilsson
b118f84ea0 endptmngr: Drop packets if we can't keep up the pace. 2018-02-27 17:31:05 +01:00
Sukru Senli
f0b3e6e381 icwmp: install hotplug script 2018-02-27 15:10:20 +01:00
Sukru Senli
1fd40c307c questd: remove imonitor completely 2018-02-27 14:40:00 +01:00
Sukru Senli
7d32052950 questd: imonitor: do not monitor bsd 2018-02-27 14:33:06 +01:00
Sukru Senli
64a0bdd03e inteno-netmodes: netmode-discover: fping network only if mask is equals or higher than 24 2018-02-27 14:07:38 +01:00
Sukru Senli
8b20543e99 voice-client: adapt to new endpt status output 2018-02-27 14:04:32 +01:00
Sukru Senli
563b810fec icwmp: updated 2018-02-27 13:06:44 +01:00
Sukru Senli
10e699a0c7 iop: select ppp-mod-pppoe 2018-02-27 11:54:05 +01:00
Ronny Nilsson
25fcc515f6 Implement endpoint provisioning, configuration via UCI and
UBUS event when user does something with the phone.
Refs: #13863 #13869 #14123
2018-02-27 11:51:21 +01:00
Sukru Senli
163edf5ed9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ad37dc3 mediatek: report rssi in scanresults
-------------------------------------------------------------------------------
commit ad37dc3000cad30702b309be6e339c5a2e16575a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-02-27 10:24:48 +0100

    mediatek: report rssi in scanresults

Base directory -> /
 mediatek.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-02-27 10:25:24 +01:00
Sukru Senli
8e9851b3c8 voice-client: show call duration as positive value 2018-02-27 09:39:02 +01:00
Sukru Senli
575d32246f iop: configs: do not deselect miniupnpd for ramips 2018-02-26 21:12:14 +01:00
Sukru Senli
901f0dbf46 voice-client: duration is integer 2018-02-26 18:37:03 +01:00
Sukru Senli
c72b6a0500 voice-client: show duration of calls 2018-02-26 18:36:07 +01:00
Sukru Senli
3129030838 voice-client: support call log 2018-02-26 17:18:19 +01:00
Ronny Nilsson
460e72f094 Comment away settings Asterisk no more need. The Endptmngr program
handles everything low level Broadcom endpoint and reads its settings
directly from UCI.
2018-02-26 16:00:42 +01:00
Sukru Senli
c9c362b9a9 icwmp: fixed compilation error for ramips targets 2018-02-26 15:35:24 +01:00
Sukru Senli
b1e9a4a1e3 icwmp-4.0-2018-02-26 2018-02-26 10:31:12 +01:00
Sukru Senli
faadbfe4a3 voice-client: show line status correctly via ubus 2018-02-25 14:22:31 +01:00
Sukru Senli
47d918b144 voice-client: show only configured sip peers via ubus 2018-02-25 13:47:04 +01:00
Sukru Senli
26611cec75 voice-client: turn of voice led if no sip account is enabled 2018-02-25 13:44:36 +01:00
Sukru Senli
bdc4c121ab icwmp-4.0-2018-02-25 2018-02-25 12:51:02 +01:00
Sukru Senli
dc181b0b75 voice-client: name ubus object voice.asterisk 2018-02-25 12:50:59 +01:00
Sukru Senli
93ae51f1ba voice-client: voice-monitor started on boot 2018-02-25 11:18:31 +01:00
Sukru Senli
7b08997009 voice-client: voice status supports up to 4 sip accounts 2018-02-25 00:07:12 +01:00
Sukru Senli
70339816f7 voice-client: temporary voice ubus object 2018-02-25 00:02:09 +01:00
Sukru Senli
65b3688812 voice-client: updated voice-monitor script 2018-02-24 16:13:23 +01:00
Sukru Senli
37173bd7fb voice-client: initial voice-monitor script 2018-02-24 16:13:23 +01:00
Benjamin Larsson
c46f5444b0 Depend on bcmkernel/bcmopen, dependencies fix 2018-02-22 13:58:30 +01:00
Sukru Senli
a6e56c42a5 inteno-netmodes: testnet: give repeater more time to reconnect to master before retrying 2018-02-21 09:45:59 +01:00
Kenneth Johansson
30e927e3db move config vg50. 2018-02-19 16:28:19 +01:00
Kenneth Johansson
c62103efe3 move config eg300. 2018-02-19 16:25:19 +01:00
Kenneth Johansson
2c26232aac move config dg301al. 2018-02-19 16:17:12 +01:00
Kenneth Johansson
c369409661 move config dg301. 2018-02-19 16:15:17 +01:00
Kenneth Johansson
038f1d361f move config dg200al. 2018-02-19 16:12:56 +01:00
Kenneth Johansson
4f2891ae1e move config dg200. 2018-02-19 16:09:48 +01:00
Kenneth Johansson
b1f98201c1 move config cg300. 2018-02-19 15:42:50 +01:00
Kenneth Johansson
c5bb141696 move config sdx810_rg. 2018-02-19 15:35:13 +01:00
Kenneth Johansson
55b1dc6a1a move config eg400. 2018-02-19 15:30:11 +01:00
Kenneth Johansson
287f3b8c83 move config for dg400prime. 2018-02-19 15:27:14 +01:00
Kenneth Johansson
09fca1ca7e move dg400 config. 2018-02-19 15:20:28 +01:00
Kenneth Johansson
7b0eb9bd81 move config for f104. 2018-02-19 15:07:27 +01:00
Kenneth Johansson
f6b03204dc move config for f104. 2018-02-19 15:04:52 +01:00
Kenneth Johansson
24f0a5e516 Move config from feeds-inteno-targets.
And add support for board specific overrides.
2018-02-19 14:54:54 +01:00
Erik Horemans
cae2fdb421 new ice-client 5.0.2-RC5 2018-02-17 16:11:28 +01:00
Sukru Senli
a2ae74a9d6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 319bf11 network: copy only the macaddr to repeated array
-------------------------------------------------------------------------------
commit 319bf11f57e1eb7eb2e8c676def5b15aeec228c1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-02-17 15:59:03 +0100

    network: copy only the macaddr to repeated array

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-02-17 16:07:52 +01:00
Sukru Senli
d08ce1dfdb inteno-netmodes: netmode-discover: fping wan network only if mask is 24 or less 2018-02-17 16:07:05 +01:00
Kent Ekholm
0e5beb085a Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 8d5d309 Added ubus method to query hook status for a line.
-------------------------------------------------------------------------------
commit 8d5d309e64bcc30ee5612787671c8fcec58b4c26
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-02-13 19:07:52 +0100

    Added ubus method to query hook status for a line.

    Ref: 14123

Base directory -> /
 src/endpt.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
-------------------------------------------------------------------------------
2018-02-14 12:45:31 +01:00
Reidar Cederqvist
43e9bd1e6f owd: if ipv6 and linklocal is on, listen on ipv6 link local address 2018-02-13 12:04:54 +01:00
Sukru Senli
1897ed4494 Revert "iop: config: select rulengd by default"
This reverts commit 6f4916fa7b.
2018-02-13 11:58:31 +01:00
Kent Ekholm
48c474c99d Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 8178249 Generating offhook and onhook events on ubus path asterisk.endpoint.
-------------------------------------------------------------------------------
commit 8178249f6a40d8a11023e9c9581dd8dbd05364de
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-02-13 11:00:31 +0100

    Generating offhook and onhook events on ubus path asterisk.endpoint.

    Ref: 14123

Base directory -> /
 src/endpt.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
-------------------------------------------------------------------------------
2018-02-13 11:09:09 +01:00
Sukru Senli
6f4916fa7b iop: config: select rulengd by default 2018-02-12 21:57:28 +01:00
Sukru Senli
aa4205e868 icwmp-4.0-2018-02-12 2018-02-12 16:11:33 +01:00
Sukru Senli
febbc8c2ae iop: config: deselect layer2interface 2018-02-10 16:35:18 +01:00
Sukru Senli
722b97d207 layer2interface: removed; its content is moved to Broadcom target 2018-02-10 16:11:03 +01:00
Sukru Senli
35aa491288 owsd: remove redirect from global config 2018-02-10 14:42:06 +01:00
Sukru Senli
84896fcc28 rulend: start with procd 2018-02-10 13:30:26 +01:00
Sukru Senli
e35d1ca5ef rulegd: do not include kernel.mk in the Makefile 2018-02-10 13:20:57 +01:00
Sukru Senli
e2469be380 rulengd: change the example recipe config 2018-02-10 13:18:27 +01:00
Sukru Senli
050187987f rulengd: do not depend on json-c, already depending on libjson-c 2018-02-10 13:16:32 +01:00
Hrvoje Varga
e39fc84722 rulengd: add package
Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>
2018-02-10 13:03:10 +01:00
Sukru Senli
22b9d0f698 inteno-netmodes: pre-set ifname in wireless configs 2018-02-10 12:19:07 +01:00
Sukru Senli
0bbcc75b1e layer2interface: populate wan ifname with various norhbound interfaces 2018-02-10 12:15:31 +01:00
Benjamin Larsson
ca1d9f7fb8 Update git hash 2018-02-09 16:14:11 +01:00
Sukru Senli
4ccb48f659 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* dcecd25 ignore non-local members of a bridge if last 10 digit of its mac matches the port mac
-------------------------------------------------------------------------------
commit dcecd257d1c369521acd1d47292e501459a81d93
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-02-08 20:36:38 +0100

    ignore non-local members of a bridge if last 10 digit of its mac matches the
    port mac

Base directory -> /
 network.c | 26 +++++++++++++++++++++++++-
 network.h |  1 +
 port.c    |  6 +++++-
 port.h    |  2 +-
 4 files changed, 32 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-02-08 20:37:26 +01:00
Sukru Senli
c1e9e80a3f questd: select swconfig and libnl-tiny only for iopsys_ramips target 2018-02-08 15:21:14 +01:00
Sukru Senli
c3daa7416b inteno-netmodes: use correct command to define MTK 2018-02-08 14:34:55 +01:00
Benjamin Larsson
aa36791efd Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e6465d2 Rename sdx_500ap -> sdx810_ap
-------------------------------------------------------------------------------
commit e6465d2ad8ac159ada0051d8f30385d9d7d3ba86
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2018-02-08 12:39:33 +0100

    Rename sdx_500ap -> sdx810_ap

Base directory -> /
 arch/mips/Kconfig               |  16 ++
 board/inteno/sdx810_ap/Kconfig  |  23 ++
 board/inteno/sdx810_ap/Makefile |  10 +
 board/inteno/sdx810_ap/board.c  |   7 +
 configs/sdx810_ap_defconfig     | 511 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 567 insertions(+)
-------------------------------------------------------------------------------
2018-02-08 12:41:56 +01:00
Sukru Senli
231c76c874 inteno-netmodes: remove SDX from brcm repeater mode 2018-02-08 11:43:18 +01:00
Benjamin Larsson
66e669c06a Rename sdx_500ap -> sdx810_ap 2018-02-08 11:10:07 +01:00
Sukru Senli
b44ec76bd0 icwmp-4.0-2018-02-07 2018-02-07 21:06:32 +01:00
Sukru Senli
6113095ba9 inteno-netmodes: set MTK=1 if kmod-mt*mtk package is installed 2018-02-07 18:55:38 +01:00
Sukru Senli
3475bc4aba port-management: set uplink for wan port by default 2018-02-07 12:02:54 +01:00
Sukru Senli
ae406ee1eb inteno-netmodes: set vid for lan and wan devices for mtk 2018-02-07 11:27:37 +01:00
Sukru Senli
c2b14d454a Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* fa25ad0 owsd now doesn't exit on invalid interface
-------------------------------------------------------------------------------
commit fa25ad0b5af3c9a5c16124a9f699dae3be7b68dd
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-02-05 09:08:38 +0100

    owsd now doesn't exit on invalid interface

    if a non existing interface is provided in the command line arguments, owsd
    will ignore it now and continue working

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-02-06 16:47:25 +01:00
Kenneth Johansson
6cb9f9d176 genconfig: Add SDX810-RG board. 2018-02-05 16:57:06 +01:00
Ionut-Alex Oprea
55ece86d76 iop: config: select juci-openvpn package 2018-02-05 16:56:15 +01:00
Kenneth Johansson
cd46d8ea1d uboot: Fix hang. variable is of array type not char.
Boot was hanging.
2018-02-05 15:59:55 +01:00
Reidar Cederqvist
37de7ba685 iop: use openwrt based versions of juci-network plugins 2018-02-05 15:23:51 +01:00
Sukru Senli
a92fe417f0 inteno-netmodes: testnet: do not for enable internet led 2018-02-01 16:34:43 +01:00
Sukru Senli
1cbef1d6a5 iop: deselect ppp-mod-pppoe 2018-01-31 19:31:41 +01:00
Sukru Senli
384e1cd2cd Revert "config: Disable ppp as it is not compiling nor used."
This reverts commit 5b6c96ccec.
2018-01-31 19:26:08 +01:00
Kent Ekholm
ba59bd78ae Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* e14f741 Added code for enabling conference for a connection.
-------------------------------------------------------------------------------
commit e14f741c9c7ecdc6584ce109bed22d3f85a29a16
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-01-31 17:06:34 +0100

    Added code for enabling conference for a connection.

    Ref: 13867

Base directory -> /
 src/endpt.c | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-01-31 17:30:50 +01:00
Reidar Cederqvist
99a3589c77 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 44852fc router.wps: fix typo in status parsing
-------------------------------------------------------------------------------
commit 44852fcce18b5ceefa6b09bd5eb775d783ee6362
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-31 10:44:01 +0100

    router.wps: fix typo in status parsing

Base directory -> /
 wps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-31 10:48:31 +01:00
Reidar Cederqvist
9096e0a8c2 Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* f6ad4be netmoded: move comment to correct row
* fb103ef netmoded: add support for filtering by network
-------------------------------------------------------------------------------
commit f6ad4becd96f9856f900cb9cdbdad730198b24e9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-31 10:41:55 +0100

    netmoded: move comment to correct row

Base directory -> /
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fb103ef303c21a6de3cca8edbc3d4295784f96a7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-31 10:41:01 +0100

    netmoded: add support for filtering by network

Base directory -> /
 config.c   | 22 +++++++++++++---------
 config.h   |  2 +-
 netmoded.c |  8 +++++---
 3 files changed, 19 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
2018-01-31 10:45:07 +01:00
Kenneth Johansson
bd9637b8f5 u-boot: support for sdx-500ap 2018-01-29 15:16:08 +01:00
Erik Horemans
2d36c5935d new ice-client 5.0.2-RC4 2018-01-28 13:39:42 +01:00
Sukru Senli
2ac79b3ae8 inteno-netmodes: update network config for mtk routed 2018-01-28 12:45:55 +01:00
Sukru Senli
b03bcefc7d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c2a046d show usb spec correctly
-------------------------------------------------------------------------------
commit c2a046da81bf716cd9a5e3203715fc9c5f7d1cc5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-26 23:55:11 +0100

    show usb spec correctly

Base directory -> /
 dumper.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2018-01-26 23:56:24 +01:00
Sukru Senli
0971e2a150 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4998ea8 system: add usb to specs
-------------------------------------------------------------------------------
commit 4998ea8902c61be2b4c21c3cc5575e71e7ede1cb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-26 21:30:44 +0100

    system: add usb to specs

Base directory -> /
 dumper.c | 8 ++++++--
 system.c | 2 ++
 system.h | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-01-26 21:31:16 +01:00
Sukru Senli
17e555938f layer2interface: fix dsl capability option type 2018-01-26 16:17:00 +01:00
Sukru Senli
e8896b88d0 inteno-netmodes: testnet: do not run apcliconnect during wifi import 2018-01-26 14:49:05 +01:00
Sukru Senli
5f85d28d3f inteno-netmodes: remove ex400 hardcoding 2018-01-26 13:39:18 +01:00
Sukru Senli
73d75255a9 wlng: mark iopsys_ramips target as mediatek 2018-01-26 13:38:28 +01:00
Sukru Senli
916fc33f07 inteno-netmodes :exclude SDX* boards from some profiles 2018-01-26 12:00:03 +01:00
Sukru Senli
694a37df39 icwmp: definiton by target instead of iboardid 2018-01-26 11:58:49 +01:00
Sukru Senli
49fa404295 questd: select swconfig if target is iopsys_ramips 2018-01-26 11:53:59 +01:00
Sukru Senli
250253ae92 layer2interface: support setting wan port from ports config uplink option 2018-01-26 11:22:17 +01:00
Sukru Senli
776a5bb53a inteno-netmodes: make sure firewall is disabled in repeater mode 2018-01-25 21:41:33 +01:00
Kenneth Johansson
23fdec1d3e uboot: add sdx-500ap board. 2018-01-25 19:59:06 +01:00
Kenneth Johansson
1b1dfc2f9c genconfig: add new mediatek board sdx-500ap 2018-01-25 19:58:06 +01:00
Kenneth Johansson
dbd1279239 questd: make it test for ramips instead of ex400. 2018-01-25 14:31:09 +01:00
Sukru Senli
4cd231b7e2 inteno-netmodes: flush br-lan only if repeaterready is set and wan ip is private 2018-01-24 18:53:33 +01:00
Kent Ekholm
d39c16248f voice-client: patch from Pantera.
Ref: 13031
2018-01-24 18:07:17 +01:00
Sukru Senli
8f36765f5b iop: update extract_core with packages to export 2018-01-24 18:07:05 +01:00
Sukru Senli
4040bbc39d iop: update extract_top with packages to ignore 2018-01-24 18:07:03 +01:00
Sukru Senli
634219efc8 inteno-netmodes: netmode.sh change/remove variables 2018-01-23 22:47:29 +01:00
Sukru Senli
e7be0ba557 inteno-netmodes: testnet: move accesspolicy variable declaration to correct place 2018-01-23 22:30:01 +01:00
Ionut-Alex Oprea
9b82fd92d2 inteno-netmodes: fix comment 2018-01-22 15:23:00 +01:00
Ionut-Alex Oprea
7cbfc3ccae inteno-netmodes: set juci homepage to overview on netmode reload 2018-01-22 15:22:00 +01:00
Ionut-Alex Oprea
a0b58dfde6 inteno-netmodes: hotplug.d: fix typo 2018-01-22 14:37:31 +01:00
Sukru Senli
e34472afd3 inteno-netmodes: use correct function 2018-01-22 11:12:37 +01:00
Sukru Senli
1ac87df83f inteno-netmodes: change conflicting function name 2018-01-22 10:38:25 +01:00
Sukru Senli
b16e181651 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d0df492 network: correct the comparison of repeateds with clients
-------------------------------------------------------------------------------
commit d0df492d49dc1e4fb14c976b8eb297c006f602db
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-21 18:50:35 +0100

    network: correct the comparison of repeateds with clients

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-21 18:55:35 +01:00
Sukru Senli
5f57a90aee inteno-netmodes: netmode-conf: sync after restoring config 2018-01-20 12:59:43 +01:00
Sukru Senli
d0c84e2ab3 inteno-netmodes: remove the unneeded script 2018-01-20 12:57:03 +01:00
Sukru Senli
960b7a262a inteno-netmodes: make sure uplink macaddr is corrected after reboot 2018-01-20 12:25:59 +01:00
Sukru Senli
761841b937 inteno-netmodes: trigger of correcting uplink macaddr every time netmode changes 2018-01-19 23:46:24 +01:00
Sukru Senli
68dcd628ef inteno-netmodes: do not set to repeater mode by default 2018-01-19 22:27:01 +01:00
Sukru Senli
d36120f54a inteno-netmodes: set macaddress of uplink bridge to wetif macaddr 2018-01-19 10:25:30 +01:00
Reidar Cederqvist
aba88af339 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6bd30b1 graphd: in *_traffic calls return bytes instead of bits
-------------------------------------------------------------------------------
commit 6bd30b1d54ac508589444c44180bf88e2c6c0679
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-19 09:54:13 +0100

    graphd: in *_traffic calls return bytes instead of bits

Base directory -> /
 graphd.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2018-01-19 09:54:24 +01:00
Reidar Cederqvist
0d477445df Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d14ff10 graphd: correct the fix for overflow values
-------------------------------------------------------------------------------
commit d14ff10740767ce60e17469632ab0fd13b0e7118
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-18 18:29:44 +0100

    graphd: correct the fix for overflow values

Base directory -> /
 graphd.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-01-18 18:30:03 +01:00
Reidar Cederqvist
8262dbb7ff Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d0bb682 graphd: add safeguard for when values overflow on the system
* 4f02bf8 graphd: fix typo
-------------------------------------------------------------------------------
commit d0bb682e44797784d4b60c0c406d88b4e773410e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-18 18:13:13 +0100

    graphd: add safeguard for when values overflow on the system

Base directory -> /
 graphd.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 4f02bf8b51390eb092b2c76beb7bb1bd68d3e1e2
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-18 18:12:12 +0100

    graphd: fix typo

Base directory -> /
 graphd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-18 18:14:35 +01:00
Sukru Senli
1c71f37716 inteno-netmodes: move netmode.sh under /lib/functions and adapt scripts accordingly 2018-01-18 17:27:07 +01:00
Reidar Cederqvist
1279e795f2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* aef738b graphd: fix missing blob_buf_free and added casts for malloc
* cb5929c graphd: update ubus keys to follow ubus standard ref #13710
-------------------------------------------------------------------------------
commit aef738bab48065057002c1b0ea018ee3f2cbbfb3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-18 16:49:40 +0100

    graphd: fix missing blob_buf_free and added casts for malloc

Base directory -> /
 graphd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit cb5929c0184ea26cace2ee71204316d4179282a4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-18 09:04:11 +0100

    graphd: update ubus keys to follow ubus standard ref #13710

Base directory -> /
 graphd.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2018-01-18 16:49:51 +01:00
Jonas Höglund
339b7338bc Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* ace6a3d Send on/offhook event to asterisk
* 41484bb Call main asterisk ubus object
-------------------------------------------------------------------------------
commit ace6a3dcb6aa463cf5a34ad39ac37a5bc7d4ce5e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-18 10:49:27 +0100

    Send on/offhook event to asterisk

Base directory -> /
 src/external_call.c |  4 ++++
 src/ubus.c          | 25 +++++++++++++++++++++++++
 src/ubus.h          |  1 +
 3 files changed, 30 insertions(+)
-------------------------------------------------------------------------------
commit 41484bb47ebc4fddc06583275209b1abb084bc2b
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-16 17:19:28 +0100

    Call main asterisk ubus object

Base directory -> /
 src/ubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-18 10:52:45 +01:00
Jonas Höglund
d76c4802c5 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 9338fea Remove astproxy binary from tracking
-------------------------------------------------------------------------------
commit 9338fea66c3bdd3329ebdca66347b0ede0282e5e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-16 17:11:04 +0100

    Remove astproxy binary from tracking

Base directory -> /
 src/.gitignore |   1 +
 src/astproxy   | Bin 91516 -> 0 bytes
 2 files changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-01-18 10:52:38 +01:00
Sukru Senli
2e1eb9e479 inteno-netmodes: netmode.sh get_device->get_device_of to prevent conflict with netmode-conf 2018-01-17 19:43:30 +01:00
Sukru Senli
9fec422d26 layer2interface: update dsl config to support multiple dsl lines 2018-01-17 19:22:13 +01:00
Jonas Höglund
71062ef692 libpicoevent: Create install dir in staging_dir 2018-01-17 16:59:30 +01:00
Reidar Cederqvist
9f14fa0abd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8a07e7a graphd: some cleanup + move blob_buf to local variables
* 5834e24 graphd: fixed broken client_traffic call
* 065369f graphd: refactoring background thread to use dynamic lists
-------------------------------------------------------------------------------
commit 8a07e7aa03410880e0efebe5efe9b70f30dd8141
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 15:18:02 +0100

    graphd: some cleanup + move blob_buf to local variables

Base directory -> /
 graphd.c | 127 ++++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 62 deletions(-)
-------------------------------------------------------------------------------
commit 5834e24c02025ac8891156abbc9a17369ae2ce74
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 15:15:51 +0100

    graphd: fixed broken client_traffic call

Base directory -> /
 graphd.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 065369fbc985b5d983ca5ad0ddf28b73c47d57f3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 13:26:42 +0100

    graphd: refactoring background thread to use dynamic lists

Base directory -> /
 graphd.c | 383 ++++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 242 insertions(+), 141 deletions(-)
-------------------------------------------------------------------------------
2018-01-17 16:21:22 +01:00
Sukru Senli
daaaaf7d14 inteno-netmodes: include network.sh lib in netmode handler 2018-01-17 09:27:28 +01:00
Sukru Senli
c90ab17d11 inteno-netmodes: remove unneeded library from netmode library 2018-01-16 16:43:59 +01:00
Jonas Höglund
3c7fd028dd Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* f3236c0 Compile with ubus for lede
-------------------------------------------------------------------------------
commit f3236c0456cc19154150b105ac516962438022b1
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-16 13:17:07 +0100

    Compile with ubus for lede

Base directory -> /
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-16 13:17:35 +01:00
Reidar Cederqvist
d3a2490192 Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* 6275685 netmoded: reload wifi servcies after successful config_apply
-------------------------------------------------------------------------------
commit 62756854163fe43bebe19a2d4218113e4e1e587c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-16 10:55:51 +0100

    netmoded: reload wifi servcies after successful config_apply

Base directory -> /
 netmoded.c | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
-------------------------------------------------------------------------------
2018-01-16 11:02:59 +01:00
Jonas Höglund
05ea98d3e7 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 49d9ba5 dectshimdrv.h has been removed
* 661e1f2 musl compatibility
* 51b81d5 musl compatibility
* 635602b Minor build issue fix for factory production.
-------------------------------------------------------------------------------
commit 49d9ba5e7d98016cd83a4c16e44d63f31043fff3
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-16 10:38:30 +0100

    dectshimdrv.h has been removed

Base directory -> /
 src/connection_init.c | 63 +++++++++++++++++++++++++--------------------------
 1 file changed, 31 insertions(+), 32 deletions(-)
-------------------------------------------------------------------------------
commit 661e1f2d590f49627982f9f0a26fcf85783c3598
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-13 13:39:25 +0200

    musl compatibility

Base directory -> /
 src/rawmail.c | 1 +
 src/util.c    | 1 +
 2 files changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 51b81d5d1868e57fb3a41c5ef8eb9eb72d0d8e43
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-13 13:27:50 +0200

    musl compatibility

Base directory -> /
 src/stream.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 635602bf60cd7c7a65080c8a2d8716512b1c77d4
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2017-08-21 14:45:58 +0200

    Minor build issue fix for factory production.

Base directory -> /
 src/ubus-dummy.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2018-01-16 10:50:22 +01:00
Jonas Höglund
37ae7ef4aa Remove unused endptcfg 2018-01-16 10:42:55 +01:00
Jonas Höglund
96ea4ba32d Remove asterisk-1.8.x 2018-01-16 10:02:32 +01:00
Sukru Senli
7a76c4bf69 inteno-netmodes: turn off internet led when wps client mode is active and blink when trying to connect 2018-01-15 19:21:53 +01:00
Sukru Senli
f0b8f9d819 inteno-netmodes: move more function to netmode library 2018-01-15 18:36:55 +01:00
Sukru Senli
4ecedd7a08 inteno-netmodes: move functions to /lib/network/netmode.sh 2018-01-15 15:30:26 +01:00
Ionut-Alex Oprea
916e6496ba Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* 1500caa reduce debug print
-------------------------------------------------------------------------------
commit 1500caa19a7162ee36f81a9c8771127f2842d72e
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-15 14:22:15 +0100

    reduce debug print

Base directory -> /
 netmoded.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-01-15 14:28:25 +01:00
Ionut-Alex Oprea
83a9779cf8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 274dec8 uproxyd: reschedule the initial add clients timer if it fails
* 0a2617e dumper: hardware_version: remove error message when there is actually no error; add missing fclose if fscanf fails; fix checkpatch errors;
-------------------------------------------------------------------------------
commit 274dec8339aa826828f41f74fd70db3ab5bcfe17
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-15 14:14:04 +0100

    uproxyd: reschedule the initial add clients timer if it fails

Base directory -> /
 uproxyd.c | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 0a2617e252bd98ec1364609ff6e4d19f1790709a
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-15 11:42:25 +0100

    dumper: hardware_version: remove error message when there is actually no
    error; add missing fclose if fscanf fails; fix checkpatch errors;

Base directory -> /
 dumper.c | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
2018-01-15 14:26:45 +01:00
Sukru Senli
d91c6aeafb inteno-netmodes: correct uplink after applying wifi settings 2018-01-12 17:44:05 +01:00
Sukru Senli
16fe48bee8 inteno-netmodes: decrease wireless link recovery try interval 2018-01-12 17:43:40 +01:00
Jonas Höglund
642124b863 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 9b5b12a Add reload trigger for voice_client config change.
-------------------------------------------------------------------------------
commit 9b5b12a3b84eea84dd0d412fb7668bca22945d80
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-12 14:18:53 +0100

    Add reload trigger for voice_client config change.

Base directory -> /
 files/etc/init.d/endptmngr | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2018-01-12 17:21:43 +01:00
Ionut-Alex Oprea
ecd82c9b55 peripheral_manager: update 2018-01-12 17:03:56 +01:00
Sukru Senli
3d5f9a5485 inteno-netmodes: blink internet led to state trying to connect 2018-01-12 16:39:39 +01:00
Reidar Cederqvist
db55cfc74a owsd/questd: move uproxyd startup from questd to owsd init.d script 2018-01-12 16:18:10 +01:00
Sukru Senli
53a484ddc5 inteno-netmodes: remove owsd from netmodes 2018-01-12 15:33:42 +01:00
Sukru Senli
f64186bb36 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a4666dd ubusproxy: free memory allocated by blobmsg_format_json
* 15700b1 wificontrol: remove network monitoring functionality
* 4842bf5 uproxyd: fix memory leaks
* c807280 uproxyd.c: remove unusefull comments
* 550dbb0 questd: remove obselete code
-------------------------------------------------------------------------------
commit a4666dd4aa2120b980c11b574079bb2f35023b6c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-12 14:11:40 +0100

    ubusproxy: free memory allocated by blobmsg_format_json

Base directory -> /
 uproxyd.c | 54 +++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 35 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit 15700b181920c5a1d54ec65d909a0b1074b756ac
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-12 13:59:01 +0100

    wificontrol: remove network monitoring functionality

Base directory -> /
 wificontrol.c | 159 ----------------------------------------------------------
 1 file changed, 159 deletions(-)
-------------------------------------------------------------------------------
commit 4842bf59c5443adb7342e13691e4d8298b2ee573
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-12 12:03:00 +0100

    uproxyd: fix memory leaks

Base directory -> /
 uproxyd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit c8072803cd661f4cf6ed867c60b95f35f766870e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-12 12:02:13 +0100

    uproxyd.c: remove unusefull comments

Base directory -> /
 uproxyd.c | 12 ------------
 1 file changed, 12 deletions(-)
-------------------------------------------------------------------------------
commit 550dbb007489ce4e87460ed1e1bb678a1b5adcec
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-11 01:03:17 +0100

    questd: remove obselete code

Base directory -> /
 Makefile  |   2 +-
 eventd.c  | 167 ------------------------------------------------
 eventd.h  |   7 --
 router.sh | 112 --------------------------------
 scriptd.c | 215 --------------------------------------------------------------
 wps.sh    |  24 -------
 6 files changed, 1 insertion(+), 526 deletions(-)
-------------------------------------------------------------------------------
2018-01-12 15:07:25 +01:00
Sukru Senli
fbea8f365d inteno-netmodes: do not start netmode-client-detect but start wificontrol 2018-01-12 15:06:45 +01:00
Sukru Senli
5ceb1037a2 inteno-netmodes: testnet script which handles network monitoring for extender/repeater as well 2018-01-12 15:02:23 +01:00
Sukru Senli
1fb2725c84 inteno-netmodes: make sure correct uplink device is used when switched to extender/repeater mode 2018-01-12 14:11:40 +01:00
Sukru Senli
880bed3b68 inteno-netmodes: when switching between extender and repeater modes, defer the unused uplink device 2018-01-12 14:03:48 +01:00
Jonas Höglund
b34e652054 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* ec9bb4f Handle dtmf events
-------------------------------------------------------------------------------
commit ec9bb4f772ab544c8beacaf6a4c075bb031a4788
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-12 11:43:21 +0100

    Handle dtmf events

Base directory -> /
 src/endpt.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
-------------------------------------------------------------------------------
2018-01-12 13:37:30 +01:00
Reidar Cederqvist
d1fbaaf35b questd: updet to newest version 2018-01-12 12:07:13 +01:00
Jonas Höglund
97bf327405 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* f9e1dcf Add ringback signal
* 37307d1 Set country from config
* c6f6f07 Updated .gitignore
* 294a5f1 Remove binary from tracking
* 847f74f Cleanup
* 01aa472 Read country code  from voice_client config
-------------------------------------------------------------------------------
commit f9e1dcfce3a5745a91b70dcc04c0209177f99683
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 16:31:06 +0100

    Add ringback signal

Base directory -> /
 src/endpt.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 37307d1b25600ffc3ea4e29506cfcd5aec3916fa
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 13:34:58 +0100

    Set country from config

Base directory -> /
 src/endpt.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit c6f6f0706dfc45e725475c92416afae7076906cb
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 13:29:41 +0100

    Updated .gitignore

Base directory -> /
 src/.gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 294a5f1f8f12875b418148df3267643139a74e3e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 13:29:14 +0100

    Remove binary from tracking

Base directory -> /
 src/endptmngr | Bin 7258316 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit 847f74fe878a85e850e3482c978e77740709d536
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 13:24:17 +0100

    Cleanup

Base directory -> /
 src/endpt.c | 84 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 48 insertions(+), 36 deletions(-)
-------------------------------------------------------------------------------
commit 01aa4729b7a1ae9dbe129a1710b3e8ed1eef9f82
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-11 11:46:39 +0100

    Read country code  from voice_client config

Base directory -> /
 src/endpt.c   | 159 ++++++++++++++++++++++++++++++++++++++++++++--------------
 src/endptmngr | Bin 7250960 -> 7258316 bytes
 2 files changed, 122 insertions(+), 37 deletions(-)
-------------------------------------------------------------------------------
2018-01-11 16:33:30 +01:00
Ionut-Alex Oprea
5b39bed1eb Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* 155aa7d check if wet iface has changed or needs update
* c55b4bf extract code for getting the wet section
* bf513a2 apply credentials on the wet iface
* b6a8626 debug the debug level numerical value
* 01078c9 initialize section to NULL
-------------------------------------------------------------------------------
commit 155aa7dad052b37f081683ad9cf366d39a03f4d7
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-11 16:21:20 +0100

    check if wet iface has changed or needs update

Base directory -> /
 config.c | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 config.h |   5 +-
 2 files changed, 151 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit c55b4bf0cc6f2011db2a29958834979948759064
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-11 16:08:38 +0100

    extract code for getting the wet section

Base directory -> /
 config.c | 38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit bf513a22380289480a1118883fb8b2b715fa7f95
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-11 14:29:57 +0100

    apply credentials on the wet iface

Base directory -> /
 config.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 91 insertions(+)
-------------------------------------------------------------------------------
commit b6a8626f3ed9c2fa44520d9e5f9d2a5edbfebfae
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-11 14:28:55 +0100

    debug the debug level numerical value

Base directory -> /
 netmoded.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 01078c90eb899a84e1db19863a98176ef21623f2
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-01-11 14:28:04 +0100

    initialize section to NULL

Base directory -> /
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-11 16:22:10 +01:00
Ionut-Alex Oprea
4501e63431 Merge branch 'devel-new-netmoded' into devel-new 2018-01-10 17:28:11 +01:00
Ionut-Alex Oprea
ac6fe3705e inteno-netmodes: add dependency for libuci 2018-01-10 16:54:56 +01:00
Ionut-Alex Oprea
8f5f80a54e inteno-netmode: install netmoded binary 2018-01-10 16:51:17 +01:00
Ke Hu
6ea457812e custom_release
add a new parameter to skip flash check
2018-01-10 15:13:18 +01:00
Jonas Höglund
f4cb6f3d54 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 8d3b1b9 Callerid
-------------------------------------------------------------------------------
commit 8d3b1b9c2913bc39a1260ab13ee68361298b2e43
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-10 14:56:38 +0100

    Callerid

Base directory -> /
 src/astproxy  | Bin 0 -> 91516 bytes
 src/endpt.c   |  18 +++++++++++++-----
 src/endptmngr | Bin 0 -> 7250960 bytes
 3 files changed, 13 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-01-10 15:03:19 +01:00
Ionut-Alex Oprea
70299670e4 inteno-netmodes: update to latest working version 2018-01-10 12:51:50 +01:00
Ionut-Alex Oprea
61de98d363 hotplug: iface: netmode: do not start netmode-client-detect 2018-01-10 12:49:15 +01:00
Ionut-Alex Oprea
6be2c24b30 netmode: init.d: start netmoded 2018-01-10 12:47:44 +01:00
Jonas Höglund
767c4891e6 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 2c06c5c Add more signals
-------------------------------------------------------------------------------
commit 2c06c5c54e4a8ffe84f1074d79896da5dc3cd679
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-09 17:36:54 +0100

    Add more signals

Base directory -> /
 src/endpt.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2018-01-10 10:00:31 +01:00
Jonas Höglund
b447102151 Update templates for asterisk-13.18.4 2018-01-09 13:22:14 +01:00
Sukru Senli
97e3a03f37 dectmngr: removed; it is obselete; dectmngr2 replaces it 2018-01-09 11:07:24 +01:00
Sukru Senli
f433222d9f brcmslic: removed; it is obselete; endptmngr replaces it 2018-01-09 11:07:05 +01:00
Reidar Cederqvist
b5376237af update to latest generally working version 2018-01-09 09:21:27 +01:00
Ionut-Alex Oprea
969571f77a inteno-netmode: update repo hash 2018-01-09 09:19:29 +01:00
Reidar Cederqvist
4bfaf07b98 inteno-netmode: add repo for netmoded source code 2018-01-09 09:19:29 +01:00
Sukru Senli
50f93caf65 Merge remote-tracking branch 'origin/owsd' into devel-new 2018-01-08 19:28:21 +01:00
Ionut-Alex Oprea
8e075dd746 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 1a815ef rewrite jsonrpc__req_ubuslist and jsonrpc_req_ubuslisten with json-c json_object refs #13595
-------------------------------------------------------------------------------
commit 1a815efff25ae4d52bfee67cc4642eb4627f1388
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-12-13 10:32:10 +0100

    rewrite jsonrpc__req_ubuslist and jsonrpc_req_ubuslisten with json-c
    json_object refs #13595

Base directory -> /
 src/util_jsonrpc.c | 125 ++++++++++++++++++++++++++++-------------------------
 src/ws_ubusproxy.c |   4 ++
 2 files changed, 69 insertions(+), 60 deletions(-)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
0929485a45 owsd: update to newer version 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
e6c4ac12d4 owsd: fix broken dependencies 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
6d865ed960 OWSD build system compatible with openWRT build system 2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
296696a586 update owsd version 2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
31d25714bf update ubusproxy peer comment 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
b29f8a9406 owsd: update config and init.d files to work with ubusproxy 2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
7dd5cf1864 owsd: update to latest version 2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
c7b863e916 owsd: config: fix typos and add missing ca option in /etc/config/owsd 2018-01-08 19:27:40 +01:00
Sukru Senli
74df26fb32 owsd: handle owsd acl in owsd init script and configure rpcd accordingly 2018-01-08 19:27:40 +01:00
Denis Osvald
44e10992bf Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 20fef42 make HTTP caching configurable and off-by-default
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
commit 20fef420d1796b47fb056e98113592471011a9de
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2017-02-10 13:53:44 +0100

    make HTTP caching configurable and off-by-default

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/main.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
1e5d155104 owsd: to version with proxy features and SSL auth
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
3fd5294345 update owsd default config file with commented-out proxy options
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
357ef23c0d install /etc/config/owsd as ocnfig file to preserve it
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
b3810ba716 update owsd init script with new options
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
5f729b9eea owsd: update to version with client proxy
New version adds option -C to owsd, with respective option in config:

config owsd 'global'
	...
	list ubusproxy 'http://url1/'
	list ubusproxy 'http://url12/'
	...

Patch is removed since it's obsoleted in this version

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
2f8768beaa owsd: wan https commented out 2018-01-08 19:27:40 +01:00
Denis Osvald
2bef8c073c owsd: update to latest version, tweaks debug output
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
3f80217975 owsd: fix origin whitelisting on https port 443
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
b38c7fda35 owsd: temporarily raise max vhosts to 30 until refactor
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
486112e022 libwebsockets, owsd: update to latest, addresses HTTP pipelining
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
0d6a3fca83 owsd: auto populate for port 80 and 8080 2018-01-08 19:27:40 +01:00
Sukru Senli
74c70ba559 owsd: auto populate interfaces to listen on 2018-01-08 19:27:40 +01:00
Sukru Senli
1dccf9f8bf owsd: change url to http 2018-01-08 19:27:40 +01:00
Jonas Höglund
bbcaeda58d Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 841c0ef Fix compile error on openwrt master
-------------------------------------------------------------------------------
commit 841c0ef39de130dfda93bec6badea2255d26a528
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-22 14:58:40 +0200

    Fix compile error on openwrt master

Base directory -> /
 src/ws_http_serve.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Denis Osvald
3419b149b8 owsd: update to latest, modify initscript to pass listen label
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
9986a37299 owsd: listen on wan6 interface 2018-01-08 19:27:40 +01:00
Sukru Senli
6d7fe87ed3 owsd: whitelist dhcp domains only if set to 1 2018-01-08 19:27:40 +01:00
Denis Osvald
7fcbcd3930 owsd: add new localhost section
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
31f43a3194 owsd: separate listening ports for ipv4 and ipv6, #10027
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
554c997dd8 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 6dd1429 raise max number of listen sockets to 10
* a6533b7 fix check for max number of listen sockets
-------------------------------------------------------------------------------
commit 6dd142943bc68e0e4b1f4a002ce7f281c1678813
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-09-02 16:34:03 +0200

    raise max number of listen sockets to 10

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a6533b794c27830dfc8a7dd3531e2344f258461c
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-09-02 16:33:44 +0200

    fix check for max number of listen sockets

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Alex Oprea
31d8c188df Revert "use procd reload scripts instead of hotplug"
This reverts commit c02d4886a213903ad890e09eadd9575ea569c68d.
2018-01-08 19:27:40 +01:00
Sukru Senli
27ac0cd984 owsd: whitelist localhost 2018-01-08 19:27:40 +01:00
Denis Osvald
74a9f4c75c use procd reload scripts instead of hotplug
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
33cb713044 owsd: does not trigger upon network config change because hotplug script handles it 2018-01-08 19:27:40 +01:00
Sukru Senli
4736212345 owsd: adapt to ip addr changes via hotplug script 2018-01-08 19:27:40 +01:00
Sukru Senli
88f38cf541 owsd: for now list origin * for lan interfaces 2018-01-08 19:27:40 +01:00
Alex Oprea
ad4b3de384 owsd: fix loading of dhcp entries refs #9908
- config_load dhcp was called while parsing owsd config,
	thus overwritting the latter.
	- fixed this by loading and parsing the dhcp config before
	loading and parsing the owsd config.
	- this issue resulted in owsd not loading the config for
	wan:80, thus no gui available, refs #9908.
2018-01-08 19:27:40 +01:00
Sukru Senli
96066cef33 owsd: redirect cgi-bin/luci to cacheflush.html 2018-01-08 19:27:40 +01:00
Sukru Senli
b14f889f5c owsd: set list origin * by default on wan side 2018-01-08 19:27:40 +01:00
Denis Osvald
bff3095937 owsd: update version to 1.0.2
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
83c4c884bc owsd: add commented-out example to disable origin filter
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
319f388fdd owsd: whitelist dhcp domains on lan
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
cf2810fcc5 owsd: support to add dhcp domains to origin whitelist so routerlogin.net works
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
c75dfd3d92 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* b30c45b support blob wildcards in origin filter
* bd8014a Merge branch 'fixes'
* fb3d1b0 malloc: do not access memory before checking it exists
-------------------------------------------------------------------------------
commit b30c45bace28a834a0634a8756345009ee6d2c5d
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-08-19 16:40:23 +0200

    support blob wildcards in origin filter

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/wsubus.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit bd8014a1909970b13a2bc84cf268e881c2e4a75e
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-08-17 17:01:39 +0200

    Merge branch 'fixes'

Base directory -> /
 src/wsubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fb3d1b0ba2d0da225bfbffccaa96824e84f9b345
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-08-11 15:42:02 +0200

    malloc: do not access memory before checking it exists

Base directory -> /
 src/wsubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Denis Osvald
1d999b07c3 owsd: update to latest version with redirect, refs #9910
latest version includes support for redirect:

	option redirect /cgi-bin/luci:/some/page

Add this to default config so LuCI -> JUCI migration works

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Alex Oprea
181912ea63 owsd: add reload triggers on network and owsd configs changes refs #9776 2018-01-08 19:27:40 +01:00
Alex Oprea
4e632bf465 owsd: fix parameter order: first port, then interface refs #9775
fix owsd not starting on lan:8080, due to incorrectly using "-i"
parameter before "-p" parameter.
2018-01-08 19:27:40 +01:00
Sukru Senli
f7a365c830 owsd: skip binding interface if it is not available 2018-01-08 19:27:40 +01:00
Sukru Senli
c5d233a715 owsd: set whitelist_interface_as_origin 1 for listen on wan 2018-01-08 19:27:40 +01:00
Sukru Senli
85ac5095c4 owsd: listen on wan 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
17e27eb287 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Reidar Cederqvist
5f24238648 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* f7d0ea8 added a check if characters are printable before sending it through socket
-------------------------------------------------------------------------------
commit f7d0ea8551ebc20afba4351a9f73045ff35ec32c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-05 16:05:34 +0200

    added a check if characters are printable before sending it through socket

Base directory -> /
 src/wsubus_rpc_call.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Sukru Senli
47c87cffa0 owsd: listen on port 80 and 8080 2018-01-08 19:27:40 +01:00
Denis Osvald
5ff16a4c44 owsd: new version improves ipv6 support
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
bbd6575748 owsd: new version fixes ipv6...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
543baa4e04 owsd: update to new version with multiple ports
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
ea2abe2723 owsd: update to new version with ubus list
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
e593c613f2 owsd: update to new version
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
a4a906c8b3 owsd: new version with static file serving
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
564ca842cb clean Makefiles to use suboptions, not variants
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
2551545d74 owsd: new version with fixes
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
e22453b3e7 owsd: new version compatible with libwebsockets 1.7
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
e9054920b6 owsd: bump to 0.8 with test ACL moved to owsd-testdata
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
8bb705d288 owsd: update default config and init script
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
5bdb01b7cc owsd: new version 0.7 with SSL
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
16b8c61c33 owsd: new version 0.6 with event ACLs
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
d1e6c73990 owsd: new version with subscribe feature
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Mislav Novakovic
bd0d992cf9 owsd: new version with rpcd init scripts
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
f054fe34c1 owsd: add package
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
dc8c7fbdcc layer2interface: dsl: do not add ifname to atm/ptm device config 2018-01-08 19:05:40 +01:00
Sukru Senli
2b0bd17bf9 layer2interface: dsl: create untagged VLAN for atm/ptm with .1 suffix if it does not exist 2018-01-08 18:57:56 +01:00
Sukru Senli
a462f37629 layer2interface: remove ifname from dsl config after creating untagged VLAN for it 2018-01-08 18:57:56 +01:00
Sukru Senli
003b48f7e6 layer2interface: dsl: use correct device name when converting from old config 2018-01-08 18:57:56 +01:00
Sukru Senli
63b17c6178 layer2interface: dsl: create ptm device properly 2018-01-08 18:57:56 +01:00
Sukru Senli
7a0d7f14f0 layer2interface: populate dsl config according to new format 2018-01-08 18:57:56 +01:00
Sukru Senli
4dfc123151 layer2interface: dsl: remove alternative config style and do not sed on/off 2018-01-08 18:57:56 +01:00
Sukru Senli
9f9d2d9360 layer2interface: new dsl config for dsl, atm and ptm settings + adaptation from old config style 2018-01-08 18:57:56 +01:00
Robin Stjerndorff
e4cb7a93cd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0e6ab5f fix parsing of conntrack files
-------------------------------------------------------------------------------
commit 0e6ab5fddd446790d2fd6d78cc51f121a27b8248
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2018-01-08 15:49:05 +0100

    fix parsing of conntrack files

Base directory -> /
 net.c | 90 +++++++++++++++++++++++++++++++++++--------------------------------
 1 file changed, 47 insertions(+), 43 deletions(-)
-------------------------------------------------------------------------------
2018-01-08 16:25:06 +01:00
Sukru Senli
85b0ba1605 inteno-netmodes: get wan device from db 2018-01-05 21:54:12 +01:00
Sukru Senli
2f40567ff4 inteno-netmodes: do netmode correction only if necessary 2018-01-05 21:49:08 +01:00
Sukru Senli
af1b66a3b7 inteno-netmodes: wait for netmode-conf taking over only if wificontrol is running 2018-01-05 21:36:07 +01:00
Jonas Höglund
dcbb63a9ae Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 5fec171 Cleanup
* 966870d Merge ubus.c file
* 3f60a47 Sort packets by connection id
* e488e92 Add audio_tx bus
* 583df94 Fix spelling error
* 2c8ff4f Add audio_tx bus
-------------------------------------------------------------------------------
commit 5fec171d3e42f4f2fc42661e19cced08a1d9a6cf
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-04 17:54:25 +0100

    Cleanup

Base directory -> /
 src/endpt.c | 142 ++++++++++++++++++++++++++----------------------------------
 1 file changed, 62 insertions(+), 80 deletions(-)
-------------------------------------------------------------------------------
commit 966870d95db6d0e7e5932251031ce1621e9b3f39
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-04 16:56:37 +0100

    Merge ubus.c file

Base directory -> /
 src/Makefile |   2 +-
 src/endpt.c  | 505 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/ubus.c   | 512 -----------------------------------------------------------
 src/ubus.h   |   6 -
 4 files changed, 489 insertions(+), 536 deletions(-)
-------------------------------------------------------------------------------
commit 3f60a47e41f941aa0b0402f41aab606f66652cc0
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-04 15:55:39 +0100

    Sort packets by connection id

Base directory -> /
 src/endpt.c | 36 +++++++++++++++++-------------------
 src/ubus.c  | 46 +++++++++++++++++++++++++++++++++-------------
 2 files changed, 50 insertions(+), 32 deletions(-)
-------------------------------------------------------------------------------
commit e488e92e030104233b02e6b7c6f2791997237025
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-12-22 11:32:45 +0100

    Add audio_tx bus

Base directory -> /
 src/endpt.c |   4 +-
 src/ubus.c  | 122 +++++++++++++++++++-----------------------------------------
 2 files changed, 40 insertions(+), 86 deletions(-)
-------------------------------------------------------------------------------
commit 583df94ac848ae0ba04b47f3ff5635266d188211
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-12-22 10:53:35 +0100

    Fix spelling error

Base directory -> /
 src/ubus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 2c8ff4faa92a19358dddd093761a9114727c5873
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-12-21 17:32:23 +0100

    Add audio_tx bus

Base directory -> /
 src/endpt.c |  8 +++++---
 src/ubus.c  | 15 +++++++++------
 2 files changed, 14 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2018-01-05 16:02:08 +01:00
Ke Hu
3793d0b229 add a SKIPHASH for opensdk compiling
do not check hash value whiling compiling opensdk
2018-01-05 14:51:01 +01:00
Jonas Höglund
b5e9360d52 libpicoevent: Add package 2018-01-05 13:03:11 +01:00
Jonas Höglund
aada21cc2b endptmngr: Add package 2018-01-05 13:02:50 +01:00
Jonas Höglund
c4019ccfd9 voice-client: depend on asterisk13 2018-01-05 13:02:16 +01:00
Sukru Senli
9c5236ac27 iop: extract_core: add rpcd to extract list 2018-01-05 10:27:15 +01:00
Jonas Höglund
09fdb5cefa iop: Add extract_top command 2018-01-05 10:21:59 +01:00
Sukru Senli
3634b50514 inteno-netmodes: do not start netmode-client-detect 2018-01-04 20:28:45 +01:00
Sukru Senli
0bc8affb30 layer2interface: adapt to new dsl hotplug event 2018-01-04 18:41:32 +01:00
Sukru Senli
3bb9e81912 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* f81c146 inbd: convert dsl netlink events to dsl hotplug events
-------------------------------------------------------------------------------
commit f81c146f0b07540877545e5ab644ec8e29905a4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-04 18:16:03 +0100

    inbd: convert dsl netlink events to dsl hotplug events

Base directory -> /
 src/inbd.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-04 18:29:38 +01:00
Sukru Senli
d692ab5920 layer2interface: commit uci network changes before reloading network 2018-01-04 18:08:31 +01:00
Sukru Senli
1e1dc5ec35 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6018b53 questd: system: platform independent way of getting previous bank firmware while keeping backwards compatibility
-------------------------------------------------------------------------------
commit 6018b531af4239368acc70c0a1dd2b1b42bc661d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-03 20:17:29 +0100

    questd: system: platform independent way of getting previous bank firmware
    while keeping backwards compatibility

Base directory -> /
 system.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2018-01-03 20:18:20 +01:00
Sukru Senli
d3f72c9edd layer2: comment out wan port powering down/up section 2018-01-03 17:33:59 +01:00
Sukru Senli
ce2ff74d79 layer2: adapt to new get_port_speed function 2018-01-03 17:19:59 +01:00
Sukru Senli
d187b85f13 port-management: strip out hw specific port functions; they are moved to /lib/network/port.sh 2018-01-03 17:19:37 +01:00
Ionut-Alex Oprea
883086ac48 iop: ssh_sysupgrade_latest: update for the new bin/ folder structure 2018-01-03 16:30:50 +01:00
Sukru Senli
b59db80b22 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 40dc7c0 questd: include bridge.h in network.c
-------------------------------------------------------------------------------
commit 40dc7c035982e37401f8b53bea9cfbb50dda071e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-03 10:33:40 +0100

    questd: include bridge.h in network.c

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-01-03 10:34:41 +01:00
Sukru Senli
3170329911 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 3583983 questd: strip bridge functions from port.c as they are available in bridge.c
* b04017a questd: bridge handling functions
-------------------------------------------------------------------------------
commit 3583983afdefb3941aa92d2a96b138d78f6cd704
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-03 09:26:31 +0100

    questd: strip bridge functions from port.c as they are available in bridge.c

Base directory -> /
 Makefile |   8 +-
 port.c   | 315 +--------------------------------------------------------------
 port.h   |  50 ----------
 3 files changed, 7 insertions(+), 366 deletions(-)
-------------------------------------------------------------------------------
commit b04017ab476d4c183a5929d6b5e0a54ebf1a18a8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2018-01-03 09:25:31 +0100

    questd: bridge handling functions

Base directory -> /
 bridge.c | 339 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 bridge.h |  50 ++++++++++
 2 files changed, 389 insertions(+)
-------------------------------------------------------------------------------
2018-01-03 09:34:58 +01:00
Sukru Senli
a1fadeb5d4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 1de0a2d questd: port: if port speed cannot be fetched, set it to auto
-------------------------------------------------------------------------------
commit 1de0a2df53413a04c2a7f8169f0dcd4fd0722599
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-01-02 18:36:15 +0100

    questd: port: if port speed cannot be fetched, set it to auto

Base directory -> /
 port.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-01-02 18:36:52 +01:00
Sukru Senli
77e04ec08b port-management: adapt to new output format of ethctl media-type call 2018-01-02 18:19:43 +01:00
Sukru Senli
5666ca7c65 4g-support: remove the obsolete package 2018-01-02 16:49:13 +01:00
Sukru Senli
019d6c3a00 icwmp: do not use local out of function 2018-01-02 16:46:15 +01:00
Sukru Senli
cf5327b44c iup: do not use local out of function 2018-01-02 16:45:58 +01:00
Sukru Senli
27edf8ced1 voice-client: do not use local out of function 2018-01-02 16:45:40 +01:00
Sukru Senli
5f2cd6d185 inteno-netmodes: do not use local out of function 2018-01-02 16:45:21 +01:00
Erik Horemans
a3db17ba4d new ice-client version 5.0.2-RC1 2018-01-02 14:45:06 +01:00
Sukru Senli
d24ab904fd voice-client: remove dependency for now 2018-01-02 14:45:01 +01:00
Sukru Senli
2742edd708 voice-client: correct the dependency 2018-01-02 14:44:52 +01:00
Sukru Senli
feae7c47f8 voice-client depend on asterisk13 or asterisk18-mod 2018-01-02 14:44:35 +01:00
Sukru Senli
4114221ec2 peripheral_manager: remove peripheral_led_normal init script; its functionality is moved to done 2018-01-02 14:21:31 +01:00
Sukru Senli
2c89c33e2a iwatchdog: start earlier 10i < 1iw 2018-01-02 14:19:30 +01:00
Sukru Senli
cfbb84ef57 inteno-netmodes: make shiftrange script work with LEDE 2018-01-02 14:18:30 +01:00
Sukru Senli
77d8c53c77 layer2interface: when adding device to network config run ubus call network reload 2017-12-29 19:33:33 +01:00
Sukru Senli
1f9ba0a4fd inteno-netmodes: adapt to layer2 changes 2017-12-29 19:30:06 +01:00
Sukru Senli
bc96e7a362 iop: config: deselect qos-scripts 2017-12-28 13:57:34 +01:00
Sukru Senli
f21680f92b layer2interface: type anywan is not supported by netifd; make sure only one interface is set to wan ifname 2017-12-28 13:56:51 +01:00
Sukru Senli
38ef180037 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f219a7b questd: adapt to new way of getting interfacename while keeping backwards compatibility
* 3813e30 questd: update gitignore
-------------------------------------------------------------------------------
commit f219a7b3292eda7effde0181edbdd9d3784200e4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-28 10:54:57 +0100

    questd: adapt to new way of getting interfacename while keeping backwards
    compatibility

Base directory -> /
 port.c  | 11 ++++++++++-
 tools.c | 11 +++++++++++
 tools.h |  1 +
 3 files changed, 22 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3813e30ccfedb69667cb8e2388caa3e807e6f047
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-28 10:32:59 +0100

    questd: update gitignore

Base directory -> /
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-12-28 10:57:14 +01:00
Sukru Senli
6d37d875fb do not use /lib/network/config.sh directly, instead include /lib/network 2017-12-28 10:23:12 +01:00
Sukru Senli
73c1f62267 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 45d2d26 questd: add bspver (BSP Version) paramter to repace brcmver parameter over time
* 78d94fd questd: initial documentation
-------------------------------------------------------------------------------
commit 45d2d265a86a023bb0076f031176c4f4e6e4f3ef
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 18:12:16 +0100

    questd: add bspver (BSP Version) paramter to repace brcmver parameter over
    time

Base directory -> /
 dumper.c | 2 ++
 system.c | 1 +
 system.h | 1 +
 3 files changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 78d94fdc8128c2b7b7767dee3160ec1a3ed76af3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 16:16:45 +0100

    questd: initial documentation

Base directory -> /
 docs/QUESTD.pdf | Bin 0 -> 153916 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
2017-12-27 18:12:53 +01:00
Sukru Senli
12f33631de layer2interface: update switch hotplug event to work with LEDE 2017-12-27 17:49:05 +01:00
Sukru Senli
66bd741b2d Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 12cdd3e inbd: convert link events to hotplug actions
-------------------------------------------------------------------------------
commit 12cdd3e99db7c5020e5613a04ceff2a0a4f73106
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 17:29:24 +0100

    inbd: convert link events to hotplug actions

Base directory -> /
 src/inbd.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-12-27 17:31:09 +01:00
Sukru Senli
a89ab65148 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* a782908 inbd: send hotplug switch event if db switch config does not exist
* 1697128 inbd: start earlier
-------------------------------------------------------------------------------
commit a782908c33a5c134ab77844652f17119606460cc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 17:22:16 +0100

    inbd: send hotplug switch event if db switch config does not exist

Base directory -> /
 src/inbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 169712887d842a582cd01e8774ae70c52596a32f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 17:21:58 +0100

    inbd: start earlier

Base directory -> /
 files/etc/init.d/inbd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-12-27 17:23:28 +01:00
Sukru Senli
ab9093bda1 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 0373efb inbd: send correct hotplug net event for both broadcom and mtk platforms
* 316bfcd inbd: gitignore file
-------------------------------------------------------------------------------
commit 0373efba3448d4eafd95170727f0b7d388c489fe
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 16:53:55 +0100

    inbd: send correct hotplug net event for both broadcom and mtk platforms

Base directory -> /
 src/inbd.c | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 316bfcd4e680369b400166d3e82a718de2dfba9c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-27 16:53:25 +0100

    inbd: gitignore file

Base directory -> /
 .gitignore | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
-------------------------------------------------------------------------------
2017-12-27 16:54:41 +01:00
Sukru Senli
b23a509d3d layer2interface: dsl: support disabling mods and profiles via config 2017-12-26 15:53:21 +01:00
Sukru Senli
563ab6b9ff layer2interface: dsl: corrected variable name 2017-12-26 15:38:06 +01:00
Sukru Senli
59699b0305 layer2interface: dsl: put profule in quot. marks and log device creation only when it actually creates 2017-12-26 15:21:04 +01:00
Sukru Senli
9cc93b9942 layer2interface: add untagged eth wan device only if it does not already exist 2017-12-26 14:22:56 +01:00
Sukru Senli
904bddc982 layer2interface: remove unused libraries 2017-12-26 13:25:51 +01:00
Sukru Senli
faf327efea layer2interface: dsl hotplug scripts 2017-12-26 13:19:30 +01:00
Sukru Senli
dcb010903d layer2interface: remove layer2_interface adsl and vdsl 2017-12-26 13:13:17 +01:00
Sukru Senli
c442ed85e7 layer2interface: merge layer2_interface, adsl and vdsl in dsl init script 2017-12-26 13:12:25 +01:00
Sukru Senli
2f0ad0bb2a iop: make generate_tarballs work for both iopsys 3 and 4 2017-12-26 12:18:15 +01:00
Sukru Senli
e39081a494 layer2interface: merge layer2_interface ethernet and vlan in layer2 2017-12-26 12:05:28 +01:00
Sukru Senli
ac21f3c757 netmode: enviroment->environment reload 2017-12-25 20:06:08 +01:00
Sukru Senli
060ba67030 layer2interface: run grep silence 2017-12-25 18:28:59 +01:00
Sukru Senli
1cbe737ca8 layer2interface: layer2 interface ethernet and vlan scripts run adaptation code to netifd way 2017-12-25 18:26:26 +01:00
Sukru Senli
5a8f5e841c layer2interface: create ethwan device with type untagged instead of attribute untagged 2017-12-25 13:07:24 +01:00
Sukru Senli
60dae510cc layer2interface: let netifd and vlanconf handle tagged and untagged vlans 2017-12-24 16:31:55 +01:00
Sukru Senli
dd22d60889 icwmp-4.0-2017-12-22 2017-12-24 14:16:57 +01:00
Omar Kallel
92328805fd Makefile and Config files of new icwmp version (modified) 2017-12-24 14:11:05 +01:00
Omar Kallel
5dd4c869a5 Makefile and Config files of new icwmp version 2017-12-24 14:11:05 +01:00
Sukru Senli
6477c4df36 iop: use ntpd package version 4.2.8p10 instead of busybox ntpd 2017-12-21 10:08:11 +01:00
Sukru Senli
b01acbc03f tptest: remove tptest.bredband.net from list 2017-12-20 20:31:05 +01:00
Kenneth Johansson
61fbbfe3d8 fatrace: we need to flush every line when using a pipe.
/sbin/fatrace -c -t -f W |  grep "/etc/"

produced no output until internal printf buffer full and that is not so
useful.
2017-12-20 18:19:04 +01:00
Kenneth Johansson
96aa7c4cab fatrace: add kernel config option and patch for correct O_LAGEFILE.
The program only worked on x86.
2017-12-20 18:19:04 +01:00
Kenneth Johansson
267a7a1be1 Add fatrace program. 2017-12-20 18:19:04 +01:00
Sukru Senli
8a356767ba iop: config: select OPENSSL_WITH_COMPRESSION 2017-12-20 17:35:14 +01:00
Erik Horemans
9e573f4823 new ice-client 5.0.1-RC1 2017-12-20 16:58:10 +01:00
Sukru Senli
284d3f41a0 icwmp: reload icwmp only if wan ipaddress changes 2017-12-20 16:56:29 +01:00
Sukru Senli
0f6832b2e5 Revert "icwmp-4.0-2017-11-30"
This reverts commit ec98087c13.
2017-12-20 16:55:47 +01:00
Sukru Senli
ec98087c13 icwmp-4.0-2017-11-30 2017-12-20 15:06:57 +01:00
Sukru Senli
07f9b4f21b iop: config: select inbd by default 2017-12-20 11:47:40 +01:00
Sukru Senli
07be960d6f questd: do not start imonitor 2017-12-19 19:55:52 +01:00
Sukru Senli
2b6bf58e12 questd: imonitor: do not do ubus router.network ports call check 2017-12-19 19:55:23 +01:00
Sukru Senli
e0d7c59065 layer2interface: temporarily set parent ethwan device as network wan ifname 2017-12-19 19:46:48 +01:00
Sukru Senli
2be51e0e3d layer2interface: remove brcmwifi.sh; added to targets 2017-12-19 18:58:58 +01:00
Jonas Höglund
4e7993931c Add nand-utils package 2017-12-19 12:06:14 +01:00
Sukru Senli
eb8db8b9e3 layer2interface: make layer2 config generator work with lede 2017-12-17 18:20:25 +01:00
Jonas Höglund
5b6c96ccec config: Disable ppp as it is not compiling nor used. 2017-12-17 13:14:16 +01:00
Jonas Höglund
cc9c65fd33 Module tools provided by ubox package in lede 2017-12-17 13:14:12 +01:00
Jonas Höglund
7ee675aa5c Override packets from feed_inteno_lede 2017-12-17 13:14:06 +01:00
Jonas Höglund
33f59b8fe7 Remove libstrophe as we have a later version in lede 2017-12-17 13:14:01 +01:00
Sukru Senli
498a53e080 questd-3.1.40 2017-12-17 13:09:40 +01:00
Sukru Senli
82f0e36033 questd: imonitor: do not restart quest if lan ifname is missing or is bridge 2017-12-17 13:07:30 +01:00
Erik Horemans
4c4c8dc576 new ice-client ice-client 5.0.1-RC0 2017-12-17 13:07:25 +01:00
Ionut-Alex Oprea
0ad032158b imonitor: increase questd memory limit to 20MB refs #13511 2017-12-17 13:07:25 +01:00
Anjan Chanda
1e957aeabf iop: select package wlng 2017-12-08 13:31:21 +01:00
Anjan Chanda
0a9e81aee6 Update feed [ feed_inteno_packages ] package [ wlng ]
-------------------------------------------------------------------------------
* e253b08 remove stray debug prints
-------------------------------------------------------------------------------
commit e253b080baac1ab0c81f1aa2c8faada254fbe484
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-12-08 12:53:49 +0100

    remove stray debug prints

Base directory -> /
 driver_mtk.c | 3 ---
 1 file changed, 3 deletions(-)
-------------------------------------------------------------------------------
2017-12-08 12:58:17 +01:00
Anjan Chanda
db6f345542 wlng: correct exported target flag 2017-12-08 16:14:32 +05:30
Anjan Chanda
85629b2009 wlng: include package 2017-12-07 20:55:49 +05:30
Reidar Cederqvist
a0c0cad5ee Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a4c8de6 Merge remote-tracking branch 'origin/nvram_hv' into devel
* 16cb4dd questd: improve parsing
* 312ca10 questd: get nvram Hardware Version value
* 824c247 fix c99 warning
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
-------------------------------------------------------------------------------
commit a4c8de679ceae28dc418e1f779da7040b3c0e24f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-06 14:56:33 +0100

    Merge remote-tracking branch 'origin/nvram_hv' into devel

Base directory -> /
 Makefile      |  2 +-
 dumper.c      | 19 +++++++++++++++
 network.c     | 30 ++++++++++++++---------
 network.h     |  7 +++++-
 system.c      |  5 ++++
 system.h      |  1 +
 wificontrol.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 7 files changed, 123 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 16cb4dda3909efef54b84d44fa11dc28f9763c8c
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100

    questd: improve parsing

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

    questd: get nvram Hardware Version value

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

    fix c99 warning

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

    questd: print rssi value from extender

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

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-12-06 15:00:43 +01:00
Reidar Cederqvist
23203274e1 Revert "inteno-netmode: add repo for netmoded source code"
This reverts commit f2701fc6c1.
2017-12-04 14:25:47 +01:00
Reidar Cederqvist
ca0e860aad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c434011 add missing close for ioctl socket
-------------------------------------------------------------------------------
commit c434011a45f130f485f73ab44a2bbe55d41f9955
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-04 12:47:24 +0100

    add missing close for ioctl socket

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-12-04 12:47:38 +01:00
Reidar Cederqvist
f2701fc6c1 inteno-netmode: add repo for netmoded source code 2017-12-04 09:08:57 +01:00
Ionut-Alex Oprea
42a8ce1819 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d2f3a8f Merge branch 'uproxyd' into devel
* 10cba85 Define missing variable
* bc34921 mediatek: trigger auto channel selection based on busy time
-------------------------------------------------------------------------------
commit d2f3a8f4cbd812362906409c7022d31df908ac02
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-12-01 15:37:29 +0100

    Merge branch 'uproxyd' into devel

Base directory -> /
 .gitignore |   3 +
 Makefile   |  11 +-
 network.c  |   2 +-
 uproxyd.c  | 368 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 381 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 10cba850fb80668502ca5ce0bc57533089062741
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-11-23 16:14:17 +0100

    Define missing variable

Base directory -> /
 port.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit bc34921baff1f6bc9d76920d8863010fa6b4e3cd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-17 09:28:55 +0100

    mediatek: trigger auto channel selection based on busy time

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-12-01 15:41:11 +01:00
Reidar Cederqvist
041b6ee88f questd: start uproxy with questd 2017-11-30 14:40:41 +01:00
Reidar Cederqvist
9cfa0c0ce9 questd: change questd to uproxyd version 2017-11-30 14:40:23 +01:00
Ionut-Alex Oprea
f09e3ea1e5 Merge branch 'devel' into devel-new 2017-11-30 14:13:07 +01:00
Kenneth Johansson
a57fa2b48e adsl: new arguments to xtmlctl. 2017-11-30 13:43:09 +01:00
Kenneth Johansson
0493459fc2 vdsl: new command line and output on xtmctl. 2017-11-29 21:51:08 +01:00
190 changed files with 4068 additions and 5053 deletions

View File

@@ -1,31 +0,0 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=4g-support
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/4g-support
CATEGORY:=Network
TITLE:=4G Network Setup Tools
endef
define Package/4g-support/description
4g-support contains necessary tools to setup 4G WAN connection
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
endef
define Package/4g-support/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,4g-support))

View File

@@ -1,62 +0,0 @@
opengt
set com 115200n81
set comecho off
set senddelay 0.05
waitquiet 1 0.2
:start
if $env("USE_DISCONNECT")="1" goto disconnect
send "AT^^NDISDUP=1,1,\""
send $env("USE_APN")
if $env("USE_AUTHTYPE")="-1" goto noauth
else goto auth
:noauth
send "\"^m"
goto result
:auth
send "\",\""
send $env("USE_USERID")
send "\",\""
send $env("USE_PASSWORD")
send "\","
send $env("USE_AUTHTYPE")
send "^m"
goto result
:result
waitfor 5 "OK","ERR","ERROR"
if % = 0 goto connok
if % = 1 goto connerr
if % = 2 goto connerr
:connok
print "WWAN connection established.\r\n"
goto done
:connerr
print "WWAN error. Connection failed.\r\n"
exit 1
:disconnect
send "AT^^NDISDUP=1,0,\""
send $env("USE_APN")
send "\"^m"
waitfor 5 "OK","ERR","ERROR"
if % = 0 goto disconnok
if % = 1 goto disconnerr
if % = 2 goto disconnerr
:disconnok
print "WWAN connection disconnected.\r\n"
goto done
:disconnerr
print "WWAN disconnection error.\r\n"
exit 1
:done
exit 0

View File

@@ -1,35 +0,0 @@
. /lib/network/config.sh
. /usr/share/libubox/jshn.sh
iface_status() {
local iface=$1
local up
json_load "$(ifstatus $iface)"
json_get_var up up
json_close_object
return $up
}
case "$ACTION" in
add|register)
if [ "${INTERFACE:0:4}" == "wwan" ]; then
netname=$(get_network_of "$INTERFACE")
for net in $netname; do
local service=$(uci -q get network.$net.service)
local cnt=0
while $(iface_status $net); do
ifup $net
if [ "$service" == "qmi" ]; then
cnt=$(($cnt+1))
# quit trying if still not online after three times
[ $cnt -eq 3 ] && break
sleep 5
else
break
fi
done
done
fi
;;
esac

View File

@@ -1,74 +0,0 @@
#!/bin/sh
local usb_dir uVid uPid uMa uPr uSe bConf bNumConfs vendor product mdmtyp netdev comdev cdcdev ttydev interface usbno usbbr
sanitize() {
sed -e 's/[[:space:]]\+$//; s/[[:space:]]\+/_/g' "$@"
}
find_usb_attrs() {
usb_dir="/sys/$DEVPATH"
[ -f "$usb_dir/idVendor" ] || usb_dir="${usb_dir%/*}"
uVid=$(cat "$usb_dir/idVendor")
uPid=$(cat "$usb_dir/idProduct")
uMa=$(sanitize "$usb_dir/manufacturer")
uPr=$(sanitize "$usb_dir/product")
uSe=$(sanitize "$usb_dir/serial")
bNumConfs=$(cat "$usb_dir/bNumConfigurations")
bConf=$(cat "$usb_dir/bConfigurationValue")
netdev=$(find $usb_dir -name wwan* | awk -F'/' '{print$NF}' | head -2 | tail -1)
cdcdev=$(find $usb_dir -name cdc-wdm* | awk -F'/' '{print$NF}' | head -2 | tail -1)
ttydev=$(ls $(find $usb_dir -name tty | head -2 | tail -1) | tail -1)
interface=$(cat $usb_dir/interface)
if [ -n "$cdcdev" ]; then
comdev=$cdcdev
mdmtyp=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$2}' | head -1)
vendor=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$3}' | head -1)
product=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$4}' | head -1)
else
comdev=$ttydev
mdmtyp=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$2}' | head -1)
vendor=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$3}' | head -1)
product=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$4}' | head -1)
fi
[ -n "$mdmtyp" ] || mdmtyp=$(grep $uVid:$uPid /etc/modemdb | awk '{print$2}' | head -1)
[ -n "$vendor" ] || vendor=$(grep $uVid:$uPid /etc/modemdb | awk '{print$3}' | head -1)
[ -n "$product" ] || product=$(grep $uVid:$uPid /etc/modemdb | awk '{print$4}' | head -1)
}
convert_to_mbim() {
if [ "$mdmtyp" == "mbim" ] && [ "$bNumConfs" == "2" ]; then
[ "$bConf" == "2" ] || echo 2 > $usb_dir/bConfigurationValue
fi
}
usbno=$(echo $DEVPATH | cut -d'/' -f5)
usbbr=$(echo $DEVPATH | cut -d'/' -f7)
case "$usbbr" in
*:*) usbbr=$(echo $DEVPATH | cut -d'/' -f6) ;;
esac
#devno=$(basename $DEVPATH)
find_usb_attrs
if [ "$ACTION" = add ]; then
convert_to_mbim "$uVid:$uPid"
if [ -n "$uVid" ] && [ -n "$uPid" ] && [ -n "$mdmtyp" ] && [ -n "$netdev" ] && [ -n "$comdev" ]; then
if [ -n "$usbno" ] && [ -n "$usbbr" ]; then
sed -i "/$usbno:$usbbr/ d" /var/usbnets
echo $usbno:$usbbr $uVid:$uPid $uMa $uPr $netdev $comdev $mdmtyp $vendor $product >> /var/usbnets
ubus send hotplug.usb "{'action': 'add', 'devpath': '$DEVPATH', 'manufacturer': '$uMa', 'product': '$uPr', 'serial': '$uSe', 'vendor_id': '$uVid', \
'product_id': '$uPid', 'driver_interface': '$interface', 'driver': '$DRIVER', 'devtype': '$DEVTYPE'}"
fi
fi
fi
if [ "$ACTION" = remove ]; then
if [ -n "$usbno" ] && [ -n "$usbbr" ]; then
sed -i "/$usbno:$usbbr/ d" /var/usbnets
ubus send hotplug.usb "{'action': 'remove', 'devpath': '$DEVPATH', 'manufacturer': '$uMa', 'product': '$uPr', 'serial': '$uSe', 'vendor_id': '$uVid', \
'product_id': '$uPid', 'driver_interface': '$interface', 'driver': '$DRIVER', 'devtype': '$DEVTYPE'}"
fi
fi

View File

@@ -1,100 +0,0 @@
1bbb:011e qmi
1a8d:1001 ecm
1a8d:100c ecm
1a8d:100d ecm
16d8:6280 qmi
16d8:6803 qmi
16d8:6804 qmi
16d8:7003 qmi
16d8:700a qmi
2001:7d01 mbim
2001:7d02 mbim
2001:7d03 mbim
12d1:14ac qmi
12d1:140c qmi
12d1:1506 qmi Huawei E367/392/398
12d1:1506 ncm Huawei E3276
12d1:14d2 qmi
12d1:1c07 ncm
12d1:1436 ecm
12d1:14c9 qmi
12d1:14db ecm
12d1:151d mbim
12d1:151e qmi Huawei E353
12d1:1c1e ncm
12d1:150c qmi
12d1:150f qmi
12d1:151b qmi
12d1:142d ecm
12d1:1432 ecm
12d1:1c1f ncm
12d1:1433 qmi
12d1:1465 ecm
12d1:14ca qmi
12d1:14cf ncm
12d1:14bc ecm
12d1:14ae ecm
12d1:1576 mbim
12d1:1577 mbim
12d1:1400 mbim
12d1:14f7 mbim
12d1:1464 qmi
12d1:14cb qmi
12d1:14cc qmi
12d1:14c6 qmi
12d1:14fa mbim
12d1:1578 mbim
12d1:14c8 qmi
12d1:14f8 mbim
12d1:1575 mbim
12d1:1579 mbim
12d1:157a mbim
12d1:157b mbim
12d1:157f mbim
12d1:1f16 mbim Vodafone K5150
12d1:1404 qmi
19f2:1700 ecm
1410:b001 qmi
1527:1000 ecm
0b3c:c005 qmi
0f3d:68a2 qmi
1199:68a2 qmi SierraWireless M7710
1199:68c0 qmi SierraWireless M7304
1349:1100 qmi
1349:1200 qmi
1199:683c qmi
2360:2100 qmi
2360:2200 qmi
2360:2300 qmi
2507:0000 qmi
19d2:0055 qmi
19d2:0052 qmi
19d2:0063 qmi
19d2:1008 qmi
19d2:1010 qmi
19d2:2002 qmi
19d2:1176 qmi
19d2:1023 mbim
19d2:0104 qmi
19d2:1018 qmi
19d2:1032 mbim
19d2:1402 qmi
19d2:1405 ecm
19d2:1426 qmi
19d2:0031 qmi
19d2:0124 qmi
19d2:1254 qmi
19d2:0017 qmi
19d2:0002 qmi
19d2:0121 qmi
19d2:1252 qmi
19d2:0157 qmi
19d2:0167 qmi
19d2:0199 qmi
19d2:0257 qmi
19d2:0326 qmi
19d2:0349 ecm
19d2:1408 ecm
19d2:0284 qmi
19d2:0019 qmi
19d2:0265 qmi

View File

@@ -1,159 +0,0 @@
#!/bin/sh
INCLUDE_ONLY=1
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_4g_init_config() {
proto_config_add_string "modem"
proto_config_add_string "service"
proto_config_add_string "comdev"
proto_config_add_string "ipaddr"
proto_config_add_string "netmask"
proto_config_add_string "hostname"
proto_config_add_string "clientid"
proto_config_add_string "vendorid"
proto_config_add_boolean "broadcast"
proto_config_add_string "reqopts"
proto_config_add_string "apn"
proto_config_add_string "username"
proto_config_add_string "password"
proto_config_add_boolean "lte_apn_use"
proto_config_add_string "lte_apn"
proto_config_add_string "lte_username"
proto_config_add_string "lte_password"
proto_config_add_string "pincode"
proto_config_add_string "technology"
proto_config_add_string "auto"
}
proto_4g_setup() {
local config="$1"
local iface="$2"
local ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone
json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone
local opt dhcpopts
for opt in $reqopts; do
append dhcpopts "-O $opt"
done
for opt in $sendopts; do
append dhcpopts "-x $opt"
done
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
[ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
[ -n "$iface6rd" ] && proto_export "IFACE6RD=$iface6rd"
[ "$iface6rd" != 0 -a -f /lib/netifd/proto/6rd.sh ] && append dhcpopts "-O 212"
[ -n "$zone6rd" ] && proto_export "ZONE6RD=$zone6rd"
[ -n "$zone" ] && proto_export "ZONE=$zone"
[ "$delegate" = "0" ] && proto_export "IFACE6RD_DELEGATE=0"
json_get_var comdev comdev
json_get_var apn apn
json_get_var service service
json_get_var pincode pincode
# if [ -n "$modem" ]; then
# service=$(echo $modem | cut -d':' -f1)
# comdev=$(echo $modem | cut -d':' -f2)
# iface=$(echo $modem | cut -d':' -f3)
# fi
case "$service" in
ecm)
;;
eem)
;;
mbim)
local mbimdev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$mbimdev}"
[ -n "$pincode" ] && {
if ! mbimcli -d $comdev --query-pin-state 2>&1 | grep -q "unlocked"; then
set -o pipefail
if ! mbimcli -d $comdev --enter-pin="${pincode}" 2>&1; then
mbimcli -d $comdev --query-pin-state
proto_notify_error "$config" PIN_FAILED
proto_block_restart "$interface"
return 1
fi
fi
}
APN="$apn" mbim-network $comdev start
;;
ncm)
[ -n "$pincode" ] && echo $pincode | gcom -d $comdev
USE_APN="$apn" gcom -d $comdev -s /etc/gcom/ncmconnection.gcom
;;
qmi)
local qmidev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$qmidev}"
[ -n "$pincode" ] && {
if ! qmicli -d $comdev --dms-uim-get-pin-status 2>&1 | grep -q "enabled-verified\|disabled" >/dev/null; then
set -o pipefail
if ! qmicli -d $comdev --dms-uim-verify-pin="PIN,${pincode}" 2>&1; then
qmicli -d $comdev --dms-uim-get-pin-status
proto_notify_error "$config" PIN_FAILED
proto_block_restart "$interface"
return 1
fi
fi
}
APN="$apn" qmi-network $comdev start
;;
esac
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc -R \
-p /var/run/udhcpc-$iface.pid \
-s /lib/netifd/dhcp.script \
-f -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
${vendorid:+-V $vendorid} \
$clientid $broadcast $dhcpopts
}
proto_4g_teardown() {
local interface="$1"
local iface="$2"
local modem service comdev
config_load network
config_get service $interface service
config_get comdev $interface comdev
# config_get modem $interface modem
# if [ -n "$modem" ]; then
# service=$(echo $modem | cut -d':' -f1)
# comdev=$(echo $modem | cut -d':' -f2)
# iface=$(echo $modem | cut -d':' -f3)
# fi
case "$service" in
ecm)
;;
eem)
;;
mbim)
local mbimdev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$mbimdev}"
mbim-network $comdev stop
;;
ncm)
USE_DISCONNECT=1 gcom -d $comdev -s /etc/gcom/ncmconnection.gcom
;;
qmi)
local qmidev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$qmidev}"
qmi-network $comdev stop
;;
esac
proto_kill_command "$interface"
}
add_protocol 4g

View File

@@ -1,773 +0,0 @@
#
# Copyright (C) 2008-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-mod
PKG_VERSION:=1.8.10.1
PKG_SOURCE_VERSION:=ee99af0d91a2197529b13075d802ebc37e644e40
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/asterisk-1.8.x
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION)-$(PKG_RELEASE).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-include $(INCLUDE_DIR)/ltqtapi.mk
include $(INCLUDE_DIR)/package.mk
define Package/asterisk18-mod/Default
SUBMENU:=Telephony
SECTION:=net
CATEGORY:=Network
URL:=http://www.asterisk.org/
endef
define Package/asterisk18-mod/Default/description
Asterisk is a complete PBX in software. It provides all of the features
you would expect from a PBX and more. Asterisk does voice over IP in three
protocols, and can interoperate with almost all standards-based telephony
equipment using relatively inexpensive hardware.
endef
define Package/asterisk18-mod
$(call Package/asterisk18-mod/Default)
TITLE:=Complete open source PBX, v1.8x
MENU:=1
DEPENDS:= +natalie-dect-h +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen +libopenssl +libncurses +libpopt +libpthread +uci +ubus +zlib @!TARGET_avr32
endef
define Package/asterisk18-mod/description
$(call Package/asterisk18-mod/Default/description)
endef
define Package/asterisk18-mod-sounds
$(call Package/asterisk18-mod/Default)
TITLE:=Sound files
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-sounds/description
$(call Package/asterisk18-mod/Default/description)
This package contains sound files for Asterisk.
endef
define Package/asterisk18-mod-voicemail
$(call Package/asterisk18-mod/Default)
TITLE:=Voicemail support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-voicemail/description
$(call Package/asterisk18-mod/Default/description)
This package contains voicemail related modules for Asterisk.
endef
define Package/asterisk18-mod-app-transfer
$(call Package/asterisk18-mod/Default)
TITLE:=Call transfer support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-transfer/description
$(call Package/asterisk18-mod/Default/description)
This package contains the call transfer support module for Asterisk.
endef
define Package/asterisk18-mod-app-softhangup
$(call Package/asterisk18-mod/Default)
TITLE:=SoftHangup application
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-softhangup/description
$(call Package/asterisk18-mod/Default/description)
This package contains the SoftHangup support module for Asterisk.
endef
define Package/asterisk18-mod-app-meetme
$(call Package/asterisk18-mod/Default)
TITLE:=conferencing support
DEPENDS:= asterisk18-mod +dahdi-tools-libtonezone +dahdi
endef
define Package/asterisk18-mod-app-meetme/description
$(call Package/asterisk18-mod/Default/description)
This package provides the MeetMe application driver Conferencing support to
Asterisk.
endef
define Package/asterisk18-mod-chan-iax2
$(call Package/asterisk18-mod/Default)
TITLE:=IAX support
DEPENDS:= asterisk18-mod +asterisk18-res-crypto
endef
define Package/asterisk18-mod-chan-iax2/description
$(call Package/asterisk18-mod/Default/description)
This package provides IAX support to
Asterisk.
endef
define Package/asterisk18-mod-cdr
$(call Package/asterisk18-mod/Default)
TITLE:=CDR support
DEPENDS:= asterisk18-mod +libsqlite3
endef
define Package/asterisk18-mod-cdr/description
$(call Package/asterisk18-mod/Default/description)
This package provides Call Detail Record support to
Asterisk.
endef
define Package/asterisk18-mod-res-musiconhold
$(call Package/asterisk18-mod/Default)
TITLE:=MOH support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-musiconhold/description
$(call Package/asterisk18-mod/Default/description)
This package provides Music On Hold support to
Asterisk.
endef
define Package/asterisk18-mod-res-voice
$(call Package/asterisk18-mod/Default)
TITLE:=Voice client/pbx support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-voice/description
$(call Package/asterisk18-mod/Default/description)
This package provides Voice Client/pbx support to
Asterisk.
endef
define Package/asterisk18-mod-res-srtp
$(call Package/asterisk18-mod/Default)
TITLE:=SRTP support
DEPENDS:= asterisk18-mod libsrtp +asterisk18-mod-res-crypto
endef
define Package/asterisk18-mod-res-srtp/description
$(call Package/asterisk18-mod/Default/description)
This package provides SRTP support to
Asterisk.
endef
define Package/asterisk18-mod-res-stun
$(call Package/asterisk18-mod/Default)
TITLE:=STUN support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-queue
$(call Package/asterisk18-mod/Default)
TITLE:=Queue support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-gtalk
$(call Package/asterisk18-mod/Default)
TITLE:=GTalk support
DEPENDS:= asterisk18-mod +libiksemel
endef
define Package/asterisk18-mod-chan-gtalk/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_gtalk and res_jabber for GTalk
support to Asterisk.
endef
define Package/asterisk18-mod-res-timing-timerfd
$(call Package/asterisk18-mod/Default)
TITLE:= Timerfd Timing Interface
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-timing-pthread
$(call Package/asterisk18-mod/Default)
TITLE:= pthread Timing Interface
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-fax
$(call Package/asterisk18-mod/Default)
TITLE:=Generic FAX Resource for FAX technology resource modules
DEPENDS:= asterisk18-mod +asterisk18-mod-res-timing-pthread
endef
define Package/asterisk18-mod-res-fax-spandsp
$(call Package/asterisk18-mod/Default)
TITLE:=Spandsp T.38 and G.711 FAX Resource
DEPENDS:= asterisk18-mod +asterisk18-mod-res-fax +libspandsp
endef
define Package/asterisk18-mod-chan-mgcp
$(call Package/asterisk18-mod/Default)
TITLE:=MGCP channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-mgcp/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_mgcp support to Asterisk.
endef
define Package/asterisk18-mod-chan-skinny
$(call Package/asterisk18-mod/Default)
TITLE:=Skinny channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-skinny/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_skinny support to Asterisk.
endef
define Package/asterisk18-mod-chan-brcm
$(call Package/asterisk18-mod/Default)
TITLE:=Broadcom channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-brcm/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_brcm support to Asterisk.
endef
define Package/asterisk18-mod-curl
$(call Package/asterisk18-mod/Default)
TITLE:=CURL support
DEPENDS:= asterisk18-mod +libcurl
endef
define Package/asterisk18-mod-curl/description
$(call Package/asterisk18-mod/Default/description)
This package provides CURL
support to Asterisk.
endef
define Package/asterisk18-mod-mysql
$(call Package/asterisk18-mod/Default)
TITLE:=MySQL support
DEPENDS:= asterisk18-mod +PACKAGE_asterisk18-mysql:libmysqlclient
endef
define Package/asterisk18-mod-mysql/description
$(call Package/asterisk18-mod/Default/description)
This package provides MySQL
support to Asterisk.
endef
define Package/asterisk18-mod-chan-lantiq
$(call Package/asterisk18-mod/Default)
TITLE:=Lantiq TAPI support
DEPENDS:= asterisk18-mod $(LTQ_TAPI_DEPENDS)
URL:=http://git.nanl.de/?p=asterisk_channel_lantiq.git
MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
endef
define Package/asterisk18-mod-chan-lantiq/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_lantiq support to Asterisk.
endef
CONFIGURE_ARGS+= \
--without-inotify
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-app-meetme),)
CONFIGURE_ARGS+= \
--with-dahdi="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-dahdi
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-chan-gtalk),)
CONFIGURE_ARGS+= \
--with-gnutls="$(STAGING_DIR)/usr" \
--with-iksemel="$(STAGING_DIR)/usr"
SITE_VARS+= \
ac_cv_lib_iksemel_iks_start_sasl=yes \
ac_cv_lib_gnutls_gnutls_bye=yes
else
CONFIGURE_ARGS+= \
--without-gnutls \
--without-iksemel
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-curl),)
CONFIGURE_ARGS+= \
--with-curl="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-curl
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-mysql),)
CONFIGURE_ARGS+= \
--with-mysqlclient="$(STAGING_DIR)/usr/bin"
else
CONFIGURE_ARGS+= \
--without-mysqlclient
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-res-fax-spandsp),)
CONFIGURE_ARGS+= \
--with-spandsp="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-spandsp
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-res-srtp),)
CONFIGURE_ARGS+= \
--with-srtp="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-srtp
endif
ifeq ($(CONFIG_TARGET_IBOARDID),"D301")
EXTRA_CFLAGS += -DNTR_SUPPORT
endif
CONFIGURE_ARGS+= \
--without-curses \
--with-gsm=internal \
--without-cap \
--without-gtk \
--without-gtk2 \
--without-isdnnet \
--without-kde \
--without-misdn \
--without-nbs \
--with-ncurses="$(STAGING_DIR)/usr" \
--without-netsnmp \
--without-newt \
--without-odbc \
--without-ogg \
--without-osptk \
--with-popt="$(STAGING_DIR)/usr" \
--without-pri \
--without-qt \
--without-radius \
--without-sdl \
--without-suppserv \
--without-tds \
--without-termcap \
--without-tinfo \
--without-vorbis \
--without-vpb \
--with-z="$(STAGING_DIR)/usr" \
--with-sounds-cache="$(DL_DIR)" \
--disable-xmldoc
# I've had strange errors with -fno-caller-saves
# in global CFLAGS so revert it. /Ronny
EXTRA_CFLAGS+= -O2 -fcaller-saves
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
define Build/Prepare
$(call Build/Prepare/Default)
ifneq ($(CONFIG_TARGET_lantiq),)
$(CP) ./src-lantiq/* $(PKG_BUILD_DIR)/
endif
endef
define Build/Configure
-rm $(PKG_BUILD_DIR)/menuselect.makeopts
$(call Build/Configure/Default,,$(SITE_VARS))
endef
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
include/asterisk/version.h \
include/asterisk/buildopts.h defaults.h \
makeopts.embed_rules
ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
$(MAKE) -C "$(PKG_BUILD_DIR)" \
ASTVARLIBDIR="/usr/lib/asterisk" \
ASTDATADIR="/usr/lib/asterisk" \
ASTKEYDIR="/usr/lib/asterisk" \
ASTDBDIR="/usr/lib/asterisk" \
NOISY_BUILD="1" \
DEBUG="" \
OPTIMIZE="" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install samples
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
endef
define Package/asterisk18-mod/conffiles
/etc/asterisk/asterisk.conf
/etc/asterisk/modules.conf
/etc/asterisk/extensions.conf
/etc/asterisk/sip.conf
/etc/asterisk/sip_notify.conf
/etc/asterisk/features.conf
/etc/asterisk/indications.conf
/etc/asterisk/logger.conf
/etc/asterisk/manager.conf
/etc/asterisk/rtp.conf
/etc/default/asterisk
/etc/init.d/asterisk
endef
define Package/asterisk18-mod/install
$(INSTALL_DIR) $(1)/etc/asterisk/ssl
for f in asterisk extensions features \
indications logger manager modules \
sip sip_notify rtp; do \
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
done
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
for f in app_dial app_echo app_playback app_macro \
chan_sip res_rtp_asterisk res_rtp_multicast \
codec_ulaw codec_gsm \
format_gsm format_pcm format_wav format_wav_gsm \
pbx_config \
func_strings func_timeout func_callerid func_logic; do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
done
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/asterisk.hotplug $(1)/etc/hotplug.d/iface/80-asterisk
endef
define Package/asterisk18-mod-sounds/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
rm -f $(1)/usr/lib/asterisk/sounds/vm-*
rm -f $(1)/usr/lib/asterisk/sounds/conf-*
endef
define Package/asterisk18-mod-voicemail/conffiles
/etc/asterisk/voicemail.conf
endef
define Package/asterisk18-mod-voicemail/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_smdi.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
define Package/asterisk18-mod-app-meetme/conffiles
/etc/asterisk/meetme.conf
endef
define Package/asterisk18-mod-app-meetme/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
define Package/asterisk18-mod-chan-iax2/conffiles
/etc/asterisk/iax.conf
/etc/asterisk/iaxprov.conf
endef
define Package/asterisk18-mod-cdr/conffiles
/etc/asterisk/cdr.conf
/etc/asterisk/cdr_custom.conf
/etc/asterisk/cdr_manager.conf
/etc/asterisk/cdr_odbc.conf
/etc/asterisk/cdr_pgsql.conf
/etc/asterisk/cdr_tds.conf
endef
define Package/asterisk18-mod-res-musiconhold/conffiles
/etc/asterisk/musiconhold.conf
endef
define Package/asterisk18-mod-chan-iax2/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-cdr/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-musiconhold/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-voice/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_voice.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-gtalk/conffiles
/etc/asterisk/gtalk.conf
/etc/asterisk/jabber.conf
endef
define Package/asterisk18-mod-chan-gtalk/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-timing-timerfd/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_timerfd.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-timing-pthread/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_pthread.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-fax/conffiles
/etc/asterisk/res_fax.conf
endef
define Package/asterisk18-mod-res-fax/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_fax.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-fax-spandsp/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax_spandsp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-mgcp/conffiles
/etc/asterisk/mgcp.conf
endef
define Package/asterisk18-mod-chan-mgcp/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/mgcp.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-skinny/conffiles
/etc/asterisk/skinny.conf
endef
define Package/asterisk18-mod-chan-skinny/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/skinny.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_skinny.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-brcm/conffiles
/etc/asterisk/brcm.conf
endef
define Package/asterisk18-mod-chan-brcm/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/brcm.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_brcm.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-curl/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-transfer/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_transfer.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-softhangup/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_softhangup.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-mysql/conffiles
/etc/asterisk/app_mysql.conf
/etc/asterisk/res_config_mysql.conf
/etc/asterisk/cdr_mysql.conf
endef
define Package/asterisk18-mod-mysql/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/app_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_config_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_mysql.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_config_mysql.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-lantiq/conffiles
/etc/asterisk/lantiq.conf
endef
define Package/asterisk18-mod-chan-lantiq/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/lantiq.conf $(1)/etc/asterisk/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_lantiq.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-srtp/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_srtp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-stun/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_stun_monitor.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-queue/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_queue.so $(1)/usr/lib/asterisk/modules/
endef
define Buildasterisk18-modModuleTemplate
define Package/asterisk18-mod-$(subst _,-,$(1))
$$(call Package/asterisk18-mod/Default)
TITLE:=$(2) support
DEPENDS:= asterisk18-mod $(4)
endef
define Package/asterisk18-mod-$(subst _,-,$(1))/description
$$(call Package/asterisk18-mod/Default/description)
This package provides support $(3) in Asterisk.
endef
define Package/asterisk18-mod-$(subst _,-,$(1))/install
$(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
endef
$$(eval $$(call BuildPackage,asterisk18-mod-$(subst _,-,$(1))))
endef
$(eval $(call BuildPackage,asterisk18-mod))
$(eval $(call BuildPackage,asterisk18-mod-voicemail))
$(eval $(call BuildPackage,asterisk18-mod-sounds))
$(eval $(call BuildPackage,asterisk18-mod-app-meetme))
$(eval $(call BuildPackage,asterisk18-mod-app-transfer))
$(eval $(call BuildPackage,asterisk18-mod-app-softhangup))
$(eval $(call BuildPackage,asterisk18-mod-chan-iax2))
$(eval $(call BuildPackage,asterisk18-mod-cdr))
$(eval $(call BuildPackage,asterisk18-mod-res-musiconhold))
$(eval $(call BuildPackage,asterisk18-mod-res-voice))
$(eval $(call BuildPackage,asterisk18-mod-chan-gtalk))
$(eval $(call BuildPackage,asterisk18-mod-res-fax))
$(eval $(call BuildPackage,asterisk18-mod-res-fax-spandsp))
$(eval $(call BuildPackage,asterisk18-mod-res-timing-timerfd))
$(eval $(call BuildPackage,asterisk18-mod-res-timing-pthread))
$(eval $(call BuildPackage,asterisk18-mod-chan-mgcp))
$(eval $(call BuildPackage,asterisk18-mod-chan-skinny))
$(eval $(call BuildPackage,asterisk18-mod-chan-brcm))
$(eval $(call BuildPackage,asterisk18-mod-curl))
$(eval $(call BuildPackage,asterisk18-mod-mysql))
$(eval $(call BuildPackage,asterisk18-mod-chan-lantiq))
$(eval $(call BuildPackage,asterisk18-mod-res-srtp))
$(eval $(call BuildPackage,asterisk18-mod-res-stun))
$(eval $(call BuildPackage,asterisk18-mod-app-queue))
$(eval $(call Buildasterisk18-modModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
$(eval $(call Buildasterisk18-modModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
$(eval $(call Buildasterisk18-modModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
$(eval $(call Buildasterisk18-modModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
$(eval $(call Buildasterisk18-modModuleTemplate,app_exec,Exec application,support for application execution))
$(eval $(call Buildasterisk18-modModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
$(eval $(call Buildasterisk18-modModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
$(eval $(call Buildasterisk18-modModuleTemplate,app_read,Variable read,a trivial application to read a variable))
$(eval $(call Buildasterisk18-modModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
$(eval $(call Buildasterisk18-modModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
$(eval $(call Buildasterisk18-modModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi))
$(eval $(call Buildasterisk18-modModuleTemplate,app_system,System exec,support for executing system commands))
$(eval $(call Buildasterisk18-modModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
$(eval $(call Buildasterisk18-modModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
$(eval $(call Buildasterisk18-modModuleTemplate,app_while,While loop,a while loop implementation))
$(eval $(call Buildasterisk18-modModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
$(eval $(call Buildasterisk18-modModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_ilbc,iLBC,internet Low Bitrate Codec))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_gsm,GSM,GSM codec))
$(eval $(call Buildasterisk18-modModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
$(eval $(call Buildasterisk18-modModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
$(eval $(call Buildasterisk18-modModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
$(eval $(call Buildasterisk18-modModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
$(eval $(call Buildasterisk18-modModuleTemplate,func_db,Database interaction,functions for interaction with the database))
$(eval $(call Buildasterisk18-modModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
$(eval $(call Buildasterisk18-modModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
$(eval $(call Buildasterisk18-modModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
$(eval $(call Buildasterisk18-modModuleTemplate,func_global,Global variable,global variable dialplan functions))
$(eval $(call Buildasterisk18-modModuleTemplate,func_shell,Shell,support for shell execution))
$(eval $(call Buildasterisk18-modModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
$(eval $(call Buildasterisk18-modModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
$(eval $(call Buildasterisk18-modModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
$(eval $(call Buildasterisk18-modModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
$(eval $(call Buildasterisk18-modModuleTemplate,res_crypto,Provide Crypto,Cryptographic Signature capability))
$(eval $(call Buildasterisk18-modModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
$(eval $(call Buildasterisk18-modModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
$(eval $(call Buildasterisk18-modModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
$(eval $(call Buildasterisk18-modModuleTemplate,func_channel,Channel info,Channel info dialplan function))
$(eval $(call Buildasterisk18-modModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted))
$(eval $(call Buildasterisk18-modModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
$(eval $(call Buildasterisk18-modModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))
$(eval $(call Buildasterisk18-modModuleTemplate,app_disa,Direct Inward System Access,Direct Inward System Access))
$(eval $(call Buildasterisk18-modModuleTemplate,app_senddtmf,Send DTMF digits,Sends arbitrary DTMF digits))
$(eval $(call Buildasterisk18-modModuleTemplate,func_cut,CUT function,CUT function))
$(eval $(call Buildasterisk18-modModuleTemplate,res_clioriginate,Calls via CLI,Originate calls via the CLI))
$(eval $(call Buildasterisk18-modModuleTemplate,app_mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording))
$(eval $(call Buildasterisk18-modModuleTemplate,app_playtones,Playtones application,play a tone list))
$(eval $(call Buildasterisk18-modModuleTemplate,app_record,Record sound file,to record a sound file))

View File

@@ -1,4 +0,0 @@
## startup options for /etc/init.d/asterisk
ENABLE_ASTERISK="yes"
OPTIONS=""

View File

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

View File

@@ -1,56 +0,0 @@
#!/bin/sh /etc/rc.common
START=98
STOP=10
. /usr/share/libubox/jshn.sh
. /lib/functions/network.sh
USE_PROCD=1
NAME=asterisk
PROG=/usr/sbin/asterisk
DEFAULT=/etc/default/asterisk
CONFDIR=/etc/asterisk
init_asterisk() {
[ -f $DEFAULT ] && . $DEFAULT
[ -d /var/run/asterisk ] || mkdir -p /var/run/asterisk
[ -d /var/log/asterisk ] || mkdir -p /var/log/asterisk
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
# does the board have a fxs relay?
local fxsRelayGpio=$(db -q get hw.board.fxsRelayGpio)
if [ "$fxsRelayGpio" != "" ]; then
/sbin/brcm_fw_tool set -x $fxsRelayGpio -p 1
fi
}
service_triggers() {
procd_add_reload_trigger voice_client
}
start_service() {
init_asterisk
procd_open_instance
procd_set_param command "$PROG" -f
procd_set_param respawn
procd_close_instance
# service_start /usr/sbin/asterisk
}
reload_service() {
asterisk -rx "config reload $CONFDIR/sip.conf"
sleep 1
asterisk -rx "core reload"
asterisk -rx "dialplan reload"
asterisk -rx "brcm reload"
}
restart() {
reload
}
stop_service() {
service_stop /usr/sbin/asterisk
}

View File

@@ -1,47 +0,0 @@
#
# 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

@@ -1,66 +0,0 @@
#
# 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:=1.0.23
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=90aff0da98c626d58201c14c34b3b3a64878ceee
PKG_NAME:=dectmngr
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
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/dectmngr
CATEGORY:=Utilities
TITLE:=Broadcom endpoint test application
URL:=
DEPENDS:= +libevent2 +libjson +natalie-dect-h bcmkernel
endef
define Package/dectmngr/description
Dect proxy, manager and tools
endef
define Package/dectmngr/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_DIR) $(1)/etc/hotplug.d/
$(INSTALL_DIR) $(1)/etc/hotplug.d/dect
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/etc/dect/
$(INSTALL_DIR) $(1)/etc/config/
cp $(PKG_BUILD_DIR)/dectmngr $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/atohx $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectproxy $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectdbgd $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dect $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectcalib $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dect_testmode $(1)/usr/bin/
cp files/etc/init.d/* $(1)/etc/init.d/
cp files/etc/hotplug.d/dect/* $(1)/etc/hotplug.d/dect/
cp files/etc/dect/* $(1)/etc/dect/
cp files/etc/config/* $(1)/etc/config/
cp files/sbin/dectreg $(1)/sbin/
endef
$(eval $(call BuildPackage,dectmngr))

View File

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

Binary file not shown.

View File

@@ -1,15 +0,0 @@
#!/bin/sh
if [ "$ACTION" == "led_blink" ]; then
ubus call led.dect set '{"state":"notice"}'
fi
if [ "$ACTION" == "led_on" ]; then
ubus call led.dect set '{"state":"ok"}'
fi
if [ "$ACTION" == "led_off" ]; then
ubus call led.dect set '{"state":"off"}'
fi

View File

@@ -1,60 +0,0 @@
#!/bin/sh /etc/rc.common
START=97
STOP=10
USE_PROCD=1
DEST=
DEFAULT=
OPTIONS=""
start_service() {
# avoid fp timing problem
echo 1 > /proc/sys/kernel/printk_with_interrupt_enabled
# setup board specific dect parameters
cat /proc/nvram/rfpi | tr -d ' ' | atohx > /tmp/rfpi
cat /proc/nvram/fixed_emc | tr -d ' ' | atohx > /tmp/fixed_emc
cat /proc/nvram/bcm_def_freq | tr -d ' ' | atohx > /tmp/bcm_def_freq
DECTANTDIV=`db get hw.board.DectAntennaDiversity`
case "$DECTANTDIV" in
1|off) echo -ne "\x01" > /tmp/dect_antenna_diversity ;;
2) echo -ne "\x02" > /tmp/dect_antenna_diversity ;;
*) echo -ne "\x00" > /tmp/dect_antenna_diversity ;;
esac
if [ ! -f /etc/dect/nvs ]; then
cp /etc/dect/nvs_default /etc/dect/nvs
dd of=/etc/dect/nvs if=/tmp/rfpi conv=notrunc bs=1 seek=0
dd of=/etc/dect/nvs if=/tmp/fixed_emc conv=notrunc bs=1 seek=10
dd of=/etc/dect/nvs if=/tmp/bcm_def_freq conv=notrunc bs=1 seek=6
dd of=/etc/dect/nvs if=/tmp/dect_antenna_diversity conv=notrunc bs=1 seek=32
fsync /etc/dect/nvs
fi
# init dectproxy
dectproxy > /dev/null 2>&1 &
dectmngr > /tmp/dectmngr 2>&1 &
}
stop_service() {
killall -9 dectproxy
killall -9 dectmngr
}
restart_service() {
echo "restarting dect"
killall dectmngr
dectmngr > /tmp/dectmngr 2>&1 &
}
reload_service() {
# reload config
dect -c
}
service_triggers() {
procd_add_reload_trigger dect
}

View File

@@ -1,17 +0,0 @@
#!/bin/sh
# This script is likely not used. Just exit with
# an error and see if someone screems... If not,
# we can delete this file.
exit 1
[ -f /var/dectisregistering ] || {
touch /var/dectisregistering 2>/dev/null
/usr/bin/dectmngr -r
ubus call led.dect set '{"state" : "notice"}'
sleep 20
rm /var/dectisregistering 2>/dev/null
/usr/bin/dectmngr -s
ubus call led.dect set '{"state" : "ok"}'
}

View File

@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_VERSION:=1.2.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=13da1568d57b8e6732dadc16de828d64c81906b8
PKG_SOURCE_VERSION:=877fcbd58d0ead82dbbc4c65f0ad7f8c938fcf74
PKG_NAME:=dectmngr2
@@ -21,6 +21,7 @@ export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk

View File

@@ -1,92 +0,0 @@
#
# 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_NAME:=endptcfg
PKG_VERSION:=0.2
PKG_SOURCE_VERSION:=1194b05278bd0945ca5c76436e56617b86871a65
ifeq ($(CONFIG_ENDPT_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
PKG_SOURCE:=$(PKG_NAME)-$(BRCM_KERNEL_PROFILE)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_NAME:=endptcfg-open
else
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=git@private.inteno.se:endptcfg
PKG_SOURCE_PROTO:=git
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
BCMKERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
export BCMKERNEL_DIR
TARGET_LDFLAGS += $(BCMKERNEL_DIR)/userspace/private/apps/vodsl/telephonyProfiles/telephonyProfiles.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/voip/util/log/vodslLog.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/endpoint/endpoint_user.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/bos/bos.o \
-lpthread
TARGET_CFLAGS += -DFAKE_SSP
RSTRIP:=true
export BUILD_DIR
include $(INCLUDE_DIR)/package.mk
define Package/endptcfg
CATEGORY:=Utilities
TITLE:=Broadcom endpoint driver configuration application
URL:=
DEPENDS:=+libpthread bcmkernel
endef
define Package/endptcfg/description
Broadcom endpoint driver configuration application
endef
define Package/endptcfg/config
source "$(SOURCE)/Config.in"
endef
ifneq ($(CONFIG_ENDPT_OPEN),y)
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) LINUX_DIR=$(LINUX_DIR) LDFLAGS="$(TARGET_LDFLAGS)" CFLAGS="$(TARGET_CFLAGS) \
-I$(LINUX_DIR)/include \
-I$(STAGING_DIR)/usr/include \
-DRS_ENDIAN_TYPE=RS_BIG_ENDIAN \
-DBOS_OS_LINUXUSER -DBOS_CFG_TIME \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/broadcom/include/bcm963xx \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/endpt/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/codec \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_common/bos/publicInc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/casCtl/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_drivers/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/userspace/private/apps/vodsl/voip/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_common/bos/LinuxUser"
endef
else
define Build/Compile
endef
endif
define Package/endptcfg/install
$(INSTALL_DIR) $(1)/usr/bin
cp $(PKG_BUILD_DIR)/endptcfg $(1)/usr/bin/
endef
$(eval $(call BuildPackage,endptcfg))

0
endptcfg/Config.in → endptmngr/Config.in Normal file → Executable file
View File

66
endptmngr/Makefile Normal file
View File

@@ -0,0 +1,66 @@
#
# 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.2
PKG_SOURCE_VERSION:=0cb8accbac3355b97a17064ec7da010a2c42db7b
ifeq ($(CONFIG_ENDPT_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
PKG_SOURCE:=endptmngr-$(BRCM_KERNEL_PROFILE)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_NAME:=endptmngr-open
else
PKG_SOURCE_URL:=git@private.inteno.se:endptmngr
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_NAME:=endptmngr
endif
RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/endptmngr/config
source "$(SOURCE)/Config.in"
endef
define Package/endptmngr
CATEGORY:=Utilities
TITLE:=Brcmslic
URL:=
DEPENDS:= +libubox +ubus +libpicoevent +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen
endef
define Package/endptmngr/description
endptmngr
endef
ifeq ($(CONFIG_ENDPT_OPEN),y)
define Build/Compile
endef
endif
define Package/endptmngr/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/init.d/
cp $(PKG_BUILD_DIR)/files/etc/init.d/* $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endptmngr $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,endptmngr))

58
fatrace/Makefile Normal file
View File

@@ -0,0 +1,58 @@
#
# 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
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=fatrace
PKG_VERSION:=0.12
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=98af6019a4a1b478a6fa35f74528cb3cd404ae40
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.launchpad.net/fatrace
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
#PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
#PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
PKG_CONFIG_DEPENDS := CONFIG_KERNEL_FANOTIFY
include $(INCLUDE_DIR)/package.mk
define Package/fatrace
CATEGORY:=Utilities
TITLE:=Report system wide file access events
URL:=
DEPENDS := +@KERNEL_FANOTIFY
endef
define Package/fatrace/description
Report system wide file access events.
endef
MAKE_INSTALL_FLAGS += PREFIX="/"
define Package/fatrace/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/fatrace $(1)/sbin/
# $(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fatrace))

View File

@@ -0,0 +1,14 @@
diff --git a/fatrace.c b/fatrace.c
index 1c0899a..b7d1560 100644
--- a/fatrace.c
+++ b/fatrace.c
@@ -44,7 +44,8 @@
* http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1e2ee49f7
* O_LARGEFILE is usually 0, so hardcode it here
*/
-#define KERNEL_O_LARGEFILE 00100000
+//#define KERNEL_O_LARGEFILE 00100000
+#define KERNEL_O_LARGEFILE O_LARGEFILE
/* command line options */
static char* option_output = NULL;

View File

@@ -0,0 +1,12 @@
diff --git a/fatrace.c b/fatrace.c
index b7d1560..6179272 100644
--- a/fatrace.c
+++ b/fatrace.c
@@ -149,6 +149,7 @@ print_event(const struct fanotify_event_metadata *data,
printf ("%li.%06li ", event_time->tv_sec, event_time->tv_usec);
}
printf ("%s(%i): %s %s\n", procname, data->pid, mask2str (data->mask), pathname);
+ fflush(stdout);
}
/**

View File

@@ -19,20 +19,21 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=5.0.1
PKG_RELEASE:=RC0
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
BASE_PKG_VERSION:=5.1.1
PKG_RELEASE:=
PKG_VERSION:=$(BASE_PKG_VERSION)$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=4a0ebce9e55b0bd9b44bfe5e96e820336cc9dc0f
PKG_SOURCE_VERSION:=e8bf50630e6ba12dc2d223112643077c4db49189
ifeq ($(CONFIG_ICE_OPEN),y)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_SOURCE:=$(PKG_NAME)-$(TARGET_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
SKIPHASH=1
export SKIPHASH
else
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.inteno.se:ice-client.git
@@ -131,12 +132,12 @@ endef
ifeq ($(CONFIG_ICE_OPEN),y)
define Package/ice-client/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DIR) $(1)/usr
$(CP) $(PKG_BUILD_DIR)/bin/* $(1)/bin/
$(CP) $(PKG_BUILD_DIR)/etc/* $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/usr/* $(1)/usr/
#$(INSTALL_DIR) $(1)/bin
#$(INSTALL_DIR) $(1)/etc
#$(INSTALL_DIR) $(1)/usr
#$(CP) $(PKG_BUILD_DIR)/bin/* $(1)/bin/
#$(CP) $(PKG_BUILD_DIR)/etc/* $(1)/etc/
#$(CP) $(PKG_BUILD_DIR)/usr/* $(1)/usr/
endef
else
define Package/ice-client/install

View File

@@ -15,33 +15,21 @@ config CWMP_ACS_HDM
bool "HDM"
endchoice
choice
prompt "Select Data Model"
default tr098
config DATAMODEL_TR098
bool "TR-098"
config DATAMODEL_TR181
bool "TR-181"
endchoice
config CWMP_DEBUG
bool "Compile with debug options"
default y
choice
prompt "enable xmpp feature"
default disable
config XMPP_DISABLE
bool "disable"
config XMPP_ENABLE
bool "enable"
endchoice
bool "enable xmpp feature"
default n
config CWMP_DEVEL_DEBUG
bool "Compile with development debug options"
default n
config LIBDATAMODEL_VENDOR_PREFIX
string "Vendor Prefix"
default "X_Inteno_SE_"
endif

View File

@@ -0,0 +1,7 @@
if PACKAGE_libdatamodel
config UPNP_TR064
bool "Compile with tr064 features"
default n
endif

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2017-11-24
PKG_VERSION:=4.0-2018-09-03
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=d74b88913f676ebf9a210c4674555d080e57ff52
PKG_SOURCE_VERSION:=fe324dbae2c8dbcfb55555dee9b3700280151aa1
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -30,11 +30,32 @@ CWMP_REVISION=$(shell svnversion ./src/ -n|cut -f2 -d:)
include $(INCLUDE_DIR)/package.mk
define Package/libdatamodel
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Library for broadband-forum data model
DEPENDS:=+libuci +libubox +libubus +libblobmsg-json +libjson-c
endef
define Package/icwmp_stun
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 stun Client
DEPENDS:=+libubus +libuci +libubox +libjson-c +libopenssl +libblobmsg-json
endef
define Package/icwmp_xmpp
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 xmpp feature
DEPENDS:=+libuci +libubox +libexpat +libstrophe
endef
define Package/icwmp/Default
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CWMP client
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +libexpat +libstrophe +curl +libtrace
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +libexpat +libstrophe +curl +libtrace +libdatamodel
endef
define Package/icwmp/description
@@ -56,7 +77,11 @@ define Package/icwmp-zstream
endef
define Package/icwmp-zstream/config
source "$(SOURCE)/Config.in"
source "$(SOURCE)/Config_cwmp.in"
endef
define Package/libdatamodel/config
source "$(SOURCE)/Config_datamodel.in"
endef
USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)
@@ -66,10 +91,12 @@ define Build/Prepare
endef
endif
ifeq ($(CONFIG_TARGET_IBOARDID),"EX400")
ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_CFLAGS += -DEX400
endif
TARGET_CFLAGS += -DCUSTOM_PREFIX=\\\"$(CONFIG_LIBDATAMODEL_VENDOR_PREFIX)\\\"
TARGET_CFLAGS += \
-D_GNU_SOURCE -D_AADJ
@@ -89,10 +116,17 @@ 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
CONFIGURE_ARGS += $(if $(CONFIG_DATAMODEL_TR181),--enable-datamodel=tr181,--enable-datamodel=tr098)
CONFIGURE_ARGS += $(if $(CONFIG_XMPP_ENABLE),--enable-xmpp=enable,--enable-xmpp=disable)
ifeq ($(CONFIG_UPNP_TR064),y)
CONFIGURE_ARGS += \
--enable-upnptr064
endif
ifeq ($(CONFIG_XMPP_ENABLE),y)
CONFIGURE_ARGS += \
--enable-xmpp
endif
ifeq ($(BUILD_VARIANT),zstream)
CONFIGURE_ARGS += \
--enable-http=zstream \
@@ -124,30 +158,62 @@ CONFIGURE_ARGS += \
--enable-devel
endif
define Package/libdatamodel/install
$(INSTALL_DIR) $(1)/lib
$(CP) $(PKG_BUILD_DIR)/bin/.libs/libdatamodel.so* $(1)/lib/
endef
define Package/icwmp-$(BUILD_VARIANT)/install
$(INSTALL_DIR) $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmpd $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/.libs/icwmpd $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/firewall.cwmp $(1)/etc/firewall.cwmp
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmpd.init $(1)/etc/init.d/icwmpd
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmpd.init $(1)/etc/init.d/icwmpd
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uci-defaults/90-cwmpfirewall $(1)/etc/uci-defaults/90-cwmpfirewall
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(CP) ./files/icwmp.hotplug $(1)/etc/hotplug.d/iface/90-icwmp
ifeq ($(CONFIG_CWMP_SCRIPTS_FULL),y)
$(INSTALL_DIR) $(1)/usr/share/icwmp
$(CP) $(PKG_BUILD_DIR)/scripts/defaults $(1)/usr/share/icwmp
$(CP) $(PKG_BUILD_DIR)/scripts/functions $(1)/usr/share/icwmp
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/icwmp.sh $(1)/usr/sbin/icwmp
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/iwepkeygen $(1)/usr/sbin/iwepkeygen
endif
$(CP) ./files/* $(1)/
endef
define Package/icwmp_stun/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_stund $(1)/usr/sbin/icwmp_stund
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_stund $(1)/etc/init.d/icwmp_stund
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_stun $(1)/etc/config
endef
define Package/icwmp_xmpp/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_xmppd $(1)/usr/sbin/icwmp_xmppd
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_xmppd $(1)/etc/init.d/icwmp_xmppd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_xmpp $(1)/etc/config
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/include/libdatamodel
$(CP) $(PKG_BUILD_DIR)/dm/*.h $(1)/usr/include/libdatamodel
$(CP) $(PKG_BUILD_DIR)/dm/dmtree/common/root.h $(1)/usr/include/libdatamodel
$(INSTALL_DIR) $(1)/lib
$(CP) $(PKG_BUILD_DIR)/bin/.libs/libdatamodel.so* $(1)/lib
$(CP) $(PKG_BUILD_DIR)/bin/.libs/libdatamodel.a $(1)/lib
endef
define Package/icwmp-$(BUILD_VARIANT)/postinst
#!/bin/sh
echo "$(CWMP_BKP_FILE)" >> $${IPKG_INSTROOT}/etc/sysupgrade.conf
@@ -169,4 +235,7 @@ endef
$(eval $(call BuildPackage,icwmp-curl))
$(eval $(call BuildPackage,libdatamodel))
$(eval $(call BuildPackage,icwmp_stun))
$(eval $(call BuildPackage,icwmp_xmpp))
$(eval $(call BuildPackage,icwmp-zstream))

View File

@@ -0,0 +1,77 @@
#!/bin/sh
. /lib/functions/network.sh
[ "$ACTION" == "ifup" ] || exit 0
[ -f /etc/config/cwmp ] || exit 0
handle_icwmp_restart() {
[ -f /tmp/switching_mode ] && exit 0
[ -f /tmp/wificontrol.txt -a -f /tmp/netmode-conf.pid ] && exit 0
[ "$INTERFACE" == "loopback" ] && exit 0
local defwan=$(uci -q get cwmp.cpe.default_wan_interface)
[ -n "$defwan" -a "$(uci -q get network.$defwan)" == "interface" -a "$defwan" != "$INTERFACE" ] && exit 0
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" == "1" ] && exit 0
local proto="$(uci -q get network.$INTERFACE.proto)"
[ "$proto" == "none" ] && exit 0
local ifname="$(uci -q get network.$INTERFACE.ifname)"
[ "${ifname:0:1}" == "@" ] && exit 0
mkdir -p /tmp/ipv4
network_flush_cache
local previpaddr=""
local curipaddr=""
local ipaddrfile=/tmp/ipv4/$INTERFACE-ipaddr
previpaddr=$(cat $ipaddrfile 2>/dev/null)
network_get_ipaddr curipaddr $INTERFACE
[ -n "$curipaddr" ] && echo $curipaddr > $ipaddrfile || rm -f $ipaddrfile
local prevgateway=""
local curgateway=""
local gatewayfile=/tmp/ipv4/$INTERFACE-gateway
prevgateway=$(cat $gatewayfile 2>/dev/null)
network_get_gateway curgateway $INTERFACE
[ -n "$curgateway" ] && echo $curgateway > $gatewayfile || rm -f $gatewayfile
local prevsubnets=""
local cursubnets=""
local subnetsfile=/tmp/ipv4/$INTERFACE-subnets
prevsubnets=$(cat $subnetsfile 2>/dev/null)
network_get_subnets cursubnets $INTERFACE
[ -n "$cursubnets" ] && echo $cursubnets > $subnetsfile || rm -f $subnetsfile
local prevdnsservers=""
local curdnsservers=""
local dnsserverfile=/tmp/ipv4/$INTERFACE-dnsservers
prevdnsservers=$(cat $dnsserverfile 2>/dev/null)
network_get_dnsserver curdnsservers $INTERFACE
[ -n "$curdnsservers" ] && echo $curdnsservers > $dnsserverfile || rm -f $dnsserverfile
local prevdev=""
local curdev=""
local devfile=/tmp/ipv4/$INTERFACE-dev
prevdev=$(cat $devfile 2>/dev/null)
network_get_device curdev $INTERFACE
[ -n "$curdev" ] && echo $curdev > $devfile || rm -f $devfile
[ \
"$prevdev" == "$curdev" -a \
"$previpaddr" = "$curipaddr" -a \
"$prevgateway" = "$curgateway" -a \
"$prevsubnets" = "$cursubnets" -a \
"$prevdnsservers" = "$curdnsservers" \
] && exit 0
/etc/init.d/icwmpd reload &
}
handle_icwmp_restart

View File

@@ -0,0 +1,44 @@
#!/bin/sh
. /lib/functions.sh
set_cwmp_reqopts() {
### Ask for DHCP Option 43 only if CWMP is enabled ###
local wan=$(uci -q get cwmp.cpe.default_wan_interface)
local dhcp_discovery=$(uci -q get cwmp.acs.dhcp_discovery)
local discovery=0
case $dhcp_discovery in
enable|1) discovery=1 ;;
esac
local newreqopts=
local baseopts=
local reqopts="$(uci -q get network.$wan.reqopts)"
local proto="$(uci -q get network.$wan.proto)"
local tropts="43"
local oldreqopts="$reqopts"
local ropt iopt
for ropt in $reqopts; do
case $ropt in
43) ;;
*) baseopts="$baseopts $ropt" ;;
esac
done
ropt=""
reqopts="$baseopts $tropts"
for ropt in $reqopts; do
case $ropt in
43) [ $discovery -eq 1 ] && newreqopts="$newreqopts $ropt" ;;
*) newreqopts="$newreqopts $ropt" ;;
esac
done
if [ "$proto" == "dhcp" ]; then
newreqopts="$(echo $newreqopts | tr ' ' '\n' | sort -n | tr '\n' ' ' | sed 's/^[ \t]*//;s/[ \t]*$//')"
oldreqopts="$(echo $oldreqopts | tr ' ' '\n' | sort -n | tr '\n' ' ' | sed 's/^[ \t]*//;s/[ \t]*$//')"
[ "$newreqopts" == "$oldreqopts" ] && return
uci -q set network.$wan.reqopts="$newreqopts"
uci commit network
fi
}
set_cwmp_reqopts

View File

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

36
ifbt/Makefile Normal file
View File

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

42
imonitor/Makefile Normal file
View File

@@ -0,0 +1,42 @@
#
# Copyright (C) 2018 Inteno
#
include $(TOPDIR)/rules.mk
PKG_NAME:=imonitor
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_SOURCE_PROTO=git
PKG_SOURCE_URL:=http://public.inteno.se/imonitor.git
PKG_SOURCE_VERSION:=532f4900862bcb45d8cd4bf37555fabda81750b6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=${PKG_NAME}-${PKG_VERSION}
PKG_MAINTAINER:=Sartura Support for Inteno <support-inteno@sartura.hr>
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/imonitor
CATEGORY:=Utilities
TITLE:=Inteno process supervisor
DEPENDS:=+ubox +uci +ubus +rpcd +rpcd-mod-file
endef
define Package/imonitor/description
imonitor is a process supervisor or a process control system similar to the Supervisor (http://supervisord.org/)
endef
define Package/imonitor/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/imonitor $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/config
endef
$(eval $(call BuildPackage,imonitor))

View File

@@ -0,0 +1,9 @@
config monitor
option app 'test'
option test 'echo test'
option stream 'stdout'
option string_match 'TEST'
option execute 'echo executing test'
option interval '10'
option nr_tests '2'

View File

@@ -0,0 +1,29 @@
#!/bin/sh /etc/rc.common
#
# Start the imonitor
#
START=99
STOP=01
USE_PROCD=1
NAME=imonitor
start_service() {
procd_open_instance
procd_set_param command "imonitor"
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param respawn
procd_close_instance
}
stop() {
service_stop imonitor
}
reload_service() {
stop
start
}

View File

@@ -12,7 +12,7 @@ PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
PKG_SOURCE_VERSION:=f81c146f0b07540877545e5ab644ec8e29905a4d
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/inbd

View File

@@ -5,31 +5,32 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=inteno-netmodes
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_VERSION:=0.2.0
PKG_SOURCE_VERSION:=fbd7dcfab03df19b3c32675940e0aee708c7cf75
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/netmoded
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/inteno-netmodes
CATEGORY:=Base system
DEPENDS:=+fping
TITLE:=Predefined Network Modes
CATEGORY:=Base system
DEPENDS:=+fping +ubus +libubox +libuci
TITLE:=Predefined Network Modes
endef
define Package/inteno-netmodes/description
Predefined Network Modes
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
endef
define Package/inteno-netmodes/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netmoded $(1)/sbin/
endef
$(eval $(call BuildPackage,inteno-netmodes))

View File

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

View File

@@ -0,0 +1,22 @@
#!/bin/sh
[ "$ACTION" == "ifup" -o "$ACTION" == "ifdown" ] || exit 0
interface_check() {
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" == "1" ] && exit 0
local proto="$(uci -q get network.$INTERFACE.proto)"
[ "$proto" == "none" ] && exit 0
local defroute="$(uci -q get network.$INTERFACE.defaultroute)"
[ "$defroute" == "0" ] && exit 0
}
interface_check
if [ -n "$(pidof testnet)" ]; then
testnet once
else
testnet &
fi

View File

@@ -5,10 +5,9 @@
. /lib/functions.sh
. /lib/functions/network.sh
local lockfile="/tmp/70-shiftrange.lock"
local restricted_nets=""
local all_nets=""
LOCKFILE="/tmp/70-shiftrange.lock"
RESTRICTED_NETS=""
ALL_NETS=""
#####
##### initial functions
@@ -30,8 +29,8 @@ initial_check()
finish()
{
lock -u $lockfile
rm -f $lockfile
lock -u $LOCKFILE
rm -f $LOCKFILE
}
# just one instance of this script at a time
@@ -41,13 +40,13 @@ just_one_instance()
local limit=10
#wait for the lock to become free
while [ -e $lockfile ] ; do
while [ -e $LOCKFILE ] ; do
sleep 1
counter=$((counter + 1))
[ "$counter" -gt "$limit" ] && exit 1
done
lock $lockfile
lock $LOCKFILE
trap finish EXIT INT TERM
}
@@ -95,7 +94,7 @@ next_network_address()
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local one=$((1 << (32-$prefix)))
local one="$((1 << (32-$prefix)))"
local new=$(($ip + $one))
local n1=$((($new & 0xFF000000) >> 24))
@@ -135,7 +134,7 @@ shift_range()
{
local net="$1"
while true ; do
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] && [ "$all_nets" == "${all_nets//$net/}" ]; then
if [ "$RESTRICTED_NETS" == "${RESTRICTED_NETS//$net/}" ] && [ "$ALL_NETS" == "${ALL_NETS//$net/}" ]; then
# found a net that is not in restricted nets nor in all nets
break
fi
@@ -150,8 +149,8 @@ shift_range()
##### parse all interfaces section
#####
# restricted_nets = all the IPs on wan interfaces
# all_nets = all the IPs on any interface
# RESTRICTED_NETS = all the IPs on wan interfaces
# ALL_NETS = all the IPs on any interface
parse_interface()
{
local interface=$1
@@ -165,13 +164,13 @@ parse_interface()
networks="$networks $(get_network_address $n)"
done
[ "$is_lan" != "1" ] && restricted_nets="$restricted_nets $networks"
all_nets="$all_nets $networks"
[ "$is_lan" != "1" ] && RESTRICTED_NETS="$RESTRICTED_NETS $networks"
ALL_NETS="$ALL_NETS $networks"
}
# parse all the interfaces
# get all the IPs on wan interfaces and store them in restrict_nets
# get all the IPs on all interfaces and store them in all_nets
# get all the IPs on all interfaces and store them in ALL_NETS
parse_interfaces()
{
config_foreach parse_interface "interface"
@@ -199,14 +198,14 @@ parse_lan()
for ip in $ips ; do
net="$(get_network_address $ip)"
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] ; then
if [ "$RESTRICTED_NETS" == "${RESTRICTED_NETS//$net/}" ] ; then
# net is not in restricted nets
# append ip to newips
[ -z "$newips" ] && newips="${ip%/*}" || newips="$newips ${ip%/*}"
continue
fi
#net is in restricted_nets
#net is in RESTRICTED_NETS
local newnet=$(shift_range $net)
local newip="$(first_host_in_network $newnet)"
# append newip to newips
@@ -229,7 +228,6 @@ parse_lans()
config_foreach parse_lan "interface"
}
#####
##### main
#####

View File

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

View File

@@ -3,321 +3,39 @@
START=10
USE_PROCD=1
TMPDIR=/var/netmodes
OLD_MODE_FILE=/var/netmodes/old_mode
NETMODED="/sbin/netmoded"
. /usr/share/libubox/jshn.sh
. /lib/network/config.sh
. /lib/functions.sh
. /lib/functions/netmode.sh
local modedir=$(uci -q get netmode.setup.dir)
[ -n "$modedir" ] || modedir="/etc/netmodes"
start_netmoded() {
procd_open_instance
procd_set_param command $NETMODED
get_device() {
local PORT_NAMES=$(db get hw.board.ethernetPortNames)
local PORT_ORDER=$(db get hw.board.ethernetPortOrder)
local cnt=1
local idx=0
procd_append_param command --verbose warning
procd_set_param stdout 1
procd_set_param stderr 1
local pnum=$(echo $PORT_NAMES | wc -w)
if [ $pnum -le 2 ]; then
PORT_NAMES=$(echo $PORT_NAMES | sed 's/LAN/LAN1/g')
fi
# get index of interface name
for i in $PORT_NAMES; do
if [ "$i" == "$1" ]; then
idx=$cnt
fi
cnt=$((cnt+1))
done
# get port name from index
cnt=1
for i in $PORT_ORDER; do
if [ "$cnt" == "$idx" ]; then
echo $i
fi
cnt=$((cnt+1))
done
}
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_foreach delete_netmode netmode
uci commit netmode
wan=$(get_device WAN)
lan1=$(get_device LAN1)
lan2=$(get_device LAN2)
lan3=$(get_device LAN3)
lan4=$(get_device LAN4)
lan5=$(get_device LAN5)
for file in $(find $modedir -type f); do
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "layer2_interface_ethernet" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
fi
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)
local keys lang desc exp exclude
for mode in $(ls $modedir); do
case "$mode" in
repeater*)
wlctl -i wl1 ap >/dev/null 2>&1 || ifconfig rai0 2>/dev/null | grep -q rai0 || continue
;;
esac
lang=""
desc=""
exp=""
uci -q set netmode.$mode=netmode
json_load "$(cat $modedir/$mode/DETAILS)"
if json_select excluded_boards; then
exclude=0
_i=1
while json_get_var board $_i; do
case "$hardware" in
$board)
uci -q delete netmode.$mode
exclude=1
break
;;
esac
_i=$((_i+1))
done
json_select ..
[ $exclude -eq 1 ] && continue
fi
if json_select acl; then
_i=1
while json_get_var user $_i; do
uci add_list netmode.$mode._access_r="$user"
_i=$((_i+1))
done
json_select ..
fi
json_select description
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var desc $lang
uci -q set netmode.$mode."desc_$lang"="$desc"
[ "$lang" == "en" ] && uci -q set netmode.$mode."desc"="$desc"
json_select ..
done
json_select ..
json_select explanation
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var exp $lang
uci -q set netmode.$mode."exp_$lang"="$exp"
[ "$lang" == "en" ] && uci -q set netmode.$mode."exp"="$exp"
json_select ..
done
json_select ..
json_get_var cred credentials
uci -q set netmode.$mode.askcred="$cred"
json_get_var ulb uplink_band
uci -q set netmode.$mode.uplink_band="$ulb"
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
config_get curmode setup curmode
[ -d /etc/netmodes/$curmode ] || {
[ "$(db -q get hw.board.hardware)" == "EX400" ] && uci -q set netmode.setup.curmode="routed_mtk" || uci -q set netmode.setup.curmode="routed_brcm"
}
uci commit netmode
}
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local netreload="$1"
local curmode conf repeaterready old_mode
config_load netmode
config_get curmode setup curmode
config_get repeaterready setup repeaterready "0"
if [ "$repeaterready" == "1" ] ; then
uci -q set netmode.setup.repeaterready="0"
uci commit netmode
fi
if [ "$curmode" == "repeater" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="repeater_mtk_5g_up_dual_down"
else
curmode="repeater_brcm_2g_up_dual_down"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
old_mode=`cat $OLD_MODE_FILE 2>/dev/null`
# if curmode has not changed do not copy configs
if [ "$curmode" == "$old_mode" ]; then
/etc/init.d/enviroment reload
return
fi
echo $curmode >$OLD_MODE_FILE
[ -d "/etc/netmodes/$curmode" ] || return
cp /etc/netmodes/$curmode/* /etc/config/
rm -f /etc/config/DETAILS
sync
local reboot=$(uci -q get netmode.$curmode.reboot)
local askcred=$(uci -q get netmode.$curmode.askcred)
if [ "$reboot" == "0" ]; then
/etc/init.d/enviroment reload
case "$curmode" in
routed*)
ubus call uci commit '{"config":"network"}'
;;
repeater*)
if [ -f /etc/init.d/omcproxy ]; then
/etc/init.d/omcproxy stop
fi
if [ "$netreload" != "0" ]; then
ubus call uci commit '{"config":"network"}'
fi
;;
esac
else
reboot &
fi
}
start_client_listener() {
local curmode repeaterready ulcpid
config_load netmode
config_get repeaterready setup repeaterready 0
ulcpid=$(ps | grep "ubus listen client" | grep -v grep | awk '{print$1}')
[ $repeaterready -eq 1 ] && {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
return
}
config_get curmode setup curmode
case "$curmode" in
repeater*)
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
;;
*)
pidof netmode-client-detect || /sbin/netmode-client-detect &
;;
esac
}
start_netmode_discover() {
local curmode repeaterready
killall -9 netmode-discover >/dev/null 2>&1
config_load netmode
config_get repeaterready setup repeaterready 0
[ $repeaterready -eq 1 ] && return
config_get curmode setup curmode
case "$curmode" in
repeater*)
/sbin/netmode-discover &
;;
esac
procd_set_param respawn
procd_close_instance
}
start_service() {
populate_netmodes
start_client_listener
start_netmode_discover
start_netmoded
start_netmode_tools
}
reload_service() {
switch_netmode "$1"
switch_netmode
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
start_client_listener
start_netmode_discover
start_netmoded
start_netmode_tools
}
stop_service() {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
killall -9 netmode-discover >/dev/null 2>&1
stop_netmode_tools
}
service_triggers()

View File

@@ -11,7 +11,8 @@
"excluded_boards" : [
"CG300",
"CG301",
"EX400"
"EX400",
"SDX810-AP"
],
"acl" : [
"admin",

View File

@@ -28,10 +28,39 @@ config interface 'iptv'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.100 atm1.1 $WAN.100 $LAN4'
option ifname 'ptm0.100 $WAN.100 $LAN4'
option defaultroute '0'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
config device 'atmwan'
option type 'untagged'
option ifname 'atm0'
option name 'atm0.1'
config device 'ptmwan'
option type 'untagged'
option ifname 'ptm0'
option name 'ptm0.1'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'
config device 'ethtv'
option type '8021q'
option name '$WAN.100'
option ifname '$WAN'
option vid '100'
option priority '0'
config device 'ptmtv'
option type '8021q'
option name 'ptm0.100'
option ifname 'ptm0'
option vid '100'
option priority '0'

View File

@@ -51,6 +51,7 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
@@ -90,4 +91,5 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl1'

View File

@@ -12,7 +12,8 @@
"CG300",
"CG301",
"EX400",
"F*"
"F*",
"SDX810-AP"
],
"acl" : [
"admin",

View File

@@ -28,7 +28,7 @@ config interface 'iptv'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.100 atm1.1 $WAN.100 $LAN4'
option ifname 'ptm0.100 $WAN.100 $LAN4'
option defaultroute '0'
config interface 'voip'
@@ -36,10 +36,53 @@ config interface 'voip'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.200 atm2.1 $WAN.200'
option ifname 'ptm0.200 $WAN.200'
option defaultroute '0'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
config device 'atmwan'
option type 'untagged'
option ifname 'atm0'
option name 'atm0.1'
config device 'ptmwan'
option type 'untagged'
option ifname 'ptm0'
option name 'ptm0.1'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'
config device 'ethtv'
option type '8021q'
option name '$WAN.100'
option ifname '$WAN'
option vid '100'
option priority '0'
config device 'ptmtv'
option type '8021q'
option name 'ptm0.100'
option ifname 'ptm0'
option vid '100'
option priority '0'
config device 'ethvoip'
option type '8021q'
option name '$WAN.200'
option ifname '$WAN'
option vid '200'
option priority '0'
config device 'ptmvoip'
option type '8021q'
option name 'ptm0.200'
option ifname 'ptm0'
option vid '200'
option priority '0'

View File

@@ -51,6 +51,7 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
@@ -90,4 +91,5 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl1'

View File

@@ -12,6 +12,7 @@
"DG40*",
"EG40*",
"EX40*",
"SDX*",
"F*"
],
"uplink_band" : "b",

View File

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

View File

@@ -13,3 +13,8 @@ config interface 'wan'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'

View File

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

View File

@@ -51,7 +51,7 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
@@ -89,5 +89,5 @@ config wifi-iface
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'
option ifname 'wl1'

View File

@@ -12,6 +12,7 @@
"DG40*",
"EG40*",
"EX40*",
"SDX*",
"F*"
],
"uplink_band" : "b",

View File

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

View File

@@ -13,3 +13,8 @@ config interface 'wan'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'

View File

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

View File

@@ -51,7 +51,7 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
@@ -104,5 +104,5 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'
option ifname 'wl1'

View File

@@ -7,6 +7,7 @@ config interface 'loopback'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option type 'bridge'
@@ -19,6 +20,7 @@ config interface 'wan'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'

View File

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

View File

@@ -12,6 +12,7 @@
"F*"
],
"uplink_band" : 'a',
"downlink_band" : 'a b',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -7,6 +7,7 @@ config interface 'loopback'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option type 'bridge'
@@ -19,6 +20,7 @@ config interface 'wan'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'

View File

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

View File

@@ -8,7 +8,8 @@
{ "sv" : "" }
],
"excluded_boards" : [
"EX4*"
"EX4*",
"SDX810-AP"
],
"credentials" : 0
}

View File

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

View File

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

View File

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

View File

@@ -27,3 +27,18 @@ config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
config device 'atmwan'
option type 'untagged'
option ifname 'atm0'
option name 'atm0.1'
config device 'ptmwan'
option type 'untagged'
option ifname 'ptm0'
option name 'ptm0.1'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'

View File

@@ -51,6 +51,7 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
@@ -90,4 +91,5 @@ config wifi-iface
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl1'

View File

@@ -11,20 +11,24 @@ config interface 'lan'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0.1 ra0 rai0'
option ifname 'eth0.1'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option hostname '$IOPHOSTNAME-$MAC'
option vendorid '$HARDWAREID-INTENO'
option reqopts '66 67 128 224'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'

View File

@@ -27,6 +27,7 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option wps_pbc 1
option ifname ra0
config wifi-device rai0
option band a
@@ -45,4 +46,5 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option wps_pbc 1
option ifname rai0

View File

@@ -0,0 +1,430 @@
#!/bin/sh
. /lib/functions.sh
. /usr/share/libubox/jshn.sh
NMTMPDIR=/var/netmodes
OLD_MODE_FILE=/var/netmodes/old_mode
SWITCHMODELOCK="/tmp/switching_mode"
MODEDIR=$(uci -q get netmode.setup.dir)
MTK=0
opkg list-installed | grep -q kmod-mt.*mtk && MTK=1
[ -n "$MODEDIR" ] || MODEDIR="/etc/netmodes"
toggle_firewall() {
local section=$1
local disable=$2
config_get name "$1" name
if [ "$name" == "wan" ]; then
uci -q set firewall.settings.disabled=$disable
if [ "$disable" == "1" ]; then
uci -q set firewall.$section.input="ACCEPT"
else
uci -q set firewall.$section.input="REJECT"
fi
uci -q commit firewall
fi
}
disable_firewall() {
config_load firewall
config_foreach toggle_firewall zone $1
/etc/init.d/firewall reload
}
is_inteno_macaddr()
{
macaddr=$1
echo $macaddr | grep -i -e "^00:22:07" \
-e "^02:22:07" \
-e "^44:D4:37" \
-e "^00:0C:07" \
-e "^02:0C:07" \
-e "^06:0C:07" \
-e "^00:0C:43" \
-e "^02:0C:43" \
-e "^06:0C:43" \
&& return
false
}
get_wifi_wet_interface() {
local ifname=""
handle_interface() {
[ -n "$ifname" ] && return
config_get mode "$1" mode
if [ "$mode" == "sta" -o "$mode" == "wet" ]; then
config_get ifname "$1" ifname
fi
}
config_load wireless
config_foreach handle_interface wifi-iface
echo "$ifname"
}
get_wifi_iface_cfgstr() {
get_cfgno() {
config_get ifname "$1" ifname
[ "$ifname" == "$2" ] && echo "wireless.$1"
}
config_load wireless
config_foreach get_cfgno wifi-iface $1
}
correct_uplink() {
local IFACE="$1"
local WANDEV="$(db -q get hw.board.ethernetWanPort)"
local WETIF="$(get_wifi_wet_interface)"
local link wetcfg wetnet wetmac
[ $MTK -eq 1 ] || WANDEV="$WANDEV.1"
[ -n "$IFACE" -a "$IFACE" != "$WANDEV" -a "$IFACE" != "$WETIF" ] && return
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
[ $MTK -eq 1 ] && link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
if [ ! -f /tmp/netmodes/uplink-macaddr-corrected ]; then
wetcfg="$(get_wifi_iface_cfgstr $WETIF)"
wetnet="$(uci -q get $wetcfg.network)"
wetmac="$(ifconfig $WETIF | grep HWaddr | awk '{print$NF}')"
if [ -d /sys/class/net/br-$wetnet ]; then
ifconfig br-$wetnet hw ether $wetmac
#touch -f /tmp/netmodes/uplink-macaddr-corrected
fi
fi
if [ "$link" == "up" ]; then
ubus call network.device set_state "{\"name\":\"$WETIF\", \"defer\":true}"
ubus call network.device set_state "{\"name\":\"$WANDEV\", \"defer\":false}"
else
ubus call network.device set_state "{\"name\":\"$WETIF\", \"defer\":false}"
ubus call network.device set_state "{\"name\":\"$WANDEV\", \"defer\":true}"
ubus call led.internet set '{"state" : "notice"}'
fi
}
switch_netmode() {
local newmode="$1"
[ -f /etc/config/netmode -a -d $MODEDIR ] || return
[ -n "$newmode" ] && uci -q set netmode.setup.curmode="$newmode"
local curmode conf old_mode
# NETMODE CONFIG #
config_load netmode
config_get curmode setup curmode
uci -q set netmode.setup.repeaterready="0"
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
if [ "$curmode" == "repeater" ]; then
if [ $MTK -eq 1 ]; then
curmode="repeater_mtk_5g_up_dual_down"
else
curmode="repeater_brcm_2g_up_dual_down"
fi
uci set netmode.setup.curmode="$curmode"
fi
if [ "$curmode" == "routed" ]; then
if [ $MTK -eq 1 ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
uci set netmode.setup.curmode="$curmode"
fi
uci commit netmode
# end of NETMODE CONFIG #
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/environment reload
return
fi
echo $curmode >$OLD_MODE_FILE
[ -d "/etc/netmodes/$curmode" ] || return
logger -s -p user.info -t $0 "[netmode] Copying /etc/netmodes/$curmode in /etc/config" >/dev/console
cp /etc/netmodes/$curmode/* /etc/config/
rm -f /etc/config/DETAILS
sync
local reboot=$(uci -q get netmode.$curmode.reboot)
if [ "$reboot" != "0" ]; then
reboot &
exit
fi
/etc/init.d/environment reload
case "$curmode" in
repeater*)
touch $SWITCHMODELOCK
logger -s -p user.info -t $0 "Switching to $curmode mode" > /dev/console
ubus call leds set '{"state" : "allflash"}'
[ -f /etc/init.d/omcproxy ] && /etc/init.d/omcproxy stop
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
ubus call network reload
wifi reload nodat
ubus call router.network reload
rm -f /tmp/netmodes/uplink-macaddr-corrected
correct_uplink
ubus call leds set '{"state" : "normal"}'
rm -f $SWITCHMODELOCK
;;
*)
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
ubus call uci commit '{"config":"network"}'
;;
esac
}
wificontrol_takes_over() {
local ret
[ -f /sbin/wificontrol ] || return
ubus call leds set '{"state" : "allflash"}'
if pidof wificontrol >/dev/null; then
ret=0
# let netmode-conf up to 20 seconds before switching mode
for tm in 2 4 6 8; do
if [ -f /tmp/wificontrol.txt ]; then
ret=1
break
fi
sleep $tm
done
# let netmode-conf take over
[ $ret -eq 1 ] && return 0
fi
return 1
}
wait_for_netmode_handler() {
for tm in 2 4 6 8; do
if [ ! -f $SWITCHMODELOCK ]; then
break
fi
sleep $tm
done
}
netmode_get_ip_type() {
[ -n "$(echo $1 | grep -E '^(192\.168|10\.|172\.1[6789]\.|172\.2[0-9]\.|172\.3[01]\.)')" ] && {
logger -t "[netmode]" "netmode_get_ip_type: ip $1 is private"
echo "private"
} || {
logger -t "[netmode]" "netmode_get_ip_type: ip $1 is public"
echo "public"
}
}
get_device_of() {
local PORT_NAMES=$(db get hw.board.ethernetPortNames)
local PORT_ORDER=$(db get hw.board.ethernetPortOrder)
local cnt=1
local idx=0
local pnum=$(echo $PORT_NAMES | wc -w)
if [ $pnum -le 2 ]; then
PORT_NAMES=$(echo $PORT_NAMES | sed 's/LAN/LAN1/g')
fi
# get index of interface name
for i in $PORT_NAMES; do
if [ "$i" == "$1" ]; then
idx=$cnt
fi
cnt=$((cnt+1))
done
# get port name from index
cnt=1
for i in $PORT_ORDER; do
if [ "$cnt" == "$idx" ]; then
echo $i
fi
cnt=$((cnt+1))
done
}
populate_netmodes() {
[ -f /etc/config/netmode -a -d $MODEDIR ] || return
local curmode
config_load netmode
config_get curmode setup curmode
mkdir -p $NMTMPDIR
if [ "$curmode" == "routed" ]; then
if [ $MTK -eq 1 ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
fi
echo $curmode > $OLD_MODE_FILE
delete_netmode() {
uci delete netmode.$1
}
config_foreach delete_netmode netmode
uci commit netmode
wan=$(get_device_of WAN)
lan1=$(get_device_of LAN1)
lan2=$(get_device_of LAN2)
lan3=$(get_device_of LAN3)
lan4=$(get_device_of LAN4)
lan5=$(get_device_of LAN5)
for file in $(find $MODEDIR -type f); do
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "layer2_interface_ethernet" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
fi
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)
local keys lang desc exp exclude
for mode in $(ls $MODEDIR); do
case "$mode" in
repeater*)
wlctl -i wl1 ap >/dev/null 2>&1 || ifconfig rai0 2>/dev/null | grep -q rai0 || continue
;;
esac
lang=""
desc=""
exp=""
uci -q set netmode.$mode=netmode
json_load "$(cat $MODEDIR/$mode/DETAILS)"
if json_select excluded_boards; then
exclude=0
_i=1
while json_get_var board $_i; do
case "$hardware" in
$board)
uci -q delete netmode.$mode
exclude=1
break
;;
esac
_i=$((_i+1))
done
json_select ..
[ $exclude -eq 1 ] && continue
fi
if json_select acl; then
_i=1
while json_get_var user $_i; do
uci add_list netmode.$mode._access_r="$user"
_i=$((_i+1))
done
json_select ..
fi
json_select description
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var desc $lang
uci -q set netmode.$mode."desc_$lang"="$desc"
[ "$lang" == "en" ] && uci -q set netmode.$mode."desc"="$desc"
json_select ..
done
json_select ..
json_select explanation
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var exp $lang
uci -q set netmode.$mode."exp_$lang"="$exp"
[ "$lang" == "en" ] && uci -q set netmode.$mode."exp"="$exp"
json_select ..
done
json_select ..
json_get_var cred credentials
uci -q set netmode.$mode.askcred="$cred"
json_get_var ulb uplink_band
uci -q set netmode.$mode.uplink_band="$ulb"
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
config_get curmode setup curmode
[ -d /etc/netmodes/$curmode ] || {
[ $MTK -eq 1 ] && uci -q set netmode.setup.curmode="routed_mtk" || uci -q set netmode.setup.curmode="routed_brcm"
}
uci commit netmode
}
start_netmode_tools() {
local curmode repeaterready
killall -9 wificontrol >/dev/null 2>&1
killall -9 netmode-discover >/dev/null 2>&1
config_load netmode
config_get_bool repeaterready setup repeaterready 0
[ $repeaterready -eq 1 ] && {
/sbin/netmode-discover &
/sbin/wificontrol --repeater &
return
}
config_get curmode setup curmode
case "$curmode" in
repeater*)
/sbin/netmode-discover &
/sbin/wificontrol --repeater &
;;
esac
}
stop_netmode_tools() {
killall -9 netmode-discover >/dev/null 2>&1
killall -9 wificontrol >/dev/null 2>&1
}

View File

@@ -5,7 +5,10 @@
. /usr/share/libubox/jshn.sh
local action ipaddr macaddr network
action=
ipaddr=
macaddr=
network=
timed_check() {
while true; do
@@ -48,7 +51,7 @@ while true ; do
json_get_var network network "lan"
if is_inteno_macaddr $macaddr; then
echo "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
logger -s -p user.info -t $0 "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
/sbin/wificontrol --router --destination $ipaddr
fi

View File

@@ -2,11 +2,24 @@
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
. /lib/functions/netmode.sh
state="exit"
TMPPATH="/tmp/netmode_config_backup"
CURMODE=""
SLEEPTIME=300
pid_file=/tmp/netmode-conf.pid
echo "$$" >$pid_file
cleanup(){
rm -rf $pid_file
# we need to trigger a reload of icwmp but ONLY if ip or device has changed
[ -f "/etc/hotplug.d/iface/90-icwmp" ] && INTERFACE=wan ACTION=ifup sh /etc/hotplug.d/iface/90-icwmp
exit
}
trap cleanup SIGHUP SIGINT SIGTERM SIGSTOP
set_wireless_values() {
local iface_num="$1"
@@ -86,6 +99,7 @@ restore() {
uci set juci.juci.homepage='netmode-wizard'
uci commit juci
cp $TMPPATH/* /etc/config/
sync
uci set netmode.setup.curmode=$CURMODE
uci commit netmode
ubus call network reload
@@ -108,22 +122,18 @@ backup() {
file="$1"
from_gui="$2"
[ -f "$file" ] || exit
[ -f "$file" ] || cleanup
# let netmode-handler up to 20 seconds to finish switching mode
for tm in 2 4 6 8; do
if [ ! -f /tmp/switching_mode ]; then
break
fi
sleep $tm
done
wait_for_netmode_handler
[ "$from_gui" == "true" ] && backup
json_load "`cat $file`"
json_select "wifi_ifaces"
local curmode repmode
curmode=""
repmode=""
config_load netmode
config_get curmode setup curmode
@@ -138,14 +148,20 @@ case $curmode in
;;
esac
local apcliband="a"
apcliband="a"
case $curmode in
*_2g_*) apcliband="b";;
esac
i=1
local dummy band ssid key encryption device iface_num
dummy=
band=
ssid=
key=
encryption=
device=
iface_num=
while json_get_var dummy $i; do
json_select $i
@@ -157,14 +173,14 @@ done
[ "$apcliband" == "$band" -o "$band" == "" ] || {
[ "$from_gui" == "true" ] && restore "back"
exit
cleanup
}
repeater_iface_num=$(uci -q show wireless | grep -e ".mode='wet'" -e ".mode='sta'" | sed 's/.*\[\([0-9]\)\].*/\1/')
[ -z "$repeater_iface_num" ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
cleanup
}
json_get_var ssid ssid
@@ -177,8 +193,8 @@ json_load "`cat $file`"
json_select "wifi_ifaces"
config_load wireless
local b_num=0
local a_num=0
b_num=0
a_num=0
i=1
while json_get_var dummy $i; do
@@ -193,7 +209,7 @@ while json_get_var dummy $i; do
a_num=$((a_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
cleanup
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
get_device "b" device
@@ -201,7 +217,7 @@ while json_get_var dummy $i; do
b_num=$((b_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
cleanup
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
else
@@ -218,7 +234,7 @@ while json_get_var dummy $i; do
esac
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
cleanup
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
fi
@@ -251,8 +267,9 @@ uci commit wireless
if [ "$from_gui" == "true" ]; then
# check for connectivity
wifi reload
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
i=$SLEEPTIME;
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
correct_uplink
i=$SLEEPTIME
while [ $i -gt 0 ]; do
ip=`route -n | awk '/^0.0.0.0/{print $2}'`
@@ -264,7 +281,7 @@ if [ "$from_gui" == "true" ]; then
ping -w1 $ip
if [ $? -eq 0 ]; then
restore
exit
cleanup
else
i=$((i-10))
sleep 9
@@ -273,7 +290,7 @@ if [ "$from_gui" == "true" ]; then
restore "back"
else
if [ "$state" == "exit" ]; then
return
cleanup
fi
ubus call leds set '{"state":"allflash"}'
if [ "$state" == "apply" ]; then
@@ -283,6 +300,9 @@ else
# wifi reload
wifi reload
fi
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
correct_uplink
ubus call leds set '{"state":"normal"}'
fi
cleanup

View File

@@ -1,7 +1,5 @@
#!/bin/sh
local unlisted mac ipaddr netmask mask
mask_to_cidr() {
nbits=0
IFS=.
@@ -23,9 +21,14 @@ mask_to_cidr() {
}
while true; do
[ -e /sys/class/net/br-wan ] || {
sleep 5
continue
}
unlisted=0
ps | grep -q wifi | grep -q reload || {
ps | grep 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
@@ -35,10 +38,10 @@ while true; do
mask=$(mask_to_cidr $netmask)
}
if [ $unlisted -gt 0 -a -n "$ipaddr" -a -n "$netmask" ]; then
if [ $unlisted -gt 0 -a -n "$ipaddr" -a -n "$netmask" -a $mask -ge 24 ]; then
fping -c 1 -t 1000 -g $ipaddr/$mask -q >/dev/null 2>&1
fi
sleep 20
sleep 30
done

View File

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

View File

@@ -0,0 +1,3 @@
#!/bin/sh
netmode-conf "$1" "$2" &

View File

@@ -0,0 +1,257 @@
#!/bin/sh
. /lib/functions.sh
NETCON=0
TVCON=0
WANIP=0
LASTSTATUS=""
CURSTATUS=""
ETHWAN="$(db -q get hw.board.ethernetWanPort)"
SLEEP_TIME=30
enableCounter=0
AccessPolicy=0
get_wifi_iface_cfgstr() {
get_cfgno() {
config_get ifname "$1" ifname
[ "$ifname" == "$2" ] && echo "wireless.$1"
}
config_load wireless
config_foreach get_cfgno wifi-iface $1
}
ping_uplink()
{
local hasip hasdev hasmode
local ipaddr=""
local device=""
local rready=""
local wetif=""
local assoclist=""
local rv=0
[ -f /tmp/wps_client_mode_active ] && {
ubus call led.internet set '{"state" : "off"}'
return
}
ipaddr="$(ip r | grep default | awk '{print$3}')"
[ -n "$ipaddr" ] && hasip=1 || hasip=0
device="$(ip r | grep default | awk '{print$5}')"
[ -n "$device" ] && hasdev=1 || hasdev=0
rready="$(uci -q get netmode.setup.repeaterready)"
[ "$rready" == "1" ] && hasmode=0 || hasmode=1
if [ "$hasmode" == "1" ] && [ "$hasip" == "0" -o "$hasdev" == "0" ]; then
rv=0
elif [ "$hasmode" == "1" ]; then
arping -f -q -c1 -w3 -I $device $ipaddr
[ $? -eq 1 ] && rv=0 || rv=1
else
SLEEP_TIME=5
ubus call led.internet set '{"state" : "off"}'
return
fi
if [ $rv -eq 0 ]; then
echo "{ \"online\" : false }" > /tmp/internet_connection_status
SLEEP_TIME=10
wetif="$(uci -q get wireless.$(uci show wireless | grep 'mode=.*wet.*' | cut -d'.' -f2 | head -1).ifname)"
# If there is an uplink IP address but no connection for 5 minutes, reboot
if [ $enableCounter -gt 32 ]; then
logger -s -p user.info -t "testnet" "No uplink connection; reboot" >/dev/console
ubus call led.internet set '{"state" : "error"}'
reboot &
elif [ $((enableCounter % 8)) -eq 0 -a $enableCounter -ge 8 -o $enableCounter -eq 0 ]; then
ps | grep -v grep | grep -q 'wifi reload\|wifi import\|wifi.credentials\|iwpriv' && return
logger -s -p user.info -t "testnet" "No uplink connection; try to re-connect" >/dev/console
if [ -f /usr/sbin/wlctl ]; then
assoclist="$(wlctl -i $wetif assoclist | head -1 | awk '{print$2}')"
wlctl -i $wetif reassoc $assoclsit
elif [ -f /usr/sbin/iwpriv ]; then
wetcfg="$(get_wifi_iface_cfgstr $wetif)"
wetssid="$(uci -q get $wetcfg.ssid)"
wetkey="$(uci -q get $wetcfg.key)"
if [ -n "$wetkey" ]; then
wetauth="WPA2PSK"
wetenc="AES"
else
wetauth="OPEN"
wetenc="NONE"
fi
iwpriv $wetif set ApCliEnable=0
iwpriv $wetif set ApCliSsid="$wetssid"
iwpriv $wetif set ApCliAuthMode="$wetauth"
iwpriv $wetif set ApCliEncrypType="$wetenc"
iwpriv $wetif set ApCliWPAPSK="$wetkey"
iwpriv $wetif set ApCliEnable=1
iwpriv $wetif set ApCliAutoConnect=1
fi
ubus call led.internet set '{"state" : "notice"}'
# touch /tmp/netmodes/repeater_trying_to_connect
# else
# if [ -f /tmp/netmodes/repeater_trying_to_connect ]; then
# rm -f /tmp/netmodes/repeater_trying_to_connect
# else
# ubus call led.internet set '{"state" : "error"}'
# fi
fi
enableCounter=$((enableCounter+1))
if [ $AccessPolicy -eq 1 ]; then
return
fi
AccessPolicy=1
if [ -f /usr/sbin/iwpriv ]; then
grep -q up /sys/class/net/$ETHWAN/operstate 2>/dev/null || {
logger -s -p user.info -t "testnet" "Disconnect all stations and disable WiFi access on downlink wireless interfaces" >/dev/console
# Do not allow clients to connect on 2.4GHz radio
iwpriv ra0 set AccessPolicy=$AccessPolicy
# Do not allow clients to connect on 5GHz radio
iwpriv rai0 set AccessPolicy=$AccessPolicy
# Disconnect clients on 2.4GHz radio
iwpriv ra0 set DisConnectAllSta=2
# Disconnect clients on 5GHz radio
iwpriv rai0 set DisConnectAllSta=2
}
fi
else
grep -q "true" /tmp/internet_connection_status 2>/dev/null || logger -s -p user.info -t "testnet" "Uplink connection is gained" >/dev/console
echo "{ \"online\" : true }" > /tmp/internet_connection_status
ubus call led.internet set '{"state" : "eok"}'
SLEEP_TIME=5
enableCounter=0
if [ $AccessPolicy -eq 0 ]; then
return
fi
# Uplink working, allow clients to connect
AccessPolicy=0
if [ -f /usr/sbin/iwpriv ]; then
logger -s -p user.info -t "testnet" "Enable WiFi access on downlink wireless interfaces" >/dev/console
iwpriv ra0 set AccessPolicy=$AccessPolicy
iwpriv rai0 set AccessPolicy=$AccessPolicy
fi
fi
}
test_connection() {
local addr="$1"
local defroute="$(ip r | grep default | awk '{print$3}' | head -1)"
local def6route="$(ip -f inet6 r | grep default | awk '{print$3}')"
local ping6dev="$(ip -f inet6 r | grep default | awk '{print$5}')"
if [ -n "$addr" ]; then
ping -q -w 5 -c 1 $addr >/dev/null 2>&1 && return 0
elif [ -n "$defroute" ]; then
ping -q -w 5 -c 1 $defroute >/dev/null 2>&1 && return 0
for nmsrv in $(grep nameserver /var/resolv.conf.auto | awk '{print$2}'); do
ping -q -w 5 -c 1 $nmsrv >/dev/null 2>&1 && return 0
done
elif [ -n "$def6route" ] && [ -n "$ping6dev" ]; then
ndisc6 -w 5 -1 $def6route $ping6dev >/dev/null 2>&1 && return 0
fi
return 1
}
wan_have_ip() {
[ -d /sys/class/net/$ETHWAN ] || return
ubus list led.wan >/dev/null 2>&1 || return
local addr=$(ip a show dev $ETHWAN | grep "inet "| awk '{print $2}')
if [ -n "$addr" ]; then
WANIP=1
ubus call led.wan set '{"state" : "ok"}'
else
WANIP=0
fi
# don't set wan here status is set from hotplug, only set when ip is detected.
}
internet_test() {
local link dest
dest="$(uci -q get system.@system[0].netping_addr)"
test_connection $dest
if [ "$?" -eq 0 ]; then
NETCON=1
ubus call led.internet set '{"state" : "ok"}'
echo "{ \"online\" : true }" > /tmp/internet_connection_status
else
NETCON=0
ubus call led.internet set '{"state" : "error"}'
echo "{ \"online\" : false }" > /tmp/internet_connection_status
fi
}
iptvtest() {
ubus list led.ext >/dev/null 2>&1 && TVCON=1 || return
local dest="$(uci -q get system.@system[0].tvping_addr)"
test_connection $dest
if [ "$?" -eq 0 ]; then
TVCON=1
[ -n "$dest" ] && ubus call led.ext set '{"state" : "ok"}'
else
TVCON=0
[ -n "$dest" ] && ubus call led.ext set '{"state" : "off"}'
fi
}
netmode_check() {
local curmode="$(uci -q get netmode.setup.curmode)"
local uplinkband="$(uci -q get netmode.$curmode.uplink_band)"
local rready="$(uci -q get netmode.setup.repeaterready)"
[ "$rready" == "1" ] && uplinkband="a"
echo "$uplinkband"
}
connectivity_test() {
if [ "$(netmode_check)" != "" ]; then
ping_uplink
return
fi
SLEEP_TIME=30
internet_test
if [ $NETCON -eq 1 ]; then
CURSTATUS=1
[ "$CURSTATUS" == "$LASTSTATUS" ] || ubus send internet '{"status" : "online"}'
LASTSTATUS=1
else
CURSTATUS=0
[ "$CURSTATUS" == "$LASTSTATUS" ] || ubus send internet '{"status" : "offline"}'
LASTSTATUS=0
fi
}
if [ "$1" == "once" ]; then
connectivity_test
exit 0
fi
while true; do
connectivity_test
sleep $SLEEP_TIME
done

View File

@@ -129,12 +129,12 @@ case "$1" in
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
start-netmode-conf "$file" "$from_gui" >/dev/null 2>/dev/null
json_init
json_add_string "status" success
json_dump
netmode-conf "$file" "$from_gui" >/dev/null 2>&1 &
;;
esac
;;

7
iop-lla-libs/Config.in Normal file
View File

@@ -0,0 +1,7 @@
menu "Library options"
config IOP_LLA_LIBS_DEBUG
bool "Enable debug support"
default n
endmenu

131
iop-lla-libs/Makefile Normal file
View File

@@ -0,0 +1,131 @@
#
# Copyright (C) 2018 Iopsys
#
include $(TOPDIR)/rules.mk
PKG_NAME:=iop-lla-libs
PKG_VERSION:=1.0.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=9013a57cb78f7346e3636d1ff101a74c321cd4c3
PKG_SOURCE_URL:=http://public.inteno.se:/iop-lla-libs
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@inteno.se>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/iop-lla-libs
SECTION:=libs
CATEGORY:=Libraries
SUBMENU:=IOPSYS low level libraries
DEPENDS:=+libopenssl
endef
define Package/libwifi
$(call Package/iop-lla-libs)
TITLE:= WiFi library (libwifi)
endef
define Package/libdsl
$(call Package/iop-lla-libs)
TITLE:= XDSL library (libdsl)
endef
define Package/libethernet
$(call Package/iop-lla-libs)
TITLE:= Ethernet library (libethernet)
DEPENDS:=+TARGET_iopsys_ramips:swconfig
endef
define Package/iop-lla-libs/config
source "$(SOURCE)/Config.in"
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_PLATFORM=MEDIATEK
TARGET_CFLAGS +=-DIOPSYS_MEDIATEK
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
TARGET_PLATFORM=MARVELL
TARGET_CFLAGS +=-DIOPSYS_MARVELL
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
TARGET_PLATFORM=LANTIQ
TARGET_CFLAGS +=-DIOPSYS_LANTIQ
else
$(info (UNEXPECTED CONFIG TARGET))
endif
ifdef CONFIG_IOP_LLA_LIBS_DEBUG
TARGET_CFLAGS += -DIOP_LLA_LIBS_DEBUG
endif
subdirs := \
$(if $(CONFIG_PACKAGE_libwifi),libwifi) \
$(if $(CONFIG_PACKAGE_libdsl),libdsl) \
$(if $(CONFIG_PACKAGE_libethernet),libethernet)
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)" \
PLATFORM="$(TARGET_PLATFORM)" \
subdirs="$(subdirs)"
define Build/InstallDev/libwifi
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX $(1)"
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/wifi.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
endef
define Build/InstallDev/libdsl
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdsl/xdsl.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
endef
define Build/InstallDev/libethernet
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libethernet/ethernet.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so $(1)/usr/lib/
endef
define Build/InstallDev
$(foreach dir,$(subdirs),$(call Build/InstallDev/$(dir),$(1),$(2));)
endef
define Package/libwifi/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
endef
define Package/libethernet/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so* $(1)/usr/lib/
endef
define Package/libdsl/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libwifi))
$(eval $(call BuildPackage,libdsl))
$(eval $(call BuildPackage,libethernet))

View File

@@ -32,6 +32,8 @@ CONFIG_PACKAGE_ice-client-netrounds=m
CONFIG_PACKAGE_ice-client-rshell=m
CONFIG_PACKAGE_ice-client-texec=m
CONFIG_PACKAGE_icwmp-curl=y
CONFIG_PACKAGE_imonitor=y
CONFIG_PACKAGE_inbd=y
CONFIG_PACKAGE_inteno-netmodes=y
CONFIG_PACKAGE_iperf-mt=y
CONFIG_PACKAGE_ipset=y
@@ -42,35 +44,34 @@ CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iup=y
CONFIG_PACKAGE_iwatchdog=y
CONFIG_PACKAGE_juci=y
CONFIG_PACKAGE_juci-broadcom-dsl=y
CONFIG_PACKAGE_juci-broadcom-ethernet=y
CONFIG_PACKAGE_juci-broadcom-iptv=y
CONFIG_PACKAGE_juci-broadcom-pwrmgmt=y
CONFIG_PACKAGE_juci-broadcom-vlan=y
CONFIG_PACKAGE_juci-wireless=y
CONFIG_PACKAGE_juci-broadcom-xdsl=y
CONFIG_PACKAGE_juci-ddns=y
CONFIG_PACKAGE_juci-diagnostics=y
CONFIG_PACKAGE_juci-dnsmasq-dhcp=y
CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-ice-client=y
CONFIG_PACKAGE_juci-icwmp=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-inteno-backup=y
CONFIG_PACKAGE_juci-config-backup=y
CONFIG_PACKAGE_juci-mwan3=y
CONFIG_PACKAGE_juci-inteno-provisioning=y
CONFIG_PACKAGE_juci-inteno-qos=y
CONFIG_PACKAGE_juci-inteno-voice-client=y
CONFIG_PACKAGE_juci-iup=y
# CONFIG_PACKAGE_juci-qos is not set
CONFIG_PACKAGE_juci-voice-client=y
CONFIG_PACKAGE_juci-macdb=y
CONFIG_PACKAGE_juci-minidlna=y
CONFIG_PACKAGE_juci-mod-status=y
CONFIG_PACKAGE_juci-mod-system=y
CONFIG_PACKAGE_juci-natalie-dect=y
CONFIG_PACKAGE_juci-netmode=y
CONFIG_PACKAGE_juci-network-device=y
CONFIG_PACKAGE_juci-network-dsl=y
CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-network-port=y
CONFIG_PACKAGE_juci-openvpn=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-printer=y
CONFIG_PACKAGE_juci-realtime-graphs=y
@@ -86,7 +87,6 @@ CONFIG_PACKAGE_juci-utils=y
# CONFIG_PACKAGE_kmod-ipt-nathelper is not set
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-siit=y
CONFIG_PACKAGE_layer2interface=y
CONFIG_PACKAGE_libcgroup-daemon=y
CONFIG_PACKAGE_libcgroup=y
# CONFIG_PACKAGE_libcgroup-utils is not set
@@ -104,29 +104,34 @@ CONFIG_PACKAGE_mtd-utils-imagewrite=y
CONFIG_PACKAGE_mtd-utils-mkfs.jffs2=y
CONFIG_PACKAGE_mtd-utils-nanddump=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_nand-utils=y
CONFIG_PACKAGE_ndisc6=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_ntpd=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcpd=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_OPENSSL_WITH_COMPRESSION=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_p910nd=y
# CONFIG_PACKAGE_p910nd is not set
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
CONFIG_PACKAGE_ppp-mod-pppoa=y
CONFIG_PACKAGE_ppp-mod-pppoe=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
# CONFIG_PACKAGE_qos-scripts is not set
CONFIG_PACKAGE_questd=y
CONFIG_PACKAGE_rdisc6=y
CONFIG_PACKAGE_rdnssd=y
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rulengd=y
CONFIG_PACKAGE_samba3=y
CONFIG_PACKAGE_samba3-nmbd=y
CONFIG_PACKAGE_snmpd=y
@@ -142,6 +147,7 @@ CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wwan=y
CONFIG_PACKAGE_wlng=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-europe=y
@@ -151,6 +157,7 @@ CONFIG_TARGET_ROOTFS_TARGZ=y
CONFIG_USE_STRIP=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_ADDUSER=y
CONFIG_BUSYBOX_CONFIG_ARPING=y
CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT=y
CONFIG_BUSYBOX_CONFIG_CTTYHACK=y
CONFIG_BUSYBOX_CONFIG_DELUSER=y
@@ -158,9 +165,9 @@ CONFIG_BUSYBOX_CONFIG_DELUSER=y
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_INSMOD is not set
# CONFIG_BUSYBOX_CONFIG_MODINFO is not set
# CONFIG_BUSYBOX_CONFIG_MODPROBE is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST=y
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS=y
@@ -169,11 +176,11 @@ 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
# CONFIG_BUSYBOX_CONFIG_LSMOD is not set
CONFIG_BUSYBOX_CONFIG_LSPCI=y
CONFIG_BUSYBOX_CONFIG_LSUSB=y
CONFIG_BUSYBOX_CONFIG_MICROCOM=y
CONFIG_BUSYBOX_CONFIG_RMMOD=y
# CONFIG_BUSYBOX_CONFIG_RMMOD is not set
CONFIG_BUSYBOX_CONFIG_STTY=y
CONFIG_BUSYBOX_CONFIG_TFTP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES is not set
@@ -203,7 +210,11 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_PUT=y
# CONFIG_BUSYBOX_CONFIG_LOGIN_SESSION_AS_CHILD is not set
# CONFIG_BUSYBOX_CONFIG_PAM is not set
# CONFIG_BUSYBOX_CONFIG_TFTP_DEBUG is not set
# CONFIG_BUSYBOX_CONFIG_NTPD is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_NTPD_SERVER is not set
CONFIG_LIBCURL_CRYPTO_AUTH=y
# CONFIG_LIBCURL_MBEDTLS is not set
CONFIG_LIBCURL_OPENSSL=y
CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y
# CONFIG_SAMBA3_CONFIG_NO_PRINTING is not set
# CONFIG_SIGNED_PACKAGES is not set

View File

@@ -0,0 +1,15 @@
# CONFIG_PACKAGE_libcgroup-daemon is not set
# CONFIG_PACKAGE_libcgroup is not set
# CONFIG_PACKAGE_juci-broadcom-wl is not set
# CONFIG_PACKAGE_juci-minisnmpd is not set
# CONFIG_PACKAGE_juci-router-openwrt is not set
# CONFIG_PACKAGE_speedsvc is not set
# CONFIG_juci_broadcom_wl is not set
# CONFIG_juci_minisnmpd is not set
# CONFIG_juci_router_openwrt is not set
# CONFIG_PACKAGE_brcminfo is not set
CONFIG_PACKAGE_brcm_fw_tool=y

View File

@@ -0,0 +1,4 @@
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y

View File

@@ -0,0 +1,4 @@
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y

View File

@@ -0,0 +1,7 @@
CONFIG_BCM_I2C=y
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y
CONFIG_TARGET_NO_DSL=y

View File

@@ -0,0 +1,6 @@
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y
CONFIG_USE_DSL=y
CONFIG_TARGET_DSL_GFAST=y

View File

@@ -0,0 +1,6 @@
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y
CONFIG_USE_DSL=y
CONFIG_TARGET_DSL_GFAST=y

View File

@@ -0,0 +1,5 @@
# Disable kernel internal Dect. External Dect can still operate.
CONFIG_TARGET_NO_DECT=y
CONFIG_TARGET_NO_DSL=y

View File

@@ -0,0 +1,3 @@
CONFIG_TARGET_NO_DSL=y
CONFIG_BCM_I2C=y

View File

@@ -0,0 +1,16 @@
# CONFIG_PACKAGE_libcgroup-daemon is not set
# CONFIG_PACKAGE_libcgroup is not set
# CONFIG_PACKAGE_natalie-dect is not set
# CONFIG_PACKAGE_juci-broadcom-wl is not set
# CONFIG_PACKAGE_juci-minisnmpd is not set
# CONFIG_PACKAGE_juci-router-openwrt is not set
# CONFIG_PACKAGE_speedsvc is not set
# CONFIG_juci_broadcom_wl is not set
# CONFIG_juci_minisnmpd is not set
# CONFIG_juci_router_openwrt is not set
# CONFIG_PACKAGE_brcminfo is not set
CONFIG_PACKAGE_brcm_fw_tool=y

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