Compare commits

...

757 Commits

Author SHA1 Message Date
Sukru Senli
145016ea2e voice-client: make line indexing platform independent 2019-06-05 13:47:18 +02:00
Sukru Senli
6bad18a68d voice-client: update default config 2019-06-05 13:46:43 +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
Sukru Senli
d804ac28b9 iop: adapt update_feed_branches script to dev.iopsys.eu 2019-02-04 13:46:19 +01:00
Anjan Chanda
5ff1045b54 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 7abfdc2 cntlr: fix crash due to double free of watchnode
-------------------------------------------------------------------------------
commit 7abfdc2f5b3549d43899db7d8d9f22ccdbd141a7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-02-03 10:04:47 +0100

    cntlr: fix crash due to double free of watchnode

Base directory -> /
 src/cntlr.c | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
2019-02-03 12:07:48 +01:00
Reidar Cederqvist
b9ce500c0c ice-client: update ice-client to version 5.3.5 refs #16751 2019-02-01 15:10:41 +01:00
Reidar Cederqvist
eda0d3a3f6 ice-client: update to version 5.3.3 refs #16174 2019-02-01 15:10:38 +01:00
Amin Ben Ramdhane
11eb21aa1f icwmp-4.0-2019-02-01 2019-02-01 11:22:59 +01:00
Sukru Senli
56b2db5817 Revert "iop: genconfig: directory check before cd to it"
This reverts commit a2aa796cda.
2019-01-30 15:29:28 +01:00
Anjan Chanda
14d6d0eaa4 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 87ad01a libwifi: fix allowed channel list for US
-------------------------------------------------------------------------------
commit 87ad01a06b7898ae45e94444e0caa7e2cc264cc8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-29 09:45:41 +0100

    libwifi: fix allowed channel list for US

Base directory -> /
 libwifi/chlist.c | 153 +++++++++++++++++--------------------------------------
 1 file changed, 46 insertions(+), 107 deletions(-)
-------------------------------------------------------------------------------
2019-01-30 09:34:50 +01:00
Sukru Senli
a2aa796cda iop: genconfig: directory check before cd to it 2019-01-30 08:43:34 +01:00
Oussama Ghorbel
8469ce20e5 uboot: update revision 2019-01-29 17:40:08 +01:00
Amin Ben Ramdhane
c6bce18981 icwmp-4.0-2019-01-28 2019-01-28 10:03:55 +01:00
Jonas Höglund
7564ef08d6 Fix intel configuration problem 2019-01-25 15:22:15 +01:00
Jakob Olsson
72fa3e9b3c netmoded: update pkg to include daisy chain changes 2019-01-25 14:51:02 +01:00
Jonas Höglund
9139217694 We no longer need to support a LUCI profile 2019-01-25 14:04:06 +01:00
Jonas Höglund
714b7ade2f Move master config 2019-01-25 14:00:11 +01:00
Jonas Höglund
1561d7b6b4 Target and board configs are moved to target feeds 2019-01-25 12:02:04 +01:00
Jonas Höglund
342616a451 Luci profile no longer needed 2019-01-25 11:50:17 +01:00
Jonas Höglund
ae91292604 Target configs moved to target feeds 2019-01-25 11:49:00 +01:00
Jonas Höglund
5115b71ce8 We no longer need to build openwrt ramips. 2019-01-25 11:32:17 +01:00
Jakob Olsson
2a4c5a1c56 owsd: update pkg hash 2019-01-24 15:09:02 +01:00
Omar Kallel
5f937eb6ea icwmp: fix #16711 segmentation fault 2019-01-24 14:25:39 +01:00
Jonas Höglund
8078dff380 Ask target feeds for board names 2019-01-24 14:16:45 +01:00
Anjan Chanda
7a57ddef4b easy-soc-libs: use correct config name for intel_mips 2019-01-24 11:54:48 +01:00
Jakob Olsson
73cae5d93a mqtt_ciotc: prepare pkg and files properly 2019-01-18 16:40:20 +01:00
Jakob Olsson
c9cf69ee54 add mqtt-ciotc and related pkgs
libjwt new version

paho-mqtt-c package

package for the example file

paho: include all shared lib and header files, remove redundant lines

jwt: include all shared lib files, use correct jansson dependency

mqtt-ciotc: remove copy paste excess

update package dependencies

update repo, hash and path

correct git path

add init.d script

update hash

hash update

update hash

update init.d and add config script
2019-01-18 15:10:38 +01:00
Oussama Ghorbel
fbde005657 Revert "disable temporary ppacmd due to compile error"
This reverts commit d228f8dbe0.
2019-01-18 12:24:31 +01:00
Kenneth Johansson
d5422a20b3 Update feed [ iopsys ] package [ iopupgrade ]
-------------------------------------------------------------------------------
* 9b5ed4b cfe: Add support for minimum version.
-------------------------------------------------------------------------------
commit 9b5ed4bc9f7ac5064414cf5feb510ffd95df6ec4
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2019-01-17 21:16:56 +0100

    cfe: Add support for minimum version.

    If the new version is not larger than the one given programming of CFE is
    turned off.

Base directory -> /
 src/cfe.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 60 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2019-01-17 21:21:00 +01:00
Amin Ben Ramdhane
51c167adf6 icwmp: fix ticket #16427 2019-01-17 21:02:31 +01:00
Kenneth Johansson
0acbd692b8 iop upgrade: reformat long comments to fit in 80 columns. 2019-01-17 19:40:04 +01:00
Kenneth Johansson
d2c3004c63 iop upgrade: make mount retry 10 times.
On ex400 UBIFS can report busy on first mount regardless of how much
time one waits after ubiupdatevol for the mount.

has to be some internal error in that kernel version.
2019-01-17 19:35:44 +01:00
Jakob Olsson
541e0cff50 questd: update pkg to include graph fix 2019-01-17 16:16:56 +01:00
Jakob Olsson
4f9223dab7 questd: update pkg hash for ethctl update #16449 2019-01-17 13:54:35 +01:00
Amin Ben Ramdhane
b020676abb icwmp-4.0-2019-01-17 2019-01-17 09:30:51 +01:00
Kenneth Johansson
351965e397 iop upgrade: add upgrade of boot loader. 2019-01-16 21:32:02 +01:00
Kenneth Johansson
2187c6cadd iop upgrade: implement force image.
during development we might want to do it.
2019-01-16 19:01:23 +01:00
Kenneth Johansson
27800f2100 iop upgrade: add -r option to jump into a chroot of other system.
useful for developing testing upgrade configuration migration.
2019-01-16 18:35:16 +01:00
Kenneth Johansson
4fa352c5fc iop upgrade: add handling of no reboot option. 2019-01-16 16:58:42 +01:00
Jakob Olsson
8a83899eba owsd: update pkg hash #16527 2019-01-16 16:20:52 +01:00
Oussama Ghorbel
d228f8dbe0 disable temporary ppacmd due to compile error 2019-01-16 15:28:48 +01:00
Kent Ekholm
57bd744aba voice-client: Added default config files to not get erorrs from Asterisk modules.
ref: #16273
2019-01-16 14:10:09 +01:00
Sukru Senli
8353c17ea6 icwmp-4.0-2019-01-16 2019-01-16 13:49:48 +01:00
Kent Ekholm
6641a075ea voice-client: Changed deprecated value for parameter nat.
Ref: #16273
2019-01-16 13:02:07 +01:00
Ronny Nilsson
a0be24b379 watchdog: don't use iwatchdog any more. It has been replaced with
procd which handles the Broadcom kernel HW watchdog.
Refs: #14969
2019-01-15 16:44:08 +01:00
Ronny Nilsson
38916c8bfd dect: Workaround for product DG400 which has an
incorrect value in nvram from factory.
2019-01-15 16:44:08 +01:00
Omar Kallel
bc2ad87997 icwmp-4.0-2019-01-15 2019-01-15 15:13:34 +01:00
Anjan Chanda
c3e18ae04c netmode: wireless config - set 'scantimer' to 60 minutes 2019-01-15 14:41:56 +01:00
Omar Kallel
48b47727fa icwmp-4.0-2019-01-15 2019-01-15 11:37:52 +01:00
Kenneth Johansson
52353475f4 iopupgrade: use right variable for UBI ID for rootfs volume.
Also add sync before mount as needed for ex400.

check lock file before the exit handler is added otherwise
we can not exit without also removing the lock and we did not
get it so it should not be removed.
2019-01-14 17:31:29 +01:00
Robin Stjerndorff
5e91f9d69c ice-client: update to version 5.3.1 refs #16173 2019-01-14 15:55:34 +01:00
Reidar Cederqvist
765ba5632a ice-client: update to version 5.2.5 refs #16174 2019-01-14 15:55:31 +01:00
Kenneth Johansson
4e9836fa17 iop: remove ssh_sysupgrade*
use ssh_upgrade instead.
2019-01-14 15:34:14 +01:00
Kenneth Johansson
c2776532c5 iop upgrade: add sysupgrade option.
Needed to be able to update old boards.
2019-01-14 15:22:07 +01:00
Kenneth Johansson
ebd13be2c5 iopupgrade: Add interactive mode. 2019-01-14 14:58:00 +01:00
Oussama Ghorbel
28b3715da2 add norrland board and update u-boot for grx500 to ugw 8.1.1 2019-01-14 13:55:31 +01:00
Kenneth Johansson
e0792ad185 iop ssh_upgrade: lost a $
it compared a string instead of a variable.
2019-01-11 17:09:02 +01:00
Kenneth Johansson
227f258789 iop: add ssh_upgrade completion of -f option.
Now you can select the file as a normal bash completion.
2019-01-11 16:46:40 +01:00
Kenneth Johansson
2830ec29b6 iop: add new command ssh_upgrade to iop completion table.
need to run ./iop setup_host to activate this.
2019-01-11 16:15:34 +01:00
Kenneth Johansson
d18fd1cd4a iop ssh_upgrade: ask before starting flash.
Printout what options is going to be used and ask if its ok before
burning image.
2019-01-11 16:04:46 +01:00
Kenneth Johansson
7c8634e948 iopupgrade: Prevent print to stdout in reboot subshell.
the trap for sigpipe is not active for any subshell so
manually prevent it from printing to non existing stdout.
2019-01-11 14:06:12 +01:00
Kenneth Johansson
dafde17b4f iopupgrade: handle sigpipe and loss of stdout in a better way.
By catching sigpipe we do not have to manually keep track of when we might
need to avoid printing to stdout.
2019-01-11 13:56:32 +01:00
Kenneth Johansson
7571abd272 iop update: new iop command ./iop ssh_update.
Only tested on dg400 and will fail on mediatek and intel boards.
Does currently not handle keeping the configuration.
2019-01-10 23:11:31 +01:00
Amin Ben Ramdhane
78c861801e icwmp-4.0-2019-01-10 2019-01-10 18:18:44 +01:00
Jakob Olsson
fa8fd97000 wifilife: call netmode to sync credentials on reload/config write 2019-01-10 16:28:10 +01:00
Jakob Olsson
bd1c686c18 netmode: update pkg hash to include wifilife propagation 2019-01-10 16:21:05 +01:00
Amin Ben Ramdhane
96f2b96c29 icwmp-4.0-2019-01-09 2019-01-10 10:50:27 +01:00
Omar Kallel
2c440cdfa8 icwmp-4.0-2019-01-09 2019-01-09 16:52:32 +01:00
Kenneth Johansson
5a1de62955 Add iopupgrade to all iopsys boards. 2019-01-09 15:17:43 +01:00
Kenneth Johansson
89ec592e51 Add iopupgrade. 2019-01-09 14:52:35 +01:00
Jakob Olsson
253865d22f netmode: save wet config when entering repeater mode #16601 2019-01-09 14:43:47 +01:00
Amin Ben Ramdhane
b1bd71033e icwmp-4.0-2019-01-09 2019-01-09 10:43:31 +01:00
Sukru Senli
032b27503d remove syslog-ng3 and eventlog packages which are available through lede feeds 2019-01-08 14:35:19 +01:00
Sukru Senli
d4ab62bfcb Revert "Update feed [ iopsys ] package [ inbd ]"
This reverts commit 2898a64249.
2019-01-08 08:48:30 +01:00
Yalu Zhang
2898a64249 Update feed [ iopsys ] package [ inbd ]
-------------------------------------------------------------------------------
commit 201db1880ab124643f930f5ec9983ed6ccdc9c40
Author: Yalu Zhang <yalu.zhang@iopsys.eu>
Date:   Mon Jan 7 13:43:04 2019 +0100

    Rename netlink family to HAL from Inteno in order to make the name more generic
2019-01-07 16:19:50 +01:00
Omar Kallel
7c81da0c41 icwmp-4.0-2019-01-07 2019-01-07 10:27:22 +01:00
Amin Ben Ramdhane
d0d9387c85 icwmp-4.0-2019-01-03 2019-01-03 18:59:08 +01:00
Reidar Cederqvist
af9cfe3e93 iop: genconfig: allow more than one customer at the same time refs #14604
Ex: ./iop genconfig dg400prime GNI ELION
2019-01-03 16:27:49 +01:00
Anjan Chanda
6b0f82b322 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* f23b71a cntlr: log radar detection at default loglevel
* 420e54a improve scanning for watchlist nodes
* 71c4a7a cntlr: add return status for cntlr_cmd
* 7fe863b cntlr: channel switch in 'local' agent upon radar event
* 8452d42 cntlr: handle radar events in network
* d010d49 wip: radar detect functionality added to cntlr
-------------------------------------------------------------------------------
commit f23b71acd4312fa4eacca61cc4170b164da60c9a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 15:01:47 +0100

    cntlr: log radar detection at default loglevel

Base directory -> /
 src/agent.c | 2 ++
 src/cntlr.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 420e54a2f51364f7411da01016b2b0b33596eb40
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 14:03:58 +0100

    improve scanning for watchlist nodes

Base directory -> /
 src/agent.c |  5 +++--
 src/cntlr.c | 28 ++++++++++++++++++++--------
 2 files changed, 23 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 71c4a7ac5a39d158557700b87097d2a575a815f9
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 14:01:01 +0100

    cntlr: add return status for cntlr_cmd

Base directory -> /
 src/cntlr_comm.h      | 2 +-
 src/cntlr_comm_ubus.c | 3 ++-
 src/comm.c            | 9 ++++++---
 3 files changed, 9 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7fe863b59356c144f622b9dec125aaf6fc294cd5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-28 16:54:27 +0100

    cntlr: channel switch in 'local' agent upon radar event

Base directory -> /
 src/agent.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/cntlr.c | 37 ++++++++++++++++++++++++++++------
 src/comm.c  | 15 ++------------
 src/comm.h  |  9 +++++++++
 4 files changed, 109 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit 8452d42d454e11fbb774d21fc85e4f0255d4888d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-27 15:53:49 +0100

    cntlr: handle radar events in network

Base directory -> /
 src/agent.c |  67 +++++++++++++-
 src/cntlr.c | 300 +++++++++++++++++++++++++++++++-----------------------------
 src/cntlr.h |  13 ++-
 src/comm.h  |   2 +
 4 files changed, 232 insertions(+), 150 deletions(-)
-------------------------------------------------------------------------------
commit d010d49d3935e9ec243c8f0225dfdd491067bd40
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2018-12-21 16:36:09 +0100

    wip: radar detect functionality added to cntlr

Base directory -> /
 src/cntlr.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/cntlr.h |  11 +++
 2 files changed, 242 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
2019-01-02 15:30:12 +01:00
Anjan Chanda
fec4dc0535 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 7f88459 libwifi: bcm: add new API to set channel
-------------------------------------------------------------------------------
commit 7f884592aa42cc627542589d5b77cf4a50567536
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-28 16:38:51 +0100

    libwifi: bcm: add new API to set channel

Base directory -> /
 libwifi/bcm.c  | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c |  10 ++++++
 libwifi/wifi.h |  12 +++++++
 3 files changed, 128 insertions(+)
-------------------------------------------------------------------------------
2019-01-02 15:29:25 +01:00
Amin Ben Ramdhane
e48ebfad92 icwmp-4.0-2018-12-28 2019-01-01 21:19:30 +01:00
Oussama Ghorbel
0876536e9a add norrland board 2018-12-28 11:47:43 +01:00
Anjan Chanda
318ad1776b Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* af7d9f6 libwifi: bcm: workaround scan only for pre-4366 chips
-------------------------------------------------------------------------------
commit af7d9f6b11f3cc12da6fb770659ec9bc08c342cc
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-21 11:36:17 +0100

    libwifi: bcm: workaround scan only for pre-4366 chips

Base directory -> /
 libwifi/bcm.c | 49 ++++++++++++++++++++++++++++++++-----------------
 1 file changed, 32 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2018-12-21 11:38:31 +01:00
Kent Ekholm
7916ea3bd4 voice-client: Removed erroneous double quote character. 2018-12-20 14:38:01 +01:00
Anjan Chanda
2e12e27c49 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* bcce717 libwifi: bcm: update BTM request as per 'imp32' definition
-------------------------------------------------------------------------------
commit bcce7177a031ac2a757e2625fdc02cfca98700a4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-19 15:30:05 +0100

    libwifi: bcm: update BTM request as per 'imp32' definition

Base directory -> /
 libwifi/broadcom.h | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-12-19 15:33:42 +01:00
Sukru Senli
4befcc49ee iop: config: re-enable tr-069 packages 2018-12-19 14:44:58 +01:00
Jakob Olsson
8b5e6820ea questd: update pkg hash for igmp fix 2018-12-19 14:27:56 +01:00
Sukru Senli
8d27db3d09 iop: correct bcmopen tarball symlink 2018-12-18 17:10:16 +01:00
Anjan Chanda
6e5cabc67b Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 15ccbcd libwifi: bcm: update nbr_element_t as per 'imp32' definition
-------------------------------------------------------------------------------
commit 15ccbcd12da45f4943bc8cac74a1c2413b4391ea
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-18 14:48:25 +0100

    libwifi: bcm: update nbr_element_t as per 'imp32' definition

Base directory -> /
 libwifi/bcm.c      | 4 ++--
 libwifi/broadcom.h | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2018-12-18 14:50:32 +01:00
Kent Ekholm
4a8598aeee Removed repeated tlsbindaddr parameter. 2018-12-18 10:53:36 +01:00
Anjan Chanda
01d73e7642 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 8de1e0f fix endian during structure-to-bytestring conversions
-------------------------------------------------------------------------------
commit 8de1e0f3264998a6757ae2fb16599ad6eb19a0f9
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-17 16:59:35 +0100

    fix endian during structure-to-bytestring conversions

Base directory -> /
 src/agent.c |  7 ++++++-
 src/cntlr.c | 11 +++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-12-18 10:26:16 +01:00
Kenneth Johansson
a7f37954b9 uboot intel: fix u-boot inteno version.
On intel it is not possible to grep for the compiled in version string
    so another one was created and put in SPL. but missed the " so it's not
    correct json anymore.

    that combined with the fact that board_late_init() was never called due
    to missing define in config made the update logic fail.

Change the PKG_RELEASE to 7 as a previous bug in the Makefile made it
actually 6 even if the value was set to 5.
2018-12-17 19:19:27 +01:00
Kenneth Johansson
c0e7e9ad57 u-boot: fix version string for intel targets.
The expansion of PKG_RELEASE did not work and ended up as the first value
set in "define uboot/ex400"

why and why this change work correctly I do not understand.
2018-12-17 19:19:27 +01:00
Amin Ben Ramdhane
06fcbb6060 icwmp-4.0-2018-12-17 2018-12-17 18:35:41 +01:00
Kent Ekholm
8819f589d4 Added voice-client to config.
Ref #10 (project.iopsys.eu)
2018-12-17 16:25:49 +01:00
Kent Ekholm
47200eb0fa Added hotplug script for asterisk to handle network related changes.
Ref. #16488
2018-12-17 15:04:39 +01:00
Jakob Olsson
56fab86483 owsd: update pkg hash 2018-12-17 10:53:39 +01:00
Amin Ben Ramdhane
fa2f9de5d7 icwmp-4.0-2018-12-14 2018-12-14 12:06:13 +01:00
Amin Ben Ramdhane
4372f2b307 icwmp: do not reload icwmp if previous option 43 is empty 2018-12-14 12:01:19 +01:00
Kent Ekholm
9bc25990ab Added VoIP funtionality to intel_mips config.
Ref #10 (project.iopsys.eu)
2018-12-14 10:35:45 +01:00
Oussama Ghorbel
83d5e75695 update kernel revision for smart3 2018-12-13 17:44:34 +01:00
Anjan Chanda
f1757d70f7 wifilife: add option for continuous record logging 2018-12-12 17:35:22 +01:00
Anjan Chanda
a71f0184e1 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 586a747 use 'logrec' from record logging
* 830e703 create fifo for logging
-------------------------------------------------------------------------------
commit 586a747bbc22a5cacd3e826f27c967662a421c22
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-12 16:33:15 +0100

    use 'logrec' from record logging

Base directory -> /
 src/agent.c | 2 +-
 src/debug.c | 2 +-
 src/debug.h | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 830e7033a8901ca83cc6b46e472dc8f010404969
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-12 11:37:51 +0100

    create fifo for logging

Base directory -> /
 src/agent.c |  1 +
 src/debug.c | 37 +++++++++++++++++++++++++++++++++++--
 src/main.c  |  7 ++++++-
 3 files changed, 42 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-12-12 17:21:34 +01:00
Sukru Senli
1ab6bb017a icwmp-4.0-2018-12-11 2018-12-11 16:01:42 +01:00
Anjan Chanda
1457c5c9f8 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 0766754 increase ubus timeout to account for BCM's scanning
* 42e2ad0 suppress 'wifi.sta' info ubus events
* e44e852 do not send more than one BTM req to a STA
-------------------------------------------------------------------------------
commit 0766754acc071bd9f1631ca83cbc47c108ca1cea
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-11 12:41:01 +0100

    increase ubus timeout to account for BCM's scanning

Base directory -> /
 src/cntlr_comm_ubus.c | 2 +-
 src/comm.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 42e2ad0fe4bcc658d8269a51740afff3788a6b23
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-11 12:38:31 +0100

    suppress 'wifi.sta' info ubus events

Base directory -> /
 src/agent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e44e852b5babe907913975026aea5a1da7daf329
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-06 08:14:19 +0100

    do not send more than one BTM req to a STA

Base directory -> /
 src/agent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-12-11 13:34:48 +01:00
