Compare commits

..

574 Commits

Author SHA1 Message Date
Oussama Ghorbel
0adf87e110 questd: upgrade to version 5.0.0
- use cmake
- implement feature #1535: system object model redesign
2020-01-21 15:15:39 +01:00
Strhuan Blomquist
be83b9b677 Delete cve-check.sh 2019-12-10 15:40:52 +01:00
Amin Ben Ramdhane
e247f50a38 bbf: 1.0-2019-12-10 2019-12-10 10:36:13 +01:00
Amin Ben Ramdhane
b71d08d543 libbfdm: add tr157 files to include repo 2019-12-10 10:09:28 +01:00
Amin Ben Ramdhane
550c0aa4b5 tr098: 1.0-2019-12-09 2019-12-09 18:11:49 +01:00
Amin Ben Ramdhane
5c7962b353 icwmp: 4.0-2019-12-07 2019-12-09 11:49:10 +01:00
Amin Ben Ramdhane
67a4246293 bbf: 1.0-2019-12-07 2019-12-09 11:46:45 +01:00
Amin Ben Ramdhane
3fbd6315a4 opkgd: add new package 2019-12-09 11:43:52 +01:00
vdutta
4143aeb032 ieee1905: 1905 meshcomms stack integration 2019-12-09 12:58:53 +05:30
Sukru Senli
f965eb801e icwmp:4.0-2019-12-02 2019-12-05 09:16:21 +01:00
Sukru Senli
5bfe6638e5 bbf: license is changed to LGPLv2.1 2019-12-04 09:55:07 +01:00
Jakob Olsson
21c21bf609 netmode: on revert write backup cfgs prior to commiting and restart network 2019-12-03 11:41:16 +01:00
Sukru Senli
abd2e29a85 icwmp-4.0-2019-12-02 2019-12-03 11:36:31 +01:00
Jakob Olsson
c0931baab2 owsd: include fix for memory leak on too many requests 2019-12-02 14:42:23 +01:00
Amin Ben Ramdhane
d515462ba9 icwmp: create a subpackage icwmp-tr098 for TR098 data model 2019-11-29 15:33:41 +01:00
Amin Ben Ramdhane
2573d76b4e icwmp: 4.0-2019-11-28 2019-11-28 23:10:53 +01:00
Amin Ben Ramdhane
e15f018362 bbf: 1.0-2019-11-11 2019-11-28 23:08:07 +01:00
Amin Ben Ramdhane
927bad6225 tr098: 1.0-2019-11-28 2019-11-28 23:06:19 +01:00
Anjan Chanda
bdcc74dca4 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 0accbd7 libwifi: intel: show chan utilization instead of load
-------------------------------------------------------------------------------
commit 0accbd7266b2742ad8921edd5dab974fc384a49a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-27 10:19:28 +0100

    libwifi: intel: show chan utilization instead of load

Base directory -> /
 libwifi/modules/intel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-11-27 10:21:45 +01:00
Anjan Chanda
d984398317 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 429988c libwifi: mtk: implement radio info api
* 8e66b90 libwifi: add radio diagnostic struct
-------------------------------------------------------------------------------
commit 429988cbd11edab826355f01b09f0588893b550a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-24 19:47:59 +0100

    libwifi: mtk: implement radio info api

Base directory -> /
 libwifi/modules/mtk.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/modules/mtk.h | 57 ++++++++++++++++++++++++++++++++++--
 libwifi/wifi.h        | 35 ++++++++--------------
 3 files changed, 148 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit 8e66b90aeadf95dd69dfc7e067e06073039e87c0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-22 16:45:41 +0100

    libwifi: add radio diagnostic struct

Base directory -> /
 libwifi/modules/mtk.c |  9 +++++++++
 libwifi/modules/mtk.h | 14 ++++++++++++++
 libwifi/wifi.h        | 18 +++++++++++-------
 3 files changed, 34 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2019-11-26 10:25:41 +01:00
Anjan Chanda
b78bb9d152 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 4b876cc show basic and supported rates in radio status
* aad1a26 add radio info details including diagnostics
-------------------------------------------------------------------------------
commit 4b876ccabc1df73202bfb165b35fd6464ed019aa
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-25 16:54:49 +0100

    show basic and supported rates in radio status

Base directory -> /
 wifimngr.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit aad1a26637b7a1429022d172af43847b2d28ae1c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-24 19:54:31 +0100

    add radio info details including diagnostics

Base directory -> /
 wifimngr.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 74 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2019-11-26 10:25:19 +01:00
Yalu Zhang
a652b67d04 Change line/channel names from tapi/1 and tapi/2 to tapi/0 and tapi1
Unsupported lines/channes like TAPI/[2-6], BRCM/6 are also removed.

This change has the following benefits.
- To simplify the line/channel name handling in /etc/init.d/voice_client
- To have the consistent implementation both on Intel and on Broadcom platforms

(cherry picked from commit 40c426ca09)
2019-11-25 16:17:18 +01:00
vdutta
0f85c77d41 meshcomms: Optimize meshcomms library 2019-11-15 17:44:19 +05:30
vdutta
2a2d942329 meshcomms: Remove compile time Endianness dependency 2019-11-15 13:26:32 +05:30
Anjan Chanda
db2cbd0db2 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* edaace5 libwifi: intel: fix bss utilization and sta count
-------------------------------------------------------------------------------
commit edaace5a36b0dcac66a0371b40a2bc7ed99b4119
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-14 12:24:35 +0100

    libwifi: intel: fix bss utilization and sta count

Base directory -> /
 libwifi/modules/intel.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
-------------------------------------------------------------------------------
2019-11-14 12:32:13 +01:00
vdutta
210bbb570b meshcomms: Add dynamic meshcomms library 2019-11-12 13:47:12 +05:30
Anjan Chanda
b4f129d582 Update feed [ iopsys ] package [ wifixd ]
-------------------------------------------------------------------------------
* cd63143 supported hwmode does not depend on current hwmode
-------------------------------------------------------------------------------
commit cd63143c262e079d4a782ccfa60111f342e42e3e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-11 12:56:13 +0100

    supported hwmode does not depend on current hwmode

Base directory -> /
 wifimngr.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
2019-11-11 12:59:20 +01:00
Anjan Chanda
34548bd901 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* d4e760c libwifi: intel: get maxassoc and hidden info in wifi_ap_info
* 703ce26 libwifi: bcm: get maxassoc and hidden info in wifi_ap_info
-------------------------------------------------------------------------------
commit d4e760c73a600749325b2cc6d5554696a6c956f8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-11 12:25:32 +0100

    libwifi: intel: get maxassoc and hidden info in wifi_ap_info

Base directory -> /
 libwifi/modules/intel.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 703ce26a3e884937ea520c624ee27b88d0991367
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-11 11:34:53 +0100

    libwifi: bcm: get maxassoc and hidden info in wifi_ap_info

Base directory -> /
 libwifi/modules/bcm.c | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-11-11 12:32:24 +01:00
Jakob Olsson
fe47b9a923 questd: print port speed when link is down #571 2019-11-08 14:24:42 +01:00
Ronny Nilsson
0edeb78d60 endptmngr: support parallell build. 2019-11-07 16:48:34 +01:00
Ronny Nilsson
05b8383f62 voice: modified dependencies again. Turns out we need both the old ones AND the new ones
Due to there are TWO dependency systems(!?). One for Kconfig and one for Make. And they
don't cooperate as good as one expects.
2019-11-07 16:48:00 +01:00
Strhuan Blomquist
3a6d301cfe added RTX to licenses info 2019-11-07 16:20:13 +01:00
Strhuan Blomquist
44bf5a6c33 added more info to PROPRIETARY tag 2019-11-07 16:18:10 +01:00
Kenneth Johansson
0f744a5cda genconfig: mirror var is CONFIG_LOCALMIRROR.
To get the use of the mirror to work.
2019-11-07 15:40:52 +01:00
Jakob Olsson
a8c7c8989f questd: relocate locks and move dump client invokes 2019-11-07 15:25:45 +01:00
Anjan Chanda
f14dc75e71 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 939b0ae rename 11xx_ caps to dot11xx_
* 381cd70 wifi_sta_disconnect() accepts macaddress in bytes
-------------------------------------------------------------------------------
commit 939b0ae989979a1ad1942373791fe230bc3e41ca
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-29 16:47:55 +0100

    rename 11xx_ caps to dot11xx_

Base directory -> /
 wifimngr.c | 144 ++++++++++++++++++-------------------------------------------
 1 file changed, 41 insertions(+), 103 deletions(-)
-------------------------------------------------------------------------------
commit 381cd70238230aa7fc56b85369f265272698165f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-09-23 09:26:41 +0200

    wifi_sta_disconnect() accepts macaddress in bytes

Base directory -> /
 wifimngr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-11-07 13:35:04 +01:00
Anjan Chanda
a218fa0130 libwifix: mtk: fix encryption type 2019-11-07 13:23:59 +01:00
Anjan Chanda
d21057904b Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 3ddc5af libwifi: mtk: fix cipher type in get_security
-------------------------------------------------------------------------------
commit 3ddc5af4c29e98c14424fd5d7ef15f72d31b53dc
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-07 12:01:54 +0100

    libwifi: mtk: fix cipher type in get_security

Base directory -> /
 libwifi/modules/mtk.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-11-07 13:14:13 +01:00
Sukru Senli
69aaece76b bbf: bump version to 1.0-2019-11-05 2019-11-07 12:51:50 +01:00
vdutta
167bfd2e49 easy_qos: Mark packets with iptables and classcfg 2019-11-06 15:21:45 +05:30
Sukru Senli
5ac828fc16 easy-qos: use prerouting chain instead of output 2019-11-06 08:28:26 +01:00
Anjan Chanda
da92efc708 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 63f749f libwifi: intel: populate fields in ap info
* 61ab677 libwifi: intel: implement add/del vendor ie
* b9026d6 libwifi: intel: implement monitor sta
-------------------------------------------------------------------------------
commit 63f749faa67670229a5cbaf39ee0fef92d8276f3
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-04 14:48:49 +0100

    libwifi: intel: populate fields in ap info

Base directory -> /
 libwifi/modules/intel.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 61ab677a480f2bc87e117c720d1ae32ff91b665e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-10 15:06:43 +0200

    libwifi: intel: implement add/del vendor ie

Base directory -> /
 libwifi/modules/intel.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
-------------------------------------------------------------------------------
commit b9026d620fba8df6f886dbb938383e1662f40ae5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-09 15:02:21 +0200

    libwifi: intel: implement monitor sta

Base directory -> /
 libwifi/modules/intel.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 72 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-11-04 15:18:19 +01:00
Anjan Chanda
ba98d3e7aa Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 878ad93 agent: do not trigger scan when ssid is blank
* 0172e3e Add LICENSE
* 2884e00 cppcheck: add 'check' target in Makefile
-------------------------------------------------------------------------------
commit 878ad93c0f1ad49bd187f776808e0b86402b2238
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-11-04 14:43:09 +0100

    agent: do not trigger scan when ssid is blank

Base directory -> /
 src/agent/agent.c | 67 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 37 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 0172e3e0ae6872f5568b02a820b0583f6d3b93af
Author: Strhuan Blomquist <strhuan@iopsys.eu>
Date: 2019-10-31 10:31:27 +0100

    Add LICENSE

Base directory -> /
 LICENSE | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
-------------------------------------------------------------------------------
commit 2884e003560880aec1b7264db8a653d718aaa047
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-29 16:33:02 +0100

    cppcheck: add 'check' target in Makefile

Base directory -> /
 src/Makefile           | 14 ++++++++++++++
 src/agent/agent.c      | 14 +++++++-------
 src/controller/cntlr.c |  6 +++++-
 src/utils/alloctrace.c |  4 ++--
 4 files changed, 28 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
2019-11-04 15:16:02 +01:00
Reidar Cederqvist
019a02fa7f asterisk: fix No call logs for internal calls
Remove the check of sip user so that the internal call can be parsed as call log.
2019-11-04 10:26:02 +01:00
Amin Ben Ramdhane
42d496107e bbf: 1.0-2019-11-02 2019-11-02 12:23:19 +01:00
vdutta
549378ecbd uspd: Updated readme document 2019-11-01 19:19:19 +05:30
vdutta
c0bef6ce70 meshcomms: Add lan in interface list 2019-11-01 17:26:09 +05:30
vdutta
97853638bf meshcomms: Broadcast received CMDUs as ubus event
Description:
 - Broadcast event format
   `{"address": "String", "version":Integer, "type":Integer, "mid":Integer, "relay":Integer, "data":"String"}`
 - Example event
 `{ "meshcomms": {"address":"34:e3:80:76:01:21","version":0,"type":2,"mid":24104,"relay":0,"data":"000000025e280080000000"} }`
 - Address in broadcast event is the received macaddress of CMDU
2019-11-01 15:16:20 +05:30
yyashvardhan
a968641bd1 ieee1905: Broadcast meshcomms event on ieee1905.event 2019-11-01 13:52:06 +05:30
Strhuan Blomquist
e7c8c56819 added licenses tag in the right place 2019-10-31 16:35:42 +01:00
Strhuan Blomquist
f4b1bf345c Update Makefile 2019-10-31 10:57:05 +01:00
Strhuan Blomquist
6d212ecea3 Updated packages in iopsys feeds to have licenses info 2019-10-31 10:34:16 +01:00
yyashvardhan
444a5a0c82 ieee1905: Added package dependencies 2019-10-31 12:48:36 +05:30
yyashvardhan
b2fce09a7f ieee1905: Added new package 2019-10-31 12:34:45 +05:30
Strhuan Blomquist
6fe9ad271e libpicoevent:added licenses info. 2019-10-30 16:36:50 +01:00
Ronny Nilsson
7677e51aeb Endptmngr: rework dependencies of the Broadcom kernel
Due to OpenWRT tries to be smart with them, but fails.
2019-10-30 15:20:51 +01:00
Strhuan Blomquist
9724913f14 iop: added option to create a license report after a build 2019-10-30 13:49:46 +01:00
vdutta
99925c9360 meshcomms: Added Package 2019-10-30 17:25:16 +05:30
Ronny Nilsson
621ca1c23a icwmp: clean a recursive make dependency. 2019-10-30 11:05:01 +01:00
vdutta
316e7d1d47 uspd: Fixed signedness related warnings 2019-10-30 12:54:13 +05:30
Ronny Nilsson
8ebe2c7f5a ated: Convert improper C-comments to Make-comments. 2019-10-29 17:30:07 +01:00
Ronny Nilsson
0b4be48bf3 voice applications: add build dependency of generic voice support. 2019-10-29 16:31:56 +01:00
Ronny Nilsson
f680ff2229 Dect: add build dependency for the endptmngr application which is needed in runtime. 2019-10-29 16:31:56 +01:00
Sachin Singla
60034eab91 ifbt: fix issue when key name is same 2019-10-29 14:59:32 +01:00
vdutta
6d539c17a7 obuspa: Fix output of async command for Controller 2019-10-22 19:48:24 +05:30
Anjan Chanda
2c06bbeaf0 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* daa3db5 cppcheck: fix errors and important warnings
* 339f2ee README: update for new wifilife config
-------------------------------------------------------------------------------
commit daa3db5baf7336a4ddd6fa57af944e2fd131396b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-21 15:56:56 +0200

    cppcheck: fix errors and important warnings

Base directory -> /
 src/agent/agent.c                | 26 ++++++++++++++++++++------
 src/controller/cntlr.c           | 10 +++++-----
 src/controller/cntlr_comm_ubus.c |  6 ++++--
 src/utils/utils.c                |  2 +-
 4 files changed, 30 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 339f2eefe9117eac3d20c7e1b86c7540cefedacf
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-10-21 09:49:08 +0200

    README: update for new wifilife config

Base directory -> /
 README.md | 269 ++++++++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 193 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
2019-10-22 10:39:15 +02:00
Suru Dissanaike
d36147601b wifilife: remove -Og optimization 2019-10-18 09:20:05 +02:00
Suru Dissanaike
cb3c2d4b0e json-editor: update copyright 2019-10-18 09:02:30 +02:00
Jakob Olsson
e11950b9a1 json-editor: add pkg to simulate javascript style json api 2019-10-18 08:57:42 +02:00
Amin Ben Ramdhane
901c2df5cf bbf: 1.0-2019-10-17 2019-10-17 16:11:15 +01:00
Amin Ben Ramdhane
504621b64b icwmp: 4.0-2019-10-17 2019-10-17 16:08:51 +01:00
Amin Ben Ramdhane
916ac0eea7 Add json folder under /etc/bbfdm/ 2019-10-17 16:03:23 +01:00
yyashvardhan
d7859ebe06 obuspa: Registered some more datamodel nodes 2019-10-17 17:55:36 +05:30
vdutta
c96e9c170a obuspa: Rebase with v2.0.0
Description:
 - Rebase with obuspa v2.0.0
 - Added more configurable options in obuspa uci
 - Optimized default db generation from uci
 - moved interface from connection to global obuspa context in uci
2019-10-16 17:10:43 +05:30
Reidar Cederqvist
9cb726d649 voice-client: do not overwrite tx/rx gain 2019-10-16 09:44:33 +02:00
Reidar Cederqvist
c3bb2895dc Endptmngr: unset patch_dir for open builds
to avoid patching the binaries downloaded when building open builds
2019-10-15 16:24:45 +02:00
Ronny Nilsson
f9f19d1e0c add workaround for EG400 endpt status call
fix for the GUI when board-profile has dect but
dect card is unpopulated
2019-10-15 14:16:23 +02:00
Strhuan Blomquist
df03c86b1d buildsystem iop:add support to generate CVE reports to iop 2019-10-15 09:54:18 +02:00
Jakob Olsson
72aba70aaf wifilife: poll for wifimngr status till success 2019-10-15 09:47:35 +02:00
Jakob Olsson
09e20e451a owsd: allow ubus.object.* events if access specified to affected obj in acl #267 2019-10-14 12:38:16 +02:00
Jakob Olsson
743a9fb0ac wifilife: get mobid & oui on new proxy obj 2019-10-11 15:50:45 +02:00
vdutta
605d816076 uspd: Added support for add/delete of objects 2019-10-10 18:50:30 +05:30
vdutta
7319e7d6aa obuspa: Add support for add/delete of objects 2019-10-10 18:49:43 +05:30
Anjan Chanda
e89954c0c0 easy-soc-libs: libwifi: implement 11k and 11v apis for intel wifi 2019-10-09 10:52:53 +02:00
Jakob Olsson
dcc6644b6e questd: on intel always explicitly show port speed when not 1000mbps autoneg #571 2019-10-08 14:56:31 +02:00
Anjan Chanda
26a5a54673 wifilife: meld misc bugfixes and cleanups from 4.3 2019-10-04 15:03:38 +02:00
Anjan Chanda
a5d00e28d6 easy-soc-libs: libwifi: remove nbr_header from struct nbr 2019-10-04 14:35:16 +02:00
yyashvardhan
d5ab22bcbf obuspa: Added support for IP Diagnostic commands 2019-10-04 16:06:08 +05:30
Amin Ben Ramdhane
31f5f9b017 bbf: 1.0-2019-10-01 2019-10-01 14:33:20 +01:00
Amin Ben Ramdhane
055489fb21 icwmp: 4.0-2019-10-01 2019-10-01 14:31:05 +01:00
Omar Kallel
3b09d142d9 icwmp: firmware and vendor config download logging 2019-09-30 17:12:09 +01:00
Sukru Senli
96909bca38 icwmp: enable tr-181 support by default 2019-09-27 12:03:57 +02:00
Omar Kallel
31b38d98ec Generate two icwmp binaries: icwmpd & icwmp_tr098d 2019-09-27 09:14:10 +01:00
Sukru Senli
f18405e303 tr098: use https url 2019-09-27 10:00:45 +02:00
vdutta
6973cf5f63 obuspa: Change default interface to wan 2019-09-26 19:32:31 +05:30
vdutta
b9c5aaa012 uspd: Fix uspd freeze issue on empty input 2019-09-26 19:27:47 +05:30
vdutta
a4c5bde955 obuspa: Add obuspa interface support in uci 2019-09-26 19:04:54 +05:30
Amin Ben Ramdhane
66ed795149 icwmp+bbf: add TR157 Bulkdata 2019-09-25 17:20:30 +01:00
Omar Kallel
9268a2960e Add tr098 package 2019-09-25 16:29:33 +01:00
vdutta
ee9f652942 uspd: Align with libbbfdm 2019-09-25 17:46:11 +05:30
Omar Kallel
100b91d3d5 icwmp: add TR098 includes 2019-09-25 12:07:57 +01:00
vdutta
e58a80228d uspd: Updated dependency to libbbfdm 2019-09-25 09:48:43 +05:30
Sukru Senli
9f21e1568a easy-soc-libs: libdsl depends on kmod-ppa-drv for intel_mips target 2019-09-24 19:04:55 +02:00
Sukru Senli
71f340a122 bbf: change pkg build dir 2019-09-24 17:18:55 +02:00
Sukru Senli
6d9ecd06bf iop: select easy-qos by default 2019-09-24 15:34:28 +02:00
Sukru Senli
3e8e332696 easy-qos: depend on intel_mips or brcm63xx targets 2019-09-24 15:33:51 +02:00
Sukru Senli
414f3b72cd iop: config: select uspd and obuspa by default 2019-09-24 15:06:18 +02:00
Sukru Senli
575793bd53 obuspa: update to commit hash with controller support 2019-09-24 14:56:44 +02:00
Amin Ben Ramdhane
625caee84e icwmp: add the icwmpd folder to save the backup files on it 2019-09-23 18:52:45 +01:00
Yalu Zhang
eb7e99ea18 easy-soc-libs: libdsl: Add HEC counters in showtime period statistics for Broadcom platform 2019-09-23 16:52:18 +02:00
Anjan Chanda
b50516bc99 rename wifimngr.deprecated -> wifixd 2019-09-23 10:42:58 +02:00
Sukru Senli
819d0afed8 bbk_cli: initial package 2019-09-21 14:12:35 +02:00
Sukru Senli
8467c584cb gigaset-elements: remove obselete package 2019-09-21 14:07:10 +02:00
Sukru Senli
7cf77df7e5 change opensdk tarball path 2019-09-21 13:20:29 +02:00
Sukru Senli
edb29ae7a7 ifsi: remove obselete package 2019-09-21 13:19:23 +02:00
ke hu
2cb1b84329 ICWMP: generate symlink for certificate on startup refs #15952
after the software is upgraded a new symlink needs to be created'
to the certificate that ICWMP uses for encrypted traffic
2019-09-20 14:37:58 +02:00
Yalu Zhang
b3755be235 easy-soc-libs: libdsl: Fix bug #1094: Broadcom: dsl* objects incorrect data 2019-09-19 16:00:01 +02:00
Anjan Chanda
6fd4d4a461 easy-soc-libs: libwifi: update few bcm apis 2019-09-19 15:05:30 +02:00
Kenneth Johansson
b16525aa3b iopu: fix help printout.
getopts string missed the "h"
2019-09-19 12:29:49 +02:00
Anjan Chanda
d6d609ae30 wifilife-2.5.0 2019-09-19 11:10:49 +02:00
Anjan Chanda
89d19b3904 wifimngr-2.4.0 2019-09-19 10:59:31 +02:00
Anjan Chanda
5206bb33d1 easy-soc-libs: update package to 2.4.0 2019-09-19 10:55:36 +02:00
Amin Ben Ramdhane
4933b63783 icwmp-4.0-2019-09-15 + bbf-1.0-2019-09-18 2019-09-18 13:50:14 +01:00
vdutta
c408f954d3 obuspa: Added Wan interface env variable in init.d script 2019-09-18 14:41:09 +05:30
Sukru Senli
66ff95a2b0 iop: remove ice-client from open tarball generation 2019-09-12 15:02:26 +02:00
Sukru Senli
8526a8d2de ice-client: remove package 2019-09-09 16:31:30 +02:00
Yalu Zhang
7bec58715e Update brcm.conf.TEMPLATE in package voice-client
Add one config param "hold_target_before_refer" controlling whether the transferor puts
the transfer target on-hold before sending REFER.

(cherry picked from commit 25e6850872)
2019-09-09 16:24:07 +02:00
Anjan Chanda
ac1153e9bb wifilife: update package to 2.4.4 2019-09-06 14:42:51 +02:00
Amin Ben Ramdhane
663a785048 bbf-1.0-2019-09-06 2019-09-06 10:37:15 +01:00
Strhuan Blomquist
e6aa002493 picolisp:opkg license tags 2019-09-05 16:58:27 +02:00
Strhuan Blomquist
df39d6948c peripheral_manager:added license info to makefile 2019-09-05 16:48:31 +02:00
Strhuan Blomquist
e1f420ef99 peripherial_manager: aded opkg links 2019-09-05 16:47:37 +02:00
Strhuan Blomquist
f55913599a paho-mqtt:added opkg licences tag 2019-09-05 16:43:22 +02:00
Strhuan Blomquist
d35680fb5d owsd:Added opkg LICENSE tag 2019-09-05 16:14:51 +02:00
Strhuan Blomquist
cbcd6876ff Update obuspa/Makefile 2019-09-05 16:05:51 +02:00
Strhuan Blomquist
5dd670bd2e obuspa:Added opkg licenses definition 2019-09-05 16:03:00 +02:00
Strhuan Blomquist
20daaf0f46 netmode:added license info to makefile also opkg declarations 2019-09-05 16:00:03 +02:00
Strhuan Blomquist
2ebb6d0930 ndt:Added Copyright tag for opkg 2019-09-05 15:54:07 +02:00
Jakob Olsson
ca4e0b2997 peripheral_manager: updated start order from 19 to 12 2019-09-05 15:37:18 +02:00
Strhuan Blomquist
1e4f3b47cb ndisc: Added opkg licenses tag 2019-09-05 15:34:44 +02:00
Strhuan Blomquist
66964d0ebc natalie-dect-h:Added opkg licences tag 2019-09-05 15:32:54 +02:00
Strhuan Blomquist
005ed196d5 natalie-dect:updated licenses info for opkg 2019-09-05 15:24:23 +02:00
Strhuan Blomquist
07eacc8fb4 multiwan:added opkg license info 2019-09-05 15:20:40 +02:00
Strhuan Blomquist
b97d527d07 lqt-nand:added opkg licences hooks 2019-09-05 15:15:58 +02:00
Strhuan Blomquist
0055fc9150 loopdetector:Update Makefile for license also added opkg hooks 2019-09-05 15:13:56 +02:00
Strhuan Blomquist
285c541f08 logrotate:Added opkg licence hooks 2019-09-05 15:11:56 +02:00
Strhuan Blomquist
dfee9563e0 lmbench: added opkg licences hooks 2019-09-05 15:10:16 +02:00
Strhuan Blomquist
a6525fd8f4 libtrace: Make file update with opkg hooks 2019-09-05 15:08:13 +02:00
Strhuan Blomquist
c62e301431 libwjt:added opkg licenses tag 2019-09-05 14:30:02 +02:00
Strhuan Blomquist
89cb5e1b25 iwatchdog:updated copyright and added opkgs data plus changed name to iopsys 2019-09-05 14:20:08 +02:00
Strhuan Blomquist
faac31760d iopupgrade:added copyright headers and opkg markers 2019-09-05 14:09:26 +02:00
Strhuan Blomquist
c775b02470 iop:added copywrite 2019-09-05 14:07:11 +02:00
Strhuan Blomquist
1d83535e85 inotify:added opkg marker so that opkg databases has license info 2019-09-05 14:04:41 +02:00
Strhuan Blomquist
34035e3e01 inbd:added tags to make file for opkg database 2019-09-05 14:02:21 +02:00
Strhuan Blomquist
193719d4a9 imonitor: added opkg marker for licences 2019-09-05 13:59:07 +02:00
Strhuan Blomquist
7b65761c4b ifsi:Added Copywrite to make file and updated opkg database 2019-09-05 13:56:17 +02:00
Strhuan Blomquist
c19b8f618d ifbt:added licence tag for opkg 2019-09-05 13:53:51 +02:00
Yalu Zhang
484e9a8789 Add one configuration parameter, hold_target_before_refer
This is used to control if the transferor puts the transfer target on-hold before sending REFER