Jakob Olsson
7befbac499 owsd: update pkg hash to include losing objects fix 2018-12-11 11:30:45 +01:00
Jakob Olsson
1fcc834cd3 topology: update pkg hash to include device types 2018-12-07 15:17:49 +01:00
Jakob Olsson
d0e17bf396 topology: update hash to fix first boot issue 2018-12-07 12:18:46 +01:00
Jakob Olsson
3729431a8c topology: update pkg hash to include dt data model 2018-12-07 10:15:43 +01:00
Jakob Olsson
4f0ff76d64 topology: update makefile cflags and lib dependencies 2018-12-07 09:01:10 +01:00
Ronny Nilsson
3873129a8b - Don't start the catv monitor if init of CATV
device failed (likely it's missing then).
- Clear the UBUS buffer before send.
2018-12-05 18:00:38 +01:00
Suru Dissanaike
1bacdc2674 Update topologyd 2018-12-05 16:22:04 +00:00
ke hu
10b621fd3d Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 7a0a742 might be fixed for refs #16316
* 34f8e0c fix compile bug
* a698c39 give len to sscanf
* a1a73af do not malloc memory
* e070e8b Revert "refs #15754"
* 76ea435 refs #15754
-------------------------------------------------------------------------------
commit 7a0a7427d339736e3ee555e816d40c985651632c
Author: ke hu <ke.hu@inteno.se>
Date: 2018-11-30 14:10:27 +0100

    might be fixed for refs #16316

    instead stack with memory pool

Base directory -> /
 mediatek.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 questd.c   |  3 +++
 wireless.c | 12 ++++++++++-
 3 files changed, 76 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 34f8e0cb4f6b046b35926d59270f75457442922f
Author: ke hu <ke.hu@inteno.se>
Date: 2018-11-30 09:49:56 +0100

    fix compile bug

Base directory -> /
 mediatek.c | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
commit a698c39778c18c3f606c21e81ccba8ed9601d675
Author: ke.hu <ke.hu@iopsys.eu>
Date: 2018-11-29 16:45:41 +0100

    give len to sscanf

    fixed some sscanf protential bugs

Base directory -> /
 dsl.c      |  4 ++--
 dumper.c   |  2 +-
 graphd.c   | 11 +++++++----
 mediatek.c | 13 ++++++-------
 net.c      | 16 ++++++++--------
 network.c  |  8 ++++----
 port.c     | 14 +++++++-------
 system.c   |  8 ++++----
 usb.c      |  2 +-
 9 files changed, 40 insertions(+), 38 deletions(-)
-------------------------------------------------------------------------------
commit a1a73af6a433d1bd20fb7ec7929ec00c3d7de06b
Author: ke hu <ke.hu@inteno.se>
Date: 2018-11-23 10:15:20 +0100

    do not malloc memory

    use stack instead of malloc
Base directory -> /
 mediatek.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit e070e8b76989cee0e5522187d9ea50db082105d9
Author: ke hu <ke.hu@inteno.se>
Date: 2018-10-11 16:08:30 +0200

    Revert "refs #15754"

    This reverts commit 76ea43590245e6ffb2ee7db76f9e33778eee9210.

Base directory -> /
 port.c | 11 -----------
 1 file changed, 11 deletions(-)
-------------------------------------------------------------------------------
commit 76ea43590245e6ffb2ee7db76f9e33778eee9210
Author: ke hu <ke.hu@inteno.se>
Date: 2018-10-11 16:08:30 +0200

    refs #15754

    wireless port fixed

Base directory -> /
 port.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2018-12-05 15:36:59 +01:00
Kenneth Johansson
e2abb169ee Ex400: change memory from 128M to 256M.
Change the Major version for mediatek boards to force an upgrade so
all boards is using all memory.
2018-12-04 17:37:18 +01:00
Sukru Senli
ee650fb957 icwmp-4.0-2018-12-04 2018-12-04 14:26:27 +01:00
Jakob Olsson
4d143d5ef4 netmodes: network: add macaddr option for wan section #16389 2018-12-04 14:13:18 +01:00
Amin Ben Ramdhane
e5059e353c Ticket refs #15314: TR-069: make the introduction of vendor specific parameter prefix configurable 2018-12-04 09:45:21 +01:00
Sukru Senli
75cad8fc20 icwmp-4.0-2018-12-03 2018-12-03 10:04:35 +01:00
Oussama Ghorbel
1da7077174 update u-boot revision 2018-11-30 17:42:55 +01:00
Oussama Ghorbel
9f20352d24 rename easy550_anywan_smart3board to speedport_smart3 2018-11-30 16:49:21 +01:00
Oussama Ghorbel
09dd775333 update speedport smart3 kernel 2018-11-30 15:29:12 +01:00
Sukru Senli
cf696ffeb7 iup: execute correct command to trigger creation of new VLAN interface 2018-11-30 14:25:49 +01:00
Robin Stjerndorff
ce95cd7d81 ice-client: update to 5.2.3 2018-11-30 14:12:03 +01:00
Sachin Singla
0d65ac18e1 fix wifix not found issue 2018-11-29 17:05:04 +01:00
Anjan Chanda
3afb3554e8 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* a6b9256 fix assoclist method
-------------------------------------------------------------------------------
commit a6b9256971aee59bb1049c8ac439ecb51619c72a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 15:28:07 +0100

    fix assoclist method

Base directory -> /
 wifimngr.c | 32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
2018-11-29 15:53:43 +01:00
Anjan Chanda
7331e90d2b Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 25af249 fix sta buffer passed to get sta info
-------------------------------------------------------------------------------
commit 25af2498b09575990031b1c5754a0893f1d44b80
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 15:48:30 +0100

    fix sta buffer passed to get sta info

Base directory -> /
 src/agent.c         | 12 +++++++-----
 src/default_rules.c | 13 ++++++++-----
 2 files changed, 15 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
2018-11-29 15:53:19 +01:00
Sukru Senli
82ce3554fc netmode: testnet: re-enable iptv connection test 2018-11-29 15:08:12 +01:00
Sachin Singla
3455c72cc3 add ifbt in config file 2018-11-29 14:41:57 +01:00
Anjan Chanda
01f9a10dd1 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 3b637e0 set radar notification for 30 mins
-------------------------------------------------------------------------------
commit 3b637e0a1c49030c2289d3724cdedd089780de17
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 12:44:00 +0100

    set radar notification for 30 mins

Base directory -> /
 src/agent.c | 23 +++++++++++++++++++++--
 src/agent.h |  1 +
 2 files changed, 22 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-29 12:47:12 +01:00
Anjan Chanda
8615067f19 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 8989476 libwifi: new api to delete vendor ie
-------------------------------------------------------------------------------
commit 8989476ac5df494064ed94a52634be5c61fff037
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 12:37:35 +0100

    libwifi: new api to delete vendor ie

Base directory -> /
 libwifi/mtk.c  | 36 ++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c | 10 ++++++++++
 libwifi/wifi.h | 15 ++++++++++++++-
 3 files changed, 60 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-29 12:46:46 +01:00
Sukru Senli
41a5d95de9 icwmp-4.0-2018-11-28 2018-11-29 10:28:56 +01:00
Anjan Chanda
3daae59284 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 62c0731 comment out - blobmsg_parse_validator eating up input args
-------------------------------------------------------------------------------
commit 62c073158f2bf811abb46abfbb4bec78cdf856ba
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 09:49:22 +0100

    comment out - blobmsg_parse_validator eating up input args

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-29 09:52:55 +01:00
Anjan Chanda
39805c2691 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* c97c768 read country from driver, fallback to config
-------------------------------------------------------------------------------
commit c97c768a366d73ddbc0caf7f7d8e70e8d783686f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-28 16:57:40 +0100

    read country from driver, fallback to config

Base directory -> /
 wifimngr.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-28 17:04:00 +01:00
Anjan Chanda
8c18af64cc Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* ea3843a libwifi: add new api to get country code
* b49fffa libwifi: bcm: set 'disassoc imminent' in BTM request
* 89874c0 libwifi: set 'disassoc imminent' in BTM request mode
-------------------------------------------------------------------------------
commit ea3843a5567fa7c8478e4456334f2b533af615eb
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-28 16:53:02 +0100

    libwifi: add new api to get country code

Base directory -> /
 libwifi/bcm.c      | 16 ++++++++++++++++
 libwifi/broadcom.h | 16 ++++++++++++++++
 libwifi/wifi.c     | 10 ++++++++++
 libwifi/wifi.h     | 11 +++++++++++
 4 files changed, 53 insertions(+)
-------------------------------------------------------------------------------
commit b49fffab09a9fa71ee5993d611180b7ae30e5241
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-28 15:39:37 +0100

    libwifi: bcm: set 'disassoc imminent' in BTM request

Base directory -> /
 libwifi/bcm.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 89874c02d01f0fcf189e9b6cbc3d1c41ef4e1bac
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-28 15:03:28 +0100

    libwifi: set 'disassoc imminent' in BTM request mode

Base directory -> /
 libwifi/mtk.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2018-11-28 17:03:35 +01:00
Jonas Höglund
8f98094d15 netmode: Stop igmpproxy in bridged mode 2018-11-28 14:31:08 +01:00
Anjan Chanda
4f67105dfc Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 9e2e8e9 remove global blob_buf variable
-------------------------------------------------------------------------------
commit 9e2e8e98057f34a8d8a2e7125e66f95f8531c6e2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-27 17:09:14 +0100

    remove global blob_buf variable

Base directory -> /
 wifimngr.c | 222 +++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 151 insertions(+), 71 deletions(-)
-------------------------------------------------------------------------------
2018-11-28 11:19:20 +01:00
Anjan Chanda
7e364527f7 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 01850dd libwifi: new api to return scanresult with ielist
-------------------------------------------------------------------------------
commit 01850dd95fb7fb3db014f5b19c907374a6fe2b4e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-27 17:13:32 +0100

    libwifi: new api to return scanresult with ielist

Base directory -> /
 libwifi/bcm.c  | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 libwifi/wifi.c | 10 ++++++++
 libwifi/wifi.h | 17 +++++++++++++
 3 files changed, 104 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-28 11:18:59 +01:00
Kent Ekholm
6011f9bb49 Set SIP dtmf mode to auto if it was set to the obsolete compatibility.
Ref:#16274
2018-11-28 10:59:10 +01:00
Sukru Senli
497967b693 icwmp: fixes segfault 2018-11-27 16:03:55 +01:00
Sukru Senli
7fdc3201c1 icwmp: 4.0-2018-11-27 2018-11-27 15:16:50 +01:00
Anjan Chanda
950cab82b6 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 7820f01 blobmsg_parse_validator -blobmsg parse and validate args
-------------------------------------------------------------------------------
commit 7820f0132302666edb70cb11ec28c08e2204b3de
Author: Arun Muthusamy <arun.muthusamy@iopsys.eu>
Date: 2018-11-21 11:09:10 +0100

    blobmsg_parse_validator -blobmsg parse and validate args

Base directory -> /
 wifimngr.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 54 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2018-11-27 09:10:46 +01:00
Anjan Chanda
92e9c9eb74 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 68f896e append extra bytes to wifi_sta for few stats param
-------------------------------------------------------------------------------
commit 68f896e2be8a4ab5deb40116c4530ed678594c0b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-26 13:48:32 +0100

    append extra bytes to wifi_sta for few stats param

Base directory -> /
 wifimngr.c | 68 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 31 deletions(-)
-------------------------------------------------------------------------------
2018-11-26 15:32:17 +01:00
Anjan Chanda
b80196822f Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 50b1f7e libwifi: extend wifi_sta to include few stats params
-------------------------------------------------------------------------------
commit 50b1f7eec57533e8a716a3706970e53efa84a8e3
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-26 14:00:14 +0100

    libwifi: extend wifi_sta to include few stats params

Base directory -> /
 libwifi/bcm.c  | 15 +++++++++++++++
 libwifi/wifi.h |  1 +
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
2018-11-26 15:31:30 +01:00
Jakob Olsson
b355f5e8f8 owsd: update package hash to include acl changes 2018-11-26 11:24:03 +01:00
Anjan Chanda
1c7838d256 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 7768b30 agent: fix vendor ie addition
* 7286670 agent: add vsie on rdr
-------------------------------------------------------------------------------
commit 7768b30ab3739efa509c6fce7f1256a50a2bce98
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-23 15:45:23 +0100

    agent: fix vendor ie addition

Base directory -> /
 src/agent.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7286670f22f8184c390d624861f73f1630d37679
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-23 13:12:58 +0100

    agent: add vsie on rdr

Base directory -> /
 src/agent.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 100 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-26 10:16:39 +01:00
Robin Stjerndorff
5aac2cf484 ice-client: update to 5.2.2 2018-11-26 09:58:09 +01:00
Robin Stjerndorff
cf912cc3fa ice-client: update to 5.2.1 2018-11-26 09:58:07 +01:00
Robin Stjerndorff
6b419252d1 ice-client: update to 5.2.0 2018-11-26 09:58:05 +01:00
Anjan Chanda
65158e8ec1 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 835c881 include phymode in radios method
-------------------------------------------------------------------------------
commit 835c881b697c0bb184d418c5a2ef9d801fbff4aa
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-24 14:07:31 +0100

    include phymode in radios method

Base directory -> /
 wifimngr.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
-------------------------------------------------------------------------------
2018-11-26 09:50:43 +01:00
Anjan Chanda
c1b3629448 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 74323d2 libwifi: mtk: implement get operational phymode
* 06c3b5a libwifi: bcm: fix country code in get supported channels
* cc374ea libwifi: bcm: implement get phymode
* 3834111 libwifi: api to add vendor ie
-------------------------------------------------------------------------------
commit 74323d283e5fe11c491b2a1ceeeda158b691e5b2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-24 18:21:50 +0100

    libwifi: mtk: implement get operational phymode

Base directory -> /
 libwifi/mtk.c | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 06c3b5a688dacb2010b6c4b6f6e64a9c6bfbcf1e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-24 15:07:07 +0100

    libwifi: bcm: fix country code in get supported channels

Base directory -> /
 libwifi/bcm.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit cc374ea362479516f606a4189d2e82bf5aa97e63
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-24 13:56:06 +0100

    libwifi: bcm: implement get phymode

Base directory -> /
 libwifi/bcm.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 76 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3834111e7ddc7a823c008db298babb3f2a48b3a7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-23 13:15:10 +0100

    libwifi: api to add vendor ie

Base directory -> /
 libwifi/mtk.c  | 36 ++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c | 10 ++++++++++
 libwifi/wifi.h | 29 +++++++++++++++++++++++++++++
 3 files changed, 75 insertions(+)
-------------------------------------------------------------------------------
2018-11-26 09:49:31 +01:00
Kenneth Johansson
01e0a25d3f genconfig: -b now list all the boards. 2018-11-23 17:18:54 +01:00
Kenneth Johansson
de7c7b2f96 genconfig: add easy350 board. 2018-11-23 17:01:43 +01:00
Jonas Höglund
719bbcba8c Revert "iop: Use mcproxy instead of igmpproxy for iopsys_ramips"
This reverts commit cd7fb325fb.
2018-11-23 13:57:29 +01:00
Jonas Höglund
cd7fb325fb iop: Use mcproxy instead of igmpproxy for iopsys_ramips 2018-11-23 11:30:23 +01:00
Ronny Nilsson
2983cdabfc Voice: minor error handling fix for a badly formed ubus call
and delay endptmngr startup in relation to the voice_client.
2018-11-22 11:08:44 +01:00
Jonas Höglund
04e2675604 Use mcproxy for intel 2018-11-21 17:24:16 +01:00
Jakob Olsson
bf4ba7269c netmode: update package to include daisy_chain preventation 2018-11-21 11:07:47 +01:00
Kent Ekholm
e2897f2d83 Corrected LED setting in voice-monitor script. LED was set to On when starting to dial digits.
The LED is now kept set on Notice until hook on.

Ref: #15325
2018-11-21 10:08:12 +01:00
Kenneth Johansson
e6caf05501 intel_mips: dsl scripts needs usleep command. 2018-11-20 18:56:05 +01:00
Kent Ekholm
8f9b75b6c5 Make audio work when a call is forwarded with *21*.
Ref: #15325
2018-11-20 12:32:03 +01:00
Jonas Höglund
4b04adb789 iop: Add igmpproxy to intel_mips 2018-11-19 14:31:02 +01:00
Anjan Chanda
cfb0962150 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 7fdc60c libwifi: mtk: optional session-url removed from btm reqs
-------------------------------------------------------------------------------
commit 7fdc60c76a432ab4059bf35f22be58068b8f1501
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-19 09:05:01 +0100

    libwifi: mtk: optional session-url removed from btm reqs

Base directory -> /
 libwifi/mtk.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-19 11:27:13 +01:00
Anjan Chanda
319cb50c59 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* fac33d5 fix sta-neighbor list empty and growing issue
* 936cce5 adjust rate of 11k bcn report requests
-------------------------------------------------------------------------------
commit fac33d509b3c9bd02dab07d9e8f7aa8f4b733a54
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-16 13:35:44 +0100

    fix sta-neighbor list empty and growing issue

Base directory -> /
 src/agent.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 936cce5a7780c1b393c08347d8ac1087d2c996b0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-15 15:20:13 +0100

    adjust rate of 11k bcn report requests

Base directory -> /
 src/agent.c | 23 ++++++++++++++++++-----
 src/agent.h |  2 +-
 2 files changed, 19 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2018-11-16 16:01:36 +01:00
Anjan Chanda
c3acd8cc63 netmode: bring down wet interface in extender mode 2018-11-15 16:43:54 +01:00
Anjan Chanda
49a3984859 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 7fca45a fix rssi check rule
-------------------------------------------------------------------------------
commit 7fca45acc3cb06a1a973be2533cf107597184df4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-15 12:30:28 +0100

    fix rssi check rule

Base directory -> /
 src/agent.c         | 2 +-
 src/default_rules.c | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-11-15 12:32:45 +01:00
Sachin Singla
15e9ad716a update Makefile for README 2018-11-15 11:36:42 +01:00
Sachin Singla
2222549327 make ifbt open 2018-11-15 09:58:12 +01:00
Anjan Chanda
1761a014c4 icwmp-4.0-2018-11-14 2018-11-14 16:19:18 +01:00
Anjan Chanda
1f83a9634f Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* b7f07b3 display bssload in wifix 'status'
-------------------------------------------------------------------------------
commit b7f07b3e48cb1c3a6b02ce9ec870b3d8f52eb28c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-14 14:41:03 +0100

    display bssload in wifix 'status'

Base directory -> /
 wifimngr.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2018-11-14 14:48:47 +01:00
Anjan Chanda
274b9cbd68 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 3c9fac4 fix band output in scanresults
-------------------------------------------------------------------------------
commit 3c9fac4e25bdc4009d18757e2dd76407ec724465
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-13 15:11:19 +0100

    fix band output in scanresults

Base directory -> /
 wifimngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-14 10:24:05 +01:00
Anjan Chanda
c5a3077cdb Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* c125b5a increase legacy steer reassoc interval to 10 mins
-------------------------------------------------------------------------------
commit c125b5a542ff63d63ba9e093279c0a322dcc00d8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-14 10:16:48 +0100

    increase legacy steer reassoc interval to 10 mins

    This solves the frequent STA kickouts due to the STA returning back to the
    same AP a little after the reassoc interval, which was set to 10 secs
    earlier.

Base directory -> /
 src/config.c | 4 ++--
 src/config.h | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-14 10:23:37 +01:00
Anjan Chanda
19bce6b31e Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* a3aca34 libwifi: bcm: fix rssi and frequency in scanresults
-------------------------------------------------------------------------------
commit a3aca34f5eac376f5dc333de5ff48aab98d11052
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-13 14:33:22 +0100

    libwifi: bcm: fix rssi and frequency in scanresults

Base directory -> /
 libwifi/bcm.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2018-11-14 10:23:13 +01:00
Anjan Chanda
da41d31b72 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 0359109 increase reassoc timeout after legacy steer STA
-------------------------------------------------------------------------------
commit 035910939233f36f1aac78dd4a09626f0588f0f6
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-13 16:56:52 +0100

    increase reassoc timeout after legacy steer STA

Base directory -> /
 src/agent.c  | 4 ++++
 src/config.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-13 16:59:10 +01:00
Oussama Ghorbel
cd9dcad8f7 add easy550_anywan_smart3board 2018-11-12 15:54:07 +01:00
Oussama Ghorbel
e90e81a8b2 implement TARGET_DEVICES and converge to lantiq/intel_mips 2018-11-12 15:44:38 +01:00
Jonas Höglund
0803c60bab iop: Add mcast-pa to intel config 2018-11-12 11:22:26 +01:00
Sachin Singla
1b2053c29a update hash for fix of 11r methods 2018-11-08 17:03:57 +01:00
Sachin Singla
e006e0d7d3 update hash for ifbt 2018-11-08 12:06:35 +01:00
Kenneth Johansson
d86336c526 u-boot-grx500: Use device tree to kernel and remove legacy. 2018-11-06 18:54:04 +01:00
Jakob Olsson
a2e5b4b79e wifilife: add dependency to uci config, restart on change in config 2018-11-05 12:08:04 +01:00
Sachin Singla
040dbf65a5 update hash for ifbt 2018-11-05 10:51:30 +01:00
Anjan Chanda
d1162b7a7d Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 9bdea51 change option name 'interval' to 'runfreq'
-------------------------------------------------------------------------------
commit 9bdea51b722363a2d7679f34bd0d6b14036fb11c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-05 09:21:42 +0100

    change option name 'interval' to 'runfreq'

Base directory -> /
 src/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-05 09:23:09 +01:00
Anjan Chanda
c9dfb08a40 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 495d939 config for legacy ap-steering as fallback option
* f4452c7 introduce run speed in wifiagent
-------------------------------------------------------------------------------
commit 495d939b6ab3bde1c98ac86d8aa203f54a7a01ad
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-03 21:33:10 +0100

    config for legacy ap-steering as fallback option

Base directory -> /
 src/agent.c  | 3 ++-
 src/config.c | 9 +++++++++
 src/config.h | 2 ++
 3 files changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f4452c77554ad9cc769e10d400d3399251b772af
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-03 20:04:48 +0100

    introduce run speed in wifiagent

Base directory -> /
 src/agent.c  |  9 +++++++--
 src/agent.h  |  4 ++--
 src/config.c | 60 +++++++++++++++++++++++++++++++++++++++++++-----------------
 src/config.h | 10 ++++++++++
 4 files changed, 62 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
2018-11-04 19:14:53 +01:00
Anjan Chanda
694eb258d2 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* dae775a libwifi: bcm: get bssload from driver's beacon buffer
-------------------------------------------------------------------------------
commit dae775a9b0145ee56bbf06059350291d282f22fa
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-04 18:40:50 +0100

    libwifi: bcm: get bssload from driver's beacon buffer

Base directory -> /
 libwifi/bcm.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 76 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-11-04 19:13:44 +01:00
Jakob Olsson
88291c196a samba: prevent mulitple lines from being written to an option in smb.conf 2018-11-02 14:42:53 +01:00
Jakob Olsson
5260f1ecfb security fixes: change _access_r to _access_w
ice-client: perform del_list prior to add_list _access_w
2018-11-02 14:41:11 +01:00
Anjan Chanda
54e25d9c59 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 49c0a0e give unique uci option names to 'threshold'
-------------------------------------------------------------------------------
commit 49c0a0efc357f528d404a94a22177ac7c88e12cc
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-02 13:36:19 +0100

    give unique uci option names to 'threshold'

Base directory -> /
 src/default_rules.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-02 14:04:19 +01:00
Anjan Chanda
a5b1435576 icwmp-4.0-2018-11-02 2018-11-02 13:18:09 +01:00
Jakob Olsson
f7cae08993 iop: configs: select juci-wifilife by default 2018-11-02 12:15:36 +01:00
Jonas Höglund
18ca4cc0e0 iop: Add ppacmd to default intel_mips config 2018-10-31 11:23:14 +01:00
Sachin Singla
c6f2b57122 ifbt: update hash 2018-10-29 14:09:14 +01:00
Anjan Chanda
2e0e871d51 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* fdbfc07 fix event string when 'to_bss' is Null
* 04f8eb9 consider plus/minus rssi margin
* 94c4c40 GET_BSS_INFO reports identical security profile
-------------------------------------------------------------------------------
commit fdbfc070500666d58cf9513e4601d5b2b25f7f0d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-26 15:11:48 +0200

    fix event string when 'to_bss' is Null

Base directory -> /
 src/agent.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 04f8eb9e3a1aef4a540b71d064f915e0e1ee81d0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-26 14:25:25 +0200

    consider plus/minus rssi margin

Base directory -> /
 src/default_rules.c | 3 ++-
 src/default_rules.h | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 94c4c406a479d240f9be8a7e1dbae30cdd839d1b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-25 15:30:06 +0200

    GET_BSS_INFO reports identical security profile

Base directory -> /
 src/agent.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2018-10-26 15:15:11 +02:00
Kent Ekholm
d145686f74 Setting hideconnect = yes in asterisk.conf to hide connection messages that spams the Asterisk CLI. 2018-10-26 11:56:23 +02:00
Kenneth Johansson
5af81c786f fix ex400: update_package do not work for u-boot anymore. 2018-10-26 10:04:25 +02:00
Kent Ekholm
79976db976 Added cbbs parameters in voice_client needed to make cbbs work.
option cbbs_key '5'
option cbbs_maxretry '5'
option cbbs_retrytime '300'
option cbbs_waittime '30'
2018-10-25 15:42:38 +02:00
Anjan Chanda
2bffd0242b Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 9e6dbd2 Cntlr: defer updating as neighbor if its mac is zero
* bd6a081 implement CMD_DEL_NEIGHBOR
* 00b88bc log actons and post onto ubus
-------------------------------------------------------------------------------
commit 9e6dbd215d1b169c6bd4be69932d1b3ca280e8d8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-25 09:39:28 +0200

    Cntlr: defer updating as neighbor if its mac is zero

Base directory -> /
 src/cntlr.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit bd6a081370e6df6bb1fbfff20ec13da9a283f69d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-24 22:00:08 +0200

    implement CMD_DEL_NEIGHBOR

Base directory -> /
 src/agent.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 src/cntlr.c | 32 ++++++++++++++++++++++++++++----
 2 files changed, 75 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 00b88bcdad1ac4155cb7ccd97971ba7feec10773
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-24 20:32:14 +0200

    log actons and post onto ubus

    cntlr: include CMD_ADD_NEIGHBOR handling cntlr: better handling of
    'wifi.agent' add/remove agent: log and notify steer actions over ubus agent:
    fix stainfo stats agent: handle CMD_STEER_EXCLUDE_DEL

Base directory -> /
 src/agent.c      | 115 +++++++++++++++++++++++++++++++++++++++++--------------
 src/agent.h      |   9 +++++
 src/agent_ubus.c |  16 +++++++-
 src/cntlr.c      | 108 +++++++++++++++++++++++++++++----------------------
 src/comm.c       |  10 +++--
 src/config.c     |  13 +++++++
 6 files changed, 193 insertions(+), 78 deletions(-)
-------------------------------------------------------------------------------
2018-10-25 09:56:27 +02:00
Kenneth Johansson
b5d073a39f Update feed [ iopsys ] package [ u-boot ]
-------------------------------------------------------------------------------
* b9fece4 Add the missing M in the environmental variable bootargs_ubi
-------------------------------------------------------------------------------
commit b9fece495814fec83970688df2cf19a320d05090
Author: Michael Zhang <m.zhang@genexis.eu>
Date: 2018-10-10 14:35:43 +0200

    Add the missing M in the environmental variable bootargs_ubi

    'mem=480M@512' caused a kernel panic in Intel GRX evaluation boards. The
    parameter shall be 'mem=480M@512M'.

Base directory -> /
 include/configs/iopsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-23 16:06:29 +02:00
Kenneth Johansson
5af440548c easy550 add wifi config. 2018-10-23 14:27:51 +02:00
Anjan Chanda
ec69c2d171 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* dcada7b cntlr: startup order and agent monitoring
-------------------------------------------------------------------------------
commit dcada7b851a2865278f95b65f572838cee34d9a5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-22 17:20:53 +0200

    cntlr: startup order and agent monitoring

Base directory -> /
 src/cntlr.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 src/debug.h | 17 +++++++++++++
 2 files changed, 84 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2018-10-23 09:24:08 +02:00
Anjan Chanda
3d1cd95e77 Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* c3ce59d 'list_neighbor' dumps all neighbors when called without argument
-------------------------------------------------------------------------------
commit c3ce59de89df1bdf45a5207274225d215838b1e7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-22 17:03:59 +0200

    'list_neighbor' dumps all neighbors when called without argument

Base directory -> /
 wifimngr.c      | 20 +++++++++++++++++---
 wifimngr_wifi.c | 10 +++++++---
 wifimngr_wifi.h |  3 ++-
 3 files changed, 26 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2018-10-23 09:17:56 +02:00
Anjan Chanda
8a13c2c46e Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* e407bea libwifi: bcm: 'list_neighbor' returns cached entries if scanning fails
-------------------------------------------------------------------------------
commit e407beabbf0a8e559128cfd2f7c3fa510e4b7ddf
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-22 22:26:59 +0200

    libwifi: bcm: 'list_neighbor' returns cached entries if scanning fails

Base directory -> /
 libwifi/bcm.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 72 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-10-23 09:16:45 +02:00
Sukru Senli
da757a75c3 ice-client: add dependent domain name 2018-10-22 13:27:53 +02:00
Anjan Chanda
77350790c1 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* bbf8860 fix cntlr cmd-response path
* f401563 change ubus cmd data type to string type
-------------------------------------------------------------------------------
commit bbf88603d74a4da27ddd6ac3958cce4919652883
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-20 14:07:21 +0200

    fix cntlr cmd-response path

Base directory -> /
 src/agent.c           | 36 ++++++++++++++--------
 src/cntlr.c           | 84 ++++++++++++++++++++++++++++++++++++---------------
 src/cntlr.h           |  2 ++
 src/cntlr_comm.h      |  9 +-----
 src/cntlr_comm_ubus.c | 50 ++++++++----------------------
 src/comm.c            | 23 ++++++++++++--
 src/comm.h            | 35 +++++++++++++++++++++
 src/debug.c           | 19 ++++++++++++
 src/debug.h           |  1 +
 src/utils.c           | 32 ++++++++++++++++++++
 src/utils.h           |  4 +++
 11 files changed, 211 insertions(+), 84 deletions(-)
-------------------------------------------------------------------------------
commit f401563389c36f94d080163e28c5224349f60df6
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-19 19:37:42 +0200

    change ubus cmd data type to string type

Base directory -> /
 src/agent.c           | 2 ++
 src/agent_ubus.c      | 3 ++-
 src/cntlr.c           | 4 +++-
 src/cntlr_comm_ubus.c | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-10-22 09:25:17 +02:00
Kenneth Johansson
16d7e6a4ca easy550: add switch_cli command 2018-10-19 17:21:30 +02:00
Anjan Chanda
30624667c5 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* d3b7410 agent: enable scan at bootup
-------------------------------------------------------------------------------
commit d3b7410b262225edff6b6b10a3bfd4e6a63fe877
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-10-19 14:50:50 +0200

    agent: enable scan at bootup

Base directory -> /
 src/agent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-10-19 14:59:57 +02:00
Anjan Chanda
e6eb52dcfc Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 322ee12 periodic update bssinfo in agent
* 9047325 update nbrlist workaround for nodes that can't scan
-------------------------------------------------------------------------------
commit 322ee12da88323c440f90972d35dd01ca37fd54d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-19 12:48:02 +0200

    periodic update bssinfo in agent

Base directory -> /
 src/agent.c | 23 +++++++++++++++++++++++
 src/agent.h |  3 +++
 src/cntlr.c | 15 +++++++++------
 3 files changed, 35 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9047325710c529f8e8eb2974c0b09f8443d944fb
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-19 11:37:14 +0200

    update nbrlist workaround for nodes that can't scan

Base directory -> /
 src/agent.c |  36 ++++++++++++++++++++-
 src/cntlr.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
 src/cntlr.h |  17 +++++++++-
 src/comm.h  |   7 ++++
 4 files changed, 147 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2018-10-19 12:49:36 +02:00
Anjan Chanda
05b5d4854d Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 2ae858e fix exclude node from steering
* c56c761 enhance cntlr CMD and response handling
-------------------------------------------------------------------------------
commit 2ae858e644051140dbf4b18bef74e71a977bddbf
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-18 22:08:13 +0200

    fix exclude node from steering

Base directory -> /
 src/agent.c         | 26 +++++++++++++++++++-------
 src/agent.h         |  6 +++---
 src/cntlr.c         | 40 ++++++++++++++++++++++++++++------------
 src/config.h        |  3 +++
 src/debug.h         |  2 ++
 src/default_rules.c |  1 +
 src/default_rules.h |  4 +++-
 7 files changed, 59 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit c56c761795739a419cc766919304d32d16d24540
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-18 17:29:22 +0200

    enhance cntlr CMD and response handling

Base directory -> /
 src/agent.c           | 40 +++++++++++++++++++++++++++---
 src/agent.h           |  6 +++--
 src/agent_ubus.c      |  3 ++-
 src/cntlr.c           | 48 +++++++++++++++++++++++++++++++++---
 src/cntlr.h           |  6 +++--
 src/cntlr_comm.h      | 13 ++++++++--
 src/cntlr_comm_ubus.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/comm.c            |  8 ++++--
 src/comm.h            | 42 ++++++++++++++++++++++---------
 src/wifilife.conf     | 57 ++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 261 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
2018-10-18 22:20:08 +02:00
Kenneth Johansson
1dfbcb34ca easy550: can not build u-boot in parallel.
Until this is fixed do not build in parallel for all targets.
2018-10-18 17:17:37 +02:00
Kenneth Johansson
bc01bbd544 easy550: add config to get dsl driver. 2018-10-18 16:28:30 +02:00
ke hu
db075d462e refs #15368
do not set led when led disable
2018-10-18 16:04:27 +02:00
Sukru Senli
e4c6547dda ifbt: fixed macaddr issue 2018-10-18 15:14:15 +02:00
Anjan Chanda
138eb0c9ed Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* cfaf7a3 'stas' dump all stainfo when called without argument
-------------------------------------------------------------------------------
commit cfaf7a3f3bd688257b108ad8c5e73d3a91c6c2d4
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-18 10:17:26 +0200

    'stas' dump all stainfo when called without argument

Base directory -> /
 wifimngr.c | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2018-10-18 10:19:39 +02:00
Anjan Chanda
14a704d729 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* a61c902 redefine Cntlr CMD; handle assoc control command in agent
* bd24f42 fix 'assoc_control' ubus method
-------------------------------------------------------------------------------
commit a61c9028cf3bbad47292508a5b649f45262ac09c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-17 15:02:12 +0200

    redefine Cntlr CMD; handle assoc control command in agent

Base directory -> /
 src/agent.c           | 58 ++++++++++++++++++++++++++++++++++++++++++++++++---
 src/agent.h           |  2 +-
 src/agent_ubus.c      |  4 +++-
 src/cntlr.c           | 29 ++++++++++++++++++++++----
 src/cntlr_comm.h      |  4 ++--
 src/cntlr_comm_ubus.c |  7 ++++---
 src/comm.c            |  7 +++++--
 src/comm.h            | 10 +++++++++
 8 files changed, 105 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit bd24f42f7d3a48d5b8024f0dffc42ba2896c749b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-16 14:11:17 +0200

    fix 'assoc_control' ubus method

Base directory -> /
 src/agent_ubus.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-10-18 09:05:44 +02:00
Anjan Chanda
cb328d2c93 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 259178b libwifi: mtk: fix return value in get_sta_info
* 0c38ce3 libwifi: add sta assoc control API
-------------------------------------------------------------------------------
commit 259178b62ba910f53ec10899ef52bbc670b7aea5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-16 17:09:16 +0200

    libwifi: mtk: fix return value in get_sta_info

Base directory -> /
 libwifi/mtk.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0c38ce3c952695a4e0d04cfd330b8d61a8a9e92c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-16 14:06:54 +0200

    libwifi: add sta assoc control API

Base directory -> /
 libwifi/mtk.c  | 37 +++++++++++++++++++++++++++++++++++++
 libwifi/wifi.c | 10 ++++++++++
 libwifi/wifi.h | 12 ++++++++++++
 3 files changed, 59 insertions(+)
-------------------------------------------------------------------------------
2018-10-18 09:05:08 +02:00
Sachin Singla
59f16554c8 ifbt: fix macaddr issue 2018-10-17 19:25:22 +02:00
Robin Stjerndorff
4d0dd5634b fix ubus representation for EX400 topology in cloud refs: #15754 2018-10-17 18:20:10 +02:00
Robin Stjerndorff
688f9aa686 ice-client: update to 5.1.13 2018-10-17 18:09:04 +02:00
Sukru Senli
66da522ebb netmode: add support for disabling legacy netmode tools 2018-10-16 19:11:56 +02:00
Sukru Senli
7ba08eb358 netmode: do not copy DETAILS file and scripts folder 2018-10-16 18:59:16 +02:00
Sukru Senli
be85d93ba5 netmode: support running pre and post netmode scripts 2018-10-16 18:49:32 +02:00
Kent Ekholm
8989b900f1 <provider>-direct must be before outgoing, otherwise service codes will be called instead of handled.
Ref: #15325
2018-10-16 16:48:05 +02:00
Sachin Singla
3d5171e521 update hash for libwifi 2018-10-16 15:17:43 +02:00
Sachin Singla
d43ad99dc9 update hash for inbd 2018-10-16 15:09:52 +02:00
Sachin Singla
d03f4237df update hash for ifbt 2018-10-16 15:06:07 +02:00
Sukru Senli
dd87a6e58e icwmp-4.0-2018-10-16 2018-10-16 13:19:10 +02:00
Robin Stjerndorff
f732cfcd9c ice-client: update to 5.1.12 2018-10-15 13:46:42 +02:00
Kent Ekholm
a8d2e32d39 Modified dialplan template for local calls to make hangup context be called regardless of which party is hanging up the call.
Ref: #15917
2018-10-12 17:12:11 +02:00
Anjan Chanda
6d552297a4 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 9872bfc direct-scan network and change refresh timers
-------------------------------------------------------------------------------
commit 9872bfc7fa13087aa7f25f87250eaa1c76b58c30
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-12 12:58:42 +0200

    direct-scan network and change refresh timers

Base directory -> /
 src/agent.c           | 27 ++++++++++++++-------------
 src/agent.h           |  6 +++---
 src/cntlr_comm_ubus.c |  2 +-
 3 files changed, 18 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
2018-10-12 17:00:22 +02:00
Anjan Chanda
9b417492e7 Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* 169f1fe libwifi: mtk: accept 'ssid' in scan param
-------------------------------------------------------------------------------
commit 169f1fe0acd6821d8a3df71d601bcc25085767ae
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-12 16:58:14 +0200

    libwifi: mtk: accept 'ssid' in scan param

Base directory -> /
 libwifi/mtk.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-10-12 16:59:46 +02:00
Sukru Senli
7b655abf2d icwmp-4.0-2018-10-09 2018-10-12 12:10:26 +02:00
Anjan Chanda
4f286840ef Update feed [ iopsys ] package [ wifimngr ]
-------------------------------------------------------------------------------
* 8a54b69 accept ssid in ubus 'scan' method
-------------------------------------------------------------------------------
commit 8a54b69236d327b0b5310b8d09b86b204ba5af9d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-12 11:25:22 +0200

    accept ssid in ubus 'scan' method

Base directory -> /
 wifimngr.c      | 9 ++++++++-
 wifimngr_wifi.c | 9 ++++++++-
 wifimngr_wifi.h | 2 +-
 3 files changed, 17 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-10-12 11:46:32 +02:00
Anjan Chanda
c6038a269c Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* ab4876b check for NULL cmd data in cntlr command
-------------------------------------------------------------------------------
commit ab4876bdf025e04a675ac75dfde6d27a63e0f204
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-11 16:24:50 +0200

    check for NULL cmd data in cntlr command

Base directory -> /
 src/cntlr_comm_ubus.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-12 11:29:35 +02:00
Anjan Chanda
695095763d Update feed [ iopsys ] package [ easy-soc-libs ]
-------------------------------------------------------------------------------
* fb3ec42 libwifi: workaround BCM's scan-reject issue
-------------------------------------------------------------------------------
commit fb3ec421854355461a0a317c8cb1b5482fadc8af
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-12 11:19:55 +0200

    libwifi: workaround BCM's scan-reject issue

Base directory -> /
 libwifi/bcm.c      | 65 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 libwifi/broadcom.h |  8 +++++++
 libwifi/wifi.c     | 10 +++++++++
 libwifi/wifi.h     |  1 +
 4 files changed, 79 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-10-12 11:28:54 +02:00
Ronny Nilsson
dcb7abeba0 Voice: Add timeout for ubus call to Asterisk. If Asterisk
doesn't answer we send an error back to dectmngr2.
2018-10-11 15:13:24 +02:00
Anjan Chanda
e9f9f7e196 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 16e42e1 delete file core.c
* a17594c automagically exclude network nodes from steering
-------------------------------------------------------------------------------
commit 16e42e187340630000b5a2c5876911f83a7289c0
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-11 13:34:50 +0200

    delete file core.c

Base directory -> /
 src/core.c | 38 --------------------------------------
 1 file changed, 38 deletions(-)
-------------------------------------------------------------------------------
commit a17594cf78b3bb8e1114aab3b6e0bcae59fb9c2a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-10 12:49:56 +0200

    automagically exclude network nodes from steering

Base directory -> /
 src/agent.c           | 22 +++++++++++++++++-----
 src/agent_ubus.c      |  1 +
 src/cntlr.c           | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
 src/cntlr.h           |  8 ++++++++
 src/cntlr_comm.h      |  2 +-
 src/cntlr_comm_ubus.c | 10 +++++-----
 src/comm.c            |  4 +++-
 src/comm.h            |  2 +-
 src/utils.c           | 42 ++++++++++++++++++++++++++++++++++++++++++
 src/utils.h           | 11 +++++++++++
 10 files changed, 136 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2018-10-11 13:39:00 +02:00
Anjan Chanda
0bc58c3fb2 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* b006503 support add/del steer exclude entry in config
-------------------------------------------------------------------------------
commit b0065033c6ed6d9411666aba4fbc6146205f2178
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-10 10:54:03 +0200

    support add/del steer exclude entry in config

Base directory -> /
 src/agent.c  |  8 ++++++
 src/comm.h   |  1 +
 src/config.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/config.h |  4 +++
 4 files changed, 99 insertions(+)
-------------------------------------------------------------------------------
2018-10-10 10:57:00 +02:00
Anjan Chanda
054ae9686f netmode: add 'netmode' in owsd ubusproxy 2018-10-09 15:40:27 +02:00
Anjan Chanda
b5975b6dab iop: fix 'wifilife' tarball content 2018-10-09 15:02:12 +02:00
Anjan Chanda
004093329e wifilife: add 'wifi*' in owsd ubusproxy 2018-10-08 15:53:05 +02:00
Anjan Chanda
1f1a2931ca wifilife: start wifi controller at RootNode 2018-10-08 15:50:45 +02:00
Robin Stjerndorff
e465e76dd9 testnet: fix refs #15840 2018-10-08 15:28:32 +02:00
Robin Stjerndorff
7ba9214992 ice-client: update to 5.1.11 2018-10-08 15:28:26 +02:00
Jonas Höglund
ffaaa4dbee iop: Check if feed exists in update_package 2018-10-08 15:01:13 +02:00
Sukru Senli
ff0c71a41e Revert "iop: configs: select topologyd by default"
This reverts commit 372e1c8276.
2018-10-08 09:27:33 +02:00
Anjan Chanda
440bb0dacb Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* fcdd56b update README - add features and run options
* 9d2b12e allow wildcard macaddress in exclude list
* 5804141 introduce hysteresis in rssi steering rule
-------------------------------------------------------------------------------
commit fcdd56bf326101c8ba1e90887b6f1802ce867ce7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-07 20:26:05 +0200

    update README - add features and run options

Base directory -> /
 README.md | 232 ++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 136 insertions(+), 96 deletions(-)
-------------------------------------------------------------------------------
commit 9d2b12e84e17194db749f9695a79d88f7c093758
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-07 19:42:03 +0200

    allow wildcard macaddress in exclude list

Base directory -> /
 src/agent.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 58041413bc7bb4407d558bd2ce1c92681162cf7c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-07 12:48:46 +0200

    introduce hysteresis in rssi steering rule

Base directory -> /
 src/agent.c         |  8 ++++----
 src/agent.h         |  1 +
 src/default_rules.c | 38 ++++++++++++++++++++++++++++++--------
 src/default_rules.h |  5 +++++
 4 files changed, 40 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2018-10-08 09:24:38 +02:00
Sukru Senli
87e9ebb0d3 netmode: adapt to inteno -> iopsys change 2018-10-06 19:24:05 +02:00
Sukru Senli
6b49a934b9 topologyd: use https URL 2018-10-06 12:47:36 +02:00
Sukru Senli
372e1c8276 iop: configs: select topologyd by default 2018-10-06 12:45:43 +02:00
Anjan Chanda
803f139c8c wifilife: fix for open build 2018-10-05 18:04:04 +02:00
Jakob Olsson
564838aa9f Makefile: update hash 2018-10-05 17:21:49 +02:00
Jakob Olsson
2c8288402d initd: remove logging of stdout for the moment, code riddled with debug prints 2018-10-05 17:21:49 +02:00
Jakob Olsson
49bdb20677 initd: update string comparison 2018-10-05 17:21:49 +02:00
Jakob Olsson
cc46c0c1e3 initd: give root flag based on owsd config 2018-10-05 17:21:49 +02:00
Jakob Olsson
d88afaa730 Makefile: hash update 2018-10-05 17:21:49 +02:00
Jakob Olsson
c3cd3a303c Makefile: update hash 2018-10-05 17:21:49 +02:00
Jakob Olsson
b561f4be59 Makefile: hash update 2018-10-05 17:21:49 +02:00
Jakob Olsson
9e28a21d73 provide root flag 2018-10-05 17:21:49 +02:00
Jakob Olsson
596c769a32 Makefile: hash update 2018-10-05 17:21:49 +02:00
Jakob Olsson
ecfd027e95 Makefile: update hash 2018-10-05 17:21:49 +02:00
Jakob Olsson
7ad68bc2c2 Makefile: update libs 2018-10-05 17:21:49 +02:00
Jakob Olsson
195e819f19 Makefile: hash update 2018-10-05 17:21:49 +02:00
Jakob Olsson
f836adcb50 remove some missplaced/old files 2018-10-05 17:21:49 +02:00
Jakob Olsson
ff0dc5b95a update hash, change path 2018-10-05 17:21:49 +02:00
Jakob Olsson
73329e7d71 makefile: uncomment some accidently commented out, dir correction 2018-10-05 17:21:49 +02:00
Jakob Olsson
6ee5fd0dc8 topologyd package 2018-10-05 17:21:49 +02:00
Kenneth Johansson
ac59ef0a8a fix problem when the feed name is a substring of the URL.
iopsys feed matched also dev.iopsys.eu in the URL.
2018-10-05 17:17:20 +02:00
Ronny Nilsson
78fec47b65 Voice: minor cleanups of endptmngr. 2018-10-05 17:05:48 +02:00
Kenneth Johansson
e3551c5cf2 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 48da42f nice!!!
-------------------------------------------------------------------------------
commit 48da42f05c4b8c9d0d5a656932ba77d37bb2e573
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2018-10-05 17:00:02 +0200

    nice!!!

Base directory -> /
 README.md | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-10-05 17:00:51 +02:00
Anjan Chanda
3ebd61b2b8 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* 94c5dea adjust loglevel of messages
-------------------------------------------------------------------------------
commit 94c5dea8cd981378b164b20dcc795aa92671f71a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-04 14:19:18 +0200

    adjust loglevel of messages

Base directory -> /
 src/agent.c           | 40 ++++++++++++++++++++--------------------
 src/cntlr.c           | 23 +++++++++++------------
 src/cntlr_comm_ubus.c |  2 +-
 src/config.c          |  6 +++---
 src/main.c            |  5 +----
 5 files changed, 36 insertions(+), 40 deletions(-)
-------------------------------------------------------------------------------
2018-10-05 16:50:31 +02:00
Anjan Chanda
42b8547e81 wifilife: introduce WIFILIFE_OPEN option 2018-10-05 16:36:11 +02:00
Sukru Senli
24aaae9814 catv: remove kate swap file 2018-10-05 15:46:10 +02:00
Anjan Chanda
3666863bc5 iop: fix wifilife consumer build 2018-10-05 13:41:37 +02:00
Kenneth Johansson
a41267e62e update_package: match only whole feeds name.
if there was a feed name that ended in the same string as another feed
the script got confused. Now only match full name.
2018-10-04 18:17:31 +02:00
Kenneth Johansson
2b207f1830 grx renamed to EASY550 2018-10-04 17:30:28 +02:00
Kenneth Johansson
89afdc3012 rename target iopsys-grx to intel_mips. 2018-10-04 17:30:28 +02:00
Ronny Nilsson
ad0a6d2024 Voice: cleanup, remove unused file. 2018-10-04 15:05:26 +02:00
Ronny Nilsson
3764835d54 Dect: Natalie minor cleanups. 2018-10-04 15:04:21 +02:00
Sukru Senli
3e1492f581 icwmp: 4.0-2018-10-02 2018-10-04 13:28:42 +02:00
Sukru Senli
31b281e524 ice-client: 5.1.10 2018-10-04 13:27:49 +02:00
Anjan Chanda
c3c90e78d1 iop: generate wifilife tarball for open builds 2018-10-04 12:41:35 +02:00
Oussama Ghorbel
313e8dc921 Update feed [ uboot ]
a86e524 Merge branch 'iopsys-pstore' into 'ex400'
2018-10-03 16:38:02 +02:00
Ronny Nilsson
51f702eee8 Voice: Remove obsolete Asterix settings. Those are now handled by endptmngr. 2018-10-03 14:27:05 +02:00
Sukru Senli
2a41c9ccd8 iop: if new bcmopen tar file exists, for create symlink to it 2018-10-03 12:19:44 +02:00
Sukru Senli
8363a9d567 owsd: remove ubusx_acl list by default 2018-10-02 15:45:51 +02:00
Ronny Nilsson
3c074bee82 Voice: dectmngr2 now share same libpicoevent as endptmngr and asterisk. 2018-10-02 15:14:05 +02:00
Anjan Chanda
d3d8768535 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* a9c2106 rename config wifiagent -> wifilife
-------------------------------------------------------------------------------
commit a9c2106bf53a4e9f5e1a773cbda0af7e54e83a09
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-02 09:39:12 +0200

    rename config wifiagent -> wifilife

Base directory -> /
 src/agent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-02 11:09:27 +02:00
Anjan Chanda
d0d08c3bc2 wifilife: move config to target specific and add start/stop 2018-10-02 10:35:47 +02:00
Anjan Chanda
4d707bec3b wifimngr: start/stop through init.d script 2018-10-02 10:32:49 +02:00
Jonas Höglund
83fc458691 config: Use igmpproxy instead of crashing omcproxy 2018-10-01 16:23:42 +02:00
Anjan Chanda
1b31a9b2e3 Update feed [ iopsys ] package [ wifilife ]
-------------------------------------------------------------------------------
* bb389d8 suppress const qualifier warning
* 475bc1b get bssload for own bss during init
* 025cf5e enable/disable steer param based on config policy
* d82393e misc changes including initial definition of 'comm' interface
* 26758d3 initial definition - controller managed data
* 78f6a1d handle attach/detach node events
* 5145b78 add simple hash function for macaddress
* a94c1df enum network nodes
* d84543c attempt btm steering before lagacy
-------------------------------------------------------------------------------
commit bb389d8e19d3f6bfc58727784151b5455de94ce3
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-01 14:34:09 +0200

    suppress const qualifier warning

Base directory -> /
 src/cntlr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 475bc1b31de23480a291779a147ab1b8634a52ef
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-01 14:24:38 +0200

    get bssload for own bss during init

Base directory -> /
 src/agent.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 025cf5e808032d7c5c5bf846344dd1e71a0cb3aa
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-10-01 12:13:59 +0200

    enable/disable steer param based on config policy

Base directory -> /
 src/agent.c  | 3 +++
 src/config.c | 4 ++++
 src/rules.h  | 1 +
 3 files changed, 8 insertions(+)
-------------------------------------------------------------------------------
commit d82393eb0d73292218d709bbcc2136841b585be2
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-30 13:26:13 +0200

    misc changes including initial definition of 'comm' interface

    cntlr: include local agent in cntlr's nodelist comm: define comm interface
    between cntlr and agent cntlr: implement comm interface in controller cntlr:
    issue SCAN in nodes whenever network topology changes agent: handle CMD_*
    commands from controller data: refine data structures used to store
    collected data

Base directory -> /
 src/Makefile          |   2 +
 src/agent.c           |  28 +++++++++-
 src/agent.h           |   2 +
 src/agent_ubus.c      |  41 +++++++++++++++
 src/cntlr.c           | 139 +++++++++++++++++++++++++++++++++++++++-----------
 src/cntlr.h           |   7 +++
 src/cntlr_comm.h      |   8 +++
 src/cntlr_comm_ubus.c |  63 +++++++++++++++++++++++
 src/comm.c            |  38 +++++++++++++-
 src/comm.h            |  40 ++++++++++++++-
 src/data.h            | 106 +++++++++++++++++++-------------------
 src/utils.h           |   3 ++
 12 files changed, 391 insertions(+), 86 deletions(-)
-------------------------------------------------------------------------------
commit 26758d3a920f6d378ca89d7f7b391a3bee3bd9fa
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-28 10:40:43 +0200

    initial definition - controller managed data

Base directory -> /
 src/cntlr.h |  2 ++
 src/data.h  | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)
-------------------------------------------------------------------------------
commit 78f6a1d8caccd72bf09eb52ae611cb32cb09779e
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-28 10:37:58 +0200

    handle attach/detach node events

Base directory -> /
 src/cntlr.c | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++----------
 src/cntlr.h |  31 ++++++-
 2 files changed, 266 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
commit 5145b785b6c279727130c35a4ea3243407122f4d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-28 10:33:13 +0200

    add simple hash function for macaddress

Base directory -> /
 src/utils.h | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit a94c1dfa9ecf924e38f423ba2bf90fffa7920c84
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-26 17:06:45 +0200

    enum network nodes

Base directory -> /
 src/cntlr.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 src/cntlr.h |  18 +++++
 2 files changed, 214 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit d84543c02708e4fd3133f95c8a7bb600019bdced
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-27 09:34:21 +0200

    attempt btm steering before lagacy

Base directory -> /
 src/agent.c | 13 +++++++------
 src/agent.h |  2 ++
 2 files changed, 9 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2018-10-01 15:04:17 +02:00
ke hu
33d3ccc0ed Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* ce933c4 return int for unsupported temperature
-------------------------------------------------------------------------------
commit ce933c4956293d0e65e7fdf471b72896431d2bc5
Author: ke hu <ke.hu@inteno.se>
Date: 2018-10-01 09:40:57 +0200

    return int for unsupported temperature

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-01 11:52:58 +02:00
Sukru Senli
b93863a6bf Revert "Update feed [ iopsys ] package [ questd ]"
This reverts commit e2be3611c7.
2018-10-01 10:47:46 +02:00
ke hu
e2be3611c7 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* ce933c4 return int for unsupported temperature
-------------------------------------------------------------------------------
commit ce933c4956293d0e65e7fdf471b72896431d2bc5
Author: ke hu <ke.hu@inteno.se>
Date: 2018-10-01 09:40:57 +0200

    return int for unsupported temperature

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-01 09:45:58 +02:00
Ronny Nilsson
7b7521dae6 Voice: slight increase of default Broadcom audio volume. 2018-09-27 15:34:27 +02:00
ke hu
6af169f7c1 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* eec062f refs #15742
* b5bcfec refs #15742
* 0ef96a9 update .gitignore
* 218f4bc Update README.md with list of objects and methods created by questd
* 8d98b4a Update README.md
* 2ae8cd5 Merge branch 'readme' into 'master'
* 00b5f46 Add README
-------------------------------------------------------------------------------
commit eec062f06073b93921addd0263b4b13e49517a8b
Author: ke hu <ke.hu@inteno.se>
Date: 2018-09-27 09:59:43 +0200

    refs #15742

    broadcom support