(cherry picked from commit 158360fb0f)
2019-09-05 11:56:43 +02:00
Strhuan Blomquist
08be96216a icwmp:Update Makefile License and add opkg database tags 2019-09-05 11:52:02 +02:00
Strhuan Blomquist
1d2203e1c3 icgroupd: Change license from Inteno to iopsys 2019-09-05 11:44:12 +02:00
Jakob Olsson
86ca6b3835 wifimngr.deprecated: update pkg to include wifix status updates 2019-09-05 11:15:39 +02:00
Jakob Olsson
4b37729c45 easy-soc-libs.deprecated: update pkg to include wifi_ap_get_stats 2019-09-05 11:13:15 +02:00
Strhuan Blomquist
6f6d09ac3d gryphon-led:changed licenses tag so that it reflects the package real licences 2019-09-05 10:43:31 +02:00
Strhuan Blomquist
85a4b5b163 fatrace: Changed licences to correct license file and update opkg database 2019-09-05 10:32:51 +02:00
yyashvardhan
9389b60a2a uspd:libbbfdm integration 2019-09-04 21:05:27 +05:30
Strhuan Blomquist
ac364ff42d easy-soc-libs:Update to Makefile for licence tags 2019-09-04 17:03:53 +02:00
Strhuan Blomquist
f8f54a79ff easy-qos:Added licence info to makefile and opkg 2019-09-04 16:58:15 +02:00
Strhuan Blomquist
b285dc2746 dectmngr2: added opkg licences tags to Makefile 2019-09-04 16:56:04 +02:00
Strhuan Blomquist
d3a3b2cb7f dectmngr/dslmanager update Makefile add licence 2019-09-04 16:55:01 +02:00
Strhuan Blomquist
623071bfb3 crashlog:Update Makefile with new license info and opkg database 2019-09-04 16:23:24 +02:00
Strhuan Blomquist
c67f2f0212 catv:adding licence info to make file and opkg 2019-09-04 16:21:37 +02:00
Strhuan Blomquist
7bf30f7332 endpntmngr:Fixed Messed up makefile with c style comment notation 2019-09-04 16:19:25 +02:00
Strhuan Blomquist
f3d98c64e9 bachdb:update Makefile with licence info 2019-09-04 16:13:15 +02:00
Strhuan Blomquist
04453ff6fd bootchart2: Makefile added licence 2019-09-04 16:12:34 +02:00
Strhuan Blomquist
16a97216ab bbf:update Makefile with licence info for opkg 2019-09-04 16:06:49 +02:00
Strhuan Blomquist
3e413b9276 bashdb: added licence tags for opkg 2019-09-04 16:03:30 +02:00
Amin Ben Ramdhane
5de11e18af bbf-1.0-2019-09-03 2019-09-03 15:41:26 +01:00
Strhuan Blomquist
9fdc173034 ated: Updated Licence and added opkg tags for licence 2019-09-03 16:06:15 +02:00
Strhuan Blomquist
6b147af435 Cleaned up makefile 2019-09-03 16:04:29 +02:00
Strhuan Blomquist
cd7bff0998 endptmnggr: updated Licence and added opkg tags for licence 2019-09-03 15:52:33 +02:00
Strhuan Blomquist
eca9e3208f Added Licence tag to make file so that opkg databases has licenses info 2019-09-03 10:28:57 +02:00
Kenneth Johansson
170cc15016 u-boot: all Intel targets except norrlands was broken. 2019-09-02 15:42:18 +02:00
vdutta
772c9641e1 easy_qos: rename parameters as per openwrt 2019-09-02 14:51:55 +05:30
Sukru Senli
7e2cc957b9 easy-qos: correct priority mapping in easyqos.classcfg 2019-08-31 10:59:24 +02:00
Sukru Senli
d51bd6a098 easy-qos: install easy_qos.classcfg only if target is intel_mips 2019-08-31 10:53:37 +02:00
Amin Ben Ramdhane
3a70037e8b bbf-1.0-2019-08-30 2019-08-30 18:49:33 +01:00
vdutta
457a56f7a0 easy-qos: All displayed in proto in case of tcp/udp
- In easy-qos gui, all is displayed as proto in case tcp/udp selected
for a rule.
2019-08-30 15:51:51 +05:30
vdutta
7a6482c873 easy-qos: Added easy_qos classification rule for Intel 2019-08-30 15:37:31 +05:30
Jakob Olsson
047e004f92 port_management: add a boot section to init.d script restarting wan
Issue with uplink LED not being brough up on boot
after earlier fix preventing restart of all
ports on every reload
2019-08-30 10:40:57 +02:00
Jakob Olsson
f9ff2b2ff3 inbd: update pkg to change start order 2019-08-30 10:27:34 +02:00
Anjan Chanda
3956bfc9bb Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* f3c54b9 libwifi: bcm: fix sta airtime fetch
-------------------------------------------------------------------------------
commit f3c54b95727d11b5f768a7e6c92b8d1c3d398e5b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-27 15:52:15 +0200

    libwifi: bcm: fix sta airtime fetch

Base directory -> /
 libwifi/modules/bcm.c      | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/modules/broadcom.h | 32 ++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)
-------------------------------------------------------------------------------
2019-08-27 16:19:26 +02:00
Amin Ben Ramdhane
1088a23e25 icwmp-4.0-2019-08-26 + bbf-1.0-2019-08-27 2019-08-27 10:43:59 +01:00
Sukru Senli
a2776279f0 voice-client: assign uci default values for sip_provider section 2019-08-23 11:37:35 +02:00
Sukru Senli
3af4857d4a rulengd: start earlier 2019-08-22 15:29:54 +02:00
Sukru Senli
48a82996c8 voice-client: firewall.sip: do not hardcode rtp ports 2019-08-21 10:07:19 +02:00
Sukru Senli
fd16e6dc81 owsd: save owsd_acl file under /tmp/owsd folder 2019-08-20 08:58:41 +02:00
Omar Kallel
859c3cb259 icwmp: Device.USB. object (fixes) 2019-08-19 13:43:46 +01:00
Omar Kallel
721b9c6ef9 icwmp: Device.USB. object 2019-08-19 13:33:51 +01:00
Jakob Olsson
d5f4e280d2 questd: update pkg to remove des key from system.info 2019-08-19 10:30:24 +02:00
Amin Ben Ramdhane
dcff8ad7f1 icwmp-4.0-2019-08-17 2019-08-17 13:56:57 +01:00
Anjan Chanda
1bb235d521 iop: config: add wifimngr.deprecated and libwifix by default 2019-08-16 20:54:16 +02:00
Anjan Chanda
2fc15825d7 questd: remove wifi.h as libwifi is not used 2019-08-16 20:02:26 +02:00
Anjan Chanda
862cf3ffa3 ifbt-0.2: use new libwifi-5.so 2019-08-16 19:55:01 +02:00
Anjan Chanda
c36e798c15 wifimngr,libwifix: packages for deprecated 'wifix' object 2019-08-16 16:32:54 +02:00
Anjan Chanda
5770660ee7 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 3451d86 link against new libwifi-5.so.*
-------------------------------------------------------------------------------
commit 3451d86000af6ce40742fc3b0b1193a2f24fb138
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-16 14:59:14 +0200

    link against new libwifi-5.so.*

Base directory -> /
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-08-16 15:05:16 +02:00
Anjan Chanda
e21f7385fb Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* c3ecd3b libwifi: add library versioning
-------------------------------------------------------------------------------
commit c3ecd3b943e89e66875c73c34bcfdfb476fbec83
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-16 12:08:06 +0200

    libwifi: add library versioning

Base directory -> /
 .gitignore       |  2 +-
 libwifi/Makefile | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2019-08-16 14:43:00 +02:00
Anjan Chanda
90c56d83d8 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 7d65bf3 redefine wps methods and cleanup macros
* 3c7e584 use new versioned libwifi-5.so.*
-------------------------------------------------------------------------------
commit 7d65bf397b157656459e7e25228893611cf9f024
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-16 14:17:53 +0200

    redefine wps methods and cleanup macros

Base directory -> /
 wifimngr.c |  38 -----------
 wifimngr.h |   7 +++
 wps.c      | 209 +++++++++++++++++++++----------------------------------------
 3 files changed, 77 insertions(+), 177 deletions(-)
-------------------------------------------------------------------------------
commit 3c7e58401f06205e4283aa3cd384d2b49407f348
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-16 12:12:56 +0200

    use new versioned libwifi-5.so.*

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-08-16 14:42:22 +02:00
Anjan Chanda
faa4397094 easy-soc-libs: copy versioned libwifi* files 2019-08-16 12:15:38 +02:00
Jakob Olsson
3c06e57779 questd: update pkg to include intel ssid fix #1073 2019-08-16 12:08:56 +02:00
Jakob Olsson
dcaec2e717 questd: update pkg hash to include intel port up status 2019-08-16 11:26:36 +02:00
Jakob Olsson
cd097820bc port_management: pass cfg name to set_port_speed #1059 #1060 2019-08-15 11:06:40 +02:00
Anjan Chanda
e7eebce5cd Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* f7473c7 add 'mgmt' and 'diagnostic' objects
* 1f16609 update copyright info
-------------------------------------------------------------------------------
commit f7473c76195f6d92e4a85f94b1083965914a6d23
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-14 15:26:19 +0200

    add 'mgmt' and 'diagnostic' objects

Base directory -> /
 wifimngr.c | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 wifimngr.h |   1 +
 2 files changed, 156 insertions(+)
-------------------------------------------------------------------------------
commit 1f16609e96980df102b9a6a4152b3cb822293af0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-08-14 14:00:33 +0200

    update copyright info

Base directory -> /
 main.c           |  6 +++---
 wifimngr.c       |  4 ++--
 wifimngr.h       | 22 ++++++++++++++++++++++
 wifimngr_event.c |  4 +++-
 4 files changed, 30 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2019-08-14 15:32:22 +02:00
Anjan Chanda
1549268047 wifimngr: 2.0.2 - adapt to new way of event handling 2019-08-14 12:43:25 +02:00
Anjan Chanda
fb704d7b0d easy-soc-libs: 2.0.2 - new way of event handling in libwifi 2019-08-14 12:31:23 +02:00
Jakob Olsson
b2e60d696f voice_client: prevent malicious crontab injection through dayns #1008 2019-08-14 11:12:48 +02:00
Sachin Singla
a4b6d27172 ifbt: fix build issues with mediatek and broadcom 2019-08-14 09:56:37 +02:00
Sachin Singla
c94bcdd579 ifbt: add hostapd support 2019-08-12 15:18:30 +02:00
Jakob Olsson
314d432420 owsd: update pkg and init.d to pass arguments from a json config file 2019-08-12 10:36:03 +02:00
Ronny Nilsson
01ce0fd65f dectmngr2: First steps to support Broadcom SDK 5.02L.06. 2019-08-09 16:56:53 +02:00
Ronny Nilsson
81927b8b20 peripheral-manager: Remove support for VOX since it is not in use any more. 2019-08-09 16:14:29 +02:00
Jakob Olsson
d40d5139b3 netmode: prevent path traversal in pre and post from netmode.sh #1010 2019-08-09 09:24:00 +02:00
Anjan Chanda
2c42ca1377 easy-soc-libs: change dependency for libwifi 2019-08-07 16:28:25 +02:00
Jakob Olsson
e39cbf8f5e voice_client: ringing: prevent scheduler from creating malicious cronjobs #1008 2019-08-06 10:56:29 +02:00
Anjan Chanda
0c3b6e72f6 wifilife: adapt to new libwifi and bump package version to 2.0.0 2019-08-01 13:32:11 +02:00
Anjan Chanda
60505fba27 wifimngr: use new libwifi and bump package version to 2.0.0 2019-08-01 13:28:16 +02:00
Anjan Chanda
42e5f56ecb easy-soc-libs: bump package version due to new libwifi 2019-08-01 13:21:57 +02:00
Oussama Ghorbel
b57ad750ba uboot: update package source revision
commit 819227ec4cf4f2f8f7e8d46a3bee58e329089de6
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date:   Thu Jul 25 14:34:55 2019 +0200

    adjust brightness to Genexis recommended values
2019-07-25 14:43:17 +02:00
Oussama Ghorbel
b6b35d4584 Revert "protect u-boot by password for norrland board"
This reverts commit fc3a0f8169.
2019-07-25 14:09:35 +02:00
Oussama Ghorbel
3e52019dea gryphon-led-module: set brightness level to 15
This is requested by Genexis
2019-07-23 14:18:41 +02:00
Oussama Ghorbel
fc3a0f8169 protect u-boot by password for norrland board
b1aea2a7df protect u-boot prompt by sha256 password
860cd65bdb initialize SHA buffer size var in passwd_abort
2019-07-23 13:18:32 +02:00
yyashvardhan
0d7435a926 obuspa: More tr181 datamodel elements registered 2019-07-19 11:56:19 +05:30
Anjan Chanda
ba6a36b6f1 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* a0ec330 bcm: fix maxrate calculation
-------------------------------------------------------------------------------
commit a0ec330f74d0ef5ec6d7e61ac4079de9c93f36ab
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-07-10 12:45:53 +0200

    bcm: fix maxrate calculation

Base directory -> /
 libwifi/bcm.c | 223 ++++++++++++++++------------------------------------------
 1 file changed, 61 insertions(+), 162 deletions(-)
-------------------------------------------------------------------------------
2019-07-10 12:48:17 +02:00
yyashvardhan
ea4992c8b9 obuspa: More tr181 datamodel elements registered 2019-07-08 18:22:05 +05:30
Sukru Senli
e882dd0320 netmode: reload macoffset when changing mode 2019-07-08 12:14:24 +02:00
Sukru Senli
0822323784 netmode: remove unused omcproxy config 2019-07-08 10:18:56 +02:00
Sukru Senli
5776cee5f6 netmode: disable ubusproxy in repeater mode 2019-07-08 10:18:37 +02:00
yyashvardhan
b4c01123db obuspa: More tr181 data elements registered in obuspa 2019-07-05 11:28:11 +05:30
Sukru Senli
bcf34ec28a voice-client: adapt voice.asterisk to incoming calls ending up in call_line context 2019-07-04 20:10:15 +02:00
yyashvardhan
320a49da86 obuspa: Register tr181 datamodel elements 2019-07-04 19:02:31 +02:00
Sukru Senli
9c92e02f70 icwmp-4.0-2019-07-03 2019-07-03 13:47:42 +02:00
Amin Ben Ramdhane
5f99b07a08 icwmp-4.0-2019-06-30 2019-07-01 09:04:47 +01:00
Sukru Senli
b5878cbe60 questd: add wifix object to ubusproxy list 2019-06-29 12:20:32 +02:00
Sukru Senli
a3f87cbc04 wifilife: explicitly add wifix and wifi.' objects to ubusproxy list 2019-06-29 12:17:30 +02:00
Anjan Chanda
92a770ee3e Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* a0c58c9 bcm: free buffer in get_bss_info
-------------------------------------------------------------------------------
commit a0c58c991e3c3b2656c76d2ebfc8359f64fe2711
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-28 19:33:41 +0200

    bcm: free buffer in get_bss_info

Base directory -> /
 libwifi/bcm.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2019-06-28 20:26:56 +02:00
Anjan Chanda
2dcb3a6360 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 37d199b agent: flush neighbor copy lists after joining
-------------------------------------------------------------------------------
commit 37d199b928f444710ab1ad0538f9f40650f5608c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-28 19:27:23 +0200

    agent: flush neighbor copy lists after joining

Base directory -> /
 src/agent.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-06-28 20:13:40 +02:00
Sukru Senli
abd919b06e voice-client: currently intel supports ETS only 2019-06-28 09:12:26 +02:00
Sukru Senli
08f2370477 voice-client: supported countries ubus method 2019-06-27 18:47:17 +02:00
Omar Kallel
a9415b745c icwmp datamodel: Device.WiFi object 2019-06-27 10:24:37 +01:00
Sukru Senli
01ddeaf4d7 netmode: more logs during mode switch 2019-06-27 10:47:26 +02:00
Sukru Senli
7271ea30d6 netmode: wps_enroll and wps_stop methods for repeater object 2019-06-27 10:22:52 +02:00
Jakob Olsson
43e6374c89 netmode: update pkg to include using is_ignored_option on transmitting side 2019-06-26 10:34:35 +02:00
Jakob Olsson
80dafc80ea netmode: init.d: add ignore option macaddr argument 2019-06-26 10:34:14 +02:00
Sukru Senli
85d12dec82 icwmp: hotplug script for xmpp 2019-06-25 21:59:30 +02:00
Sukru Senli
f3cf9cd7e1 netmode: update wireless configs 2019-06-25 11:37:35 +02:00
Sukru Senli
11c81b7cc0 icwmp: adapt to new uci wps option 2019-06-25 11:36:46 +02:00
Sukru Senli
3a5af746ef icwmp-4.0-2019-06-24 2019-06-25 08:52:52 +02:00
Sukru Senli
261e890771 owsd: ubusproxy with demo only certificates 2019-06-25 08:51:03 +02:00
Sukru Senli
b6fabaaec4 wifilife: router.system object is required by controller 2019-06-24 19:26:26 +02:00
Sukru Senli
c3363f01ab netmode: use generic name for uci-default script 2019-06-24 19:17:07 +02:00
Sukru Senli
6051f2bed9 questd-4.1.1 2019-06-24 19:17:04 +02:00
yyashvardhan
75fa4cd2c9 uspd: Added support for granular ubus objects 2019-06-24 19:16:58 +02:00
Sukru Senli
1254fec036 icwmp: xmpp: make use of TLS configurable 2019-06-20 17:05:34 +02:00
Sukru Senli
21f4faebee icwmp: 4.0-2019-06-20 2019-06-20 14:11:49 +02:00
Vivek Dutta
04cacf422e uspd: Support for non-pretty output with usp.raw object 2019-06-19 15:27:31 +05:30
Vivek Dutta
b051d4f1b3 obuspa: Added dependency of uspd package 2019-06-19 15:25:58 +05:30
Oussama Ghorbel
668175520c questd: fix dependency issue
Fix parallel build issue
2019-06-17 15:43:55 +02:00
Jakob Olsson
947da034bb owsd: start owsd without ubusproxy args if ubusx validation fails 2019-06-17 09:47:12 +02:00
Sukru Senli
a9b3b78a13 netmode: support for supported_boards array 2019-06-15 12:53:03 +02:00
Vivek Dutta
9af1d10122 obuspa: bbf usp agent initial integration 2019-06-14 20:14:40 +02:00
Jakob Olsson
e6cd75747f easy-soc-libs: update pkg to include snr addition for intel 2019-06-13 11:34:15 +02:00
Anjan Chanda
13def2aa05 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 90bbfa9 bcm: use 'deauthenticate' sta instead of ioctl
-------------------------------------------------------------------------------
commit 90bbfa93f1c3c472f595ed879c7c660973d37830
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-11 12:55:57 +0200

    bcm: use 'deauthenticate' sta instead of ioctl

Base directory -> /
 libwifi/bcm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-06-11 13:12:13 +02:00
Anjan Chanda
cb72509bae Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 9ee0ee4 reduce logging verbosity
-------------------------------------------------------------------------------
commit 9ee0ee4bbd8a7791bfbe13b3ce8488973f5686e7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-11 12:26:30 +0200

    reduce logging verbosity

Base directory -> /
 src/agent.c         |  2 +-
 src/cntlr.c         |  2 +-
 src/default_rules.c | 15 +++++++--------
 3 files changed, 9 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
2019-06-11 13:10:39 +02:00
Sukru Senli
f501a209f5 voice-client: default useragent without ':' in macaddr 2019-06-11 12:03:36 +02:00
Anjan Chanda
685ee1e939 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 9cd787d remove duplicate tx_pkts_retries in stations' dump
* 633a24f show idle time in 'stations' dump
-------------------------------------------------------------------------------
commit 9cd787def3934610ed790d75cfba3208a84fcd81
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-11 11:51:59 +0200

    remove duplicate tx_pkts_retries in stations' dump

Base directory -> /
 wifimngr.c | 2 --
 1 file changed, 2 deletions(-)
-------------------------------------------------------------------------------
commit 633a24f7c5a4a347af9caa0d0c7be7e452b90e15
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-04 10:40:20 +0200

    show idle time in 'stations' dump

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-06-11 11:55:56 +02:00
Anjan Chanda
a90191a6ef Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* b71a003 bcm: fix tx total and user frames' retry counts
-------------------------------------------------------------------------------
commit b71a00357eb37dd1c045cf0c4d3cd9395c18ba94
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-11 11:47:34 +0200

    bcm: fix tx total and user frames' retry counts

Base directory -> /
 libwifi/bcm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-06-11 11:54:47 +02:00
Sukru Senli
63c53a497f voice-client: fix logic in intel voicelib getSerial function 2019-06-10 19:40:41 +02:00
Oussama Ghorbel
1930d8bb89 uboot: update package source version
commit 670ad7a30f3c6871b6c8a972e19ca2dd78ea8c9b
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date:   Mon Jun 10 16:47:22 2019 +0200

update web gui to iopsys look
2019-06-10 17:32:50 +02:00
Yalu Zhang
94ad6902f7 Re-fix Bug #705: Asterisk gives tone even if number is not configured
Remove voice_client.sip0.call_lines in the default config. So no voice lines
are bound to "Incoming Phone Lines" of any SIP accounts by default.

Reload FXS channel before chan_sip when voice configuration changes.
2019-06-10 11:43:37 +02:00
Jakob Olsson
829275bc4a wifilife: update pkg hash to initiliaze as_table 2019-06-10 11:09:38 +02:00
Sukru Senli
a7a16746f5 voice-client: some cleanup 2019-06-06 13:40:25 +02:00
Sukru Senli
dbfc56ac98 voice-client: make line indexing platform independent 2019-06-05 14:33:05 +02:00
Sukru Senli
244f439694 voice-client: update default config 2019-06-05 14:33:05 +02:00
Anjan Chanda
a76446c04b Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* be17e0c cntlr: replace AND by OR when filtering repeated mac addresses prior to disconnecting
* 05ba56f cntlr: active stalist - use generic hlist_ functions
-------------------------------------------------------------------------------
commit be17e0c7977ad2e17a4643b57a3a64f59577613b
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-05-28 15:31:06 +0200

    cntlr: replace AND by OR when filtering repeated mac addresses prior to
    disconnecting

Base directory -> /
 src/cntlr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 05ba56f1a2604d577d65e8e3339eade197e87a91
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-28 15:07:32 +0200

    cntlr: active stalist - use generic hlist_ functions

Base directory -> /
 src/Makefile     |   2 +-
 src/allsta.c     | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/allsta.h     |  31 +++++++++++++
 src/cntlr.c      |  60 +++++++++++++++---------
 src/cntlr.h      |   1 +
 src/hash_table.c | 138 -------------------------------------------------------
 src/hash_table.h |  24 ----------
 src/hlist.h      | 113 +++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 320 insertions(+), 185 deletions(-)
-------------------------------------------------------------------------------
2019-06-05 14:32:01 +02:00
Anjan Chanda
8f7fa57b11 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* c5a0776 fix memory leaks - free blob_bufs
-------------------------------------------------------------------------------
commit c5a0776ec6798175bb7a03d68006c9bab4971a7f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-05 12:56:36 +0200

    fix memory leaks - free blob_bufs

Base directory -> /
 src/agent.c      | 5 ++++-
 src/agent_ubus.c | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-06-05 13:43:05 +02:00
Sukru Senli
0c738b9916 voice-client: avoid calling functions unnecessarily 2019-06-05 11:00:43 +02:00
Jakob Olsson
c43bbe523d quest: update pkg to include reading /proc/net/arp every iteration 2019-06-05 09:36:22 +02:00
Sukru Senli
3fb53303e0 Revert "Fix Bug #705: Asterisk gives tone even if number is not configured"
This reverts commit 44164d950b.
2019-06-04 15:14:46 +02:00
Jakob Olsson
5b2a92cf14 owsd: update polling interval in uproxyd 2019-06-04 13:46:19 +02:00
Jakob Olsson
165faa23dc owsd: update pkg to include uproxyd polling change 2019-06-04 13:24:00 +02:00
Sukru Senli
6aec80f56c owsd: remove unused uci default script 2019-06-04 12:55:54 +02:00
Jakob Olsson
b175340397 owsd: update pkg with uproxyd client event fix 2019-06-04 12:39:16 +02:00
Jakob Olsson
7e3387355f questd: remove uproxyd 2019-06-04 11:03:38 +02:00
Jakob Olsson
608dfd532a owsd: add uproxyd 2019-06-04 11:02:48 +02:00
Jakob Olsson
1302bbc4c6 questd: update pkg to fix duplicate info on hosts 2019-06-04 10:23:52 +02:00
Sukru Senli
ecaff0dded easy-soc-libs: version 1.0.1 2019-06-03 20:20:32 +02:00
Sukru Senli
2b5df064c6 Revert "Update feed [ iopsys ] package [ easy-soc-libs ]"
This reverts commit 6f0834b9d6.
2019-06-03 17:29:34 +02:00
Jakob Olsson
1f63f66552 questd: update pkg to include hosts method 2019-06-03 16:04:37 +02:00
Anjan Chanda
6f0834b9d6 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* ecfcb31 libwifi: report idle time for stas
* 13f443e Adapt Copyright to company change
* 49b8a6e libwifi: ifname match criteria changed
-------------------------------------------------------------------------------
commit ecfcb31ce79a14f52f4dc01c1a5375e44be8ac77
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-03 15:15:57 +0200

    libwifi: report idle time for stas

Base directory -> /
 libwifi/bcm.c    |  1 +
 libwifi/nlwifi.c | 14 +++++++++++++-
 libwifi/wifi.h   |  6 +++---
 3 files changed, 17 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 13f443ecfd404ce8cf407ff415ff93530523ca03
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-05-27 18:12:02 +0200

    Adapt Copyright to company change

Base directory -> /
 libethernet/bcm.c      | 4 ++--
 libethernet/ethernet.c | 4 ++--
 libethernet/ethernet.h | 4 ++--
 libethernet/ethsw.c    | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 49b8a6e47177d5c73984bc11d7ec1bd18feee230
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-27 14:52:41 +0200

    libwifi: ifname match criteria changed

Base directory -> /
 libwifi/mtk.c  | 2 +-
 libwifi/wifi.c | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-06-03 15:30:27 +02:00
Anjan Chanda
b3f42cb5de Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 5ab0a61 show idle time in secs for stas
* 1b027f6 Adapt Copyright to company change
-------------------------------------------------------------------------------
commit 5ab0a61b2d8dc34be0e0053670a13876e648f94b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-03 15:17:09 +0200

    show idle time in secs for stas

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 1b027f6473f7b79bf4427ebf57183928126aacfd
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-05-27 18:09:20 +0200

    Adapt Copyright to company change

Base directory -> /
 main.c        | 4 ++--
 wifimngr.c    | 4 ++--
 wifimngr_nl.c | 2 +-
 wps.c         | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2019-06-03 15:29:39 +02:00
Anjan Chanda
019f9b00af Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 431df9c network: get idle time for connected wifi clients
-------------------------------------------------------------------------------
commit 431df9ce933b894cadaa35bac938b9187a175137
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-03 15:22:22 +0200

    network: get idle time for connected wifi clients

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2019-06-03 15:28:38 +02:00
Ronny Nilsson
ecb736ed74 Dect: External Dect default reset had an issue and sometimes failed.
refs #766
2019-05-31 12:37:20 +02:00
Sukru Senli
197ff5f72c uspd-1.0.1 2019-05-29 18:26:22 +02:00
Oussama Ghorbel
12d3af63f3 uboot: update package source version
c77089efc4 reduce brightness for RGB led
2019-05-28 11:28:00 +02:00
Jakob Olsson
c3e1ef09ca questd: version 4.1.0 2019-05-28 09:03:22 +02:00
Sukru Senli
9c39cdd505 Revert "Update feed [ iopsys ] package [ easy-soc-libs ]"
This reverts commit a0c216ea89.
2019-05-28 08:25:32 +02:00
Yalu Zhang
16e1cab74f dslmngr: Fix Bug #758 on Intel platform
Human readable standard_used and standards_supported key values are missing from object
2019-05-27 17:31:49 +02:00
Oussama Ghorbel
c6ea75f608 uboot: update package source version
a9788d80f1 scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
2019-05-27 17:05:26 +02:00
Anjan Chanda
a0c216ea89 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 49b8a6e libwifi: ifname match criteria changed
-------------------------------------------------------------------------------
commit 49b8a6e47177d5c73984bc11d7ec1bd18feee230
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-27 14:52:41 +0200

    libwifi: ifname match criteria changed

Base directory -> /
 libwifi/mtk.c  | 2 +-
 libwifi/wifi.c | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-05-27 16:07:30 +02:00
Oussama Ghorbel
4340b515af uboot: update revision
commit 0020e671c807ec51be94ab557b2a945e3630b8fe
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date:   Fri May 24 16:07:24 2019 +0200

    misc clean up and minor fixes

commit 04e9179ae3493b31548eda97f555c2944df6c19b
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date:   Fri May 24 14:27:32 2019 +0200

    use preinit as linux init process
2019-05-24 16:19:07 +02:00
Sukru Senli
ef0f38499a netmode: exclude norrland from existing modes 2019-05-23 10:04:24 +02:00
Oussama Ghorbel
47d2fb3113 gryphon-led-module: reduce global brightness 2019-05-22 15:30:08 +02:00
Oussama Ghorbel
b73e7c4a44 uboot: update revision
commit 4eaca41a6b842336ead03698434d08a775dad1ec
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date:   Tue May 21 15:58:50 2019 +0200

    update web gui to iopsys look and clean up some remnant
2019-05-21 16:49:21 +02:00
Sukru Senli
3642db5f04 netmdode: repeater connect and forget_network methods 2019-05-21 15:17:21 +02:00
Amin Ben Ramdhane
fd9f43bcd0 icwmp: 4.0-2019-05-21 2019-05-21 10:46:59 +01:00
Jakob Olsson
c0637c052f netmodes: replace wps_pushbutton with wps 2019-05-20 15:13:31 +02:00
Anjan Chanda
72a3a64383 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* fe0e8fd agent: estimate sta's throughput from bytes per-sec
* 6fe3659 colorize debug messages and minor fixes
-------------------------------------------------------------------------------
commit fe0e8fd3832ef3a70ac3938f9b458d05a349b0be
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-20 06:56:23 +0200

    agent: estimate sta's throughput from bytes per-sec

Base directory -> /
 src/agent.c | 54 +++++++++++++++++++++++++++---------------------------
 src/agent.h |  4 ++++
 2 files changed, 31 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
commit 6fe3659c3e7243eb155efec3cab64f05ce232d51
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-19 13:56:15 +0200

    colorize debug messages and minor fixes

    Periodicallt update neighbors not only for the local node but for all the
    nodes. Accounting for stas' rssi above or below steer-threshold was not
    getting done properly if steering verdict is negetive. This has been fixed.

Base directory -> /
 src/agent.c           |  2 +-
 src/cntlr.c           | 54 ++++++++++++++++++++++++++++++++++++++++++++-------
 src/cntlr.h           |  4 ++++
 src/cntlr_comm_ubus.c |  7 ++++---
 src/comm.c            |  2 +-
 src/debug.h           | 31 ++++++++++++++++++-----------
 src/default_rules.c   | 36 +++++++++++++++++++---------------
 7 files changed, 97 insertions(+), 39 deletions(-)
-------------------------------------------------------------------------------
2019-05-20 07:06:38 +02:00
Sukru Senli
4787082fa2 netmode: add revert_netmdoe function 2019-05-18 11:41:17 +02:00
yyashvardhan
bbcb34cae5 uspd: Added new operate commands 2019-05-17 18:23:49 +05:30
Yalu Zhang
44164d950b Fix Bug #705: Asterisk gives tone even if number is not configured
Set voice_client.lineX.sip_account correctly according to "voice_client.sipX.call_lines"
2019-05-17 14:10:10 +02:00
Amin Ben Ramdhane
5a4c07278c icwmp: 4.0-2019-05-16 2019-05-16 16:44:59 +01:00
Anjan Chanda
6aa6d01cd2 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 3c33d63 make all debug msgs available through outfile
-------------------------------------------------------------------------------
commit 3c33d636ff45d3e013048ee6ea45d6712d44dec0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-16 09:26:43 +0200

    make all debug msgs available through outfile

Base directory -> /
 src/debug.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-05-16 09:33:40 +02:00
Jakob Olsson
ec395b1bbb wifilife: update mbid library to use arp and assoclist to get first octets 2019-05-16 08:50:33 +02:00
Jakob Olsson
5a3b12f451 wifilife: firewall.mbid: update func and file names 2019-05-15 15:54:30 +02:00
Jakob Olsson
950365bd83 wifilife: mbid: use ubus list and router.network clients to get first octet 2019-05-15 15:38:12 +02:00
Jakob Olsson
e80d88905f wifilife: firewall.mbid: store and remove old repeated rules from /tmp/ 2019-05-15 15:36:40 +02:00
Jakob Olsson
6840306713 wifilife: firewall.mbid: use fw3 rules, use lock file 2019-05-15 13:52:57 +02:00
Anjan Chanda
8947f5f18e Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 53452c1 agent: read results after 5 seconds of scan trigger
-------------------------------------------------------------------------------
commit 53452c1643c4721f81dc1a32a1755afbfa9e7be5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-15 12:00:19 +0200

    agent: read results after 5 seconds of scan trigger

Base directory -> /
 src/agent.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-05-15 12:08:07 +02:00
Anjan Chanda
a41b0855ad Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 9b7accf libwifi: intel - read wep/disabled from hostap config
-------------------------------------------------------------------------------
commit 9b7accf0ac4f7c8010fb06ba83df9e53264b429a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-15 10:54:06 +0200

    libwifi: intel - read wep/disabled from hostap config

Base directory -> /
 libwifi/nlwifi.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 libwifi/wext.c   |  4 +--
 2 files changed, 83 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2019-05-15 11:00:15 +02:00
Jakob Olsson
d81a56b25e wifilife: install files/ under correct dir 2019-05-15 09:55:24 +02:00
Anjan Chanda
f26517974c Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* de7dca0 libwifi: bcm: return maxrate for wifi_get_bitrate
-------------------------------------------------------------------------------
commit de7dca053dedd50cbaeff9b2457f8ed6b2457609
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-14 17:25:37 +0200

    libwifi: bcm: return maxrate for wifi_get_bitrate

Base directory -> /
 libwifi/bcm.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 239 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-05-15 09:22:29 +02:00
Jakob Olsson
9bad2df974 wifilife: always set ruleng section, move ubusx check to firewall script 2019-05-15 09:16:32 +02:00
Jakob Olsson
d2fd76637b wifilife: utilize files exec rather than introducing rpcd script object 2019-05-15 09:16:32 +02:00
Sukru Senli
8b7376900b wifilife: copy files folder correctly 2019-05-14 18:46:09 +02:00
Sukru Senli
9986b920ae wifilife: mbid handler files 2019-05-14 18:37:18 +02:00
Jakob Olsson
dad0ba6ba2 introduce mbid files to wifilife 2019-05-14 17:03:17 +02:00
Jakob Olsson
d4269143f6 rulengd: remove default config example 2019-05-14 16:33:22 +02:00
Jakob Olsson
69c9ae7ca1 rulengd: update pkg to include regex support 2019-05-14 16:32:56 +02:00
Jakob Olsson
da9efb447d wifilife: use rulengd to reload firewall script on ubus object add 2019-05-14 16:16:37 +02:00
Jakob Olsson
5219a70614 easy-qos: redirect stderr on json_sslect when getting ip address 2019-05-13 15:36:51 +02:00
Anjan Chanda
ca1854f058 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 39f74cf replace 'stas' with 'stations' when calling wifix
* 7520b59 agent: add debug prints in steer logic functions
* 49b0f40 agent: fix cntlr preferred list and steer lowrssi sta correctly
* 6446fa0 agent: always keep sta's neighbor list up-to-date
* 3284e0b improve sta's neighbor list
* 9a324f4 cntlr: improve handling of low-rssi sta events
* 56cc6ea cntlr: cleanup and fix parsing wifi.sta events
* a15c1b6 cntlr issues STEER if it finds better nbr for STA
* e86b4de agent: handle 'beacon_report' events from stas
* cbee6dd cntlr: start monitoring sta's signal in network
* e8c7e80 agent: introduce cmd to trigger sta monitoring
* 59dfbd5 agent: do not arm sta's timers when bss is disabled in config
* 0a3465d agent: inform controller when rssi of a sta becomes low
* 165c1cc build steer-list from sta's neighbor-list only
* 6971890 rename cmd_get_oui len to ouis
* 78ccf99 agent: set default mobility domain to 500
* 9025601 agent: remove some debugging prints
* 2692001 minor clean up and print refactor
* 505bb99 dynamically get oui0s, get mobility domain from cfg
* 842784f cntlr: pass correct bssid to active_sta_info
* fa54386 move arp_flush from cntlr to agent
* 3be8e7f refactor and extend active_sta functionality
* ef39a8e agent: halt execution if disabled in config
-------------------------------------------------------------------------------
commit 39f74cf1afa9435fafce3c7ef56fcee8e07f1cfc
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-13 13:15:51 +0200

    replace 'stas' with 'stations' when calling wifix

Base directory -> /
 src/agent.c | 4 ++--
 src/cntlr.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 7520b5906b3ca001c78bd13cd5fbba7aecb7f863
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-09 10:51:54 +0200

    agent: add debug prints in steer logic functions

Base directory -> /
 src/agent.c         |  6 ++++++
 src/default_rules.c | 16 ++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 49b0f4007ec4bdd598ab0b6bf8c62a32095c52d9
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-04 12:17:51 +0200

    agent: fix cntlr preferred list and steer lowrssi sta correctly

Base directory -> /
 src/agent.c         | 12 ++++++------
 src/cntlr.c         | 40 +++++++++++++++++++++++++++++++---------
 src/comm.h          |  2 +-
 src/default_rules.c | 13 +++++++++----
 src/hash_table.h    |  1 +
 5 files changed, 48 insertions(+), 20 deletions(-)
-------------------------------------------------------------------------------
commit 6446fa0579deac18c6d3a19ba03ae7b0eb51caba
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-03 22:34:26 +0200

    agent: always keep sta's neighbor list up-to-date

Base directory -> /
 src/agent.c         | 38 ++++++++++++++++++++++----------------
 src/default_rules.c | 20 ++++++++++++--------
 src/utils.h         | 16 ++++++++++++++++
 3 files changed, 50 insertions(+), 24 deletions(-)
-------------------------------------------------------------------------------
commit 3284e0bc978cd03bd25b2fcb91ed65eaa679a29b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-03 17:28:15 +0200

    improve sta's neighbor list

Base directory -> /
 src/agent.c         |  55 ++++++++++++++++-----
 src/cntlr.c         | 139 +++++++++++++++++++++++++++-------------------------
 src/default_rules.c |  19 +++++--
 src/utils.c         |  51 ++++++++++++++++++-
 4 files changed, 180 insertions(+), 84 deletions(-)
-------------------------------------------------------------------------------
commit 9a324f4d2b94fe9242e9d8ccd3e47aae60cf8f51
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-03 13:23:02 +0200

    cntlr: improve handling of low-rssi sta events

Base directory -> /
 src/agent.c      |  2 ++
 src/cntlr.c      | 32 ++++++++++++++++++++------------
 src/hash_table.c |  4 ++++
 3 files changed, 26 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 56cc6ea7c9e8809d2c16d72a71e0a0cadd63817f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-03 09:07:34 +0200

    cntlr: cleanup and fix parsing wifi.sta events

Base directory -> /
 src/agent.c |  6 +++---
 src/cntlr.c | 68 ++++++++++++++++++++++++++++++++++++++-----------------------
 2 files changed, 46 insertions(+), 28 deletions(-)
-------------------------------------------------------------------------------
commit a15c1b6ab1f069885df7d917c5bba7cb8261d0f2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-01 13:02:43 +0200

    cntlr issues STEER if it finds better nbr for STA

Base directory -> /
 src/agent.c         | 36 ++++++++++++++++++++++++++++++++++--
 src/agent.h         |  3 ++-
 src/cntlr.c         | 24 ++++++++++++++++++++++--
 src/comm.h          |  7 +++++++
 src/default_rules.c | 31 ++++++++++++++++++++++++-------
 5 files changed, 89 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit e86b4ded19d4c5724c95e49b32fefd9e5c9406b4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-30 13:29:41 +0200

    agent: handle 'beacon_report' events from stas

Base directory -> /
 src/agent.c         | 40 +++++++++++++++++++++++++++++-----------
 src/default_rules.c | 17 +++++++++++------
 2 files changed, 40 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit cbee6dd58d64c6e9f8b52bbf929f8d6b7856053a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-29 14:17:28 +0200

    cntlr: start monitoring sta's signal in network

Base directory -> /
 src/cntlr.c      | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 src/hash_table.h |  3 +++
 2 files changed, 67 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit e8c7e801e73d26884b93ae7b988d3abebcba6e08
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-28 20:38:26 +0200

    agent: introduce cmd to trigger sta monitoring

Base directory -> /
 src/agent.c | 21 +++++++++++++++++++++
 src/comm.h  |  2 ++
 2 files changed, 23 insertions(+)
-------------------------------------------------------------------------------
commit 59dfbd5f1aa134ada32caae6946d15ea7fd58ab4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-28 13:33:15 +0200

    agent: do not arm sta's timers when bss is disabled in config

Base directory -> /
 src/agent.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
commit 0a3465deb264dd43b09a4f2a632bd4b8dff872cf
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-28 12:33:45 +0200

    agent: inform controller when rssi of a sta becomes low

Base directory -> /
 src/agent.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/agent.h |  2 +-
 src/cntlr.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 src/comm.h  | 12 ++++++++++-
 4 files changed, 145 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 165c1cc715c07e0c11e630fd472b60dcdabc76b1
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-27 11:45:04 +0200

    build steer-list from sta's neighbor-list only

Base directory -> /
 src/agent.c         | 100 ++++++++++++++++++++++++++++++++--------------------
 src/agent.h         |  18 +++++++---
 src/default_rules.c |   8 ++++-
 src/utils.c         |   6 ++--
 4 files changed, 86 insertions(+), 46 deletions(-)
-------------------------------------------------------------------------------
commit 6971890314a06200f60d4c949d9b9654029b9fc3
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-26 12:32:49 +0200

    rename cmd_get_oui len to ouis

Base directory -> /
 src/agent.c | 2 +-
 src/cntlr.c | 2 +-
 src/comm.h  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 78ccf99c31adac40d44c10d0d43e5f77d8e922d5
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-26 12:03:49 +0200

    agent: set default mobility domain to 500

Base directory -> /
 src/config.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 9025601e7350db19ace8cdac0f1177b7f160cde7
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-26 11:48:59 +0200

    agent: remove some debugging prints

Base directory -> /
 src/agent.c | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 2692001a2a941f1bd7086fa3e68ba3dfa75dd440
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-26 09:49:06 +0200

    minor clean up and print refactor

Base directory -> /
 src/agent.c | 50 +++++++++++++++++++++++++++++++-------------------
 src/cntlr.c | 13 +++++++------
 src/utils.c |  4 ++--
 src/utils.h |  2 +-
 4 files changed, 41 insertions(+), 28 deletions(-)
-------------------------------------------------------------------------------
commit 505bb9940557f6420f94e6f4ed91aa5acde943bf
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-25 10:54:10 +0200

    dynamically get oui0s, get mobility domain from cfg

Base directory -> /
 src/agent.c  | 191 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/cntlr.c  |  50 ++++++++++++++--
 src/cntlr.h  |   3 +
 src/comm.h   |  11 ++++
 src/config.c |  22 ++++++-
 src/config.h |   3 +
 src/utils.c  |  14 ++++-
 src/utils.h  |   3 +
 8 files changed, 289 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 842784fc4d10013765ed6bc4cfa7a17a550cb3e7
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-25 15:10:54 +0200

    cntlr: pass correct bssid to active_sta_info

Base directory -> /
 src/cntlr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fa5438630046fba1a3e6c425507574ff3c2754ec
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-25 10:51:56 +0200

    move arp_flush from cntlr to agent

Base directory -> /
 src/agent.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/cntlr.c | 44 +++++++++++++++++++-------------------
 2 files changed, 92 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit 3be8e7f81cb21fbb09260c933f3074591b74a193
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2019-04-24 11:51:06 +0200

    refactor and extend active_sta functionality

    Stale clients turned out to be a problem at mediatek devices as well so
    active_sta functionality was extended to invoke disconnect_sta on missing
    disassociate events through ubusx.

Base directory -> /
 src/cntlr.c      | 119 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 src/hash_table.c |  28 ++++++++++---
 src/hash_table.h |   6 ++-
 3 files changed, 130 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit ef39a8e67b4da32179d79ea342f0fa2abd854ab4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-25 14:10:23 +0200

    agent: halt execution if disabled in config

Base directory -> /
 src/agent.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2019-05-13 13:49:24 +02:00
Ronny Nilsson
79a038f283 voice: minor cleanups of unused code. 2019-05-13 13:45:19 +02:00
Amin Ben Ramdhane
d6890613f4 icwmp: TR181 Ethernet object 2019-05-13 12:30:58 +01:00
Amin Ben Ramdhane
c6c5364e5c icwmp: 4.0-2019-05-13 2019-05-13 11:39:32 +01:00
Anjan Chanda
bf4985ce65 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 8fe360e add ubus method to monitor stas
-------------------------------------------------------------------------------
commit 8fe360e39fa71dbf5f7618afaba4b05da804981e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-11 13:08:37 +0200

    add ubus method to monitor stas

Base directory -> /
 wifimngr.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
-------------------------------------------------------------------------------
2019-05-13 11:05:12 +02:00
Anjan Chanda
5c857e41a8 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 49a3849 libwifi: bcm: remove unused variable warnings
* c10cdf1 libwifi: bcm: use initialized args in get_security
* 2cb67c2 libwifi: new api to monitor unassociated sta
-------------------------------------------------------------------------------
commit 49a3849f29cf59a7ba1f2f4942ffbd3b6d09a6e9
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-13 10:58:27 +0200

    libwifi: bcm: remove unused variable warnings

Base directory -> /
 libwifi/bcm.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit c10cdf1f60f5b753e4b73dc7eafe99d011947751
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-11 20:40:24 +0200

    libwifi: bcm: use initialized args in get_security

Base directory -> /
 libwifi/bcm.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2cb67c2c27e9bee582b85219e1ea77e8449d06d4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-11 12:59:45 +0200

    libwifi: new api to monitor unassociated sta

    Support monitoring of unassociated stas in BCM and MTK wifi. This adds very
    basic sta monitoring support. No fancy options supported yet. Also stopping
    an ongoing monitor is not possible now. BCM wifi drivers do not report time
    of the monitored data, thus making it less useful.

Base directory -> /
 libwifi/bcm.c  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/mtk.c  | 42 ++++++++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c | 11 +++++++++++
 libwifi/wifi.h | 13 +++++++++++++
 4 files changed, 112 insertions(+)
-------------------------------------------------------------------------------
2019-05-13 10:59:25 +02:00
Jakob Olsson
85c92f04f3 Revert "easy-qos: update ebtables to add repeated addresses preemptively"
This reverts commit 87e70ef5d2.
2019-05-13 09:48:16 +02:00
Sukru Senli
b36f5ef953 icwmp: 4.0-2019-05-12 2019-05-12 12:43:16 +02:00
Jakob Olsson
c789b4707f wifimngr: update pkg to include encryption fix on status print 2019-05-10 15:11:58 +02:00
Jakob Olsson
4e09f48505 easy-soc-libs: update pkg to include libwif encryption fix 2019-05-10 15:10:32 +02:00
Jakob Olsson
87e70ef5d2 easy-qos: update ebtables to add repeated addresses preemptively 2019-05-09 14:16:36 +02:00
Ronny Nilsson
89c54abec6 voice: Reduce an audio delay that occurred when Dect keypad digits where pressed. 2019-05-09 13:54:33 +02:00
yyashvardhan
bca0c5779b uspd: implemented new operate commands 2019-05-09 16:03:45 +05:30
Amin Ben Ramdhane
81245bc471 icwmp-4.0-2019-05-08 2019-05-08 16:46:03 +01:00
Jakob Olsson
74259b0f9b netmodes: update default config values for macfilter 2019-05-07 08:59:55 +02:00
Jakob Olsson
3f7e6e8112 netmode: wps_pbc to wps_pushbutton 2019-05-06 16:15:13 +02:00
Jakob Olsson
0e2e9bd7e0 netmode: bss_max to maxassoc 2019-05-06 16:15:13 +02:00
Amin Ben Ramdhane
71afb05602 icwmp: Fix the setting of outgoing line 2019-05-06 14:18:33 +01:00
Amin Ben Ramdhane
fb6ffdb483 icwmp-4.0-2019-05-06 2019-05-06 10:47:22 +01:00
Sukru Senli
05c3d1131e uspd: update package title 2019-05-03 18:11:01 +02:00
vdutta
93c3e1beab uspd: ubus usp backend 2019-05-03 17:36:57 +02:00
Ronny Nilsson
7cfe3d36f2 voice: Default reset wasn't working for external Dect in Iopsys 4.
refs #489
2019-05-03 16:59:12 +02:00
Sukru Senli
d1cf6136e1 icwmp: get correct line num for voice profile 2019-05-03 12:54:28 +02:00
Amin Ben Ramdhane
b9e537afdf icwmp-4.0-2019-05-03 2019-05-03 10:43:16 +01:00
Ronny Nilsson
62cb3bac48 voice: fix toggling parallel calls with R0, R1, R3 as well
as remind user if he forgetts a parked call.
refs #490
2019-05-02 21:41:07 +02:00
Anjan Chanda
492ec4ba0b Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 659602b wps - handle commands when no interface is provided
-------------------------------------------------------------------------------
commit 659602bc62a244d5b53e452b7ee10ff846f03d01
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-05-02 09:53:29 +0200

    wps - handle commands when no interface is provided

Base directory -> /
 wps.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 59 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
2019-05-02 09:59:50 +02:00
Sukru Senli
e5c8ff6b69 iop: genconfig: use iopsys consumer repo by default 2019-04-30 15:36:44 +02:00
Oussama Ghorbel
62aa40ceea uboot:intel_mips update revision
15e223e norrland: match the nand reserved block for kernel to uboot
value
2019-04-30 14:06:47 +02:00
Ronny Nilsson
2e01bf6bb6 Pressing R0 in combination with call waiting feature didn't give a correct busy tone. 2019-04-29 15:02:02 +02:00
Oussama Ghorbel
000f56e96d uboot:intel_mips: update revision 2019-04-26 18:41:03 +02:00
Amin Ben Ramdhane
6dc5b1361b icwmp-4.0-2019-04-26 2019-04-26 16:54:45 +01:00
Oussama Ghorbel
9cfe56a4dd gryphon-led-module: avoid turn off the led in module probe 2019-04-26 17:36:34 +02:00
Oussama Ghorbel
b9057e4503 uboot:intel_mips: update revision 2019-04-26 17:33:13 +02:00
Amin Ben Ramdhane
517b5beb7f icwmp: Add TWAMP Protocol 2019-04-26 12:07:07 +01:00
Jakob Olsson
e970f337e6 wifilife: update pkg hash to include arp flush and stale entry refactor 2019-04-26 12:38:40 +02:00
Amin Ben Ramdhane
6e7f5acd4e icwmp: Add Wifi Life parameters 2019-04-25 15:02:07 +01:00
Sukru Senli
bcb6a76472 wifilife: do not start wifiagent if wifilife is disabled 2019-04-25 11:42:01 +02:00
Jakob Olsson
061bbbeb2a wifilife: update pkg hash to include active_sta extension #575 2019-04-24 12:27:09 +02:00
Anjan Chanda
501fbb83c9 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* f6deba9 libwifi: intel - implement wps get status
-------------------------------------------------------------------------------
commit f6deba973cba01d630fdc40c6e97c384b07e3df5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-24 11:23:23 +0200

    libwifi: intel - implement wps get status

Base directory -> /
 libwifi/nlwifi.c | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-04-24 11:27:13 +02:00
Kenneth Johansson
6ca5a756fd iopu: remove unused variable. 2019-04-23 21:16:03 +02:00
Anjan Chanda
c4649c0435 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* f6d4cb7 libwifi: intel - wps set/get pin of an AP interface
-------------------------------------------------------------------------------
commit f6d4cb75048f2c509f42ab7590dced3f9ff5e29a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-23 16:14:07 +0200

    libwifi: intel - wps set/get pin of an AP interface

Base directory -> /
 libwifi/nlwifi.c | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
-------------------------------------------------------------------------------
2019-04-23 16:20:31 +02:00
Anjan Chanda
7d7dddbded Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 929a868 libwifi: bcm - fix few warnings
* 32e0552 libwifi: mtk - fix a minor no-return warning
* f277523 libwifi: fix wps pin mode connection
* 0cd0e9e libwifi: intel - implement wps pbc start, stop and status
-------------------------------------------------------------------------------
commit 929a868b6cadbf6c165cb74a5026266f1a7146c4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-23 13:49:50 +0200

    libwifi: bcm - fix few warnings

Base directory -> /
 libwifi/bcm.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 32e0552df05fbeb82f81a8220fb7fa92afaf7145
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-23 13:26:13 +0200

    libwifi: mtk - fix a minor no-return warning

Base directory -> /
 libwifi/mtk.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit f2775232bcbba0dc903c67bf20383686bdfe0a6d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-23 13:18:53 +0200

    libwifi: fix wps pin mode connection

Base directory -> /
 libwifi/mtk.c    |  2 +-
 libwifi/nlwifi.c | 25 ++++++++++++++++---------
 libwifi/wifi.c   |  7 +++++--
 3 files changed, 22 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 0cd0e9ed02558538b279b68eb8c9f4dc50bc2bf4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-22 18:11:31 +0200

    libwifi: intel - implement wps pbc start, stop and status

Base directory -> /
 libwifi/nlwifi.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
-------------------------------------------------------------------------------
2019-04-23 14:00:04 +02:00
Anjan Chanda
f6ab509b13 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* dfe0095 publish 'wifix.wps' object and do minor cleanups
-------------------------------------------------------------------------------
commit dfe0095a43a5555f27403b76c9b596efcdb18136
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-22 20:04:23 +0200

    publish 'wifix.wps' object and do minor cleanups

    Add methods needed to start, stop and configure wps. Cleanup code and get
    rid of the extra translation layer between libwifi APIs and wifimngr's ubus
    methods. Anyway, wifimngr will interface directly with libwifi apis.

Base directory -> /
 Makefile        |   2 +-
 main.c          |   9 +-
 wifimngr.c      | 150 ++++++++++++++-------
 wifimngr.h      |  12 +-
 wifimngr_wifi.c | 145 --------------------
 wifimngr_wifi.h |  22 ---
 wps.c           | 405 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 528 insertions(+), 217 deletions(-)