Base directory -> /
 broadcom.c | 14 ++++++++++++++
 broadcom.h |  1 +
 2 files changed, 15 insertions(+)
-------------------------------------------------------------------------------
commit b5bcfec5eddfd5083cba95f6bdefb0e6d15a9608
Author: ke hu <ke.hu@inteno.se>
Date: 2018-09-26 17:01:53 +0200

    refs #15742

    mtk platform suport get temperature
Base directory -> /
 mediatek.c | 41 +++++++++++++++++++++++++++++++++++++++++
 mediatek.h |  1 +
 wireless.c | 25 +++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
-------------------------------------------------------------------------------
commit 0ef96a93d1bc10e3317b3e821f083e0bd96c46b4
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-09-22 11:25:52 +0200

    update .gitignore

Base directory -> /
 .gitignore | 2 --
 1 file changed, 2 deletions(-)
-------------------------------------------------------------------------------
commit 218f4bc036ed5e0086d99e9ad455e5d2f83559cd
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-09-08 13:16:35 +0000

    Update README.md with list of objects and methods created by questd

Base directory -> /
 README.md | 187 ++++++++++++++++++++------------------------------------------
 1 file changed, 60 insertions(+), 127 deletions(-)
-------------------------------------------------------------------------------
commit 8d98b4a8dd8f75ea3e5b8277548ce6377d5a3fc1
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-09-08 13:08:26 +0000

    Update README.md

Base directory -> /
 README.md | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 130 insertions(+)
-------------------------------------------------------------------------------
commit 2ae8cd56e4483152c1661558c58c78489fdbced7
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-09-08 12:39:13 +0000

    Merge branch 'readme' into 'master'

    Add README

    See merge request iopsys/questd!2
Base directory -> /
 README.md | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit 00b5f468118d1c25f5af558f1c4f0a1b35dfb545
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2018-09-08 14:37:48 +0200

    Add README

Base directory -> /
 README.md | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2018-09-27 13:52:39 +02:00
Sukru Senli
e2489faf7d wifimngr: use https repo 2018-09-26 21:02:42 +00:00
Sukru Senli
35ab5d6f1e iop: adapt to feed structure change 2018-09-26 19:33:06 +02:00
Sukru Senli
2119bdf506 iop: deselect wifilife for open builds 2018-09-26 19:31:29 +02:00
Ronny Nilsson
1c1cfe9377 SDK: ensure to work with spaces in path too. 2018-09-25 12:12:45 +02:00
Ronny Nilsson
9184f6089f SDK: preserve timestamp of generated tarballs. 2018-09-25 12:11:05 +02:00
Ronny Nilsson
69252528e2 SDK: ensure to fail early if generating tarballs fails. 2018-09-25 12:09:23 +02:00
Ronny Nilsson
ea5ba348cf SDK: use bash explicitly. Broadcom needs it. 2018-09-25 12:08:11 +02:00
Ronny Nilsson
099dd58d31 SDK: propper check for exist file. 2018-09-25 12:07:28 +02:00
Ronny Nilsson
0243be7d25 SDK: paths has changed due to move of Iopsys repositorys.
refs #49
2018-09-25 11:58:59 +02:00
Jonas Höglund
1b4493d749 config: do not set missing localmirror 2018-09-24 16:45:32 +02:00
Jonas Höglund
8543ec9de1 New syntax for https url:s 2018-09-24 16:37:05 +02:00
Anjan Chanda
2371996afa rename iop-lla-libs -> easy-soc-libs 2018-09-24 16:29:30 +02:00
Sukru Senli
d4aa675a7a iopsys: point to new iopsys git repositories 2018-09-23 11:19:23 +02:00
Sukru Senli
1eff197fda iop: adapt to new iopsys git repositories 2018-09-23 11:18:37 +02:00
Anjan Chanda
dc9e0d8e5e Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 96cade3 prevent multiple instances of daemon running
-------------------------------------------------------------------------------
commit 96cade32a612aae38a3d9babda9a94891276786c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-21 15:56:04 +0200

    prevent multiple instances of daemon running

Base directory -> /
 src/main.c | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2018-09-21 17:31:00 +02:00
Anjan Chanda
6f243629f1 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* b7c6617 libwifi: bcm: fix neighbor_list - skip bss offset correctly
-------------------------------------------------------------------------------
commit b7c6617cc092bedd3065575212384666ea4f1194
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-21 17:15:29 +0200

    libwifi: bcm: fix neighbor_list - skip bss offset correctly

Base directory -> /
 libwifi/bcm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-09-21 17:19:35 +02:00
Kent Ekholm
933591bcc6 Fixed a typo. A double quotes was missing. 2018-09-21 16:05:24 +02:00
Ronny Nilsson
3839bc5e91 Dect: Handling of the handset R-key has changed with the introduction of
endptmngr. The dectmngr2 converts the event to an ascii R character.
Which in turn makes endptmngr simulate a hook flash event.
2018-09-21 11:36:31 +02:00
Anjan Chanda
ae81707a09 config: select wifimngr and wifilife 2018-09-21 10:45:11 +02:00
Anjan Chanda
902791f940 Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* b3b122d check 'stax' instead of 'sta' in exclude lists
* 83ee8c1 run agent only on interfaces that are enabled
* d9291b8 Add README.md
-------------------------------------------------------------------------------
commit b3b122de03f90a2d9c66914694d7a3e05993c05c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-20 17:11:00 +0200

    check 'stax' instead of 'sta' in exclude lists

Base directory -> /
 src/agent.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 83ee8c1285380aecbcfbbde795f04b99a1ea825d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-20 16:34:45 +0200

    run agent only on interfaces that are enabled

Base directory -> /
 src/agent.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 66 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit d9291b82fae9aa46a9344e731656f6830e896f31
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-20 09:35:36 +0000

    Add README.md

Base directory -> /
 README.md | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)
-------------------------------------------------------------------------------
2018-09-21 09:05:07 +02:00
Sukru Senli
09a99c4500 icwmp-4.0-2018-09-18 2018-09-20 08:09:53 +02:00
Anjan Chanda
88ffe4f4f7 wifimngr: migrate to dev.iopsys.eu 2018-09-19 21:24:23 +02:00
Anjan Chanda
9359bacfce Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 2c7247a improve neighbor list management
* 68c5fa5 use 'wifix' ubus object instead of 'wifi'
* 06de2f3 improve steer-rule matching algos
* 65e64c8 code comments - pref_nbrlist already considers STA beacon report
* fcad7f3 sync description to how it is implemented
* 5c5e0eb establish bssload based steering
* 00d6fa3 placefolders for building topology tree
-------------------------------------------------------------------------------
commit 2c7247a3e9813cd32255980505bfbd4318e225c7
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-19 12:00:54 +0200

    improve neighbor list management

Base directory -> /
 src/agent.c         | 56 +++++++++++++++++++++++++++++++++--------------------
 src/default_rules.c |  4 ++--
 2 files changed, 37 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit 68c5fa5e7ed84c7988cd592c13c5ca1c05a61196
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-18 12:26:20 +0200

    use 'wifix' ubus object instead of 'wifi'

Base directory -> /
 src/agent.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 06de2f3e924fd24d8ae0dfe94ebe335641a093f8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-17 16:32:49 +0200

    improve steer-rule matching algos

Base directory -> /
 src/NOTES.txt       |  2 +-
 src/agent.c         | 40 ++++++++++++-------------
 src/default_rules.c | 84 +++++++++++++++++++++++++++++++++++++++++++----------
 src/rules.h         |  4 ++-
 4 files changed, 92 insertions(+), 38 deletions(-)
-------------------------------------------------------------------------------
commit 65e64c858d22e6f6876012ecac5ac90832d5cce6
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-17 10:17:42 +0200

    code comments - pref_nbrlist already considers STA beacon report

Base directory -> /
 src/default_rules.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit fcad7f3e977ab51cd3646a773c58a2862a528c6a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-17 09:52:22 +0200

    sync description to how it is implemented

Base directory -> /
 src/NOTES.txt | 42 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 5c5e0eba63a2f5bea3c32a11e39d49b5d2bfeb60
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-17 09:32:12 +0200

    establish bssload based steering

Base directory -> /
 src/default_rules.c | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 00d6fa3bc0a6974099971e7bb53c5a98067de17f
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-13 17:14:07 +0200

    placefolders for building topology tree

Base directory -> /
 src/cntlr.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
 src/cntlr.h |   7 ++-
 2 files changed, 128 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
2018-09-19 16:37:32 +02:00
Anjan Chanda
d133acfa62 Update feed [ feed_inteno_packages ] package [ wifimngr ]
-------------------------------------------------------------------------------
* db3a771 implement 'add_neighbor' method as per new API
* 1527d8b rename ubus object to 'wifix'
* 0a9f873 change ubus object name to 'yifi'
-------------------------------------------------------------------------------
commit db3a771214f6e5d2b68f5889e7ea7d0cb10b68b8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-19 10:05:39 +0200

    implement 'add_neighbor' method as per new API

Base directory -> /
 wifimngr.c      | 42 +++++++++++++++++++++++++++++++++---------
 wifimngr_wifi.c |  5 ++---
 wifimngr_wifi.h |  3 +--
 3 files changed, 36 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 1527d8bdd2aa4cf968bb334dfb208643b97a024c
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-18 12:20:10 +0200

    rename ubus object to 'wifix'

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0a9f873b333678fe76446760c0166206e6e445c8
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-14 09:20:53 +0200

    change ubus object name to 'yifi'

Base directory -> /
 wifimngr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-09-19 16:37:02 +02:00
Anjan Chanda
235ed8111a Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* 82a7a7e libwifi: change 'wifi_add_neighbor' API definition
* afb90f8 libwifi: bcm: neighbor_list from scanresults
* 2bc0d48 return zero initialized values in list_ apis
* 4d014e8 fix neighbor details in BTM request
-------------------------------------------------------------------------------
commit 82a7a7e2106560af855afe08c850be6f17664608
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-19 10:08:20 +0200

    libwifi: change 'wifi_add_neighbor' API definition

Base directory -> /
 libwifi/bcm.c  | 39 +++++++++++++++++++++++++++++++++++++++
 libwifi/mtk.c  | 32 ++++++++++++++++++++++++++++++++
 libwifi/wifi.c |  5 ++---
 libwifi/wifi.h | 22 +++++++++-------------
 4 files changed, 82 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit afb90f885d2943320f61a6a00d87372585689f97
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-18 21:39:06 +0200

    libwifi: bcm: neighbor_list from scanresults

Base directory -> /
 libwifi/bcm.c | 178 +++++++++++++++++++++++++++-------------------------------
 1 file changed, 83 insertions(+), 95 deletions(-)
-------------------------------------------------------------------------------
commit 2bc0d48ea5ef6695db4b332541ca1fd662b4be62
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-18 12:03:12 +0200

    return zero initialized values in list_ apis

Base directory -> /
 libwifi/bcm.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 4d014e8a98226b387e95f3a7f1a3f9eaabfaa5f3
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-18 11:12:47 +0200

    fix neighbor details in BTM request

Base directory -> /
 libwifi/bcm.c | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2018-09-19 16:36:30 +02:00
Kent Ekholm
44a6239d1a A timeout of 20 seconds for incoming calls will be set if CFBS is enabled.
That will make the call be forwarded after 20 seconds.
When CFBS is not enabled will the incoming call continue to to ring.

Ref: #15812
2018-09-19 15:32:45 +02:00
Kenneth Johansson
6f01d2ddec u-boot: fix dependencies 2018-09-19 15:18:08 +02:00
Ronny Nilsson
f9d0b4192c Dect: path to natalie module has changed in Iopsys 4. 2018-09-19 15:07:16 +02:00
Kenneth Johansson
3fe5c42fab u-boot: fix dependencies 2018-09-19 14:31:21 +02:00
Kenneth Johansson
31e91d4b79 ex400: switch active bank on reset press. 2018-09-19 13:26:17 +02:00
Robin Stjerndorff
5008ffc6ff tptest: improve error checking 2018-09-18 16:18:12 +02:00
Kent Ekholm
29c4ae9114 Making endcall macro handle empty arguments.
Ref: 15326
2018-09-18 13:33:01 +02:00
Reidar Cederqvist
6fdf6ea816 iop: change juci theme from inteno to iopsys ref #15778 2018-09-17 19:53:34 +00:00
Ronny Nilsson
3cf26558df Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 501eeb6 Type fix.
* 9ff37c8 Inform Broadcom DSP HAL whether Dect audio should be enabled. Must be done only when the Dect radio is active or other PCM audio sources break.
-------------------------------------------------------------------------------
commit 501eeb6c39b6f18c0d1e50e796dd4664273cfad8
Author: Ronny Nilsson <ronny.nilsson@iopsys.eu>
Date: 2018-09-10 17:13:07 +0200

    Type fix.

Base directory -> /
 src/connection_init.c | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
commit 9ff37c8535785a7f5501095cea2fdce363312232
Author: Ronny Nilsson <ronny.nilsson@iopsys.eu>
Date: 2018-09-10 17:11:48 +0200

    Inform Broadcom DSP HAL whether Dect audio should be enabled. Must be done
    only when the Dect radio is active or other PCM audio sources break.

Base directory -> /
 src/connection_init.c | 59 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 43 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2018-09-14 16:26:48 +02:00
Kenneth Johansson
8df30d7d16 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 505b9eb To boot on grx550 board the last M is important.
-------------------------------------------------------------------------------
commit 505b9ebb3d3f620e46f16a9b7b364ecc64256c2f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2018-09-14 15:52:56 +0200

    To boot on grx550 board the last M is important.

Base directory -> /
 include/configs/iopsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-09-14 16:01:49 +02:00
Ronny Nilsson
8f5720f5d4 Dect: enable Dect by default in Broadcom MIPS.
refs #13885
2018-09-14 15:46:18 +02:00
Anjan Chanda
fac188e2a1 wifilife: migrate to dev.iopsys.eu 2018-09-14 13:26:26 +02:00
Jonas Höglund
ab29985231 config: Replace busybox ip with ip-full 2018-09-14 10:04:29 +02:00
Sukru Senli
0176f77da7 icwmp: iopsified default config 2018-09-13 15:38:27 +02:00
Sukru Senli
c324db6b3a iop: select netmode instead of inteno-netmodes 2018-09-13 15:20:44 +02:00
Sukru Senli
5af7fbaef1 netmode: less netmodes for iopsys default 2018-09-13 15:19:14 +02:00
Sukru Senli
1904fce7f0 netmode: package name changed 2018-09-13 15:13:59 +02:00
Sukru Senli
c662cb800c samba3: update default config 2018-09-13 15:06:06 +02:00
Sukru Senli
db69b85a44 icwmp: fixes XMPP timeout issue 2018-09-13 14:26:32 +02:00
Anjan Chanda
ea242c4152 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* 46475d6 improve logging
-------------------------------------------------------------------------------
commit 46475d68e631f1befc4c8550eb6e414f4d9b5a77
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-13 09:29:38 +0200

    improve logging

Base directory -> /
 libwifi/Makefile |  2 +-
 libwifi/bcm.c    | 41 +++++++++++++++++++++----------------
 libwifi/debug.c  | 20 ++++++++++++++++++
 libwifi/debug.h  | 19 +++++++++++++++++
 libwifi/mtk.c    | 62 ++++++++++++++++++++++++++++++--------------------------
 5 files changed, 96 insertions(+), 48 deletions(-)