-------------------------------------------------------------------------------
2019-04-23 13:59:35 +02:00
Anjan Chanda
33400e8177 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 09f37f6 fix incorrect api check for list_neighbor
-------------------------------------------------------------------------------
commit 09f37f6a32b486e82cef47ee269303bfff394006
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-22 15:40:39 +0200

    fix incorrect api check for list_neighbor

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-04-22 16:21:29 +02:00
Sukru Senli
f6e0245c40 wifilife-1.0.3: adapt to use wifix object stations method 2019-04-20 13:10:00 +02:00
Sukru Senli
21460d7c51 voice-client: convert from old to new tel_advanced section name 2019-04-19 22:20:32 +02:00
Sukru Senli
31675b540f iop: config: remove juci-natalie-dect from default config 2019-04-19 17:02:29 +02:00
Omar Kallel
1706a785da icwmp: DHCPv6 object 2019-04-18 15:32:08 +01:00
Oussama Ghorbel
bf621a4371 Update feed [ iopsys ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 7694301 remove the warning Error: option is missing: sx9512_i2c_device
-------------------------------------------------------------------------------
commit 769430115b6dd984313574c3fa2a6d99c65cd223
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-04-18 13:46:58 +0200

    remove the warning Error: option is missing: sx9512_i2c_device

Base directory -> /
 src/touch_sx9512.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-04-18 13:47:41 +02:00
Oussama Ghorbel
a0ae93e039 Update feed [ iopsys ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 7603235 remove compilation warning about declaration shadow
* 99f3837 added support for RGB LED (SK9822)
-------------------------------------------------------------------------------
commit 76032350a6182f035bd47ea03c96e4386f3cd5cf
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-04-18 11:38:06 +0200

    remove compilation warning about declaration shadow

Base directory -> /
 src/gpio_led.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 99f383757fbbd9227ffc48ac2fb77597787d1aef
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-04-18 11:24:43 +0200

    added support for RGB LED (SK9822)

Base directory -> /
 src/gpio_led.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 50 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2019-04-18 12:13:55 +02:00
Jakob Olsson
51c4e9e98f questd: update pkg hash to include ports intel update 2019-04-17 10:32:15 +02:00
Jakob Olsson
4cd02f8b51 questd: update hash for segfault fix on missing ifname 2019-04-16 12:17:32 +02:00
Jakob Olsson
402d945997 easy-soc-libs: update pkg hash to include mbps to kbps conversion in mtk 2019-04-16 10:57:31 +02:00
Anjan Chanda
e1da091a9b Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 66a7e95 add few basic error handling
-------------------------------------------------------------------------------
commit 66a7e957f5e3e83ab60da68f7fb05cdda7f474d5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-15 13:55:52 +0200

    add few basic error handling

Base directory -> /
 wifimngr.c | 43 ++++++++++++++++++++++++++++++-------------
 1 file changed, 30 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
2019-04-15 16:21:01 +02:00
Jakob Olsson
b72f301a8c questd: update pkg to include json key correction 2019-04-15 15:28:41 +02:00
Jakob Olsson
f07e50fea1 easy-soc-libs: update pkg hash to include intel libwifi memory fixes 2019-04-15 15:02:39 +02:00
Jakob Olsson
5137bc73ef questd: update pkg to include memory management fixes 2019-04-15 11:10:22 +02:00
Jakob Olsson
111db0229b questd: update pkg to include mediatek compilation errors fix 2019-04-15 09:27:31 +02:00
Sukru Senli
f52b0f7f47 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 530649a adapt to easy-soc-libs returning bitrate in Mbps
-------------------------------------------------------------------------------
commit 530649ad376aba86a504f4186222dbd45705ec92
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-14 07:33:26 +0200

    adapt to easy-soc-libs returning bitrate in Mbps

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-04-14 12:11:27 +02:00
Sukru Senli
574c540048 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 9451754 libwifi: return bitrate in Mbps
-------------------------------------------------------------------------------
commit 9451754170a39b33d2cf0df1d6134f2e28bd1a97
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-14 07:37:17 +0200

    libwifi: return bitrate in Mbps

Base directory -> /
 libwifi/bcm.c    | 2 ++
 libwifi/mtk.c    | 2 +-
 libwifi/nlwifi.c | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-04-14 12:11:00 +02:00
Sukru Senli
5f3e4e40ae Inteno->iopsys adaptations 2019-04-14 10:59:37 +02:00
Sukru Senli
1b89309647 update package maintaniners for owsd and imonitor 2019-04-14 10:55:13 +02:00
Sukru Senli
31d05b1c7e easy-qos: add firewall hook 2019-04-13 18:05:35 +02:00
Sukru Senli
b2a75c32a7 easy-qos: install iptables way of classifying 2019-04-13 17:45:50 +02:00
Sukru Senli
541162b96f Update feed [ iopsys ] package [ icwmp ]
-------------------------------------------------------------------------------
* f7e8cee wifi: use wifix stations call for AssociatedDevices
* 5060782 Compiling error fixe
* 65957ca ethernet vlan (standarize alias option name)
* fc19054 Ticket refs #478: TR-181: Device.DHCPv6 object
* 7083d3a Ticket refs #478: TR-181: Device.DHCPv6 object (Device.DHCPv6.Client.{i}.)
* 56b8898 Ticket refs #478: TR-181: Device.DHCPv6 object (code skeleton)
-------------------------------------------------------------------------------
commit f7e8cee5bcc578cc9bb9307e31d0c057676a377c
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-12 19:57:00 +0200

    wifi: use wifix stations call for AssociatedDevices

Base directory -> /
 dm/dmtree/tr181/wifi.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 5060782a3575cc6986fef4ffac1f59bc2d78a8db
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2019-04-12 18:17:48 +0100

    Compiling error fixe

Base directory -> /
 bin/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 65957cae12f5255dd5910c9e3de55c3b3163862e
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2019-04-12 17:55:49 +0100

    ethernet vlan (standarize alias option name)

Base directory -> /
 dm/dmtree/tr181/ethernet.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit fc19054e3148052250e61de000b6d9f42cb5dd31
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2019-04-12 17:54:25 +0100

    Ticket refs #478: TR-181: Device.DHCPv6 object

Base directory -> /
 dm/dmtree/tr181/dhcpv6.c | 645 +++++++++++++++++++++++++++++++++++++++++++----
 dm/dmtree/tr181/dhcpv6.h |  23 +-
 2 files changed, 609 insertions(+), 59 deletions(-)
-------------------------------------------------------------------------------
commit 7083d3a12feede4128eb2b351abc72b30f79fbda
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2019-04-09 09:34:43 +0100

    Ticket refs #478: TR-181: Device.DHCPv6 object (Device.DHCPv6.Client.{i}.)

Base directory -> /
 dm/dmtree/tr181/dhcp.c   |  10 +--
 dm/dmtree/tr181/dhcpv6.c | 224 ++++++++++++++++++++++++++++++++++++++++-------
 dm/dmtree/tr181/dhcpv6.h |   9 ++
 3 files changed, 208 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit 56b8898f1f82070565e5f37ae797c520fc206b69
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2019-04-03 11:17:53 +0100

    Ticket refs #478: TR-181: Device.DHCPv6 object (code skeleton)

Base directory -> /
 bin/Makefile.am          |    1 +
 dm/dmtree/common/root.c  |    3 +-
 dm/dmtree/tr181/dhcpv6.c | 1297 ++++++++++++++++++++++++++++++++++++++++++++++
 dm/dmtree/tr181/dhcpv6.h |  164 ++++++
 4 files changed, 1464 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-04-12 20:03:14 +02:00
Sukru Senli
841a87a27d Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 9d69d6b present radio rate on ubus in Mbps
* 6473e1f add disconnect_sta method
-------------------------------------------------------------------------------
commit 9d69d6b7008cebc94f3a0622d539e745acd36bba
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-12 17:22:32 +0200

    present radio rate on ubus in Mbps

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6473e1ff51964d25ef8af2a93859b00734489a09
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 16:30:50 +0200

    add disconnect_sta method

Base directory -> /
 wifimngr.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
2019-04-12 17:32:39 +02:00
Sukru Senli
d432a47f61 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 58a40d8 network: workaround for Intel uplink port to be ignored for network clients list
-------------------------------------------------------------------------------
commit 58a40d862dd7f74544ae5cbf321a4a0772852214
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-12 17:23:11 +0200

    network: workaround for Intel uplink port to be ignored for network clients
    list

Base directory -> /
 network.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2019-04-12 17:32:12 +02:00
Anjan Chanda
bd6cf5a52c Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 843b3bd libwifi: intel - implement disconnect_sta api
* cd17083 libwifi: intel - implement autochannel api
-------------------------------------------------------------------------------
commit 843b3bd36ab57329d349f90372bfcf0fc957cc21
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 16:30:02 +0200

    libwifi: intel - implement disconnect_sta api

Base directory -> /
 libwifi/nlwifi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit cd17083a62c4e7db4e0b0e9b063adc5765eb0253
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 16:00:44 +0200

    libwifi: intel - implement autochannel api

Base directory -> /
 libwifi/nlwifi.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-04-12 16:40:24 +02:00
Anjan Chanda
e52a6b797e Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 6473e1f add disconnect_sta method
-------------------------------------------------------------------------------
commit 6473e1ff51964d25ef8af2a93859b00734489a09
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 16:30:50 +0200

    add disconnect_sta method

Base directory -> /
 wifimngr.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
2019-04-12 16:39:44 +02:00
Jakob Olsson
ef1243d0c9 questd: update pkg hash to include wifix object usage 2019-04-12 15:42:39 +02:00
Jakob Olsson
8309923834 wifimngr: update pkg hash to include stas airtime and max rate print changes 2019-04-12 15:35:50 +02:00
Oussama Ghorbel
47a0e7b5ec Update feed [ iopsys ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* c1598f9 added support for Linux LED
-------------------------------------------------------------------------------
commit c1598f9dc8f2d67fbfcfd831052f40b3cde3d19c
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-04-12 14:11:06 +0200

    added support for Linux LED

Base directory -> /
 src/gpio_led.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 74 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-04-12 14:22:18 +02:00
Anjan Chanda
5eb6db9f51 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 15da80a libwifi: intel - get airtime % for sta
* 9133aa0 libwifi: add new APIs for mac ACL management
* 59add56 libwifi: intel - guesstimate phy rate
-------------------------------------------------------------------------------
commit 15da80ab5ebc3e5f76d08545bb9f5f4516ffd178
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 13:47:11 +0200

    libwifi: intel - get airtime % for sta

Base directory -> /
 libwifi/nlwifi.c | 32 ++++++++++++++++++++++++++++++++
 libwifi/wifi.h   | 10 +++++-----
 2 files changed, 37 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 9133aa07775b577d0f07c29f02e40ec7985b15a6
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 11:48:11 +0200

    libwifi: add new APIs for mac ACL management

Base directory -> /
 libwifi/wifi.c | 22 ++++++++++++++++++++++
 libwifi/wifi.h |  7 +++++--
 2 files changed, 27 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 59add5651d672df9df80bae0d99737b0fe474b94
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 11:39:13 +0200

    libwifi: intel - guesstimate phy rate

Base directory -> /
 libwifi/nlwifi.c | 51 ++++++++++++++++++++++++++++++++++++++++++++-------
 libwifi/wifi.h   |  9 +++++++++
 2 files changed, 53 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2019-04-12 13:54:32 +02:00
Anjan Chanda
3c651896ca Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 77fbf0c include airtime-% in stas/stations dump
* 2c804e9 fix data type for bitrate
-------------------------------------------------------------------------------
commit 77fbf0cbb7f99b97693b8b0ac1c2e3cfaae414b2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 13:50:09 +0200

    include airtime-% in stas/stations dump

Base directory -> /
 wifimngr.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 2c804e922070159afe01763c65e90257707b10e0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 11:35:57 +0200

    fix data type for bitrate

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-04-12 13:53:55 +02:00
Jakob Olsson
4f6710713b questd: update pkg to no longer use temp wireless obj 2019-04-12 11:33:04 +02:00
Jakob Olsson
92d3b9da23 questd: update pkg hash to include intel files 2019-04-12 11:23:28 +02:00
Jakob Olsson
3a68d867b9 questd: update pkg hash to include removal of platform file usage 2019-04-12 11:17:16 +02:00
Anjan Chanda
d5497e822b Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* f829062 fix const warning during compile
* 87abf29 rename router.wirelessx -> router.wireless
* f69045f rename stations output label
* 53042e7 make 'stas' output compatible with questd's
* 587d4d4 pass max sta numbers expected in assoclist
-------------------------------------------------------------------------------
commit f829062583c5234623080282dacec958831d554a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 10:35:50 +0200

    fix const warning during compile

Base directory -> /
 wifimngr.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 87abf295a8a4e121c55e65670278d23903ccba8f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-12 10:24:33 +0200

    rename router.wirelessx -> router.wireless

Base directory -> /
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f69045fbff527446ceeebeb3c1156effcdc2a82f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-11 16:52:38 +0200

    rename stations output label

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 53042e7c9d054fc8989ab116ca1f65517afb9077
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-11 15:22:39 +0200

    make 'stas' output compatible with questd's

Base directory -> /
 wifimngr.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 158 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit 587d4d48226c70fa996cd110c381ed267b40d431
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-11 13:22:45 +0200

    pass max sta numbers expected in assoclist

Base directory -> /
 wifimngr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-04-12 10:37:28 +02:00
Anjan Chanda
018a16c326 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* cd37ea3 libwifi: intel - handle reassoc frame while parsing for maxrate
* 2a2cfe5 libwifi: intel - calculate maxrate of associated clients
-------------------------------------------------------------------------------
commit cd37ea3ba4c4b476bc8813e577e45109fe5399e1
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-11 16:23:23 +0200

    libwifi: intel - handle reassoc frame while parsing for maxrate

Base directory -> /
 libwifi/nlwifi.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 2a2cfe5a71dac8142727f113351ca948373abfd4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-11 13:19:05 +0200

    libwifi: intel - calculate maxrate of associated clients

Base directory -> /
 libwifi/nlwifi.c | 221 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 218 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-04-11 16:31:48 +02:00
Sukru Senli
f97a4d659d iop: genconfig: deselect GITMIRROR_REWRITE correctly 2019-04-11 10:58:07 +02:00
Anjan Chanda
7c54303f04 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 2872deb libwifi: nlwifi - get sta capabilities and bss security
-------------------------------------------------------------------------------
commit 2872deb1ebc20898fe91b3dd413d691f8ae8de40
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-10 15:49:56 +0200

    libwifi: nlwifi - get sta capabilities and bss security

Base directory -> /
 libwifi/nlwifi.c | 318 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/wext.c   |  47 ++++++++
 libwifi/wext.h   |   1 +
 3 files changed, 366 insertions(+)
-------------------------------------------------------------------------------
2019-04-10 16:17:28 +02:00
Anjan Chanda
913305f708 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* c286c97 include both auth and cipher in status output
-------------------------------------------------------------------------------
commit c286c973868d68a92c671dd72d6bf8a19fa94fce
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-10 15:57:02 +0200

    include both auth and cipher in status output

Base directory -> /
 wifimngr.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-04-10 16:16:39 +02:00
Jakob Olsson
08d54cde12 questd: update pkg to include vendor name removal from legacy funcs 2019-04-10 09:34:37 +02:00
Jakob Olsson
90a23e70d7 questd: update pkg makefile to include questd network refactor with locks 2019-04-09 16:27:00 +02:00
Jakob Olsson
a46343f75c easy-qos: update json section of init.d script 2019-04-09 15:01:21 +02:00
Jakob Olsson
dc3a3654c4 easy-qos: remove dummy configurations from default 2019-04-09 14:10:56 +02:00
Jakob Olsson
2439d9c403 Merge branch 'easy-qos' into devel 2019-04-09 13:52:39 +02:00
Jakob Olsson
5d3f91dcbd easy-qos: remove old copyright note 2019-04-09 13:52:18 +02:00
Jakob Olsson
552e12722d easy-qos: update makefile, rename init.d script 2019-04-09 13:52:18 +02:00
Jakob Olsson
2fc4646ada easy-qos: update script to use json over space seprator 2019-04-09 13:52:18 +02:00
Jakob Olsson
f01d3b6700 easy-qos: update priority best to besteffort 2019-04-09 13:52:18 +02:00
Jakob Olsson
a197b9331e easy-qos: change config typo from list to option 2019-04-09 13:52:18 +02:00
vdutta
267da1e64e Added easy_qos init script for ebtable rules 2019-04-09 13:52:18 +02:00
vdutta
8ddb4d534b Updated all in Protocol for easy_qos 2019-04-09 13:52:18 +02:00
vdutta
67083bb239 Added easy_qos package for marking packets in mangle table 2019-04-09 13:52:18 +02:00
Yalu Zhang
c6738cb0ad Revert "Restart asterisk when configuration changes"
This reverts commit 72d7f0fcf8 since
asterisk CLI "intel reload" has been implemented.
2019-04-09 10:46:18 +02:00
Oussama Ghorbel
3af26d6f84 gryphon-led-module: reduce verbosity 2019-04-08 17:37:08 +02:00
Oussama Ghorbel
aecd02af65 gryphon-led-module: reduce maximum brightness 2019-04-08 17:37:08 +02:00
Oussama Ghorbel
ab558792a0 gryphon-led-module: modify transmission routine according to SK9822 spec 2019-04-08 17:37:08 +02:00
Sukru Senli
8f0df36664 iop: update_package: ignore the feed if not hash is used 2019-04-08 16:00:18 +02:00
Anjan Chanda
a626c678c5 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* f9dd7cb rename method name back to 'scan' from 'scan2'
* a863452 change format of stas dump
* 4a3fd06 create 'router.wirelessx' object and add temperature
* 6d50604 hide methods that are not supported
-------------------------------------------------------------------------------
commit f9dd7cba30f5fd9faacb4368d78aa7ecac366dc2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-08 12:04:22 +0200

    rename method name back to 'scan' from 'scan2'

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a86345260b3c4c00dceaf1ec32e3dc2fd1f0845f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-05 15:02:44 +0200

    change format of stas dump

Base directory -> /
 wifimngr.c | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 4a3fd06823892e3e5cd973ffc20f53345ffc4256
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-04 16:59:45 +0200

    create 'router.wirelessx' object and add temperature

    Create a router.wireless object that duplicates wifix methods. Add method
    temperature. Also improve code for dynamic addition of the libwifi supported
    methods.

Base directory -> /
 main.c     |   7 ++-
 wifimngr.c | 142 +++++++++++++++++++++++++++++++++++--------------------------
 wifimngr.h |   2 +-
 3 files changed, 89 insertions(+), 62 deletions(-)
-------------------------------------------------------------------------------
commit 6d50604e0d6130da48eb3d5cc0a7677be1a4454f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-03 17:23:47 +0200

    hide methods that are not supported

Base directory -> /
 main.c     |   2 +-
 wifimngr.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 wifimngr.h |   1 +
 3 files changed, 130 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2019-04-08 15:56:05 +02:00
Anjan Chanda
da5a5476e1 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* ffbdfc7 libwifi: nlwifi - add get_security api
* 4367175 libwifi: include supported 802.11 stds for scanned APs
* 0a792d0 libwifi: make ciphers in scanresults compat with current wifi.h
* 660cca0 libwifi: add get_capabilities for nlwifi
* b2541b2 libwifi: fix temperature api returned len
* 4374527 libwifi: add libwifi_supports() api check
* cb729d8 libwifi: get temperature, country and standard
-------------------------------------------------------------------------------
commit ffbdfc7680e2c32390048c08aa5f99186d1cab40
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-08 15:27:33 +0200

    libwifi: nlwifi - add get_security api

Base directory -> /
 libwifi/nlwifi.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 52 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 4367175903a2939f91de5b910888866801fd91ed
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-08 11:44:32 +0200

    libwifi: include supported 802.11 stds for scanned APs

Base directory -> /
 libwifi/nlwifi.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
-------------------------------------------------------------------------------
commit 0a792d0200cc1e3e486fb348a2d87018b8b8a528
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-08 10:05:25 +0200

    libwifi: make ciphers in scanresults compat with current wifi.h

Base directory -> /
 libwifi/nlwifi.c | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit 660cca05272ab01c46fd96c96053d30c0fb8668c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-05 15:39:09 +0200

    libwifi: add get_capabilities for nlwifi

Base directory -> /
 libwifi/nlwifi.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 77 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit b2541b29dca0ca398d8b195060230ba95b467ab4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-04 17:06:14 +0200

    libwifi: fix temperature api returned len

Base directory -> /
 libwifi/nlwifi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4374527fb81db0040a299d402c189a9977b0e0b5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-03 17:26:47 +0200

    libwifi: add libwifi_supports() api check

Base directory -> /
 libwifi/wifi.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/wifi.h |   8 +++++
 2 files changed, 110 insertions(+)
-------------------------------------------------------------------------------
commit cb729d8fcb6eccba11d285e9f44a57ba85570811
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-03 10:37:22 +0200

    libwifi: get temperature, country and standard

Base directory -> /
 libwifi/nlwifi.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c   | 11 +++++++
 libwifi/wifi.h   |  8 +++++
 3 files changed, 118 insertions(+)
-------------------------------------------------------------------------------
2019-04-08 15:47:02 +02:00
Amin Ben Ramdhane
dd9dff7810 icwmp-4.0-2019-04-05 2019-04-05 17:52:41 +01:00
Oussama Ghorbel
7b0e391f98 gryphon-led-module: fix memory allocation issue 2019-04-05 14:07:43 +02:00
Jakob Olsson
fa8094da2c samba: update hex_filter performance 2019-04-05 09:24:18 +02:00
Oussama Ghorbel
7d202f64b0 gryphon-led-module: move the driver to LED modules section 2019-04-04 10:30:04 +02:00
Oussama Ghorbel
b7b48d7815 gryphon-led-module: added driver for RGB led 2019-04-04 08:38:28 +02:00
vdutta
6a483badac Added NDT speed test client
Test:
 - web100clt client is available in DUT(ex400) on including ndt package
2019-04-02 16:12:33 +02:00
Sukru Senli
8756e51e1f netmode: fix acl for netmodes 2019-04-02 12:06:26 +02:00
Kent Ekholm
338ed66325 voice-client: Fixed line name error caused by 60742c4. 2019-04-02 12:04:16 +02:00
Sachin Singla
7907ca2725 ifbt: add syslog debugging feature 2019-04-02 11:53:06 +02:00
Anjan Chanda
2481be3c17 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 359524d libwifi: fix dependency errors of wext.c
* 03f9203 libwifi: integrate intel nlwifi support
-------------------------------------------------------------------------------
commit 359524ddd8a17df39c70c5ba39e723e9641d5956
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-01 16:51:55 +0200

    libwifi: fix dependency errors of wext.c

Base directory -> /
 libwifi/Makefile | 4 ++--
 libwifi/wifi.c   | 6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 03f920394f47730e0326705d61d8a8e6a04f0810
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-04-01 16:00:51 +0200

    libwifi: integrate intel nlwifi support

Base directory -> /
 libwifi/Makefile  |   9 +-
 libwifi/drivers.c |   3 +
 libwifi/drivers.h |   3 +
 libwifi/intel.h   | 142 ++++++++++++++++
 libwifi/nlwifi.c  | 482 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 libwifi/wext.c    |   1 -
 libwifi/wifi.c    |  88 +++++++++-
 libwifi/wifi.h    |   8 +
 8 files changed, 729 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2019-04-01 17:08:20 +02:00
Anjan Chanda
922509742f Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 1de666d match iftype in uci_wifi_get_interfaces function
* 4b4087d account for vifs in wildcard dumps
* ba40c08 assoclist can dump info for all radios
-------------------------------------------------------------------------------
commit 1de666d20954b818c075c9166a005d1ae13526d6
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-03-29 14:49:03 +0100

    match iftype in uci_wifi_get_interfaces function

Base directory -> /
 wifimngr.c | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 4b4087d3970258c2fd7e90e65df923e3f699189e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-03-28 11:50:50 +0100

    account for vifs in wildcard dumps

Base directory -> /
 wifimngr.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 65 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit ba40c089a07601cb4831fc82abde940d5b9937fc
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-03-21 13:06:57 +0100

    assoclist can dump info for all radios

Base directory -> /
 wifimngr.c | 106 ++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 67 insertions(+), 39 deletions(-)
-------------------------------------------------------------------------------
2019-04-01 16:14:29 +02:00
Amin Ben Ramdhane
12eeaab14f icwmp: implements ticket refs #475 2019-04-01 15:05:50 +01:00
Benjamin Larsson
5ddd8d9565 tools: Add ltq-nand host tool 2019-04-01 16:00:31 +02:00
Omar Kallel
1612137a98 icwmp: Device.DHCPv4. TR-181 object 2019-04-01 10:20:45 +01:00
Yalu Zhang
72d7f0fcf8 Restart asterisk when configuration changes
This is just a temporary workaround since "intel reload" doesn't work properly on
Intel platform. The commitment will be reverted when the problem is solved.
2019-04-01 11:01:25 +02:00
Sukru Senli
60742c42b3 voice-client: fix line syntax 2019-04-01 10:40:48 +02:00
Sukru Senli
4acd35f27e rulengd: v1.1.0 with json recipe support 2019-03-30 19:53:59 +01:00
Sachin Singla
a20c24b2e1 ifbt: change event name to wifi.fbt 2019-03-29 17:55:17 +01:00
Kenneth Johansson
1c0ec3b441 dslmngr: fix dependency on easy-soc-libs.
The header file xdsl.h is created from easy-soc-libs package.
2019-03-29 16:39:27 +01:00
Amin Ben Ramdhane
195993ad4c Ticket refs #378: TR-181: Device.IP.Diagnostics 2019-03-29 11:39:37 +01:00
Amin Ben Ramdhane
a1cf420672 icwmp-4.0-2019-03-29 2019-03-29 10:25:41 +01:00
Sachin Singla
a65cd95ebe libwifi: add PMKR0 for MTK 2019-03-29 09:23:13 +01:00
Sachin Singla
2b355ac6ed ifbt: fix issues in ifbt 2019-03-28 16:44:25 +01:00
Kenneth Johansson
0d36a03130 genconfig: add option to force build of bcmkernel to one thread.
to allow the jenkins builds to use this but to still default to
parallel build for developers.
2019-03-28 15:22:59 +01:00
Sachin Singla
a92b3b6c70 ifbt: fix ifbt issues 2019-03-28 12:14:02 +01:00
Sachin Singla
2ae73ef3b9 add PMK_R0 for 11r 2019-03-28 10:36:46 +01:00
Sachin Singla
581377431c increase inbd buffer 2019-03-28 10:23:22 +01:00
Sukru Senli
ad027d5ed6 ice-client: restrict read access to ice user password 2019-03-27 18:05:04 +00:00
Kent Ekholm
9573b64759 voice-client: Make it possible to set echo cancelling.
Ref: #425
2019-03-27 17:34:31 +01:00
Jakob Olsson
7222f366dd questd: update pkg to include wificontrol compilation fixes 2019-03-27 16:24:54 +01:00
Jakob Olsson
a54562e035 Revert "questd: remove wificontrol"
This reverts commit 7513d32e91.
2019-03-27 16:14:13 +01:00
Jakob Olsson
747e201f4c questd: update pkg to include wificontrol re-addition to makefile 2019-03-27 16:14:13 +01:00
Jakob Olsson
866ff67c27 questd: remove wificontrol 2019-03-27 15:50:09 +01:00
Jakob Olsson
b895b5f1b5 questd: update pkg to include router.network refactor #17078 #17081
Primarily a router.network overhaul, but also minor router.system
info fix.
2019-03-27 15:50:09 +01:00
Jakob Olsson
f09ecd8a78 wifilife: update pkg to include legacy steer options #17100 2019-03-27 12:36:22 +01:00
Jonas Höglund
2ac91191f6 Fix updating wrong boot loader 2019-03-27 12:09:18 +01:00
Jonas Höglund
f29d2b89e2 Update feed [ iopsys ] package [ u-boot ]
-------------------------------------------------------------------------------
* 0ef53f2 Use correct CBM_FREQ value for Maia board.
* 811579e easy550: fix format system variable
* a168343 norrland: bbt mtd partition is no longer needed
* f4bc231 norrland: fix ramfs boot
-------------------------------------------------------------------------------
commit 0ef53f269c27f8e736fd30fd1a874159f70c76bf
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2019-03-27 11:14:37 +0100

    Use correct CBM_FREQ value for Maia board.

    Having the wrong value causes slow traffic after configuring QOS egress
    queues.

Base directory -> /
 configs/grx500_norrland_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 811579e5015cc58cadd6e065977315552763ff71
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-03-26 17:21:05 +0100

    easy550: fix format system variable

Base directory -> /
 include/configs/iopsys_easy550.h | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit a1683431d586c1353c36d75fd04f7c120a66d55b
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-03-26 16:20:17 +0100

    norrland: bbt mtd partition is no longer needed

Base directory -> /
 include/configs/iopsys_norrland.h | 6 +++---
 lib_iopsys/factory.c              | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit f4bc23162608f3d83eccb5ba0a65e21eaa294420
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-03-22 12:10:23 +0100

    norrland: fix ramfs boot

Base directory -> /
 include/configs/iopsys_norrland.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2019-03-27 11:25:25 +01:00
Amin Ben Ramdhane
86847b3435 icwmp-4.0-2019-03-26 2019-03-26 16:31:59 +01:00
Sukru Senli
6979da23ea voice-client: use correct key value for lines 2019-03-26 15:50:14 +01:00
Sukru Senli
22b307a967 voice-client: adapt config file to new section name changes 2019-03-26 09:25:28 +01:00
Sukru Senli
40ab082d84 wifilife: set dnsmasq lease hwmask according to mobility domain id 2019-03-23 11:46:36 +01:00
Kenneth Johansson
d6b3059ca9 genconfig: add mirror for tar files.
New location http://download.iopsys.eu/iopsys/mirror/
2019-03-22 15:27:46 +01:00
Sukru Senli
93b80cf4e9 netmode: enable arp_discovery tool by default 2019-03-21 11:28:31 +01:00
Sukru Senli
0085626e8e netmode: disable wificontrol and arp_discovery tools by default 2019-03-21 11:27:35 +01:00
Jakob Olsson
e132128e13 samba: use hex_filter when creating user and password #17065 2019-03-20 13:56:34 +01:00
Jakob Olsson
83ad72d797 Revert "quest: update pkg to fix router.network for repeated clients"
This reverts commit f8857b208d.
2019-03-19 16:21:27 +01:00
Oussama Ghorbel
52749424b6 uboot: update uboot version and pkg_release for intel_mips 2019-03-19 15:58:11 +01:00
Oussama Ghorbel
1a4f39918d uboot: provides lib for uboot upgrade
This will allows to update uboot from other script
disable the init.d/uboot script on intel as it's no longer needed
2019-03-19 14:50:53 +01:00
Sukru Senli
e8c7708afb iop: some more cleanup; remove ice-client and iup by default 2019-03-19 11:43:34 +01:00
Sukru Senli
d0249844c8 iop: cleanup from obselete configs 2019-03-19 11:37:57 +01:00
Sukru Senli
37de921473 iop: juci plugin selection cleanup 2019-03-19 11:27:19 +01:00
Jakob Olsson
42b4fd7e44 netmode: update pkg removal of perror on fopen 2019-03-19 10:37:41 +01:00
Sukru Senli
20500dcafb voice-client: reload asterisk upon ifup even if not bound to a specific interface 2019-03-19 08:52:18 +01:00
Kent Ekholm
4678f529cb Update feed [ iopsys ] package [ endptmngr ]
-------------------------------------------------------------------------------
* 44e2472 Changed endpoint section name from BRCM to TEL because that is now used in UCI DB.
-------------------------------------------------------------------------------
commit 44e2472e8c08bef01fab27e8e908d5672f7af136
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2019-03-18 15:52:26 +0100

    Changed endpoint section name from BRCM to TEL because that is now used in
    UCI DB.

    Ref: #400

Base directory -> /
 src/ubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-03-18 16:11:01 +01:00
Kent Ekholm
40240bda8d Merge branch 'kent_400' into devel 2019-03-18 13:27:22 +01:00
Yalu Zhang
3a39529bef Update feed [ iopsys ] package [ dslmngr ]
-------------------------------------------------------------------------------
commit be5b0d0c0a1c2abd335aaf19f01f63284d8cc285
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Fri Mar 15 15:28:16 2019 +0100

    Update the format of UBUS calls' outputs
2019-03-15 17:22:39 +01:00
Kent Ekholm
fa145a60f3 voice-client: Using double quotes around string.
Ref: #400
2019-03-15 17:05:34 +01:00
Kent Ekholm
754e42f0d4 voice-client: Added dbus function to get platform and other platform specific info.
Ref: #400
2019-03-15 16:03:56 +01:00
Jakob Olsson
107c6bf7fe quest: update pkg to fix router.network for repeated clients 2019-03-15 09:55:24 +01:00
Sachin Singla
757f4ad4c4 add EX400 master support 2019-03-14 13:53:59 +01:00
Yalu Zhang
a4d250c91d Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
commit dd34d6bfa4f41f15c840050c3702eb6b7090332c
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Mar 12 16:33:19 2019 +0100

    Fixed a bug in libdsl for line/channel number check

commit a741970252c97836589624e553200ce02b9b6814
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Mon Mar 11 11:52:56 2019 +0100

    Support multiple lines and channels

Update feed [ iopsys ] package [ dslmngr ]
-------------------------------------------------------------------------------
commit ea107cd743b44da93171780a8c136e87984e4016
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Wed Mar 13 12:18:31 2019 +0100

    Code cleanup: remove some unused functions

commit 448a69af1fa5b90e6f63b71738e952ae32b1eddf
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Mar 12 11:51:27 2019 +0100

    Reorganize the output formats of UBUS calls

    - Support multiple lines and channels
    - Embed channel(s) in the line
    - Make text values more user friendly in C conventions
2019-03-13 12:26:09 +01:00
Jakob Olsson
1bd31876ce wifilife: update pkg to include fix that exits on wifix radios timeout #16739 2019-03-13 10:14:35 +01:00
Jakob Olsson
420c5f2b7f wifilife: update pkg hash to fix agent crash on cleaned timeouts #17005 2019-03-12 13:29:46 +01:00
Jakob Olsson
19f41d4896 netmode: run save/apply _wet_cfg through pre and post scripts #16601 2019-03-12 09:58:47 +01:00
Sukru Senli
a450ee83c5 netmode: if automode set to 0, do not change mode depending on ipaddr type 2019-03-11 15:20:25 +01:00
Oussama Ghorbel
e3eedf90e8 norrland: reserve mtd partition for bbt 2019-03-11 12:58:22 +01:00
Yalu Zhang
e4e6ab960f Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
commit 37d09f28bb5622e1d3ddf5e48f71e2e0f81cc04c
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Mar 5 11:19:11 2019 +0100

    Revert libwifi to the previous version due to compilation errors

    libwifi is curretnly under development in another branch devel-wifi-new.

Update feed [ iopsys ] package [ dslmngr ]
-------------------------------------------------------------------------------
commit 6df93110ba0f59ac8bf860a1b46121e9f71b3f3a
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Fri Mar 1 16:13:28 2019 +0100

    Provide UBUS calls for status of DSL channel
2019-03-05 11:29:55 +01:00
Kent Ekholm
4a45764a5c Using TEL instead of platform specific channel name.
Ref: 400
2019-03-05 11:00:43 +01:00
Kent Ekholm
933b98aec2 Changing platform specific name "brcm" to general name "tel".
Ref: #400
2019-03-04 17:43:09 +01:00
Jakob Olsson
ccdcbf2dfc netmode: update pkg to include flashing led change #16963 2019-03-04 16:46:24 +01:00
Kenneth Johansson
c5e4078895 genconfig: add verification to config.
This makes an extra check to see that option we want set is actually
in the final config.
2019-03-04 14:10:54 +01:00
Jakob Olsson
2bd55602cd wifilife: update pkg to include minor memory leak fix 2019-03-04 12:25:40 +01:00
Jakob Olsson
c39b1bfacb netmode: update pkg ot include flashing leds during zero-touch #16963 2019-03-04 12:16:13 +01:00
Kent Ekholm
48c6fea60a voice-client: Removed debug log.
Ref: #345
2019-02-27 14:17:39 +01:00
Kent Ekholm
bfa91bad06 Merge branch 'kent_345' into devel 2019-02-27 14:12:23 +01:00
Kent Ekholm
234d1356b3 voice-client: Fixing typo.
Ref: #345
2019-02-27 13:43:50 +01:00
Kent Ekholm
561083d810 Different platforms is handled during installation.
Ref: #345
2019-02-27 10:39:35 +01:00
Omar Kallel
ebbf818206 icwmp: Device.Users.User. Object (missing parameters) 2019-02-26 16:32:53 +01:00
Yalu Zhang
7c653918f3 Update dslmngr's Makefile for platform dependent libraries 2019-02-25 16:26:54 +01:00
Jakob Olsson
ba336baf46 netmode: do ubus call commit owsd after writing to owsd config #16739
Daemons such as wifilife are dependent on owsd configuration. Wifilife
was started with the controller running and it was never being stopped,
despite owsd config being changed.
2019-02-25 13:07:56 +01:00
Jakob Olsson
e2c49a8945 samba: add hex filter to discard newline section or config #16885 2019-02-22 09:06:37 +01:00
Jakob Olsson
38a1faae48 Revert "samba: prevent mulitple lines from being written to an option in smb.conf"
This reverts commit 88291c196a.
2019-02-22 09:06:26 +01:00
Jakob Olsson
d4b4304ea7 Revert "samba: prevent multiple lines from being written from uci to smb.conf #16885"
This reverts commit 8784439985.
2019-02-22 09:06:08 +01:00
Omar Kallel
f7069dc1f3 icwmp: Device.Users.User object 2019-02-21 17:48:28 +01:00
Kent Ekholm
372032a114 Merge remote-tracking branch 'refs/remotes/origin/kent_345' into kent_345 2019-02-21 12:33:20 +01:00
Kent Ekholm
a73500f662 Fixes for telephone line naming.
Ref: 345
2019-02-21 12:24:22 +01:00
Kent Ekholm
32d990e0c4 Changing TAPI channel index.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
c382d4b1c1 voice-client: Make voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
da63d95232 voice-client: Making voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
63ca2e0541 Fixes for telephone line naming.
Ref: 345
2019-02-21 12:21:35 +01:00
Amin Ben Ramdhane
bfa3126cbc icwmp: generate XML datamodel files for TR-098 and TR-181 according to BBF schema 2019-02-21 11:13:21 +01:00
Omar Kallel
53c23dfe00 icwmp: Device.Ethernet.VLANtermination. development and fixes 2019-02-21 10:39:00 +01:00
Anjan Chanda
a072e89040 easy-soc-libs: fix dependencies 2019-02-20 16:31:45 +01:00
Jakob Olsson
5c6221667c samba: prevent multiple lines from being written from uci to smb.conf #16885 2019-02-20 16:26:02 +01:00
Kent Ekholm
fd1add50ef Changing TAPI channel index.
Ref: #345
2019-02-20 14:48:02 +01:00
Kent Ekholm
953c96f188 voice-client: Make voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-19 17:59:13 +01:00
Sachin Singla
ad25cf23a5 Update feed [ iopsys ] package [ inbd ]
-------------------------------------------------------------------------------
* d229412 inbd: change family inteno to easysoc
-------------------------------------------------------------------------------
commit d22941205aae953f10c518a9ed9d1eb08eaf9ed7
Author: Sachin Singla <sachin.singla@iopsys.eu>
Date: 2019-02-19 15:00:01 +0100

    inbd: change family inteno to easysoc

Base directory -> /
 src/inbd.c | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
2019-02-19 15:12:14 +01:00
Amin Ben Ramdhane
6bef590bdd icwmp-4.0-2019-02-19 2019-02-19 13:50:56 +01:00
Amin Ben Ramdhane
92a29a7736 icwmp-4.0-2019-02-18 2019-02-18 19:35:44 +01:00
Jonas Höglund
e41ae36a70 feeds_update: Fix error message.
Adding -p flag to install removes:

WARNING: No feed for package 'targets' found, maybe it's already part
of the standard packages?
2019-02-18 13:29:41 +01:00
Kent Ekholm
833cbec9f9 voice-client: Making voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-15 17:06:53 +01:00
Kenneth Johansson
5d36e88aae feeds_update: fix installation of targets.
intel target moved. make sure the old link is gone.
2019-02-15 10:57:28 +01:00
Omar Kallel
8302a83136 icwmp: Firewall and Time objects 2019-02-14 12:29:48 +01:00
Reidar Cederqvist
99b61a5333 ice-client: update to version 5.3.6 refs #16174 2019-02-14 08:34:12 +01:00
Jonas Höglund
80e6d7c72c config: Disable gdbserver by default 2019-02-13 10:43:38 +01:00
Jonas Höglund
6d0a673c40 genconfig: Check if local target script exists. 2019-02-13 10:13:28 +01:00
Sukru Senli
a2bfb5601f iop: config: set IOPSYS as default customer 2019-02-13 08:36:52 +01:00
Jakob Olsson
8f67b8f58e owsd: wifilife: prevent procd crash loop error 2019-02-12 14:17:29 +01:00
Jakob Olsson
0147c91077 wifilife: add reload trigger on owsd.ubusproxy.enable change 2019-02-12 14:07:50 +01:00
Jakob Olsson
062c53a3a7 netmode: update pkg to include status method 2019-02-12 08:51:35 +01:00
Jakob Olsson
c29883ef18 wifilife: update pkg to include workaround for stale clients when roaming 2019-02-11 12:02:11 +01:00
Jakob Olsson
a938f1203b wifimngr: update hash to include disconnect_sta function 2019-02-11 12:01:26 +01:00
Kent Ekholm
a8cb27534b voice-client: Some cleanup in voice_client script.
Ref: #10
2019-02-08 15:25:44 +01:00
Yalu Zhang
8cad1c6049 Remove a Broadcom folder from include path for libdsl
usr/include/bcm963xx/bcmdrivers/broadcom/include/bcm963xx/ can't not be exposed to
staging_dir since it contains some proprietary header files.
2019-02-08 10:44:44 +01:00
Sukru Senli
5e6279c872 iop: genconfig: new way of testing access to repos 2019-02-08 10:42:19 +01:00
Yalu Zhang
e4c6906c49 Add more folders to include path for libdsl on Broadcom platforms 2019-02-07 16:56:16 +01:00
Amin Ben Ramdhane
7c86637d86 icwmp-4.0-2019-02-07 2019-02-07 16:23:07 +01:00
Yalu Zhang
e118dcfb72 Update include paths for some broadcom header files 2019-02-07 14:44:19 +01:00
Kenneth Johansson
ce775713f6 Update feed [ iopsys ] package [ iopupgrade ]
-------------------------------------------------------------------------------
* 01f2afd fix language.
-------------------------------------------------------------------------------
commit 01f2afd6c831d6f9eb2940c7e7af16f7e4d439c2
Author: Kenneth Johansson <kenneth.johansson@iopsys.eu>
Date: 2019-02-06 18:04:04 +0100

    fix language.

Base directory -> /
 src/cfe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2019-02-06 18:07:06 +01:00
Kenneth Johansson
1325fa1b23 iopupgrade: add check for DSL annex.
It is now possible to match any header in the y3 image file.
2019-02-06 16:57:01 +01:00
Ronny Nilsson
ae520f39fb sdk: make install_key to work in target intel_mips as well. 2019-02-06 15:13:50 +01:00
Yalu Zhang
c8ba32bc7d Update feed [ iopsys ] package [ inbd ]
-------------------------------------------------------------------------------

commit 9a31f0584c454fe35149dbfddde6feee8bb72d67
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Feb 5 12:09:46 2019 +0100

    Revert "Revert the netlink rename"

    This reverts commit 8ad6d0a4a9fbad8dea006b5f08a2c1704f5a1b27.
2019-02-06 14:28:52 +01:00
Yalu Zhang
2c2d91ae60 Fix the dependency issue in libdsl for both Intel and Broadcom platforms 2019-02-06 11:16:44 +01:00
Yalu Zhang
50f9b66210 Fix a dependency issue in the Makefile for libdsl 2019-02-06 10:19:35 +01:00
Yalu Zhang
26489affbb Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
commit 9b0759870118499cd1176c15b449d94d00859716
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Feb 5 15:32:40 2019 +0100

    Merge code from branch devel-4.3/dsl_devel for libdsl

Update feed [ iopsys ] package [ dslmngr ]
-------------------------------------------------------------------------------
commit a1abe356a2c32d32859b8811db2ec6028ff69222
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Feb 5 15:14:15 2019 +0100

    Add a dummy output temporarily to avoid build error
2019-02-05 15:39:05 +01:00
Yalu Zhang
20f667b163 Update the dependency of dslmngr package 2019-02-05 15:11:47 +01:00
Yalu Zhang
147d00ea48 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
commit 794b958cda049aa0bfb6ea6827e4b489e23600d7
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Feb 5 12:23:38 2019 +0100

    Comment out some code temporarily since libdsl for Broadcom is under development

Update feed [ iopsys ] package [ dslmngr ]
-------------------------------------------------------------------------------
commit 266a037a7b8c1f9c61a5fc51f9c31ff7ee6e4d93
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Tue Feb 5 12:41:29 2019 +0100

    Disable the compilation temporarily since dslmngr is under development
2019-02-05 13:52:48 +01:00
Yalu Zhang
7a0e6613b6 Fix a dependency error in the Makefile of easy-soc-libs package 2019-02-05 13:52:48 +01:00
Yalu Zhang
b480ca039c Modify Makefile of easy-soc-libs to add libdsl test application 2019-02-05 13:52:48 +01:00
Yalu Zhang
af11c1b407 Remove unused files from the package dslmngr 2019-02-05 13:52:48 +01:00
Yalu Zhang
2448ca936d Add the support of local source build for dslmngr and easy-soc-libs 2019-02-05 13:52:48 +01:00
Anjan Chanda
ce95010582 dslmngr: initial code 2019-02-05 13:52:48 +01:00
Sukru Senli
6b51f62caf iop: update_feed_branches: set release branch as upstream 2019-02-05 11:32:16 +01:00
170 changed files with 4768 additions and 2273 deletions

View File

@@ -1,8 +1,15 @@
#
# Copyright (C) 2016 inteno
# Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
include $(TOPDIR)/rules.mk
@@ -20,6 +27,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
# support parallel build
#PKG_BUILD_PARALLEL:=1

View File

@@ -13,6 +13,9 @@ PKG_MD5SUM:=b72c17870bfab2fd791b1f6de4d79f9e
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=none
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)

27
bbf/Config_bbfdm.in Normal file
View File

@@ -0,0 +1,27 @@
if PACKAGE_libbbfdm
config LIBBBFDM_VENDOR_PREFIX
string "Vendor Prefix"
default "X_IOPSYS_EU_"
config BBF_TR181
bool "Compile with tr181 device features"
default y
config BBF_TR104
bool "Compile with tr104 voice features"
default y
config BBF_TR143
bool "Compile with tr143 diagnostics features"
default y
config BBF_TR157
bool "Compile with tr157 bulkdata collector features"
default y
config BBF_TR064
bool "Compile with tr064 features"
default n
endif

89
bbf/Makefile Normal file
View File

@@ -0,0 +1,89 @@
#
# Copyright (C) 2019 IOPSYS
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libbbfdm
PKG_VERSION:=1.0-2019-12-10
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/bbf.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=0ea0b2c89a51ad56ca76d171b7fd5dcf38e102cd
PKG_RELEASE=$(PKG_SOURCE_VERSION)
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)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/libbbfdm
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Library for broadband-forum data model
DEPENDS:=+libuci +libubox +libubus +libblobmsg-json +libjson-c +libtrace
endef
define Package/libbbfdm/config
source "$(SOURCE)/Config_bbfdm.in"
endef
define Package/libbbfdm/description
Test description will update later.
endef
TARGET_CFLAGS += -DCUSTOM_PREFIX=\\\"$(CONFIG_LIBBBFDM_VENDOR_PREFIX)\\\"
TARGET_CFLAGS += \
-D_GNU_SOURCE -D_AADJ
ifeq ($(CONFIG_BBF_TR181),y)
CONFIGURE_ARGS += \
--enable-tr181
endif
ifeq ($(CONFIG_BBF_TR104),y)
CONFIGURE_ARGS += \
--enable-tr104
endif
ifeq ($(CONFIG_BBF_TR143),y)
CONFIGURE_ARGS += \
--enable-tr143
endif
ifeq ($(CONFIG_BBF_TR157),y)
CONFIGURE_ARGS += \
--enable-tr157
endif
ifeq ($(CONFIG_BBF_TR064),y)
CONFIGURE_ARGS += \
--enable-tr064
endif
define Package/libbbfdm/install
$(INSTALL_DIR) $(1)/lib
$(CP) $(PKG_BUILD_DIR)/bin/.libs/libbbfdm.so* $(1)/lib/
$(INSTALL_DIR) $(1)/etc/bbfdm
$(INSTALL_DIR) $(1)/etc/bbfdm/json
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/bbfdm
$(INSTALL_DIR) $(1)/usr/share/bbfdm
$(CP) $(PKG_BUILD_DIR)/scripts/functions $(1)/usr/share/bbfdm
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/include/libbbfdm
$(CP) $(PKG_BUILD_DIR)/*.h $(1)/usr/include/libbbfdm/
$(CP) $(PKG_BUILD_DIR)/dmtree/tr181/*.h $(1)/usr/include/libbbfdm/
$(CP) $(PKG_BUILD_DIR)/dmtree/tr157/*.h $(1)/usr/include/libbbfdm/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/bin/.libs/libbbfdm.{a,so*} $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libbbfdm))

42
bbk_cli/Makefile Normal file
View File

@@ -0,0 +1,42 @@
#
# Copright (C) 2018 The Internet Foundation In Sweden
#
include $(TOPDIR)/rules.mk
PKG_NAME:=bbk_cli
PKG_SOURCE_VERSION:=7b810a696c78b746185c11282bdbe3fb7f8c5d4b
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/dotse/bbk.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/bbk_cli
CATEGORY:=Utilities
DEPENDS:=+libpthread +libstdcpp
TITLE:=Bredbandskollen CLI - A bandwidth measurement tool
endef
define Package/bbk_cli/description
To measure connection speed in an environment that is missing a web browser,
for example, in a server, you can use our command line interface bbk_cli,
which is available for some of the most common operating systems.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src/cli CROSS_COMPILE="$(TARGET_CROSS)"
endef
define Package/bbk_cli/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cli/cli $(1)/sbin/bbk_cli
endef
$(eval $(call BuildPackage,bbk_cli))

View File

@@ -0,0 +1,25 @@
diff --git a/src/framework/engine.h b/src/framework/engine.h
index 57a48ad..9e1bc36 100644
--- a/src/framework/engine.h
+++ b/src/framework/engine.h
@@ -10,6 +10,7 @@
#include <map>
#include <vector>
#include <string>
+#include <sys/select.h>
#include "logger.h"
diff --git a/src/framework/mk.inc b/src/framework/mk.inc
index 793e211..13275be 100644
--- a/src/framework/mk.inc
+++ b/src/framework/mk.inc
@@ -7,7 +7,7 @@ OS:=$(shell uname)
CXXFLAGS += -O2 -W -Wall -I$(DIRLEVEL)
ifeq ($(OS),Linux)
-CXX = g++
+CXX = $(CROSS_COMPILE)g++
endif
ifeq ($(OS),Darwin)

View File

@@ -18,6 +18,9 @@ PKG_SOURCE_VERSION:=3ab81137cafe25c2ca4bc3a5f322a63646f9ce8d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=none
include $(INCLUDE_DIR)/package.mk
define Package/bootchart2

View File

@@ -1,9 +1,19 @@
#
# Copyright (C) 2018 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=catv
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=none
include $(INCLUDE_DIR)/package.mk
define Package/catv

View File

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

View File

@@ -1,9 +1,18 @@
#
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=crashlog
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=none
include $(INCLUDE_DIR)/package.mk

View File

@@ -1,19 +1,20 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2019 iopsys Software Solutions AB
#
# 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.2.0
PKG_VERSION:=1.3.0
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=0c029ed2486342e7e7687631b702d5c743f3c41a
PKG_SOURCE_VERSION:=2c8990fd5275d469e8ab6c7a99e17fe0a56052ea
PKG_NAME:=dectmngr2
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
RSTRIP:=true
export BUILD_DIR
@@ -29,7 +30,7 @@ define Package/dectmngr2
CATEGORY:=Utilities
TITLE:=Dectmngr2
URL:=
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus +libpicoevent
DEPENDS:= +natalie-dect-h +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen @(PACKAGE_bcmkernel||PACKAGE_bcmopen) +libubox +ubus +libpicoevent endptmngr
endef
define Package/dectmngr2/description

81
dslmngr/Makefile Normal file
View File

@@ -0,0 +1,81 @@
#
# Copyright (C) 2018 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dslmngr
PKG_VERSION:=1.0.0
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=7522faab4142fe2c0ac8cbf71bb0cc5bd49f0750
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dslmngr.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
endif
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM=BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_PLATFORM=MEDIATEK
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
TARGET_PLATFORM=MARVELL
else ifeq ($(CONFIG_TARGET_intel_mips),y)
TARGET_PLATFORM=INTEL
else
$(info Unexpected CONFIG_TARGET)
endif
export TARGET_PLATFORM
define Package/dslmngr
SECTION:=utils
CATEGORY:=Utilities
TITLE:=XDSL status and configration utility
DEPENDS:=+libdsl +libuci +libubox +ubus +libpthread +libnl-genl +easy-soc-libs
endef
define Package/dslmngr/description
This package can be used to configure and provide status about
the XDSL subsystem through UBUS.
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)"
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
rsync -r --exclude=.* ~/git/dslmngr/ $(PKG_BUILD_DIR)/
endef
endif
define Build/Compile
+$(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
endef
define Package/dslmngr/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dslmngr $(1)/sbin/
endef
$(eval $(call BuildPackage,dslmngr))

51
easy-qos/Makefile Normal file
View File

@@ -0,0 +1,51 @@
#
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=easy-qos
PKG_VERSION:=1.1
PKG_RELEASE:=0
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=none
include $(INCLUDE_DIR)/package.mk
define Package/easy-qos
SECTION:=net
CATEGORY:=Network
TITLE:=Easy QoS
DEPENDS:=@(TARGET_intel_mips||TARGET_iopsys_brcm63xx_arm||TARGET_iopsys_brcm63xx_mips)
endef
define Package/easy-qos/description
This package contains Easy QoS utility
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
endef
define Package/easy-qos/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(CP) ./files/etc/config/easy_qos $(1)/etc/config/
ifeq ($(CONFIG_TARGET_intel_mips),y)
$(CP) ./files/etc/init.d/easy_qos.classcfg $(1)/etc/init.d/easy_qos
else
$(CP) ./files/etc/init.d/easy_qos.iptables $(1)/etc/init.d/easy_qos
endif
$(CP) ./files/etc/uci-defaults/* $(1)/etc/uci-defaults/
$(CP) ./files/etc/firewall.easyqos $(1)/etc/firewall.easyqos
endef
$(eval $(call BuildPackage,easy-qos))

View File

@@ -0,0 +1 @@
/etc/init.d/easy_qos reload

View File

@@ -0,0 +1,301 @@
#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
RULE_LIST="/tmp/easy_qos_rule.list"
CLIENT_LIST="/tmp/easy_qos_class_client.list"
BRIDGE_INTF=""
[ -f /etc/profile.d/intel.sh ] && {
. /etc/profile.d/intel.sh
sh /etc/profile.d/intel.sh
}
log() {
echo "${@}"|logger -t easy_qos_class -p debug
}
exec_log() {
${@}
if [ "${?}" -ne 0 ]; then
log "Failed to create ${@}";
fi
}
exec_class_log() {
${@} |grep -i successful
if [ "${?}" -ne 0 ]; then
log "Failed to create ${@}";
return 1
fi
return 0
}
get_priority() {
local prio=$(echo $1|tr [A-Z] [a-z]);
case "${prio}" in
"lowest")
echo 8;;
"low")
echo 7;;
"besteffort")
echo 6;;
"normal")
echo 5;;
"video")
echo 4;;
"medium")
echo 3;;
"high")
echo 2;;
"highest")
echo 1;;
esac
}
get_mark() {
local prio=$(echo $1|tr [A-Z] [a-z]);
case "${prio}" in
"lowest")
echo "0x41/0x3df";;
"low")
echo "0x82/0x3df";;
"besteffort")
echo "0xc3/0x3df";;
"normal")
echo "0x104/0x3df";;
"video")
echo "0x145/0x3df";;
"medium")
echo "0x186/0x3df";;
"high")
echo "0x1c7/0x3df";;
"highest")
echo "0x208/0x3df";;
esac
}
clean_client_entries() {
[ -f ${CLIENT_LIST} ] && rm ${CLIENT_LIST}
}
map_client_entries() {
local clients ip mac host
json_load "$(ubus call router.network 'clients')"
json_get_keys keys
for key in ${keys};
do
json_select ${key}
json_get_vars ipaddr macaddr hostname
clients="${macaddr} ${ipaddr} ${hostname};${clients}"
json_select ..
done
json_init
IFS=";"
for client in ${clients};
do
macaddr=$(echo ${client} | cut -d" " -f1)
json_add_object "${macaddr//:/_}"
json_add_string "ip" "$(echo ${client} | cut -d" " -f2)"
json_add_string "macaddr" "$(echo ${client} | cut -d" " -f1)"
json_add_string "host" "$(echo ${client} | cut -d" " -f3)"
json_close_object
done
IFS=' '
echo `json_dump` > ${CLIENT_LIST}
json_cleanup
}
# Find the IP of a corresponding mac from arp table
get_ipaddress() {
local clients ip mac host
json_load "$(cat ${CLIENT_LIST})"
json_get_keys keys
# jshn seems a bit iffy on having : in key, replace by _
json_select "${1//:/_}" 2 > /dev/null
json_get_var ip ip
echo "$ip"
}
check_and_create() {
iptables -t mangle -C PREROUTING ${@} 2>/dev/null
# Create rule if not exists
if [ ${?} -ne 0 ]; then
exec_log iptables -t mangle -A PREROUTING ${@}
else
log "Rule exists for ${@}"
fi
}
create_ip_rule() {
local proto=$1; shift
local src_ip=$1; shift
local mark=$1; shift
local ports=$1;
local cmd="";
cmd="-j EXTMARK --set-mark ${mark}";
if [ "${proto}" != "icmp" ]; then
if [ -n "${ports}" ]; then
cmd="--match multiport --dports ${ports} ${cmd}";
fi
fi
if [ "${proto}" == "icmp" ]; then
cmd="-p icmp -m icmp --icmp-type 8 $cmd"
elif [ "${proto}" == "all" ]; then
cmd="-p all $cmd"
else
cmd="-p ${proto} -m ${proto} $cmd"
fi
cmd="-s ${src_ip} $cmd"
check_and_create ${cmd}
}
is_lan_bridge() {
local _section=$1
local _type
local _is_lan
config_get _type "$section" "type"
config_get _is_lan "$section" "is_lan"
if [ "${_type}" == "bridge" -a "${_is_lan}" == "1" ]; then
BRIDGE_INTF="br-${_section}"
fi
}
get_bridge_interface() {
config_load network
config_foreach is_lan_bridge interface
}
validate_rule_section()
{
uci_validate_section easy_qos rule "${1}" \
'priority:string' \
'macaddr:string' \
'proto:string:none' \
'port:list(uinteger)' \
'comment:string:none'
}
# Clear existing rules before applying new rules
clear_existing_rules() {
# execute the delete rules written onto a file then delete the file
[ -f ${RULE_LIST} ] || return 0
while read line
do
log "Deleting old classification rules"
exec_class_log classcfg -D ${line} -i ${BRIDGE_INTF}
done <${RULE_LIST}
local rule=$(iptables -t mangle -S PREROUTING|grep -m 1 EXTMARK |sed 's/-A/-D/1')
while [ -n "${rule}" ]; do
exec_log iptables -t mangle ${rule}
rule=$(iptables -t mangle -S PREROUTING|grep -m 1 EXTMARK |sed 's/-A/-D/1')
done
sync
[ -f ${RULE_LIST} ] && rm ${RULE_LIST}
}
# classcfg -M local_dhcp -i lo -p udp --dport 67:67 --dport 68:68 -j mark --mark 1
create_rule() {
local proto=$1; shift
local mac_addr=$1; shift
local mark=$1; shift
local ports=$1;
local cmd="";
# Rule name is uniqe, so we take hash of all the input as rule_name
local rule_name="$(echo ${mac_addr}${proto}${mark}${ports} |md5sum |head -c 30)"
cmd="-j mark --mark ${mark}";
if [ "${mac_addr}" != "none" ]; then
cmd="--smac ${mac_addr} ${cmd}";
fi
if [ "${proto}" != "icmp" ]; then
if [ "${ports}" != "none" ]; then
IFS=","
for port in ${ports};
do
cmd="--dport ${port}:${port} ${cmd}";
done
IFS=' '
fi
fi
if [ "${proto}" != "none" ]; then
cmd="-p ${proto} $cmd"
fi
cmd="-i ${BRIDGE_INTF} $cmd"
cmd="-A ${rule_name} $cmd"
# Store the rule_names for cleanup on reload
exec_class_log classcfg ${cmd}
[ $? -eq 0 ] && \
echo ${rule_name} >> ${RULE_LIST}
}
manage_rule() {
local cfg="$1"
local priority macaddr proto port comment prio_num port_list ip ipmark
validate_rule_section "${1}" || {
log "Validation of section failed"
return 1;
}
prio_num=$(get_priority ${priority})
port_list=$(echo ${port}|sed 's/ /,/g')
ipmark=$(get_mark ${priority})
ip=$(get_ipaddress ${macaddr})
if [ -n "${prio_num}" ]; then
if [ "${proto}" == "none" -o "${proto}" == "tcpudp" ]; then
create_rule tcp ${macaddr} ${prio_num} ${port_list}
create_rule udp ${macaddr} ${prio_num} ${port_list}
if [ -n "${ip}" ]; then
create_ip_rule tcp ${ip} ${ipmark} ${port_list}
create_ip_rule udp ${ip} ${ipmark} ${port_list}
fi
else
create_rule ${proto} ${macaddr} ${prio_num} ${port_list}
if [ -n "${ip}" ]; then
create_ip_rule ${proto} ${ip} ${ipmark} ${port_list}
fi
fi
fi
}
reload_service() {
get_bridge_interface
map_client_entries
clear_existing_rules
config_load easy_qos
config_foreach manage_rule rule
clean_client_entries
}
start_service() {
[ -x /opt/intel/usr/sbin/classcfg ] || exit 0
reload_service
log "Easy QoS class installed"
}
service_triggers() {
procd_add_reload_trigger "easy_qos" "network"
}

View File

@@ -0,0 +1,140 @@
#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
log() {
echo "${@}"|logger -t easy_qos.ebtable -p debug
}
exec_log() {
${@}
if [ "${?}" -ne 0 ]; then
log "Failed to create ${@}";
fi
}
get_priority() {
local prio=$(echo $1|tr [A-Z] [a-z]);
case "${prio}" in
"lowest")
echo 0;;
"low")
echo 1;;
"besteffort")
echo 2;;
"normal")
echo 3;;
"video")
echo 4;;
"medium")
echo 5;;
"high")
echo 6;;
"highest")
echo 7;;
esac
}
validate_rule_section()
{
uci_validate_section easy_qos rule "${1}" \
'priority:string' \
'macaddr:string' \
'proto:string:none' \
'port:list(uinteger)' \
'comment:string:none'
}
# Clear existing rules before applying new rules
clear_existing_rules() {
local rule=$(ebtables -t broute -L BROUTING|grep -m 1 mark)
while [ -n "${rule}" ]; do
exec_log ebtables -t broute -D BROUTING ${rule}
rule=$(ebtables -t broute -L BROUTING|grep -m 1 mark)
done
}
create_rule() {
local protocol=$1; shift
local mac=$1; shift
local mark="0x$1"; shift
local forward_port=$1;
local cmd="";
local protocol_number
cmd="-j mark --mark-or ${mark}";
if [ -n "${forward_port}" ]; then
cmd="--ip-destination-port ${forward_port} ${cmd}";
fi
case "${protocol}" in
"tcp")
protocol_number=6;;
"udp")
protocol_number=17;;
"dccp")
protocol_number=33;;
"sctp")
protocol_number=132;;
*)
log "Protocol ${protocol} not supported in ebtables"
return;;
esac
cmd="--ip-proto ${protocol_number} $cmd"
cmd="-p ip $cmd"
cmd="-s ${mac} $cmd"
exec_log ebtables -t broute -A BROUTING ${cmd}
}
manage_rule() {
local cfg="$1"
local priority macaddr proto port comment prio_num protocol
validate_rule_section "${1}" || {
log "Validation of section failed"
return 1;
}
protocol=$(echo ${proto}|tr [A-Z] [a-z])
prio_num=$(get_priority ${priority})
if [ -n "${macaddr}" -a -n "${prio_num}" ]; then
for p in ${port}; do
if [ "${protocol}" == "none" -o "${protocol}" == "tcpudp" ]; then
create_rule tcp ${macaddr} ${prio_num} ${p}
create_rule udp ${macaddr} ${prio_num} ${p}
else
create_rule ${protocol} ${macaddr} ${prio_num} ${p}
fi
done
# Create rule for all ports if port is not mentioned in uci
if [ -z "${port}" ]; then
if [ "${protocol}" == "none" -o "${protocol}" == "tcpudp" ]; then
create_rule tcp ${macaddr} ${prio_num}
create_rule udp ${macaddr} ${prio_num}
else
create_rule ${protocol} ${macaddr} ${prio_num}
fi
fi
fi
}
reload_service() {
# Do not apply rules if ebtables is not present in system
[ -x /usr/sbin/ebtables ] || return;
clear_existing_rules
config_load easy_qos
config_foreach manage_rule rule
}
start_service() {
reload_service
}
service_triggers() {
procd_add_reload_trigger "easy_qos"
}

View File

@@ -0,0 +1,186 @@
#!/bin/sh /etc/rc.common
. /usr/share/libubox/jshn.sh
START=99
USE_PROCD=1
CLIENT_LIST="/tmp/easy_qos_client.list"
log() {
echo "${@}"|logger -t easy_qos -p debug
}
exec_log() {
${@}
if [ "${?}" -ne 0 ]; then
log "Failed to create ${@}";
fi
}
get_priority() {
local prio=$(echo $1|tr [A-Z] [a-z]);
case "${prio}" in
"lowest")
echo 0;;
"low")
echo 1;;
"besteffort")
echo 2;;
"normal")
echo 3;;
"video")
echo 4;;
"medium")
echo 5;;
"high")
echo 6;;
"highest")
echo 7;;
esac
}
clean_client_entries() {
[ -f ${CLIENT_LIST} ] && rm ${CLIENT_LIST}
}
map_client_entries() {
local clients ip mac host
json_load "$(ubus call router.network 'clients')"
json_get_keys keys
for key in ${keys};
do
json_select ${key}
json_get_vars ipaddr macaddr hostname
clients="${macaddr} ${ipaddr} ${hostname};${clients}"
json_select ..
done
json_init
# json_add_array "clients"
IFS=";"
for client in ${clients};
do
macaddr=$(echo ${client} | cut -d" " -f1)
json_add_object "${macaddr//:/_}"
json_add_string "ip" "$(echo ${client} | cut -d" " -f2)"
json_add_string "macaddr" "$(echo ${client} | cut -d" " -f1)"
json_add_string "host" "$(echo ${client} | cut -d" " -f3)"
json_close_object
done
IFS=' '
echo `json_dump` > ${CLIENT_LIST}
json_cleanup
}
# Find the IP of a corresponding mac from arp table
get_ipaddress() {
local clients ip mac host
json_load "$(cat ${CLIENT_LIST})"
json_get_keys keys
# jshn seems a bit iffy on having : in key, replace by _
json_select "${1//:/_}" 2 > /dev/null
json_get_var ip ip
echo "$ip"
}
validate_rule_section()
{
uci_validate_section easy_qos rule "${1}" \
'priority:string' \
'macaddr:string' \
'proto:string:none' \
'port:list(uinteger)' \
'comment:string:none'
}
# Clear existing rules before applying new rules
clear_existing_rules() {
local rule=$(iptables -t mangle -S PREROUTING | grep -m 1 MARK |sed 's/-A/-D/1')
while [ -n "${rule}" ]; do
exec_log iptables -t mangle ${rule}
rule=$(iptables -t mangle -S PREROUTING | grep -m 1 MARK |sed 's/-A/-D/1')
done
}
check_and_create() {
iptables -t mangle -C PREROUTING ${@} 2>/dev/null
# Create rule if not exists
if [ ${?} -ne 0 ]; then
exec_log iptables -t mangle -A PREROUTING ${@}
else
log "Rule exists for ${@}"
fi
}
create_rule() {
local proto=$1; shift
local src_ip=$1; shift
local mark="0x$1/0x$1"; shift
local ports=$1;
local cmd="";
cmd="-j MARK --set-xmark ${mark}";
if [ -n "${ports}" ]; then
cmd="--match multiport --dports ${ports} ${cmd}";
fi
if [ "${proto}" == "icmp" ]; then
cmd="-p icmp -m icmp --icmp-type 8 $cmd"
elif [ "${proto}" == "all" ]; then
cmd="-p all $cmd"
else
cmd="-p ${proto} -m ${proto} $cmd"
fi
cmd="-s ${src_ip} $cmd"
check_and_create ${cmd}
}
manage_rule() {
local cfg="$1"
local priority macaddr proto port comment prio_num ip port_list
validate_rule_section "${1}" || {
log "Validation of section failed"
return 1;
}
prio_num=$(get_priority ${priority})
ip=$(get_ipaddress ${macaddr})
port_list=$(echo ${port}|sed 's/ /,/g')
if [ -n "${ip}" -a -n "${prio_num}" ]; then
if [ "${proto}" == "none" -o "${proto}" == "tcpudp" ]; then
create_rule tcp ${ip} ${prio_num} ${port_list}
create_rule udp ${ip} ${prio_num} ${port_list}
else
create_rule ${proto} ${ip} ${prio_num} ${port_list}
fi
fi
}
reload_service() {
clear_existing_rules
map_client_entries
config_load easy_qos
config_foreach manage_rule rule
clean_client_entries
}
start_service() {
reload_service
echo "Easy QoS installed">/dev/console;
}
service_triggers() {
procd_add_reload_trigger "easy_qos"
}

View File

@@ -0,0 +1,10 @@
# Add firewall include
uci -q batch <<-EOT
delete firewall.easyqos
set firewall.easyqos=include
set firewall.easyqos.path=/etc/firewall.easyqos
set firewall.easyqos.reload=1
uci del_list firewall.easyqos._access_w="root"
uci add_list firewall.easyqos._access_w="root"
commit firewall
EOT

View File

@@ -0,0 +1,10 @@
if (PACKAGE_libwifix)
menu "configurations"
config LIBWIFIX_DEBUG
depends on PACKAGE_libwifix
bool "Enable wifi debugging"
default n
endmenu
endif

View File

@@ -0,0 +1,108 @@
#
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=easy-soc-libs.deprecated
PKG_VERSION:=1.0.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=cec7ae3a5c8348ea2d81a2abac0599a098752e3a
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/easy-soc-libs.git
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/easy-soc-libs.deprecated
SECTION:=libs
CATEGORY:=Libraries
TITLE:=IOPSYS easy SoC libraries (deprecated)
SUBMENU:=IOPSYS easy SoC libraries (deprecated)
DEPENDS:=+libopenssl
MENU:=1
endef
define Package/libwifix/config
source "$(SOURCE)/Config.in"
endef
define Package/libwifix
$(call Package/easy-soc-libs.deprecated)
TITLE:= WiFi library for wifix (deprecated)
DEPENDS+=+libnl +libnl-route
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138 \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138 \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx
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_intel_mips),y)
TARGET_PLATFORM=INTEL
TARGET_CFLAGS +=-DIOPSYS_INTEL
else
$(info Unexpected CONFIG_TARGET)
endif
export TARGET_PLATFORM
ifdef CONFIG_LIBWIFIX_DEBUG
TARGET_CFLAGS += -DIOP_LLA_LIBS_DEBUG
endif
subdirs := \
$(if $(CONFIG_PACKAGE_libwifix),libwifix)
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/openssl \
-I$(STAGING_DIR)/usr/include/libnl3
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS) -Wall -I./" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)" \
PLATFORM="$(TARGET_PLATFORM)" \
subdirs="$(subdirs)"
define Build/InstallDev/libwifix
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifix/wifi.h $(1)/usr/include/wifix.h
$(CP) $(PKG_BUILD_DIR)/libwifix/libwifi*.so* $(1)/usr/lib/
endef
define Build/Compile
$(call Build/Compile/Default)
endef
define Build/InstallDev
$(foreach dir,$(subdirs),$(call Build/InstallDev/$(dir),$(1),$(2));)
endef
define Package/libwifix/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifix/libwifi*.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libwifix))

View File

@@ -15,5 +15,9 @@ config LIBDSL_DEBUG
bool "Enable xdsl debugging"
default n
config LIBDSL_TEST
depends on PACKAGE_libdsl
bool "Libdsl test program"
default n
endmenu
endif

View File

@@ -1,21 +1,29 @@
#
# Copyright (C) 2018 Iopsys
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=easy-soc-libs
PKG_VERSION:=1.0.0
PKG_VERSION:=2.4.1
PKG_RELEASE:=1
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=6a311af7cd17fc410c27de3cfae33b658195fd0b
PKG_SOURCE_VERSION:=0accbd7266b2742ad8921edd5dab974fc384a49a
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/easy-soc-libs.git
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@inteno.se>
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
endif
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/easy-soc-libs
@@ -34,26 +42,24 @@ endef
define Package/libwifi
$(call Package/easy-soc-libs)
TITLE:= WiFi library (libwifi)
endef
define Package/libdsl
$(call Package/easy-soc-libs)
TITLE:= XDSL library (libdsl)
DEPENDS+=+libnl +libnl-route
endef
define Package/libethernet
$(call Package/easy-soc-libs)
TITLE:= Ethernet library (libethernet)
DEPENDS:=+TARGET_iopsys_ramips:swconfig
DEPENDS+=+TARGET_iopsys_ramips:swconfig
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138 \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138 \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_PLATFORM=MEDIATEK
TARGET_CFLAGS +=-DIOPSYS_MEDIATEK
@@ -64,13 +70,21 @@ else ifeq ($(CONFIG_TARGET_intel_mips),y)
TARGET_PLATFORM=INTEL
TARGET_CFLAGS +=-DIOPSYS_INTEL
else
$(info (UNEXPECTED CONFIG TARGET))
$(info Unexpected CONFIG_TARGET)
endif
export TARGET_PLATFORM
ifdef CONFIG_IOP_LLA_LIBS_DEBUG
TARGET_CFLAGS += -DIOP_LLA_LIBS_DEBUG
endif
define Package/libdsl
$(call Package/easy-soc-libs)
TITLE:= XDSL library (libdsl)
DEPENDS+=+TARGET_intel_mips:dsl-cpe-api-vrx +TARGET_intel_mips:dsl-cpe-fapi +TARGET_intel_mips:kmod-ppa-drv
endef
subdirs := \
$(if $(CONFIG_PACKAGE_libwifi),libwifi) \
$(if $(CONFIG_PACKAGE_libdsl),libdsl) \
@@ -78,20 +92,27 @@ subdirs := \
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/openssl \
-I$(STAGING_DIR)/usr/include/libnl3
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) -Wall -I./" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)" \
PLATFORM="$(TARGET_PLATFORM)" \
subdirs="$(subdirs)"
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
rsync -r --exclude=.* ~/git/easy-soc-libs/ $(PKG_BUILD_DIR)/
endef
endif
define Build/InstallDev/libwifi
$(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/
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi*.so* $(1)/usr/lib/
endef
define Build/InstallDev/libdsl
@@ -108,6 +129,12 @@ define Build/InstallDev/libethernet
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so $(1)/usr/lib/
endef
define Build/Compile
$(call Build/Compile/Default)
ifeq ($(CONFIG_LIBDSL_TEST),y)
$(MAKE) -C "$(PKG_BUILD_DIR)/libdsl/test" $(MAKE_FLAGS)
endif
endef
define Build/InstallDev
$(foreach dir,$(subdirs),$(call Build/InstallDev/$(dir),$(1),$(2));)
@@ -115,7 +142,7 @@ endef
define Package/libwifi/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi*.so* $(1)/usr/lib/
endef
define Package/libethernet/install
@@ -125,7 +152,11 @@ endef
define Package/libdsl/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
ifeq ($(CONFIG_LIBDSL_TEST),y)
$(CP) $(PKG_BUILD_DIR)/libdsl/test/libdsl_test $(1)/usr/bin/
endif
endef
$(eval $(call BuildPackage,libwifi))

View File

@@ -1,22 +1,23 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2018 IOPSYS Software Solutions AB
#
# 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:=a78fe95d5c5a0a320f3b62b9d2faafd07b56e3a7
PKG_SOURCE_VERSION:=ef49d57c3824df4dfb4921d39461e2bd14f918a7
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
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_SOURCE_URL:=http://download.iopsys.eu/iopsys/opensdk/
PKG_NAME:=endptmngr-open
PATCH_DIR:=
else
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/endptmngr
PKG_SOURCE_PROTO:=git
@@ -28,6 +29,7 @@ RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
@@ -41,7 +43,7 @@ define Package/endptmngr
CATEGORY:=Utilities
TITLE:=Brcmslic
URL:=
DEPENDS:= +libubox +ubus +libpicoevent +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen
DEPENDS:= +libubox +ubus +libpicoevent +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen @(PACKAGE_bcmkernel||PACKAGE_bcmopen) @TARGET_HAS_VOICE
endef
define Package/endptmngr/description

View File

@@ -1,7 +1,7 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
@@ -20,6 +20,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=LICENSE
# support parallel build
#PKG_BUILD_PARALLEL:=1

View File

@@ -1,3 +0,0 @@
git-src

View File

@@ -1,65 +0,0 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gigaset-elements
PKG_VERSION:=2.4.2
# PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_GIGASET_ELEMENTS_SRC_URL ?= git@dev.iopsys.eu:3rdparty/gigaset-elements.git
PKG_GIGASET_ELEMENTS_VERSION ?= v$(PKG_VERSION)
PKG_SOURCE_URL:=$(PKG_GIGASET_ELEMENTS_SRC_URL)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=aa906b37062b6d7937a9c0f8e7b62b32afe4bdeb
PKG_MAINTAINER:=Magier Marcin, Figlarek Piotr
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
######################################################
define Package/gigaset-elements
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libjson-c +libcurl +libpthread
TITLE:=Gigaset elements
endef
######################################################
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) all
endef
define Package/gigaset-elements/install
$(CP) -r $(PKG_BUILD_DIR)/sysroot_common/* $(1)/
$(CP) -r $(PKG_BUILD_DIR)/sysroot_$(CONFIG_ARCH)/* $(1)/
endef
define Package/gigaset-elements/preinst
#!/bin/sh
mkdir -p $${IPKG_INSTROOT}/usr/gigaset/data/cert
mkdir -p $${IPKG_INSTROOT}/usr/gigaset/data/fw
endef
define Package/gigaset-elements/postrm
#!/bin/sh
rm -rf $${IPKG_INSTROOT}/usr/gigaset/data
rm -rf /usr/share/gigaset
endef
######################################################
$(eval $(call BuildPackage,gigaset-elements))

View File

@@ -0,0 +1,62 @@
# Copyright (c) 2017 Genexis B.V.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=gryphon-led-kernel-module
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define KernelPackage/$(PKG_NAME)
SUBMENU:=LED modules
TITLE:=LED driver for Gryphon
FILES:=$(PKG_BUILD_DIR)/$(PKG_NAME).$(LINUX_KMOD_SUFFIX)
KCONFIG:=CONFIG_PACKAGE_kmod-gryphon-led-kernel-module=y
AUTOLOAD:=$(call AutoLoad,60,$(PKG_NAME))
PKG_LICENSE:=GPLv2
PKG_LICENSE_URL:=
endef
define KernelPackage/$(PKG_NAME)/description
This package contains the LED driver for Gryphon devices.
endef
EXTRA_KCONFIG:= CONFIG_RGB_LED=m
MODULE_INCLUDE=-I$(PKG_BUILD_DIR)
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)/kdevlinks/
$(CP) -s `pwd`/src/* $(PKG_BUILD_DIR)/kdevlinks/
$(CP) src/* $(PKG_BUILD_DIR)
endef
define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="-DKERNEL_MODULE $(BUILDFLAGS) -I$(LINUX_DIR)/include -include generated/autoconf.h $(MODULE_INCLUDE)" \
modules
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
endef
$(eval $(call KernelPackage,$(PKG_NAME)))

View File

@@ -0,0 +1,26 @@
# Copyright (c) 2017 Genexis B.V.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
MODULE_NAME = gryphon-led-kernel-module
obj-m := $(MODULE_NAME).o
GENEXIS_FILES= \
main.o \
sk9822.o \
sk9822_bitbang.o
$(MODULE_NAME)-objs := $(GENEXIS_FILES)

View File

@@ -0,0 +1,253 @@
/*
* Copyright (c) 2017 Genexis B.V.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#define DEBUG 1
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/printk.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/gpio/consumer.h>
#include <linux/of.h>
#include <linux/version.h>
#include "sk9822.h"
#define DRIVER_NAME "canyon_led"
#define DRIVER_AUTHOR "Genexis B.V."
#define DRIVER_DESC "Canyon LED driver for SK9822"
#define DRIVER_VERSION "1"
/**
* sysfs interfaces
*/
static ssize_t get_led_color(struct device *dev,
struct device_attribute *attr, char *buf)
{
/* [ln] todo: dummy implementation */
int len;
len = sprintf(buf, "%d\n", 123);
if (len <= 0) {
dev_err(dev, "sk9822: Invalid sprintf len: %d\n", len);
}
return len;
}
/**
* @brief Set complete LED strip to a specific color
* @retval count number of bytes written
* @retval -EMSGSIZE if the message is too big
* @retval -EIO for all other errors (e.g. leds cannot be configured)
*/
static ssize_t set_led_color(struct device *dev,
struct device_attribute *attr, const char *buf, size_t count)
{
int ret = 0;
size_t buflen = count;
struct sk9822_leds *sk9822 = dev_get_drvdata(dev);
if (IS_ERR(sk9822)) {
printk(KERN_ERR "Platform get drvdata returned NULL\n");
return -EIO;
}
/* strip newline */
if ((count > 0) && (buf[count-1] == '\n')) {
buflen--;
}
if (buflen != 6) { // RRGGBB\0
return -EMSGSIZE;
}
// Update the LED array here
ret = sk9822_set_color_str(sk9822, buf);
if (ret != 0) {
printk(KERN_ERR "Failed to set led color\n");
return -EIO;
}
// Now push to the HW
ret = sk9822_update(sk9822);
if (ret != 0) {
printk(KERN_ERR "Failed to update led\n");
return -EIO;
}
return count;
}
static DEVICE_ATTR(led_color, S_IRUGO | S_IWUSR, get_led_color, set_led_color);
static struct attribute *sk9822_dev_attrs[] = {
&dev_attr_led_color.attr,
NULL
};
static struct attribute_group sk9822_dev_attr_group = {
.name = "sk9822",
.attrs = sk9822_dev_attrs,
};
/**
* device prope and removal
*/
static int canyon_led_probe(struct platform_device *pdev)
{
int ret;
struct sk9822_leds *leds;
leds = devm_kzalloc(&pdev->dev, sizeof(*leds), GFP_KERNEL);
if (!leds) {
return -ENOMEM;
}
leds->dev = &pdev->dev;
leds->led_brightness = SK9822_DEFAULT_BRIGHTNESS;
ret = of_property_read_u16(pdev->dev.of_node, "led-count", &leds->led_count);
if (ret < 0) {
dev_warn(&pdev->dev, "Could not read led-count property\n");
leds->led_count = SK9822_DEFAULT_NUM_LEDS;
}
leds->led_colors = devm_kzalloc(&pdev->dev,
(sizeof(cRGB) * leds->led_count), GFP_KERNEL);
if (!leds->led_colors) {
return -ENOMEM;
}
platform_set_drvdata(pdev, leds);
#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 16, 0)
leds->clock_gpio = gpiod_get_index(&pdev->dev, "led", 0);
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
leds->clock_gpio = gpiod_get_index(&pdev->dev, "led", 0, GPIOD_OUT_HIGH);
#else
dev_warn(&pdev->dev, "Kernel version Not supported\n");
exit(1);
#endif
gpiod_direction_output(leds->clock_gpio, 1);
if (IS_ERR(leds->clock_gpio)) {
dev_err(&pdev->dev, "Failed to acquire clock GPIO %ld\n",
PTR_ERR(leds->clock_gpio));
leds->clock_gpio = NULL;
return PTR_ERR(leds->clock_gpio);
} else {
printk(KERN_INFO "Got clock gpio\n");
gpiod_set_value(leds->clock_gpio, 0);
}
#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 16, 0)
leds->data_gpio = gpiod_get_index(&pdev->dev, "led", 1);
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
leds->data_gpio = gpiod_get_index(&pdev->dev, "led", 1, GPIOD_OUT_HIGH);
#else
dev_warn(&pdev->dev, "Kernel version Not supported\n");
exit(1);
#endif
gpiod_direction_output(leds->data_gpio, 1);
if (IS_ERR(leds->data_gpio)) {
dev_err(&pdev->dev, "Failed to acquire data GPIO %ld\n",
PTR_ERR(leds->data_gpio));
leds->data_gpio = NULL;
return PTR_ERR(leds->data_gpio);
} else {
printk(KERN_INFO "Got data gpio\n");
gpiod_set_value(leds->data_gpio, 0);
}
printk(KERN_INFO "Attempt to set filefs stuff\n");
ret = sysfs_create_group(&pdev->dev.kobj, &sk9822_dev_attr_group);
if (ret) {
dev_err(&pdev->dev, "sysfs creation failed\n");
return ret;
}
#if 0
printk(KERN_INFO "Flash LEDs to verify they work\n");
sk9822_set_color_str(leds, "00FF00");
sk9822_update(leds);
msleep(200);
sk9822_set_color_str(leds, "000000");
sk9822_update(leds);
#endif
printk(KERN_INFO "canyon led successfully probed\n");
return 0;
}
static int canyon_led_remove(struct platform_device *pdev)
{
struct sk9822_leds *leds;
sysfs_remove_group(&pdev->dev.kobj, &sk9822_dev_attr_group);
leds = platform_get_drvdata(pdev);
if (IS_ERR(leds)) {
printk(KERN_ERR "Platform get drvdata returned NULL\n");
return -1;
}
if (leds->clock_gpio) {
gpiod_put(leds->clock_gpio);
}
if (leds->data_gpio) {
gpiod_put(leds->data_gpio);
}
printk(KERN_NOTICE "Bye, bye\n");
return 0;
}
/**
* platform driver metadata
*/
static const struct of_device_id canyon_led_of_ids[] = {
{ .compatible = "canyon,led" },
{ }
};
static struct platform_driver canyon_led = {
.probe = &canyon_led_probe,
.remove = &canyon_led_remove,
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
.of_match_table = canyon_led_of_ids,
},
};
MODULE_DEVICE_TABLE(of, canyon_led_of_ids);
module_platform_driver(canyon_led);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL");

View File

@@ -0,0 +1,82 @@
/*
* Copyright (c) 2017 Genexis B.V.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include "sk9822.h"
#include "sk9822_bitbang.h"
cRGB __hexs_to_rgb(const char *hex)
{
cRGB rgb;
int r, g, b;
sscanf(hex, "%02x%02x%02x", &r, &g, &b);
// This needs sanity checking
rgb.r = r;
rgb.g = g;
rgb.b = b;
return rgb;
}
/**
* @brief update the color over the given device struct to the provided HEX color
*/
int sk9822_set_color_str(struct sk9822_leds *sk9822, const char *hex)
{
int i;
cRGB color = __hexs_to_rgb(hex);
for (i = 0; i < sk9822->led_count; i++) {
sk9822->led_colors[i] = color;
}
return 0;
}
/**
* @brief write device struct to the device
*/
int sk9822_update(struct sk9822_leds *sk9822)
{
uint16_t i;
uint16_t led_count = sk9822->led_count;
// Start Frame
sk9822_bb_write(sk9822, 0x00);
sk9822_bb_write(sk9822, 0x00);
sk9822_bb_write(sk9822, 0x00);
sk9822_bb_write(sk9822, 0x00);
for (i = 0; i < led_count; i++) {
cRGB *p = &sk9822->led_colors[i];
sk9822_bb_write(sk9822, 0xe0+sk9822->led_brightness); // Maximum global brightness
sk9822_bb_write(sk9822, p->b);
sk9822_bb_write(sk9822, p->g);
sk9822_bb_write(sk9822, p->r);
}
// End frame
sk9822_bb_write(sk9822, 0xff);
sk9822_bb_write(sk9822, 0xff);
sk9822_bb_write(sk9822, 0xff);
sk9822_bb_write(sk9822, 0xff);
return 0;
}