-------------------------------------------------------------------------------
2018-09-13 10:04:12 +02:00
Anjan Chanda
72470fb669 iop-lla-libs: add config options 2018-09-13 10:01:42 +02:00
Kenneth Johansson
9b25b48eb5 uboot: add support for compiling grx500. 2018-09-12 22:45:15 +02:00
Kenneth Johansson
6c85dbdf82 genconfig: grx overrides.
Some packages do not compile.
2018-09-12 16:55:07 +02:00
Kenneth Johansson
bf9a6cfbbe questd: hack to make it compile on grx boards.
needs to be fixed it wont actually run.
2018-09-11 18:27:24 +02:00
Kenneth Johansson
905d8c3876 genconfig: add grx00 2018-09-11 15:58:41 +02:00
Kenneth Johansson
16b0d830e0 update_package: got confused if there was no git hash. 2018-09-10 17:43:03 +02:00
Jonas Höglund
aedc40a688 Set WAN port to switch port 6 for ex400 2018-09-10 16:46:57 +02:00
Ronny Nilsson
de5ce5200a Modified compiler flags for both Natalie and Dectmngr2 due to
either UBUS or Busmail was broken.
2018-09-10 15:27:59 +02:00
Sukru Senli
9b904cb60e icwmp: trigger reload of icwmp if option 43 received url has changed 2018-09-08 13:44:54 +02:00
Ronny Nilsson
07ac6e3944 Dect: Add Natalie version string. 2018-09-07 16:53:49 +02:00
Ronny Nilsson
1e0a33f94b Dectmngr2 build parallell. 2018-09-06 16:19:38 +02:00
Ronny Nilsson
950ef5db5f Change method for finding out version of Broadcom SDK in use. 2018-09-06 16:19:10 +02:00
Ronny Nilsson
f8d9b81bd8 Natalie Dect for for MIPS is almost working.
refs #13885
2018-09-06 15:36:23 +02:00
Anjan Chanda
22987c2002 Update feed [ feed_inteno_packages ] package [ wifilife ]
-------------------------------------------------------------------------------
* 7875239 construct neighbor entry details
* 3717549 include iopsys copyright header
-------------------------------------------------------------------------------
commit 78752399841a4309c23d9dbf092857921b97be27
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-09-05 14:02:31 +0200

    construct neighbor entry details

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

    include iopsys copyright header

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

    add .gitgnore file

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

    allow scanresults upto 256 entries

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

    add .gitignore file

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

    improve sta steering verdict for rssi

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

    add legacy steering config options

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

    get tx/rx stats for stas

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

    add .gitignore file

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

    fix netif config and add debug prints

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

    implement legacy AP steering for STAs

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

    replace fprintfs with dbg prints

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

    skip to next rule if sta's rssi above threshold

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

    handle controller initiated steer opportunity

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

    implement wifi.agent's steer ubus method

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

    bound rssi array to ANT_MAX

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

    libwifi: mtk: implement API get_bss_info()

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

    libwifi: bcm: implement API get_bss_info()

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

    libwifi: add new API wifi_get_bss_info()

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

    improve signal handling and reload logic

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

    swap to fix exclude-list stas

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

    cleanup debug prints

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

    debug function to dump agent's config

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

    load config from uci configs

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

    list_flush() to delete all list entries

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

    fix corruption in hwmodes array

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

    report bssload in scan results

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

    'stas' method show for a specific sta too

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

    libwifi: bcm: return enhanced scan results with bssload info

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

    libwifi: mtk: return enhanced scan results with bssload info

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

    libwifi: add load and rssi info in bss struct

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

    libwifi: mtk: fallback to basic if enhanced stainfo unavailable

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

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

    This reverts commit ddaaafa5cd5a6b4fbeb554afd03e982559ceab88.

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

    use mac as ubusx event prefix refs #15472

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

    use mac as ubusx object prefix refs #15472

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

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

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

    wsubus: match origin case insensitively refs #15501

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

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

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

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

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

    format neighbor-list to array type

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

    show maxrate and airtime

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

    libdsl: bcm: remove testmode and add start/stop

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

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

    libethernet: add copyright and license information

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

    libdsl: remove dsl.h

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

    libdsl: add copyright and license information

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

    libwifi: add copyright and license information

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

    libwifi: mtk: support enhanced STA info

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

    libethernet: add Makefile

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

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

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

    Merge branch 'processes' into devel refs #14911

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

    remove unused variables

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

    fix variable types

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

    proper error check for asprintf and fscanf

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

    remove unused variable fstat

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

    use a single place for adding the values to the blobmsg

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

    fix coding style according to checkpatch.pl

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

    Add priority and cputime to ubus router.system processes

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

    Added handling of congestion dial tone.

    Ref: #14703

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

    Ticket refs #14844: Software Development

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

    Ticket refs #15238: Fixing some issues in XMPP object

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

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

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

    Indentation cleanup

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

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

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

    Merge branch 'ubusx_acl' into devel

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

    fix checkpatch.pl warnings and errors

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

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

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

    replace printf with lwsl_notice

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

    fix compile warnings: type cast

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

    implement ubusx_acl__add_object to the avl tree

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

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

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

    add include ubusx_acl.h in main.c

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

    add ubusx_acl__add_objects method

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

    add the -X option: ubusx acl

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

    add the avl tree to keep the object names

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

    add ubusx_acl to makefile

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

    initial add ubusx_acl files

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

    call the ubusx_acl methods

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

    Create new vhost on -i if iface already defined

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

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

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

    Fix nr_tests option to work correctly

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

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

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

    add more 'wifi' methods

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

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

    libwifi: add chlist and drvlist files

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

    Interval option now supports decimal number

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

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

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

    Implemented string_regex matching option

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

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

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

    Improve monitor tests to be more robust

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

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

    Change internal handling of match options

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

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

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

    Rearrange #include locations

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

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

    Rename a test config file

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

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

    Updated Dockerfile to build consistent environment

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

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

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

    allow OpenSSH login without password and set port map

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

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

    add sudo when running make test or make test_coverage

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

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

    change exec call in README.md

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

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

    change Dockerfile exec label

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

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

    add strace

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

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

    implement string_not_match

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

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

    bump to newest CMocka 1.1.1

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

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

    configure user sudo

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

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

    write 'Development Workflow' chapter

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

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

    test that a process is running after the execute is called

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

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

    add a note regarding usage of make format with root user

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

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

    add NetBeans IDE project folder to ignore list

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

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

    format the code using project code style

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

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

    map host user to a container

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

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

    integrate automatic code style check and correction

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

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

    add missing static keyword

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

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

    use system call insted of ubus for execute

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

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

    Unify whitespaces across files

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

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

    add OpenSSH server into Dockerfile

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

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

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

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

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

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

    fix some text in comments

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

    Added country settings for Croatia.

    Ref: #14703

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

    mediatek: use correct file for 5G ApCli interface

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

    zero-out the buffer before initializing it

Base directory -> /
 netmoded.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2018-04-19 12:40:35 +02:00
Ionuț-Alex Oprea
3b1fd5d4b5 iup: dhcp_option_relay: do not output to console 2018-04-17 16:18:18 +02:00
Ionuț-Alex Oprea
2e769a153c iup: add dhcp_option_relay refs #14666 2018-04-17 16:10:51 +02:00
Kent Ekholm
04e772ce31 Added indications for croatia. 2018-04-17 16:08:18 +02:00
Sukru Senli
2608ceb6f7 inteno-netmodes: testnet: log connection status when changed 2018-04-17 16:08:16 +02:00
Sukru Senli
dae658ecef owsd: do not install uci-default script 2018-04-17 16:08:13 +02:00
Kent Ekholm
445e56309a Added codes for Croatia. 2018-04-17 13:08:27 +02:00
Sukru Senli
b472992872 icwmp: fix SoftwareVersion parameter 2018-04-13 13:28:34 +02:00
Sukru Senli
568e9fb3e3 icwmp-4.0-2018-04-13 2018-04-13 09:20:32 +02:00
Sukru Senli
ad553e8e22 SDX810-RG: select CONFIG_TARGET_NO_DSL #14709 2018-04-12 14:51:06 +02:00
207 changed files with 5465 additions and 2282 deletions

View File

@@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f614cba983d827d5185c60a6a5a35530621d44d2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/ated
PKG_SOURCE_URL:=https://dev.iopsys.eu/mediatek/ated.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

Binary file not shown.

View File

@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_VERSION:=1.3.0
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=ace6a3dcb6aa463cf5a34ad39ac37a5bc7d4ce5e
PKG_SOURCE_VERSION:=5a5c94b289c79bc3a635b8d742dd9b73dcc0615f
PKG_NAME:=dectmngr2
@@ -21,6 +21,7 @@ export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
@@ -28,7 +29,7 @@ define Package/dectmngr2
CATEGORY:=Utilities
TITLE:=Dectmngr2
URL:=
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus +libpicoevent
endef
define Package/dectmngr2/description
@@ -41,6 +42,7 @@ define Package/dectmngr2/install
$(INSTALL_DIR) $(1)/etc/dect/
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/etc/uci-defaults/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dectmngr2 $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/target.bin $(1)/etc/dect/
@@ -48,6 +50,7 @@ define Package/dectmngr2/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dect $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dectmngr-wrapper.sh $(1)/usr/sbin/
$(CP) ./files/dect.config $(1)/etc/config/dect
$(CP) ./files/etc/uci-defaults/* $(1)/etc/uci-defaults/
endef
$(eval $(call BuildPackage,dectmngr2))

View File

@@ -0,0 +1,23 @@
#!/bin/sh
# Workaround for product DG400 which has an
# incorrect value in nvram from factory.
if [ -e "/proc/nvram/BoardId" ]; then
boardid=$(cat /proc/nvram/BoardId)
ulBoardStuffOption=$(cat /proc/nvram/ulBoardStuffOption)
if [ "$boardid" = "DG400R0" -a "$ulBoardStuffOption" = "0xffffffff" ]; then
echo "0xfffffff2" >/proc/nvram/ulBoardStuffOption
db -q batch <<-EOT
set hw.board.hasDect=1
commit hw.board
EOT
fi
fi
exit 0

78
dslmngr/Makefile Normal file
View File

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

37
easy-qos/Makefile Normal file
View File

@@ -0,0 +1,37 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=easy-qos
PKG_VERSION:=1.0
PKG_RELEASE:=0
include $(INCLUDE_DIR)/package.mk
define Package/easy-qos
SECTION:=net
CATEGORY:=Network
TITLE:=Easy QoS
endef
define Package/easy-qos/description
This package contains Easy QoS utitie
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/
$(CP) ./files/etc/init.d/easy_qos.iptables $(1)/etc/init.d/easy_qos
$(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,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" ]; 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" ]; 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 OUTPUT|grep -m 1 MARK |sed 's/-A/-D/1')
while [ -n "${rule}" ]; do
exec_log iptables -t mangle ${rule}
rule=$(iptables -t mangle -S OUTPUT|grep -m 1 MARK |sed 's/-A/-D/1')
done
}
check_and_create() {
iptables -t mangle -C OUTPUT ${@} 2>/dev/null
# Create rule if not exists
if [ ${?} -ne 0 ]; then
exec_log iptables -t mangle -A OUTPUT ${@}
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" ]; 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

23
easy-soc-libs/Config.in Normal file
View File

@@ -0,0 +1,23 @@
if (PACKAGE_libwifi || PACKAGE_libdsl || PACKAGE_libethernet)
menu "configurations"
config IOP_LLA_LIBS_DEBUG
bool "Enable debugging support"
default n
config LIBWIFI_DEBUG
depends on PACKAGE_libwifi
bool "Enable wifi debugging"
default n
config LIBDSL_DEBUG
depends on PACKAGE_libdsl
bool "Enable xdsl debugging"
default n
config LIBDSL_TEST
depends on PACKAGE_libdsl
bool "Libdsl test program"
default n
endmenu
endif

159
easy-soc-libs/Makefile Normal file
View File

@@ -0,0 +1,159 @@
#
# Copyright (C) 2018 Iopsys
#
include $(TOPDIR)/rules.mk
PKG_NAME:=easy-soc-libs
PKG_VERSION:=1.0.1
PKG_RELEASE:=1
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c656cd47a9f911cfe3946e3d4a374b4ae9e5d801
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/easy-soc-libs.git
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@inteno.se>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
endif
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/easy-soc-libs
SECTION:=libs
CATEGORY:=Libraries
TITLE:=IOPSYS easy SoC libraries
SUBMENU:=IOPSYS easy SoC libraries
DEPENDS:=+libopenssl
MENU:=1
endef
define Package/libwifi/config
source "$(SOURCE)/Config.in"
endef
define Package/libwifi
$(call Package/easy-soc-libs)
TITLE:= WiFi library (libwifi)
DEPENDS+=+TARGET_intel_mips:libnl +TARGET_intel_mips:libnl-route
endef
define Package/libethernet
$(call Package/easy-soc-libs)
TITLE:= Ethernet library (libethernet)
DEPENDS+=+TARGET_iopsys_ramips:swconfig
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_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
endef
subdirs := \
$(if $(CONFIG_PACKAGE_libwifi),libwifi) \
$(if $(CONFIG_PACKAGE_libdsl),libdsl) \
$(if $(CONFIG_PACKAGE_libethernet),libethernet)
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/openssl \
-I$(STAGING_DIR)/usr/include/libnl3
MAKE_FLAGS += \
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/
endef
define Build/InstallDev/libdsl
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdsl/xdsl.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
endef
define Build/InstallDev/libethernet
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libethernet/ethernet.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so $(1)/usr/lib/
endef
define Build/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));)
endef
define Package/libwifi/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
endef
define Package/libethernet/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so* $(1)/usr/lib/
endef
define Package/libdsl/install
$(INSTALL_DIR) $(1)/usr/lib
$(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))
$(eval $(call BuildPackage,libdsl))
$(eval $(call BuildPackage,libethernet))

View File

@@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=fa9ba5d7c942571ae6e44eb7bb5dae2c9b9e8ca4
PKG_VERSION:=0.2
PKG_SOURCE_VERSION:=631e61b7ab5d86f2f4c86756a117badff9fb0f2c
ifeq ($(CONFIG_ENDPT_OPEN),y)
@@ -18,7 +18,7 @@ PKG_SOURCE:=endptmngr-$(BRCM_KERNEL_PROFILE)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_NAME:=endptmngr-open
else
PKG_SOURCE_URL:=git@private.inteno.se:endptmngr
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/endptmngr
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_NAME:=endptmngr

View File

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

View File

@@ -1,49 +0,0 @@
#
# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=eventlog
PKG_VERSION:=0.2.9
PKG_RELEASE:=2
PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/eventlog/0.2/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_MD5SUM:=76e3d7a0b8f335c12099e9b91191fbf1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libeventlog
SECTION:=libs
CATEGORY:=Libraries
TITLE:=A new API to format and send structured log messages.
endef
define Package/eventlog/description
A new API to format and send structured log messages. It supports multiple message
representations (plain, XML attributes and XML tags) and multiple output methods
(local syslogd).
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/eventlog $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/eventlog.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libeventlog/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libeventlog))

View File

@@ -5,7 +5,7 @@ PKG_NAME:=gigaset-elements
PKG_VERSION:=2.4.2
# PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_GIGASET_ELEMENTS_SRC_URL ?= git@public.inteno.se:gigaset-elements.git
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)

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:=Genexis
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 1 // 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

@@ -19,14 +19,14 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=5.0.3
PKG_RELEASE:=RC5
BASE_PKG_VERSION:=5.3.6
PKG_RELEASE:=
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=a7f40bfd47d0ce3f3c002460e3c83ffc821ac1e4
PKG_SOURCE_VERSION:=94aab1532fef2caf2d65579614fc413252a517eb
ifeq ($(CONFIG_ICE_OPEN),y)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/

View File

@@ -7,6 +7,9 @@ grep -rq "^ice:" /etc/passwd || {
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
@@ -16,7 +19,7 @@ cat >> /etc/config/rpcd << EOF
config login
option username 'ice'
option password '\$p\$ice'
list _access_r 'none'
list _access_w 'none'
list write 'user-user'
list write 'juci-broadcom-dsl'
list write 'juci-broadcom-dsl-admin'
@@ -63,5 +66,9 @@ config login
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

4
icwmp/Config_cwmp.in Executable file → Normal file
View File

@@ -27,5 +27,9 @@ config CWMP_DEVEL_DEBUG
bool "Compile with development debug options"
default n
config LIBDATAMODEL_VENDOR_PREFIX
string "Vendor Prefix"
default "X_IOPSYS_EU_"
endif

0
icwmp/Config_datamodel.in Executable file → Normal file
View File

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=4.0-2018-04-09
PKG_VERSION:=4.0-2019-05-21
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=cfbec44903f66dc53e2d560d1a4cde42dca923f4
PKG_SOURCE_VERSION:=3ae6954f55e90a339561719a0328c0cf3a4b018c
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -37,6 +37,33 @@ define Package/libdatamodel
DEPENDS:=+libuci +libubox +libubus +libblobmsg-json +libjson-c
endef
define Package/icwmp_stun
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 stun Client
DEPENDS:=+libubus +libuci +libubox +libjson-c +libopenssl +libblobmsg-json
endef
define Package/icwmp_xmpp
SECTION:=utils
CATEGORY:=Utilities
TITLE:=TR-069 xmpp feature
DEPENDS:=+libuci +libubox +libexpat +libstrophe
endef
define Package/icwmp_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/Default
SECTION:=utils
@@ -82,6 +109,8 @@ 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
@@ -170,6 +199,42 @@ endif
$(CP) ./files/* $(1)/
endef
define Package/icwmp_stun/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_stund $(1)/usr/sbin/icwmp_stund
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_stund $(1)/etc/init.d/icwmp_stund
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_stun $(1)/etc/config
endef
define Package/icwmp_xmpp/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_xmppd $(1)/usr/sbin/icwmp_xmppd
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmp_xmppd $(1)/etc/init.d/icwmp_xmppd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp_xmpp $(1)/etc/config
endef
define 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 Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/include/libdatamodel
@@ -203,4 +268,8 @@ 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-zstream))

View File

@@ -6,7 +6,15 @@
[ -f /etc/config/cwmp ] || exit 0
handle_icwmp_reload() {
handle_icwmp_restart() {
[ -f /tmp/switching_mode ] && exit 0
[ -f /tmp/wificontrol.txt -a -f /tmp/netmode-conf.pid ] && exit 0
[ "$INTERFACE" == "loopback" ] && exit 0
local defwan=$(uci -q get cwmp.cpe.default_wan_interface)
[ -n "$defwan" -a "$(uci -q get network.$defwan)" == "interface" -a "$defwan" != "$INTERFACE" ] && exit 0
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" == "1" ] && exit 0
@@ -48,10 +56,32 @@ handle_icwmp_reload() {
network_get_dnsserver curdnsservers $INTERFACE
[ -n "$curdnsservers" ] && echo $curdnsservers > $dnsserverfile || rm -f $dnsserverfile
[ "$previpaddr" = "$curipaddr" -a "$prevgateway" = "$curgateway" -a "$prevsubnets" = "$cursubnets" -a "$prevdnsservers" = "$curdnsservers" ] && exit 0
local prevdev=""
local curdev=""
local devfile=/tmp/ipv4/$INTERFACE-dev
prevdev=$(cat $devfile 2>/dev/null)
network_get_device curdev $INTERFACE
[ -n "$curdev" ] && echo $curdev > $devfile || rm -f $devfile
local prevopt43url=""
local curopt43url=""
local opt43urlfile=/tmp/ipv4/$INTERFACE-opt43url
prevopt43url=$(cat $opt43urlfile 2>/dev/null)
curopt43url="$(uci -P /var/state -q get cwmp.acs.dhcp_url)"
[ -n "$curopt43url" ] && echo $curopt43url > $opt43urlfile || rm -f $opt43urlfile
[ \
"$prevdev" == "$curdev" -a \
"$previpaddr" = "$curipaddr" -a \
"$prevgateway" = "$curgateway" -a \
"$prevsubnets" = "$cursubnets" -a \
"$prevdnsservers" = "$curdnsservers" \
] && {
[ "$prevopt43url" = "$curopt43url" ] && exit 0
[ -z "$prevopt43url" ] && exit 0
}
/etc/init.d/icwmpd reload &
}
handle_icwmp_reload
handle_icwmp_restart

52
ifbt/Makefile Normal file
View File

@@ -0,0 +1,52 @@
#
# Copyright (C) 2018 iopsys Software Solutions AB
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ifbt
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=0286812ed8036dea758f904694dc416481fba64d
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/ifbt.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM:=-DIOPSYS_BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM:=-DIOPSYS_BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
TARGET_PLATFORM:=-DIOPSYS_MARVELL
else ifeq ($(CONFIG_TARGET_intel_mips),y)
TARGET_PLATFORM:=-DIOPSYS_INTEL
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_PLATFORM:=-DIOPSYS_MEDIATEK
else
$(info (UNEXPECTED CONFIG TARGET))
endif
export TARGET_PLATFORM
define Package/ifbt
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +libubus +libblobmsg-json +libjson-c +libwifi +libjson-c
TITLE:=Fast BSS Transition
endef
define Package/ifbt/description
ifbt is Iopsys application for fast BSS transition
endef
define Package/ifbt/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ifbt $(1)/sbin/
endef
$(eval $(call BuildPackage,ifbt))

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2018 Inteno
# Copyright (C) 2018 iopsys
#
include $(TOPDIR)/rules.mk
@@ -11,11 +11,10 @@ PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_SOURCE_PROTO=git
PKG_SOURCE_URL:=http://public.inteno.se/imonitor.git
PKG_SOURCE_VERSION:=defec6849fb987619fc7fd9295895f4f0b9db5a9
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
@@ -24,7 +23,7 @@ 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,8 +1,9 @@
config monitor
option app 'test'
option test 'echo test'
option stream 'stdout'
option string_match 'test'
option execute 'echo executing'
option interval '10'
option nr_tests '2'
option app 'test'
option test 'echo test'
option stream 'stdout'
option string_match 'TEST'
option execute 'echo executing test'
option interval '10'
option nr_tests '2'

View File

@@ -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,9 +12,9 @@ PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f81c146f0b07540877545e5ab644ec8e29905a4d
PKG_SOURCE_VERSION:=665a72a6bb2b5ea5a17ad6248957fe35525b3782
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/inbd
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/inbd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -34,7 +34,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

@@ -1,23 +0,0 @@
{
"description": [
{ "en" : "VoIP + Bridged IPTV" },
{ "sv" : "VoIP + Brygg IPTV" }
],
"explanation": [
{ "en" : "VoIP on dedicated VLAN + LAN4 port is bridged with IPTV VLAN" },
{ "sv" : "VoIP on dedicated VLAN + LAN4 port överbryggas med IPTV VLAN" }
],
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301",
"EX400",
"F*",
"SDX810-AP"
],
"acl" : [
"admin",
"support"
]
}

View File

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

View File

@@ -1,18 +0,0 @@
config mcpd 'mcpd'
option igmp_query_response_interval '10'
option igmp_last_member_query_interval '10'
option igmp_robustness_value '2'
option igmp_lan_to_lan_multicast '0'
option igmp_max_groups '25'
option igmp_max_sources '10'
option igmp_max_members '25'
option igmp_fast_leave '1'
option igmp_join_immediate '0'
option igmp_proxy_enable '0'
option igmp_snooping_enable '2'
option igmp_snooping_interfaces 'br-iptv'
option igmp_default_version '2'
option igmp_query_interval '120'
option igmp_proxy_interfaces 'iptv'

View File

@@ -1,88 +0,0 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ifname '$LAN1 $LAN2 $LAN3'
option ip6assign '60'
config interface 'wan'
option type 'anywan'
option proto 'dhcp'
option vendorid '$HARDWAREID-INTENO'
option hostname 'Inteno_$MAC4'
option ifname 'ptm0.1 atm0.1 $WAN.1'
option ipv6 '1'
config interface 'iptv'
option type 'bridge'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.100 $WAN.100 $LAN4'
option defaultroute '0'
config interface 'voip'
option type 'anywan'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.200 $WAN.200'
option defaultroute '0'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
config device 'atmwan'
option type 'untagged'
option ifname 'atm0'
option name 'atm0.1'
config device 'ptmwan'
option type 'untagged'
option ifname 'ptm0'
option name 'ptm0.1'
config device 'ethwan'
option type 'untagged'
option ifname '$WAN'
option name '$WAN.1'
config device 'ethtv'
option type '8021q'
option name '$WAN.100'
option ifname '$WAN'
option vid '100'
option priority '0'
config device 'ptmtv'
option type '8021q'
option name 'ptm0.100'
option ifname 'ptm0'
option vid '100'
option priority '0'
config device 'ethvoip'
option type '8021q'
option name '$WAN.200'
option ifname '$WAN'
option vid '200'
option priority '0'
config device 'ptmvoip'
option type '8021q'
option name 'ptm0.200'
option ifname 'ptm0'
option vid '200'
option priority '0'

View File

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

View File

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

View File

@@ -1,93 +0,0 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '1'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option ifname 'wl1'

View File

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

View File

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

View File

@@ -1,108 +0,0 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '1'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'
config wifi-iface
option device 'wl1'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl1'

View File

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

View File

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

View File

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

View File

@@ -1,95 +0,0 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '1'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '1'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'lan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl0'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '1'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
config wifi-iface
option device 'wl1'
option network 'lan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'mixed-psk'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option ifname 'wl1'

View File

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

View File

@@ -20,7 +20,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="http://mirror.inteno.se/mirror"
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
@@ -17,54 +15,35 @@ CONFIG_PACKAGE_crashlog=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_ds-lite=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_inteno-netmodes=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=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-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-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
@@ -72,24 +51,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-inteno=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
@@ -97,14 +72,10 @@ 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_odhcp6c=y
@@ -113,7 +84,6 @@ CONFIG_PACKAGE_openssl-util=y
CONFIG_OPENSSL_WITH_COMPRESSION=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_p910nd=y
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
@@ -130,6 +100,7 @@ CONFIG_PACKAGE_rdnssd=y
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rulengd=y
CONFIG_PACKAGE_samba3=y
CONFIG_PACKAGE_samba3-nmbd=y
CONFIG_PACKAGE_snmpd=y
@@ -145,16 +116,19 @@ CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wwan=y
CONFIG_PACKAGE_wlng=y
CONFIG_PACKAGE_libwifi=y
CONFIG_PACKAGE_wifilife=y
CONFIG_PACKAGE_wifimngr=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-europe=y
CONFIG_TARGET_CUSTOMER="INT"
CONFIG_TARGET_CUSTOMER="IOPSYS"
CONFIG_TARGET_ROOTFS_TARGZ=y
# CONFIG_USE_SSTRIP is not set
CONFIG_USE_STRIP=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_ADDUSER=y
CONFIG_BUSYBOX_CONFIG_ARPING=y
CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT=y
CONFIG_BUSYBOX_CONFIG_CTTYHACK=y
CONFIG_BUSYBOX_CONFIG_DELUSER=y
@@ -180,7 +154,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
@@ -194,11 +167,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
@@ -208,10 +179,14 @@ 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
CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y
# CONFIG_SAMBA3_CONFIG_NO_PRINTING is not set
# CONFIG_SIGNED_PACKAGES is not set
CONFIG_KERNEL_DEVTMPFS=y
CONFIG_KERNEL_DEVTMPFS_MOUNT=y
# CONFIG_BUSYBOX_CONFIG_IP is not set
LOCAL_MIRROR="http://download.iopsys.eu/iopsys/mirror/"

View File

@@ -1,38 +0,0 @@
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-mod-admin-core=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-app-ddns=y
CONFIG_PACKAGE_luci-app-dslstats=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-iup=y
CONFIG_PACKAGE_luci-app-mcpd=y
CONFIG_PACKAGE_luci-app-minidlna=y
CONFIG_PACKAGE_luci-app-multiwan=y
CONFIG_PACKAGE_luci-app-p910nd=y
CONFIG_PACKAGE_luci-app-parental-control=y
CONFIG_PACKAGE_luci-app-port-management=y
CONFIG_PACKAGE_luci-app-power-mgmt=y
CONFIG_PACKAGE_luci-app-samba=y
CONFIG_PACKAGE_luci-app-sfp=y
CONFIG_PACKAGE_luci-app-snmp=y
CONFIG_PACKAGE_luci-app-speedtest=y
CONFIG_PACKAGE_luci-app-upnp=y
CONFIG_PACKAGE_luci-app-voice=y
CONFIG_PACKAGE_luci-theme-base=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_luci-i18n-english=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-4g=y
CONFIG_PACKAGE_luci-proto-core=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-sgi-cgi=y
CONFIG_PACKAGE_luci-lib-core=y
CONFIG_PACKAGE_luci-lib-core_source=y
CONFIG_PACKAGE_luci-lib-ipkg=y
CONFIG_PACKAGE_luci-lib-json=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-lib-nixio_notls=y
CONFIG_PACKAGE_luci-lib-sys=y
CONFIG_PACKAGE_luci-lib-web=y

View File

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

View File

@@ -1,3 +0,0 @@
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y

View File

@@ -1,3 +0,0 @@
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y

View File

@@ -1,5 +0,0 @@
CONFIG_BCM_I2C=y
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y
CONFIG_TARGET_NO_DSL=y

View File

@@ -1,4 +0,0 @@
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y
CONFIG_USE_DSL=y
CONFIG_TARGET_DSL_GFAST=y

View File

@@ -1,4 +0,0 @@
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y
CONFIG_USE_DSL=y
CONFIG_TARGET_DSL_GFAST=y

View File

@@ -1,3 +0,0 @@
CONFIG_BCM_ENDPOINT_MODULE=y
CONFIG_TARGET_NO_DECT=y

View File

@@ -1,4 +0,0 @@
CONFIG_TARGET_NO_DSL=y
CONFIG_BCM_I2C=y
CONFIG_BCM_ENDPOINT_MODULE=y

View File

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

View File

@@ -1,4 +0,0 @@
CONFIG_BCM_I2C=y
CONFIG_TARGET_NO_DECT=y
CONFIG_BCM_ENDPOINT_MODULE=y

View File

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

View File

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

View File

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

View File

@@ -1,4 +0,0 @@
CONFIG_TARGET_NO_DSL=y
CONFIG_BCM_I2C=y
CONFIG_BCM_ENDPOINT_MODULE=y

View File

@@ -1,5 +0,0 @@
CONFIG_TARGET_NO_DHD=y
CONFIG_TARGET_NO_VOICE=y
CONFIG_BCM_I2C=y
CONFIG_BCM_ENDPOINT_MODULE=y

View File

@@ -1,14 +0,0 @@
# CONFIG_PACKAGE_libcgroup-daemon is not set
# CONFIG_PACKAGE_libcgroup is not set
# CONFIG_PACKAGE_power-management is not set
# CONFIG_PACKAGE_qos-scripts is not set
# CONFIG_PACKAGE_mtd-utils-deubinize is not set
# CONFIG_PACKAGE_mtd-utils-imagewrite is not set
# CONFIG_PACKAGE_mtd-utils-mkfs.jffs2 is not set
# CONFIG_PACKAGE_mtd-utils-nanddump is not set
CONFIG_PACKAGE_mtd-utils-nandwrite=y
CONFIG_PACKAGE_mtk-bndstrg=y
CONFIG_PACKAGE_omcproxy=y
CONFIG_PACKAGE_kmod-nf-nathelper=y
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
# CONFIG_PACKAGE_endptmngr is not set

View File

@@ -5,14 +5,14 @@
_iop_get_profiles()
{
find feeds/feed_inteno_targets/iopsys-*/ -name '*.diff' \
find feeds/targets/iopsys-*/ -name '*.diff' \
|awk -F'/' '{print$NF}' \
|awk -F. '{print$1}'
}
_iop_get_models()
{
find feeds/feed_inteno_targets/iopsys-*/ -mindepth 1 -maxdepth 1 -type d \
find feeds/targets/iopsys-*/ -mindepth 1 -maxdepth 1 -type d \
|awk -F'/' '{print$NF}' \
|egrep '^(cg|dg|eg|vg|vox)[0-9]'
}
@@ -34,9 +34,8 @@ _iop()
iopcmds="bootstrap cfe_upgrade cfe_upgrade_latest extract_core \
feeds_update genconfig generate_tarballs install_key \
scp_changes setup_host ssh_install_key ssh_sysupgrade \
ssh_sysupgrade_latest ssh_sysupgrade_latest_w status \
update_package update_feed_branches"
scp_changes setup_host ssh_install_key status \
update_package update_feed_branches ssh_upgrade"
if [ $COMP_CWORD -eq 1 ] ; then
@@ -76,7 +75,13 @@ _iop()
fi
return 0
;;
ssh_upgrade)
if [ "$prev" == "-f" ] ; then
_filedir
else
COMPREPLY=( $(compgen -W "-f -t -i -n -x -b" -- ${cur}) )
fi
;;
*)
# No arguments or arguments not supported yet
;;