View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 2017 Genexis B.V.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#ifndef SK9822_H_
#define SK9822_H_
#include <linux/types.h>
#define SK9822_DEFAULT_NUM_LEDS 32 // U16, used if DT param fails
#define SK9822_DEFAULT_BRIGHTNESS 15 // 5-bit brightness, 0-31
typedef struct {
uint8_t b;
uint8_t g;
uint8_t r;
} cRGB; // BGR (SK9822 Standard)
struct sk9822_leds {
struct device *dev;
struct gpio_desc *clock_gpio;
struct gpio_desc *data_gpio;
cRGB *led_colors;
uint8_t led_brightness;
uint16_t led_count;
};
int sk9822_set_color_str(struct sk9822_leds *sk9822, const char *hex);
int sk9822_update(struct sk9822_leds *sk9822);
#endif /* SK9822_H_ */

View File

@@ -0,0 +1,48 @@
/*
* Copyright (c) 2017 Genexis B.V.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#include <linux/gpio/consumer.h>
#include <linux/delay.h>
#include <linux/types.h>
#include "sk9822.h"
/**
* @brief Bitbang write operation CLOCK+DATA
*
* Assumed state before call: CLOCK- Low, DATA- High
*/
void sk9822_bb_write(struct sk9822_leds *sk9822, uint8_t c)
{
uint8_t i;
for (i = 0; i < 8 ; i++) {
if (!(c&0x80)) {
gpiod_set_value(sk9822->data_gpio, 0); // set data low
} else {
gpiod_set_value(sk9822->data_gpio, 1); // set data high
}
gpiod_set_value(sk9822->clock_gpio, 1); // set clock high, data sampled here
c <<= 1;
udelay(1); // stretch clock
gpiod_set_value(sk9822->clock_gpio, 0); // set clock low
}
// State after call: SCK Low, Data high
}

View File

@@ -0,0 +1,28 @@
/*
* Copyright (c) 2017 Genexis B.V.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#ifndef _SK9822_BB_H_
#define _SK9822_BB_H_
#include <linux/types.h>
#include "sk9822.h"
void sk9822_bb_write(struct sk9822_leds *sk9822, uint8_t c);
#endif /* _SK9822_BB_H_ */

View File

@@ -1,4 +0,0 @@
config ICE_OPEN
bool "Use pre-compiled version for Open SDK"
default n

File diff suppressed because it is too large Load Diff

View File

@@ -1,74 +0,0 @@
#!/bin/sh
grep -rq "^ice:" /etc/passwd || {
adduser -D -H -s /bin/false ice
}
uci -q delete passwords.ice
uci -q set passwords.ice=usertype
uci -q set passwords.ice.password="\$WPAKEY"
uci -q del_list passwords.ice._access_w=root
uci -q add_list passwords.ice._access_w=root
uci -q del_list passwords.ice._access_r=root
uci -q add_list passwords.ice._access_r=root
uci -q commit passwords
uci show rpcd | grep username=.*ice.* >/dev/null || {
cat >> /etc/config/rpcd << EOF
config login
option username 'ice'
option password '\$p\$ice'
list _access_w 'none'
list write 'user-user'
list write 'juci-broadcom-dsl'
list write 'juci-broadcom-dsl-admin'
list write 'juci-broadcom-ethernet'
list write 'juci-broadcom-iptv'
list write 'juci-broadcom-vlan'
list write 'juci-broadcom-vlan-admin'
list write 'juci-wireless'
list write 'juci-wireless-admin'
list write 'juci-catv'
list write 'juci-ddns'
list write 'juci-diagnostics'
list write 'juci-dnsmasq-dhcp'
list write 'juci-dropbear'
list write 'juci-ethernet'
list write 'juci-event'
list write 'juci-firewall-fw3'
list write 'juci-iconnect'
list write 'juci-igmpinfo'
list write 'juci-inteno-backup'
list write 'juci-inteno-multiwan'
list write 'juci-inteno-provisioning'
list write 'juci-inteno-qos'
list write 'juci-inteno-voice-client'
list write 'juci-minidlna'
list write 'juci-mod-status'
list write 'juci-mod-system'
list write 'juci-natalie-dect'
list write 'juci-netmode'
list write 'juci-network-netifd'
list write 'juci-owsd'
list write 'juci-printer'
list write 'juci-realtime-graphs'
list write 'juci-samba'
list write 'juci-sfp'
list write 'juci-snmpd'
list write 'juci-sysupgrade'
list write 'juci-uhttpd'
list write 'juci-upnp'
list write 'juci-usb'
list write 'core'
list write 'unauthenticated'
EOF
}
uci -q del_list dhcp.@domain[0].name="inteno.lan"
uci -q add_list dhcp.@domain[0].name="inteno.lan"
uci -q commit dhcp
exit 0

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2016 Inteno Broadband AB
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.

View File

@@ -19,17 +19,9 @@ config CWMP_DEBUG
bool "Compile with debug options"
default y
config XMPP_ENABLE
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_IOPSYS_EU_"
endif

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 OpenWrt.org
# Copyright (C) 2019 iopsys Software Solutions AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,15 +8,17 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=4.0-2019-04-25
PKG_VERSION:=4.0-2019-12-07
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=cd777bbd2dbe7477ec7665f12d3d20e6b2e9e052
PKG_SOURCE_VERSION:=33eb15471d8f40aab139ac3cdb1b4f6d0f3bb6df
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=LGPL-2.1
PKG_LICENSE_FILES:=LICENSE
PKG_CONFIG_DEPENDS:= \
CONFIG_CWMP_ACS_MULTI \
@@ -30,32 +32,53 @@ 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
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
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 xmpp feature
DEPENDS:=+libuci +libubox +libexpat +libstrophe
endef
define Package/icwmp_twamp
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 twamp feature
DEPENDS:=+libuci
endef
define Package/icwmp_udpechoserver
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 udpechoserver feature
DEPENDS:=+libuci
endef
define Package/icwmp_bulkdata
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 BulkData Collection
DEPENDS:=+libubus +libuci +libubox +libjson-c +libcurl +curl +libblobmsg-json +libbbfdm
endef
define Package/icwmp-tr098
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CWMP client for TR-098 Data Model
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +curl +libcurl +libtr098
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 +libdatamodel
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +curl +libbbfdm
endef
define Package/icwmp/description
@@ -80,10 +103,6 @@ define Package/icwmp-zstream/config
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)
ifneq ($(USE_LOCAL),)
define Build/Prepare
@@ -91,12 +110,6 @@ define Build/Prepare
endef
endif
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
@@ -117,16 +130,6 @@ CONFIGURE_ARGS += \
--with-libubox-include-path=$(STAGING_DIR)/usr/include \
--with-libubus-include-path=$(STAGING_DIR)/usr/include
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 \
@@ -158,18 +161,12 @@ 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_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/.libs/icwmpd $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmpd $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/firewall.cwmp $(1)/etc/firewall.cwmp
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/uci-defaults
@@ -185,6 +182,11 @@ endif
$(CP) ./files/* $(1)/
endef
define Package/icwmp-tr098/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmp_tr098d $(1)/usr/sbin
endef
define Package/icwmp_stun/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_stund $(1)/usr/sbin/icwmp_stund
@@ -201,18 +203,35 @@ define Package/icwmp_xmpp/install
$(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
$(CP) ./xmpp-files/* $(1)/
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
define Package/icwmp_udpechoserver/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_udpechoserverd $(1)/usr/sbin/icwmp_udpechoserverd
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_udpechoserverd $(1)/etc/init.d/icwmp_udpechoserverd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_udpechoserver $(1)/etc/config
endef
define Package/icwmp_twamp/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_twampd $(1)/usr/sbin/icwmp_twampd
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_twampd $(1)/etc/init.d/icwmp_twampd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_twamp $(1)/etc/config
endef
define Package/icwmp_bulkdata/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_bulkdatad $(1)/usr/sbin/icwmp_bulkdatad
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_bulkdatad $(1)/etc/init.d/icwmp_bulkdatad
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_bulkdata $(1)/etc/config
endef
define Package/icwmp-$(BUILD_VARIANT)/postinst
#!/bin/sh
@@ -233,9 +252,11 @@ define Package/icwmp-$(BUILD_VARIANT)/prerm
exit 0
endef
$(eval $(call BuildPackage,icwmp-curl))
$(eval $(call BuildPackage,libdatamodel))
$(eval $(call BuildPackage,icwmp_stun))
$(eval $(call BuildPackage,icwmp_xmpp))
$(eval $(call BuildPackage,icwmp_udpechoserver))
$(eval $(call BuildPackage,icwmp_twamp))
$(eval $(call BuildPackage,icwmp_bulkdata))
$(eval $(call BuildPackage,icwmp-tr098))
$(eval $(call BuildPackage,icwmp-zstream))

View File

@@ -41,4 +41,14 @@ set_cwmp_reqopts() {
fi
}
regenerate_ssl_link(){
local cert_dir="/etc/ssl/certs"
local all_file=$(ls $cert_dir/*.pem)
for cfile in $all_file
do
ln -s $cfile $cert_dir/$(openssl x509 -hash -noout -in $cfile).0
done
}
set_cwmp_reqopts
regenerate_ssl_link

View File

@@ -0,0 +1,21 @@
#!/bin/sh
[ -f /etc/config/cwmp_xmpp ] || exit 0
[ "$ACTION" == "ifup" ] || 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
/etc/init.d/icwmp_xmppd reload &

57
ieee1905/Makefile Normal file
View File

@@ -0,0 +1,57 @@
#
# Copyright (C) 2019 Iopsys
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ieee1905
PKG_VERSION:=1.1.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=3008fe46ee9247f0203b3a125fddebadbdd7dcdc
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/ieee1905.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/ieee1905
SECTION:=utils
CATEGORY:=Utilities
TITLE:=IEEE1905 handler
DEPENDS:= +libwifi +ubox +libpicoevent +libpcap +libopenssl +libuci +libjson-c
endef
define Package/ieee1905/description
IEEE1905 stack with extended functionalities.
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-D_GNU_SOURCE \
-DSEND_EMPTY_TLVS \
-DFIX_BROKEN_TLVS \
-DSPEED_UP_DISCOVERY \
-DREGISTER_EXTENSION_BBF
#-DDO_NOT_ACCEPT_UNAUTHENTICATED_COMMANDS \
#define Build/Prepare
# $(CP) -rf ./ieee1905/* $(PKG_BUILD_DIR)/
#endef
define Package/ieee1905/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/hotplug.d
$(INSTALL_DIR) $(1)/etc/hotplug.d/button
$(INSTALL_BIN) ./files/etc/init.d/ieee1905 $(1)/etc/init.d/ieee1905
$(INSTALL_BIN) ./files/etc/hotplug.d/button/11-ieee1905 $(1)/etc/hotplug.d/button/11-ieee1905
$(INSTALL_DATA) ./files/etc/config/ieee1905 $(1)/etc/config/ieee1905
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ieee1905d $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libs/*.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,ieee1905))

View File

@@ -0,0 +1,39 @@
config ieee1905
option enabled '1'
option debug true
config meshcomms 'global'
option enabled '1'
option basemacint 'wan'
option mapall true
# option registrar 'rai0'
option debug_level 2
option port 8888
option cmdu_event false
#config al-iface
# option enabled '1'
# option ifname 'br-lan'
# option media 'bridge'
# option manufacturer_name 'Broadcom'
# option model_name 'Eth EG400'
# option model_number '00002'
# option device_name 'EG400R1'
#config al-iface
# option enabled '1'
# option ifname 'wl0'
# option media 'ap'
# option manufacturer_name 'Mediatek'
# option model_name 'WIFI EX400'
# option model_number '00001'
# option device_name 'EX400R0'
#config al-iface
# option enabled '1'
# option ifname 'wl1'
# option media 'ap'
# option manufacturer_name 'Mediatek'
# option model_name 'WIFI EX400'
# option model_number '00001'
# option device_name 'EX400R0'

View File

@@ -0,0 +1,36 @@
#!/bin/sh
TOPOLOGY_FILE="/tmp/topology_change"
WPS_FILE="/tmp/virtual_push_button"
handle_topology_change() {
[ -f ${TOPOLOGY_FILE} ] && \
touch ${TOPOLOGY_FILE}
}
handle_wps() {
[ -f ${WPS_FILE} ] && \
touch ${WPS_FILE}
}
case "$ACTION" in
add|register)
[ "wifibutton" == "$INTERFACE" -o "ecobutton" == "$INTERFACE" ] && {
handle_wps
}
[ "wifi_2g" == "$INTERFACE" ] && {
handle_wps
}
[ "wifi_5g" == "$INTERFACE" ] && {
handle_wps
}
[ "wpsbutton" == "$INTERFACE" ] && {
handle_wps
}
[ "wpscbutton" == "$INTERFACE" ] && {
handle_topology_change
}
;;
remove|unregister)
;;
esac

View File

@@ -0,0 +1,197 @@
#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
PROG=/usr/sbin/ieee1905d
MESH_CONF=/tmp/meshcomms.config
INTERFACE=""
validate_global_section()
{
uci_validate_section ieee1905 meshcomms "${1}" \
'enabled:bool:false' \
'basemacint:string:wan' \
'almac:string' \
'registrar:string' \
'mapall:bool:true' \
'debug_level:uinteger:5' \
'port:port:8888' \
'cmdu_event:bool:true'
}
validate_ieee1905_section()
{
uci_validate_section ieee1905 ieee1905 "${1}" \
'debug:bool:true' \
'enabled:bool:true'
}
get_device_name() {
local device
# Get wan L3 interface
ubus list |grep -iq network.interface.${1}
if [ "$?" -eq 0 ]; then
json_load "$(ubus -t 2 call network.interface.${1} status)"
json_get_var device device
echo ${device}
fi
}
get_interface_mac() {
local l3 basemac
l3=$(get_device_name ${1})
if [ -n ${l3} ]; then
json_load "$(ubus -t 2 call network.device status "{\"name\":\"${l3}\"}")"
json_get_var basemac macaddr
fi
local first=0x$(echo $basemac |cut -d : -f 1)
local rest=$(echo $basemac |cut -d : -f 2-)
# Set local bit
first=$((first|2))
first=$(printf "%x" $first)
basemac="${first}:${rest}"
echo ${basemac}
}
validate_al_section()
{
uci_validate_section ieee1905 al-iface "${1}" \
'enabled:bool:false' \
'ifname:string' \
'media:string:eth' \
'manufacturer_name:string:iopsys' \
'model_name:string' \
'model_number:string' \
'device_name:string'
}
configure_interface()
{
local ifname media enabled manufacturer_name model_name model_number device_name
validate_al_section ${1} || {
echo "Validation of global section failed"
return 1;
}
if [ ${enabled} -eq 0 ]; then
return;
fi
if [ -z ${INTERFACE} ]; then
INTERFACE=${ifname}
else
INTERFACE="${INTERFACE},${ifname}"
fi
json_add_object
json_add_string ifname ${ifname}
json_add_string media ${media}
json_add_string manufacturer_name ${manufacturer_name}
json_add_string model_name ${model_name}
json_add_string model_number ${model_number}
json_add_string device_name ${device_name}
json_close_object
}
configure_meshcomms()
{
local enabled almac basemacint mapall debug_level port l3device basemac intf registrar cmdu_event
validate_global_section global || {
echo "Validation of global section failed"
return 1;
}
if [ -z ${almac} ]; then
basemac=$(get_interface_mac ${basemacint})
else
basemac=${almac}
fi
local fname cname model cUrl
fname=$(db get hw.board.boardId)
cname=$(db get hw.board.iopVerCustomer)
model=$(db get hw.board.routerModel)
cUrl="http://192.168.1.1"
json_init
# fill the al-iface info
json_add_array al-iface
config_foreach configure_interface al-iface
json_close_array
json_add_object deviceInfo
json_add_string friendly_name ${fname}
json_add_string manufacturer_name ${cname}
json_add_string model ${model}
json_add_string control_url ${cUrl}
json_close_object
json_add_object meshcomms
json_add_int enabled ${enabled}
json_add_string mac ${basemac}
json_add_string interfaces ${INTERFACE}
json_add_int map ${mapall}
json_add_string registrar ${registrar}
json_add_int debug_level ${debug_level}
json_add_int port ${port}
json_add_int cmdu_event ${cmdu_event}
json_close_object
json_dump >${MESH_CONF}
}
configure_ieee1905()
{
local enabled debug
validate_ieee1905_section ${1} || {
echo "Validation of ieee1905 section failed"
exit 1;
}
if [ ${debug} -eq 1 ]; then
# Forward stdout of the command to logd
procd_set_param stdout 1
# Same for stderr
procd_set_param stderr 1
fi
if [ ${enabled} -ne 1 ]; then
exit 0;
fi
}
configure_network() {
[ -f ${MESH_CONF} ] && rm ${MESH_CONF}
ebtables -L FORWARD|grep -iqE "1:80:C2:(0)+:(0)+:13.*-j.*DROP"
if [ "$?" -ne 0 ]; then
echo "Applying drop rule to drop pkts forwared by kernel to 1905.1 multicast mac"
ebtables -A FORWARD -d 01:80:c2:00:00:13 -j DROP
fi
config_load ieee1905
config_foreach configure_ieee1905 ieee1905
config_foreach configure_meshcomms meshcomms
}
start_service() {
procd_open_instance ieee1905
procd_set_param command ${PROG}
configure_network
procd_set_param respawn
procd_close_instance
}
reload_service() {
stop
start
}
service_triggers() {
procd_add_reload_trigger "network"
procd_add_reload_trigger "netmode"
}

View File

@@ -6,9 +6,9 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ifbt
PKG_VERSION:=0.1
PKG_VERSION:=0.2
PKG_SOURCE_VERSION:=0286812ed8036dea758f904694dc416481fba64d
PKG_SOURCE_VERSION:=6a279efa5046ace0681a1d0e79592a120f80e171
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/ifbt.git
@@ -16,6 +16,9 @@ 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)
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=README
include $(INCLUDE_DIR)/package.mk
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)

View File

@@ -1,39 +0,0 @@
#
# Copyright (C) 2015 Inteno
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ifsi
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
define Package/ifsi
CATEGORY:=Utilities
DEPENDS:=+ubus +libubox
TITLE:=Inteno Functional Script Interface
endef
define Package/ifsi/description
Inteno Functional Script Interface
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Package/ifsi/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ifsi $(1)/sbin/
endef
$(eval $(call BuildPackage,ifsi))

View File

@@ -1,17 +0,0 @@
CC = gcc
CFLAGS = -g -Wall
LOCLIBS =
LIBS = -lubus -lubox -lblobmsg_json
OBJS = ifsi.o
SRCS = ifsi.c
LIBSRCS =
ISRCS =
all: ifsi
ifsi: ${OBJS}
${CC} ${LDFLAGS} ${LIBSRCS} -o ifsi ${OBJS} ${LIBS}
clean:
rm -f ifsi *.o

View File

@@ -1,74 +0,0 @@
/*
* ifsi -- Inteno functional script interface
*
* Copyright (C) 2012-2013 Inteno Broadband Technology AB. All rights reserved.
*
* Author: dev@inteno.se
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#include <unistd.h>
#include <libubox/blobmsg.h>
#include <libubox/blobmsg_json.h>
#include <libubox/uloop.h>
#include <libubus.h>
static struct ubus_context *ctx;
static struct ubus_event_handler event_listener;
static struct blob_buf b;
static void receive_event(struct ubus_context *ctx, struct ubus_event_handler *ev,
const char *type, struct blob_attr *msg)
{
char *str;
uint32_t id;
str = blobmsg_format_json(msg, true);
fprintf(stdout, "I got %s event %s\n", type, str);
free(str);
}
int main(int argc, char **argv)
{
const char *ubus_socket = NULL;
int ret;
uloop_init();
ctx = ubus_connect(ubus_socket);
if (!ctx) {
fprintf(stderr, "Failed to connect to ubus\n");
return 1;
}
ubus_add_uloop(ctx);
event_listener.cb = receive_event;
ret = ubus_register_event_handler(ctx, &event_listener, "*");
if (ret)
fprintf(stderr, "Couldn't register to router events\n");
uloop_run();
ubus_free(ctx);
uloop_done();
return 0;
}

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2018 Inteno
# Copyright (C) 2018 iopsys
#
include $(TOPDIR)/rules.mk
@@ -15,16 +15,18 @@ PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/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
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/imonitor
CATEGORY:=Utilities
TITLE:=Inteno process supervisor
TITLE:=iopsysWrt process supervisor
DEPENDS:=+ubox +uci +ubus +rpcd +rpcd-mod-file
endef

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2016 Inteno
# Copyright (C) 2016 iopsys
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -12,7 +12,7 @@ PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=12755fccb8ef87965ac684d62d56e19e73a255bd
PKG_SOURCE_VERSION:=53ca7f58edb87976b5897ccaf487bb0cbbf39d07
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/inbd
@@ -20,6 +20,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
# support parallel build
PKG_BUILD_PARALLEL:=1
@@ -34,7 +37,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/inbd
CATEGORY:=Utilities
TITLE:=Inteno Netlink Bridge Daemon
TITLE:=iopsys Netlink Bridge Daemon
URL:=
DEPENDS:=+libuci +libubus +libblobmsg-json +libnl-genl
endef

View File

@@ -20,6 +20,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
# support parallel build
PKG_BUILD_PARALLEL:=1

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2011 OpenWrt.org
# Copyright (C) 2019 iopsys
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=iop
PKG_VERSION:=1.0
PKG_RELEASE:=0
PKG_LICENSE:=GPLv2
include $(INCLUDE_DIR)/package.mk
@@ -20,7 +21,7 @@ define Package/iop
endef
define Package/iop/description
This package contains Intenos Iop utilities
This package contains iopsysWrt SDK utilities
endef
define Build/Compile

View File

@@ -3,11 +3,9 @@ CONFIG_BUSYBOX_CUSTOM=y
CONFIG_CCACHE=y
CONFIG_DEBUG=y
CONFIG_DEVEL=y
# CONFIG_LOCALMIRROR is not set
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6rd=y
CONFIG_PACKAGE_6to4=y
CONFIG_PACKAGE_6tunnel=y
CONFIG_PACKAGE_alsa-lib=y
CONFIG_PACKAGE_chat=y
CONFIG_PACKAGE_comgt=y
@@ -16,58 +14,38 @@ CONFIG_PACKAGE_comgt-ncm=y
CONFIG_PACKAGE_crashlog=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_ds-lite=y
CONFIG_PACKAGE_easy-qos=y
CONFIG_PACKAGE_gdb=m
CONFIG_PACKAGE_gdbserver=m
CONFIG_PACKAGE_getopt=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_ice-client=y
CONFIG_PACKAGE_ice-client-camerawatch=m
CONFIG_PACKAGE_ice-client-fileme=m
CONFIG_PACKAGE_ice-client-gigaset=m
CONFIG_PACKAGE_ice-client-guest=m
CONFIG_PACKAGE_ice-client-iperf=m
CONFIG_PACKAGE_ice-client-logreader=m
CONFIG_PACKAGE_ice-client-monitor=m
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_ifbt=y
CONFIG_PACKAGE_imonitor=y
CONFIG_PACKAGE_inbd=y
CONFIG_PACKAGE_netmode=y
CONFIG_PACKAGE_iperf-mt=y
CONFIG_PACKAGE_iopupgrade=y
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_iperf3=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_iptables=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-filter=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iup=y
# CONFIG_PACKAGE_iwatchdog is not set
CONFIG_PACKAGE_juci=y
CONFIG_PACKAGE_juci-broadcom-iptv=y
CONFIG_PACKAGE_juci-broadcom-pwrmgmt=y
CONFIG_PACKAGE_juci-wifilife=y
CONFIG_PACKAGE_juci-wireless=y
CONFIG_PACKAGE_juci-config-backup=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-easyqos=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-config-backup=y
CONFIG_PACKAGE_juci-mwan3=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-mwan3=y
CONFIG_PACKAGE_juci-netmode=y
CONFIG_PACKAGE_juci-network-device=y
CONFIG_PACKAGE_juci-network-dsl=y
@@ -75,24 +53,20 @@ 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
CONFIG_PACKAGE_juci-samba=y
CONFIG_PACKAGE_juci-simple-gui=y
CONFIG_PACKAGE_juci-snmpd=y
CONFIG_PACKAGE_juci-sysupgrade=y
CONFIG_PACKAGE_juci-theme-iopsys=y
CONFIG_PACKAGE_juci-ubus-core=y
CONFIG_PACKAGE_juci-upnp=y
CONFIG_PACKAGE_juci-usb=y
CONFIG_PACKAGE_juci-utils=y
# CONFIG_PACKAGE_kmod-ipt-nathelper is not set
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_juci-voice-client=y
CONFIG_PACKAGE_juci-wifilife=y
CONFIG_PACKAGE_juci-wireless=y
CONFIG_PACKAGE_juci-theme-iopsys=y
CONFIG_PACKAGE_kmod-siit=y
CONFIG_PACKAGE_libcgroup-daemon=y
CONFIG_PACKAGE_libcgroup=y
# CONFIG_PACKAGE_libcgroup-utils is not set
CONFIG_PACKAGE_ldd=y
CONFIG_PACKAGE_libdaemon=y
CONFIG_PACKAGE_libffmpeg-mini=y
CONFIG_PACKAGE_libgmp=y
@@ -100,23 +74,19 @@ CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_loop-detector=m
CONFIG_PACKAGE_minidlna=y
CONFIG_PACKAGE_miniupnpd=y
CONFIG_PACKAGE_mtd-utils=y
CONFIG_PACKAGE_mtd-utils-deubinize=y
CONFIG_PACKAGE_mtd-utils-imagewrite=y
CONFIG_PACKAGE_mtd-utils-mkfs.jffs2=y
CONFIG_PACKAGE_mtd-utils-nanddump=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_nand-utils=y
CONFIG_PACKAGE_ndisc6=y
CONFIG_PACKAGE_netmode=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_ntpd=y
CONFIG_PACKAGE_obuspa=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 is not set
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
@@ -147,11 +117,14 @@ CONFIG_PACKAGE_umbim=y
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_uspd=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wwan=y
CONFIG_PACKAGE_libwifi=y
CONFIG_PACKAGE_wifilife=y
CONFIG_PACKAGE_wifimngr=y
CONFIG_PACKAGE_libwifix=y
CONFIG_PACKAGE_wifixd=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-europe=y
@@ -187,7 +160,6 @@ CONFIG_BUSYBOX_CONFIG_MICROCOM=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
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
@@ -201,11 +173,9 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_USE_SENDFILE=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_NOLOGIN is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_SECURETTY=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_GET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_PUT=y
@@ -215,7 +185,6 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_PUT=y
# 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
@@ -224,7 +193,6 @@ CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y
# CONFIG_SIGNED_PACKAGES is not set
CONFIG_KERNEL_DEVTMPFS=y
CONFIG_KERNEL_DEVTMPFS_MOUNT=y
CONFIG_PACKAGE_ip-full=y
# CONFIG_BUSYBOX_CONFIG_IP is not set
CONFIG_PACKAGE_iopupgrade=y
CONFIG_LOCALMIRROR="http://download.iopsys.eu/iopsys/mirror/"

View File

@@ -32,13 +32,15 @@ function feeds_update {
fi
# targets need to be installed explicitly
./scripts/feeds install -p targets iopsys-brcm63xx-mips
./scripts/feeds install -p targets iopsys-brcm63xx-arm
./scripts/feeds install -p targets iopsys-ramips
./scripts/feeds install -p intel_targets intel_mips
targets="iopsys-brcm63xx-mips iopsys-brcm63xx-arm iopsys-ramips intel_mips"
for target in $targets
do
rm -f target/linux/$target
./scripts/feeds install -p targets $target
done
# install all packages
./scripts/feeds install -a
./scripts/feeds install -a
# remove broken symlinks ( for packages that are no longer in the feed )
find -L package/feeds -maxdepth 2 -type l -delete
@@ -47,7 +49,7 @@ function feeds_update {
make defconfig
# record when we last run this script
touch tmp/.iop_bootstrap
touch tmp/.iop_bootstrap
# always return true
exit 0

View File

@@ -12,39 +12,99 @@ function genconfig {
export CUSTCONF="customerconfigs/customers"
export VERBOSE=0
export DEVELOPER=0
LOCAL_MIRROR="http://mirror.inteno.se/mirror"
target="bogus"
config_path=""
brcm63xx_mips="target/linux/iopsys-brcm63xx-mips"
brcm63xx_arm="target/linux/iopsys-brcm63xx-arm"
ramips="target/linux/iopsys-ramips"
intel_mips="target/linux/intel_mips"
Red='\033[0;31m' # Red
Color_Off='\033[0m' # Text Reset
Yellow='\033[0;33m' # Yellow
function find_last {
egrep "^[ #]*${1}[ =]" $2 | tail -n1
}
function is_new {
for opt in $conf_warned
do
if [ "$opt" == "$1" ]
then
return 1
fi
done
# option not found return true
return 0
}
function verify_config {
IFS=$'\n'
org=$(<.genconfig.config)
unset IFS
local num
local conf_opt
local conf_org
local conf_new
#echo "lines to check $tot_lines"
num=0
for line in $org
do
conf_opt=$(echo $line | grep CONFIG_ | sed 's|.*\(CONFIG_[^ =]*\)[ =].*|\1|')
if [ -n "${conf_opt}" ]
then
conf_org=$(find_last ${conf_opt} .genconfig.config)
conf_new=$(find_last ${conf_opt} .config)
if [ "$conf_org" != "$conf_new" ]
then
if is_new $conf_opt
then
echo -e "config option [${Red}$conf_opt${Color_Off}] is not set correctly in .config"
echo -e "got value [${Yellow}$conf_new${Color_Off}] but wanted [${Yellow}$conf_org${Color_Off}]"
echo "This is a real problem somebody needs to investigate"
echo ""
conf_warned="$conf_warned $conf_opt"
fi
else
true
# for debug to see all options
#echo -e "wanted [$conf_org] got [$conf_new]"
fi
fi
num=$((num+1))
done
}
# Takes a board name and returns the target name in global var $target
set_target() {
local profile=$1
local iopsys_brcm63xx_mips=$(cd target/linux/iopsys-brcm63xx-mips; ./genconfig)
local iopsys_brcm63xx_arm=$(cd target/linux/iopsys-brcm63xx-arm; ./genconfig)
local iopsys_ramips=$(cd target/linux/iopsys-ramips; ./genconfig)
local intel_mips=$(cd target/linux/intel_mips; ./genconfig)
if [ "$profile" == "LIST" ]
then
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips intel_mips
do
echo "$list based boards:"
for b in ${!list}
do
echo -e "\t$b"
done
done
return
[ -e $brcm63xx_mips/genconfig ] &&
iopsys_brcm63xx_mips=$(cd $brcm63xx_mips; ./genconfig)
[ -e $brcm63xx_arm/genconfig ] &&
iopsys_brcm63xx_arm=$(cd $brcm63xx_arm; ./genconfig)
[ -e $ramips/genconfig ] &&
iopsys_ramips=$(cd $ramips; ./genconfig)
[ -e $intel_mips/genconfig ] &&
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
if [ "$profile" == "LIST" ]; then
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips; do
echo "$list based boards:"
for b in ${!list}; do
echo -e "\t$b"
done
done
return
fi
local targets
for p in $iopsys_brcm63xx_mips; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_mips"
config_path="target/linux/iopsys-brcm63xx-mips/config"
config_path="$brcm63xx_mips/config"
return
fi
done
@@ -52,7 +112,7 @@ function genconfig {
for p in $iopsys_brcm63xx_arm; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_arm"
config_path="target/linux/iopsys-brcm63xx-arm/config"
config_path="$brcm63xx_arm/config"
return
fi
done
@@ -60,15 +120,15 @@ function genconfig {
for p in $iopsys_ramips; do
if [ $p == $profile ]; then
target="iopsys_ramips"
config_path="target/linux/iopsys-ramips/config"
config_path="$ramips/config"
return
fi
done
for p in $intel_mips; do
for p in $iopsys_intel_mips; do
if [ $p == $profile ]; then
target="intel_mips"
config_path="target/linux/intel_mips/config"
config_path="$intel_mips/config"
return
fi
done
@@ -79,23 +139,16 @@ function genconfig {
DEVELOPER=1
bcmAllowed=0
iceAllowed=0
endptAllowed=0
natalieAllowed=0
mediatekAllowed=0
wifilifeAllowed=0
allowedRepos="$(ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -w 'R\|W' | awk '{print$NF}')"
for repo in $allowedRepos; do
case $repo in
bcmkernel) bcmAllowed=1 ;;
ice-client) iceAllowed=1 ;;
endptcfg) endptAllowed=1 ;;
natalie-dect*) natalieAllowed=1 ;;
linux) mediatekAllowed=1 ;;
wifilife) wifilifeAllowed=1 ;;
esac
done
git ls-remote git@dev.iopsys.eu:broadcom/bcmcreator.git -q 2>/dev/null && bcmAllowed=1
git ls-remote git@dev.iopsys.eu:mediatek/linux.git -q 2>/dev/null && mediatekAllowed=1
git ls-remote git@dev.iopsys.eu:dialog/natalie-dect-12.26.git -q 2>/dev/null && natalieAllowed=1
git ls-remote git@dev.iopsys.eu:iopsys/endptmngr.git -q 2>/dev/null && endptAllowed=1
git ls-remote git@dev.iopsys.eu:iopsys/wifilife.git -q 2>/dev/null && wifilifeAllowed=1
}
v() {
@@ -106,17 +159,18 @@ function genconfig {
echo
echo 1>&2 "Usage: $0 [ OPTIONS ] < Board_Type > [ Customer [customer2 ]...]"
echo
echo -e " -c|--clean\tRemove all files under ./files and import from config "
echo -e " -v|--verbose\tVerbose"
echo -e " -c|--clean\t\tRemove all files under ./files and import from config "
echo -e " -v|--verbose\t\tVerbose"
echo -e " -n|--no-update\tDo NOT! Update customer config before applying"
echo -e " -s|--override\tEnable 'Package source tree override'"
echo -e " -h|--help\tShow this message"
echo -e " -s|--override\t\tEnable 'Package source tree override'"
echo -e " -S|--brcmsingle\tForce build of bcmkernel to use only one thread"
echo -e " -h|--help\t\tShow this message"
echo -e " -l|--list [customer]\tList all Customers or all boards for one customer"
echo -e " -a|--list-all\tList all Customers and their board types"
echo -e " -b|--boards\tList all board types"
echo -e " -a|--list-all\t\tList all Customers and their board types"
echo -e " -b|--boards\t\tList all board types"
echo
echo "Example ./iop genconfig vg50 TELIA"
echo "(if no customerconfig is chosen the Inteno Config will be used)"
echo "Example ./iop genconfig dg200 TELIA"
echo "(if no customerconfig is chosen, iopsys config will be used)"
echo
exit 0
}
@@ -176,7 +230,7 @@ function genconfig {
setup_dirs()
{
if ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -qw ${CUSTREPO:22}; then
if git ls-remote $CUSTREPO -q 2>/dev/null; then
if [ ! -d "$CUSTPATH" ]; then
git clone "$CUSTREPO" "$CUSTPATH"
elif [ $IMPORT -eq 1 ]; then
@@ -300,21 +354,24 @@ function genconfig {
# rewrite url to clone with ssh instead of http
echo "CONFIG_GITMIRROR_REWRITE=y" >>.config
[ $bcmAllowed -eq 0 ] && echo "CONFIG_BCM_OPEN=y" >> .config
[ $iceAllowed -eq 0 ] && echo "CONFIG_ICE_OPEN=y" >> .config
[ $endptAllowed -eq 0 ] && echo "CONFIG_ENDPT_OPEN=y" >> .config
[ $natalieAllowed -eq 0 ] && echo "CONFIG_NATALIE_OPEN=y" >> .config
[ $mediatekAllowed -eq 0 ] && echo "CONFIG_MEDIATEK_OPEN=y" >> .config
[ $wifilifeAllowed -eq 0 ] && echo "CONFIG_WIFILIFE_OPEN=y" >> .config
else
echo "CONFIG_GITMIRROR_REWRITE=n" >>.config
echo "# CONFIG_GITMIRROR_REWRITE is not set" >>.config
echo "CONFIG_BCM_OPEN=y" >> .config
echo "CONFIG_ICE_OPEN=y" >> .config
echo "CONFIG_ENDPT_OPEN=y" >> .config
echo "CONFIG_NATALIE_OPEN=y" >> .config
echo "CONFIG_MEDIATEK_OPEN=y" >> .config
echo "CONFIG_WIFILIFE_OPEN=y" >> .config
fi
if [ -n "$BRCM_MAX_JOBS" ]
then
echo "CONFIG_BRCM_MAX_JOBS=\"1\"" >>.config
fi
# Force regeneration of themes
touch package/feeds/juci/juci/Makefile
@@ -327,6 +384,9 @@ function genconfig {
# so just touch that file.
[ -d ./build_dir ] && find build_dir/ -name "boardparms*c" -print0 2>/dev/null | xargs -0 touch 2>/dev/null
# Store generated config
cp .config .genconfig.config
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"
@@ -334,6 +394,8 @@ function genconfig {
# Clean base-file package to force rebuild when changing profile
v "$(make package/base-files/clean 2>&1)"
verify_config
}
####### main #####
@@ -358,6 +420,7 @@ function genconfig {
-p|--profile) export PROFILE="$2"; shift;;
-r|--repo) export CUSTREPO="$2"; shift;;
-s|--override) export SRCTREEOVERR=1;;
-S|--brcmsingel) export BRCM_MAX_JOBS=1;;
-h|--help) usage;;
-l|--list) list_customers 0 $2;;
-a|--list-all)list_customers 1;;
@@ -372,7 +435,7 @@ function genconfig {
shift;
done
CUSTREPO="${CUSTREPO:-git@private.inteno.se:customerconfigs}"
CUSTREPO="${CUSTREPO:-git@dev.iopsys.eu:consumer/iopsys.git}"
setup_dirs
create_and_copy_files "$@"

View File

@@ -59,23 +59,6 @@ build_endptmngr_consumer() {
cd "$curdir"
}
build_ice_consumer() {
# create ice-client open version tar file
local iceversion icebasever icerelease icecommith
icecommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/iopsys/ice-client/Makefile | head -1 | cut -d'=' -f2)
icebasever=$(grep -w "BASE_PKG_VERSION:" ./feeds/iopsys/ice-client/Makefile | cut -d'=' -f2)
icerelease=$(grep -w "PKG_RELEASE:" ./feeds/iopsys/ice-client/Makefile | cut -d'=' -f2)
iceversion=$icebasever$icerelease
[ -n "$target" -a -n "$iceversion" -a -n "$icecommith" ] || return
ssh $SERVER "test -f $FPATH/ice-client-$target-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*/ice-client-$icebasever/ipkg-* || cd ./build_dir/target-mips*musl-*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$target-$iceversion-$icecommith.tar.gz
scp -pv ice-client-$target-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$target-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$target-$iceversion-$icecommith.tar.gz
cd "$curdir"
}
build_wifilife_consumer() {
local ver commit
ver=$(grep -w "PKG_VERSION:" ./feeds/iopsys/wifilife/Makefile | cut -d'=' -f2)
@@ -129,8 +112,8 @@ function print_usage {
function generate_tarballs {
SERVER="god@software.inteno.se"
FPATH="/var/www/html/iopsys/consumer"
SERVER="god@download.iopsys.eu"
FPATH="/var/www/html/iopsys/opensdk"
set -e
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
@@ -169,11 +152,9 @@ function generate_tarballs {
build_bcmkernel_consumer
build_natalie_consumer
build_endptmngr_consumer
build_ice_consumer
build_wifilife_consumer
elif [ "$stk_target" == "mediatek" ]; then
build_mediatek_kernel
build_ice_consumer
build_wifilife_consumer
else
echo "Invalid target: $stk_target"

View File

@@ -10,7 +10,7 @@ function install_key {
echo "::sysinit:/etc/init.d/rcS S boot" >files/etc/inittab
echo "::shutdown:/etc/init.d/rcS K shutdown" >>files/etc/inittab
echo "tty/0::askfirst:/bin/ash --login" >>files/etc/inittab
echo "ttyS0::askfirst:/bin/ash --login" >>files/etc/inittab
echo "console::askfirst:/bin/cttyhack /bin/ash --login" >>files/etc/inittab
echo Done
}

View File

@@ -0,0 +1,35 @@
#!/bin/sh
function license_report {
LICDIR="/tmp/licenses-generator/"
LICBIN="${LICDIR}/bin"
dpkg -s python3 python3-requests python3-yaml python3-mako python3-six &> /dev/null
if [ $? -ne 0 ]
then
echo "Missing dependencies"
sudo apt-get update
sudo apt-get install python3 python3-requests python3-yaml python3-mako python3-six
else
echo "Dependecy check passed"
fi
if [ -d "$LICDIR" ]; then
### Take action if $DIR exists ###
echo "Creating json licences file and html formated report"
else
### Control will jump here if $DIR does NOT exists ###
echo "Error: licenses-generator not found. getting from iopsys repo"
git clone git@dev.iopsys.eu:iopsys/licenses-generator.git $LICDIR
fi
LICGET=`${LICBIN}/licenses-generator gen-License bin/`
echo $LICGET
${LICBIN}/licenses-generator gen-licrprt $LICGET
exit 0
}
register_command "license_report" "Generate a Licence report on latest build in json format and html under reports"

View File

@@ -46,7 +46,7 @@ function update_feed_branches {
git checkout $commith
git push origin :$release
git checkout -b $release
git push origin $release
git push --set-upstream origin $release
cd $ipath
done

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2019 iopsys
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -12,7 +12,7 @@ PKG_NAME:=iopupgrade
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=9b5ed4bc9f7ac5064414cf5feb510ffd95df6ec4
PKG_SOURCE_VERSION:=01f2afd6c831d6f9eb2940c7e7af16f7e4d439c2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/iopupgrade
@@ -20,6 +20,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
# support parallel build
PKG_BUILD_PARALLEL:=1

View File

@@ -7,6 +7,7 @@ cur_vol="" # num,[0/1] Number used for ubifs root filesystem volume name.
upd_vol="" # num,[0/1] Number used for ubifs root filesystem volume name.
# eg: rootfs_0 or rootfs_1, the one we want to update
cmdline="" # command line settings.
cmdline_match="" # Headers to match to the image
###############################################################################
# file local variables. should not be used in imported functions. Can be used
@@ -20,7 +21,6 @@ upd_ubi_id="" # num, UBI volume number for the volume name
run_cleanup=0 # if set the cleanup should be run otherwise we skip it.
run_mount_cleanup=0 # set if we should run umount in cleanup
upd_kernel=0 # set to 1 if system has the kernel in own mtd partition
upd_cfe=0 # set to 1 if system is using cfe as bootloader.
log_stdout=1 # set to 0 to prevent the log to also print to stdout
upd_noreboot=0 # set to 1 if we should not reboot after programming
upd_forceimage=0 # set this to force upgrade even if image is for wrong board.
@@ -164,7 +164,7 @@ trap finish EXIT
trap timeout SIGALRM
trap sig_pipe SIGPIPE
while getopts "nrxb" opt; do
while getopts "nrxbh" opt; do
case $opt in
n)
upd_noreboot=1
@@ -184,7 +184,7 @@ while getopts "nrxb" opt; do
exit 0
;;
h)
upd_usage
usage
exit 1
;;
esac
@@ -204,9 +204,7 @@ log "Firmware upgrade started"
if [ $upd_forceimage -eq 0 ]
then
board=$(db get hw.board.iopVerBoard)
cmdline="$cmdline -b $board"
else
cmdline="$cmdline -q"
cmdline_match="board=$board"
fi
# find out what rootfs volume is active.
@@ -217,16 +215,19 @@ upd_vol=$(get_flashbank_next)
upd_ubi_id=$(ubinfo -d 0 -N rootfs_$upd_vol | awk "/Volume ID:/ {print \$3}")
log "installing Root Fileystem into UBI volume rootfs_$upd_vol"
# prepare to match dsl.
function_call upd_conf_dsl
# prepare to update CFE if it exists
function_call upd_conf_cfe
# prepare to update kernel if it is stored in MTD/JFFS2
function_call upd_conf_kernel
log "now starting writing data to flash with [ iopupgrade $cmdline -u ubi0_$upd_ubi_id ]"
log "now starting writing data to flash with [ iopupgrade $cmdline -M "$cmdline_match" -u ubi0_$upd_ubi_id ]"
run_cleanup=1 # When we start to actually write data there might be some
# things that need cleanup if we get an error/crash
iopupgrade $cmdline -u ubi0_$upd_ubi_id
iopupgrade $cmdline -M "$cmdline_match" -u ubi0_$upd_ubi_id
# in case of any error we abort
if [ $? -ne 0 ]; then

View File

@@ -1,6 +1,9 @@
# Copyright (C) 2019 iopsys
#
# Copyright (C) 2013 Inteno
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
@@ -8,6 +11,9 @@ PKG_NAME:=iwatchdog
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
# support parallel build
PKG_BUILD_PARALLEL:=1
@@ -22,7 +28,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/iwatchdog
CATEGORY:=Utilities
TITLE:=Inteno watchdog
TITLE:=IOPSYS watchdog
endef
define Package/iwatchdog/description

32
json-editor/Makefile Normal file
View File

@@ -0,0 +1,32 @@
#
# Copyright (C) 2019 IOPSYS
#
include $(TOPDIR)/rules.mk
PKG_NAME:=json-editor
PKG_RELEASE:=1.0.0
PKG_SOURCE_VERSION:=44b32937a062ec4ffc9f7355841dc94ab6efa50f
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/json-editor.git
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/json-editor
SECTION:=base
CATEGORY:=Libraries
DEPENDS:=+libjson-c +libblobmsg_json
TITLE:=JSON-editor
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_BUILD_DIR)/src/json-editor.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libjson-editor.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,json-editor))