72
iop/scripts/annexconfig.sh Executable file
View File

@@ -0,0 +1,72 @@
#!/bin/bash
function disable_add_config () {
local COPTION="$1"
HAVE_OPTION=`grep $COPTION .config | wc -l`
HAVE_OPTION_DISABLED=`grep "# $COPTION" .config | wc -l`
if [ "$HAVE_OPTION" = "1" ]
then
if [ "$HAVE_OPTION_DISABLED" = "0" ]
then
sed -i -e "s,$COPTION=y,# $COPTION is not set,g" .config
fi
else
echo "# $COPTION is not set" >> .config
fi
}
function enable_option () {
local COPTION="$1"
# cat .config| grep DSL
sed -i -e "s,# $COPTION is not set,$COPTION=y,g" .config
# cat .config| grep DSL
}
function annexconfig {
v() {
[ "$VERBOSE" -ge 1 ] && echo "$@"
}
local ANNEX="$1"
disable_add_config CONFIG_TARGET_NO_DSL
disable_add_config CONFIG_TARGET_DSL_ANNEX_A
disable_add_config CONFIG_TARGET_DSL_ANNEX_B
disable_add_config CONFIG_TARGET_DSL_ANNEX_C
disable_add_config CONFIG_TARGET_DSL_SADSL
disable_add_config CONFIG_TARGET_DSL_GFAST
if [ "$ANNEX" = "no" ]
then
echo "No DSL"
enable_option CONFIG_TARGET_NO_DSL
elif [ "$ANNEX" = "a" ]
then
echo "Annex A"
enable_option CONFIG_TARGET_DSL_ANNEX_A
elif [ "$ANNEX" = "b" ]
then
echo "Annex B"
enable_option CONFIG_TARGET_DSL_ANNEX_B
elif [ "$ANNEX" = "c" ]
then
echo "Annex C"
enable_option CONFIG_TARGET_DSL_ANNEX_C
elif [ "$ANNEX" = "sadsl" ]
then
echo "sadsl"
enable_option CONFIG_TARGET_DSL_SADSL
elif [ "$ANNEX" = "gfast" ]
then
echo "G.fast"
enable_option CONFIG_TARGET_DSL_GFAST
else
echo "Only option no,a,b,c,sadsl,gfast supported"
fi
}
register_command "annexconfig" "Select configuration annex"

View File

@@ -6,6 +6,7 @@ function build_branch_usage {
echo "usage: $0 build_branch <branch> <board> [<customer>]"
echo "example: $0 build_branch devel-new ex400 DEV"
echo "example: $0 build_branch_sysupgrade devel-new ex400 DEV 192.168.1.1 -n"
set +x
exit 1
}
@@ -17,6 +18,7 @@ function branch_exists {
}
function build_branch {
set -x
local branch=$1
local board=$2
local customer=$3
@@ -35,6 +37,7 @@ time {
./iop feeds_update || build_branch_usage
./iop genconfig -c $board $customer || build_branch_usage
make -j 8 || build_branch_usage
set +x
}
}

View File

@@ -24,7 +24,7 @@ function extract_core {
echo ""
echo "Example: $0 extract_core"
echo " -p package/utils/busybox"
echo " -r feeds/feed_inteno_openwrt"
echo " -r feeds/lede_core"
echo " -b devel"
}

View File

@@ -28,17 +28,19 @@ function feeds_update {
# replace core packages with iopsys versions
if [ $override == 1 ]; then
./scripts/feeds install -f -p feed_inteno_openwrt -a
./scripts/feeds install -f -p feed_inteno_lede -a
./scripts/feeds install -f -p lede_core -a
fi
# targets need to be installed explicitly
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-mips
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-arm
./scripts/feeds install -p feed_inteno_targets iopsys-ramips
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

@@ -7,52 +7,131 @@ function genconfig {
export FILEDIR="files/"
export THEMEDIR="themes"
CURRENT_CONFIG_FILE=".current_config_file"
export CONFIGPATH="package/feeds/feed_inteno_packages/iop/configs"
export CONFIGPATH="package/feeds/iopsys/iop"
CUSTPATH="customerconfigs"
export CUSTCONF="customerconfigs/customers"
export VERBOSE=0
export DEVELOPER=0
LOCAL_MIRROR="http://mirror.inteno.se/mirror"
iopsys_brcm63xx_mips="cg300 cg301 dg150 dg150v2 dg150alv2 dg200 dg200al dg301 dg301al eg300 vg50 vox25 hpc_hu02"
iopsys_brcm63xx_arm="dg400 eg400 sdx810_rg f104w f104 dg400prime dg400primeb 963138REF_P502"
iopsys_ramips="ex400 sdx810_ap"
ramips="mt7621"
target="bogus"
masterconfig=1
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"
set_target()
{
local profile=$1
Red='\033[0;31m' # Red
Color_Off='\033[0m' # Text Reset
Yellow='\033[0;33m' # Yellow
for p in $iopsys_brcm63xx_mips; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_mips"
return
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
done
# option not found return true
return 0
}
for p in $iopsys_brcm63xx_arm; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_arm"
return
fi
done
function verify_config {
IFS=$'\n'
org=$(<.genconfig.config)
unset IFS
local num
local conf_opt
local conf_org
local conf_new
for p in $iopsys_ramips; do
if [ $p == $profile ]; then
target="iopsys_ramips"
return
#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
done
num=$((num+1))
done
}
for p in $ramips; do
if [ $p == $profile ]; then
target="ramips"
masterconfig=0
# Takes a board name and returns the target name in global var $target
set_target() {
local profile=$1
[ -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
for p in $iopsys_brcm63xx_mips; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_mips"
config_path="$brcm63xx_mips/config"
return
fi
done
done
for p in $iopsys_brcm63xx_arm; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_arm"
config_path="$brcm63xx_arm/config"
return
fi
done
for p in $iopsys_ramips; do
if [ $p == $profile ]; then
target="iopsys_ramips"
config_path="$ramips/config"
return
fi
done
for p in $iopsys_intel_mips; do
if [ $p == $profile ]; then
target="intel_mips"
config_path="$intel_mips/config"
return
fi
done
}
@@ -64,17 +143,14 @@ function genconfig {
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 ;;
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
git ls-remote git@private.inteno.se:ice-client.git -q -q 2>/dev/null && iceAllowed=1
}
v() {
@@ -83,19 +159,20 @@ function genconfig {
usage() {
echo
echo 1>&2 "Usage: $0 [ OPTIONS ] < Board_Type > [ Customer ]"
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 " -p|--profile\tSet profile (if exists) default juci"
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 " -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
}
@@ -155,7 +232,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
@@ -186,90 +263,84 @@ function genconfig {
create_and_copy_files()
{
local BOARDTYPE=$1
local CUSTOMER=$2
shift
local CUSTOMERS=$@
# Validate seleced board and customer
# Validate seleced board and customers
set_target $BOARDTYPE
if [ $target == "bogus" ]; then
echo "Hardware profile does not exist"
exit 1
elif [ -n "$CUSTOMER" ]; then
if [ ! -d "$CUSTCONF/$CUSTOMER/" ]; then
echo "Customer profile for '$CUSTOMER' does not exist"
exit 1
elif [ ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "'$BOARDTYPE' board profile does not exist for customer '$CUSTOMER'"
if [ -f "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
echo "Common profile configuration will be used"
else
elif [ -n "$CUSTOMERS" ]; then
for CUSTOMER in $CUSTOMERS; do
if [ ! -d "$CUSTCONF/$CUSTOMER/" ]; then
echo "Customer profile for '$CUSTOMER' does not exist"
exit 1
elif [ ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "'$BOARDTYPE' board profile does not exist for customer '$CUSTOMER'"
if [ -f "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
echo "Common profile configuration will be used"
else
exit 1
fi
fi
fi
done
fi
# Generate base config
# Used only for iopsys targets, not openwrt targets
rm -f .config
if [ $masterconfig -eq 1 ]; then
v "Config $BOARDTYPE selected"
v "cp $CONFIGPATH/config .config"
cp $CONFIGPATH/config .config
v "Config $BOARDTYPE selected"
v "cp $CONFIGPATH/config .config"
cp $CONFIGPATH/config .config
if [ -f $config_path/config ]; then
cat $config_path/config >> .config
fi
if [ -f $config_path/$BOARDTYPE/config ]; then
cat $config_path/$BOARDTYPE/config >> .config
fi
# Add target (soc/board specific )
if [ -f $CONFIGPATH/target/config ]; then
cat $CONFIGPATH/target/config >> .config
fi
if [ -f $CONFIGPATH/target/$target/config ]; then
cat $CONFIGPATH/target/$target/config >> .config
fi
if [ -f $CONFIGPATH/target/$target/$BOARDTYPE/config ]; then
cat $CONFIGPATH/target/$target/$BOARDTYPE/config >> .config
fi
# Apply profile diff to master config if selected
if [ -n "$PROFILE" ]; then
if [ -e "$CONFIGPATH/$PROFILE.diff" ]; then
cat $CONFIGPATH/$PROFILE.diff >> .config
elif [ "$PROFILE" == "juci" ]; then
v "Default profile (juci) is selected."
else
echo "ERROR: profile $PROFILE does not exist!"
exit 1
fi
#special handling for intel_mips which use TARGET_DEVICES
if [ "$target" = "intel_mips" ]; then
subtarget="xrx500"
echo "CONFIG_TARGET_${target}=y" >> .config
echo "CONFIG_TARGET_${target}_${subtarget}=y" >> .config
echo "CONFIG_TARGET_MULTI_PROFILE=y" >> .config
echo "CONFIG_TARGET_PER_DEVICE_ROOTFS=y" >> .config
device=$(echo $BOARDTYPE | tr a-z A-Z)
echo "CONFIG_TARGET_DEVICE_${target}_${subtarget}_DEVICE_${device}=y" >> .config
else
v "No profile selected! Using default."
echo "CONFIG_TARGET_${target}=y" >> .config
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
fi
# Set target and profile
echo "CONFIG_TARGET_${target}=y" >> .config
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
echo "$CUSTOMER $BOARDTYPE" > $CURRENT_CONFIG_FILE
echo "$CUSTOMERS $BOARDTYPE" > $CURRENT_CONFIG_FILE
# Add customerconfig diff if a customer is selected
if [ -n "$CUSTOMER" ]; then
if [ -d "$CUSTCONF/$CUSTOMER/common/fs" ]; then
v "cp -ar $CUSTCONF/$CUSTOMER/common/fs/* $FILEDIR"
cp -ar $CUSTCONF/$CUSTOMER/common/fs/* $FILEDIR
fi
if [ -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/fs" ]; then
v "cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR"
cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR
fi
if [ -d "$CUSTCONF/$CUSTOMER/juci-theme" ]; then
customer="$(echo $CUSTOMER | tr 'A-Z' 'a-z')"
v "cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer"
cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer
fi
if [ -e "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
v "Apply $CUSTCONF/$CUSTOMER/common/common.diff"
cat $CUSTCONF/$CUSTOMER/common/common.diff >> .config
fi
if [ -e "$CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff" ]; then
v "Apply $CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff"
cat $CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff >> .config
fi
if [ -n "$CUSTOMERS" ]; then
for CUSTOMER in $CUSTOMERS; do
if [ -d "$CUSTCONF/$CUSTOMER/common/fs" ]; then
v "cp -ar $CUSTCONF/$CUSTOMER/common/fs/* $FILEDIR"
cp -ar $CUSTCONF/$CUSTOMER/common/fs/* $FILEDIR
fi
if [ -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/fs" ]; then
v "cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR"
cp -ar $CUSTCONF/$CUSTOMER/$BOARDTYPE/fs/* $FILEDIR
fi
if [ -d "$CUSTCONF/$CUSTOMER/juci-theme" ]; then
customer="$(echo $CUSTOMER | tr 'A-Z' 'a-z')"
v "cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer"
cp -ar $CUSTCONF/$CUSTOMER/juci-theme $THEMEDIR/juci-theme-$customer
fi
if [ -e "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
v "Apply $CUSTCONF/$CUSTOMER/common/common.diff"
cat $CUSTCONF/$CUSTOMER/common/common.diff >> .config
fi
if [ -e "$CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff" ]; then
v "Apply $CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff"
cat $CUSTCONF/$CUSTOMER/$BOARDTYPE/$BOARDTYPE.diff >> .config
fi
done
fi
# Set target version
@@ -289,17 +360,24 @@ function genconfig {
[ $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/feed_inteno_juci/juci/Makefile
touch package/feeds/juci/juci/Makefile
# Force regeneration of kernel Makefile
# Needed to disable kmods for iopsys-brcm targets
@@ -309,23 +387,19 @@ function genconfig {
# currently boardparms.c and boardparms_voice.c is the only place that is depending on inteno boardid name
# so just touch that file.
[ -d ./build_dir ] && find build_dir/ -name "boardparms*c" -print0 2>/dev/null | xargs -0 touch 2>/dev/null
# Store generated config
cp .config .genconfig.config
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"
# Temporary fixup for juci/luci profile
if [ "$PROFILE" == "luci" ]; then
sed -i '/CONFIG_DEFAULT_juci/d' .config
sed -i '/CONFIG_PACKAGE_juci/d' .config
sed -i '/CONFIG_PACKAGE_uhttpd/d' .config
fi
if [ $masterconfig -eq 1 ]; then
echo Set version to $(grep -w CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"')
fi
echo Set version to $(grep -w CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"')
# Clean base-file package to force rebuild when changing profile
v "$(make package/base-files/clean 2>&1)"
verify_config
}
####### main #####
@@ -350,9 +424,11 @@ 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;;
-b|--boards)set_target LIST;exit 0;;
-*)
echo "Invalid option: $1 "
echo "Try -h or --help for more information."
@@ -363,10 +439,10 @@ 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 "$1" "$2"
create_and_copy_files "$@"
fi
}

View File

@@ -1,78 +1,96 @@
#!/bin/sh
#!/bin/bash
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith sdkversion
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
sdkversion=${sdkversion:0:4}${sdkversion:(-1)}
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/feed_inteno_broadcom/bcmkernel/${sdkversion:0:5}*.mk | cut -d'=' -f2)
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/broadcom/bcmkernel/${sdkversion:0:5}*.mk | cut -d'=' -f2)
# do not build bcmopen sdk if it was already built before
[ -n "$board" -a -n "$bcmkernelcommith" ] || return
ssh $SERVER "ls $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz" && return
ssh $SERVER "test -f $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz" && return
cd ./build_dir/target-*/bcmkernel-*-${sdkversion:0:4}*/bcm963xx/release
sh do_consumer_release -p $profile -y -F
bash do_consumer_release -p $profile -y -F
tarfile='out/bcm963xx_*_consumer.tar.gz'
[ $(ls -1 $tarfile |wc -l) -ne 1 ] && echo "Too many tar files: '$tarfile'" && return
scp $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
scp -pv $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
ssh $SERVER "[ -f $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz ] && ln -sf $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz $FPATH/bcmopen-$board-$majver.$minver-latest"
rm -f $tarfile
cd $curdir
cd "$curdir"
}
build_natalie_consumer() {
# create natalie-dect open version tar file
local natalieversion nataliecommith
grep -q "CONFIG_TARGET_NO_DECT=y" .config && return
natalieversion=$(grep -w "PKG_VERSION:" ./feeds/feed_inteno_packages/natalie-dect/Makefile | cut -d'=' -f2)
nataliecommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/feed_inteno_packages/natalie-dect/Makefile | cut -d'=' -f2)
natalieversion=$(grep -w "PKG_VERSION:" ./feeds/iopsys/natalie-dect/Makefile | cut -d'=' -f2)
nataliecommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/iopsys/natalie-dect/Makefile | cut -d'=' -f2)
[ -n "$profile" -a -n "$natalieversion" -a -n "$nataliecommith" ] || return
ssh $SERVER "ls $FPATH/natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz" && return
ssh $SERVER "test -f $FPATH/natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz" && return
cd ./build_dir/target-*/natalie-dect-$natalieversion/
mkdir natalie-dect-open-$natalieversion
cp NatalieFpCvm6362/Src/Projects/NatalieV3/FpCvm/Linux6362/dects.ko natalie-dect-open-$natalieversion/dect.ko
cp -f ipkg-*/natalie-dect/lib/modules/*/extra/dect.ko natalie-dect-open-$natalieversion/dect.ko
tar -czv natalie-dect-open-$natalieversion/ -f natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz
scp natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz $SERVER:$FPATH/
scp -pv natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz $SERVER:$FPATH/
cp natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz $curdir/
rm -rf natalie-dect-open-$natalieversion
rm -f natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz
cd $curdir
cd "$curdir"
}
build_endptmngr_consumer() {
# create endptmngr open version tar file
local endptversion endptcommith
grep -q "CONFIG_TARGET_NO_VOICE=y" .config && return
endptversion=$(grep -w "PKG_VERSION:" ./feeds/feed_inteno_packages/endptmngr/Makefile | cut -d'=' -f2)
endptcommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/feed_inteno_packages/endptmngr/Makefile | cut -d'=' -f2)
endptversion=$(grep -w "PKG_VERSION:" ./feeds/iopsys/endptmngr/Makefile | cut -d'=' -f2)
endptcommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/iopsys/endptmngr/Makefile | cut -d'=' -f2)
[ -n "$profile" -a -n "$endptversion" -a -n "$endptcommith" ] || return
ssh $SERVER "ls $FPATH/endptmngr-$profile-$endptversion-$endptcommith.tar.gz" && return
ssh $SERVER "test -f $FPATH/endptmngr-$profile-$endptversion-$endptcommith.tar.gz" && return
cd ./build_dir/target-*/endptmngr-$endptversion/
mkdir endptmngr-open-$endptversion
mkdir endptmngr-open-$endptversion/src
cp ./src/endptmngr endptmngr-open-$endptversion/src
cp -r ./files/ endptmngr-open-$endptversion/
tar -czv endptmngr-open-$endptversion/ -f endptmngr-$profile-$endptversion-$endptcommith.tar.gz
scp endptmngr-$profile-$endptversion-$endptcommith.tar.gz $SERVER:$FPATH/
scp -pv endptmngr-$profile-$endptversion-$endptcommith.tar.gz $SERVER:$FPATH/
cp endptmngr-$profile-$endptversion-$endptcommith.tar.gz $curdir/
rm -rf endptmngr-open-$endptversion
rm -f endptmngr-$profile-$endptversion-$endptcommith.tar.gz
cd $curdir
cd "$curdir"
}
build_ice_consumer() {
# create ice-client open version tar file
local iceversion icebasever icerelease icecommith
icecommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/feed_inteno_packages/ice-client/Makefile | head -1 | cut -d'=' -f2)
icebasever=$(grep -w "BASE_PKG_VERSION:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
icerelease=$(grep -w "PKG_RELEASE:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
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 "ls $FPATH/ice-client-$target-$iceversion-$icecommith.tar.gz" && 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 ice-client-$target-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
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
cd "$curdir"
}
build_wifilife_consumer() {
local ver commit
ver=$(grep -w "PKG_VERSION:" ./feeds/iopsys/wifilife/Makefile | cut -d'=' -f2)
commit=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/iopsys/wifilife/Makefile | cut -d'=' -f2)
[ -n "$ver" -a -n "$commit" ] || return
ssh $SERVER "test -f $FPATH/wifilife-$target-${ver}_${commit}.tar.xz" && return
cd ./build_dir/target-*/wifilife-$ver/ipkg-* || cd ./build_dir/target-mips*musl-*/wifilife-$ver/ipkg-*
mkdir -p wifilife-$ver/src
cp -rf wifilife/usr/sbin/* wifilife-$ver/src/
tar Jcf wifilife-${target}-${ver}_${commit}.tar.xz wifilife-$ver
scp -pv wifilife-$target-${ver}_${commit}.tar.xz $SERVER:$FPATH/
cp wifilife-${target}-${ver}_${commit}.tar.xz $curdir/
rm -rf wifilife-$ver
rm -f wifilife-${target}-${ver}_${commit}.tar.xz
cd "$curdir"
}
build_mediatek_kernel() {
@@ -82,7 +100,7 @@ build_mediatek_kernel() {
kernel_version=$(grep KERNEL_PATCHVER target/linux/iopsys-ramips/Makefile | cut -d '=' -f2)
kernel=linux-${kernel_version}.*
[ -n "$mediatek_commit" ] || return
ssh $SERVER "ls $FPATH/mediatek-kernel-open-$mediatek_commit.tar.gz" && return
ssh $SERVER "test -f $FPATH/mediatek-kernel-open-$mediatek_commit.tar.gz" && return
echo "Building mediatek kernel tarball from kernel commit:"
echo $mediatek_commit
cd build_dir/target-mipsel_1004kc*/linux-iopsys-ramips*/$kernel
@@ -100,8 +118,8 @@ build_mediatek_kernel() {
cd ..
tar -czv $kernel -f mediatek-kernel-open-$mediatek_commit.tar.gz
scp mediatek-kernel-open-$mediatek_commit.tar.gz $SERVER:$FPATH/
cd $curdir
scp -pv mediatek-kernel-open-$mediatek_commit.tar.gz $SERVER:$FPATH/
cd "$curdir"
}
function print_usage {
@@ -114,12 +132,15 @@ function generate_tarballs {
SERVER="god@software.inteno.se"
FPATH="/var/www/html/iopsys/consumer"
set -e
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
target=$(grep CONFIG_TARGET_BOARD .config | cut -d'=' -f2 | tr -d '"')
board=$(grep CONFIG_TARGET_IBOARDID .config | cut -d'=' -f2 | tr -d '"')
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')
curdir=$(pwd)
majver=$(grep CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"' | cut -f1 -d .)
minver=$(grep CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"' | cut -f2 -d .)
curdir="$PWD"
# Execute user command
@@ -149,9 +170,11 @@ function generate_tarballs {
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"
print_usage

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
}

326
iop/scripts/iopupgrade.sh Normal file
View File

@@ -0,0 +1,326 @@
# this is a developer helper script to install firmware on a remote host with SSH
function upd_usage {
echo "usage: $0 iopupgrade -t <host> -f <file> [opts] "
echo ""
echo " Default host is 192.168.1.1"
echo " Default firmware file is the newest one found"
echo " Default is to not keep configuration"
echo "opts:"
echo ""
echo " -i Interactive use, Allows to select firmware file"
echo " -n Do not do the final reboot of the target board"
echo " -c Keep configuration"
echo " -x Force install even if firmware is not for this board"
echo " -b Force install of bootloader regardless of version installed"
echo " -s Use sysupgade. old upgrade method, needed for old releases that do not have iopu"
}
function set_config_string {
eval `grep $1 .config`
}
function upd_ask_ok {
echo "Will Continue with the following settings"
echo "-----------------------------------------"
printf "%20s: %s\n" "Firmare file" "$upd_fw_base"
printf "%20s: %s\n" "Host ip" "$upd_host"
printf "%20s: " "Reboot"; if [ "$upd_noreboot" == "0" ] ;then printf "Yes\n" ;else printf "No\n";fi
printf "%20s: " "Keep config"; if [ "$upd_keepconf" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi
printf "%20s: " "Force bootloader"; if [ "$upd_forceboot" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi
printf "%20s: " "Force image upgrade"; if [ "$upd_forceimage" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi
printf "%20s: " "Use sysupgrade"; if [ "$upd_sysupgrade" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi
echo "-----------------------------------------"
if [ "$upd_sysupgrade" == "0" ]
then
if [ "$upd_keepconf" == "1" ] ;then echo "keeping config is just a fantasy it's not yet implemented, try sysupgrade";fi
fi
echo -n "Continue? [Y/n/q]:"
read answer
case $answer in
n|N)
return 1;;
q|Q)
exit 1;;
y|Y|*)
return 0;;
esac
}
function upd_select_file {
dialog --keep-tite --title "To select file use TAB/ARROW to hilight then press SPACEBAR -> RETURN" \
--fselect "bin/targets/$CONFIG_TARGET_BOARD/generic/" \
$((lines -10)) $((cols -5)) \
2> $tempfile
new_file=$(cat $tempfile)
if [ -n "$new_file" ]
then
upd_fw="$new_file"
upd_fw_base=$(basename $upd_fw);
fi
}
function upd_select_target {
dialog --keep-tite --title "Input the name/ip number of target board" \
--inputbox "Name/IP" \
$((lines -10)) $((cols -5)) \
"$upd_host" \
2> $tempfile
new_file=$(cat $tempfile)
if [ -n "$new_file" ]
then
upd_host="$new_file"
fi
}
function upd_select_reboot {
dialog --keep-tite --radiolist "Should the board reboot after download finished" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"Reboot" "Restart board after done" `if [ "$upd_noreboot" == "0" ] ;then echo "ON" ;else echo "OFF";fi` \
"No reboot" "Continue running old system" `if [ "$upd_noreboot" == "1" ] ;then echo "ON" ;else echo "OFF";fi` \
2> $tempfile
res=$(cat $tempfile)
case $res in
"No reboot")
upd_noreboot=1
;;
"Reboot")
upd_noreboot=0
;;
esac
}
function upd_select_config {
dialog --keep-tite --radiolist "Should the configuration be keept" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"Keep" "Keep the config from old system" `if [ "$upd_keepconf" == "1" ] ;then echo "ON" ;else echo "OFF";fi` \
"Default" "Use default config for new system" `if [ "$upd_keepconf" == "0" ] ;then echo "ON" ;else echo "OFF";fi` \
2> $tempfile
res=$(cat $tempfile)
case $res in
"Keep")
upd_keepconf=1
;;
"Default")
upd_keepconf=0
;;
esac
}
function upd_select_forceboot {
dialog --keep-tite --radiolist "Should the boot loader be updated reagardless of version installed" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"Force" "Alwasy update boot loader" `if [ "$upd_forceboot" == "1" ] ;then echo "ON" ;else echo "OFF";fi` \
"Version check" "Only upgrade if version is newer" `if [ "$upd_forceboot" == "0" ] ;then echo "ON" ;else echo "OFF";fi` \
2> $tempfile
res=$(cat $tempfile)
case $res in
"Force")
upd_forceboot=1
;;
"Version check")
upd_forceboot=0
;;
esac
}
function upd_select_forceimage {
dialog --keep-tite --radiolist "Should the image be stored in flash even if sanity checks would reject it" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"Force" "Dissable sanity check and force use of image (dangerous)" `if [ "$upd_forceimage" == "1" ] ;then echo "ON" ;else echo "OFF";fi` \
"Only compatible" "Normal checks apply" `if [ "$upd_forceimage" == "0" ] ;then echo "ON" ;else echo "OFF";fi` \
2> $tempfile
res=$(cat $tempfile)
case $res in
"Force")
upd_forceimage=1
;;
"Only compatible")
upd_forceimage=0
;;
esac
}
function upd_select_sysupgrade {
dialog --keep-tite --radiolist "Use the old way to upgrade a board" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"iopu" "Use the iop upgrade methode" `if [ "$upd_sysupgrade" == "0" ] ;then echo "ON" ;else echo "OFF";fi` \
"sysupgrade" "Use the old sysupgrade methode" `if [ "$upd_sysupgrade" == "1" ] ;then echo "ON" ;else echo "OFF";fi` \
2> $tempfile
res=$(cat $tempfile)
case $res in
"iopu")
upd_sysupgrade=0
;;
"sysupgrade")
upd_sysupgrade=1
;;
esac
}
function upd_select {
dialog --keep-tite --ok-label "Select" --cancel-label "Done" --menu "Select Item to change" \
$((lines -5)) $((cols -5)) $((lines -5 -5)) \
"Firmare file" "$upd_fw_base"\
"Host ip" "$upd_host" \
"Reboot" `if [ "$upd_noreboot" == "0" ] ;then printf "Yes\n" ;else printf "No\n";fi` \
"Keep config" `if [ "$upd_keepconf" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi` \
"Force bootloader" `if [ "$upd_forceboot" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi` \
"Force image upgrade" `if [ "$upd_forceimage" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi` \
"sysupgrade" `if [ "$upd_sysupgrade" == "1" ] ;then printf "Yes\n" ;else printf "No\n";fi` \
2> $tempfile
case $(cat $tempfile) in
"Firmare file")
upd_select_file
;;
"Host ip")
upd_select_target
;;
"Reboot")
upd_select_reboot
;;
"Keep config")
upd_select_config
;;
"Force bootloader")
upd_select_forceboot
;;
"Force image upgrade")
upd_select_forceimage
;;
"sysupgrade")
upd_select_sysupgrade
;;
*)
return
;;
esac
upd_select
}
function upd_select_start {
lines=$(tput lines)
cols=$(tput cols)
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
trap "rm -f $tempfile" 0 1 2 5 15
upd_select
}
function ssh_upgrade {
upd_noreboot=0
upd_forceboot=0
upd_keepconf=0
upd_forceimage=0
upd_fw_base=""
upd_fw=""
upd_host="192.168.1.1"
upd_sysupgrade=0
do_dialog=0
while getopts "f:hnxt:iscb" opt; do
case $opt in
n)
upd_noreboot=1
;;
x)
upd_forceimage=1
;;
b)
upd_forceboot=1
;;
c)
upd_keepconf=1
;;
v)
verbose=$OPTARG
;;
f)
upd_fw=$OPTARG
;;
t)
upd_host=$OPTARG
;;
i)
do_dialog=1
;;
s)
upd_sysupgrade=1
;;
h)
upd_usage
exit 1
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1
;;
esac
done
if [ -n "$upd_fw" ]
then
upd_fw_base=$(basename $upd_fw);
else
set_config_string CONFIG_TARGET_BOARD
firmwares=$(cd bin/targets/$CONFIG_TARGET_BOARD/generic/; ls -t *[0-9].y[3])
for upd_fw_base in $firmwares
do
#echo "firmware $upd_fw"
break
done
upd_fw="bin/targets/$CONFIG_TARGET_BOARD/generic/$upd_fw_base"
fi
[ $do_dialog -eq 1 ] && upd_select_start
if ! upd_ask_ok
then
upd_select_start
if ! upd_ask_ok
then
exit 1
fi
fi
if [ ! -f $upd_fw ]
then
echo "firmware file $firmware do not exist"
exit 1
fi
if [ $upd_sysupgrade -eq 0 ]
then
extra_args=""
[ $upd_noreboot -eq 1 ] && extra_args="$extra_args -n"
[ $upd_forceimage -eq 1 ] && extra_args="$extra_args -x"
[ $upd_forceboot -eq 1 ] && extra_args="$extra_args -b"
file_size_kb=`du -k "$upd_fw" | cut -f1`
cat $upd_fw | pv -s ${file_size_kb}k | ssh root@$upd_host "iopu $extra_args"
else
scp $upd_fw root@$upd_host:/tmp/ &&
ssh -o ConnectTimeout=60 root@$upd_host "sysupgrade -v $3 /tmp/$upd_fw_base" &&
echo "sysupgrade done!"
fi
}
register_command "ssh_upgrade" "-h <host> -f <file> [opts] Install firmware on remote host with SSH"