View File

@@ -17,6 +17,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=autoreconf
PKG_LICENSE:=LGPLv3
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/libjwt

View File

@@ -14,6 +14,8 @@ PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=7875222706cb6999af0361ef0aebdc85cd75c127
PKG_NAME:=libpicoevent
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

View File

@@ -12,6 +12,9 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf

View File

@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/lmbench/
PKG_MD5SUM:=b3351a3294db66a72e2864a199d37cbf
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
PKG_BUILD_DEPENDS:=librpc
include $(INCLUDE_DIR)/package.mk

View File

@@ -19,6 +19,9 @@ PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/logrotate

View File

@@ -1,3 +1,9 @@
# Copyright (C) 2019 iopsys
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=loop-detector
@@ -11,6 +17,9 @@ 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)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk

36
ltq-nand/Makefile Normal file
View File

@@ -0,0 +1,36 @@
#
# Copyright (C) 2008-2016 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:=ltq-nand
PKG_VERSION:=1.0
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/merbanan/ltq-nand/archive/
#PKG_SOURCE_PROTO:=git
#PKG_SOURCE_URL:=https://github.com/merbanan/ltq-nand/releases/download/v$(PKG_VERSION)/
#PKG_SOURCE_URL:=https://github.com/merbanan/ltq-nand.git
#PKG_SOURCE_VERSION:=07b5b0331af6de4174dab2c02bf260ee9625452a
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)
endef
define Host/Install
$(CP) \
$(HOST_BUILD_DIR)/ltq-nand \
$(STAGING_DIR_HOST)/bin/
endef
$(eval $(call HostBuild))

67
meshcomms/Makefile Normal file
View File

@@ -0,0 +1,67 @@
#
# Copyright (C) 2019 IOPSYS
#
include $(TOPDIR)/rules.mk
PKG_NAME:=meshcomms
PKG_VERSION:=1.0.2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=72048b609104a5479ac2cdae21d5d1f733fd2bc3
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/meshcomms.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=BSD2+Patent
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/meshcomms
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Mesh agent
DEPENDS:=+libpcap +libopenssl +libubox +libubus +libblobmsg-json
endef
define Package/meshcomms/description
meshComms is an open source implementation of IEEE 1905.1a that is an output
of the Broadband Forum Open Broadband - Multi Access Point (OB-MAP) project.
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-D_GNU_SOURCE
# -DDO_NOT_ACCEPT_UNAUTHENTICATED_COMMANDS
#define Build/Prepare
# $(CP) -rf ./meshcomms/* $(PKG_BUILD_DIR)/
#endef
define Package/meshcomms/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(STAGING_DIR)/usr/lib
$(INSTALL_DIR) $(STAGING_DIR)/usr/include
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/meshcomms
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/meshcomms/common
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/meshcomms/bbf
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/meshcomms/al
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/meshcomms/factory
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/meshcomms.conf $(1)/etc/config/meshcomms
$(INSTALL_BIN) ./files/meshcomms.init $(1)/etc/init.d/meshcomms
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/al_entity $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/libmeshcomms.so $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/libmeshcomms.so $(STAGING_DIR)/usr/lib
$(CP) $(PKG_BUILD_DIR)/include/meshcomms.h $(STAGING_DIR)/usr/include/meshcomms/
$(CP) $(PKG_BUILD_DIR)/src/common/interfaces/*.h $(STAGING_DIR)/usr/include/meshcomms/
$(CP) $(PKG_BUILD_DIR)/src/factory/interfaces/*.h $(STAGING_DIR)/usr/include/meshcomms/
$(CP) $(PKG_BUILD_DIR)/src/factory/interfaces/extensions/bbf/*.h $(STAGING_DIR)/usr/include/meshcomms/
$(CP) $(PKG_BUILD_DIR)/src/al/internal_interfaces/*.h $(STAGING_DIR)/usr/include/meshcomms/
endef
$(eval $(call BuildPackage,meshcomms))

View File

@@ -0,0 +1,8 @@
config meshcomms 'global'
option basemacint 'wan'
list interfaces 'lan'
list interfaces 'wan'
option mapall true
option debug false
option port 8888

View File

@@ -0,0 +1,105 @@
#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
PROG=/usr/sbin/al_entity
validate_global_section()
{
uci_validate_section meshcomms meshcomms "${1}" \
'basemacint:string:wan' \
'interfaces:string:lan' \
'mapall:bool:true' \
'debug:bool:true' \
'port:port:8888'
}
get_device_name() {
local device
# Get wan L3 interface
ubus list |grep -iq network.interface.${1}
if [ "$?" -eq 0 ]; then
json_load "$(ubus -t 2 call network.interface.${1} status)"
json_get_var device device
echo ${device}
fi
}
get_interface_mac() {
local l3 basemac
l3=$(get_device_name ${1})
if [ -n ${l3} ]; then
json_load "$(ubus -t 2 call network.device status "{\"name\":\"${l3}\"}")"
json_get_var basemac macaddr
fi
echo ${basemac}
}
configure_meshcomms()
{
local basemacint interfaces mapall debug port l3device basemac intf
validate_global_section global || {
echo "Validation of global section failed"
return 1;
}
if [ ${debug} -eq 1 ]; then
# Forward stdout of the command to logd
procd_set_param stdout 1
# Same for stderr
procd_set_param stderr 1
fi
basemac=$(get_interface_mac ${basemacint})
for f in ${interfaces}
do
local l3=$(get_device_name $f)
intf="${intf} ${l3}"
done
intf=$(echo $intf|sed 's/ /,/g')
[ -z "${intf}" ] && \
echo "interface list is empty/invalid">/dev/console \
return 1
procd_append_param command -m ${basemac} -i ${intf}
[ "${debug}" -eq 1 ] && \
procd_append_param command -vv
[ "${mapall}" -eq 1 ] && \
procd_append_param command -w
[ ${port} -ne 8888 ] && \
procd_append_param command -p ${port}
}
configure_network() {
ebtables -L FORWARD|grep -iqE "1:80:C2:(0)+:(0)+:13.*-j.*DROP"
if [ "$?" -ne 0 ]; then
echo "Applying drop rule to drop pkts forwared by kernel to 1905.1 multicast mac"
ebtables -A FORWARD -d 01:80:c2:00:00:13 -j DROP
fi
config_load meshcomms
config_foreach configure_meshcomms meshcomms
}
start_service() {
procd_open_instance meshcomms
procd_set_param command ${PROG}
configure_network
procd_set_param respawn
procd_close_instance
}
reload_service() {
stop
start
}
service_triggers() {
procd_add_reload_trigger "network"
}

View File

@@ -16,6 +16,8 @@ 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)
PKG_LICENSE:=Apache-2.0
include $(INCLUDE_DIR)/package.mk
define Package/mqtt-ciotc

View File

@@ -11,6 +11,8 @@ PKG_NAME:=multiwan
PKG_VERSION:=1.0.22
PKG_RELEASE:=2
PKG_LICENSE:=GPLv2
include $(INCLUDE_DIR)/package.mk
define Package/multiwan

View File

@@ -16,6 +16,8 @@ PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=9e2236989ff58d0db897f938b6b07b535144e0e2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=PROPRIETARY RTX
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/image.mk
include $(INCLUDE_DIR)/kernel.mk

View File

@@ -1,8 +1,5 @@
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Copyright (C) 2019 IOPSYS Software Solutions AB
#
include $(TOPDIR)/rules.mk
@@ -14,7 +11,7 @@ PKG_SOURCE_VERSION:=378c404fba3efc8f1bcde54370a5370670fa1853
ifeq ($(CONFIG_NATALIE_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_SOURCE_URL:=http://download.iopsys.eu/iopsys/opensdk/
PKG_NAME:=natalie-dect-open
else
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
@@ -25,6 +22,8 @@ endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=PROPRIETARY
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/image.mk
include $(INCLUDE_DIR)/kernel.mk

View File

@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.remlab.net/files/ndisc6
PKG_MD5SUM:=50cb4c19606cf6ff2b7388e71832f579
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk

36
ndt/Makefile Normal file
View File

@@ -0,0 +1,36 @@
#
# This is free software, See /COPYRIGHT for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ndt
PKG_VERSION:=3.6.4
PKG_RELEASE:=3
PKG_BUILD_DIR:=${BUILD_DIR}/ndt-$(PKG_VERSION)
PKG_SOURCE:=ndt-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://software.internet2.edu/sources/ndt
PKG_LICENSE:=NONSTANDARD_PERMISSIV
PKG_LICENSE_FILES:=COPYRIGHT
include $(INCLUDE_DIR)/package.mk
define Package/ndt
CATEGORY:=Utilities
DEPENDS:=+libpthread +zlib
TITLE:=Network Testing Tool
endef
define Build/Compile/Default
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/ndt/install
$(INSTALL_DIR) $(1)/sbin
$(CP) $(PKG_BUILD_DIR)/src/web100clt $(1)/sbin/
endef
$(eval $(call BuildPackage,ndt))

View File

@@ -1,9 +1,16 @@
#
# Copyright (C) 2019 iopsys
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=netmode
PKG_VERSION:=0.2.0
PKG_SOURCE_VERSION:=9fa23664b3bdd963e4556f5921c9f9be1c9c578f
PKG_SOURCE_VERSION:=6406325e72d7ddd0ff7aaa3a87669519021bdb11
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/netmoded
@@ -11,6 +18,9 @@ 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)
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/netmode

View File

@@ -4,6 +4,6 @@ config mode 'setup'
option curmode 'routed'
config tools 'tools'
option wificontrol 1
option wificontrol 0
option arp_discovery 1

View File

@@ -2,6 +2,9 @@
[ "$INTERFACE" != "wan" ] && exit
automode="$(uci -q get netmode.setup.automode)"
[ "$automode" == "0" ] && exit
. /lib/functions.sh
. /lib/functions/network.sh
. /lib/functions/netmode.sh

View File

@@ -12,7 +12,7 @@ start_netmoded() {
procd_open_instance
procd_set_param command $NETMODED
procd_append_param command --verbose warning
procd_append_param command --verbose warning -i macaddr
procd_set_param stdout 1
procd_set_param stderr 1

View File

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

View File

@@ -1,6 +1,5 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
@@ -8,9 +7,6 @@ config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
@@ -47,10 +43,10 @@ config wifi-iface
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option macfilter 'disable'
option wps '1'
option wmf_bss_enable '1'
option bss_max '32'
option maxassoc '32'
option ifname 'wl0'
config wifi-device 'wl1'
@@ -87,9 +83,9 @@ config wifi-iface
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option macfilter 'disable'
option wps '1'
option wmf_bss_enable '1'
option bss_max '32'
option maxassoc '32'
option ifname 'wl1'

View File

@@ -9,7 +9,8 @@
],
"excluded_boards" : [
"*G*",
"F*"
"F*",
"NORRLAND"
],
"uplink_band" : 'a',
"downlink_band" : 'a b',

View File

@@ -0,0 +1,2 @@
uci -q set owsd.ubusproxy.enable="0"
uci -q commit owsd

View File

@@ -1,6 +1,5 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
@@ -8,9 +7,6 @@ config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel auto
@@ -27,7 +23,7 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname ra0
option wps_pbc 1
option wps 1
config wifi-device rai0
option band a
@@ -46,7 +42,7 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname rai0
option wps_pbc 1
option wps 1
config wifi-iface
option device rai0

View File

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

View File

@@ -1,6 +1,5 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
@@ -8,9 +7,6 @@ config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
@@ -47,10 +43,10 @@ config wifi-iface
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option macfilter 'disable'
option wps '1'
option wmf_bss_enable '1'
option bss_max '32'
option maxassoc '32'
option ifname 'wl0'
config wifi-device 'wl1'
@@ -87,9 +83,9 @@ config wifi-iface
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option macfilter 'disable'
option wps '1'
option wmf_bss_enable '1'
option bss_max '32'
option maxassoc '32'
option ifname 'wl1'

View File

@@ -9,7 +9,8 @@
],
"excluded_boards" : [
"*G*",
"F*"
"F*",
"NORRLAND"
],
"reboot" : 0,
"credentials" : 0

View File

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

View File

@@ -1,6 +1,5 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
@@ -8,9 +7,6 @@ config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel auto
@@ -27,7 +23,7 @@ config wifi-iface
option ssid iopsys-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1
option wps 1
option ifname ra0
config wifi-device rai0
@@ -47,6 +43,6 @@ config wifi-iface
option ssid iopsys-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1
option wps 1
option ifname rai0

View File

@@ -5,6 +5,7 @@
NMTMPDIR=/var/netmodes
OLD_MODE_FILE=/var/netmodes/old_mode
CONF_BACKUP_DIR=/var/netmodes/backup/
SWITCHMODELOCK="/tmp/switching_mode"
MODEDIR=$(uci -q get netmode.setup.dir)
MTK=0
@@ -120,8 +121,13 @@ run_netmode_scripts() {
local mode=$1
local when=$2
local script
local path
path=$(readlink -f /etc/netmodes/$mode/)
[ "${path:0:14}" == "/etc/netmodes/" ] || exit
if [ -d /etc/netmodes/$mode/scripts/$when ]; then
logger -s -p user.info -t $0 "[netmode] Executing $when netmode scripts" >/dev/console
logger -s -p user.info -t "netmode" "Executing $when netmode scripts" >/dev/console
for script in $(ls /etc/netmodes/$mode/scripts/$when/); do
sh /etc/netmodes/$mode/scripts/$when/$script
done
@@ -179,7 +185,12 @@ switch_netmode() {
run_netmode_scripts $curmode "pre"
logger -s -p user.info -t $0 "[netmode] Copying /etc/netmodes/$curmode in /etc/config" >/dev/console
# make backup of current config before switching
rm -rf $CONF_BACKUP_DIR
mkdir -p $CONF_BACKUP_DIR
cp -af /etc/config/* $CONF_BACKUP_DIR
logger -s -p user.info -t "netmode" "Copying /etc/netmodes/$curmode in /etc/config" >/dev/console
for file in $(ls /etc/netmodes/$curmode/); do
case "$file" in
@@ -204,11 +215,10 @@ switch_netmode() {
case "$curmode" in
repeater*)
touch $SWITCHMODELOCK
logger -s -p user.info -t $0 "Switching to $curmode mode" > /dev/console
logger -s -p user.info -t "netmode" "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/igmpproxy ] && /etc/init.d/igmpproxy stop
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
[ -f /etc/init.d/macoffset ] && /etc/init.d/macoffset reload
ubus call network reload
wifi reload nodat
ubus call router.network reload
@@ -219,6 +229,7 @@ switch_netmode() {
;;
*)
[ -f /etc/init.d/layer2 ] && /etc/init.d/layer2 reload
[ -f /etc/init.d/macoffset ] && /etc/init.d/macoffset reload
ubus call uci commit '{"config":"network"}'
;;
esac
@@ -226,6 +237,27 @@ switch_netmode() {
run_netmode_scripts $curmode "post"
}
revert_netmode() {
local from="$1"
local to="$2"
local rready="$3"
ubus call leds set '{"state" : "allflash"}'
logger -s -p user.info -t "netmode" "Could not switch to '$from' mode; going back to '$to' mode" > /dev/console
cp -af $CONF_BACKUP_DIR/* /etc/config/
sync
uci -q set netmode.setup.curmode="$to"
uci -q set netmode.setup.repeaterready="$rready"
uci commit netmode
rm -rf $CONF_BACKUP_DIR
rm -rf $OLD_MODE_FILE
logger -s -p user.info -t "netmode" "Restarting network services" > /dev/console
/etc/init.d/network restart
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
}
wificontrol_takes_over() {
local ret
[ -f /sbin/wificontrol ] || return
@@ -260,10 +292,10 @@ wait_for_netmode_handler() {
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"
logger -t $0 "netmode_get_ip_type: ip $1 is private"
echo "private"
} || {
logger -t "[netmode]" "netmode_get_ip_type: ip $1 is public"
logger -t $0 "netmode_get_ip_type: ip $1 is public"
echo "public"
}
}
@@ -351,7 +383,7 @@ populate_netmodes() {
done
local hardware=$(db get hw.board.hardware)
local keys lang desc exp exclude
local keys lang desc exp exclude support
for mode in $(ls $MODEDIR); do
case "$mode" in
@@ -381,6 +413,23 @@ populate_netmodes() {
done
json_select ..
[ $exclude -eq 1 ] && continue
elif json_select supported_boards; then
support=0
_i=1
while json_get_var board $_i; do
case "$hardware" in
$board)
support=1
break
;;
esac
_i=$((_i+1))
done
json_select ..
[ $support -eq 1 ] || {
uci -q delete netmode.$mode
continue
}
fi
if json_select acl; then

View File

@@ -3,6 +3,10 @@
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
WIFISTA=0
STACONF="/etc/Wireless/iNIC/iNIC_ap.dat"
[ -f $STACONF ] && WIFISTA=1
get_if_creds() {
local section=$1
local network=$2
@@ -84,9 +88,22 @@ duplicate_if_single_radio() {
done
}
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
}
case "$1" in
list)
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str", "from_gui": "str" } }'
if [ $WIFISTA -eq 1 ]; then
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str", "from_gui": "str" }, "connect": { "ssid": "str", "key": "str" }, "forget_network": {}, "wps_enroll": {}, "wps_stop": {} }'
else
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str", "from_gui": "str" } }'
fi
;;
call)
case "$2" in
@@ -136,6 +153,88 @@ case "$1" in
json_dump
;;
connect)
local ssid key enc auth wetif wetcfg wetssid wetkey code
read input
json_load "$input"
json_get_var ssid ssid
json_get_var key key
code=1
[ $WIFISTA -eq 1 ] && wetif="$(uci -q get wireless.$(uci show wireless | grep 'mode=.*wet.*' | cut -d'.' -f2 | head -1).ifname)"
if [ -s /sys/class/net/$wetif/operstate ]; then
wetcfg="$(get_wifi_iface_cfgstr $wetif)"
wetssid="$(uci -q get $wetcfg.ssid)"
wetkey="$(uci -q get $wetcfg.key)"
ssid="${ssid:-$wetssid}"
key="${key:-$wetkey}"
if [ -n "$key" ]; then
auth="WPA2PSK"
enc="AES"
else
auth="OPEN"
enc="NONE"
fi
iwpriv $wetif set ApCliEnable=0
iwpriv $wetif set ApCliSsid="$ssid"
iwpriv $wetif set ApCliAuthMode="$auth"
iwpriv $wetif set ApCliEncrypType="$enc"
iwpriv $wetif set ApCliWPAPSK="$key"
iwpriv $wetif set ApCliEnable=1
iwpriv $wetif set ApCliAutoConnect=1
code=0
fi
json_init
json_add_int "code" $code
json_dump
;;
forget_network)
local wetif wetcfg code
code=1
[ $WIFISTA -eq 1 ] && wetif="$(uci -q get wireless.$(uci show wireless | grep 'mode=.*wet.*' | cut -d'.' -f2 | head -1).ifname)"
if [ -s /sys/class/net/$wetif/operstate ]; then
wetcfg="$(get_wifi_iface_cfgstr $wetif)"
uci -q set $wetcfg.ssid=""
uci -q set $wetcfg.key=""
uci -q commit wireless
sed -i "s/ApCliSsid=.*/ApCliSsid=/g" $STACONF
sed -i "s/ApCliAuthMode=.*/ApCliAuthMode=/g" $STACONF
sed -i "s/ApCliEncrypType=.*/ApCliEncrypType=/g" $STACONF
sed -i "s/ApCliWPAPSK=.*/ApCliWPAPSK=/g" $STACONF
ifconfig $wetif down
ifconfig $wetif up
code=0
fi
json_init
json_add_int "code" $code
json_dump
;;
wps_enroll)
local wetif
[ $WIFISTA -eq 1 ] && wetif="$(uci -q get wireless.$(uci show wireless | grep 'mode=.*wet.*' | cut -d'.' -f2 | head -1).ifname)"
if [ -n "$wetif" ]; then
iwpriv $wetif set ApCliEnable=0
iwpriv $wetif set WscConfMode=1
iwpriv $wetif set WscMode=2
iwpriv $wetif set ApCliEnable=1
iwpriv $wetif set WscGetConf=1
fi
json_init
json_add_string "ifname" $wetif
json_dump
;;
wps_stop)
local wetif
[ $WIFISTA -eq 1 ] && wetif="$(uci -q get wireless.$(uci show wireless | grep 'mode=.*wet.*' | cut -d'.' -f2 | head -1).ifname)"
if [ -n "$wetif" ]; then
iwpriv $wetif set WscStop=1
fi
json_init
json_add_string "ifname" $wetif
json_dump
;;
esac
;;
esac

58
obuspa/Makefile Normal file
View File

@@ -0,0 +1,58 @@
#
# Copyright (C) 2019 IOPSYS
#
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=2.0.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=9c7921c8e39acfc31f563bd08220faba1012a834
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/obuspa.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=autoreconf
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/obuspa
SECTION:=utils
CATEGORY:=Utilities
TITLE:=USP agent
DEPENDS:=+libcoap +libopenssl +libcurl +libsqlite3 +libcares +libubox +libubus +libblobmsg-json +uspd
endef
define Package/obuspa/description
OB-USP-AGENT is a system daemon providing a User Services Platform (USP) Agent.
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-D_GNU_SOURCE
ifneq ($(CONFIG_USE_MUSL),)
TARGET_CFLAGS += -DUSE_MUSL
endif
#define Build/Prepare
# $(CP) -rf ./obuspa/* $(PKG_BUILD_DIR)/
#endef
define Package/obuspa/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/obuspa
$(INSTALL_BIN) $(PKG_BUILD_DIR)/obuspa $(1)/usr/sbin/
$(INSTALL_BIN) ./files/etc/init.d/obuspa $(1)/etc/init.d/
$(INSTALL_DATA) ./files/etc/config/obuspa $(1)/etc/config/
endef
$(eval $(call BuildPackage,obuspa))

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