View File

@@ -1,56 +0,0 @@
# this is a developer helper script to install firmware on a remote host with SSH
function usage {
echo "usage: $0 ssh_sysupgrade <host> <file> [opts]"
}
function ssh_sysupgrade {
if [ -z "$1" ] ; then
usage
echo "Error: host required"
exit 1
fi
if [ -z "$2" ] ; then
usage
echo "Error: firmware filename required"
exit 1
fi
if [ ! -e $2 ] ; then
usage
echo "Error: firmware file does not exist"
exit 1
fi
IMAGE=`basename $2`
echo "sysupgrade host: $1 with file $IMAGE"
[ "$2" ] && [ -e "$2" ] && scp $2 root@$1:/tmp/ && ssh -o ConnectTimeout=60 root@$1 "sysupgrade -v $3 /tmp/$IMAGE" && echo "sysupgrade done!"
}
register_command "ssh_sysupgrade" "<host> <file> [opts] Install firmware on remote host with SSH"
function ssh_sysupgrade_latest {
if [ -z "$1" ] ; then
echo "usage: $0 ssh_sysupgrade_latest <host> [opts]"
echo "Error: host required"
exit 1
fi
{ cd `dirname $0`
IMAGE=`ls -Art bin/*/*/*/*.y[23] | tail -n1`
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop ssh_sysupgrade $1 $IMAGE $2
}
}
register_command "ssh_sysupgrade_latest" "<host> [opts] Install latest ubifs firmware on remote host with SSH"
function ssh_sysupgrade_latest_w {
if [ -z "$1" ] ; then
echo "usage: $0 ssh_sysupgrade_latest_w <host> [opts]"
echo "Error: host required"
exit 1
fi
{ cd `dirname $0`
IMAGE=`ls -Art bin/*/*.w | tail -n1`
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop ssh_sysupgrade $1 $IMAGE $2
}
}
register_command "ssh_sysupgrade_latest_w" "<host> [opts] Install latest jffs2 firmware on remote host with SSH"

View File

@@ -36,17 +36,17 @@ function update_feed_branches {
echo "Updating release branch $release to specific commit hash given in feeds.conf for each feed repo"
fi
ifeeds="$(grep -r feed_inteno feeds.conf | awk '{print$2}' | cut -d'_' -f3 | tr '\n' ' ')"
ifeeds="$(grep -r 'dev.iopsys.eu' feeds.conf | awk '{print$2}' | tr '\n' ' ')"
for f in $ifeeds; do
commith=$(grep feed_inteno_$f feeds.conf | cut -d'^' -f2)
cd $ipath/feeds/feed_inteno_$f
commith=$(grep $f feeds.conf | cut -d'^' -f2)
cd $ipath/feeds/$f
git branch -D $release 2>/dev/null
echo "feed_inteno_$f: updating release branch $release to commit $commith"
echo "$f: updating release branch $release to commit $commith"
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

@@ -41,7 +41,7 @@ update_this_pkg()
echo " to get an up to date version in ${PKG_BUILD_DIR}/.git_update"
echo ""
echo -n " Shold we continue with the update anyway? [y/N]:"
echo -n " Should we continue with the update anyway? [y/N]:"
read answer
echo ""
@@ -184,7 +184,7 @@ branch_uptodate()
else
echo "Diverged. not sure what you did but there is no tracking branch. "
echo "repo at [ $1 ]. fix it so that there is a tracking branch remote."
echo "Often this is related to sombody having commited to the same branch"
echo "Often this is related to somebody having commited to the same branch"
echo "on the server so a simple push wont work, try a 'git rebase'."
exit 99
fi
@@ -387,7 +387,7 @@ insert_hash_in_feeds_config()
local feed=$(get_feed_name ${PKG_DIR})
local TO=$(cd ${PKG_DIR}; git rev-parse HEAD)
sed -i feeds.conf -e "/${feed}/ s/\(.*\)[;^].*/\1^${TO}/"
sed -i feeds.conf -e "/ ${feed} / s/\(.*\)[;^].*/\1^${TO}/"
git add feeds.conf
}
@@ -441,7 +441,7 @@ check_packages()
feeds_hash()
{
grep -v "^#" feeds.conf | grep " $1" | sed -e "s/.*[;^]\(.*\)/\1/"
grep -v "^#" feeds.conf | grep " $1 " | grep "\^" | sed -e "s/.*[;^]\(.*\)/\1/"
}
insert_feed_hash_in_feeds_config()
@@ -495,55 +495,60 @@ check_feeds()
feeds=$(grep -v "^#" feeds.conf| awk '{print $2}')
for feed in `echo $feeds`
do
feed_hash=$(feeds_hash $feed)
in_git=$(cd feeds/$feed; git rev-parse HEAD)
feed_hash=$(feeds_hash $feed)
[ -n "$feed_hash" ] || continue
if [ -d feeds/$feed ]; then
in_git=$(cd feeds/$feed; git rev-parse HEAD)
if [ "$feed_hash" != "$in_git" ]
then
if [ "$feed_hash" != "$in_git" ]
then
name=$(cd feeds/$feed;git symbolic-ref -q HEAD)
if [ -z "$name" ]
then
echo "Feed feeds/${feed} is at a git commit which is different from feeds.conf"
on_a_branch feeds/${feed} feed
name=$(cd feeds/$feed;git symbolic-ref -q HEAD)
if [ -z "$name" ]
then
echo "Feed feeds/${feed} is at a git commit which is different from feeds.conf"
#echo "git id from feeds.conf [$feed_hash] git id from feeds/${feed} [$in_git]"
on_a_branch feeds/${feed} feed
#redo the test here and see if the feeds.conf and git is still different.
in_git=$(cd feeds/$feed; git rev-parse HEAD)
if [ "$feed_hash" = "$in_git" ]
then
continue
#redo the test here and see if the feeds.conf and git is still different.
in_git=$(cd feeds/$feed; git rev-parse HEAD)
if [ "$feed_hash" = "$in_git" ]
then
continue
fi
fi
LOCAL=$(cd feeds/$feed;git rev-parse @)
REMOTE=$(cd feeds/$feed;git rev-parse @{u})
BASE=$(cd feeds/$feed;git merge-base @ @{u})
# if we are behind the remote automatically do a pull
if [ $LOCAL = $BASE ]; then
(cd feeds/$feed ; git pull 1>/dev/null)
#redo the test here and see if the feeds.conf and git is still different.
in_git=$(cd feeds/$feed; git rev-parse HEAD)
if [ "$feed_hash" = "$in_git" ]
then
continue
fi
fi
echo "Feed feeds/${feed} is at different commit than what is in feeds.conf"
#echo "git id from feeds.conf [$feed_hash] git id from feeds/${feed} [$in_git]"
echo -n "Should we update feeds.conf to reflect the new version ? [y/N]:"
read answer
case $answer in
n|N|'')
continue;;
esac
branch_uptodate feeds/${feed}
create_feed_message ${feed} $feed_hash $in_git >tmp/msg
insert_feed_hash_in_feeds_config ${feed}
commit_feeds_config tmp/msg
fi
fi
fi
LOCAL=$(cd feeds/$feed;git rev-parse @)
REMOTE=$(cd feeds/$feed;git rev-parse @{u})
BASE=$(cd feeds/$feed;git merge-base @ @{u})
# if we are behind the remote automatically do a pull
if [ $LOCAL = $BASE ]; then
(cd feeds/$feed ; git pull 1>/dev/null)
#redo the test here and see if the feeds.conf and git is still different.
in_git=$(cd feeds/$feed; git rev-parse HEAD)
if [ "$feed_hash" = "$in_git" ]
then
continue
fi
fi
echo "Feed feeds/${feed} is at different commit than what is in feeds.conf"
echo -n "Should we update feeds.conf to reflect the new version ? [y/N]:"
read answer
case $answer in
n|N|'')
continue;;
esac
branch_uptodate feeds/${feed}
create_feed_message ${feed} $feed_hash $in_git >tmp/msg
insert_feed_hash_in_feeds_config ${feed}
commit_feeds_config tmp/msg
fi
done
}

55
iopupgrade/Makefile Normal file
View File

@@ -0,0 +1,55 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=iopupgrade
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=01f2afd6c831d6f9eb2940c7e7af16f7e4d439c2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/iopupgrade
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/iopupgrade
CATEGORY:=Utilities
TITLE:=Iopsys system upgrade utility
URL:=
# DEPENDS:=
endef
define Package/iopupgrade/description
Application handling peripheral
endef
define Package/iopupgrade/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iopupgrade $(1)/sbin/
endef
$(eval $(call BuildPackage,iopupgrade))

278
iopupgrade/files/sbin/iopu Executable file
View File

@@ -0,0 +1,278 @@
#!/bin/sh
###############################################################################
# Global variables. can be used directly in any function called.
cur_vol="" # num,[0/1] Number used for ubifs root filesystem volume name.
# eg: rootfs_0 or rootfs_1, currently used
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
# by functions declared in this script
chroot_cmdline="" # command line for the iop_chroot command.
board="" # string, Board name that is going to be matched
# against header of firmware image
upd_ubi_id="" # num, UBI volume number for the volume name
# "rootfs_$upd_vol", use to know what volume to run
# ubiupdatevol on.
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
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.
upd_forceboot=0 # set this to force upgrade of boot loader
###############################################################################
# import external functions
source /lib/upgrade/iopsys.sh
[ -f /lib/upgrade/iopupgrade ] && source /lib/upgrade/iopupgrade
# only call function if it exists
function_call() {
if type "$1" 2>/dev/null >/dev/null
then
$1 $@
fi
}
###############################################################################
# Cleanup and error handling functions.
function log {
TIME=$(date)
[ $log_stdout -eq 1 ] && echo "$@"
echo "[$TIME] $@" >>/tmp/upd_log
}
# we need to handle ctrl-c, segmentation fault, sigpipe and other abnormal
# terminations. no printing to stdout/stderr allowed in this function or
# anyhting it calls as stdout/stderr might no longer exist
function finish {
if [ "$run_cleanup" == "1" ]
then
function_call upd_cleanup
log ""
fi
if [ "$run_mount_cleanup" == "1" ]
then
log "Cleaning up after mount"
umount_newroot
fi
# always kill the timeout process, will leave the sleep but that is harmless
# as long as the kill will nerver be run.
kill $TIMEOUT_PID 2>/dev/null
lock -u /tmp/iopu.lock
}
function sig_pipe {
log_stdout=0 # stdin,stdout,stderr do not exist anymore
log "Got sigpipe. Turning of log printing to stdout"
}
# if a timout happens terminate
function timeout {
finish
exit 1
}
# Not much that can be done if the mount fails but to try again.
# if after 10 seconds there still is errors abort program.
# UBIFS has some wierd time intervall after ubiupdatevol where
# a mount of the newly written data results in a busy error.
function mount_retry {
local tries=0
while [ $tries -lt 10 ]
do
if mount $@ 2>/dev/null
then
return
fi
tries=$((tries + 1))
sleep 1
done
log "mount failed for command [mount $@] so upgrade failed."
exit 1
}
function mount_newroot {
run_mount_cleanup=1
mkdir -p /tmp/newroot
mkdir -p /tmp/newroot_overlay
mount_retry -t ubifs ubi0:rootfs_$upd_vol /tmp/newroot
mount_retry -o noatime,lowerdir=/tmp/newroot,upperdir=/tmp/newroot/overlay,workdir=/tmp/newroot/lib/overlay.tmp -t overlay "overlayfs:/tmp/newroot/overlay" /tmp/newroot_overlay
mount_retry --bind /tmp/newroot/ /tmp/newroot_overlay/rom
mount_retry --bind /dev /tmp/newroot_overlay/dev
mount_retry --bind /proc /tmp/newroot_overlay/proc
mount_retry --bind /sys /tmp/newroot_overlay/sys
mount_retry -t tmpfs -o noatime,mode=0755 root /tmp/newroot_overlay/tmp
mkdir -p /tmp/newroot_overlay/tmp/oldroot
mount_retry --bind / /tmp/newroot_overlay/tmp/oldroot
mount_retry --bind /tmp /tmp/newroot_overlay/tmp/oldroot/tmp
}
function umount_newroot {
umount /tmp/newroot_overlay/tmp/oldroot/tmp
umount /tmp/newroot_overlay/tmp/oldroot
umount /tmp/newroot_overlay/tmp
umount /tmp/newroot_overlay/sys
umount /tmp/newroot_overlay/proc
umount /tmp/newroot_overlay/dev
umount /tmp/newroot_overlay/rom
umount /tmp/newroot_overlay
umount /tmp/newroot
run_mount_cleanup=0
}
function usage {
echo "usage: $0 iopu [opts] "
echo ""
echo "opts:"
echo ""
echo " -n Do not do the final reboot of the target board"
echo " -c Keep configuration"
echo " -x Force install even if firmware is not for this board"
echo " -b Force install of bootloader regardless of version installed"
echo " -r Jump into chroot env of other system"
}
###############################################################################
# just one instance
# this check has to be done before we install handler to avoid removing the
# lock even if it was not available.
if ! lock -n /tmp/iopu.lock
then
echo "Another instance of iopu already running"
echo "If you are sure this is wrong remove file /tmp/iopu.lock"
exit 1
fi
trap finish EXIT
trap timeout SIGALRM
trap sig_pipe SIGPIPE
while getopts "nrxb" opt; do
case $opt in
n)
upd_noreboot=1
;;
x)
upd_forceimage=1
;;
b)
upd_forceboot=1
;;
r)
upd_vol=$(get_flashbank_next)
mount_newroot
(ENV=/sbin/iopu_chroot_env chroot /tmp/newroot_overlay /bin/sh)
echo ""
umount_newroot
exit 0
;;
h)
upd_usage
exit 1
;;
esac
done
# put a timeout on this if it takes longer than 120 seconds we should abort
# and clean up
(
sleep 120 # if 2 minutes pass
kill -ALRM $$ 2>/dev/null # send it a SIGALRM signal
)&
TIMEOUT_PID=$!
log "Firmware upgrade started"
# Should board name be checked
if [ $upd_forceimage -eq 0 ]
then
board=$(db get hw.board.iopVerBoard)
cmdline_match="board=$board"
fi
# find out what rootfs volume is active.
cur_vol=$(get_flashbank_current)
upd_vol=$(get_flashbank_next)
# convert volume name "rootfs_$upd_vol" into ubifs volume id
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 -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 -M "$cmdline_match" -u ubi0_$upd_ubi_id
# in case of any error we abort
if [ $? -ne 0 ]; then
log "iopupgrade program Failed"
exit 1
fi
log "Firmware programmed to flash."
log "Transfering configuration to new system."
# Force upgrade of boot loader
[ $upd_forceboot -eq 1 ] && chroot_cmdline="$chroot_cmdline -b"
mount_newroot
chroot /tmp/newroot_overlay /sbin/iopu_chroot $chroot_cmdline
umount_newroot
log "Update fully installed."
run_cleanup=0
# Now make sure that we actually boot the new system on the next reboot
upd_finnish
# spawn the reboot to a subshell to allow the main program to quit before reset
# to avoid any hanged network connection like ssh
if [ $upd_noreboot -eq 0 ]
then
(
log_stdout=0 # stdin,stdout,stderr do not exist anymore, we are in a
# subshell and then the trap is no longer working.
sleep 1
log "Rebooting NOW!!!"
log ""
reboot
)&
log "Reboot initiated"
else
log "Skipping reboot"
fi

View File

@@ -0,0 +1,61 @@
#!/bin/sh
#
# This program is intended to be run in a chroot environment where the old system
# is mounted in /tmp/oldroot
#
###############################################################################
# Global variables. can be used directly in any function called.
###############################################################################
# file local variables. should not be used in imported functions. Can be used
# by functions declared in this script
upd_forceboot=0
log_stdout=1 # set to 0 to prevent the log to also print to stdout
###############################################################################
# import external functions
source /lib/upgrade/iopsys.sh
[ -f /lib/upgrade/iopupgrade ] && source /lib/upgrade/iopupgrade
# only call function if it exists
function_call() {
if type "$1" 2>/dev/null >/dev/null
then
$1 $@
fi
}
# Cleanup and error handling functions.
function log {
TIME=$(date)
[ $log_stdout -eq 1 ] && echo "$@"
echo "[$TIME] $@" >>/root/upd_log
}
while getopts "hb" opt; do
case $opt in
h)
upd_usage
exit 1
;;
b)
upd_forceboot=1
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1
;;
esac
done
# copy old install log over
cp /tmp/oldroot/tmp/upd_log /root/upd_log
# Upgrade boot loader if needed.
function_call upd_program_boot

View File

@@ -0,0 +1,18 @@
#!/bin/sh
# this is run when "iopr -r" is executed.
# intended to just show what environment is actually started.
cat /etc/banner
echo "/tmp/oldroot:"
echo " Contains the running root filesystem. It is live so files are in use"
echo " Anything copying/reading files from there needs to make sure it is done safely."
echo ""
Color_Off='\033[0m' # Text Reset
Red='\033[0;31m' # Red
PS1="${Red}chroot_new${Color_Off}:\w\#"
export PS1
export Red
export Color_Off

View File

@@ -0,0 +1,219 @@
#!/bin/sh
# functions that take dhcp options received on the wan interface
# and relay/repeat them for specific clients
#config dhcp_option_relay
# option enable 1
# list dhcp_option 43
# list from_interface wan
# option vendorclass '*SDX*'
# where:
# dhcp_option_relay is the name of the section parsed by this script
# enable/enabled - option, enable the uci section [default on]
# dhcp_option/dhcp_options - list of dhcp options (0-255) to be relayed/repeated
# overwrite - if same dhcp_option already exists in /etc/config/dhcp, overwrite it with this option [default off]
# from_interface - list of interfaces (e.g. wan) to get the dhcp options from
. /lib/functions.sh
interface=""
opt224=""
opt225=""
opt226=""
opt43=""
opt128=""
opt66=""
opt67=""
opt132=""
opt133=""
newsectionid="0"
function parse_the_json()
{
local the_json="$@"
json_load "$the_json"
json_get_var interface interface
json_get_var opt224 privopt224
json_get_var opt225 privopt225
json_get_var opt226 privopt226
json_get_var opt43 vendorspecinf # option 43
json_get_var opt128 httpurl128
json_get_var opt66 tftp # option 66
json_get_var opt67 bootfile #option 67
json_get_var opt132 vlanid # option 132
json_get_var opt133 vlanpriority # option 133
}
function add_section_dhcp_vendorclass()
{
local dhcp_option=$1
local dhcp_option_value=$2
local vendorclass=$3
local new=
newsectionid=$((newsectionid+1))
#echo "add_section_dchp_vendorclass $dhcp_option ${dhcp_option_value} $vendorclass"
new=$(uci add dhcp vendorclass)
uci set dhcp.$new.vendorclass="$vendorclass"
uci set dhcp.$new.networkid="dhcp_option_relay_$newsectionid"
uci add_list dhcp.$new.dhcp_option=$dhcp_option,\"${dhcp_option_value}\"
uci commit dhcp
}
function dhcp_option_relay()
{
local section="$1"
local enable="" enabled=""
local dhcp_option="" dhcp_option_value=""
local vendorclass=""
#local overwrite=""
local from_interface
#echo "section: $section"
# parse only enabled sections
config_get_bool enabled $section enabled 1
config_get_bool enable $section enable 1
#echo "enabled: $enabled"
#echo "enable : $enable"
if [ "$enable" == "0" -o "$enabled" == "0" ] ; then
#echo "section $section is not enabled"
return
fi
# todo: for disabled sections: run only the removal of the dhcp options
# option overwrite 1
#config_get_bool overwrite $section overwrite 0
config_get vendorclass $section vendorclass
if [ ${#vendorclass} -le 1 ]; then
#echo "vendorclass must not be empty"
return
fi
# list to_interface lan
# to_interface - list of interfaces (e.g. lan, guest) to advertise the dhcp options to
#foreach_to_interface() {
# local to_interface=$1
# echo ""
# echo " from_interface $from_interface"
# echo " dhcp_option $dhcp_option"
# echo " dhcp_option_value $dhcp_option_value"
# echo " overwrite $overwrite"
# echo " to_interface $to_interface"
#
# if [ ! $(uci -q get dhcp.$to_interface) ] ; then
# echo "to_interface $to_interface does not exist in dhcp uci config"
# return
# fi
#
#}
foreach_dhcp_option() {
dhcp_option=$1
echo "dhcp_option: $dhcp_option"
case $dhcp_option in
43) dhcp_option_value=$opt43 ;;
66) dhcp_option_value=$opt66 ;;
67) dhcp_option_value=$opt67 ;;
128) dhcp_option_value=$opt128 ;;
132) dhcp_option_value=$opt132 ;;
133) dhcp_option_value=$opt133 ;;
224) dhcp_option_value=$opt224 ;;
225) dhcp_option_value=$opt225 ;;
226) dhcp_option_value=$opt226 ;;
*) dhcp_option_value="unsupported" ;;
esac
if [ "${dhcp_option_value}" == "unsupported" ] ; then
echo "dhcp_option $dhcp_option is unsupported"
return
fi
if [ "${dhcp_option_value}" == "" ] ; then
echo "dhcp_option $dhcp_option is empty"
return
fi
#echo "dhcp_option: $dhcp_option dhcp_option_value: ${dhcp_option_value}"
#config_list_foreach $section to_interface foreach_to_interface
add_section_dhcp_vendorclass $dhcp_option ${dhcp_option_value} $vendorclass
}
foreach_from_interface() {
from_interface="$1"
#echo "from_interface: $from_interface"
if [ "$from_interface" != "$interface" ]; then
return
fi
dhcp_option=""
config_list_foreach $section dhcp_option foreach_dhcp_option
#config_list_foreach $section dhcp_options foreach_dhcp_option
}
from_interface=""
config_list_foreach $section from_interface foreach_from_interface
}
# in uci dhcp config:
# remove all the vendorclass sections
# that have previosly been configured by this script.
# all are identified by "option networkid dhcp_option_relay_*"
function dhcp_option_relay_clear_prev()
{
local to_remove=""
foreach_vendorclass() {
local section="$1"
local networkid
config_get networkid $section networkid
case "$networkid"
in dhcp_option_relay*)
to_remove="$to_remove $section"
;;
esac
}
config_load dhcp
config_foreach foreach_vendorclass vendorclass
local sect
for sect in $to_remove ; do
uci_remove dhcp $sect
done
uci_commit dhcp
}
# the main function
function dhcp_option_relay_parse()
{
local the_json="$@"
parse_the_json "$the_json"
dhcp_option_relay_clear_prev
newsectionid="0"
config_load provisioning
config_foreach dhcp_option_relay dhcp_option_relay
#config_foreach dhcp_option_relay dhcp_options_relay
#config_foreach dhcp_option_relay dhcpoption_relay
#config_foreach dhcp_option_relay dhcpoptions_relay
#config_foreach dhcp_option_relay dhcp_optionrelay
#config_foreach dhcp_option_relay dhcp_optionsrelay
#config_foreach dhcp_option_relay dhcpoptionrelay
#config_foreach dhcp_option_relay dhcpoptionsrelay
}
#dhcp_option_relay_parse

View File

@@ -5,6 +5,7 @@ echo $$ > /var/run/iup.pid
. /lib/functions.sh
. /lib/functions/network.sh
. /lib/functions/savecfg.sh
. /lib/functions/dhcp_option_relay.sh
. /usr/share/libubox/jshn.sh
include /lib/upgrade
@@ -268,19 +269,20 @@ change_to_vlan() {
base_dev=$(echo ${base_dev} | cut -d. -f1)
# add "VLAN interface" to the "end of the file".
uci add layer2_interface_vlan vlan_interface
uci set layer2_interface_vlan.@vlan_interface[-1].name=${name}
uci set layer2_interface_vlan.@vlan_interface[-1].vlan8021q=${1}
uci set layer2_interface_vlan.@vlan_interface[-1].vlan8021p=${2}
uci set layer2_interface_vlan.@vlan_interface[-1].ifname="${base_dev}.${1}"
uci set layer2_interface_vlan.@vlan_interface[-1].baseifname=${base_dev}
uci add network device
uci rename network.@device[-1]=${name}
uci set network.@device[-1].type=8021q
uci set network.@device[-1].ifname=${base_dev}
uci set network.@device[-1].name="${base_dev}.${1}"
uci set network.@device[-1].vid=${1}
uci set network.@device[-1].priority=${2}
# and commit the change.
uci commit layer2_interface_vlan
v "option 132: committed update to file layer2_interface_vlan"
uci commit network
v "option 132: committed update to file network"
# reload configuration files.
/etc/init.d/layer2_interface_vlan reload
v "option 132: reload layer2_interface_vlan config"
ubus call network reload
v "option 132: reload network config"
# replace old interface (like eth0.1 with new eth0.101).
wan_if=$(uci get network.$3.ifname)
@@ -383,6 +385,10 @@ handle_option224()
parse_dhcp_options()
{
local the_json="$@"
# process the dhcp_option_relay sections
dhcp_option_relay_parse "$the_json"
# Process IUP related DHCP options #
local privopt224 privopt225 privopt226 vendorspecinf httpurl128
local tftp bootfile vlanid vlanpriority interface
@@ -409,6 +415,7 @@ parse_dhcp_options()
v "dhcp option 43 tr69 url $vendorspecinf"
url=${vendorspecinf%%,*}; rest=${vendorspecinf#*,}
provisioningcode=${rest%%,*};
[ -f /etc/config/cwmp ] && uci_set_state cwmp acs dhcp_url "$url"
uci_set_state provisioning iup urlcwmp "$url"
uci_set_state provisioning iup url "$url"
uci_set_state provisioning iup provisioningcode "$provisioningcode"
@@ -562,7 +569,7 @@ main()
if [ "$filesystem" == "JFFS2" ] ; then
firmware=$firmware.w
else
firmware=$firmware.y
firmware=$firmware.y3
fi
if [ "$sofwareminuspath" == "${sofwareminuspath/$firmware/}" ] ; then
v "Software \"$software\""

View File

@@ -5,15 +5,22 @@
#include <unistd.h>
const char *watchdog_file = "/proc/watchdog";
const char *watchdog_file_nvram = "/proc/nvram/watchdog";
const char *init_string = "1 5000000 1 4";
const char *kicker = "OK";
int main(int argc, char **argv)
{
int fd = open(watchdog_file, O_WRONLY);
int ret = 0;
char *wdt_string_prt = watchdog_file;
int fd = open(wdt_string_prt, O_WRONLY);
if (fd < 0) {
perror("Open watchdog file");
exit(1);
wdt_string_prt = watchdog_file_nvram;
fd = open(wdt_string_prt, O_WRONLY);
if (fd < 0) {
perror("Open watchdog file");
exit(1);
}
}
/* init */
@@ -23,14 +30,17 @@ int main(int argc, char **argv)
perror("Error init watchdog");
exit(1);
}
close(fd);
while (1) {
fd = open(wdt_string_prt, O_WRONLY);
sleep(1);
res = write (fd, kicker, strlen(init_string) + 1);
if (res < 0 ){
perror("Error kicking watchdog");
}
close(fd);
}
return 0;
}

52
libjwt/Makefile Normal file
View File

@@ -0,0 +1,52 @@
# Copyright (C) 2018 Iopsys
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libjwt
PKG_VERSION:=1.0.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=866607c7741421c8ac99876e7201eb32d9af1b92
PKG_SOURCE_URL:=https://github.com/benmcollins/libjwt.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/libjwt
CATEGORY:=Libraries
DEPENDS:=+libopenssl +jansson
TITLE:= libjwt
endef
#TARGET_CFLAGS += \
# -I$(STAGING_DIR)/usr/include
# -I$(STAGING_DIR)/usr/include/libnl3
#MAKE_FLAGS += \
# CFLAGS="$(TARGET_CFLAGS)" \
# LDFLAGS="$(TARGET_LDFLAGS)" \
# FPIC="$(FPIC)" \
# PLATFORM="$(TARGET_PLATFORM)" \
# subdirs="$(subdirs)"
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/include/jwt.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libjwt/.libs/libjwt.so* $(1)/usr/lib/
endef
define Package/libjwt/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libjwt/.libs/libjwt.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libjwt))

View File

@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_SOURCE_URL:=http://public.inteno.se/libpicoevent
PKG_VERSION:=0.2
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/libpicoevent.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c96770b32f66c6e799f8430d8e85d94780358135
PKG_SOURCE_VERSION:=7875222706cb6999af0361ef0aebdc85cd75c127
PKG_NAME:=libpicoevent
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -5,7 +5,7 @@ PKG_VERSION:=1.0
PKG_SOURCE_VERSION:=d0fb770eacd6691b98df138b60f5116e02f71a9b
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/loop-detector
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/loop-detector
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

33
ltq-nand/Makefile Normal file
View File

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

37
mqtt-ciotc/Makefile Normal file
View File

@@ -0,0 +1,37 @@
#
# Copyright (C) 2013 Inteno
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mqtt-ciotc
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=00da3fb1f1691d836037dc4d93e38d0835ba46a4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/wifilife-testbed.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/mqtt-ciotc
CATEGORY:=Utilities
DEPENDS:=+libjwt +lib-paho-mqtt +libopenssl +libubox +ubus +libblobmsg-json
TITLE:=mqtt google iot clinet
endef
define Package/mqtt-ciotc/description
mqtt google iot client
endef
define Package/mqtt-ciotc/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mqtt_ciotc $(1)/sbin/
endef
$(eval $(call BuildPackage,mqtt-ciotc))

View File

@@ -0,0 +1,3 @@
config certs 'certs'
option private '/etc/mqtt-ciotc/rsa_private.pem'
option root '/etc/mqtt-ciotc/roots.pem'

View File

@@ -0,0 +1,35 @@
#!/bin/sh /etc/rc.common
START=96
STOP=10
PROG=/sbin/mqtt_ciotc
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command ${PROG}
config_load mqtt_ciotc
config_get private certs private
config_get root certs root
[ -n $private ] && procd_append_param command --private-cert $private
[ -n $root ] && procd_append_param command --root-cert $root
procd_set_param respawn
procd_close_instance
}
stop_service()
{
service_stop ${PROG}
}
reload_service() {
# procd_send_signal wifilife # use SIGHUP
stop
start
}
service_triggers() {
procd_add_reload_trigger "mqtt_ciotc"
}

View File

@@ -1,41 +0,0 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mtk-bndstrg
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=a67f5ccdf9bc6810f15f1ece9edaad5e89cad0f7
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/mtk-bndstrg
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/mtk-bndstrg
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libpthread +librt
TITLE:=Band steering daemon for Mediatek
endef
define Package/mtk-bndstrg/description
Band steering for Mediatek
endef
#define Build/Compile
#endef
define Build/Configure
#$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
endef
define Package/mtk-bndstrg/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bndstrg $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,mtk-bndstrg))

View File

@@ -11,7 +11,7 @@ PKG_NAME:=natalie-dect-h
PKG_VERSION:=12.26
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=http://public.inteno.se:/natalie-dect-h
PKG_SOURCE_URL:=https://dev.iopsys.eu/dialog/natalie-dect-h.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=9e2236989ff58d0db897f938b6b07b535144e0e2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=natalie-dect
PKG_VERSION:=12.26
PKG_SOURCE_VERSION:=35fed3a10124bd660b74704011256039ba9cf54d
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
@@ -18,12 +18,12 @@ PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_NAME:=natalie-dect-open
else
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=git@private.inteno.se:natalie-dect-12.26
PKG_SOURCE_URL:=git@dev.iopsys.eu:dialog/natalie-dect-12.26
PKG_SOURCE_PROTO:=git
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=0
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/image.mk
@@ -34,6 +34,16 @@ BCM_KERNEL_VERSION=`cat $(BUILD_DIR)/bcmkernel/bcm963xx/kernel/linux-*/include/c
export BUILD_DIR
export BCM_KERNEL_VERSION
export CONFIG_BCM_CHIP_ID := $(patsubst "%",%,$(CONFIG_BCM_CHIP_ID))
export CONFIG_BCM_KERNEL_PROFILE := $(patsubst "%",%,$(CONFIG_BCM_KERNEL_PROFILE))
export CONFIG_ARCH := $(patsubst "%",%,$(CONFIG_ARCH))
export TOOLS := $(CONFIG_BCM_TOOLCHAIN)/usr/bin/
export TOOLPREFIX := $(CONFIG_BCM_TOOLTUPLE)
export BRCM_MAX_JOBS := $(patsubst "%",%,$(CONFIG_BRCM_MAX_JOBS))
export MAKE_J
export BRCM_VERBOSE := $(if $(findstring c,$(OPENWRT_VERBOSE)),1,)
export PKG_BUILD_DIR
export BCM_SDK_PATH := $(BUILD_DIR)/bcmkernel/bcm963xx
define Package/natalie-dect
SECTION:=net
@@ -56,16 +66,9 @@ define Build/Compile
endef
endif
ifeq ($(CONFIG_NATALIE_OPEN),y)
define Package/natalie-dect/install
$(INSTALL_DIR) $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra
$(CP) $(PKG_BUILD_DIR)/dect.ko $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra/dect.ko
endef
else
define Package/natalie-dect/install
$(INSTALL_DIR) $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra
$(CP) $(PKG_BUILD_DIR)/NatalieFpCvm6362/Src/Projects/NatalieV3/FpCvm/Linux6362/dects.ko $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra/dect.ko
endef
endif
$(eval $(call BuildPackage,natalie-dect))

33
ndt/Makefile Normal file
View File

@@ -0,0 +1,33 @@
#
# 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
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,15 +1,11 @@
#
# Copyright (C) 2016 Inteno
#
include $(TOPDIR)/rules.mk
PKG_NAME:=inteno-netmodes
PKG_NAME:=netmode
PKG_VERSION:=0.2.0
PKG_SOURCE_VERSION:=b898924491c378ca09ab124991b27f54a336e4e9
PKG_SOURCE_VERSION:=9fa23664b3bdd963e4556f5921c9f9be1c9c578f
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/netmoded
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/netmoded
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -17,20 +13,20 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/inteno-netmodes
define Package/netmode
CATEGORY:=Base system
DEPENDS:=+fping +ubus +libubox +libuci
TITLE:=Predefined Network Modes
endef
define Package/inteno-netmodes/description
define Package/netmode/description
Predefined Network Modes
endef
define Package/inteno-netmodes/install
define Package/netmode/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netmoded $(1)/sbin/
endef
$(eval $(call BuildPackage,inteno-netmodes))
$(eval $(call BuildPackage,netmode))

View File

@@ -3,3 +3,7 @@ config mode 'setup'
option detail ''
option curmode 'routed'
config tools 'tools'
option wificontrol 0
option arp_discovery 1

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