Compare commits

..

577 Commits

Author SHA1 Message Date
ke.hu
1241208594 refs #17038
filter out the bridge when mac checking
2019-04-11 16:21:35 +02:00
Reidar Cederqvist
fb47f37e49 ice-client: update to version 5.3.8 ref #17171 2019-04-04 11:16:20 +02:00
Robin Stjerndorff
ca64e945af samba: fix security bug refs #17069 2019-03-21 14:47:32 +01:00
Robin Stjerndorff
296cd31819 icwmp: update to fix refs #16651 2019-03-20 14:19:58 +01:00
Robin Stjerndorff
dd3265dfb9 samba.init: security fix refs #16884 2019-03-20 14:13:48 +01:00
Reidar Cederqvist
5e62b36723 Update feed [ iopsys ] package [ icwmp ]
-------------------------------------------------------------------------------
* 55ec18b Ticket refs #15489: tr069 disable default gateway for created interface
* d51391e Ticket refs #16651: How to control a firewall zone via tr069?
* d5fc717 Ticket refs #16840: patch is removed to be applied on iopsys 3.16
* dd3b377 Ticket refs #16840:icwmp: High memory usage / memory leak?
-------------------------------------------------------------------------------
commit 55ec18bc4fdbb1cfd61f35f0f34854f828734a56
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-03-15 17:23:18 +0100

    Ticket refs #15489: tr069 disable default gateway for created interface

Base directory -> /
 dm/dmtree/tr098/wandevice.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
-------------------------------------------------------------------------------
commit d51391ec8aaed092db3029f7faa0eec4cf3879c7
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-03-15 11:50:12 +0100

    Ticket refs #16651: How to control a firewall zone via tr069?

Base directory -> /
 dm/dmtree/common/x_inteno_se_ipacccfg.c | 354 ++++++++++++++++++++++++++++++++
 dm/dmtree/common/x_inteno_se_ipacccfg.h |  11 +
 2 files changed, 365 insertions(+)
-------------------------------------------------------------------------------
commit d5fc7179081e1a070f4789e655f01e63a9d3080d
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-03-04 17:31:13 +0100

    Ticket refs #16840: patch is removed to be applied on iopsys 3.16

Base directory -> /
 cwmp.c | 9 ---------
 1 file changed, 9 deletions(-)
-------------------------------------------------------------------------------
commit dd3b37791678de69745bba6f192be046b597dc83
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-03-04 14:30:57 +0100

    Ticket refs #16840:icwmp: High memory usage / memory leak?

Base directory -> /
 backupSession.c | 2 +-
 cwmp.c          | 9 +++++++++
 dm/dmuci.c      | 5 +++--
 event.c         | 2 +-
 4 files changed, 14 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2019-03-18 16:19:32 +00:00
Feten Besbes
cb7fd9b98c Ticket refs #16116: Voice: CBBS not working in IOP3 with default settings. 2019-03-12 16:41:10 +01:00
Reidar Cederqvist
8cdf8785ca inteno-netmodes: update the one_bridged_port netmode settings 2019-03-11 16:39:23 +01:00
Reidar Cederqvist
98814755c8 inteno-netmodes: change the DETAILS file for one_brided_port netmode 2019-03-11 16:08:52 +01:00
Reidar Cederqvist
4e8d034402 inteno-netmode: add new netmode profile with LAN1 bridged ref #16878 2019-03-11 14:46:42 +01:00
ke.hu
89ad4a1141 Add Genexis MAC range refs #16722 2019-02-19 09:40:01 +01:00
Reidar Cederqvist
a4683f8310 inteno-netmodes: increse the sleep between checks to allow previous fpings to timeout refs #16074 2019-02-14 14:04:51 +01:00
Reidar Cederqvist
8bb86f7b44 ice-client: update to version 5.3.6 refs #16174 2019-02-13 15:45:36 +01:00
Reidar Cederqvist
666584654f Update feed [ iopsys ] package [ icwmp ]
-------------------------------------------------------------------------------
* 74bab3c ticket refs #16585: cwmp datamodel as brodband forums standard
* 25a97a3 Ticket refs #16662: Parameters DefaultConnectionService and ForwardNumberOfEntries must be under InternetGatewayDevice.Layer3Forwarding.
* b9bf8d9 Ticket refs #16585:cwmp datamodel as brodband forums standard
* deefd91 Ticket refs #16585 : cwmp datamodel as brodband forums standard
* 6dd9b66 Ticket refs #16585 : cwmp datamodel as brodband forums standard
-------------------------------------------------------------------------------
commit 74bab3ca95b06890afec3b1d40cb0261eb616365
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-01-28 11:06:30 +0100

    ticket refs #16585: cwmp datamodel as brodband forums standard

Base directory -> /
 tools/generate_xml_16585.sh | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 25a97a3cd0f550d94a915e41c95b76d86e647cea
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-01-28 11:04:30 +0100

    Ticket refs #16662: Parameters DefaultConnectionService and
    ForwardNumberOfEntries must be under InternetGatewayDevice.Layer3Forwarding.

Base directory -> /
 dm/dmtree/tr098/layer_3_forwarding.c | 2 +-
 dm/dmtree/tr181/routing.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b9bf8d9f081d41638bde21f2e574cc7896f13402
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-01-18 12:41:00 +0100

    Ticket refs #16585:cwmp datamodel as brodband forums standard

Base directory -> /
 tools/generate_xml_16585.sh | 109 +++++++++++++++++++++++++++++---------------
 1 file changed, 71 insertions(+), 38 deletions(-)
-------------------------------------------------------------------------------
commit deefd91f2b9a49a3df541e474cd43855c27c42ea
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-01-10 17:55:10 +0100

    Ticket refs #16585 : cwmp datamodel as brodband forums standard

Base directory -> /
 tools/generate_xml_16585.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6dd9b669bacfafde61b114658a300078bb82c817
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2019-01-09 17:48:29 +0100

    Ticket refs #16585 : cwmp datamodel as brodband forums standard

Base directory -> /
 tools/generate_xml_16585.sh | 240 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 240 insertions(+)
-------------------------------------------------------------------------------
2019-02-11 16:37:48 +01:00
Reidar Cederqvist
4380c2387e brcmwifi.sh: make dconpoll configurable refs #16816 2019-02-11 15:02:38 +01:00
ke.hu
ac47d92a2a refs #15357 add trigger to listen all
string is null for bindinf when listen all
2019-01-31 17:16:07 +01:00
Reidar Cederqvist
40a2215b90 ice-client: update ice-client to version 5.3.5 refs #16751 2019-01-30 17:15:21 +00:00
Reidar Cederqvist
074a618d64 iup: go back to sleep in iup and reload provisioning config refs #16708 2019-01-23 16:55:35 +01:00
Reidar Cederqvist
c4ccb0a640 ice-client: update to version 5.3.3 refs #16174 2019-01-18 16:37:01 +00:00
Robin Stjerndorff
287d062dfc ice-client: update to version 5.3.1 refs #16173 2019-01-14 14:35:45 +01:00
Reidar Cederqvist
6f54dcffe2 ice-client: update to version 5.2.5 refs #16174 2019-01-04 11:46:01 +01:00
Reidar Cederqvist
d30a4c7bfb Update feed [ iopsys ] package [ icwmp ]
-------------------------------------------------------------------------------
* 73ef06a Ticket refs #16480: Icwmpd memory leak : new updates
* 4130515 Ticket refs #16480 : icwmpd memory leak - Enable mem debug
* 25164cb Ticket refs #16480: icwmpd memory leak - Add cwmpmem.h and smmem.h
* 62e0eeb Ticket refs #16480: icwmpd memory leak
-------------------------------------------------------------------------------
commit 73ef06add190bad29f1eedc6c971c83c2ea7e6e7
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-12-21 15:52:36 +0100

    Ticket refs #16480: Icwmpd memory leak : new updates

Base directory -> /
 backupSession.c     |  8 ++++++++
 cwmp.c              | 17 +++++++++++++++++
 dm/dmuci.c          |  1 +
 http.c              |  1 +
 inc/backupSession.h |  1 +
 5 files changed, 28 insertions(+)
-------------------------------------------------------------------------------
commit 4130515aac4d6d72d881eed718e5c35d0d0733cb
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-12-18 11:03:00 +0100

    Ticket refs #16480 : icwmpd memory leak - Enable mem debug

Base directory -> /
 dm/dmmem.h  | 2 +-
 inc/smmem.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 25164cb1fb8a09f8dc39086c05619786e2236d9b
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-12-18 10:01:54 +0100

    Ticket refs #16480: icwmpd memory leak - Add cwmpmem.h and smmem.h

Base directory -> /
 inc/cwmpmem.h |  79 +++++++++++++++++++
 inc/smmem.h   | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 317 insertions(+)
-------------------------------------------------------------------------------
commit 62e0eebe754839ea67b12291a3955d4be9aa53a5
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-12-18 09:47:43 +0100

    Ticket refs #16480: icwmpd memory leak

Base directory -> /
 backupSession.c               | 136 ++++-----
 config.c                      | 167 +++++------
 cwmp.c                        |  30 +-
 diagnostic.c                  |  18 +-
 dm/dmcommon.c                 |   6 +-
 dm/dmcwmp.c                   |  50 ++--
 dm/dmcwmp.h                   |   8 +-
 dm/dmentry.c                  |   6 +-
 dm/dmmem.c                    |  15 +-
 dm/dmtree/common/deviceinfo.c |   5 +-
 dm/dmtree/tr098/landevice.c   |  37 ++-
 dm/dmtree/tr098/wandevice.c   |   1 -
 dm/dmtree/tr181/dhcp.c        |   3 +-
 dm/dmuci.c                    |  11 +-
 dm/dmuci.h                    |   2 +-
 event.c                       | 146 ++++++----
 external.c                    |  49 ++--
 http.c                        |  98 ++++---
 inc/cwmp.h                    |  14 +-
 inc/http.h                    |   2 +-
 inc/log.h                     |   6 +-
 netlink.c                     |  17 +-
 ubus.c                        |  48 +++-
 xml.c                         | 624 +++++++++++++++++++++---------------------
 xmpp_cr.c                     |  19 +-
 zlib.c                        |   7 +-
 26 files changed, 827 insertions(+), 698 deletions(-)
-------------------------------------------------------------------------------
2019-01-02 11:52:27 +01:00
Ronny Nilsson
127067b420 voice: Add a supervisor for monitoring Asterisk realtime in case of a hung. 2018-12-21 13:07:32 +01:00
Ronny Nilsson
37ac4fa55e voice: Asterisk need to run with realtime priority to reduce audio chopping. 2018-12-19 16:09:47 +01:00
Ronny Nilsson
93b66f166c voice: reduce Asterisk console output since no one is reading it
and we need to save on cpu resources.
2018-12-19 16:02:30 +01:00
Ronny Nilsson
45a0f2ea88 voice: Asterisk need to run with realtime priority for reducing audio chopping. 2018-12-19 15:56:40 +01:00
Ronny Nilsson
ba7b1e0d6e There is a race condition somewhere causing deadlock when starting Asterisk with the -p (realtime)
option. We work around this by modifying the scheduling policy to FIFO and limits Asterisk to
run on a single core only. This effectively makes Asterisk a single threaded application.
2018-12-19 15:23:45 +01:00
Ronny Nilsson
4f10eb2c2c Use common UCI commit at the end to save CPU resources. 2018-12-19 15:23:15 +01:00
Ronny Nilsson
4f4586ed36 Add a small jitter buffer in Broadcom DSP for all voice
lines to compensate for chopping audio in some boards.
2018-12-19 15:22:39 +01:00
Robin Stjerndorff
831ad87c29 Revert "netmodes: reboot brcm repeater after wps pair refs #16130"
This reverts commit 61f9d80295.
2018-12-12 11:04:05 +01:00
Ronny Nilsson
e854d00244 Revert "Make brcm channel indexes begin at index 4 if device has no DECT."
Revert this workaround due to I've found the root casue of the
problem. It will be fixed in bcmkernel.

This reverts commit 9374eb8051.
2018-11-30 13:43:19 +01:00
Robin Stjerndorff
910685e54f ice-client: update to 5.2.3 2018-11-30 13:34:04 +01:00
Robin Stjerndorff
715e27a8fe new settings for bandsteering refs #16381 2018-11-29 11:19:47 +01:00
ke.hu
a8e1b3d2c0 new parameter for bandsteering refs #16381
give new value for profile 0
2018-11-28 17:01:57 +01:00
Robin Stjerndorff
efec16f99a imonitor: double-kill questd 2018-11-27 11:30:47 +01:00
ke hu
4d3f1c7e02 comment questd reboot
questd not restart by imonitor for network error
2018-11-23 16:33:40 +01:00
Robin Stjerndorff
9bf8b5d2ca ice-client: update to 5.2.2 2018-11-23 11:10:01 +01:00
Robin Stjerndorff
7d8c875c0d ice-client: update to 5.2.1 2018-11-23 09:06:51 +01:00
Robin Stjerndorff
809c03eaff icwmp: update to fix refs #14432 2018-11-21 14:02:39 +01:00
ke.hu
08e0a50939 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 9473157 no tx multicast counter for clients refs #16125
-------------------------------------------------------------------------------
commit 947315714433ac9a4faf8e39f9ab285964a553d1
Author: ke.hu <ke.hu@iopsys.eu>
Date: 2018-11-19 17:00:59 +0100

    no tx multicast counter for clients refs #16125

    do not collect tx multicast info for sta

Base directory -> /
 wireless.c | 2 --
 1 file changed, 2 deletions(-)
-------------------------------------------------------------------------------
2018-11-20 09:31:04 +01:00
Kent Ekholm
9374eb8051 Make brcm channel indexes begin at index 4 if device has no DECT.
Ref: #16266
2018-11-16 14:33:29 +01:00
Robin Stjerndorff
61f9d80295 netmodes: reboot brcm repeater after wps pair refs #16130 2018-11-08 17:57:54 +01:00
Robin Stjerndorff
5c150e7564 ice-client: update to 5.2.0 2018-11-08 12:00:54 +01:00
Robin Stjerndorff
ddd15c4b4e Revert "netmodes: enable dhcpv6_follow_wan by default on brcm routed, bridged and iptv modes refs: #16178"
This reverts commit 999e5e8063.
2018-11-06 14:24:00 +01:00
Robin Stjerndorff
999e5e8063 netmodes: enable dhcpv6_follow_wan by default on brcm routed, bridged and iptv modes refs: #16178 2018-11-06 11:03:01 +01:00
Robin Stjerndorff
c86883b7cf netmodes: reboot repeaters after pair, refs: #16130 2018-10-31 11:00:14 +01:00
Ronny Nilsson
4dd6285a1d voice-client: Workaround for devices with optional external Dect.
For boards where the Dect HW has been left out in factory,
we need to delete the brcm channels in UCI to prevent them
from showing up in the phone GUI.
2018-10-29 14:04:51 +01:00
Robin Stjerndorff
23d79b47eb netmodes: reboot repeaters after pair, refs: #16094 #16130 2018-10-26 15:06:30 +02:00
Robin Stjerndorff
90e9e3858b icwmp: update to fix refs: 16068 2018-10-26 15:00:52 +02:00
Robin Stjerndorff
89b5eda5e4 hotplug.d: lan-follow-wan dhcpv6 refs: #15747 2018-10-26 14:44:17 +02:00
Reidar Cederqvist
21a7e114e1 iup: update wait_for_default_gatweay to be configurable refs #15331 2018-10-17 14:08:39 +02:00
Robin Stjerndorff
4c16875e04 ice-client: update to 5.1.13 2018-10-17 11:24:13 +02:00
Robin Stjerndorff
47a8934134 icwmp: update to fix refs #15773 #15815 #15817 #15874 2018-10-12 12:05:06 +02:00
Robin Stjerndorff
8204ccc8de ice-client: update to 5.1.12 2018-10-12 11:36:26 +02:00
ke hu
0d106b9592 improve vif
avoid other issue caused by wlconf
2018-10-11 16:46:22 +02:00
ke hu
47e6d6a06a refs #15788
fixed wifi
2018-10-08 15:56:06 +02:00
Robin Stjerndorff
05925f7f91 icwmp: update to fix refs 15818, 15850, 15897 2018-10-08 14:29:47 +02:00
Kent Ekholm
a0412ac544 Fixed a typo. A double quotes was missing. 2018-10-08 14:14:53 +02:00
Kent Ekholm
a88514aeb2 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-10-08 14:14:45 +02:00
Kent Ekholm
3126fcd4c5 Making endcall macro handle empty arguments.
Ref: 15326
2018-10-08 14:14:38 +02:00
Robin Stjerndorff
d1e1950ab3 ice-client: update to 5.1.11 2018-10-08 13:38:41 +02:00
Sukru Senli
3bfe407c6d catv: remove kate swap file 2018-10-05 15:47:33 +02:00
ke hu
77e5d59b84 refs #15969
wrong folder name
2018-10-03 11:49:07 +02:00
ke hu
0e651cb811 refs #15642
sync vif number with master
2018-10-02 11:20:01 +02:00
ke hu
b9adcfa970 fix public build 2018-10-01 16:36:09 +02:00
ke hu
4addf0b269 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 4fe9044 return int for unsupported temperature
-------------------------------------------------------------------------------
commit 4fe9044b2b2851ba4158707736863964ccc970ae
Author: ke hu <ke.hu@inteno.se>
Date: 2018-10-01 09:44:04 +0200

    return int for unsupported temperature

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-10-01 09:49:27 +02:00
ke hu
3f28fc7bc3 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* b47e15a refs #15742
-------------------------------------------------------------------------------
commit b47e15a501a1aa9d0958501a8ad27bfb222bd572
Author: ke hu <ke.hu@inteno.se>
Date: 2018-09-27 16:59:58 +0200

    refs #15742

    brcm support old version

Base directory -> /
 broadcom.c | 14 ++++++++++++++
 broadcom.h |  1 +
 wireless.c | 25 +++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
-------------------------------------------------------------------------------
2018-09-28 10:17:48 +02:00
Jonas Höglund
c252acad84 config: do not set missing localmirror 2018-09-26 10:14:27 +02:00
Jonas Höglund
888b745333 New syntax for https url:s 2018-09-26 10:14:12 +02:00
Sukru Senli
bcb8d153eb iopsys: point to new iopsys git repositories 2018-09-26 10:12:55 +02:00
Sukru Senli
8f1b37b0fd iop: adapt to new iopsys git repositories 2018-09-26 10:10:42 +02:00
Robin Stjerndorff
ded9a5c24c icwmp: update to fix refs #15404 2018-09-13 11:23:30 +02:00
Robin Stjerndorff
e6dd3f3969 ice-client: update to 5.1.10 2018-09-04 16:33:05 +02:00
ke hu
d2b608f565 ticket refs#15705
no using ubus to get vdsl param , using db command
2018-08-29 13:34:36 +02:00
Robin Stjerndorff
af9153037c Revert "layer2interface: update brcmwifi.sh to set interference to 25 in wlmngr_finalize()"
This reverts commit 8f35f05987.
2018-08-21 15:07:25 +02:00
Robin Stjerndorff
8f35f05987 layer2interface: update brcmwifi.sh to set interference to 25 in wlmngr_finalize() 2018-08-20 09:16:03 +02:00
Robin Stjerndorff
f507b45958 ice-client: update package version string to 5.1.9 as well 2018-08-17 07:54:40 +02:00
Robin Stjerndorff
4a386671cd ice-client: update to 5.1.9 2018-08-16 14:18:39 +02:00
Robin Stjerndorff
e03a924720 icwmp: fix refs #15457 2018-08-16 11:57:53 +02:00
ke hu
c91c16fe6c fix open build refs#15588
change the version number
2018-08-15 14:58:23 +02:00
Reidar Cederqvist
c590f166f8 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* b6dd739 Ticket refs #15458: fix permissions
* e35c9b8 Ticket refs #15458: fix permissions of IneternetGatewayDevice.WANDevice.i.WANConnectionDevice.
* 809ed51 Ticket refs #15458: fix permissions of IneternetGatewayDevice.Layer3Forwarding.Forwarding.
* 280743a Ticket refs #15458 : fix permission of LANDEvice Object
* 9bbc486 Remove last commit of landevice
* 2bb8dc2 ticket refs 15455: permission conformity to TR098
* 57cc10b ticket ref(15455, 15456, 15457): permission conformity to TR098
-------------------------------------------------------------------------------
commit b6dd7391f245a311663d2a34a44dbd37dbce89e4
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-13 16:02:06 +0100

    Ticket refs #15458: fix permissions

Base directory -> /
 dm/dmtree/tr098/landevice.c          | 2 +-
 dm/dmtree/tr098/layer_3_forwarding.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit e35c9b8e1e61c88f41fce91314261e272309f5b6
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-13 15:56:19 +0100

    Ticket refs #15458: fix permissions of
    IneternetGatewayDevice.WANDevice.i.WANConnectionDevice.

Base directory -> /
 dm/dmtree/tr098/wandevice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 809ed51625234c2da160d870ed75e8e03bdf32e5
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-13 15:52:01 +0100

    Ticket refs #15458: fix permissions of
    IneternetGatewayDevice.Layer3Forwarding.Forwarding.

Base directory -> /
 dm/dmtree/tr098/layer_3_forwarding.c | 101 +++++++++++++++++++++++++++++------
 1 file changed, 84 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 280743aa9dc98aac68baf5a8481c29c69ac194a7
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-13 13:53:34 +0100

    Ticket refs #15458 : fix permission of LANDEvice Object

Base directory -> /
 dm/dmtree/tr098/landevice.c | 105 +++++++++++++++++++++-----------------------
 1 file changed, 51 insertions(+), 54 deletions(-)
-------------------------------------------------------------------------------
commit 9bbc4868893be717602f97b91aff1074cff31cbf
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-12 16:26:34 +0100

    Remove last commit of landevice

Base directory -> /
 dm/dmtree/tr098/landevice.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2bb8dc2f8498207671b890eced3457d815b51e25
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-12 16:16:41 +0100

    ticket refs 15455: permission conformity to TR098

Base directory -> /
 dm/dmtree/tr098/landevice.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 57cc10b35fd0d060f26b6866ab49bf1e092f9af0
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-07-12 16:02:41 +0100

    ticket ref(15455, 15456, 15457): permission conformity to TR098

Base directory -> /
 dm/dmtree/common/deviceinfo.c        | 58 +++++++++++++++++++++++++++++++--
 dm/dmtree/tr098/downloaddiagnostic.c |  2 +-
 dm/dmtree/tr098/layer_3_forwarding.c | 63 +++++++++++++++++++++++++++++-------
 3 files changed, 108 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2018-07-16 09:59:56 +02:00
Reidar Cederqvist
d772153d02 tptest: change port of referens.sth.ip-performance.se to 1641 refs #15422 2018-07-05 11:43:13 +02:00
Reidar Cederqvist
a9fe866925 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 9f17328 ipping_launch: round result values to be unsigned ints refs #15385 refs #14153
-------------------------------------------------------------------------------
commit 9f1732830a1f0e35782f2c3895aa2acfb2ec8c5a
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 14:31:53 +02:00
Reidar Cederqvist
0c273c048a icwmp: update hotplug iface script to newer version refs #15348 2018-06-28 11:57:13 +02:00
Erik Horemans
c613e4a227 new ice-client 5.1.8 2018-06-19 10:26:50 +02:00
Erik Horemans
f8aeeb40b1 new ice-client 5.1.7 2018-06-14 21:20:43 +02:00
Erik Horemans
af1b9651af new ice-client 5.1.6 2018-06-14 16:56:12 +02:00
Erik Horemans
fc1aec1207 new ice-client version 5.1.5 2018-06-14 11:53:46 +02:00
Erik Horemans
370009883c ice-cleitn R5.1.4 2018-06-07 13:29:30 +02:00
Erik Horemans
4a69e80d0a new ice-client 5.1.3 2018-06-07 11:36:49 +02:00
Reidar Cederqvist
23121fde9d iop: remove p910nd from inteno default software 2018-06-05 09:41:43 +02:00
Erik Horemans
e68fe424d0 new ice-client 5.1.2 2018-06-01 09:37:42 +02:00
Ke Hu
a78935fcbf Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 930b890 stack overflow
-------------------------------------------------------------------------------
commit 930b8908a0159cfdef9d5c8861791db176dad7f5
Author: Ke Hu <ke.hu@inteno.se>
Date: 2018-05-28 13:27:07 +0200

    stack overflow

    ref:14626
Base directory -> /
 src/external_call.c | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
2018-05-28 13:29:52 +02:00
Erik Horemans
96f0755183 new ice-client 5.1.1 2018-05-24 16:48:53 +02:00
Ke Hu
659c0a0cfc eg200 param
add eg200 option
2018-05-23 15:04:16 +02:00
Reidar Cederqvist
442efa70c8 ice-client: update to version 5.0.3-RC9 2018-05-21 16:56:55 +02:00
Reidar Cederqvist
c3b0fd63e5 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
*   a095e0e Merge remote-tracking branch 'origin/old-master' into 3.15
|\
| * bcf9c33 Merge remote-tracking branch 'origin/iop3' into old-master
| * 2fd7a9a Ticket refs #14475 : Setting DNS for LAN clients via TR069
* 875bd97 Ticket refs #14153: DSCP in tr069 datamodell
* 55f318f Ticket refs #14159 : TR-069: Vendor logfile in datamodel
-------------------------------------------------------------------------------
commit a095e0e80ee61ca8919b37d685f6bf878bc1448a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-05-21 16:28:57 +0200

    Merge remote-tracking branch 'origin/old-master' into 3.15

Base directory -> /
 bin/Makefile.am                         |   3 +-
 dm/dmcommon.c                           |  90 ++++++---
 dm/dmcommon.h                           |   2 +-
 dm/dmcwmp.c                             |  61 +++++-
 dm/dmcwmp.h                             |   8 +-
 dm/dmtree/common/deviceinfo.c           |   1 +
 dm/dmtree/common/managementserver.c     |   1 +
 dm/dmtree/common/voice_services.c       |  36 ++--
 dm/dmtree/common/x_inteno_se_buttons.c  |   1 +
 dm/dmtree/common/x_inteno_se_ipacccfg.c |  25 ++-
 dm/dmtree/tr098/deviceconfig.c          |   1 +
 dm/dmtree/tr098/lan_interfaces.c        |   1 +
 dm/dmtree/tr098/landevice.c             | 337 ++++++++++++-------------------
 dm/dmtree/tr098/layer_2_bridging.c      |   1 +
 dm/dmtree/tr098/layer_3_forwarding.c    |   1 +
 dm/dmtree/tr098/wandevice.c             |   1 +
 dm/dmtree/tr098/x_inteno_se_wifi.c      |   1 +
 dm/dmtree/tr181/bridging.c              |   2 +-
 dm/dmtree/tr181/dhcp.c                  | 342 +++++++++++++++++++++++++++++---
 dm/dmtree/tr181/dhcp.h                  |  15 ++
 dm/dmtree/tr181/ethernet.c              |   6 +
 dm/dmtree/tr181/ethernet.h              |   2 +-
 dm/dmtree/tr181/hosts.c                 |  54 +++++
 dm/dmtree/tr181/hosts.h                 |   2 +-
 dm/dmtree/tr181/ip.c                    |  11 +-
 dm/dmtree/tr181/userinterface.c         |  81 ++++++++
 dm/dmtree/tr181/userinterface.h         |   6 +
 dm/dmtree/tr181/wifi.c                  | 270 +++++++++++++++++--------
 dm/dmtree/tr181/wifi.h                  |  11 +-
 xml.c                                   |   6 +-
 30 files changed, 991 insertions(+), 388 deletions(-)
-------------------------------------------------------------------------------
commit 875bd97659f64abf30e2c1f1277c52d28512bd7d
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-23 16:09:36 +0100

    Ticket refs #14153: DSCP in tr069 datamodell

Base directory -> /
 dm/dmtree/tr098/downloaddiagnostic.c | 28 ++++++++++++++++++++++++++++
 dm/dmtree/tr098/ippingdiagnostics.c  | 29 +++++++++++++++++++++++++++--
 dm/dmtree/tr098/uploaddiagnostic.c   | 31 ++++++++++++++++++++++++++++++-
 scripts/functions/ipping_launch      | 18 ++++++++++--------
 4 files changed, 95 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 55f318f3b5efa3207a6274ce1d8beadd8e917249
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-12 11:20:52 +0100

    Ticket refs #14159 : TR-069: Vendor logfile in datamodel

Base directory -> /
 dm/dmtree/common/deviceinfo.c | 66 +++++++++++++++++++++++++++++++++++++
 dm/dmtree/common/deviceinfo.h |  5 +++
 scripts/icwmp.sh              | 75 +++++++++++++++++++++++++++++++------------
 xml.c                         | 11 ++++---
 4 files changed, 131 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit bcf9c33d9b453d26d2bf8f58e539505158c2fe24
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-05-18 14:57:37 +0200

    Merge remote-tracking branch 'origin/iop3' into old-master

Base directory -> /
 dm/dmtree/tr098/landevice.c | 7 ++++++-
 init/icwmpd.init            | 3 +++
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 2fd7a9a491fa3ced01c510ec76ee08033820cbaa
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-05-09 16:03:44 +0200

    Ticket refs #14475 : Setting DNS for LAN clients via TR069

Base directory -> /
 dm/dmcommon.c               |  90 ++++++++-----
 dm/dmcommon.h               |   2 +-
 dm/dmcwmp.c                 |  57 ++++++++-
 dm/dmcwmp.h                 |   7 +-
 dm/dmtree/tr098/landevice.c | 303 ++++++++++++++++----------------------------
 dm/dmtree/tr181/dhcp.c      | 245 ++++++++++++++++++++++++++++++++---
 dm/dmtree/tr181/dhcp.h      |   8 ++
 7 files changed, 467 insertions(+), 245 deletions(-)
-------------------------------------------------------------------------------
2018-05-21 16:32:17 +02:00
Reidar Cederqvist
d0f69901d9 voice-client: fix security issue refs #14962 2018-05-18 17:02:25 +02:00
Reidar Cederqvist
69df4d5ecf questd: hook start_service in boot section 2018-05-18 09:30:07 +02:00
Reidar Cederqvist
08cf34ba05 questd: remove unused init.d stop function 2018-05-18 09:29:40 +02:00
Reidar Cederqvist
486ce94f5f quest: move logging of boot reason and sw from enviroment
This is done because enviroment starts before log
2018-05-16 11:12:51 +02:00
Reidar Cederqvist
1eaf597010 Merge remote-tracking branch 'origin/3.15.0' into iop3 2018-05-02 14:52:41 +02:00
Reidar Cederqvist
8971a419cf icwmp add fix for #14153 2018-04-30 11:42:40 +02:00
Reidar Cederqvist
8ece561b74 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* ec017c0 Merge remote-tracking branch 'origin/3.14' into old-master
* 7ec8d68 Ticket ref #14725 : Segmentation fault when running add_object of InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.
* 8a67708 Ticket refs #14725: Segmentation fault when running add_object of InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.
* de64e5b Ticket refs #14159 : TR-069: Vendor logfile in datamodel
* 4e4ed4b Ticket refs #14061 : DNSServers reports via TR069 blank/empty value
* 31039fa Ticket refs #14352 : Setting static DHCP lease via TR069 is not working
* 9110a4b Ticket refs #14432:Adding a new ACL object via TR069 only gives REJECT in firewall
* 6f16de5 Ticket refs #14649: GPV after config upload not getting processed
* eb00b90 Ticket refs #14185: TR069 reboot not working
* ada5c5b Ticket refs #13818: Not able to Upgrade/downgrade RG using TR069 . Required/Steps for Upgrade procedure
* e854bcf Ticket refs #13789: Get for "Device.WiFi.AccessPoint.<1/2>.Security.ModeEnabled" wifi parameter is not returning any value
* 16dd408 Ticket refs #13620: TR-181: List of parameters to be supported
-------------------------------------------------------------------------------
commit ec017c02383dbdb3efa118da0593776419189e68
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-04-19 11:16:34 +0200

    Merge remote-tracking branch 'origin/3.14' into old-master

Base directory -> /
 dm/dmtree/tr098/landevice.c | 7 ++++++-
 init/icwmpd.init            | 3 +++
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7ec8d687984d16b8ba7a90821e92fe3ab037235d
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-13 17:48:07 +0100

    Ticket ref #14725 : Segmentation fault when running add_object of
    InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.

Base directory -> /
 dm/dmtree/common/voice_services.c | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit 8a677082d16db748a90c03925d355c33f0463c4b
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-13 10:11:23 +0100

    Ticket refs #14725: Segmentation fault when running add_object of
    InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.

Base directory -> /
 dm/dmtree/common/voice_services.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit de64e5b9151b68a0d88d3a41009565b47e4a571c
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-12 11:20:52 +0100

    Ticket refs #14159 : TR-069: Vendor logfile in datamodel

Base directory -> /
 dm/dmtree/common/deviceinfo.c | 66 +++++++++++++++++++++++++++++++++++++
 dm/dmtree/common/deviceinfo.h |  5 +++
 scripts/icwmp.sh              | 75 +++++++++++++++++++++++++++++++------------
 xml.c                         | 11 ++++---
 4 files changed, 131 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit 4e4ed4bfd4637301ee47071dcb0c027c052912e5
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-11 15:08:42 +0100

    Ticket refs #14061 : DNSServers reports via TR069 blank/empty value

Base directory -> /
 dm/dmtree/tr098/landevice.c | 3 +++
 dm/dmtree/tr181/dhcp.c      | 3 +++
 2 files changed, 6 insertions(+)
-------------------------------------------------------------------------------
commit 31039fae47d6dd9ccda31bc1491cdd4e7c161e27
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-11 13:32:08 +0100

    Ticket refs #14352 : Setting static DHCP lease via TR069 is not working

Base directory -> /
 dm/dmtree/tr098/landevice.c | 25 ++++++++-----------------
 dm/dmtree/tr181/dhcp.c      | 18 +++++-------------
 2 files changed, 13 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 9110a4b769b3621be309b5118eefbeef7066a1aa
Author: Feten Besbes <feten.besbes@pivasoftware.com>
Date: 2018-04-11 11:17:50 +0100

    Ticket refs #14432:Adding a new ACL object via TR069 only gives REJECT in
    firewall

Base directory -> /
 dm/dmtree/common/x_inteno_se_ipacccfg.c | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6f16de5c9697318bc0c05acff491cda3c9b6336b
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-04-09 19:54:13 +0100

    Ticket refs #14649: GPV after config upload not getting processed

Base directory -> /
 xml.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit eb00b90d3281e8126f5d2d66dd84fd1f3b323812
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-03-01 14:18:33 +0100

    Ticket refs #14185: TR069 reboot not working

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

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

Base directory -> /
 xml.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit e854bcfcef2f976370050fd6ac108eb2ae014c44
Author: Amin Ben Ramdhane <amin.benramdhane@pivasoftware.com>
Date: 2018-01-29 12:23:17 +0100

    Ticket refs #13789: Get for
    "Device.WiFi.AccessPoint.<1/2>.Security.ModeEnabled" wifi parameter is not
    returning any value

Base directory -> /
 dm/dmtree/tr181/wifi.c | 169 ++++++++++++++++++++++++++-----------------------
 1 file changed, 91 insertions(+), 78 deletions(-)
-------------------------------------------------------------------------------
commit 16dd408a130fb532c140e60eb74d64abac1c7cee
Author: Omar Kallel <omar.kallel@pivasoftware.com>
Date: 2018-01-23 10:24:01 +0100

    Ticket refs #13620: TR-181: List of parameters to be supported

Base directory -> /
 bin/Makefile.am                        |   3 +-
 dm/dmcwmp.c                            |   4 +-
 dm/dmcwmp.h                            |   1 +
 dm/dmtree/common/deviceinfo.c          |   1 +
 dm/dmtree/common/managementserver.c    |   1 +
 dm/dmtree/common/x_inteno_se_buttons.c |   1 +
 dm/dmtree/tr098/deviceconfig.c         |   1 +
 dm/dmtree/tr098/lan_interfaces.c       |   1 +
 dm/dmtree/tr098/landevice.c            |   1 +
 dm/dmtree/tr098/layer_2_bridging.c     |   1 +
 dm/dmtree/tr098/layer_3_forwarding.c   |   1 +
 dm/dmtree/tr098/wandevice.c            |   1 +
 dm/dmtree/tr098/x_inteno_se_wifi.c     |   1 +
 dm/dmtree/tr181/bridging.c             |   2 +-
 dm/dmtree/tr181/dhcp.c                 |  76 ++++++++++++++++++++++++-
 dm/dmtree/tr181/dhcp.h                 |   7 +++
 dm/dmtree/tr181/ethernet.c             |   6 ++
 dm/dmtree/tr181/ethernet.h             |   2 +-
 dm/dmtree/tr181/hosts.c                |  54 ++++++++++++++++++
 dm/dmtree/tr181/hosts.h                |   2 +-
 dm/dmtree/tr181/ip.c                   |  11 +++-
 dm/dmtree/tr181/userinterface.c        |  81 ++++++++++++++++++++++++++
 dm/dmtree/tr181/userinterface.h        |   6 ++
 dm/dmtree/tr181/wifi.c                 | 101 ++++++++++++++++++++++++++++++++-
 dm/dmtree/tr181/wifi.h                 |  11 +++-
 25 files changed, 368 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2018-04-19 11:17:16 +02:00
Reidar Cederqvist
70a334bbe8 inteno-netmodes: netmode-conf: if no wet iface continue and set downlink wifi-ifaces ref #14590 2018-04-16 11:13:17 +02:00
Erik Horemans
89831ed756 new ice-client 5.0.3-RC5 2018-04-11 16:42:59 +02:00
Erik Horemans
0ddce4368d new ice-client 5.0.3-RC2 2018-04-11 16:42:59 +02:00
Reidar Cederqvist
6ab0b171c0 inteno-netmodes: netmode-conf: if no wet iface continue and set downlink wifi-ifaces ref #14590 2018-04-09 09:41:39 +02:00
Sukru Senli
a8dc210a31 questd: imonitor: give questd 5 seconds before monitoring again 2018-04-02 13:40:06 +02:00
Reidar Cederqvist
11331ac332 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 0f8cae3 DHCPLeaseTime = -1 now map to infinite in dhcp config ref #14491
-------------------------------------------------------------------------------
commit 0f8cae3d342b5bd0b7d394ccd763531c84f6c77c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-03-26 13:12:44 +0200

    DHCPLeaseTime = -1 now map to infinite in dhcp config ref #14491

Base directory -> /
 dm/dmtree/tr098/landevice.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-26 13:18:32 +02:00
Sukru Senli
497a12b3c0 layer2interface: brcmwifi: set power percent refs #12939 2018-03-16 10:36:00 +01:00
Sukru Senli
ed311ace1c Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* ada81a0 icwmpd.init: compare newreqopts with oldreqopts
-------------------------------------------------------------------------------
commit ada81a02a44d731d394d131af7b0c92ee0c7b832
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-15 16:08:32 +0100

    icwmpd.init: compare newreqopts with oldreqopts

Base directory -> /
 init/icwmpd.init | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-03-15 16:09:21 +01:00
Sukru Senli
5b6de80637 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 634e295 do not reload network if reqopts are not changed
-------------------------------------------------------------------------------
commit 634e295971a778094276d675c57896edaf6f8724
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-15 15:38:53 +0100

    do not reload network if reqopts are not changed

Base directory -> /
 init/icwmpd.init | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2018-03-15 15:39:51 +01:00
Sukru Senli
9b1674be67 layer2interface: brcmwifi: make msglevel configurable refs #14474 2018-03-15 12:04:49 +01:00
Sukru Senli
4583a7a15c iop: configs: select busybox mpstat refs #14456 2018-03-14 20:16:58 +01:00
Sukru Senli
cbb3081d48 questd: imonitor: do not monitor acsd refs #14457 2018-03-14 20:13:11 +01:00
Sukru Senli
62a6034a95 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c144da9 do not arping arponly clients fixes #14416
-------------------------------------------------------------------------------
commit c144da9301d4110140ddd1e054852543dca67dcd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2018-03-12 16:08:27 +0100

    do not arping arponly clients fixes #14416

Base directory -> /
 network.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-03-12 16:09:33 +01:00
Reidar Cederqvist
4ec7e8dedb iop: scripts: update update_feed_branches 2018-03-07 10:25:44 +01:00
Sukru Senli
e7a8f62dd5 iop: update_feed_branches 2018-03-07 09:42:44 +01:00
Erik Horemans
c4f1d286d3 new ice-client 5.0.2-RC15 2018-03-05 13:27:30 +01:00
Sukru Senli
7da855b57e icwmp-3.0-2018-03-01: tr-069 reboot not working issue is fixed 2018-03-03 14:11:35 +01:00
Sukru Senli
77b0eb3697 quest: imonitor: do not monitor bsd 2018-02-27 14:20:43 +01:00
Sukru Senli
1746cc19e7 inteno-netmodes: remove repeater functionality from broadcom units 2018-02-26 19:22:42 +01:00
Reidar Cederqvist
f9c6dc0ac6 iop: config: add juci-openvpn package to default config 2018-02-23 15:17:21 +01:00
Sukru Senli
73a8d2a6d3 questd: updated 2018-02-17 16:10:15 +01:00
Erik Horemans
cc0164bf99 new ice-client 5.0.2-RC5 2018-02-15 11:27:11 +01:00
Sukru Senli
d53ccc5392 inteno-netmodes: defer other uplink device depending on extender/repeater mode 2018-02-12 16:34:02 +01:00
Sukru Senli
e6728d40e7 layer2interface: stop vlan when layer2 ethernet stop is called 2018-02-06 14:30:37 +01:00
Sukru Senli
10bb16effb questd updated 2018-01-26 23:59:13 +01:00
Sukru Senli
a5edab2c6d questd: imonitor: deactivate bsd if both bands are not enabled 2018-01-26 23:07:30 +01:00
Erik Horemans
12387c8eef new ice-client 5.0.2-RC4 2018-01-25 09:54:13 +01:00
Sukru Senli
a00dbf54c4 layer2interface: run vlan start after ethernet start 2018-01-23 23:20:31 +01:00
Sukru Senli
9e45153a5e questd updated 2018-01-21 18:52:53 +01:00
Sukru Senli
0eaac499ec questd: graphd outputs tx_bytes, rx_bytes as key values 2018-01-18 16:03:03 +01:00
Sukru Senli
f57b4a0f1c questd: imonitor: restart wifi after third failure of acsd or bsd 2018-01-12 11:31:21 +01:00
Kenneth Johansson
b058aecd5a add sdx-500rg. 2018-01-08 16:04:43 +01:00
Erik Horemans
2c9b8518cb new ice-client version 5.0.2-RC1 2017-12-29 16:59:35 +01:00
Sukru Senli
2238cafa77 voice-client: remove dependency for now 2017-12-28 11:15:09 +01:00
Sukru Senli
4f7190f58d voice-client: correct the dependency 2017-12-27 14:51:17 +01:00
Sukru Senli
fb983f5dbc questd: imonitor: bring down and up the wireless radios when bsd or acsd crashes 2017-12-22 15:21:30 +01:00
Sukru Senli
676e40a0cc voice-client depend on asterisk13 or asterisk18-mod 2017-12-22 14:28:38 +01:00
Sukru Senli
215274ef98 tptest: remove tptest.bredband.net from list 2017-12-20 19:20:49 +01:00
Erik Horemans
02ca863b23 new ice-client 5.0.1-RC1 2017-12-20 13:53:51 +01:00
Reidar Cederqvist
6f86f000b1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b279429 fix empty client list on wl1 when wl0 is disabled ref #13485
* 1c47a44 change strndup to strdup to avoid warnings
-------------------------------------------------------------------------------
commit b2794295fdf9469b6cd8ba1544f291d4b83a7d5a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-15 11:33:13 +0100

    fix empty client list on wl1 when wl0 is disabled ref #13485

Base directory -> /
 network.c |  5 +++--
 port.c    | 17 +++++++++++++++++
 port.h    |  1 +
 3 files changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 1c47a44bfcb863319282900446bf20965c9eccbc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-15 11:24:01 +0100

    change strndup to strdup to avoid warnings

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-12-15 11:34:14 +01:00
Sukru Senli
8506eed1e4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4bbcb4d network: handle rssi for repeated arp clients
-------------------------------------------------------------------------------
commit 4bbcb4d2f8c901c18cdf4456e65497975e03fada
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-12-13 17:39:02 +0100

    network: handle rssi for repeated arp clients

Base directory -> /
 network.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-12-13 17:40:02 +01:00
Sukru Senli
53b3f486bd questd: imonitor: do not restart quest if lan ifname is missing or is bridge 2017-12-13 13:38:22 +01:00
Sukru Senli
e31e5f32da questd-3.1.40 2017-12-13 13:11:50 +01:00
Reidar Cederqvist
26c2dae0c9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b4b9988 questd: improve parsing
* 9e98e21 questd: get nvram Hardware Version value
* 875d5fe fix c99 warning
* 2711c6b questd: print rssi value from extender
* f62075b questd: get rssi value from extender
* cd39df6 add missing close for ioctl socket
-------------------------------------------------------------------------------
commit b4b99885bea425f552e8a844ff2f15e2d4672c65
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100

    questd: improve parsing

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

    questd: get nvram Hardware Version value

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

    fix c99 warning

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

    questd: print rssi value from extender

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

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit cd39df609dcb7f824f50d4d544ac5247bcd85b3f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-04 12:47:24 +0100

    add missing close for ioctl socket

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-12-07 15:48:04 +01:00
Erik Horemans
2f2d88f770 new ice-client ice-client 5.0.1-RC0 2017-12-05 16:34:25 +01:00
Ionut-Alex Oprea
540b09e26b imonitor: increase questd memory limit to 20MB refs #13511 2017-12-05 14:24:40 +01:00
Robin Stjerndorff
001c25ee12 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 16cb4dd questd: improve parsing
* 312ca10 questd: get nvram Hardware Version value
* 824c247 fix c99 warning
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
-------------------------------------------------------------------------------
commit 16cb4dda3909efef54b84d44fa11dc28f9763c8c
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100

    questd: improve parsing

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

    questd: get nvram Hardware Version value

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

    fix c99 warning

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

    questd: print rssi value from extender

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

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-12-04 17:27:22 +01:00
Sukru Senli
d30348fb43 questd-3.1.39 2017-11-29 17:26:18 +01:00
Sukru Senli
636648a34f icwmp-3.0-2017-11-24 2017-11-29 17:19:16 +01:00
Sukru Senli
5dc5355632 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
* 10cba85 Define missing variable
-------------------------------------------------------------------------------
commit 83a7011877b6a7b1dcbcfd925037ffd77de5165f
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:37:56 +0100

    questd: print rssi value from extender

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

    questd: get rssi value from extender

Base directory -> /
 Makefile      |  2 +-
 wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 10cba850fb80668502ca5ce0bc57533089062741
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-11-23 16:14:17 +0100

    Define missing variable

Base directory -> /
 port.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-11-29 17:13:08 +01:00
Sukru Senli
76f2740a29 questd: imonitor: check lan network only if it exits 2017-11-28 16:14:38 +01:00
Sukru Senli
7a6dc0eb84 questd: imonitor: check ubus call with longer invervals 2017-11-24 16:14:10 +01:00
Sukru Senli
5f75567e4b questd: imonitor: restart questd if ports info is missing 2017-11-24 10:08:55 +01:00
Ionut-Alex Oprea
42a8a0c073 /etc/init.d/quest: remove unneeded code 2017-11-22 16:47:30 +01:00
Sukru Senli
c40ed94c31 layer2interface: enable V43 tone set for GFAST 2017-11-21 10:53:10 +01:00
Kenneth Johansson
783880f6e8 genconfig: add hpc_hu02 board. 2017-11-17 15:49:43 +01:00
Sukru Senli
35b77f688d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bc34921 mediatek: trigger auto channel selection based on busy time
-------------------------------------------------------------------------------
commit bc34921baff1f6bc9d76920d8863010fa6b4e3cd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-17 09:28:55 +0100

    mediatek: trigger auto channel selection based on busy time

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-11-17 09:29:26 +01:00
Jonas Höglund
d32c9061ef Extract core packages 2017-11-15 16:34:43 +01:00
Sukru Senli
38b76deb5e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 053c721 wificontrol: do not run ApCliAutoConnect during wifi reload and wps
-------------------------------------------------------------------------------
commit 053c7218371b036976917e531fa1772d63b00dd3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-14 16:58:51 +0100

    wificontrol: do not run ApCliAutoConnect during wifi reload and wps

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-14 16:59:14 +01:00
Sukru Senli
d62d6167cb icwmp-3.0-2017-11-14 2017-11-14 16:45:01 +01:00
Sukru Senli
df6596d7d5 icwmp-3.0-2017-11-13 2017-11-13 18:09:34 +01:00
Sukru Senli
799c1c5aa3 ice-client: make sure ice-client password is always set to be WPAKEY 2017-11-10 14:22:30 +01:00
Sukru Senli
97d0f55d16 iop: genconfig: continue with common settings if board profile does not exist for the customer 2017-11-09 16:33:53 +01:00
Sukru Senli
cd8af291b1 Update feed [ feed_inteno_packages ] package [ loop-detector ]
-------------------------------------------------------------------------------
* d0fb770 update .gitignore
* 8e010ba use uint8_t instead of u_int8_t
-------------------------------------------------------------------------------
commit d0fb770eacd6691b98df138b60f5116e02f71a9b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-07 16:37:21 +0100

    update .gitignore

Base directory -> /
 .gitignore | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 8e010bac8a84812221bd8c5abbea46a624685ee8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-07 16:36:39 +0100

    use uint8_t instead of u_int8_t

Base directory -> /
 mac_ethernet.c | 2 +-
 mac_ethernet.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-07 16:37:49 +01:00
Ronny Nilsson
6526877731 samba2: fix build in Debian 9
Tune compiler CFLAGS. Samaba2 otherwise won't build on a
Debian 9 system. The flags should be backwards compatible
as well.
2017-11-07 13:48:42 +01:00
Sukru Senli
05eb2b020d iop: compile loop-detector as module 2017-11-06 17:02:25 +01:00
Sukru Senli
6a6d30cd77 inteno-netmodes: mtk routed mode omcproxy config 2017-11-06 15:37:53 +01:00
Sukru Senli
ef8f558dd4 inteno-netmodes: reload network when switched to repeater mode via WebGUI 2017-11-06 15:36:37 +01:00
Robin Stjerndorff
f93d57d7f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 1fa7794 broadcom: proper flag parsing for VHT capabilities
* a75e33a system: show hardware name instead of hardwaremodel in router.system
* 5c1edef network: test connection of client via arping if bridge timer aging reached 30
* 5b1324d network: do not work on client array directly
* 78c4d67 broadcom: show correct maxrate for 80MHz
* bb65654 network: give ipaddr and network for disconnect clients
* 945be06 port: change to a quicker port validation function ref #13044
* 1e2b4d3 port: TEMPORARY fix for eg300 wan slowing down port calls
* 8cfa617 port: fix incorrect string comparison
* 0b3e3b4 port: fixe typo and redirect stderr to stdout ref #13044
* abad9c8 port: update logic for getting port-speed ref #13044
* 9d4cb92 change strcpy to strncpy
-------------------------------------------------------------------------------
commit 1fa7794590ca938f1dffc77048610f68e5386a68
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-06 10:35:28 +0100

    broadcom: proper flag parsing for VHT capabilities

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a75e33ae0f0b3abad6cdc6086c4feb9d5feb58a8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 15:29:47 +0100

    system: show hardware name instead of hardwaremodel in router.system

Base directory -> /
 dumper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5c1edef2de5bf95b0e3468a5aa9c2d5cfc14d485
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 14:20:57 +0100

    network: test connection of client via arping if bridge timer aging reached
    30

Base directory -> /
 network.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 5b1324d5650edaf2a82acaa71d568dd6586a24cc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 10:47:02 +0100

    network: do not work on client array directly

Base directory -> /
 network.c | 203 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 101 insertions(+), 102 deletions(-)
-------------------------------------------------------------------------------
commit 78c4d67209287f40fd8bc78dbcea662dafd04050
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-01 18:22:17 +0100

    broadcom: show correct maxrate for 80MHz

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bb656543d0775057247c8b1e3048157121e0f399
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-18 14:58:05 +0200

    network: give ipaddr and network for disconnect clients

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 945be064408d5c6c1f1dfd34453d81657b8e1b87
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:15:33 +0200

    port: change to a quicker port validation function ref #13044

    and made default up to true for non eth devidces in ports call

Base directory -> /
 port.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 1e2b4d3bb447f0249e81e4df36e8ad0b5c6195c6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:13:48 +0200

    port: TEMPORARY fix for eg300 wan slowing down port calls

Base directory -> /
 port.c | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 8cfa6179b00e5a1278271cd48559d6bcd5829d46
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 17:09:55 +0200

    port: fix incorrect string comparison

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 0b3e3b4350d9c7d5250eff7e52a22dcb2aef514a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 14:32:50 +0200

    port: fixe typo and redirect stderr to stdout ref #13044

Base directory -> /
 port.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit abad9c874b47e366384f2751a9ab846223bf7b5e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 13:24:15 +0200

    port: update logic for getting port-speed ref #13044

Base directory -> /
 port.c | 133 ++++++++++++++++++++++++++++-------------------------------------
 1 file changed, 57 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
commit 9d4cb9218fa75b4d4c091449fcd65c60d50e6caf
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-10-02 12:19:32 +0200

    change strcpy to strncpy

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-06 10:36:58 +01:00
Reidar Cederqvist
9fec27da40 inteno-netmodes: removed dbug message from repeater ubus script 2017-11-03 13:08:20 +01:00
Sukru Senli
a64ff3c8a7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a75e33a system: show hardware name instead of hardwaremodel in router.system
-------------------------------------------------------------------------------
commit a75e33ae0f0b3abad6cdc6086c4feb9d5feb58a8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 15:29:47 +0100

    system: show hardware name instead of hardwaremodel in router.system

Base directory -> /
 dumper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-11-02 15:30:04 +01:00
Sukru Senli
0c178377f6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5c1edef network: test connection of client via arping if bridge timer aging reached 30
* 5b1324d network: do not work on client array directly
-------------------------------------------------------------------------------
commit 5c1edef2de5bf95b0e3468a5aa9c2d5cfc14d485
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 14:20:57 +0100

    network: test connection of client via arping if bridge timer aging reached
    30

Base directory -> /
 network.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 5b1324d5650edaf2a82acaa71d568dd6586a24cc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-02 10:47:02 +0100

    network: do not work on client array directly

Base directory -> /
 network.c | 203 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 101 insertions(+), 102 deletions(-)
-------------------------------------------------------------------------------
2017-11-02 14:21:47 +01:00
Sukru Senli
28825b6078 loop-detector: add trigger for correct config file 2017-11-02 11:46:38 +01:00
Sukru Senli
991927899d loop-detector: hook it up to openwrt init and uci structure 2017-11-02 11:36:53 +01:00
Sukru Senli
541715b927 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 78c4d67 broadcom: show correct maxrate for 80MHz
-------------------------------------------------------------------------------
commit 78c4d67209287f40fd8bc78dbcea662dafd04050
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-11-01 18:22:17 +0100

    broadcom: show correct maxrate for 80MHz

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-11-01 18:30:36 +01:00
Omar
54df72b3cc Ticket refs #11405: EX400: some packages are not available because they do not compile 2017-11-01 17:03:44 +01:00
Sukru Senli
1570a91c9c voice-client: fix erros during reload 2017-11-01 16:45:03 +01:00
Sukru Senli
509d9dfca8 loop-detector package 2017-11-01 13:58:19 +01:00
Sukru Senli
bd6352dfcb Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 959eca8 button: do not add buttons to ubus
-------------------------------------------------------------------------------
commit 959eca8ab2b50eaccfff9c710cffe5b317bb6ad1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-23 13:45:36 +0200

    button: do not add buttons to ubus

Base directory -> /
 src/button.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-23 13:46:02 +02:00
Anjan Chanda
0d9c49ac5e Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* a67f5cc mtk-bndstrg: handle sticky clients
-------------------------------------------------------------------------------
commit a67f5ccdf9bc6810f15f1ece9edaad5e89cad0f7
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-10-18 19:49:33 +0530

    mtk-bndstrg: handle sticky clients

Base directory -> /
 bndstrg.c | 214 ++++++++++++++++++++++++++++++++++++++++----------------------
 bndstrg.h |   3 +
 2 files changed, 141 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
2017-10-18 20:33:36 +05:30
Sukru Senli
8b0263ed90 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bb65654 network: give ipaddr and network for disconnect clients
-------------------------------------------------------------------------------
commit bb656543d0775057247c8b1e3048157121e0f399
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-18 14:58:05 +0200

    network: give ipaddr and network for disconnect clients

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-18 14:58:47 +02:00
Sukru Senli
05490cbfc2 icwmp-3.0-2017-10-14 2017-10-16 15:42:14 +02:00
Omar
ac773f5bc3 Ticket refs #13024:
EX400 does not have any wandevice config in the datamodel in extender mode
2017-10-16 15:41:42 +02:00
Reidar Cederqvist
6e64075198 10-switch: fix for EG300 wan port ref #13048 2017-10-13 10:36:23 +02:00
Reidar Cederqvist
8b211d1fa9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 945be06 port: change to a quicker port validation function ref #13044
* 1e2b4d3 port: TEMPORARY fix for eg300 wan slowing down port calls
-------------------------------------------------------------------------------
commit 945be064408d5c6c1f1dfd34453d81657b8e1b87
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:15:33 +0200

    port: change to a quicker port validation function ref #13044

    and made default up to true for non eth devidces in ports call

Base directory -> /
 port.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 1e2b4d3bb447f0249e81e4df36e8ad0b5c6195c6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-12 11:13:48 +0200

    port: TEMPORARY fix for eg300 wan slowing down port calls

Base directory -> /
 port.c | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-10-12 11:49:35 +02:00
Reidar Cederqvist
a224f4ccd8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8cfa617 port: fix incorrect string comparison
-------------------------------------------------------------------------------
commit 8cfa6179b00e5a1278271cd48559d6bcd5829d46
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 17:09:55 +0200

    port: fix incorrect string comparison

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-11 17:13:31 +02:00
Reidar Cederqvist
8bd23fa7e1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0b3e3b4 port: fixe typo and redirect stderr to stdout ref #13044
-------------------------------------------------------------------------------
commit 0b3e3b4350d9c7d5250eff7e52a22dcb2aef514a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 14:32:50 +0200

    port: fixe typo and redirect stderr to stdout ref #13044

Base directory -> /
 port.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-10-11 14:33:03 +02:00
Erik Horemans
3252f728d8 new ice-client R5.0.0-RC8 2017-10-11 14:23:04 +02:00
Reidar Cederqvist
c11422844c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* abad9c8 port: update logic for getting port-speed ref #13044
* 9d4cb92 change strcpy to strncpy
-------------------------------------------------------------------------------
commit abad9c874b47e366384f2751a9ab846223bf7b5e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-10-11 13:24:15 +0200

    port: update logic for getting port-speed ref #13044

Base directory -> /
 port.c | 133 ++++++++++++++++++++++++++++-------------------------------------
 1 file changed, 57 insertions(+), 76 deletions(-)
-------------------------------------------------------------------------------
commit 9d4cb9218fa75b4d4c091449fcd65c60d50e6caf
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-10-02 12:19:32 +0200

    change strcpy to strncpy

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-10-11 13:44:31 +02:00
Erik Horemans
273ba35ae8 new ice-client 5.0.0-RC7 2017-10-04 16:32:29 +02:00
Kenneth Johansson
64259f47bb Add broadcom 963138REF reference board. 2017-10-04 14:18:03 +02:00
Jonas Höglund
0133c2f23e Install endpt utility to target 2017-10-04 14:00:51 +02:00
Jonas Höglund
3292b0e782 Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 837ec19 Set countries from brcm_countries.h
-------------------------------------------------------------------------------
commit 837ec19e37650e424e77c921672a0806e198ba7b
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-10-03 15:37:20 +0200

    Set countries from brcm_countries.h

Base directory -> /
 src/Makefile | 29 +----------------------------
 src/endpt.c  |  1 +
 src/main.c   |  7 ++++---
 3 files changed, 6 insertions(+), 31 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
4f78d16f9a Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 5202450 Only signal dialtone once
* 80a6420 Dialtone
* 2b6571d Ringing
* 09cf2ef Create connection
* 3f84f6b Shut down cleanly
* bbcb279 Get nr of endpoints
* c903329 Only initialize the SLIC:s
* b833e8a Create endpoints
* 8fd381a Init endpoint
-------------------------------------------------------------------------------
commit 520245066af315dde9009cd26a306f223c4a8961
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-10-02 17:30:12 +0200

    Only signal dialtone once

Base directory -> /
 src/endpt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 80a642078d1a097f19d52b149601604756021927
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 17:46:06 +0200

    Dialtone

Base directory -> /
 src/endpt.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 2b6571dbef4f8876ad10e142f27ec2b88b7ff549
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 17:31:10 +0200

    Ringing

Base directory -> /
 src/endpt.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 09cf2ef441d108e53bef812f4e4383e12db0d827
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 16:48:38 +0200

    Create connection

Base directory -> /
 src/endpt.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 81 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 3f84f6b7d00bdda5bd9f2de055fcf33f9af4c932
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 14:09:24 +0200

    Shut down cleanly

Base directory -> /
 src/endpt.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit bbcb279a85e48b4eb033fbf86401ad3def1658dc
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 11:35:39 +0200

    Get nr of endpoints

Base directory -> /
 src/endpt.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit c9033292674abc478b7bd2c70619af74426c8e9f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-28 10:45:30 +0200

    Only initialize the SLIC:s

Base directory -> /
 src/endpt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b833e8ac64167933c998468d1bfd77eb40661cb4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-27 17:55:20 +0200

    Create endpoints

Base directory -> /
 src/endpt.c | 9 +++++++++
 1 file changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 8fd381ae3ddc1218aadf95b86f1da5f0563221a6
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-27 17:15:58 +0200

    Init endpoint

Base directory -> /
 src/Makefile |  1 +
 src/endpt.c  | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
dc23894ad1 Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* 4dd8c50 Endpoint init
* 88bff50 Add endpt test app
* c669442 Detect offhook
* a6dc78d Set up polling
-------------------------------------------------------------------------------
commit 4dd8c50ab8f107bd757ff7ece5f6c17b790201b3
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-26 14:52:48 +0200

    Endpoint init

Base directory -> /
 src/Makefile | 67 ++++++++++++++++++++++++++----------------------------------
 src/endpt.c  | 17 ++++++++++++++-
 2 files changed, 45 insertions(+), 39 deletions(-)
-------------------------------------------------------------------------------
commit 88bff50b4f9a11556a00dd9a6237af4e48751b4e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-22 16:21:57 +0200

    Add endpt test app

Base directory -> /
 src/Makefile |  6 ++++++
 src/endpt.c  | 11 +++++++++++
 2 files changed, 17 insertions(+)
-------------------------------------------------------------------------------
commit c669442f060ee302c5e50d6d0a941a38528e4e87
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-22 16:20:24 +0200

    Detect offhook

Base directory -> /
 src/main.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a6dc78d915b726a3804d2572a80247f6a2adf2ea
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-20 09:53:07 +0200

    Set up polling

Base directory -> /
 src/main.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 65 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
22c139da7b Update feed [ feed_inteno_packages ] package [ brcmslic ]
-------------------------------------------------------------------------------
* c3e574f We don't seem to need to enable slics
* a01ac94 Power on slic
* 09eb0d3 Init slic
-------------------------------------------------------------------------------
commit c3e574fab047a95893e1b8526c65656bb05684b5
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 17:05:35 +0200

    We don't seem to need to enable slics

Base directory -> /
 src/main.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a01ac94ff6b8ce391a451fd4a5316dc45b1f2870
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 16:43:43 +0200

    Power on slic

Base directory -> /
 src/main.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
-------------------------------------------------------------------------------
commit 09eb0d33e15a2a4f369fe02b7af02b8e4187729f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-09-18 14:52:28 +0200

    Init slic

Base directory -> /
 src/Makefile | 44 +++++++++++++++++++++++++++++++++++++++++++-
 src/main.c   | 30 +++++++++++++++++++++++++++++-
 2 files changed, 72 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-10-04 12:37:01 +02:00
Jonas Höglund
9af7c41588 Add new brcmslic package 2017-10-04 12:36:53 +02:00
Sukru Senli
9948080efe Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7964428 network: overwrite macaddress of repeated clients and tag them as repeated
* 2ed8d81 Revert "remove the duplicate clients that have half mac mangled by the repeater"
* 5c7f00e remove the duplicate clients that have half mac mangled by the repeater
-------------------------------------------------------------------------------
commit 7964428754135891ce3a88c0ad6f8c44033dfb0e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-10-02 10:25:11 +0200

    network: overwrite macaddress of repeated clients and tag them as repeated

Base directory -> /
 network.c | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2ed8d8165fe7e7c65c052de1285f6d914755da49
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-29 18:34:16 +0200

    Revert "remove the duplicate clients that have half mac mangled by the
    repeater"

    This reverts commit 5c7f00e565a29eb2f9b3ccdc8107a5a86d0aebd4.

Base directory -> /
 network.c | 28 +---------------------------
 1 file changed, 1 insertion(+), 27 deletions(-)
-------------------------------------------------------------------------------
commit 5c7f00e565a29eb2f9b3ccdc8107a5a86d0aebd4
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-29 15:45:51 +0200

    remove the duplicate clients that have half mac mangled by the repeater

Base directory -> /
 network.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-10-02 11:38:55 +02:00
Ionut-Alex Oprea
170264bc5d Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* ece0282 fix memory leak
-------------------------------------------------------------------------------
commit ece02822d74c2d9e4be4ebd3ebef4e4a3f57e05d
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 19:29:27 +0200

    fix memory leak

Base directory -> /
 src/catv.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-09-28 19:30:51 +02:00
Ionut-Alex Oprea
5373a52046 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4806a53 fix errors reported by cppcheck
*   f77f333 Merge branch 'bridge_port_no' into devel
|\
| * 677bd87 use the bridge and bridge_port structures to find where the clients are connected
| * a3af3da add _get functions for bridge and bridge_port
| * 28a5d50 load the bridges information on startup
| * 82cae47 release the mutex for the bridges
| * 9eab326 fix the bridge_port cleanup
| * ad66e16 fix the code for the lists
| * 55eb4c6 make the code compile
| * 0f2d19e fixed some bugs
| * eafd6e3 debug print
| * 64c8d51 trigger the bridges_load
| * d5d5f41 fix errors reported by checkpatch.pl
| * 108129e bridge_port functions
| * 99e0bd6 more work on the bridge
| * 2cb1cb0 working on bridge ports etc.
|/
* 2270bc8 fix ws error
* 08e8d5e use only one curly bracket in #if so the editors don't get confused
* 542b049 remove redundant variable
-------------------------------------------------------------------------------
commit 4806a53412b7368dd9b46c2c0ae3f4601dad6493
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 18:39:23 +0200

    fix errors reported by cppcheck

Base directory -> /
 broadcom.c |  4 ++--
 dropbear.c | 10 +++++-----
 dumper.c   |  2 +-
 port.c     | 12 +++++++-----
 wps.c      |  4 ++--
 5 files changed, 17 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit f77f333032cf23c1ead28b8efb497cac04f6d060
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 18:23:34 +0200

    Merge branch 'bridge_port_no' into devel

Base directory -> /
 network.c |  18 ++---
 port.c    | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 port.h    |  42 +++++++++++
 questd.c  |   1 +
 4 files changed, 302 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 677bd87f53d4016fa6539f524e01abff8da1a7da
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:37:21 +0200

    use the bridge and bridge_port structures to find where the clients are
    connected

Base directory -> /
 network.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit a3af3da42c67765eb5765527148057464f408a5c
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:36:04 +0200

    add _get functions for bridge and bridge_port

Base directory -> /
 port.c | 28 ++++++++++++++++++++++++++++
 port.h |  4 ++++
 2 files changed, 32 insertions(+)
-------------------------------------------------------------------------------
commit 28a5d503c19d3831bdfa6474b34a2fd89295f056
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 17:35:14 +0200

    load the bridges information on startup

Base directory -> /
 questd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 82cae47ca0b607d67d774ffd9d0b02aed2e46818
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:47:26 +0200

    release the mutex for the bridges

Base directory -> /
 port.c | 14 +++++++-------
 port.h |  5 +++--
 2 files changed, 10 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 9eab326f6a4536af92c1081c49db81a44fbced7b
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:34:10 +0200

    fix the bridge_port cleanup

Base directory -> /
 port.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit ad66e16811f3793dff88524ce83ee7abae4237dd
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 19:27:52 +0200

    fix the code for the lists

Base directory -> /
 port.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 55eb4c6cf4227ad70a3f4ff1c04e65f07733d90d
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 17:37:23 +0200

    make the code compile

Base directory -> /
 port.c | 17 +++++++++--------
 port.h |  4 ++--
 2 files changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0f2d19e976bd285ddeb94a85404990c7630a8c01
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 16:26:52 +0200

    fixed some bugs

Base directory -> /
 port.c | 34 +++++++++++++++++-----------------
 port.h |  7 ++++---
 2 files changed, 21 insertions(+), 20 deletions(-)
-------------------------------------------------------------------------------
commit eafd6e391ebadee424d8144ce754b2a2c4df47b4
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:16:13 +0200

    debug print

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 64c8d518d5c4cbc8ab846018672fd7215130611b
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:15:51 +0200

    trigger the bridges_load

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit d5d5f41aa51533911665bd0a3117d62289aaec82
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 14:00:30 +0200

    fix errors reported by checkpatch.pl

Base directory -> /
 port.c | 17 +++++++++--------
 port.h | 10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 108129e41d0c37646c62597c422ad4298ce2d780
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-27 13:51:19 +0200

    bridge_port functions

Base directory -> /
 port.c | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++---------------
 port.h |   5 ++-
 2 files changed, 121 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
commit 99e0bd6acff2f4f2826c44b782b1006b642a7891
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-26 16:43:02 +0200

    more work on the bridge

Base directory -> /
 port.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++-------------------
 port.h |  15 +++++++
 2 files changed, 128 insertions(+), 47 deletions(-)
-------------------------------------------------------------------------------
commit 2cb1cb01d5f7bb9714c5209907ad801927239e02
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-21 17:10:18 +0200

    working on bridge ports etc.

Base directory -> /
 port.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 port.h | 18 +++++++++++++++++
 2 files changed, 90 insertions(+)
-------------------------------------------------------------------------------
commit 2270bc854bcddd4ec5c531ed2e9264938dd75ef7
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:57:05 +0200

    fix ws error

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 08e8d5ee3fd19ab10acec4bf0b0436a511d90828
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:56:38 +0200

    use only one curly bracket in #if so the editors don't get confused

Base directory -> /
 network.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 542b0497aa088ce202e34f092e78a677f81cbd20
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-09-28 10:42:26 +0200

    remove redundant variable

Base directory -> /
 network.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-28 19:08:03 +02:00
Sukru Senli
4e26e587b4 icwmp-3.0-2017-09-28 2017-09-28 16:25:40 +02:00
Kenneth Johansson
529dad8737 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 6be24af Wrong variable used for storing string.
-------------------------------------------------------------------------------
commit 6be24afc3c0422815ddd30f07811ee3eae3a9154
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-28 14:48:26 +0200

    Wrong variable used for storing string.

Base directory -> /
 src/button.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-28 14:48:52 +02:00
Kenneth Johansson
9df7cab0b4 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* f502d1b Add support for y3 images.
* 21fa9cc rename y2image command to yimage
-------------------------------------------------------------------------------
commit f502d1b589f14142bf7d7719e8434014f180d03f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:22:33 +0200

    Add support for y3 images.

Base directory -> /
 board/inteno/ex400/ex400_setup            |  4 +-
 board/inteno/ex400/httpd.c                |  2 +-
 board/inteno/ex400/production/ex400_setup |  4 +-
 board/inteno/ex400/y_image.c              | 65 +++++++++++++++++++++++--------
 4 files changed, 53 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 21fa9cc7a1ccd18e83e7803e01de4c162d2731b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:21:01 +0200

    rename y2image command to yimage

Base directory -> /
 board/inteno/ex400/Makefile   |   2 +-
 board/inteno/ex400/y2_image.c | 219 ----------------------------------------
 board/inteno/ex400/y_image.c  | 225 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 226 insertions(+), 220 deletions(-)
-------------------------------------------------------------------------------
2017-09-27 18:26:21 +02:00
Kenneth Johansson
cf1a476161 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 5eaa810 Prevent adding the same button twice.
* d9307f7 if config read from /lib/db/config/hw then do not allow any changes.
* a930a09 Read button config from two places.
-------------------------------------------------------------------------------
commit 5eaa810747ec7c130df2a2e6ac3a1df664c8f06b
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 19:02:20 +0200

    Prevent adding the same button twice.

Base directory -> /
 src/button.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit d9307f796d8b30170fdff7451c4efc35ed3cd428
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:54:53 +0200

    if config read from /lib/db/config/hw then do not allow any changes.

Base directory -> /
 src/button.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a930a095a0f2f4a338de846fd5a01de609588365
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:40:05 +0200

    Read button config from two places.

    First read /lib/db/config/hw then /etc/config/button

Base directory -> /
 src/button.c | 317 ++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 182 insertions(+), 135 deletions(-)
-------------------------------------------------------------------------------
2017-09-27 17:01:24 +02:00
Ke Hu
fa7a3e02eb revert changes about LED
delete the file , do not need it any more
2017-09-22 13:39:55 +02:00
Reidar Cederqvist
fe23056560 inteno-netmode: support netmode-conf without band (apply to both) ref #12898 2017-09-21 14:01:48 +02:00
ke.hu
7b1f241dda arm platform led set
disable arm board eg400, dg400 led blinking
2017-09-21 12:05:05 +02:00
Sukru Senli
53ba69c31a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a8d02b0 router.network: do not show repeated clients with all true
-------------------------------------------------------------------------------
commit a8d02b0010b637d50f02a4a7cf33a9fcda0f0aab
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-21 10:43:19 +0200

    router.network: do not show repeated clients with all true

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-21 10:43:38 +02:00
ke.hu
889a681b57 led config fix
setting led for all mips platform based on BCM
2017-09-21 10:04:58 +02:00
Erik Horemans
8239f1d6ec new ice-client 5.0.0-RC6 2017-09-21 09:24:21 +02:00
ke.hu
0899b8c4ab Led blinking stop
stop sw controlled blinking before peripheral manager take control
2017-09-21 09:16:55 +02:00
Sukru Senli
53985c2411 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 112d30f router.network: all true: consider the case if uplink is wireless
-------------------------------------------------------------------------------
commit 112d30f92fdaa1617d843dbaab26845039c40ce6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 18:03:33 +0200

    router.network: all true: consider the case if uplink is wireless

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 18:03:53 +02:00
Sukru Senli
a90ba2106c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e54d40f router.network: all true filter dumps only physically connected devices
-------------------------------------------------------------------------------
commit e54d40f1f96f70104c5d42549fae91bd7298e29f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 16:39:26 +0200

    router.network: all true filter dumps only physically connected devices

Base directory -> /
 network.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 16:43:21 +02:00
Reidar Cederqvist
e21dbcb787 inteno-netmodes: netmode-conf now only deletes correct wifi-ifaces 2017-09-20 11:00:11 +02:00
Sukru Senli
f61a0528f1 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7c05f36 graphd: iface_traffic: change to tx = downstream, rx = upstream
* 33225dd mediatek: remove channels 116=> from chanlist
-------------------------------------------------------------------------------
commit 7c05f3629207b591714d3dd229a7b3f9b0b7a7d4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-20 09:18:26 +0200

    graphd: iface_traffic: change to tx = downstream, rx = upstream

Base directory -> /
 graphd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 33225dd3ebd69142928dae174c08b639c92a68e1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-19 11:54:37 +0200

    mediatek: remove channels 116=> from chanlist

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-20 09:19:47 +02:00
Reidar Cederqvist
a6ed988d81 Revert "inteno-netmode: remove some unused code"
This reverts commit 9162bd9515.
2017-09-20 09:11:29 +02:00
Reidar Cederqvist
9162bd9515 inteno-netmode: remove some unused code 2017-09-19 17:33:33 +02:00
Sukru Senli
e29a0c8b55 inteno-netmodes: wireless config: 2.4G radio in automode by default 2017-09-19 16:39:28 +02:00
Sukru Senli
57cd21ac6f layer2interface: add VDSL 35b support 2017-09-19 16:29:03 +02:00
Sukru Senli
73ecd33a20 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 33225dd mediatek: remove channels 116=> from chanlist
-------------------------------------------------------------------------------
commit 33225dd3ebd69142928dae174c08b639c92a68e1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-19 11:54:37 +0200

    mediatek: remove channels 116=> from chanlist

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-09-19 11:55:19 +02:00
Sukru Senli
9456c26510 layer2interface: anywan priority ptm>atm>eth 2017-09-19 09:19:28 +02:00
Anjan Chanda
ab9ec9002b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 1e38a65 wireless: mtk: fix channel bandwidth reporting
* 9cb2602 show macaddress of client for client move events
* 9641e64 port.c: fix port status call for eg400
* 069a557 init bluf after loading dsl stats
* f1bb6a5 check bridge index correctly for eth connected devices
* bb8fdf1 router.network: clients method can show all discoverd devices with all filter
* f2d8588 wireless: mtk: fix tx/rx data rates and counters
* de2fe8a wireless: mtk rai0 is AC
* 96477c3 port: add up to all ports when router.ports status is called without argument
-------------------------------------------------------------------------------
commit 1e38a650e55e3a5316272d9d2bd809bff3af1bbf
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-09-15 16:22:45 +0530

    wireless: mtk: fix channel bandwidth reporting

Base directory -> /
 mediatek.c | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 9cb26024d8dd608c4763386d124ab4eb2cde84bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-15 09:32:27 +0200

    show macaddress of client for client move events

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9641e647099660df80e829e1bd5ece92d1271c11
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-09-06 09:37:33 +0200

    port.c: fix port status call for eg400

Base directory -> /
 port.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 069a557d47e239ee09d559c37ae8dd617b577bc5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 17:42:33 +0200

    init bluf after loading dsl stats

Base directory -> /
 dsl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit f1bb6a5e799ed209a61f754f825f8bd2cb892193
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 11:31:44 +0200

    check bridge index correctly for eth connected devices

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit bb8fdf1286bd4ec0375c01c69cd9fdc1a48b6310
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 15:44:18 +0200

    router.network: clients method can show all discoverd devices with all
    filter

Base directory -> /
 network.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 network.h |  1 +
 2 files changed, 62 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit f2d85888a980cb8a30f9a0a497a7bfecadf42edb
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-08-23 19:44:02 +0530

    wireless: mtk: fix tx/rx data rates and counters

Base directory -> /
 mediatek.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 mediatek.h |  45 ++++++++----
 2 files changed, 267 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit de2fe8abc0187f1ae9710b472c43c401404df16b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-23 10:54:40 +0200

    wireless: mtk rai0 is AC

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 96477c386daec724d2d59a0ccdb9660492bc3673
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:56:39 +0200

    port: add up to all ports when router.ports status is called without
    argument

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2017-09-15 16:57:53 +05:30
Sukru Senli
7afb317d39 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9cb2602 show macaddress of client for client move events
-------------------------------------------------------------------------------
commit 9cb26024d8dd608c4763386d124ab4eb2cde84bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-15 09:32:27 +0200

    show macaddress of client for client move events

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-15 09:48:10 +02:00
Reidar Cederqvist
688df72baa inteno-netmode: fixe so that all wifi-ifac is deleted as they should 2017-09-14 10:22:42 +02:00
Erik Horemans
d000b5e27b new ice-client R5.0.0-RC4 2017-09-12 10:06:02 +02:00
Sukru Senli
3287ffb8d0 icwmp-3.0-2017-09-08 2017-09-11 16:30:07 +02:00
Erik Horemans
6e150e61fe new ice-client R5.0.0-RC3 2017-09-08 10:02:50 +02:00
Sukru Senli
40510c4d74 icwmp-3.0-2017-09-06 2017-09-07 09:01:22 +02:00
Sukru Senli
de73749392 inteno-netmodes: compare with correct mode 2017-09-06 12:28:22 +02:00
Reidar Cederqvist
7f0409a57a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9641e64 port.c: fix port status call for eg400
-------------------------------------------------------------------------------
commit 9641e647099660df80e829e1bd5ece92d1271c11
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-09-06 09:37:33 +0200

    port.c: fix port status call for eg400

Base directory -> /
 port.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-09-06 09:39:54 +02:00
Reidar Cederqvist
79a8179842 port_management: fix for eg400, need testing 2017-09-05 15:32:33 +02:00
Sukru Senli
a537a7e3f3 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 7606d45 conf_backup: rm -> rm -f
-------------------------------------------------------------------------------
commit 7606d45f5faf3348f84f9a290d22855ba5664d21
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-09-04 16:04:56 +0200

    conf_backup: rm -> rm -f

Base directory -> /
 scripts/functions/conf_backup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-09-05 15:20:36 +02:00
Sukru Senli
16a037f596 inteno-netmodes: stop omcproxy in repeater mode 2017-09-05 09:36:50 +02:00
Erik Horemans
8a7ebb7354 new ice-client R5.0.0-RC2 2017-09-04 16:22:27 +02:00
Sukru Senli
43750b3ac6 icwmp-3.0-2017-08-28 2017-09-04 09:45:13 +02:00
Erik Horemans
67cb7c766d correct package version ice-client 2017-09-04 09:40:42 +02:00
Reidar Cederqvist
cd378fd709 iop: added juci-ice-client to iop default config 2017-08-31 16:04:44 +02:00
Sukru Senli
8d281e2060 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 069a557 init bluf after loading dsl stats
-------------------------------------------------------------------------------
commit 069a557d47e239ee09d559c37ae8dd617b577bc5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 17:42:33 +0200

    init bluf after loading dsl stats

Base directory -> /
 dsl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-08-30 17:43:10 +02:00
Erik Horemans
910cda2b26 new ice-client R5.0.0-RC1 2017-08-30 16:10:01 +02:00
Sukru Senli
b7dd3bf6ad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f1bb6a5 check bridge index correctly for eth connected devices
-------------------------------------------------------------------------------
commit f1bb6a5e799ed209a61f754f825f8bd2cb892193
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-30 11:31:44 +0200

    check bridge index correctly for eth connected devices

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-08-30 12:57:51 +02:00
Sukru Senli
60980ab5a0 inteno-netmodes: make netmode-discover executable 2017-08-28 18:08:21 +02:00
Sukru Senli
c1b5bb5e7a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bb8fdf1 router.network: clients method can show all discoverd devices with all filter
* f2d8588 wireless: mtk: fix tx/rx data rates and counters
-------------------------------------------------------------------------------
commit bb8fdf1286bd4ec0375c01c69cd9fdc1a48b6310
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 15:44:18 +0200

    router.network: clients method can show all discoverd devices with all
    filter

Base directory -> /
 network.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 network.h |  1 +
 2 files changed, 62 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit f2d85888a980cb8a30f9a0a497a7bfecadf42edb
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-08-23 19:44:02 +0530

    wireless: mtk: fix tx/rx data rates and counters

Base directory -> /
 mediatek.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 mediatek.h |  45 ++++++++----
 2 files changed, 267 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
2017-08-28 17:27:10 +02:00
Sukru Senli
8ecc76b8d6 inteno-netmodes: netmode-discover functionality for discovering devices in repeater mode 2017-08-28 17:25:41 +02:00
Sukru Senli
bb6b71445c fping: add package 2017-08-28 16:23:19 +02:00
Jonas Höglund
b1ee0e5e43 Fix mtk-bndstrg build failure 2017-08-28 13:07:13 +02:00
Sukru Senli
8a7c1d05b4 icwmp-3.0-2017-08-25 2017-08-28 12:57:40 +02:00
Jonas Höglund
26f704b4d2 Add dg400primeb board 2017-08-25 09:51:16 +02:00
Omar
555ee900cb TR064 for openwrt: release 1.0 2017-08-23 17:18:37 +01:00
Sukru Senli
64c24f263d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* de2fe8a wireless: mtk rai0 is AC
* 96477c3 port: add up to all ports when router.ports status is called without argument
-------------------------------------------------------------------------------
commit de2fe8abc0187f1ae9710b472c43c401404df16b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-08-23 10:54:40 +0200

    wireless: mtk rai0 is AC

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 96477c386daec724d2d59a0ccdb9660492bc3673
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:56:39 +0200

    port: add up to all ports when router.ports status is called without
    argument

Base directory -> /
 port.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2017-08-23 10:58:30 +02:00
Sukru Senli
e3386e918f Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
2017-08-22 11:45:21 +02:00
Sukru Senli
d7f5399107 icwmp-3.0-2017-08-21 2017-08-22 10:10:18 +02:00
Sukru Senli
e98cbe3873 inteno-netmodes: add bandsteering and apsteering sections to wireless configs 2017-08-22 09:57:01 +02:00
Sukru Senli
f0e4f6a835 iop: config: select ppptp 2017-08-21 15:55:49 +02:00
Reidar Cederqvist
6afd37f4d1 inteno-netmodes: added firewall reload to 01-netmode-handler hotplug/iface script 2017-08-18 17:18:07 +02:00
Sukru Senli
9d249ca9ef icwmp-3.0-2017-08-10 2017-08-14 13:33:16 +02:00
Kenneth Johansson
b44a150c97 genereate_tarballs: check for the correct name. 2017-08-09 13:30:58 +02:00
Kenneth Johansson
8e5040c66a change name of bcmopen tar file. 2017-08-08 17:10:09 +02:00
Kenneth Johansson
4eefa9129a add f104 card 2017-08-07 16:54:34 +02:00
Erik Horemans
5c267b8d63 new ice-client R4.4.0-RC9 2017-07-25 13:24:31 +02:00
Jonas Höglund
159449d6fe Always set DEVEL=y
We need this for the LOCALMIRROR variable to be set correctly by defconfig.
2017-07-17 11:25:55 +02:00
Anjan Chanda
1efd84e640 Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* dc542ed mtk-bndstrg: remove 'bndstrg' executable from git control
* 77f0c67 mtk-bndstrg: add more debug messages
* 7563a42 mtk-bndstrg: cleanup and refactor periodic exec loop
* 22161ce mtk-bndstrg: don't lookup nvram to decide clients' connection
* 91ae9ce mtk-bndstrg: enhance dynamic steering between 2.4G and 5G
* a531de6 mtk-bndstrg: fix client's state in DEFAULT_5G condition check
* 017d440 mtk-bndstrg: fix client's state checking in update_entry
* 135215d mtk-bndstrg: consider total frames in BAND_PERSIST decision
* 286fd5d mtk-bndstrg: change Hold time and low Rssi threshold default values
* 22fabf5 mtk-bndstrg: pass updated Control_Flags in CLI_ADD msg
* cd248e3 mtk-bndstrg: Skip checking nss and load-balance rules
* 22a9ab8 mtk-bndstrg: don't exit daemon prematurely
* da5014c mtk-bndstrg: change 'TableIndex' data type
* a1c0eda mtk-bndstrg: initialize bndstrg message buffers to zero
* cf9bd08 mtk-bndstrg: add improved debug messages
* 4f5528e mtk-bndstrg: improve debugging macros
* 484923b mtk-bndstrg: Update code to version bndstrg_5030
-------------------------------------------------------------------------------
commit dc542ed2f07ee0ff6966d498665c1d4ea571f06e
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:39:22 +0530

    mtk-bndstrg: remove 'bndstrg' executable from git control

Base directory -> /
 bndstrg | Bin 163132 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit 77f0c676a4e6c694869f69f0c26ccc5ebc0c27a2
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:36:21 +0530

    mtk-bndstrg: add more debug messages

Base directory -> /
 bndstrg.c | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 7563a429c249dcca4278d71425b0915cfc290045
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:34:43 +0530

    mtk-bndstrg: cleanup and refactor periodic exec loop

Base directory -> /
 bndstrg.c | 84 +++++++++++++++++++++++++--------------------------------------
 1 file changed, 33 insertions(+), 51 deletions(-)
-------------------------------------------------------------------------------
commit 22161cedb798f089037240605512d085e5a2fdcc
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:29:15 +0530

    mtk-bndstrg: don't lookup nvram to decide clients' connection

Base directory -> /
 bndstrg.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 91ae9ce4615d2927d4c6e67f8846333ffd766334
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:21:53 +0530

    mtk-bndstrg: enhance dynamic steering between 2.4G and 5G

Base directory -> /
 bndstrg.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 bndstrg.h |  2 ++
 2 files changed, 60 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit a531de6e3cc226567476e0321c56fede7d069fc8
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:16:24 +0530

    mtk-bndstrg: fix client's state in DEFAULT_5G condition check

Base directory -> /
 bndstrg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 017d4403923544c7f987e69ad24930b70d0c1b26
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:14:08 +0530

    mtk-bndstrg: fix client's state checking in update_entry

Base directory -> /
 bndstrg.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 135215d98dd0b1eca4b55dddf42e44c6779a5fe2
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-13 14:11:03 +0530

    mtk-bndstrg: consider total frames in BAND_PERSIST decision

Base directory -> /
 bndstrg.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 286fd5d32526217109b2064abbdedd13db67b185
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 15:02:31 +0530

    mtk-bndstrg: change Hold time and low Rssi threshold default values

Base directory -> /
 bndstrg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 22fabf524f6101eb3ed12ff1adf2d3d10fe5528f
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:58:56 +0530

    mtk-bndstrg: pass updated Control_Flags in CLI_ADD msg

Base directory -> /
 driver_wext.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit cd248e3aadba9568ccdb9531fe1335a575d0f39d
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:54:01 +0530

    mtk-bndstrg: Skip checking nss and load-balance rules

Base directory -> /
 bndstrg.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 22a9ab84a142aae28ca35aaff2443a125aa6422b
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:21:24 +0530

    mtk-bndstrg: don't exit daemon prematurely

Base directory -> /
 bndstrg.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit da5014ce87587c075a557f20d9743b67b243487c
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:16:03 +0530

    mtk-bndstrg: change 'TableIndex' data type

Base directory -> /
 bndstrg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit a1c0eda897f20b26b86e4a2a587e639b98480d24
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 14:08:00 +0530

    mtk-bndstrg: initialize bndstrg message buffers to zero

Base directory -> /
 bndstrg.c     | 2 +-
 driver_wext.c | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit cf9bd084b06e55bfcee30e967450dbe8880fb718
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:59:57 +0530

    mtk-bndstrg: add improved debug messages

Base directory -> /
 bndstrg.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 72 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 4f5528e88cd4606043ff7346f5e398dfd6b99a04
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:43:59 +0530

    mtk-bndstrg: improve debugging macros

Base directory -> /
 bndstrg.c |  5 +++++
 debug.h   | 27 +++++++++++++++++++++++++++
 main.c    |  5 ++++-
 3 files changed, 36 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 484923b663d03a61a198bcde3cf5364ab08d0ace
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2017-07-12 13:28:17 +0530

    mtk-bndstrg: Update code to version bndstrg_5030

Base directory -> /
 bndstrg       |  Bin 160584 -> 163132 bytes
 bndstrg.c     | 1046 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 bndstrg.h     |  140 ++++++--
 debug.h       |    2 +-
 driver.h      |    2 +
 driver_wext.c |   34 +-
 main.c        |    4 +-
 7 files changed, 1141 insertions(+), 87 deletions(-)
-------------------------------------------------------------------------------
2017-07-13 15:22:03 +05:30
Sukru Senli
d41add13ac icwmp-3.0-2017-07-10 2017-07-12 10:23:32 +02:00
Sukru Senli
e9cfdefff4 iop: genconfig: remove build_dir not found warning 2017-07-12 10:17:44 +02:00
Reidar Cederqvist
6a685d0806 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4f85e35 port: fixe critical bug in ports call
-------------------------------------------------------------------------------
commit 4f85e35bf0d8c13e7760b644b7779ced95802f8e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 14:48:27 +0200

    port: fixe critical bug in ports call

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 14:48:51 +02:00
Reidar Cederqvist
cd7b729f54 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ece2add ports: port status with bridge whithout valid uplink port now fail
* 38df11e network/arping: remove warnign from arping fuctionality
* f480efe port/network: fixed bug introduced in last commit
* a37af52 port: added up: true/false to port status call
* 3bb7c24 netchec: arping device support
-------------------------------------------------------------------------------
commit ece2add7b87212c1fe93487405584d65ca665839
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 12:15:55 +0200

    ports: port status with bridge whithout valid uplink port now fail

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 38df11e6d8a3d1b302dbf0648b734221ad8aada3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 12:01:42 +0200

    network/arping: remove warnign from arping fuctionality

Base directory -> /
 arping.c   | 2 +-
 netcheck.c | 6 +++---
 network.c  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit f480efe542b3253a90d461907fb9433d16ae3885
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:38:47 +0200

    port/network: fixed bug introduced in last commit

Base directory -> /
 network.c | 6 +++---
 port.c    | 5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit a37af52a10639171eb486de31c57583b335646ac
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:18:31 +0200

    port: added up: true/false to port status call

Base directory -> /
 port.c | 21 +++++++++++++++------
 port.h |  2 +-
 2 files changed, 16 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 3bb7c24f9bba9a94d5e701906191ccb610302254
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 10:43:02 +0200

    netchec: arping device support

Base directory -> /
 netcheck.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 12:16:10 +02:00
Reidar Cederqvist
d8f01e711e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f480efe port/network: fixed bug introduced in last commit
-------------------------------------------------------------------------------
commit f480efe542b3253a90d461907fb9433d16ae3885
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:38:47 +0200

    port/network: fixed bug introduced in last commit

Base directory -> /
 network.c | 6 +++---
 port.c    | 5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 11:39:23 +02:00
Reidar Cederqvist
9189f9d140 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a37af52 port: added up: true/false to port status call
* 3bb7c24 netchec: arping device support
-------------------------------------------------------------------------------
commit a37af52a10639171eb486de31c57583b335646ac
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-07-10 11:18:31 +0200

    port: added up: true/false to port status call

Base directory -> /
 port.c | 21 +++++++++++++++------
 port.h |  2 +-
 2 files changed, 16 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 3bb7c24f9bba9a94d5e701906191ccb610302254
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-07-06 10:43:02 +0200

    netchec: arping device support

Base directory -> /
 netcheck.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-07-10 11:19:53 +02:00
Kenneth Johansson
519be9e690 genconfig: ignore missing files.
Do not print out error if the files do not exist.
2017-07-07 15:00:52 +02:00
Ronny Nilsson
32398552f4 busybox: some of the kernel module loading utilities
were missing. Half of them were enabled, why not all?
2017-07-07 13:43:36 +02:00
Sukru Senli
94995450c1 iop: genconfig: do not attempt to clone if no access to customerconfigs 2017-07-06 14:19:24 +02:00
Alex Oprea
69f4f58cbd iop: ssh_sysupgrade_latest: accept y3 2017-07-05 15:18:50 +02:00
Sukru Senli
3a4ec3b3c0 inteno-netmodes: bring uplink wifi interface up/down if broadcom 2017-07-05 15:05:16 +02:00
Kenneth Johansson
5d88a8b6d1 correct variable name. 2017-07-05 13:45:33 +02:00
Sukru Senli
62797342b9 inteno-netmodes: reload questd network after changing mode 2017-07-04 13:50:45 +02:00
Sukru Senli
acc3be969d ice-client: set passwords via uci 2017-07-04 13:40:05 +02:00
Kenneth Johansson
62d773656c Add Gfast option parsing. 2017-07-03 17:02:54 +02:00
Reidar Cederqvist
e023750469 layer2: add 10-switch file to fix wan-vlan creation 2017-07-03 09:47:34 +02:00
Reidar Cederqvist
610011e141 inteno-netmode: netmode-conf: fixed bug if mode is default empty 2017-06-30 14:54:51 +02:00
Sukru Senli
5583da3e36 icwmp-3.0-2017-06-30 2017-06-30 12:01:07 +02:00
Reidar Cederqvist
0729f895e9 questd: added fix-commit for broadcom builds 2017-06-30 10:55:39 +02:00
Reidar Cederqvist
5626fa7cfd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8cd6282 wps: fixed missing if statement
-------------------------------------------------------------------------------
commit 8cd6282bf92a6aec34351069a524d3a0ac5f12f8
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-30 10:33:20 +0200

    wps: fixed missing if statement

Base directory -> /
 wps.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-06-30 10:33:54 +02:00
Reidar Cederqvist
ce51bfebef inteno-netmodes: do not copy configs if curmode hasn't changed 2017-06-30 08:59:48 +02:00
Reidar Cederqvist
850a4981bc Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 92f918d cleaned up the code and fixed warnings
* b1341a6 inbd: wps on success starts a timer that if it fires sets leds.wps to off
-------------------------------------------------------------------------------
commit 92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:25:57 +0200

    cleaned up the code and fixed warnings

Base directory -> /
 src/inbd.c | 94 +++++++++++++++++++++++++++++---------------------------------
 1 file changed, 44 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
commit b1341a60ab2f890aaf092be924b8059c35a4c794
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:22:05 +0200

    inbd: wps on success starts a timer that if it fires sets leds.wps to off

Base directory -> /
 src/inbd.c | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-30 08:58:28 +02:00
Reidar Cederqvist
583cf0e706 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6e8b8c wps: remove setpin and showpin functionality from mediatek
* e8bbdf6 wps: updated checkpin function to use internal math
-------------------------------------------------------------------------------
commit a6e8b8c6c63edc095a3f6d3c99093ca2650b04ee
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-30 08:12:18 +0200

    wps: remove setpin and showpin functionality from mediatek

    untill propperly tested

Base directory -> /
 wps.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit e8bbdf6b8a0112641bc82b4ebd94bfad6acbedfd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-29 11:17:07 +0200

    wps: updated checkpin function to use internal math

Base directory -> /
 wps.c | 66 +++++++++++++++++++++---------------------------------------------
 1 file changed, 21 insertions(+), 45 deletions(-)
-------------------------------------------------------------------------------
2017-06-30 08:58:23 +02:00
Reidar Cederqvist
4735181dca questd: updated questd to latest version 2017-06-29 11:02:55 +02:00
Sukru Senli
dbdbc2b7f8 iop: genconfig: allow giving another repo than customerconfigs with -r option 2017-06-29 10:43:41 +02:00
Alex Oprea
c70ba67607 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 41d5633 wps: addjust the status codes so that the gui does not show \"switching to repeater\"
-------------------------------------------------------------------------------
commit 41d563397f936dd7dd6db13d07e44ed9ef86f62a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-28 15:56:24 +0200

    wps: addjust the status codes so that the gui does not show \"switching to
    repeater\"

Base directory -> /
 wps.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-06-28 15:57:38 +02:00
Alex Oprea
98175e38c4 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 81990b3 add even more "inteno" macs/altered macs
* f9a661b wps: fixed router.wps satus on mediatek
* 72b54f3 mediatek: added wl_get_wps_status function
-------------------------------------------------------------------------------
commit 81990b3d4a1510e8f995d253ee47bbc445e1feac
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-28 14:22:09 +0200

    add even more "inteno" macs/altered macs

Base directory -> /
 tools.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit f9a661bbd47358cb42cdca6ec4ae5643f824f809
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 10:54:19 +0200

    wps: fixed router.wps satus on mediatek

Base directory -> /
 wps.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 72b54f3aa8b1793f9129a2374010c2ff871f5e82
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 10:52:11 +0200

    mediatek: added wl_get_wps_status function

Base directory -> /
 mediatek.c | 64 ++++++++++++++++++++++++++++++++++----------------------------
 mediatek.h |  1 +
 2 files changed, 36 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
2017-06-28 14:23:24 +02:00
Sukru Senli
c0bf1be7c1 Revert "inteno-netmodes: prevent fake mode switching"
This reverts commit c730387f5c.
2017-06-27 13:49:01 +02:00
Reidar Cederqvist
48195b582f Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d053cd4 broadcom.c: changed the wl_get_channel function to use wl_get_bssinfo
-------------------------------------------------------------------------------
commit d053cd4c3411dfc064b5996826420f18a21bc10f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-26 13:15:37 +0200

    broadcom.c: changed the wl_get_channel function to use wl_get_bssinfo

Base directory -> /
 broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-26 13:19:18 +02:00
Sukru Senli
da4d852b6e inteno-netmodes: allow user to select repeater mode 2017-06-26 11:41:28 +02:00
Sukru Senli
c730387f5c inteno-netmodes: prevent fake mode switching 2017-06-23 16:50:57 +02:00
Sukru Senli
8bc349b6ef Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 08af87d wificontrol: run apcliconnect very 80 seconds
-------------------------------------------------------------------------------
commit 08af87d010d4e5e1a2d6af1bbfc942ae2f52ab5f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-23 13:07:04 +0200

    wificontrol: run apcliconnect very 80 seconds

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-06-23 13:07:51 +02:00
Sukru Senli
dde575f5ea inteno-netmode: flash leds only when changing mode or being configured by master 2017-06-23 11:49:01 +02:00
Alex Oprea
cedf5fb32b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 45b38f4 network: create a cache for arp
-------------------------------------------------------------------------------
commit 45b38f40e020a6811916afabdb54b100d0659437
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-22 21:29:21 +0200

    network: create a cache for arp

Base directory -> /
 network.c | 13 ++++++++++++-
 tools.c   | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools.h   |  7 +++++++
 3 files changed, 78 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-22 23:04:31 +02:00
Sukru Senli
2f45a2dc44 inteno-netmodes: add new macaddr to inteno MACs 2017-06-22 18:57:15 +02:00
Alex Oprea
9fd2bfd613 imonitor: set the limit memory for questd at 15MB 2017-06-22 16:37:59 +02:00
Kenneth Johansson
e04a8f0f98 Build natalie-dect single threaded. for real this time. 2017-06-22 16:36:41 +02:00
Sukru Senli
ab34a5ba66 inteno-netmodes: netmode-client-detect: put timed_check to background 2017-06-22 15:25:31 +02:00
Sukru Senli
5c312b3d84 inteno-netmodes: netmode-client-detect subsutition syntax fix 2017-06-22 15:11:15 +02:00
Sukru Senli
425bbafd83 inteno-netmodes: netmode-client-detect: use the last customer network 2017-06-22 15:08:05 +02:00
Sukru Senli
92e23a0bfc inteno-netmodes: netmode-client-detect: do not run timed_check in background 2017-06-22 15:05:17 +02:00
Alex Oprea
34472e7e46 inteno netmodes: fix indentation 2017-06-22 15:01:58 +02:00
Alex Oprea
c9e26055b6 inteno netmodes: generate the creds file before sending it 2017-06-22 15:01:58 +02:00
Alex Oprea
6d38f1ed82 inteno-netmodes: fix the ubus listen call not to end after 30s 2017-06-22 15:01:58 +02:00
Alex Oprea
162f0d444f inteno-netmodes: fix typo 2017-06-22 15:01:58 +02:00
Sukru Senli
cbd72e53d6 icwmp-3.0-2017-06-22 2017-06-22 14:54:54 +02:00
Sukru Senli
3b8f38808d iup: convert DESKEY to HEX format 2017-06-22 12:02:04 +02:00
Jonas Höglund
863eb435a4 Revert "Do not touch boardparams for now"
This reverts commit e50f074740.
2017-06-22 11:08:41 +02:00
Jonas Höglund
e50f074740 Do not touch boardparams for now 2017-06-22 10:32:50 +02:00
Alex Oprea
9c3e1dfc4b inteno-netmodes: flush the ips on br-lan, just in case 2017-06-21 19:27:06 +02:00
Jonas Höglund
4b717763af Build natalie-dect single threaded 2017-06-21 16:23:26 +02:00
Jonas Höglund
d765337e57 Revert "Add natalie-dect as dependency for dectmngr2"
This reverts commit e4b24fda80.
2017-06-21 14:17:28 +02:00
Sukru Senli
e81fd8d0aa iup: fix uci syntax 2017-06-21 13:40:44 +02:00
Sukru Senli
9d0d899f53 iup: use correct uci syntax 2017-06-21 13:19:37 +02:00
Sukru Senli
4ece106cf4 inteno-netmodes: remove F104W from netmodes 2017-06-21 11:38:16 +02:00
Sukru Senli
7e2645e9a4 layer2interface: use hasEthWan to determine if the board has ETH WAN port 2017-06-21 10:29:10 +02:00
Sukru Senli
9e2b2866ef Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ce16dd5 wificontrol: better handling of leds
-------------------------------------------------------------------------------
commit ce16dd5fabc97f7ea937e0be3eb9c7bda1f1eb0f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-21 09:31:03 +0200

    wificontrol: better handling of leds

Base directory -> /
 wificontrol.c | 66 ++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 47 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
2017-06-21 09:32:19 +02:00
Sukru Senli
0a4ddf27e3 inteno-netmodes: ex400 routed mode reboot 0 2017-06-20 18:27:34 +02:00
Jonas Höglund
e4b24fda80 Add natalie-dect as dependency for dectmngr2 2017-06-20 16:40:52 +02:00
Alex Oprea
526051018f iup: ping the name server if the default gateway does not respond 2017-06-19 17:45:11 +02:00
Jonas Höglund
13e2f6a252 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 064c9c3 Shorter timeout after upgrading rescue image
* 008997a Add -f option to rescue command.
* a9619c7 Rescue mode has to reset boot counters.
-------------------------------------------------------------------------------
commit 064c9c30ff159c9bf3fa695baddd54279cd0f062
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-06-19 17:16:48 +0200

    Shorter timeout after upgrading rescue image

Base directory -> /
 board/inteno/ex400/httpd.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 008997a8a559978870849dc82fc6ced4c2eaaa59
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 15:09:22 +0200

    Add -f option to rescue command.

    This allows it to run without having to push the reset button.

Base directory -> /
 board/inteno/ex400/board.c | 53 +++++++++++++++++++++++++++++++++++-----------
 1 file changed, 41 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit a9619c7110586089dc3f9b72391e467e1f40d309
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 14:58:24 +0200

    Rescue mode has to reset boot counters.

Base directory -> /
 board/inteno/ex400/httpd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-06-19 17:20:08 +02:00
Jonas Höglund
53398998c2 Force update of uboot 2017-06-19 17:19:18 +02:00
Sukru Senli
364b8483df layer2interface: brcmwifi: set wps_oob_configured to 1 in nvram 2017-06-19 10:07:44 +02:00
Sukru Senli
32573cfa8e inteno-netmodes: blink leds when switching between extender-repeater modes 2017-06-18 16:34:24 +02:00
Sukru Senli
ff051a6aab Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9493935 mediatek: show encryption correctly for extra SSIDs
-------------------------------------------------------------------------------
commit 9493935b0dea50f372c293aebc8f2d4031765443
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-18 15:48:38 +0200

    mediatek: show encryption correctly for extra SSIDs

Base directory -> /
 mediatek.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-18 15:48:51 +02:00
Sukru Senli
885baef845 inteno-netmodes: make sure netmode-handler and netmode-conf do not try to switch mode simultaneously 2017-06-18 15:05:51 +02:00
Sukru Senli
e9d413e2db Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ee5f30c net: make nat table work for MTK
-------------------------------------------------------------------------------
commit ee5f30c04d2f3e48c1ebb02caf3bdbd4efab44c5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-18 12:37:53 +0200

    net: make nat table work for MTK

Base directory -> /
 net.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
-------------------------------------------------------------------------------
2017-06-18 12:38:22 +02:00
Kenneth Johansson
962a09c08e genconfig: also touch boardparms_voice.c. 2017-06-16 11:55:47 +02:00
Jonas Höglund
985d5a9ea2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9560e66 Fix reboot logic
-------------------------------------------------------------------------------
commit 9560e66f6a2bd6d9a6d49e1f216aa2ebebdd965a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-06-16 10:43:47 +0200

    Fix reboot logic

Base directory -> /
 wificontrol.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-06-16 10:44:32 +02:00
Sukru Senli
0e52c823a6 inteno-netmodes: enable beamforming in all modes 2017-06-16 09:31:20 +02:00
Kenneth Johansson
e4f25fa7f0 Add config option for dg400prime. 2017-06-15 15:37:42 +02:00
Sukru Senli
0552dde787 inteno-netmodes: show overview page in GUI when behind public IP 2017-06-15 15:21:25 +02:00
Kenneth Johansson
58201949fc genconfig: trigger a rebuild of bcmkernel if the boardid change.
This was not needed before as only the PROFILE changed the result.
Now also boardid is going to produce a different kernel and CFE on ARM
based socs. So we need to make sure that they are rebuilt even if the new board is using
the same PROFILE.
2017-06-15 14:10:50 +02:00
Sukru Senli
9b1c5e2b64 icwmp: fix for hotplug copy 2017-06-15 13:58:51 +02:00
Sukru Senli
6bdfa81b7e icwmp: copy hotplug script under correct folder 2017-06-15 13:31:38 +02:00
Sukru Senli
e73bba2ae0 icwmp: start with hotplug script 2017-06-15 12:49:57 +02:00
Sukru Senli
68cc112732 inteno-netmodes: WPS pbc enable as AP in repeater/extender mode 2017-06-14 17:52:12 +02:00
Sukru Senli
724ee411fc inteno-netmodes: switch to extender mode if behind non inteno priva IP 2017-06-14 17:44:12 +02:00
Sukru Senli
05ee1c51ad Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e33c053 wificontrol: If there is an uplink IP address but no connection for 5 minutes, reboot
-------------------------------------------------------------------------------
commit e33c0535c5de324d5a4ba7f43127e7f7058b7c5c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-14 17:36:49 +0200

    wificontrol: If there is an uplink IP address but no connection for 5
    minutes, reboot

Base directory -> /
 wificontrol.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-14 17:37:07 +02:00
Sukru Senli
5bdb0e354f iup: get MAC and DESKEY from ubus router.system object instead of /proc/nvram 2017-06-14 17:24:47 +02:00
Erik Horemans
9fc86cf55b new ice-client 4.4.0-RC8 2017-06-14 13:59:54 +02:00
Sukru Senli
75cd1bdaa7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 22083bc wificontrol: mtk: run ApCliAutoConnect to recover connection to master
-------------------------------------------------------------------------------
commit 22083bc9da6b1354703740b70549d4d0c86edf73
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-14 10:25:20 +0200

    wificontrol: mtk: run ApCliAutoConnect to recover connection to master

Base directory -> /
 wificontrol.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-06-14 10:26:16 +02:00
Erik Horemans
b9e558a817 new ice-client R4.4.0-RC7 2017-06-14 09:02:49 +02:00
Sukru Senli
72d4a7f61f inteno-netmodes: netmode-handler: code for handlig non inteno uplink 2017-06-10 14:41:07 +02:00
Sukru Senli
d87d1f01eb inteno-netmode: netmode-handler: if behind private ip which is not inteno device, switch to extender mode 2017-06-10 14:33:40 +02:00
Reidar Cederqvist
456c48dde8 inteno-netmodes: switch to bridge on public ip on wan port 2017-06-10 14:33:38 +02:00
Alex Oprea
d44d9e80b9 inteno-netmodes: shift range hotplug script 2017-06-10 14:06:19 +02:00
Kenneth Johansson
0da93b1d4a Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* a9e0b8e wlctl needs to have the interface as argument.
-------------------------------------------------------------------------------
commit a9e0b8ea80511ef16ef71c59412bcd9b90beb7fe
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-09 16:54:25 +0200

    wlctl needs to have the interface as argument.

    On systems with multiple wifi chips we need to specify what chip the led is
    connected to.

    Also fix an issue with address could only be 0-9 and we need 0-31.

Base directory -> /
 src/wlctl_led.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-06-09 16:54:46 +02:00
Erik Horemans
f8336fba61 new ice-client 4.4.0-RC6 2017-06-09 16:13:31 +02:00
Sukru Senli
342b63160d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* dedcae9 wireless: assoclist call returns array
-------------------------------------------------------------------------------
commit dedcae9867e6a2973834c506f7dabdcb1706238e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-06-09 10:00:49 +0200

    wireless: assoclist call returns array

Base directory -> /
 wireless.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-09 10:01:09 +02:00
Sukru Senli
23f15ddae5 inteno-netmodes: default network is lan 2017-06-08 14:21:43 +02:00
Alex Oprea
4726ae7734 iop: update_package: use the uppercase N as default value selected 2017-06-08 14:00:04 +02:00
Sukru Senli
c15bf421ba inteno-netmodes: netmode-conf: flash all leds when receiving credentials via zero touch 2017-06-08 12:21:31 +02:00
Sukru Senli
379c263b65 inteno-netmodes: enable wps in mtk routed mode and set channel to auto in repeater modes 2017-06-08 11:25:05 +02:00
Alex Oprea
9ab6046850 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bc51ae3 sort the macs
* 5e84952 add more "inteno" macs
-------------------------------------------------------------------------------
commit bc51ae35b2aeb09c9264266a3322b7b21bef49c0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-07 17:23:45 +0200

    sort the macs

Base directory -> /
 tools.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5e84952cecf4362ce9d3e8f75ae45da49ab5f914
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-06-07 17:13:51 +0200

    add more "inteno" macs

Base directory -> /
 tools.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-06-07 18:48:49 +02:00
Alex Oprea
313f540db8 inteno-netmodes: add more inteno-alike macs 2017-06-07 18:46:03 +02:00
Kenneth Johansson
3821a7a131 Add config option for f104w. 2017-06-07 14:56:01 +02:00
Sukru Senli
84e2181672 icwmp-3.0-2017-06-01 2017-06-01 16:07:52 -07:00
Alex Oprea
b91fff1f9a iup: move some code to /lib/functions/savecfg.sh 2017-06-01 15:38:49 +02:00
Alex Oprea
807f378a1f iup: fix grammar 2017-05-31 20:25:13 +02:00
Alex Oprea
5c91fa5e79 samba3: security patches for CVE-2010-2063 CVE-2010-3069 CVE-2012-1182 2017-05-31 16:50:55 +02:00
Reidar Cederqvist
7a185a0809 iop: genconfig: do not list juci-theme when listing customer boards 2017-05-31 15:53:21 +02:00
Reidar Cederqvist
cb8bb9c127 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4e1e080 network: made the port statistics long long refs #12135
* 2509608 tools: always null-terminate the output buffer
-------------------------------------------------------------------------------
commit 4e1e080fb8295d89c74abb93e08dcf2f9cc5abbf
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-30 13:17:42 +0200

    network: made the port statistics long long refs #12135

    to hold bigger values than 2Gb

Base directory -> /
 network.h | 12 ++++++------
 port.c    |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 2509608d33aa5881a71f4794d42e76f3e9926f89
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-29 15:09:28 +0200

    tools: always null-terminate the output buffer

Base directory -> /
 tools.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-05-30 13:21:39 +02:00
Sukru Senli
d949cb5228 inteno-netmodes: kill wifi before running wifi reload 2017-05-29 17:10:34 +02:00
Reidar Cederqvist
e733774cd3 layer2interface: broadcom: add support for changing last mac grop refs #12060 2017-05-29 11:00:46 +02:00
Reidar Cederqvist
b7a547c1d6 inteno-netmodes: fixed bug in netmode-conf refs #11988 2017-05-29 10:51:36 +02:00
Sukru Senli
5e860a4734 inteno-netmodes: kill wificontril with -9 if receives public IP 2017-05-24 11:56:42 +02:00
Sukru Senli
22b070d1d2 inteno-netmodes: channel update 2017-05-24 09:56:08 +02:00
Reidar Cederqvist
576e7e56ad inteno-netmodes: from_gui true will go back if connection fails 2017-05-23 16:07:09 +02:00
Reidar Cederqvist
503c9cff2c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* db68fec wireless: fix incorrect frequency in router.wireless status call
-------------------------------------------------------------------------------
commit db68fecf2de5bbfc94964fedb99c831e9458b00d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-22 16:59:54 +0200

    wireless: fix incorrect frequency in router.wireless status call

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-22 17:02:10 +02:00
Alex Oprea
b1c4ae9cae fix grammar 2017-05-20 02:13:15 +02:00
Alex Oprea
be45e11453 remove unnecessary log print 2017-05-19 19:08:37 +02:00
Alex Oprea
0ad3a95b30 netmode: script to simulate power-off hotplug net events
(of course): The event that happened when the router was powered off
	is simulated by this script.
	Triggered by /etc/init.d/done from base-files.
2017-05-19 14:46:24 +02:00
Sukru Senli
136dcee43f icwmp-3.0-2017-05-17 2017-05-18 13:24:42 +02:00
Reidar Cederqvist
26d0f4da51 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 795756e wificontrol: fixed the led_success functionality
-------------------------------------------------------------------------------
commit 795756ec0ef7a602b8cf18de1c0a05b6a4b12065
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 19:59:53 +0200

    wificontrol: fixed the led_success functionality

Base directory -> /
 wificontrol.c | 58 ++++++++--------------------------------------------------
 1 file changed, 8 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
2017-05-17 20:07:27 +02:00
Alex Oprea
1d995b4f8a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f40e270 client: assoclist: minimize the time that the list is inconsistent
-------------------------------------------------------------------------------
commit f40e270a33ebf85b9ab7737efd10252fc0887266
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-17 17:21:35 +0200

    client: assoclist: minimize the time that the list is inconsistent

Base directory -> /
 network.c | 66 +++++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 45 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
2017-05-17 19:03:51 +02:00
Reidar Cederqvist
410dffcdd8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a56a65b add more inteno mac addresses
-------------------------------------------------------------------------------
commit a56a65b7cd08c7ca7c9d829ed092aec3dec21925
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-17 17:03:56 +0200

    add more inteno mac addresses

Base directory -> /
 tools.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 17:08:17 +02:00
Reidar Cederqvist
b7a8105b18 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 50eef51 wificontrol: fix bug with setting led_success string
* 510d6c7 Revert "wificontrol: remove unsused variable need_update"
-------------------------------------------------------------------------------
commit 50eef514699450e793fde6d4f92e5f1638914dc1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:58:43 +0200

    wificontrol: fix bug with setting led_success string

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 510d6c7f9957e0ab7961c4cd4b8ad9dc97194f67
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:57:00 +0200

    Revert "wificontrol: remove unsused variable need_update"

    This reverts commit ae46c985f3ae2b78072ba492a85bb908f07018fe.

Base directory -> /
 wificontrol.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 16:59:16 +02:00
Reidar Cederqvist
23577050b5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4d3301d wificontrol: fixed incorrect ifdefs
* 30ae2f3 mediatek: fixed wl_autochannel function
* 5700ea0 wificontrol: Disable and enable apclii0 interface if repeater doesn't connect in 2 min
* 959f1dc wificontrol: do not allow clients to connect to repeater without uplink
* 44f4efe wificontrol: break very long strings into multiple lines
* ba24ba4 add wl_disassociate function
* ae46c98 wificontrol: remove unsused variable need_update
* 601b2b3 wificontrol: fix length of one-char string
* 6179f57 wificontrol: add support for --network to wificontrol --router call
-------------------------------------------------------------------------------
commit 4d3301df43d5bf43762ba880d9bb559fe493cdbd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 16:37:36 +0200

    wificontrol: fixed incorrect ifdefs

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 30ae2f3313cc44c1c44d660eef76a0658ac5c34b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 11:41:41 +0200

    mediatek: fixed wl_autochannel function

Base directory -> /
 mediatek.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5700ea04de13cee55ed4f74b3210995048c97005
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 09:27:18 +0200

    wificontrol: Disable and enable apclii0 interface if repeater doesn't
    connect in 2 min

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 959f1dc7a2cbc37ae9fa2205d34b8146c62faf1e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 08:57:04 +0200

    wificontrol: do not allow clients to connect to repeater without uplink

    to avoid loops between repeaters

Base directory -> /
 wificontrol.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 44f4efecf72dda0026f813cca90ae355aa45e506
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:16:16 +0200

    wificontrol: break very long strings into multiple lines

Base directory -> /
 wificontrol.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ba24ba425c1e36ea01c3ca827efe9352ec5464f5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-16 15:06:30 +0200

    add wl_disassociate function

Base directory -> /
 broadcom.c | 7 +++++++
 mediatek.c | 8 ++++++++
 2 files changed, 15 insertions(+)
-------------------------------------------------------------------------------
commit ae46c985f3ae2b78072ba492a85bb908f07018fe
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:41:42 +0200

    wificontrol: remove unsused variable need_update

Base directory -> /
 wificontrol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 601b2b3a0c828990236a6d4809e1beaa574f8159
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:38:52 +0200

    wificontrol: fix length of one-char string

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6179f571aa1e974a87e0d38037cb52c56878feed
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:05:03 +0200

    wificontrol: add support for --network to wificontrol --router call

Base directory -> /
 wificontrol.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 16:38:11 +02:00
Reidar Cederqvist
3d148c515c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 30ae2f3 mediatek: fixed wl_autochannel function
* 5700ea0 wificontrol: Disable and enable apclii0 interface if repeater doesn't connect in 2 min
* 959f1dc wificontrol: do not allow clients to connect to repeater without uplink
* 44f4efe wificontrol: break very long strings into multiple lines
* ba24ba4 add wl_disassociate function
* ae46c98 wificontrol: remove unsused variable need_update
* 601b2b3 wificontrol: fix length of one-char string
* 6179f57 wificontrol: add support for --network to wificontrol --router call
-------------------------------------------------------------------------------
commit 30ae2f3313cc44c1c44d660eef76a0658ac5c34b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 11:41:41 +0200

    mediatek: fixed wl_autochannel function

Base directory -> /
 mediatek.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5700ea04de13cee55ed4f74b3210995048c97005
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 09:27:18 +0200

    wificontrol: Disable and enable apclii0 interface if repeater doesn't
    connect in 2 min

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 959f1dc7a2cbc37ae9fa2205d34b8146c62faf1e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-17 08:57:04 +0200

    wificontrol: do not allow clients to connect to repeater without uplink

    to avoid loops between repeaters

Base directory -> /
 wificontrol.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 44f4efecf72dda0026f813cca90ae355aa45e506
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:16:16 +0200

    wificontrol: break very long strings into multiple lines

Base directory -> /
 wificontrol.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ba24ba425c1e36ea01c3ca827efe9352ec5464f5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-16 15:06:30 +0200

    add wl_disassociate function

Base directory -> /
 broadcom.c | 7 +++++++
 mediatek.c | 8 ++++++++
 2 files changed, 15 insertions(+)
-------------------------------------------------------------------------------
commit ae46c985f3ae2b78072ba492a85bb908f07018fe
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:41:42 +0200

    wificontrol: remove unsused variable need_update

Base directory -> /
 wificontrol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 601b2b3a0c828990236a6d4809e1beaa574f8159
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-16 12:38:52 +0200

    wificontrol: fix length of one-char string

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6179f571aa1e974a87e0d38037cb52c56878feed
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-16 11:05:03 +0200

    wificontrol: add support for --network to wificontrol --router call

Base directory -> /
 wificontrol.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-17 11:54:28 +02:00
Alex Oprea
c5426947c8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 85785b9 network: ports: fix logic for skipping clients that are behind a repeater or extender
* 4424ad4 network: client: add number of assoclist
* 0899f2b wireless: iface: add apmode flag
-------------------------------------------------------------------------------
commit 85785b97a1526114ae521beacb1b302c3cb914ab
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:52:16 +0200

    network: ports: fix logic for skipping clients that are behind a repeater or
    extender

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 4424ad493e47cc83e6de99a01e1178bb9324c54e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:29:57 +0200

    network: client: add number of assoclist

Base directory -> /
 network.c | 25 +++++++++++++++----------
 network.h |  1 +
 2 files changed, 16 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0899f2beb9fd1d2c8cb0fddc3f926b84e7ad3ba0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 17:33:04 +0200

    wireless: iface: add apmode flag

Base directory -> /
 wireless.c | 9 ++++++++-
 wireless.h | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-15 20:20:06 +02:00
Erik Horemans
9ba824122c new ice-client R4.4.0-RC4 2017-05-15 17:31:38 +02:00
Reidar Cederqvist
fbba796f43 Revert "inteno-netmode: fixed issues with ex400 behind ex400 refs"
This reverts commit aae94da9ec.
2017-05-15 16:00:02 +02:00
Reidar Cederqvist
fafa596b11 inteno-netmode: netmode-firewall-handler: only start client-detect if it is not running 2017-05-15 15:49:27 +02:00
Reidar Cederqvist
aae94da9ec inteno-netmode: fixed issues with ex400 behind ex400 refs 2017-05-15 15:28:09 +02:00
Reidar Cederqvist
a11361c916 inteno-netmodes: fixed bridge when in repeater-mode and autoconfigured 2017-05-15 14:21:12 +02:00
Reidar Cederqvist
4ad5c16568 inteno-netmode: fixed bug whith netmode-conf script for broadcom 2017-05-15 14:21:12 +02:00
Ronny Nilsson
f15adb5d45 Dectmngr2 update. Fix refs #11014 2017-05-15 14:18:20 +02:00
Sukru Senli
8009e2a4c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 824a4b2 wificontrol: set internet led state to eok upon success
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit 824a4b2f13f486fbf53b0068ad29f9dd15fae38a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-15 14:00:10 +0200

    wificontrol: set internet led state to eok upon success

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-15 14:00:33 +02:00
Erik Horemans
ce571123d2 new ice-client ice-client 4.4.0-RC3 2017-05-15 11:36:13 +02:00
Erik Horemans
e86df8d3a2 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-15 11:35:01 +02:00
Reidar Cederqvist
198a69e0c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-12 16:59:45 +02:00
Erik Horemans
8001a7f348 new ice-client 4.4.0-RC2 2017-05-12 15:54:44 +02:00
Erik Horemans
2480972e46 new ice-client 4.4.0-RC2 2017-05-12 11:24:14 +02:00
Erik Horemans
16d6b52429 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-12 11:23:12 +02:00
Sukru Senli
aa9381d962 inteno-netmodes: remove mcpd from routed_mtk 2017-05-12 09:56:18 +02:00
Kenneth Johansson
caaec622bb uboot: use correct commit. 2017-05-11 17:57:02 +02:00
Kenneth Johansson
8163932184 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e3be71a Prevent ethernet to start up by default.
-------------------------------------------------------------------------------
commit e3be71a830289189eaa895cbdcc755e07a7712e0
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-11 16:07:59 +0200

    Prevent ethernet to start up by default.

    Add a new command net_init to start ethernet driver.

    This is needed as the setup has all port in the same switch so WAN is
    connected to LAN and dhcp on clients on LAN is getting out to the ISP and
    stealing ip numbers.

Base directory -> /
 board/inteno/ex400/board.c | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 16:18:06 +02:00
Reidar Cederqvist
60cef7b8d8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a814517 wireless: added bsd_record function to router.wireless
* 1a7220c broadcom: added missing struct identifier and fixed baad naming
* 9c1cc54 wireless: added bsd_sta_info call to router.wireless
* 1dc4ca9 wireless: improved coding style on quest_bs_data function
-------------------------------------------------------------------------------
commit a8145170c3978e3dc92da9e0daab56da7ff049b6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:57:05 +0200

    wireless: added bsd_record function to router.wireless

Base directory -> /
 broadcom.c | 41 +++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 wireless.c | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)
-------------------------------------------------------------------------------
commit 1a7220cc6ce97488c1fe3a906062c151fecb7766
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:08:55 +0200

    broadcom: added missing struct identifier and fixed baad naming

Base directory -> /
 broadcom.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9c1cc54b063a905921676e2ba81cfacee59bd0c7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:53:32 +0200

    wireless: added bsd_sta_info call to router.wireless

Base directory -> /
 broadcom.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 13 +++++++++++++
 wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
-------------------------------------------------------------------------------
commit 1dc4ca9bcab3f6a6595dddc1d6ea11a9fae71625
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:48:59 +0200

    wireless: improved coding style on quest_bs_data function

Base directory -> /
 wireless.c | 108 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 56 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 14:01:01 +02:00
Sukru Senli
b89cc55127 asterisk: asterisk.hotplug: try ipv6 address to bind if ipv4 is not available 2017-05-10 18:43:53 +02:00
Reidar Cederqvist
70afc90bb0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5f3c52b wireless: allow router.wireless bs_data to be called without arguments
-------------------------------------------------------------------------------
commit 5f3c52b8734693f9327aeb873be9ea79ad2e56ab
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-10 15:34:08 +0200

    wireless: allow router.wireless bs_data to be called without arguments

Base directory -> /
 wireless.c | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-05-10 15:37:00 +02:00
Alex Oprea
caefdb79d0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b823465 broadcom: close forgotten pipe before return
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit b8234659d7e458208fe856acebcb87c86a6d956d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-09 17:26:23 +0200

    broadcom: close forgotten pipe before return

Base directory -> /
 broadcom.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-09 17:42:03 +02:00
Sukru Senli
d7af74ee3d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 12:33:11 +02:00
Sukru Senli
1456ae089a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 11:58:53 +02:00
Jonas Höglund
21c8dde43f iop: always set mirror 2017-05-05 13:05:10 +02:00
Reidar Cederqvist
e67829d4f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-05 11:05:27 +02:00
Reidar Cederqvist
81d9ac07f4 inteno-netmodes: added comment to test_ip to minimize confusion 2017-05-05 10:52:21 +02:00
Reidar Cederqvist
23949ba4e6 inteno-netmodes: fixed inverted logic in netmode-firewall-handler 2017-05-05 10:29:36 +02:00
Jonas Höglund
fbd369320c Build ice tarball for mediatek target 2017-05-04 15:05:08 +02:00
Jonas Höglund
623466d5c6 Use http url:s for public packets 2017-05-04 13:32:47 +02:00
Reidar Cederqvist
a8865fbd99 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* cf9f6df broadcom.h: fixed missing semicolon
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-04 12:52:21 +02:00
Reidar Cederqvist
cfd7968c30 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-04 12:47:42 +02:00
Jonas Höglund
551f3a6a64 Move ated to public.inteno.se 2017-05-04 12:40:09 +02:00
Jonas Höglund
183f52a0e4 Move mkt-bndstrng to public.inteno.se 2017-05-04 12:39:37 +02:00
Jonas Höglund
96e66fc839 Move uboot repo to public.inteno.se 2017-05-04 10:53:34 +02:00
Kenneth Johansson
44bda23f36 u-boot: escape escape escape
File copied to wrong place and with wrong permission.
2017-05-03 21:29:03 +02:00
Kenneth Johansson
64ba407746 New version string used by inteno for u-boot.
We need to have a version that we can change whenever we want to force and
update of u-boot. The u-boot version still exists.

To change the version and force an update change the PKG_RELEASE variable
in package Makefile.

uboot version is now checked on startup and if the installed one is too old
it will be updated.
2017-05-03 20:48:41 +02:00
Reidar Cederqvist
fb648dbec9 inteno-netmode: remove repeater ready flag on public ip 2017-05-03 14:38:28 +02:00
Reidar Cederqvist
4ce6f49284 inteno-netmode: repeater ubus: get_creds: duplicate ifaces if only one radio 2017-05-03 13:24:46 +02:00
Reidar Cederqvist
93b6ece77d inteno-netmode: repeater ubus: get_creds: check for disabled flag 2017-05-03 13:24:13 +02:00
Sukru Senli
af9e90e33d mtk-bndstrg: depend on librt 2017-05-02 16:03:44 +02:00
Sukru Senli
86cccc5764 icwmp-3.0-2017-05-01 2017-05-02 16:01:47 +02:00
Jonas Höglund
2d057b39a9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* a2aacfd Fix for ubifs mount.
-------------------------------------------------------------------------------
commit a2aacfdc3931a65b11929f685e7ed067bf1fbfa9
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-02 13:56:58 +0200

    Fix for ubifs mount.

    Replaying the journal require more memory. Give u-boot 4MB instead of 1MB.

Base directory -> /
 include/configs/ex400.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 14:06:17 +02:00
Sukru Senli
a3ce1a1abd mtk-bndstrg: copy correct file 2017-05-02 13:31:13 +02:00
Sukru Senli
c8453cd936 Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* 8a80432 compile with gcc
-------------------------------------------------------------------------------
commit 8a804320c53dead1c9b9f3650cbbc58908c76832
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-02 13:28:06 +0200

    compile with gcc

Base directory -> /
 Makefile |   3 ++-
 bndstrg  | Bin 101458 -> 160584 bytes
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 13:28:21 +02:00
Sukru Senli
ef9a83ad33 mtk-bndstrg: move under Utilities 2017-05-02 13:14:53 +02:00
Sukru Senli
f7539ded45 mtk-bndstrg: remove unnecessary files 2017-05-02 13:05:43 +02:00
Sukru Senli
929fb89e7f mtk-bndstrg: clone correct repo 2017-05-02 13:04:28 +02:00
Alex Oprea
c5259c5870 bndstrg: mediatek band steering preliminary makefile 2017-05-02 12:56:00 +02:00
Reidar Cederqvist
12bd3ec5fd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ba36f2f wireless.c: autochannel: add channel after successful switch
* 40af409 wireless.c: changed return to ok and added check if channel is dfs
* e4d7270 wireless.c: added return messge to autochannel call
-------------------------------------------------------------------------------
commit ba36f2fa761ba8e64c0dcfe1000dd1bebb8c7e5b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 12:48:49 +0200

    wireless.c: autochannel: add channel after successful switch

Base directory -> /
 broadcom.c | 8 +++-----
 wireless.c | 9 ++++++---
 2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 40af409c74bf3c89f246ca394b6c481d33a851f5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 11:35:00 +0200

    wireless.c: changed return to ok and added check if channel is dfs

Base directory -> /
 broadcom.c |  7 +++++++
 wireless.c | 10 ++++------
 2 files changed, 11 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit e4d7270df88c66469e140acd06832f22b5cd2b80
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 10:02:36 +0200

    wireless.c: added return messge to autochannel call

Base directory -> /
 wireless.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 09:40:57 +02:00
Jonas Höglund
666137f847 Return if mediatek binary already exists 2017-05-02 09:40:55 +02:00
Erik Horemans
48aa469b80 new ice-client R4.4.0-RC1 2017-05-02 09:40:43 +02:00
Erik Horemans
6e5c6ba219 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-04-28 15:51:42 +02:00
Erik Horemans
862c526c56 new ice-client R4.4.0-RC1 2017-04-28 15:51:32 +02:00
Jonas Höglund
abe25ff03a Return if mediatek binary already exists 2017-04-28 15:50:16 +02:00
Jonas Höglund
94a11e9a37 iop: update mediatek tarballs 2017-04-28 13:28:25 +02:00
Sukru Senli
ad5021eea4 voice_client: support binding asterisk to ipv6 interface 2017-04-28 11:26:17 +02:00
Ronny Nilsson
fd03db48c1 kernel: add devtmpfs for letting kernel auto populate
/dev early on boot as well as become equal to how
other MIPS targets work.
2017-04-27 15:59:42 +02:00
Alex Oprea
3c0826ca5c hotplug: net: repeater: remove unused parameter 2017-04-26 16:58:05 +02:00
Alex Oprea
8762fa4f4e hotplug: net: repeater: remove unused parameter 2017-04-26 16:12:54 +02:00
Alex Oprea
83dad53f2c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 16de648 questd: update is_inteno_*_macaddr functions
* 4d4e5a2 wificontrol: improve debug messages
* 92047e1 use long option --assoclist
* 703eec4 wificontrol: improve debug messages
-------------------------------------------------------------------------------
commit 16de648470f316aa3b2658e8870141d594aff074
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-26 13:45:50 +0200

    questd: update is_inteno_*_macaddr functions

Base directory -> /
 tools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4d4e5a29f2df1b4af603e53c8e237c11e020715c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-25 11:42:31 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 92047e1c8f2c139aa1de1e02899174576a1f76af
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 20:23:06 +0200

    use long option --assoclist

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 703eec48f8a8220c212a5c299ecf3315424caa35
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 19:08:58 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-04-26 13:50:06 +02:00
Alex Oprea
d6a6350e62 imonitor: do not check the ubus call before restarting questd
Do no check the ubus call before restarting questd
	because in some cases the ubus call still works as normal,
	even if there are 2 questd processes running.
2017-04-26 11:10:42 +02:00
Sukru Senli
3fb9756e42 icwmp-3.0-2017-04-26 2017-04-26 10:51:55 +02:00
Reidar Cederqvist
8d3eebb0c1 inteno-netmodes: dont start client-detect if repeaterready flag is set 2017-04-25 14:26:53 +02:00
Reidar Cederqvist
d28dbd9b75 inteno-netmdoe: stop using conf option and use seciton name 2017-04-25 13:37:32 +02:00
Reidar Cederqvist
267d65174c inteno-netmodes: added uplink_band to broadcom repeater netmodes 2017-04-25 12:11:33 +02:00
Reidar Cederqvist
abbfb77248 inteno-netmodes: init.d script now supports 'routed' netmode 2017-04-25 10:04:27 +02:00
Reidar Cederqvist
e288d7ec0c inteno-netmodes: netmode-conf: added check to skipp non ap interfaces when getting number 2017-04-24 17:54:48 +02:00
Reidar Cederqvist
7f33ffbdac inteno-netmodes: fixed bug 2017-04-24 17:41:22 +02:00
Reidar Cederqvist
7fc6da3a66 inteno-netmodes: client-detect: added a timed check every 60 sec 2017-04-24 16:10:17 +02:00
Reidar Cederqvist
a814d37e2b inteno-netmodes: start using repeater as netmode 2017-04-24 15:50:35 +02:00
Reidar Cederqvist
0710672275 inteno-netmodes: added support for setting repeater mode 2017-04-24 15:50:12 +02:00
Alex Oprea
3d2301cdb0 netmode: remove already fixed todo 2017-04-24 12:49:06 +02:00
Jonas Höglund
cd8244fb2a Set mediatek access in config file 2017-04-24 10:49:49 +02:00
Jonas Höglund
fd480290f5 Delete every file except for Kconfig in mediatek wifi drivers 2017-04-24 10:42:47 +02:00
Jonas Höglund
7e6052573e Remove more Mediatek propriety code 2017-04-21 17:04:43 +02:00
Sukru Senli
9b659fb859 icwmp: put dmmap under /etc/icwmpd 2017-04-21 16:12:33 +02:00
Ronny Nilsson
15314c65d5 Always recreate the feeds indices to cope with packages
being moved between feeds.
2017-04-21 15:08:37 +02:00
Ronny Nilsson
4fedd34f95 genconfig: Explicitly indicate yes/no to developer
mode due to there are other scripts depending on
these variables being non-empty.
2017-04-21 13:52:19 +02:00
Reidar Cederqvist
f88eebb055 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d80214e only send_data to destination if its an inteno-mac
-------------------------------------------------------------------------------
commit d80214e16eb15b031cc500cd5907951b119ef505
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-21 10:11:39 +0200

    only send_data to destination if its an inteno-mac

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-04-21 10:15:50 +02:00
Sukru Senli
cefefb9a63 icwmp-3.0-2017-04-19 2017-04-20 17:47:15 +02:00
Alex Oprea
7e38593c3f netmode: fix typo with curmode 2017-04-20 13:56:18 +02:00
Alex Oprea
0579b0ec60 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9083bba wificontrol: consider the inteno altered mac addresses too
* bdf0309 wificontrol: improve debug messages for MSG_TYPE_ASSOC
-------------------------------------------------------------------------------
commit 9083bba577d7cceb0f03a3d86fba425f392c37d2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:49:39 +0200

    wificontrol: consider the inteno altered mac addresses too

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bdf03091e90fcc08e3b6507e8e10c33e42cdb315
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:20:19 +0200

    wificontrol: improve debug messages for MSG_TYPE_ASSOC

Base directory -> /
 wificontrol.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-04-19 19:20:05 +02:00
Sukru Senli
7f14aca755 inteno-netmodes: fix macro in layer2_interface_ethernet config as well 2017-04-19 16:28:43 +02:00
Jonas Höglund
e396bd8531 Apply patches to generate mediatek consumer relase 2017-04-19 16:26:36 +02:00
Alex Oprea
0549986c77 imonitor: restart acsd if it's using more than 20% processor 2017-04-19 16:14:16 +02:00
Reidar Cederqvist
34f58ad7f9 inteno-netmodes: fixed bug in netmode-conf script 2017-04-19 15:45:49 +02:00
Jonas Höglund
16fbba701c Make mediatek tarball. Add target option to generate_tarballs. 2017-04-19 14:19:34 +02:00
Sukru Senli
2635873bcc icwmp-3.0-2017-04-14 2017-04-19 09:02:48 +02:00
Alex Oprea
9c191f7f89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2e132f1 wificontrol: rename function to collect_intenos and remove unnecessary parameter
* 2d0821e wificontrol: fix more codingstyle
* 66b5fad wificontrol: do not do call any other function between one function and its perror
* 6358360 wificontrol: remove strange code
* 19a3e9a wificontrol: fix some codinstyle
* 4b9c6fa improve log level
* 6d5952c wificontrol: rename long flag --verbosity to --verbose
* 4e007a4 wificontrol: improve message types
* 1a911d0 wireless: assoclist: more defensive code
-------------------------------------------------------------------------------
commit 2e132f10dc83ec308a112aa636c621aac755e51d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:51:11 +0200

    wificontrol: rename function to collect_intenos and remove unnecessary
    parameter

Base directory -> /
 wificontrol.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 2d0821e63039ac2022fbd7dc7f1ccf605de2b520
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:26:24 +0200

    wificontrol: fix more codingstyle

Base directory -> /
 wificontrol.c | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit 66b5fad1705dcb4967240acd66ac463898c4b9b8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:09:55 +0200

    wificontrol: do not do call any other function between one function and its
    perror

Base directory -> /
 wificontrol.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 6358360ba56a49c9e578db7400d6aecd21d6c97a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:02:12 +0200

    wificontrol: remove strange code

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit 19a3e9a3398abdec8a69f1aacf490257e837cf31
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:56:02 +0200

    wificontrol: fix some codinstyle

Base directory -> /
 wificontrol.c | 144 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)
-------------------------------------------------------------------------------
commit 4b9c6fa6032a22cd55c4f35e2ade1c0a16cbf77e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:11:02 +0200

    improve log level

Base directory -> /
 wificontrol.c | 68 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 38 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 6d5952c9b8dd9e3c944d3ed18b338ce08697771e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:03:50 +0200

    wificontrol: rename long flag --verbosity to --verbose

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 4e007a4a6441e1f1dcfbe5ddf8c4160d68d8aa26
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 11:30:47 +0200

    wificontrol: improve message types

Base directory -> /
 wificontrol.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 1a911d0910162046cff8c435abdb3834e64418e2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-13 14:30:56 +0200

    wireless: assoclist: more defensive code

    	This might fix a bug in wich the call
    	ubus call router.wireless radios
    returns buggy output like this:
    {
    "\u000100:E0:4D:04:C3:0B": {
    	"isup": false,

    	This happens because one extra entry seems to be written
    in the stas array, but outside the bounds of the array,
    overlapping the radios array, i.e. the first radio entry.

Base directory -> /
 wireless.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-18 17:14:15 +02:00
Sukru Senli
c7ea8cc974 inteno-netmodes: wifi reload if switching to repeater mode is not instant 2017-04-13 15:21:21 +02:00
Sukru Senli
ee3cd87e7e inteno-netmodes: update netmode scripts 2017-04-13 14:51:41 +02:00
Sukru Senli
9463e7b24b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9275776 wificontrol: open TCP port instead of UDP
-------------------------------------------------------------------------------
commit 927577622a47ca331bda4e3792863e786cb5bb66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 12:55:34 +0200

    wificontrol: open TCP port instead of UDP

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 12:55:50 +02:00
Sukru Senli
e13aebbd89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c335702 wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode
-------------------------------------------------------------------------------
commit c3357024b2f818d7a3530aac8e5d549f45a53c1d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:46:33 +0200

    wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode

Base directory -> /
 wificontrol.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-04-13 11:46:55 +02:00
Sukru Senli
e8f8ef22a9 inteno-netmodes: remove repeater specific firewall configs 2017-04-13 11:30:00 +02:00
Sukru Senli
0a8359a0de Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 73adf42 wificontrol: improvemets to ping_uplink function
* a0f9694 wificontrol: fix for reconnect in repeater mode
* 4e91aab wificontrol: removed unused code (comments)
* addfd85 wificontrol: fixed warning
* dd4f486 wificontrol: test to send one byte as protocol
* 0d2248f wificontrol: made old printf comments to dbg comments
* c0b6926 wificontrol: added verbose option
* ad9a4e2 wificontrol: get all lan network using libuci
* 5004bec wificontrol: fixed bug in receive loop in repeater mode
* e67c7de wificontrol: changed return value from NULL to 0
* 828a907 wificontrol: decresed buffersize to fit in tcp-packet
* adb6e25 wificontrol: created prepare_socket function to reuse code more
* d6d440d wificontrol: more timeout on sockets for --assoclist and --router mode
* b81ee13 wificontrol: assoclist: add timeout on socket
* 6e82f34 wificontrol: commented out all prinf
* 7a85c88 wificontrol: changed the set_creds calls to one combined
* d1368e5 questd: network: assoclist: initialize the buffers with zero
* a636276 wificontrol: make ping device dynamic
* 896fb07 wificontrol: trigger set_cred_uplink + debug prints
* 13023c9 wificontrol: fix get md5 values
* ba23b2d questd: use --destinatoin when calling wificontrol
* 5debde6 wificontrol: do not apply changes if the file is the same
* 30acbae wificontrol: apply the wireless settings only if any received
* 0edaaa2 wificontrol: try to send an empty string
* cb2efca wificontrol: fix the assoclist sending socket
* b872443 wificontrol: debug assoclist
* 7c73d25 wificontrol: assoclist functionality
* 051ed1f wificontrol: apply the new wireless configuration
* a0145c2 questd: client events: publish network
* c8275d0 questd: client events: publish ip
* 3f86328 wificontrol: add ping thread
* e12e5e0 wificontrol: add trivial comments
* 868365c wificontrol: repeater writes received data to file
* b4fd741 wificontrol: test with BUFFER_SIZE 4
* 35f3e1f wificontrol: rework while on repeater
* 70b0e71 wificontrol: change fgets to fread
* ccddf74 wificontrol: fix buffer size
* 0afaf49 wificontrol: simple recv
* a82d810 wificontrol: simple send
* 325a2d4 wificontrol: do not read from stdin
* d86b6c6 wificontrol: open file: --file, stdin, default file
* 9936828 wificontrol: change port to 9875
* 5e13d7c wificontrol: add SO_REUSEADDR on the listening socket
* f47c9fe wificontrol: basic client-server / router-repeater communication
* 0926745 wificontrol: add send_data to repeater function
* f8b6e96 wificontrol: add repeater's ip to repeaters array
* d119c5b wificontrol: fix lanname
* 7d63d06 wificontrol: parse arp entries
* 480d0eb tools: add function is_ip_in_network
* 3bfda0d wificontrol: get lan name
* ea0c4d0 wificontrol: a good version, with cmd line options
* 9f60ec1 wificontrol: minimal main
* f1fc945 add wificontrol.c
* b6fea3f remove wificontrol.c
-------------------------------------------------------------------------------
commit 73adf42cad8e82ecf44ea8f3c595b5e2d6f0fdb6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:13:00 +0200

    wificontrol: improvemets to ping_uplink function

Base directory -> /
 wificontrol.c | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit a0f969476dbe9e31765cf73521d143a0754ce4f3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 17:11:55 +0200

    wificontrol: fix for reconnect in repeater mode

Base directory -> /
 wificontrol.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 4e91aabaecdfb6d1f4045ae5a1d0c2a76ce21192
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 11:14:12 +0200

    wificontrol: removed unused code (comments)

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit addfd85b2c9782d914a583618f2edc128919649c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:47:39 +0200

    wificontrol: fixed warning

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit dd4f4862f9067735a27f4aa18a2661182ae33424
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:43:07 +0200

    wificontrol: test to send one byte as protocol

Base directory -> /
 wificontrol.c | 108 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 62 insertions(+), 46 deletions(-)
-------------------------------------------------------------------------------
commit 0d2248ff7ad89e864a97b203ed6fbec53acf188c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 16:03:32 +0200

    wificontrol: made old printf comments to dbg comments

Base directory -> /
 wificontrol.c | 58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
commit c0b6926cb1e086747d6cbd59f981f515719e8b3f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 15:39:56 +0200

    wificontrol: added verbose option

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit ad9a4e26c083890a51394dcbacd52f44dc50c61e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 12:37:04 +0200

    wificontrol: get all lan network using libuci

Base directory -> /
 wificontrol.c | 92 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 41 deletions(-)
-------------------------------------------------------------------------------
commit 5004bec2c76f779796b4e0af6cf21e9502994ea4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:44 +0200

    wificontrol: fixed bug in receive loop in repeater mode

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e67c7dea9a623a9211018c9afa7fd6e79e717778
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:15 +0200

    wificontrol: changed return value from NULL to 0

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 828a90741f6e0fd1bb3a94551bf10207d953c4c5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 12:02:58 +0200

    wificontrol: decresed buffersize to fit in tcp-packet

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit adb6e25347c0c05ec973238a7a7ab93d97e5c14d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:12:42 +0200

    wificontrol: created prepare_socket function to reuse code more

Base directory -> /
 wificontrol.c | 79 +++++++++++++++++++++++------------------------------------
 1 file changed, 30 insertions(+), 49 deletions(-)
-------------------------------------------------------------------------------
commit d6d440d9d0da07fe30e86f79edd3d14a9890c9f1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 20:52:53 +0200

    wificontrol: more timeout on sockets for --assoclist and --router mode

Base directory -> /
 wificontrol.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b81ee13ff57f5f782935d73dfea270179670ffa2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 18:42:03 +0200

    wificontrol: assoclist: add timeout on socket

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 6e82f345ee0470f4056bec3a8e5aedf2f11f91e6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 16:39:28 +0200

    wificontrol: commented out all prinf

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit 7a85c88077c062bf03beff2081265362cfaad84e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 15:48:58 +0200

    wificontrol: changed the set_creds calls to one combined

Base directory -> /
 wificontrol.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit d1368e560705239b25140901d51cb5270deb7571
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 12:16:16 +0200

    questd: network: assoclist: initialize the buffers with zero

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit a636276a8e9ee254e776d0bf9a8ca78e5da03b40
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 11:19:05 +0200

    wificontrol: make ping device dynamic

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 896fb07a0ce5397572d1b1c5bda53dfae643d1a0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:29:21 +0200

    wificontrol: trigger set_cred_uplink + debug prints

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 13023c9d5fbb9e4acf9603079e9346920033b21e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:28:45 +0200

    wificontrol: fix get md5 values

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit ba23b2d419e00f695f12c8a8a2141ea2c1a74999
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:56:35 +0200

    questd: use --destinatoin when calling wificontrol

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5debde6a627d82ff5bad441c9a9b063d1b2b7b74
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:43:01 +0200

    wificontrol: do not apply changes if the file is the same

Base directory -> /
 wificontrol.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 30acbae4f579439c14e0bcfa81df209534a439d0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:57:00 +0200

    wificontrol: apply the wireless settings only if any received

Base directory -> /
 wificontrol.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 0edaaa2b4935586016fedda5b0677d19dde388a2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:48:59 +0200

    wificontrol: try to send an empty string

Base directory -> /
 wificontrol.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit cb2efca7595baa786477abe0349aaf9dfb4e0a76
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:41:20 +0200

    wificontrol: fix the assoclist sending socket

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b872443ccacc0e89924b88eb8dcdac1d8e7518f8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:57:04 +0200

    wificontrol: debug assoclist

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7c73d25038f744c7782d7f7a480c1a58034c319e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:59 +0200

    wificontrol: assoclist functionality

Base directory -> /
 wificontrol.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 97 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 051ed1f80c6f647d3e8bde231fde60f7c1d2c28e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:36 +0200

    wificontrol: apply the new wireless configuration

Base directory -> /
 wificontrol.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit a0145c21d97f5c9d1056586932cff5eaed5115f7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:38:55 +0200

    questd: client events: publish network

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c8275d09d86d0fe61a1e77a49f51ccc6b871733e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:04:25 +0200

    questd: client events: publish ip

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3f86328f9f0eb4e719661440f5adff453eaba0e6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 12:15:31 +0200

    wificontrol: add ping thread

Base directory -> /
 wificontrol.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
-------------------------------------------------------------------------------
commit e12e5e0efa0cccbba8934ef06586d952cf15cf5c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 18:47:48 +0200

    wificontrol: add trivial comments

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 868365c6fb862eb7b6627c470b922c500191fdb1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 16:37:08 +0200

    wificontrol: repeater writes received data to file

Base directory -> /
 wificontrol.c | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit b4fd741da6f90959ba1e75607b657946e16e3f2d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:50:02 +0200

    wificontrol: test with BUFFER_SIZE 4

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 35f3e1f56cc16192859b068c41f83cc149fd6d63
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:48:44 +0200

    wificontrol: rework while on repeater

Base directory -> /
 wificontrol.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 70b0e7155aa8a665bfb090bd3a32a545a9f15e66
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:45:34 +0200

    wificontrol: change fgets to fread

Base directory -> /
 wificontrol.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit ccddf74acb60dfd835705f7191384fbdbff6be9e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:18:25 +0200

    wificontrol: fix buffer size

Base directory -> /
 wificontrol.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0afaf492b020466784c2f7f38af3974d39fa1b69
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:55:21 +0200

    wificontrol: simple recv

Base directory -> /
 wificontrol.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit a82d8105636c6cce41a0caeffaf045b89b35d0e7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:49:45 +0200

    wificontrol: simple send

Base directory -> /
 wificontrol.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 325a2d43d70f7dd33e4c0c0e11972c0b2c9f05b6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:40:37 +0200

    wificontrol: do not read from stdin

Base directory -> /
 wificontrol.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit d86b6c645aaadefeee98a107492a4bb5044c2ce8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:31:26 +0200

    wificontrol: open file: --file, stdin, default file

Base directory -> /
 wificontrol.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 50 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 9936828c45d11ec75de42c0d3fd16b435780c21c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 13:03:54 +0200

    wificontrol: change port to 9875

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5e13d7c2079a138be6dd9d6f60cdaaeff846d75d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 12:56:17 +0200

    wificontrol: add SO_REUSEADDR on the listening socket

Base directory -> /
 wificontrol.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f47c9fe1a057768cb7635c93a2c3245fb547cb92
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 11:55:03 +0200

    wificontrol: basic client-server / router-repeater communication

Base directory -> /
 wificontrol.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 82 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0926745ffc7e85f5c2d2751d0f0090003938d63f
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-30 16:29:13 +0200

    wificontrol: add send_data to repeater function

Base directory -> /
 wificontrol.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
-------------------------------------------------------------------------------
commit f8b6e96eeca997116483582ec9afd6dc3160e4ff
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 15:33:12 +0200

    wificontrol: add repeater's ip to repeaters array

Base directory -> /
 wificontrol.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit d119c5babdf85ed03cf2faa3597d21ecf9b4d2aa
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 13:11:21 +0200

    wificontrol: fix lanname

Base directory -> /
 wificontrol.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7d63d0606a4ec60db0804dc88f0edf9e503dab4d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:57:49 +0200

    wificontrol: parse arp entries

Base directory -> /
 wificontrol.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 480d0eb3f81d1a4cd3aabbed45af1dddbe1a8929
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:56:35 +0200

    tools: add function is_ip_in_network

Base directory -> /
 tools.c | 19 +++++++++++++++++++
 tools.h |  2 ++
 2 files changed, 21 insertions(+)
-------------------------------------------------------------------------------
commit 3bfda0d8a2cc5bbfc8705bb98062c261243a63d8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:10:50 +0200

    wificontrol: get lan name

Base directory -> /
 wificontrol.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ea0c4d0ce5ed821a4ce61f17b3471622450b4623
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:00:10 +0200

    wificontrol: a good version, with cmd line options

Base directory -> /
 wificontrol.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 141 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9f60ec100bb77853df8b24aa27b0631b3b9e22c5
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:12:19 +0200

    wificontrol: minimal main

Base directory -> /
 wificontrol.c | 8 ++++++++
 1 file changed, 8 insertions(+)
-------------------------------------------------------------------------------
commit f1fc9459d70e21ba2d2dd1e30734b145b4244155
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:58:09 +0200

    add wificontrol.c

Base directory -> /
 wificontrol.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit b6fea3f9f67fa2e8532975ced66a6e792ceaf0d3
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:57:39 +0200

    remove wificontrol.c

Base directory -> /
 wificontrol.c | 408 ----------------------------------------------------------
 1 file changed, 408 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 11:21:26 +02:00
Reidar Cederqvist
99f12a833b inteno-netmodes: netmode-conf: changed reboot to wifi reload nodat 2017-04-13 11:19:19 +02:00
Reidar Cederqvist
8d0c18d2d0 inteno-netmode: renamed netmode-detect netmode-client-detect 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
f0bfe70674 inteno-netmode: only run wificontrol on inteno-macaddr 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
dd83d4d139 inteno-netmodes: changed hotplug-script to disable firewall if connected to private ip 2017-04-13 11:19:14 +02:00
Reidar Cederqvist
d53c2eb937 inteno-netmodes: upgraded netmode-conf file to only apply/reload (reboot) if config is changed 2017-04-13 11:19:14 +02:00
Sukru Senli
b56f049445 inteno-netmodes: name updates 2017-04-13 11:19:12 +02:00
Sukru Senli
1e69e5495f inteno-netmodes: reboot when new credentials are received 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
d3047b2299 inteno-netmode: wifi reload insted of wifi apply 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
608f2eae88 inteno-netmodes: fixed typo in netifd init script 2017-04-13 11:19:11 +02:00
Reidar Cederqvist
2848efba56 inteno-netmodes: fixed missing quote 2017-04-13 11:19:09 +02:00
Reidar Cederqvist
1cd109e79b inteno-netmode: repeater ubus-call: combined set_creds_uplink/downlink 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
09c23507d0 inteno-netmode: added nessesary config_load 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
5617a44086 removed repeaterready as default 2017-04-13 11:19:07 +02:00
Alex Oprea
d0be333511 inteno-netmodes: update the wificontrol --repeater listening port to 9875 2017-04-13 11:19:06 +02:00
Alex Oprea
636939542f inteno-netmodes: add client_listener for ip add events 2017-04-13 11:18:56 +02:00
Alex Oprea
91da14a8ed inteno-netmodes: add set_creds_uplink 2017-04-13 11:18:56 +02:00
Alex Oprea
d9acfdd38b inteno-netmodes: remove askcred 2017-04-13 11:18:56 +02:00
Alex Oprea
38e35002ea inteno-netmode: add repeaterready option 2017-04-13 11:18:56 +02:00
Alex Oprea
7f125f35b8 inteno-netmodes: repeater: fix a nug in get_creds 2017-04-13 11:18:56 +02:00
Alex Oprea
d04b16d9ab inteno-netmode: ubus repeater: change functions names 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
84700c3018 inteno-netmodes: some fixes to repeater ubus script 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
53a6368118 netmode: use wifi apply when possible 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
bdf696d273 inteno-netmode: added repeater ubus script 2017-04-13 11:18:56 +02:00
Sukru Senli
2899e65f79 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6b12a9 initialize clients with repeated flag as false
-------------------------------------------------------------------------------
commit a6b12a910caf7c1e1b868f4f97ed004ca2bacf03
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 10:34:03 +0200

    initialize clients with repeated flag as false

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 10:34:58 +02:00
Reidar Cederqvist
319e5b5949 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 618a0ee network: ports call do not show repeated clients on port
* af73e44 graphd: added missing include (pthread)
-------------------------------------------------------------------------------
commit 618a0ee2a4c8022f6c55a8bb2580b1df31681846
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 10:15:23 +0200

    network: ports call do not show repeated clients on port

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit af73e4495f6fb4aaaf8bdfb3610ec78df5038e5a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:28:44 +0200

    graphd: added missing include (pthread)

Base directory -> /
 graphd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-04-12 10:17:20 +02:00
Alex Oprea
999dd67304 iup: do not check for file nor reboot if the section is not enabled 2017-04-11 16:39:35 +02:00
Sukru Senli
4f428b93c5 inteno-netmodes: make sure network config has no trailing spaces in ifname 2017-04-11 14:33:14 +02:00
Sukru Senli
256cb6c412 icwmp: do not copy over dmmap config file 2017-04-11 12:34:53 +02:00
Sukru Senli
142b6b781d iop: config: select correct juci package for mwan3 2017-04-10 16:52:25 +02:00
Sukru Senli
605272926a icwmp-3.0-2017-04-10 2017-04-10 16:06:29 +02:00
Sukru Senli
843df9e6cd iop: config: replace multiwan with mwan3 2017-04-10 13:24:27 +02:00
Erik Horemans
9413e41fc3 new ice-client R4.3.0-RC13 2017-04-06 16:47:40 +02:00
Jonas Höglund
2cecdb25a1 Update feed [ feed_inteno_packages ] package [ libtrace ]
Point to commit hash, not HEAD, in package makefile
2017-04-06 10:44:45 +02:00
Sukru Senli
becc1bb576 icwmp-3.0-2017-04-05 2017-04-06 09:59:12 +02:00
Sukru Senli
6cb0d69c54 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8d89f66 router.network: update linkspeed of a port for each call
-------------------------------------------------------------------------------
commit 8d89f663e30b93cd314df708bf6abbef342d52ee
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-05 12:41:22 +0200

    router.network: update linkspeed of a port for each call

Base directory -> /
 network.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-04-05 12:41:49 +02:00
Jonas Höglund
427482f60d Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* ff2cf8b Remove gpio_test program as it does not compile with musl
-------------------------------------------------------------------------------
commit ff2cf8bfbd3a04731088e9f4540796696e961382
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-04-05 10:16:15 +0200

    Remove gpio_test program as it does not compile with musl

Base directory -> /
 Makefile.am | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
-------------------------------------------------------------------------------
2017-04-05 10:21:50 +02:00
Reidar Cederqvist
06115ccd07 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f723937 broadcom.c, scanresults: fixed rssi for mips platform
* 6d6a0ea added definition for wl_get_maxrate in broadcom.c
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit f7239379bbf2014a9ceef947bcc6cdbd03596f3e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:15:35 +0200

    broadcom.c, scanresults: fixed rssi for mips platform

Base directory -> /
 broadcom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6d6a0eaf616c1b3c1fd817d28d5df911c084fe58
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:14:04 +0200

    added definition for wl_get_maxrate in broadcom.c

    and change the return-type to void because it never returned anything

Base directory -> /
 broadcom.c | 2 +-
 broadcom.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-05 10:20:24 +02:00
Jonas Höglund
abff7287ec iop: fix genconfig path 2017-04-04 16:35:23 +02:00
Sukru Senli
affb441247 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-03 11:55:04 +02:00
Sukru Senli
8164948f92 iop: generate_tarballs: support target mipsel builddir 2017-03-29 13:20:43 +02:00
Sukru Senli
66711b8542 iop: generate tarballs: for ice-client use target profile instead of brcm kernel profile 2017-03-29 13:13:44 +02:00
Sukru Senli
d54cacb3fb ice-client: open version update 2017-03-29 13:13:23 +02:00
Jonas Höglund
d5bd6b32e2 Extract patches to safer directory 2017-03-29 12:09:34 +02:00
Jonas Höglund
1495b55d8e Fix local repo checkout bug 2017-03-29 12:01:06 +02:00
Jonas Höglund
e81f07831e Remove dirname from exported patches 2017-03-29 11:51:45 +02:00
Jonas Höglund
50dab305c9 Update extract_core iop command 2017-03-28 17:41:47 +02:00
Erik Horemans
46716d47a3 new ice-client R4.3.0-RC10 2017-03-28 14:54:12 +02:00
Erik Horemans
2ec487b3f2 new ice-client R4.3.0-RC9 2017-03-27 15:35:00 +02:00
Reidar Cederqvist
50f792b504 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f241dd2 mediatek: made channel 0 on failed ioctl call
-------------------------------------------------------------------------------
commit f241dd296dc22301093bc98a4d623ab47fa5feee
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-27 11:56:19 +0200

    mediatek: made channel 0 on failed ioctl call

Base directory -> /
 mediatek.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-27 11:57:11 +02:00
Sukru Senli
c2a689ca65 icwmp-3.0-2017-03-24 2017-03-24 17:29:06 +01:00
Jonas Höglund
6cd99e0661 Add support for target config diff 2017-03-24 15:59:25 +01:00
Jonas Höglund
942ddd8c1c Move mtd-utils to feed_inteno_broadcom 2017-03-24 14:01:34 +01:00
Sukru Senli
72d813150d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5d4abbc wificontrol: sockect timeout 2 seconds
-------------------------------------------------------------------------------
commit 5d4abbc3bc7c96836840236f1346e2bc9454b45a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-24 12:15:53 +0100

    wificontrol: sockect timeout 2 seconds

Base directory -> /
 wificontrol.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-03-24 12:17:13 +01:00
Sukru Senli
88bbf9868e inteno-netmodes: set different routed modes for brcm and mtk 2017-03-23 13:16:44 +01:00
Sukru Senli
e6255a873e inteno-netmodes: common package for brcm and mtk 2017-03-23 12:46:43 +01:00
Sukru Senli
49786e3557 icwmp-3.0-2017-03-23 2017-03-23 10:55:56 +01:00
Jonas Höglund
3dcaf20891 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 08fb2b8 If image can not be booted from uboot reboot.
-------------------------------------------------------------------------------
commit 08fb2b839326c3bc2a2a0472b5dae6ee0288e483
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-21 17:30:56 +0100

    If image can not be booted from uboot reboot.

    Only allow 10 reboots to prevent infinite reboot and write to flash.

Base directory -> /
 board/inteno/ex400/iboot.c | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:04 +01:00
Jonas Höglund
6b4c1d809b Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1fbe8f5 Revert "Set baudrate to 57600"
-------------------------------------------------------------------------------
commit 1fbe8f5bf3702285049273005c16071326fb75fa
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-03-21 17:22:49 +0100

    Revert "Set baudrate to 57600"

    This reverts commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:00 +01:00
Sukru Senli
42b5cd023b Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 2217e77 gpio_set_state: add delay argument
-------------------------------------------------------------------------------
commit 2217e777ce56b53878ca467a06025db935c235eb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 15:00:41 +0100

    gpio_set_state: add delay argument

Base directory -> /
 src/gpio_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:10:31 +01:00
Sukru Senli
17c16349e5 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 2d474e9 wifi import new credentials when event is received
-------------------------------------------------------------------------------
commit 2d474e9ff37b9cfcffd4b9ac8eba8db03eb38a21
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-03 16:56:33 +0100

    wifi import new credentials when event is received

Base directory -> /
 src/inbd.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:39 +01:00
Jonas Höglund
9983e0cb74 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 6f962f2 Set baudrate to 57600
-------------------------------------------------------------------------------
commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-02-02 17:56:27 +0100

    Set baudrate to 57600

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:23 +01:00
Sukru Senli
8b6199d16c Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* f6f1d60 handle leds and switch here for now
* da054c1 minimilastic inbd init script for now
-------------------------------------------------------------------------------
commit f6f1d60abc493f1caf0a8bbe301ff790bfba193d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 16:30:29 +0100

    handle leds and switch here for now

Base directory -> /
 Makefile.am |   2 +-
 src/inbd.c  | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 116 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit da054c1159fc24334eb234cdc6c080297a6258b3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 13:50:45 +0100

    minimilastic inbd init script for now

Base directory -> /
 files/etc/init.d/inbd | 24 ------------------------
 1 file changed, 24 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:04 +01:00
Jonas Höglund
471018704d Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 5b30e9d Remove unused arg
-------------------------------------------------------------------------------
commit 5b30e9dbd4bf8ca13ed846478aa62135a4f94653
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 17:35:07 +0100

    Remove unused arg

Base directory -> /
 files/etc/init.d/inbd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:08:53 +01:00
Jonas Höglund
fe178ac7f3 Fix copy startscript for inbd 2017-03-23 10:08:41 +01:00
Jonas Höglund
417a9d11ef Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 366039b Add startup script for inbd
* 33dc81f Send ubus event on netlink event
-------------------------------------------------------------------------------
commit 366039bdfc80418f7089cb08230fe1b74de4edec
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:56:40 +0100

    Add startup script for inbd

Base directory -> /
 files/etc/init.d/inbd | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
-------------------------------------------------------------------------------
commit 33dc81f50b9c2039c3726b5a7bc250dcfe806803
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:28:17 +0100

    Send ubus event on netlink event

Base directory -> /
 src/inbd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:08:26 +01:00
Reidar Cederqvist
34a24d227d update_package.sh: fixed so version is asked for only when -v is set 2017-03-23 10:08:11 +01:00
Kenneth Johansson
e620faab86 Add bash debugger. 2017-03-23 10:07:43 +01:00
Jonas Höglund
ba1e3bdaa9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 65ae089 Set led to red when executing from internal SRAM.
* 5909d1e jtag: script for starting debug from nand.
-------------------------------------------------------------------------------
commit 65ae089853ddd9652103b4052af4b351d66f2374
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-28 16:56:21 +0100

    Set led to red when executing from internal SRAM.

    then set it to yellow/orange when executing from DRAM.

Base directory -> /
 Makefile                              |  14 ++++++++--
 board/inteno/ex400/jtag/ex400_led.cmm |  15 ++++++++++
 board/inteno/ex400/led.c              |   2 +-
 inteno_led.S                          |  50 ++++++++++++++++++++++++++++++++++
 mt7621_stage_L2.bin                   | Bin 19896 -> 19896 bytes
 5 files changed, 78 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5909d1e8240a7935d0005e88b2d4a1d35da50305
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-27 20:40:06 +0100

    jtag: script for starting debug from nand.

Base directory -> /
 board/inteno/ex400/jtag/ex400_quitck.cmm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:33 +01:00
Jonas Höglund
8c1b5a98aa Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* ee39c85 new default baudrate set to 115200.
-------------------------------------------------------------------------------
commit ee39c856a0162336ec53e76e330b19992a2b1b5a
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-23 13:45:35 +0100

    new default baudrate set to 115200.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:28 +01:00
Jonas Höglund
79f7392ae6 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1c053dc Add example ex400_setup script
-------------------------------------------------------------------------------
commit 1c053dc6060f344b755f2e9cdf500114c83a747f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 17:26:23 +0100

    Add example ex400_setup script

Base directory -> /
 board/inteno/ex400/production/ex400_setup | 76 +++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:20 +01:00
Kenneth Johansson
c8909f55c8 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 51f7502 print link info on std out.
-------------------------------------------------------------------------------
commit 51f7502ad1ce347af8a09531a782b87e94484599
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-22 16:57:03 +0100

    print link info on std out.

Base directory -> /
 configure.ac |  4 +--
 src/inbd.c   | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 91 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:16 +01:00
Kenneth Johansson
e1cb7b1733 update inbd. 2017-03-23 10:07:12 +01:00
Kenneth Johansson
f627287e5c Add inteno netlink bridge daemon. 2017-03-23 10:07:04 +01:00
Kenneth Johansson
44f1436849 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* cee4778 Add iboot command.
-------------------------------------------------------------------------------
commit cee4778f767e8770a2ac7bf6ea819370bb7628ea
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-24 18:47:05 +0100

    Add iboot command.

    This is inteno boot that support automatic switch over to alternate system
    image if something prevent boot on primary system.

Base directory -> /
 board/inteno/ex400/Makefile |   1 +
 board/inteno/ex400/iboot.c  | 162 ++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/wget.c   |   2 +-
 3 files changed, 164 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:40 +01:00
Kenneth Johansson
b2dcd3a853 perf_manager: turn off all leds when turning off.
we need this so that when we do a reset the leds is known to be off.
2017-03-23 10:06:34 +01:00
Jonas Höglund
c4a65ad164 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 20ef6d6 Don't write dirty as version
* 3545594 Save uboot version in env.
-------------------------------------------------------------------------------
commit 20ef6d6e6933ca7430390001532181a6e0353a2a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-15 15:05:22 +0100

    Don't write dirty as version

Base directory -> /
 scripts/setlocalversion | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 354559453d0b6728dc96c9f7bbb4dbcaeba61242
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-15 14:09:51 +0100

    Save uboot version in env.

    Do this so that the linux system can check what u-boot version is used.

Base directory -> /
 board/inteno/ex400/board.c   | 22 ++++++++++++++++++++--
 board/inteno/ex400/factory.c |  1 -
 include/configs/ex400.h      |  2 ++
 3 files changed, 22 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:26 +01:00
Kenneth Johansson
d69e7fe9ac Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* d907f86 print on serial port when rescue mode is active.
* b326684 Add led command.
-------------------------------------------------------------------------------
commit d907f8696346609080d0cf134d40acdc2c3f6ae6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:30:04 +0100

    print on serial port when rescue mode is active.

Base directory -> /
 board/inteno/ex400/board.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit b326684d8c3a4083114a9981249d2c6c0792a0ab
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:26:49 +0100

    Add led command.

Base directory -> /
 board/inteno/ex400/Makefile |  1 +
 board/inteno/ex400/board.c  | 45 ++++++++++++++++++---------
 board/inteno/ex400/led.c    | 74 +++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/led.h    | 14 +++++++++
 4 files changed, 119 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:23 +01:00
Jonas Höglund
eb420976d0 Update feed [ feed_inteno_packages ] package [ ated ]
-------------------------------------------------------------------------------
* f614cba Disable failing ethernet ioctl
-------------------------------------------------------------------------------
commit f614cba983d827d5185c60a6a5a35530621d44d2
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-11 15:24:14 +0100

    Disable failing ethernet ioctl

Base directory -> /
 cmd_io/eth.c | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:19 +01:00
Kenneth Johansson
09814867f6 update. 2017-03-23 10:06:16 +01:00
Kenneth Johansson
cc556268dd fix v variable. 2017-03-23 10:06:11 +01:00
Kenneth Johansson
e8e3ac95a1 it builds. 2017-03-23 10:06:05 +01:00
Kenneth Johansson
d6f4372820 add ated. 2017-03-23 10:05:59 +01:00
Kenneth Johansson
0664b20b01 update. 2017-03-23 10:05:52 +01:00
Kenneth Johansson
9d0878aa21 remove extra space. 2017-03-23 10:05:47 +01:00
Kenneth Johansson
6e0eb90c0a new version and put u-boot into release file.
we need u-boot in the release file so that we can install a new version
if that is needed.
2017-03-23 10:05:38 +01:00
Sukru Senli
f5844368e0 layer2interface: quick fix to install files 2017-03-23 10:05:32 +01:00
Sukru Senli
5585e53773 layer2interface: copy broadcom dir for broadcom targets only 2017-03-23 10:05:27 +01:00
Sukru Senli
325d978d02 port_management: configure only if the necessary tools exist 2017-03-23 10:05:12 +01:00
Sukru Senli
cb36f99318 inteno-netmodes: do not show bridged modes for EX400 2017-03-23 10:05:02 +01:00
Jonas Höglund
b5e0665e2c Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 8cd9e36 Add format nand commands to default uboot env
-------------------------------------------------------------------------------
commit 8cd9e3642b5e6be5630385aa2e7eb7666ed0d4fb
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-28 11:54:46 +0200

    Add format nand commands to default uboot env

Base directory -> /
 include/configs/ex400.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:53 +01:00
Kenneth Johansson
088d733b5e Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* c92bd59 make it work on UBI again.
-------------------------------------------------------------------------------
commit c92bd591777c9fb1e7c55e3e9da0e078a8be00b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-09-27 19:30:19 +0200

    make it work on UBI again.

Base directory -> /
 tools/env/fw_env.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:49 +01:00
Jonas Höglund
76618155da Update feed [ feed_inteno_packages ] package [ tptest ]
-------------------------------------------------------------------------------
* 5778690 Fix format string error
-------------------------------------------------------------------------------
commit 57786908e7a0c790f303417b459c562887582384
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-26 15:00:00 +0200

    Fix format string error

Base directory -> /
 client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:39 +01:00
Sukru Senli
94e332731f questd: update Makefile 2017-03-23 09:07:18 +01:00
Sukru Senli
88175f3d2d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c16d45c tools: fix trim funtion for empty string refs #11680
-------------------------------------------------------------------------------
commit c16d45c61f0708103c25749a9354805b8720f1f6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-22 16:39:38 +0100

    tools: fix trim funtion for empty string refs #11680

Base directory -> /
 tools.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 16:56:48 +01:00
Kent Ekholm
34025a770f Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* ee99af0 Fix for #9581, "error 404 on incoming call"
-------------------------------------------------------------------------------
commit ee99af0d91a2197529b13075d802ebc37e644e40
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2017-03-22 15:24:49 +0100

    Fix for #9581, "error 404 on incoming call"

    The destination number is not recognized because the dialplan becomes empty
    by some reason. The fix is to reload the dialplan and try to find the
    destination number again.

Base directory -> /
 channels/chan_sip.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 15:31:14 +01:00
Reidar Cederqvist
01d39c8552 iop-update_package: fixed so that -u flag is reset on every call 2017-03-22 11:35:35 +01:00
129 changed files with 3761 additions and 743 deletions

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-mod
PKG_VERSION:=1.8.10.1
PKG_SOURCE_VERSION:=fd55c5dc4865142b7955ead96fe93b1ce888c37c
PKG_SOURCE_VERSION:=d780c4c7a34019b6c673d36338dca9cfb34f3e46
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/asterisk-1.8.x
@@ -41,7 +41,7 @@ define Package/asterisk18-mod
$(call Package/asterisk18-mod/Default)
TITLE:=Complete open source PBX, v1.8x
MENU:=1
DEPENDS:= +natalie-dect-h +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen +libopenssl +libncurses +libpopt +libpthread +uci +ubus +zlib @!TARGET_avr32
DEPENDS:= +natalie-dect-h +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen +libopenssl +libstdcpp +libncurses +libpopt +libpthread +uci +ubus +zlib @!TARGET_avr32
endef
define Package/asterisk18-mod/description
@@ -451,6 +451,7 @@ define Package/asterisk18-mod/install
done
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/astcanary $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
$(INSTALL_DIR) $(1)/etc/init.d

View File

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

View File

@@ -32,7 +32,7 @@ start_service() {
init_asterisk
procd_open_instance
procd_set_param command "$PROG" -f
procd_set_param command /usr/bin/taskset 2 "$PROG" -f -p -q
procd_set_param respawn
procd_close_instance
# service_start /usr/sbin/asterisk

View File

@@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f614cba983d827d5185c60a6a5a35530621d44d2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.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)

47
brcmslic/Makefile Normal file
View File

@@ -0,0 +1,47 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_SOURCE_URL:=git@private.inteno.se:brcmslic
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=837ec19e37650e424e77c921672a0806e198ba7b
PKG_NAME:=brcmslic
RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/brcmslic
CATEGORY:=Utilities
TITLE:=Brcmslic
URL:=
DEPENDS:=
endef
define Package/brcmslic/description
Brcmslic
endef
define Package/brcmslic/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/brcmslic $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endpt $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,brcmslic))

View File

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

Binary file not shown.

View File

@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=17aa3b1d8d372ebcf4d37379f7cc4fb59c461d4b
PKG_SOURCE_VERSION:=930b8908a0159cfdef9d5c8861791db176dad7f5
PKG_NAME:=dectmngr2

View File

@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=endptcfg
PKG_VERSION:=0.2
PKG_VERSION:=0.3
PKG_SOURCE_VERSION:=1194b05278bd0945ca5c76436e56617b86871a65
ifeq ($(CONFIG_ENDPT_OPEN),y)

54
fping/Makefile Normal file
View File

@@ -0,0 +1,54 @@
#
# Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fping
PKG_VERSION:=4.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://fping.org/dist/
PKG_HASH:=67eb4152b98ad34f99d2eec4e1098a0bb52caf13c0c89cd147349d08190fe8ce
PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
PKG_LICENSE:=BSD-4-Clause
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/fping
SECTION:=net
CATEGORY:=Network
TITLE:=sends ICMP ECHO_REQUEST packets to network hosts
URL:=http://fping.org/
endef
define Package/fping/description
fping is a ping like program which uses the Internet Control Message Protocol
(ICMP) echo request to determine if a target host is responding. fping
differs from ping in that you can specify any number of targets on the command
line, or specify a file containing the lists of targets to ping. Instead of
sending to one target until it times out or replies, fping will send out a
ping packet and move on to the next target in a round-robin fashion.
endef
CONFIGURE_ARGS+= \
--enable-ipv4 \
--enable-ipv6
TARGET_CFLAGS += -std=gnu99
define Package/fping/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fping $(1)/usr/bin/
endef
$(eval $(call BuildPackage,fping))

View File

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

@@ -19,18 +19,18 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=4.3.0
PKG_RELEASE:=RC7
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
BASE_PKG_VERSION:=5.3.8
PKG_RELEASE:=
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)-$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=042e769eb37e0a2a7000b88e7f73e74f50ce52b7
PKG_SOURCE_VERSION:=5cc855907b9d6a13d36fd619b579fcf3c6f24b5c
ifeq ($(CONFIG_ICE_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_SOURCE:=$(PKG_NAME)-$(BRCM_KERNEL_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(TARGET_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
else
@@ -154,6 +154,7 @@ define Package/ice-client/install
$(CP) $(PKG_BUILD_DIR)/scripts/etc/config/ice $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/server.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/defaults.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/modify.ini $(1)/etc/iopsys
$(INSTALL_DIR) $(1)/etc/iopsys/certificates
$(CP) $(PKG_BUILD_DIR)/scripts/cert_server_ca.pem $(1)/etc/iopsys/certificates

View File

@@ -1,13 +1,15 @@
#!/bin/sh
grep -rq "^ice:" /etc/passwd || {
local password="$(db get hw.board.wpaKey)"
if [ -n "$password" ]; then
adduser -D -H -s /bin/false ice
(echo $password; sleep 1; echo $password) | passwd ice >/dev/null 2>&1
fi
adduser -D -H -s /bin/false ice
}
uci -q delete passwords.ice
uci -q set passwords.ice=usertype
uci -q set passwords.ice.password="\$WPAKEY"
uci -q add_list passwords.ice._access_r=root
uci -q commit passwords
uci show rpcd | grep username=.*ice.* >/dev/null || {
cat >> /etc/config/rpcd << EOF
@@ -47,6 +49,7 @@ config login
list write 'juci-network-netifd'
list write 'juci-owsd'
list write 'juci-printer'
list write 'juci-realtime-graphs'
list write 'juci-samba'
list write 'juci-sfp'
list write 'juci-snmpd'
@@ -56,6 +59,7 @@ config login
list write 'juci-usb'
list write 'core'
list write 'unauthenticated'
EOF
}

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2017-03-17
PKG_VERSION:=3.0-2018-03-01
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:=ff91f29aef6aa366db9bfaad20783fef853509e4
PKG_SOURCE_VERSION:=af5476c35d03c03f82c22a65cba932f6df096808
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -66,6 +66,10 @@ define Build/Prepare
endef
endif
ifeq ($(CONFIG_TARGET_IBOARDID),"EX400")
TARGET_CFLAGS += -DEX400
endif
TARGET_CFLAGS += \
-D_GNU_SOURCE -D_AADJ
@@ -122,16 +126,18 @@ endif
define Package/icwmp-$(BUILD_VARIANT)/install
$(INSTALL_DIR) $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmpd $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/firewall.cwmp $(1)/etc/firewall.cwmp
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init/icwmpd.init $(1)/etc/init.d/icwmpd
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uci-defaults/90-cwmpfirewall $(1)/etc/uci-defaults/90-cwmpfirewall
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(CP) ./files/icwmp.hotplug $(1)/etc/hotplug.d/iface/90-icwmp
ifeq ($(CONFIG_CWMP_SCRIPTS_FULL),y)
$(INSTALL_DIR) $(1)/usr/share/icwmp
$(CP) $(PKG_BUILD_DIR)/scripts/defaults $(1)/usr/share/icwmp

76
icwmp/files/icwmp.hotplug Normal file
View File

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

View File

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

View File

@@ -12,6 +12,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/inteno-netmodes
CATEGORY:=Base system
DEPENDS:=+fping
TITLE:=Predefined Network Modes
endef

View File

@@ -1,39 +0,0 @@
[ "$INTERFACE" != "wan" ] && exit
ip="$(ip a show $DEVICE | awk '/inet / {print $2; exit}')"
ip="${ip%%/*}"
[ -z "$ip" ] && exit
handle_rule() {
local name enabled
enabled=$2
config_get name $1 name
if [ "$name" == "Repeater-Management" ]; then
uci set firewall.$1.enabled="$enabled"
uci commit firewall
fi
}
set_enabled() {
local enabled=$1
config_load firewall
config_foreach handle_rule rule $enabled
}
test_ip() {
if [ -n "$(echo $ip | grep -E '^(192\.168|10\.|172\.1[6789]\.|172\.2[0-9]\.|172\.3[01]\.)')" ]; then
set_enabled 1
else
set_enabled 0
fi
}
case "$(uci -q get netmode.setup.curmode)" in
repeater|repeater_dualdown)
test_ip
;;
*)
exit
;;
esac

View File

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

View File

@@ -0,0 +1,54 @@
#!/bin/sh
. /lib/functions.sh
. /lib/functions/network.sh
follow_wan='0'
config_load dhcp
config_get follow_wan 'lan' dhcpv6_follow_wan 0
test $follow_wan = '1' || exit 0
PROTO=""
get_dhcp_version_of_interface() {
config_get PROTO $INTERFACE proto
if [ -n "$PROTO" ]; then
return
fi
}
config_load network
config_foreach get_dhcp_version_of_interface interface
lan_v6_on() {
logger -t lan-follow-wan "turning ON IPv6 on LAN"
uci set dhcp.lan.dhcpv6='server'
}
lan_v6_off() {
logger -t lan-follow-wan "turning OFF IPv6 on LAN"
uci set dhcp.lan.dhcpv6='disabled'
}
case "$ACTION" in
ifup)
if [ "$PROTO" = "dhcpv6" ]; then
network_flush_cache
network_get_ipaddr6 current_ipv6_address $INTERFACE
if [ -n "$current_ipv6_address" ]; then
lan_v6_on
else
lan_v6_off
fi
elif [ "$PROTO" = "dhcp" ]; then
lan_v6_off
fi
uci commit
/etc/init.d/odhcpd restart
;;
esac

View File

@@ -0,0 +1,251 @@
#!/bin/sh
# this scripts shifts the lan network prefixes
# if a wan interface has the same network prefix.
. /lib/functions.sh
. /lib/functions/network.sh
local lockfile="/tmp/70-shiftrange.lock"
local restricted_nets=""
local all_nets=""
#####
##### initial functions
#####
initial_check()
{
# run only on ifup
[ "$ACTION" == "ifup" ] || exit 0
# run only for uplink (not is_lan) interfaces
local islan="$(uci -q get network.$INTERFACE.is_lan)"
[ "$islan" != "1" ] || exit 0
# run only if the uplink interface has a configured protocol
local proto="$(uci -q get network.$INTERFACE.proto)"
[ "$proto" != "none" ] || exit 0
}
finish()
{
lock -u $lockfile
rm -f $lockfile
}
# just one instance of this script at a time
just_one_instance()
{
local counter=0
local limit=10
#wait for the lock to become free
while [ -e $lockfile ] ; do
sleep 1
counter=$((counter + 1))
[ "$counter" -gt "$limit" ] && exit 1
done
lock $lockfile
trap finish EXIT INT TERM
}
#####
##### helper functions
#####
#given a an ip and a mask in the form of "192.168.1.1/24"
#return the network address like "192.168.1.0/24"
get_network_address()
{
local ip="$1"
[ -z "$ip" ] && return
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local mask=$((0xFFFFFFFF >> (32 - $prefix) << (32 - $prefix)))
local network=$(($ip & $mask))
local n1=$((($network & 0xFF000000) >> 24))
local n2=$((($network & 0x00FF0000) >> 16))
local n3=$((($network & 0x0000FF00) >> 8))
local n4=$(( $network & 0x000000FF))
echo "$n1.$n2.$n3.$n4/$prefix"
}
#given a network address (192.168.1.0/24)
#find the next network address (192.168.2.0/24)
next_network_address()
{
local ip=$1
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local one=$((1 << (32-$prefix)))
local new=$(($ip + $one))
local n1=$((($new & 0xFF000000) >> 24))
local n2=$((($new & 0x00FF0000) >> 16))
local n3=$((($new & 0x0000FF00) >> 8))
local n4=$(( $new & 0x000000FF))
echo "$n1.$n2.$n3.$n4/$prefix"
}
# given a network address and a prefix (192.168.2.0/24)
# return the first host ip available (192.168.2.1)
first_host_in_network ()
{
local ip=$1
local prefix=${ip##*/}
local ip1=${ip%%.*} ; ip=${ip#*.*}
local ip2=${ip%%.*} ; ip=${ip#*.*}
local ip3=${ip%%.*} ; ip=${ip#*.*}
local ip4=${ip%%/*}
local ip=$((($ip1 << 24) + ($ip2 << 16) + ($ip3 << 8) + $ip4))
local new=$(($ip + 1))
local n1=$((($new & 0xFF000000) >> 24))
local n2=$((($new & 0x00FF0000) >> 16))
local n3=$((($new & 0x0000FF00) >> 8))
local n4=$(( $new & 0x000000FF))
echo "$n1.$n2.$n3.$n4"
}
# given a network address,
# find the next available network address.
shift_range()
{
local net="$1"
while true ; do
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] && [ "$all_nets" == "${all_nets//$net/}" ]; then
# found a net that is not in restricted nets nor in all nets
break
fi
net=$(next_network_address $net)
done
echo "$net"
}
#####
##### parse all interfaces section
#####
# restricted_nets = all the IPs on wan interfaces
# all_nets = all the IPs on any interface
parse_interface()
{
local interface=$1
local nets="" # "192.168.1.1/24"
local networks="" # "192.168.1.0/24"
config_get is_lan $interface is_lan
network_get_subnets nets $interface
for n in $nets ; do
networks="$networks $(get_network_address $n)"
done
[ "$is_lan" != "1" ] && restricted_nets="$restricted_nets $networks"
all_nets="$all_nets $networks"
}
# parse all the interfaces
# get all the IPs on wan interfaces and store them in restrict_nets
# get all the IPs on all interfaces and store them in all_nets
parse_interfaces()
{
config_foreach parse_interface "interface"
}
#####
##### parse all lan interfaces section
#####
parse_lan()
{
local interface=$1
local nets=""
local ips=""
local newips=""
local ips_changed=0
[ "$interface" == "loopback" ] && return
config_get is_lan $interface is_lan
[ "$is_lan" == "1" ] || return
network_get_subnets ips $interface
for ip in $ips ; do
net="$(get_network_address $ip)"
if [ "$restricted_nets" == "${restricted_nets//$net/}" ] ; then
# net is not in restricted nets
# append ip to newips
[ -z "$newips" ] && newips="${ip%/*}" || newips="$newips ${ip%/*}"
continue
fi
#net is in restricted_nets
local newnet=$(shift_range $net)
local newip="$(first_host_in_network $newnet)"
# append newip to newips
[ -z "$newips" ] && newips="$newip" || newips="$newips $newip"
ips_changed=1
logger "$0: Changing the ip on interface $interface from $ip to $newip/${newnet##*/}"
echo "$0: Changing the ip on interface $interface from $ip to $newip/${newnet##*/}" >/dev/console
done
#assign the new ips
if [ "$ips_changed" == "1" ] ; then
uci -q set network.$interface.ipaddr="$newips"
fi
}
# parse all the interface with is_lan=1
parse_lans()
{
config_foreach parse_lan "interface"
}
#####
##### main
#####
main()
{
initial_check
just_one_instance
config_load network
parse_interfaces
parse_lans
if [ -n "$(uci changes network)" ] ; then
ubus call uci commit '{"config":"network"}'
fi
}
main $@

View File

@@ -3,16 +3,23 @@
. /lib/functions.sh
include /lib/network
# exit if no wet interface is available
uci show wireless | grep mode | grep -q wet || exit
ps | grep hotplug | grep button && exit
WANDEV="eth0.2"
MTK=0
[ "$(db -q get hw.board.hardware)" == "EX400" ] && MTK=1
WANDEV="$(uci get layer2_interface_ethernet.Wan.ifname)"
[ $MTK -eq 1 ] && WANDEV="eth0.2"
[ "$INTERFACE" != "$WANDEV" ] && exit
defroute=$(ip route | grep default | awk '{print$3}')
case "$(uci get netmode.setup.curmode)" in
repeater|repeater_dualdown)
repeater*)
echo "Preparing to switch mode"
;;
*)
@@ -21,8 +28,6 @@ case "$(uci get netmode.setup.curmode)" in
;;
esac
echo "0" > /sys/devices/virtual/net/br-wan/bridge/multicast_snooping
get_wifi_wet_interface() {
handle_interface() {
config_get mode "$1" mode
@@ -32,7 +37,7 @@ get_wifi_wet_interface() {
fi
}
config_load wireless
config_foreach handle_interface wifi-iface "$device"
config_foreach handle_interface wifi-iface
}
get_wifi_iface_cfgstr() {
@@ -41,14 +46,16 @@ get_wifi_iface_cfgstr() {
[ "$ifname" == "$2" ] && echo "wireless.$1"
}
config_load wireless
config_foreach get_cfgno wifi-iface $1 $2
config_foreach get_cfgno wifi-iface $1
}
link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
[ $MTK -eq 1 ] && link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
case "$ACTION" in
add|register)
[ "$link" == "down" ] && return
ubus call leds set '{"state" : "allflash"}'
echo "Autoswitch to Extender mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
@@ -63,10 +70,16 @@ case "$ACTION" in
uci set network.wan.ifname="$(echo $WANDEV $(uci get network.wan.ifname) | sed 's/$/ /' | sed -r "s/$wetif //g" | tr ' ' '\n' | sort -u | tr '\n' ' ')"
uci commit network
ubus call network reload
sleep 1
ubus call network.device set_state "{\"name\":\"$wetif\", \"defer\":true}"
[ -f /usr/sbin/wlctl ] && wlctl -i $wetif bss down 2>/dev/null
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
remove|unregister)
[ "$link" == "up" ] && return
ubus call leds set '{"state" : "allflash"}'
echo "Autoswitch to Repeater mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
@@ -81,6 +94,16 @@ case "$ACTION" in
uci set network.wan.ifname="$(echo $wetif $(uci get network.wan.ifname) | sed 's/$/ /' | sed -r "s/$WANDEV //g" | tr ' ' '\n' | sort -u | tr '\n' ' ')"
uci commit network
ubus call network reload
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
sleep 1
ubus call network.device set_state "{\"name\":\"$WANDEV\", \"defer\":true}"
[ -f /usr/sbin/wlctl ] && wlctl -i $wetif bss up 2>/dev/null
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || {
killall -9 wifi
wifi reload nodat
killall -USR1 udhcpc
}
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
esac

View File

@@ -3,6 +3,9 @@
START=10
USE_PROCD=1
TMPDIR=/var/netmodes
OLD_MODE_FILE=/var/netmodes/old_mode
. /usr/share/libubox/jshn.sh
. /lib/network/config.sh
@@ -41,13 +44,29 @@ get_device() {
populate_netmodes() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local curmode
config_load netmode
config_get curmode setup curmode
mkdir -p $TMPDIR
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
fi
echo $curmode > $OLD_MODE_FILE
delete_netmode() {
uci delete netmode.$1
}
config_load netmode
config_foreach delete_netmode netmode
uci commit netmode
@@ -59,11 +78,21 @@ populate_netmodes() {
lan5=$(get_device LAN5)
for file in $(find $modedir -type f); do
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "layer2_interface_ethernet" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
fi
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)
@@ -80,7 +109,6 @@ populate_netmodes() {
desc=""
exp=""
uci -q set netmode.$mode=netmode
uci -q set netmode.$mode.conf=$mode
json_load "$(cat $modedir/$mode/DETAILS)"
if json_select excluded_boards; then
@@ -142,72 +170,154 @@ populate_netmodes() {
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
config_get curmode setup curmode
[ -d /etc/netmodes/$curmode ] || {
[ "$(db -q get hw.board.hardware)" == "EX400" ] && uci -q set netmode.setup.curmode="routed_mtk" || uci -q set netmode.setup.curmode="routed_brcm"
}
uci commit netmode
}
convert_macros() {
local BMAC=$(db -q get hw.board.BaseMacAddr | tr -d ':')
local MACLAN=$(printf "%0.12x\n" $((0x$BMAC)))
local MACWAN=$(printf "%0.12x\n" $((0x$BMAC + 1)))
local BSSID=$(printf "%0.12x\n" $((0x$BMAC + 2)))
local BSSID4=$(echo -n $BSSID | tail -c 4 | tr 'a-z' 'A-Z')
MACLAN=$(echo $MACLAN | sed -e "s/.\{2\}/&:/g")
MACWAN=$(echo $MACWAN | sed -e "s/.\{2\}/&:/g")
MACLAN=${MACLAN:0:17}
MACWAN=${MACWAN:0:17}
grep -q "\$MACLAN" /etc/config/network && sed -i "s/\$MACLAN/$MACLAN/g" /etc/config/network
grep -q "\$MACWAN" /etc/config/network && sed -i "s/\$MACWAN/$MACWAN/g" /etc/config/network
grep -q "\$BSSID4" /etc/config/network && sed -i "s/\$BSSID4/$BSSID4/g" /etc/config/network
}
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local netreload="$1"
local curmode conf repeaterready old_mode
config_load netmode
config_get curmode setup curmode
config_get conf $curmode conf
cp /etc/netmodes/$conf/* /etc/config/
config_get repeaterready setup repeaterready "0"
if [ "$repeaterready" == "1" ] ; then
uci -q set netmode.setup.repeaterready="0"
uci commit netmode
fi
if [ "$curmode" == "repeater" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="repeater_mtk_5g_up_dual_down"
else
curmode="repeater_brcm_2g_up_dual_down"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
old_mode=`cat $OLD_MODE_FILE 2>/dev/null`
# if curmode has not changed do not copy configs
if [ "$curmode" == "$old_mode" ]; then
/etc/init.d/enviroment reload
return
fi
echo $curmode >$OLD_MODE_FILE
[ -d "/etc/netmodes/$curmode" ] || return
cp /etc/netmodes/$curmode/* /etc/config/
rm -f /etc/config/DETAILS
convert_macros
sync
case "$curmode" in
repeater|repeater_dualdown)
echo "0" > /sys/devices/virtual/net/br-wan/bridge/multicast_snooping
;;
esac
local reboot=$(uci -q get netmode.$curmode.reboot)
local askcred=$(uci -q get netmode.$curmode.askcred)
if [ "$reboot" == "0" ]; then
#/etc/init.d/enviroment reload
if [ "$askcred" == "1" -a -f /tmp/wifi_imported_credentials ]; then
wifi import "$(cat /tmp/wifi_imported_credentials)"
rm -f /tmp/wifi_imported_credentials
ubus call network reload
wifi reload nodat
sleep 5
ubus call router.network reload
fi
/etc/init.d/enviroment reload
case "$curmode" in
routed*)
ubus call uci commit '{"config":"network"}'
;;
repeater*)
if [ -f /etc/init.d/omcproxy ]; then
/etc/init.d/omcproxy stop
fi
if [ "$netreload" != "0" ]; then
ubus call uci commit '{"config":"network"}'
fi
;;
esac
else
reboot &
fi
}
start_client_listener() {
local curmode repeaterready ulcpid
config_load netmode
config_get repeaterready setup repeaterready 0
ulcpid=$(ps | grep "ubus listen client" | grep -v grep | awk '{print$1}')
[ $repeaterready -eq 1 ] && {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
return
}
config_get curmode setup curmode
case "$curmode" in
repeater*)
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
kill -9 $ulcpid >/dev/null 2>&1
;;
*)
pidof netmode-client-detect || /sbin/netmode-client-detect &
;;
esac
}
start_netmode_discover() {
local curmode repeaterready
killall -9 netmode-discover >/dev/null 2>&1
config_load netmode
config_get repeaterready setup repeaterready 0
[ $repeaterready -eq 1 ] && return
config_get curmode setup curmode
case "$curmode" in
repeater*)
/sbin/netmode-discover &
;;
esac
}
start_service() {
populate_netmodes
start_client_listener
start_netmode_discover
}
reload_service() {
switch_netmode
switch_netmode "$1"
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
start_client_listener
start_netmode_discover
}
stop_service() {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
killall -9 netmode-discover >/dev/null 2>&1
}
service_triggers()

View File

@@ -4,6 +4,13 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'

View File

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

View File

@@ -4,6 +4,13 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'

View File

@@ -0,0 +1,16 @@
{
"description": [
{ "en" : "Routed, LAN1 bridged" },
{ "sv" : "Routed, LAN1 bryggad" }
],
"explanation": [
{ "en" : "LAN4 port is bridged with internet" },
{ "sv" : "LAN4 port överbryggas med internet" }
],
"excluded_boards" : [
"EX4*"
],
"credentials" : 0
}

View File

@@ -0,0 +1,31 @@
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 '$LAN2 $LAN3 $LAN4'
option ip6assign '64'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option vendorid '$HARDWAREID-INTENO'
option hostname 'Inteno_$MAC4'
option ifname '$WAN.1 $LAN1'
option reqopts '43 66 67 128 132 224 225 226'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
option reqaddress 'try'
option reqprefix 'auto'

View File

@@ -1,113 +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 wan
list network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
# 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
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
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

@@ -0,0 +1,20 @@
{
"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*",
"F*"
],
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 1
}

View File

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

View File

@@ -0,0 +1,15 @@
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'

View File

@@ -0,0 +1,80 @@
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 autoconf '1'
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'

View File

@@ -10,9 +10,11 @@
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*"
"EG40*",
"EX40*",
"F*"
],
"uplink_band": 'b',
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 0
"reboot" : 1
}

View File

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

View File

@@ -0,0 +1,15 @@
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'

View File

@@ -0,0 +1,95 @@
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 autoconf '1'
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'
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 autoconf '1'

View File

@@ -0,0 +1,17 @@
{
"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" : 1
}

View File

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

View File

@@ -4,14 +4,20 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel 1
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device ra0
@@ -21,15 +27,16 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname ra0
option wps_pbc 1
config wifi-device rai0
option band a
option channel 36
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 0
option beamforming 1
config wifi-iface
option device rai0
@@ -39,6 +46,7 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname rai0
option wps_pbc 1
config wifi-iface
option device ra0

View File

@@ -8,11 +8,10 @@
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 5G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*"
"*G*",
"F*"
],
"uplink_band": 'a',
"uplink_band" : 'a',
"credentials" : 1,
"reboot" : 0
"reboot" : 1
}

View File

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

View File

@@ -4,14 +4,20 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel 1
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device ra0
@@ -21,15 +27,16 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname ra0
option wps_pbc 1
config wifi-device rai0
option band a
option channel 36
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 0
option beamforming 1
config wifi-iface
option device rai0
@@ -39,6 +46,7 @@ config wifi-iface
option encryption psk2
option key $WPAKEY
option ifname rai0
option wps_pbc 1
config wifi-iface
option device rai0

View File

@@ -7,6 +7,9 @@
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"EX4*"
],
"credentials" : 0
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
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 $LAN4'
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 'wan6'
option proto 'dhcpv6'
option ifname '@wan'

View File

@@ -0,0 +1,93 @@
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'
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'

View File

@@ -0,0 +1,17 @@
{
"description": [
{ "en" : "Fully Routed (NAT)" },
{ "sv" : "Fullt Omdirigerad (NAT)" }
],
"explanation": [
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"*G*",
"F*"
],
"reboot" : 0,
"credentials" : 0
}

View File

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

@@ -9,15 +9,27 @@ config defaults
# 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'
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
@@ -27,16 +39,6 @@ config rule
option dest_port 68
option target ACCEPT
option family ipv4
option hidden 1
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
option target ACCEPT
option family ipv4
option hidden 1
# Allow IPv4 ping
config rule
@@ -46,7 +48,13 @@ config rule
option icmp_type echo-request
option family ipv4
option target ACCEPT
option hidden 1
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
@@ -60,13 +68,24 @@ config rule
option dest_port 546
option family ipv6
option target ACCEPT
option hidden 1
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
@@ -81,7 +100,6 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential forwarded IPv6 ICMP traffic
config rule
@@ -99,15 +117,37 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# allow IPsec/ESP and ISAKMP passthrough
config rule
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
config dmz dmz
option enabled '0'
option exclude_ports '5060 7547'
# 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
# include a file with rules for prioritizing some specific packets
config include
option path /etc/firewall.sip
option path /etc/firewall.qos
option reload 1
# include a file with rules for DMZ Host
config include dmzhost
option path /etc/firewall.dmz
option reload 1

View File

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

View File

@@ -4,14 +4,20 @@ config wifi-status 'status'
option sched_status '0'
option schedule '0'
config bandsteering 'bandsteering'
option enabled '0'
option policy '0'
config apsteering 'apsteering'
option enabled '0'
config wifi-device ra0
option band b
option channel 1
option channel auto
option bandwidth '20'
option hwmode 11n
option hwmode auto
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device ra0
@@ -20,15 +26,16 @@ config wifi-iface
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1
config wifi-device rai0
option band a
option channel 36
option channel auto
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 0
option beamforming 1
config wifi-iface
option device rai0
@@ -37,4 +44,5 @@ config wifi-iface
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option wps_pbc 1

View File

@@ -0,0 +1,57 @@
#!/bin/sh
# receive new client events
# and trigger wificontrol in --router mode for that client
. /usr/share/libubox/jshn.sh
local action ipaddr macaddr network
timed_check() {
while true; do
network=${network:-lan}
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
wificontrol --router
sleep $1
done
}
is_inteno_macaddr()
{
macaddr=$1
echo $macaddr | grep -i -e "^00:22:07" \
-e "^02:22:07" \
-e "^44:D4:37" \
-e "^00:0C:07" \
-e "^02:0C:07" \
-e "^06:0C:07" \
-e "^00:0C:43" \
-e "^02:0C:43" \
-e "^06:0C:43" \
-e "^34:E3:80" \
&& return
false
}
timed_check 60 &
while true ; do
ubus listen client | \
while read event ; do
#echo "netmode-client-detect got event: $event" >/dev/console
json_load "$event"
json_select client
json_get_var action action
[ "$action" == "connect" ] || continue
json_get_var macaddr macaddr
json_get_var ipaddr ipaddr
json_get_var network network "lan"
if is_inteno_macaddr $macaddr; then
echo "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
/sbin/wificontrol --router --destination $ipaddr
fi
done
done

View File

@@ -0,0 +1,289 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
state="exit"
TMPPATH="/tmp/netmode_config_backup"
CURMODE=""
SLEEPTIME=300
set_wireless_values() {
local iface_num="$1"
local ssid="$2"
local key="$3"
local encryption="$4"
local device="$5"
local old_ssid old_key old_encryption
if ! uci -q get wireless.@wifi-iface[$iface_num] >/dev/null 2>&1; then
state="reload"
uci add wireless wifi-iface >/dev/null 2>&1
uci set wireless.@wifi-iface[$iface_num].device="$device"
fi
local network="$(uci -q get wireless.@wifi-iface[$iface_num].network)"
old_ssid="$(uci -q get wireless.@wifi-iface[$iface_num].ssid)"
old_key="$(uci -q get wireless.@wifi-iface[$iface_num].key)"
old_encryption="$(uci -q get wireless.@wifi-iface[$iface_num].encryption)"
if [ "$old_ssid" != "$ssid" -o "$old_encryption" != "$encryption" -o "$old_key" != "$key" -o -z "$network" ]; then
#TODO: get network dynamicaly
[ "$state" == "exit" ] && state="apply"
[ -z "$network" ] && network="wan"
uci set wireless.@wifi-iface[$iface_num].network="$network"
uci set wireless.@wifi-iface[$iface_num].ssid="$ssid"
uci set wireless.@wifi-iface[$iface_num].key="$key"
uci set wireless.@wifi-iface[$iface_num].encryption="$encryption"
fi
}
get_wifi_device_from_band(){
local section="$1"
local band="$2"
local __ret="$3"
local b
config_get b $section "band"
if [ "$band" == "$b" ]; then
eval "export -- \"$__ret=$section\""
fi
}
get_device(){
local band="$1"
config_foreach get_wifi_device_from_band "wifi-device" "$band" "$2"
}
get_iface_num() {
local device="$1"
local prev="$2"
local __save="$3"
local i=0
local dev
while true; do
[ $i -gt 100 ] && break ## just a safty messure
if ! uci -q get wireless.@wifi-iface[$i] >/dev/null; then
break
fi
mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
dev="$(uci -q get wireless.@wifi-iface[$i].device)"
if [ "$dev" != "$device" ]; then
[ -z "$dev" ] && break
i=$((i+1))
elif [ $prev -ne 0 ]; then
i=$((i+1))
prev=$((prev-1))
else
break
fi
done
eval "export -- \"$__save=$i\""
}
restore() {
if [ "$1" == "back" ]; then
uci set juci.juci.homepage='netmode-wizard'
uci commit juci
cp $TMPPATH/* /etc/config/
uci set netmode.setup.curmode=$CURMODE
uci commit netmode
ubus call network reload
wifi reload
ubus call router.network reload
fi
rm -r $TMPPATH
ubus call leds set '{"state":"normal"}'
}
backup() {
mkdir -p $TMPPATH
cp /etc/config/* $TMPPATH/
CURMODE="$(uci -q get netmode.setup.curmode)"
ubus call leds set '{"state":"allflash"}'
}
###### START HERE #######
file="$1"
from_gui="$2"
[ -f "$file" ] || exit
# let netmode-handler up to 20 seconds to finish switching mode
for tm in 2 4 6 8; do
if [ ! -f /tmp/switching_mode ]; then
break
fi
sleep $tm
done
[ "$from_gui" == "true" ] && backup
json_load "`cat $file`"
json_select "wifi_ifaces"
local curmode repmode
config_load netmode
config_get curmode setup curmode
case $curmode in
*repeater*)
;;
*)
uci set netmode.setup.curmode="repeater"
uci commit netmode
/etc/init.d/netmode reload
curmode="$(uci -q get netmode.setup.curmode)"
;;
esac
local apcliband="a"
case $curmode in
*_2g_*) apcliband="b";;
esac
i=1
local dummy band ssid key encryption device iface_num
while json_get_var dummy $i; do
json_select $i
json_get_var band band
[ "$band" == "" -o "$apcliband" == "$band" ] && break
json_select ..
i=$((i+1))
done
[ "$apcliband" == "$band" -o "$band" == "" ] || {
[ "$from_gui" == "true" ] && restore "back"
exit
}
repeater_iface_num=$(uci -q show wireless | grep -e ".mode='wet'" -e ".mode='sta'" | sed 's/.*\[\([0-9]\)\].*/\1/')
[ "$repeater_iface_num" ] && {
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
set_wireless_values "$repeater_iface_num" "$ssid" "$key" "$encryption"
}
json_load "`cat $file`"
json_select "wifi_ifaces"
config_load wireless
local b_num=0
local a_num=0
i=1
while json_get_var dummy $i; do
json_select $i
json_get_var band band
json_get_var ssid ssid
json_get_var encryption encryption
json_get_var key key
if [ "$band" == "" ]; then
get_device "a" device
get_iface_num "$device" "$a_num" iface_num
a_num=$((a_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
get_device "b" device
get_iface_num "$device" "$b_num" iface_num
b_num=$((b_num+1))
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
else
get_device "$band" device
case $band in
a)
get_iface_num "$device" "$a_num" iface_num
a_num=$((a_num+1))
;;
b)
get_iface_num "$device" "$b_num" iface_num
b_num=$((b_num+1))
;;
esac
[ -z $iface_num ] && {
[ "$from_gui" == "true" ] && restore "back"
exit
}
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption" "$device"
fi
i=$((i+1))
json_select ..
done
if [ -z $repeater_iface_num ] ; then
i=$((b_num + a_num))
else
i=$((b_num + a_num + 1))
fi
if [ $repeater_iface_num -gt $i ]; then
i=$((i-1))
fi
while uci -q get wireless.@wifi-iface[$i] >/dev/null; do
# if repeater_iface_num is greater than the number of
# configured downlink we need to make sure its not deleted
local mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
state="reload"
uci -q delete wireless.@wifi-iface[$i] >/dev/null
# do not increment i. The next interface will now
# have the same index as the deleted interface
done
uci commit wireless
if [ "$from_gui" == "true" ]; then
# check for connectivity
wifi reload
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
i=$SLEEPTIME;
while [ $i -gt 0 ]; do
ip=`route -n | awk '/^0.0.0.0/{print $2}'`
if [ "$ip" == "" ]; then
i=$((i-10))
sleep 10
continue
fi
ping -w1 $ip
if [ $? -eq 0 ]; then
restore
exit
else
i=$((i-10))
sleep 9
fi
done
restore "back"
else
if [ "$state" == "exit" ]; then
return
fi
ubus call leds set '{"state":"allflash"}'
if [ "$state" == "apply" ]; then
# wifi apply
wifi reload
else
# wifi reload
wifi reload
fi
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
ubus call leds set '{"state":"normal"}'
fi

View File

@@ -0,0 +1,44 @@
#!/bin/sh
local unlisted mac ipaddr netmask mask
mask_to_cidr() {
nbits=0
IFS=.
for dec in $1 ; do
case $dec in
255) let nbits+=8;;
254) let nbits+=7;;
252) let nbits+=6;;
248) let nbits+=5;;
240) let nbits+=4;;
224) let nbits+=3;;
192) let nbits+=2;;
128) let nbits+=1;;
0);;
*) echo "Error: $dec is not recognised"; exit 1
esac
done
echo "$nbits"
}
while true; do
unlisted=0
ps | grep -q wifi | grep -q reload || {
for mac in $(brctl showmacs br-wan 2>/dev/null | tail -n +2 | grep no | awk '{print$2}'); do
grep -q "$mac" /proc/net/arp || unlisted=$((unlisted+1))
done
ipaddr=$(ifconfig br-wan | grep -v inet6 | grep inet | tr ':' ' ' | awk '{print$3}')
netmask=$(ifconfig br-wan | grep -v inet6 | grep inet | tr ':' ' ' | awk '{print$7}')
mask=$(mask_to_cidr $netmask)
}
if [ $unlisted -gt 0 -a -n "$ipaddr" -a -n "$netmask" ]; then
fping -c 1 -t 1000 -g $ipaddr/$mask -q >/dev/null 2>&1
fi
sleep 40
done

View File

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

View File

@@ -0,0 +1,141 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
get_if_creds() {
local section=$1
local network=$2
local net dev ssid key encryption band
config_get net $section "network" "lan"
if [ "$net" == "$network" ]; then
config_get dev $section "device"
band="$(uci -q get wireless.$dev.band)"
config_get ssid $section ssid
config_get key $section key
config_get encryption $section encryption
config_get disabled $section disabled 0
[ $disabled -eq 1 ] && return
[ "$ssid" == "" -o "$band" == "" ] && return
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
fi
}
validate_file() {
local file="$1"
local real="$(readlink -f `dirname $file`)"
real="${real}/`basename $file`"
case "$real" in
/tmp/*)
touch $real && return 0 || return 1
;;
*)
return 1
;;
esac
}
write_error(){
json_init
json_add_string "status" "error: $1"
json_dump
exit 1
}
duplicate_if_single_radio() {
json_select "wifi-ifaces"
local i=1
local dummy band dup_band num_radios
num_radios="$(uci -q show wireless | grep wifi-device | wc -l)"
[ "$num_radios" == "2" ] && return
band="$(uci -q get wireless.@wifi-device[0].band)"
[ "$band" == "a" ] && dup_band="b"
[ "$band" == "b" ] && dup_band="a"
[ -z "$dup_band" ] && return
while json_get_var dummy $i; do
i=$((i+1))
done
i=$((i-1))
local ssid key encryption
while [ $i -gt 0 ]; do
json_select $i
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
json_select ..
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$dup_band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
i=$((i-1))
done
}
case "$1" in
list)
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str", "from_gui": "str" } }'
;;
call)
case "$2" in
get_creds)
#TODO: if not routed exit
local curmode="$(uci -q get netmode.setup.curmode)"
case $curmode in
*repeater*) write_error "not in repeater mode";;
esac
local network file input
read input
json_load $input
json_get_var network network
json_get_var file file
json_init
json_add_array "wifi-ifaces"
config_load wireless
config_foreach get_if_creds "wifi-iface" "$network"
json_close_array
duplicate_if_single_radio
if [ "$file" == "" ]; then
json_dump
else
validate_file $file && json_dump -i >$file || write_error "invalid filename (\"$file\"), file must be in /tmp/ and in an existing directory"
fi
json_init
json_add_string "status" success
json_dump
;;
set_creds)
local file from_gui
read input
json_load "$input"
json_get_var file file
json_get_var from_gui from_gui
validate_file "$file" || write_error "invalid filename (\"$file\"), file must be in /tmp and exist"
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
json_init
json_add_string "status" success
json_dump
netmode-conf "$file" "$from_gui" >/dev/null 2>&1 &
;;
esac
;;
esac

View File

@@ -3,7 +3,7 @@ CONFIG_BUSYBOX_CUSTOM=y
CONFIG_CCACHE=y
CONFIG_DEBUG=y
CONFIG_DEVEL=y
CONFIG_LOCALMIRROR="http://mirror.inteno.se/mirror"
# CONFIG_LOCALMIRROR is not set
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6rd=y
CONFIG_PACKAGE_6to4=y
@@ -22,7 +22,7 @@ CONFIG_PACKAGE_getopt=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_ice-client=y
CONFIG_PACKAGE_ice-client-camerawatch=m
# CONFIG_PACKAGE_ice-client-fileme is not set
CONFIG_PACKAGE_ice-client-fileme=m
CONFIG_PACKAGE_ice-client-gigaset=m
CONFIG_PACKAGE_ice-client-guest=m
CONFIG_PACKAGE_ice-client-iperf=m
@@ -31,6 +31,7 @@ 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_inteno-netmodes=y
CONFIG_PACKAGE_iperf-mt=y
CONFIG_PACKAGE_ipset=y
@@ -55,9 +56,11 @@ CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-ice-client=y
CONFIG_PACKAGE_juci-icwmp=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-inteno-backup=y
CONFIG_PACKAGE_juci-inteno-multiwan=y
CONFIG_PACKAGE_juci-mwan3=y
CONFIG_PACKAGE_juci-inteno-provisioning=y
CONFIG_PACKAGE_juci-inteno-qos=y
CONFIG_PACKAGE_juci-inteno-voice-client=y
@@ -69,8 +72,10 @@ CONFIG_PACKAGE_juci-natalie-dect=y
CONFIG_PACKAGE_juci-netmode=y
CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-openvpn=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
@@ -83,12 +88,15 @@ CONFIG_PACKAGE_juci-utils=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-siit=y
CONFIG_PACKAGE_layer2interface=y
CONFIG_PACKAGE_libcgroup-daemon=y
CONFIG_PACKAGE_libcgroup=y
# CONFIG_PACKAGE_libcgroup-utils is not set
CONFIG_PACKAGE_ldd=y
CONFIG_PACKAGE_libdaemon=y
CONFIG_PACKAGE_libffmpeg-mini=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_loop-detector=m
CONFIG_PACKAGE_minidlna=y
CONFIG_PACKAGE_miniupnpd=y
CONFIG_PACKAGE_mtd-utils=y
@@ -96,7 +104,7 @@ 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_multiwan=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_ndisc6=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_odhcp6c=y
@@ -104,12 +112,13 @@ CONFIG_PACKAGE_odhcpd=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_p910nd=y
# CONFIG_PACKAGE_p910nd is not set
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
CONFIG_PACKAGE_ppp-mod-pppoa=y
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
CONFIG_PACKAGE_ppp-mod-pptp=y
CONFIG_PACKAGE_ppp-multilink=y
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_qos-scripts=y
@@ -119,6 +128,8 @@ CONFIG_PACKAGE_rdnssd=y
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_samba3=y
CONFIG_PACKAGE_samba3-nmbd=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_strace=y
CONFIG_PACKAGE_tc=y
@@ -149,12 +160,21 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q=y
CONFIG_BUSYBOX_CONFIG_FIRST_SYSTEM_ID=100
CONFIG_BUSYBOX_CONFIG_HTTPD=y
CONFIG_BUSYBOX_CONFIG_INSMOD=y
CONFIG_BUSYBOX_CONFIG_MODINFO=y
CONFIG_BUSYBOX_CONFIG_MODPROBE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST=y
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS=y
CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
CONFIG_BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
CONFIG_BUSYBOX_CONFIG_LAST_SYSTEM_ID=999
CONFIG_BUSYBOX_CONFIG_LOGIN=y
CONFIG_BUSYBOX_CONFIG_LSMOD=y
CONFIG_BUSYBOX_CONFIG_LSPCI=y
CONFIG_BUSYBOX_CONFIG_LSUSB=y
CONFIG_BUSYBOX_CONFIG_MICROCOM=y
CONFIG_BUSYBOX_CONFIG_MPSTAT=y
CONFIG_BUSYBOX_CONFIG_RMMOD=y
CONFIG_BUSYBOX_CONFIG_STTY=y
CONFIG_BUSYBOX_CONFIG_TFTP=y
@@ -189,3 +209,5 @@ CONFIG_LIBCURL_CRYPTO_AUTH=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

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]'
}
@@ -36,7 +36,7 @@ _iop()
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_package update_feed_branches"
if [ $COMP_CWORD -eq 1 ] ; then

View File

@@ -1,88 +1,132 @@
#!/bin/bash
# Intermediate repo for core packages
core_repo=git@public.inteno.se:iopsys-cc-core.git
# Repo to which core packages should be imported
import_repo=git@public.inteno.se:feed-inteno-openwrt.git
import_branch=openwrt-cc-core
function export_core {
local path=$1
# export paths to their own branches in an intermediate repo
repo=$(basename $path)
git subtree push -q --prefix=$path $core_repo $repo
}
function update_core {
local path=$1
if [ ! -d $topdir/feeds/feed_inteno_openwrt ]; then
echo "You need to run ./iop feeds_update"
exit -1
fi
# ensure that we are synced with the remote
cd $topdir/feeds/feed_inteno_openwrt
git checkout $import_branch
git pull
# first install subtrees if they don't already exist
repo=$(basename $path)
git subtree add --prefix=$repo $core_repo $repo
# install subtrees in feed from intermediate repo
repo=$(basename $path)
echo "Exporting $repo"
git subtree pull -q -m "Exporting $repo" --prefix=$repo $core_repo $repo
# update import repo sync branch
git push origin $import_branch
}
function display_help {
echo "Usage: ./iop export_core -e path/to/package"
}
function extract_core {
initial_commit=1427738ac4b77f474999ae21af1a8b916468df36
patch_dir=extract_core_patches
topdir=$(pwd)
# Dir of script location
topdir=$(pwd)
# Paths to packages that should be exported.
paths+='package/network/services/base-files '
paths+='package/network/services/dnsmasq '
paths+='package/network/config/firewall '
paths+='package/network/config/netifd '
paths+='package/network/config/qos-scripts '
paths+='package/system/procd '
paths+='package/utils/busybox '
function print_usage {
echo "Usage: $0 extract_core"
echo " -p <path-to-package> | default"
echo " -r <import-repo>"
echo " -b <import-branch>"
echo ""
echo "Example: $0 extract_core"
echo " -p package/utils/busybox"
echo " -r feeds/feed_inteno_openwrt"
echo " -b devel"
}
if [ $# -eq 0 ]; then
display_help
exit -1
fi
function orphan_branch {
local branch=$1
# Execute user command
while getopts "he:" opt; do
case $opt in
e)
path=${OPTARG}
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
export_core $path
update_core $path
;;
h)
display_help
exit 0
;;
\?)
display_help
exit -1
;;
esac
done
git checkout --orphan $branch
git rm -rf --cached *
git rm -rf --cached .empty
rm -rf *
rm -rf .empty
}
function export_core {
local path=$1
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
# Generate patches from start of openwrt repo.
mkdir -p $patch_dir
repo=$(basename $path)
dir=$(dirname $path)
git format-patch $initial_commit $path -o $patch_dir
# Remove dirname from patches to commit the packages to the
# top directory in the destination repo.
ls $patch_dir | while read line; do
sdir=$(echo "$dir/" | sed 's/\//\\\//g')
sed -i "s/$sdir//g" $patch_dir/$line
done
cd $import_repo
if [ -n "$(git rev-parse -q --verify remotes/origin/$repo)" ]; then
# Create temporary branch to apply patches on.
# We need to do this as git am does not like it
# when patches have already been applied.
orphan_branch tmp
git am $topdir/$patch_dir/*
# Rebase and merge.
git rebase origin/$repo
git checkout --track -b $repo origin/$repo
git merge tmp
git br -d tmp
else
# Remote branch does not exist for packet so create it.
orphan_branch $repo
git am $topdir/$patch_dir/*
fi
git push origin $repo
# Merge the package branch into the main branch.
git checkout $import_branch
git merge $repo -m "Syncing $repo"
git push origin $import_branch
git br -d $repo
rm -rf $topdir/$patch_dir
cd $topdir
}
# Execute user command
while getopts "p:r:b:h" opt; do
case $opt in
p)
export_path=${OPTARG}
;;
r)
import_repo=${OPTARG}
;;
b)
import_branch=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$export_path" ] || [ ! -n "$import_repo" ] || [ ! -n "$import_branch" ]; then
print_usage
exit 1
fi
if [ "$export_path" == "default" ]; then
echo "Extracting default packages:"
for p in $paths; do
export_core $p
done
else
export_core $export_path
fi
exit 0
}
register_command "extract_core" "Extract core package to feeds_inteno_openwrt"
register_command "extract_core" "Extract core package to separate feed"

View File

@@ -24,12 +24,18 @@ function feeds_update {
else
./scripts/feeds update
fi
./scripts/feeds update -ai
# replace core packages with iopsys versions
if [ $override == 1 ]; then
./scripts/feeds install -f -p openwrt_cc_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
# install all packages
./scripts/feeds install -a
@@ -48,6 +54,3 @@ function feeds_update {
register_command "feeds_update" "Update feeds to point to commit hashes from feeds.conf"

View File

@@ -7,16 +7,15 @@ 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/configs"
CUSTPATH="customerconfigs"
CUSTREPO="git@private.inteno.se:customerconfigs"
export CUSTCONF="customerconfigs/customers"
export VERBOSE=0
export DEVELOPER=0
LOCAL_MIRROR="http://mirror.inteno.se/mirror"
iopsys_brcm63xx_mips="cg300 cg301 dg150 dg150v2 dg150alv2 dg200 dg200al dg301 dg301al eg300 vg50 vox25"
iopsys_brcm63xx_arm="dg400 eg400"
iopsys_brcm63xx_mips="cg300 cg301 dg150 dg150v2 dg150alv2 dg200 dg200al dg301 dg301al eg300 vg50 vox25 hpc_hu02 eg200"
iopsys_brcm63xx_arm="dg400 eg400 sdx_500rg f104w f104 dg400prime dg400primeb 963138REF_P502"
iopsys_ramips="ex400"
ramips="mt7621"
target="bogus"
@@ -64,6 +63,7 @@ function genconfig {
iceAllowed=0
endptAllowed=0
natalieAllowed=0
mediatekAllowed=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
@@ -72,6 +72,7 @@ function genconfig {
ice-client) iceAllowed=1 ;;
endptcfg) endptAllowed=1 ;;
natalie-dect*) natalieAllowed=1 ;;
linux) mediatekAllowed=1 ;;
esac
done
}
@@ -104,7 +105,7 @@ function genconfig {
local ALL="$1"
local CUSTOMER="$2"
if [ "$CUSTOMER" -a -d "$CUSTCONF/$CUSTOMER" ]; then
local boards="$(ls -1 "$CUSTCONF/$CUSTOMER" | grep -v common)"
local boards="$(ls -1 "$CUSTCONF/$CUSTOMER" | grep -v common | grep -v juci-theme)"
if [ "$boards" ]; then
echo "$CUSTOMER has following boards:"
for board in $boards; do
@@ -118,10 +119,10 @@ function genconfig {
exit 1
elif [ -d $CUSTCONF ]; then
local customers="$(ls -1 $CUSTCONF)"
if [ "$customers" -a "$1" == 1 ]; then
if [ "$customers" -a "$ALL" == 1 ]; then
for customer in $customers; do
echo $customer
local boards="$(ls -1 $CUSTCONF/$customer | grep -v common)"
local boards="$(ls -1 $CUSTCONF/$customer | grep -v common | grep -v juci-theme)"
if [ "$boards" ]; then
for board in $boards; do
echo -e "\t$board"
@@ -142,16 +143,6 @@ function genconfig {
}
use_local_mirror()
{
if wget -T 3 -t 2 -O /dev/null $LOCAL_MIRROR >/dev/null 2>/dev/null; then
echo "mirror [$LOCAL_MIRROR] exists. Using local mirror"
sed -i "s;CONFIG_LOCALMIRROR=.*;CONFIG_LOCALMIRROR=\"$LOCAL_MIRROR\";" .config
else
echo "mirror [$LOCAL_MIRROR] does not exist. Not using local mirror"
fi
}
generate_config()
{
DIFFFILE="$1"
@@ -164,15 +155,17 @@ function genconfig {
setup_dirs()
{
if [ $DEVELOPER -eq 1 ]; then
if ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -qw ${CUSTREPO:22}; then
if [ ! -d "$CUSTPATH" ]; then
git clone "$CUSTREPO" "$CUSTPATH"
git clone "$CUSTREPO" "$CUSTPATH"
elif [ $IMPORT -eq 1 ]; then
cd $CUSTPATH
v "git pull"
git pull
cd - >/dev/null #go back
cd $CUSTPATH
v "git pull"
git pull
cd - >/dev/null #go back
fi
else
echo "You do not have access to $CUSTREPO"
fi
if [ ! -d "$FILEDIR" ]; then
@@ -200,9 +193,18 @@ function genconfig {
if [ $target == "bogus" ]; then
echo "Hardware profile does not exist"
exit 1
elif [ -n "$CUSTOMER" -a ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "Customer profile does not exist"
exit 1
elif [ -n "$CUSTOMER" ]; then
if [ ! -d "$CUSTCONF/$CUSTOMER/" ]; then
echo "Customer profile for '$CUSTOMER' does not exist"
exit 1
elif [ ! -d "$CUSTCONF/$CUSTOMER/$BOARDTYPE/" ]; then
echo "'$BOARDTYPE' board profile does not exist for customer '$CUSTOMER'"
if [ -f "$CUSTCONF/$CUSTOMER/common/common.diff" ]; then
echo "Common profile configuration will be used"
else
exit 1
fi
fi
fi
# Generate base config
@@ -214,6 +216,13 @@ function genconfig {
cp $CONFIGPATH/config .config
fi
# Add target diff
local target_name=$(echo $target | sed 's/_/-/g')
local target_conf=target/linux/${target_name}/config
if [ -f $target_conf ]; then
cat $target_conf >> .config
fi
# Apply profile diff to master config if selected
if [ -n "$PROFILE" ]; then
if [ -e "$CONFIGPATH/$PROFILE.diff" ]; then
@@ -267,28 +276,36 @@ function genconfig {
[ $SRCTREEOVERR -eq 1 ] && echo CONFIG_SRC_TREE_OVERRIDE=y >> .config
# developer mode selected ?
echo "CONFIG_DEVEL=y" >>.config
if [ $DEVELOPER -eq 1 ]; then
# rewrite url to clone with ssh instead of http
echo "CONFIG_DEVEL=y" >>.config
echo "CONFIG_GITMIRROR_REWRITE=y" >>.config
[ $bcmAllowed -eq 0 ] && echo "CONFIG_BCM_OPEN=y" >> .config
[ $iceAllowed -eq 0 ] && echo "CONFIG_ICE_OPEN=y" >> .config
[ $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
else
echo "CONFIG_GITMIRROR_REWRITE=n" >>.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
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
touch package/kernel/linux/Makefile
# we need to signal to bradcom SDK that we have changed the board id
# currently boardparms.c and boardparms_voice.c is the only place that is depending on inteno boardid name
# so just touch that file.
[ -d ./build_dir ] && find build_dir/ -name "boardparms*c" -print0 2>/dev/null | xargs -0 touch 2>/dev/null
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"
@@ -327,6 +344,7 @@ function genconfig {
-n|--no-update) export IMPORT=0;;
-v|--verbose) export VERBOSE="$(($VERBOSE + 1))";;
-p|--profile) export PROFILE="$2"; shift;;
-r|--repo) export CUSTREPO="$2"; shift;;
-s|--override) export SRCTREEOVERR=1;;
-h|--help) usage;;
-l|--list) list_customers 0 $2;;
@@ -340,12 +358,11 @@ function genconfig {
esac
shift;
done
CUSTREPO="${CUSTREPO:-git@private.inteno.se:customerconfigs}"
setup_dirs
create_and_copy_files "$1" "$2"
if [ $masterconfig -eq 1 ]; then
use_local_mirror
fi
fi
}

View File

@@ -2,15 +2,16 @@
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/feed_inteno_broadcom/bcmkernel/$sdkversion.mk | cut -d'=' -f2)
local tarfile bcmkernelcommith sdkversion
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/broadcom/bcmkernel/$sdkversion.mk | cut -d'=' -f2)
# do not build bcmopen sdk if it was already built before
ssh $SERVER "ls $FPATH/bcmopen-$profile-$bcmkernelcommith.tar.gz" && return
ssh $SERVER "ls $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/bcmkernel-3.4-$sdkversion/bcm963xx/release
sh do_consumer_release -p $profile -y
tarfile='out/bcm963xx_*_consumer.tar.gz'
[ $(ls -1 $tarfile |wc -l) -ne 1 ] && echo "Too many tar files: '$tarfile'" && return
scp $tarfile $SERVER:$FPATH/bcmopen-$profile-$bcmkernelcommith.tar.gz
scp $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
rm -f $tarfile
cd $curdir
}
@@ -19,8 +20,8 @@ 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)
ssh $SERVER "ls $FPATH/natalie-dect-$profile-$natalieversion-$nataliecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/natalie-dect-$natalieversion/
mkdir natalie-dect-open-$natalieversion
@@ -37,8 +38,8 @@ build_endptcfg_consumer() {
# create endptcfg 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/endptcfg/Makefile | cut -d'=' -f2)
endptcommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/feed_inteno_packages/endptcfg/Makefile | cut -d'=' -f2)
endptversion=$(grep -w "PKG_VERSION:" ./feeds/iopsys/endptcfg/Makefile | cut -d'=' -f2)
endptcommith=$(grep -w "PKG_SOURCE_VERSION:" ./feeds/iopsys/endptcfg/Makefile | cut -d'=' -f2)
ssh $SERVER "ls $FPATH/endptcfg-$profile-$endptversion-$endptcommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/endptcfg-$endptversion/
mkdir endptcfg-open-$endptversion
@@ -54,19 +55,52 @@ build_endptcfg_consumer() {
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
ssh $SERVER "ls $FPATH/ice-client-$profile-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$profile-$iceversion-$icecommith.tar.gz
scp ice-client-$profile-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$profile-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$profile-$iceversion-$icecommith.tar.gz
ssh $SERVER "ls $FPATH/ice-client-$target-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/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/
cp ice-client-$target-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$target-$iceversion-$icecommith.tar.gz
cd $curdir
}
build_mediatek_kernel() {
local mediatek_commit kernel_version kernel
mediatek_commit=$(grep CONFIG_KERNEL_GIT_COMMIT .config | cut -d '=' -f2 | tr -d '"')
kernel_version=$(grep KERNEL_PATCHVER target/linux/iopsys-ramips/Makefile | cut -d '=' -f2)
kernel=linux-${kernel_version}.*
ssh $SERVER "ls $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
# Save Kconfig files to recreate the same kernel config,
# delete everyting else.
find drivers/net/wireless/mt_wifi -type f ! -name Kconfig | xargs rm
find drivers/net/wireless/rlt_wifi -type f ! -name Kconfig | xargs rm
# remove git repo
rm -rf .git
# patch kernel for openstk
ls consumer_release | while read line; do patch -p1 < consumer_release/$line; done
cd ..
tar -czv $kernel -f mediatek-kernel-open-$mediatek_commit.tar.gz
scp mediatek-kernel-open-$mediatek_commit.tar.gz $SERVER:$FPATH/
cd $curdir
}
function print_usage {
echo "Usage: $0 generate_tarballs"
echo " -t <target>"
}
function generate_tarballs {
SERVER="god@software.inteno.se"
@@ -74,14 +108,47 @@ function generate_tarballs {
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
target=$(grep CONFIG_TARGET_BOARD .config | cut -d'=' -f2 | tr -d '"')
board=$(grep CONFIG_TARGET_IBOARDID .config | cut -d'=' -f2 | tr -d '"')
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
curdir=$(pwd)
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
# Execute user command
while getopts "t:h" opt; do
case $opt in
t)
stk_target=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$stk_target" ]; then
print_usage
exit 1
fi
if [ "$stk_target" == "broadcom" ]; then
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
elif [ "$stk_target" == "mediatek" ]; then
build_mediatek_kernel
build_ice_consumer
else
echo "Invalid target: $stk_target"
print_usage
exit 1
fi
}

View File

@@ -34,7 +34,7 @@ function ssh_sysupgrade_latest {
exit 1
fi
{ cd `dirname $0`
IMAGE=`ls -Art bin/*/*.y2 | tail -n1`
IMAGE=`ls -Art bin/*/*.y[23] | tail -n1`
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop ssh_sysupgrade $1 $IMAGE $2
}
}

View File

@@ -0,0 +1,61 @@
#!/bin/sh
# Exported interface
function update_feed_branches {
local release="$1"
local ipath="$(pwd)"
local branch="$2"
local curbranch
[ -n "$release" ] || {
echo "Usage: ./update_feeds <RELEASE> <BRANCH>"
echo ""
echo "If you do not give a branch as argument,"
echo "<RELEASE> branch will be updated to commit"
echo "hash given in feeds.conf for each feed repo"
exit 1
}
if [ -n "$branch" ]; then
echo "Updating release branch $release to specific commit hash given in feeds.conf for each feed repo at branch $branch"
if git diff-index --quiet HEAD; then
curbranch=`git symbolic-ref HEAD 2>/dev/null`
curbranch=${curbranch##refs/heads/}
if [ -z $curbranch ]; then
curbranch=`git log -1 --pretty=format:"%H"`
fi
git checkout $branch || {
echo "couldn't checkout branch $branch"
exit 99
}
else
echo "You have unsaved changes."
exit 99
fi
else
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' ' ')"
for f in $ifeeds; do
commith=$(grep feed_inteno_$f feeds.conf | cut -d'^' -f2)
cd $ipath/feeds/feed_inteno_$f
git branch -D $release 2>/dev/null
echo "feed_inteno_$f: updating release branch $release to commit $commith"
git checkout $commith
git push origin :$release
git checkout -b $release
git push origin $release
cd $ipath
done
if [ -n "$branch" ]; then
echo "Release branch $release is updated to specific commit hash given in feeds.conf in in branch $branch for each feed repo"
git checkout $curbranch
else
echo "Release branch $release is updated to specific commit hash given in feeds.conf for each feed repo"
fi
}
register_command "update_feed_branches" "<release> [branch] Update branches in feeds from the current top level commit or specified top level branch"

View File

@@ -1,7 +1,5 @@
#!/bin/bash
print_git_update()
{
echo "pkg -> ${PKG_NAME}"
@@ -396,7 +394,7 @@ insert_hash_in_feeds_config()
check_packages()
{
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
echo "Now checking if any changes has been done to the packages."
echo "Now checking if any changes have been done to the packages."
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
# only scan in the build directory that is currently in use.
@@ -538,7 +536,7 @@ check_feeds()
read answer
case $answer in
n|N)
n|N|'')
continue;;
esac
branch_uptodate feeds/${feed}
@@ -586,7 +584,8 @@ usage(){
# Exported interface
function update_package {
UPDATE=0
UPDATE=0
Color_Off='\033[0m' # Text Reset
# Regular Colors

View File

@@ -21,7 +21,7 @@ define Package/iup
endef
define Package/iup/description
This package contains Intenos IUP Client
This package contains Inteno's IUP Client
endef
define Build/Compile

View File

@@ -4,6 +4,7 @@ echo $$ > /var/run/iup.pid
. /lib/functions.sh
. /lib/functions/network.sh
. /lib/functions/savecfg.sh
. /usr/share/libubox/jshn.sh
include /lib/upgrade
@@ -13,20 +14,30 @@ export IUPCONFFILES=/tmp/iup/sysupgrade.conffiles.tar.gz
export IUPMD5=/etc/configchecksums
export CONFILESLURP='/tmp/iup/*.conf'
export IUPTEMP="/tmp/iup"
export IUPUSERCFG="/tmp/iupusercfg"
export IUPUSERCFG_WIFI="/tmp/iupusercfg_wifi"
export INTERACTIVE=0
export VERBOSE=0
export CONF=1
export DESKEY=$(cat /proc/nvram/DesKey | tr -d '\n' | hexdump -e '16/1 "%02x"')
export MAC=$(cat /proc/nvram/BaseMacAddr)
export DESKEY=
export MAC=
export RANGE=10
export RETRYSTOP=5
export SLEEP=10
#remove whitespace
MAC=${MAC// /}
#lower to upper Conversion
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]')
local sysinfo=$(ubus call router.system info)
json_load "$sysinfo"
json_select system
json_get_var MAC basemac
json_select ..
json_select keys
json_get_var DESKEY des
json_select ..
# MAC lowercase to uppercase and remove ':'
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]' | tr -d ':')
# Convert DESKEY to HEX format
DESKEY=$(echo $DESKEY | tr -d '\n' | hexdump -e '16/1 "%02x"')
# no verbose: no output
# -v log to system log
@@ -69,41 +80,7 @@ reload ()
save_usercfg()
{
rm -f $IUPUSERCFG $IUPUSERCFG_WIFI
touch $IUPUSERCFG $IUPUSERCFG_WIFI
# save the firewall redirects/port forwarding
uci show firewall | grep redirect >> $IUPUSERCFG
# save the parental rules
local parentalrules=$(uci show firewall | grep -i "Parental Rule" | grep -o "rule\[.*\]")
for rule in $parentalrules ; do
rule=${rule//\[/\\[} # escape [
rule=${rule//]/\]} # escape ]
uci show firewall | grep "$rule" >>$IUPUSERCFG
done
# tranfsorm the output of uci show into a uci script
# prepend "set" to each line NOT containing "]="
# firewall.@redirect[0].enabled='1' becomes
# set firewall.@redirect[0].enabled='1'
sed -i '/.*]=.*/! s/.*/set \0/' $IUPUSERCFG
# prepend "add" to each line containing "]="
# AND keep only the package name (before the first dot) and section type (after equal)
# firewall.@redirect[0]=redirect becomes
# add firewall redirect
sed -i 's/\(.*\)\..*]=\(.*\)/add \1 \2/' $IUPUSERCFG
# change all the array indexes to [-1]
sed -i 's/\[.\?.\?.\?.\?\]/[-1]/' $IUPUSERCFG
# commit at the end of the script
[ -s $IUPUSERCFG ] && echo "commit" >> $IUPUSERCFG
# save wireless interfaces
uci show wireless | grep "wifi-iface" > $IUPUSERCFG_WIFI
savecfg_save_config fw_redirect fw_parental wifi
}
apply_usercfg()
@@ -114,64 +91,11 @@ apply_usercfg()
config_get_bool keep configserver keepuserconfig "0"
v "apply_usercfg(): keepuserconfig = $keep"
if [ "$keep" != "1" ] ; then
rm -f $IUPUSERCFG $IUPUSERCFG_WIFI
savecfg_rm_files
return
fi
local index ifname network
local newindex newifname newnetwork
# loop through all the user wifi-ifaces
for index in $(seq 0 99) ; do
ifname=$(sed -n 's/.*wifi-iface\['$index'\]\.ifname='\''\(.*\)'\''/\1/p' $IUPUSERCFG_WIFI )
[ "$ifname" ] || break
network=$(sed -n 's/.*wifi-iface\['$index'\]\.network='\''\(.*\)'\''/\1/p' $IUPUSERCFG_WIFI )
newindex=""
newifname=""
newnetwork=""
# loop through all the newly configured wifi-ifaces
for newindex in $(seq 0 99) ; do
newifname=$( uci show wireless | grep wifi-iface | sed -n 's/.*wifi-iface\['$newindex'\]\.ifname='\''\(.*\)'\''/\1/p' )
if [ -z "$newifname" ] ; then
# no newifname means that all the wifi-ifaces have already been parsed
newindex="-1"
break
fi
newnetwork=$(uci show wireless | grep wifi-iface | sed -n 's/.*wifi-iface\['$newindex'\]\.network='\''\(.*\)'\''/\1/p' )
# two wifi interfaces are the same if "ifname" and "network" are the same
if [ "$newifname" == "$ifname" ] && [ "$newnetwork" == "$network" ] ; then
break
fi
done
# prepend "set" to each line NOT containing "]="
# wireless.@wifi-iface[$index].<option>='<value>' becomes
# set wireless.@wifi-iface[$index].<option>='<value>'
sed -i '/.*]=.*/! s/\(.*\[\)'$index'\(\].*\)/set \1'$newindex'\2/' $IUPUSERCFG_WIFI
if [ "$newindex" == "-1" ] ; then
# prepend "add" to each line containing "]="
# AND keep only the package name (before the first dot) and section type (after equal)
# wireless.@wifi-iface[0]=wifi-iface becomes
# add wireless wifi-iface
sed -i 's/\(.*\)\..*\['$index'\]=\(.*\)/add \1 \2/' $IUPUSERCFG_WIFI
else
# no need to create a new uci section, just delete the line defining a new section
sed -i '/\(.*\)\..*\['$index'\]=\(.*\)/d' $IUPUSERCFG_WIFI
fi
done
# commit at the end of the script
[ -s $IUPUSERCFG_WIFI ] && echo "commit" >> $IUPUSERCFG_WIFI
# run the uci batch scripts
cat $IUPUSERCFG | uci batch >/dev/null 2>&1
cat $IUPUSERCFG_WIFI | uci batch >/dev/null 2>&1
rm -f $IUPUSERCFG $IUPUSERCFG_WIFI
savecfg_apply_config fw_redirect fw_parental wifi
}
handle_provisioning() {
@@ -229,7 +153,7 @@ handle_provisioning() {
fi
done
fi
if [ ! -s "$IUPCONFFILES" ]; then
if [ ! -s "$IUPCONFFILES" ] && [ "$enabled" -eq 1 ]; then
echo "File not Found"
reboot="off"
CONF=0
@@ -271,7 +195,7 @@ handle_Downloaded_file()
for f in $CONFILESLURP
do
v "File to be applied $f and config $(cat $f)"
uci import -f $f
uci -f $f import
done
pack=$(get_packages $CONFILESLURP)
v "Packages to be commited: $pack"
@@ -476,8 +400,6 @@ parse_dhcp_options()
json_get_var vlanid vlanid # option 132
json_get_var vlanpriority vlanpriority # option 133
v "Processing dhcp options"
if [ $privopt224 ]; then
v "dhcp option 224 firmware url $privopt224"
handle_option224 $privopt224
@@ -536,32 +458,54 @@ parse_dhcp_options()
# return 1 if the default gateway is not reachable after $wait_time
wait_for_default_gateway()
{
local gateway
local device
local gateway device nameservers
local wait_time=120
local wait_interval=10
local interface="$1"
while [ true ] ; do
gateway=""
device=""
network_flush_cache
network_get_gateway gateway wan #true
network_get_device device wan
device="${device:+-I }$device"
if ping -q -w 1 -c 1 $device $gateway >/dev/null 2>&1 ; then
[ "$wait_time" -lt "60" ] && v "Default gateway $gateway is reachable"
sleep $wait_interval
return 0
if [ -z "$interface" ]; then
network_find_wan interface
fi
v "Waiting for default gateway. Countdown $wait_time seconds"
if [ -n "$interface" ]; then
network_get_device device $interface
if [ "$device" ]; then
device="${device:+-I }$device"
network_get_gateway gateway $interface true
# ping gateways to check uplink
if ping -q -w1 -c 1 $device $gateway >/dev/null 2>&1 ; then
[ "$wait_time" -lt "60" ] && v "Default gateway $gateway is reachable"
sleep $wait_interval
return 0
fi
# try the nameservers too
nameservers="$(grep nameserver /var/resolv.conf.auto | awk '{print $2}')"
for ns in $nameservers; do
if ping -q -w 1 -c 1 $device $ns >/dev/null 2>&1 ; then
[ "$wait_time" -lt "60" ] && v "Name server $ns is reachable"
sleep $wait_interval
return 0
fi
done
fi
fi
v "Waiting for default gateway or name server. Countdown $wait_time seconds"
sleep $wait_interval
wait_time=$((wait_time - wait_interval))
[ "$wait_time" -le "0" ] && break # timer expired
done
return 1 # default gateway not reachable
return 1 # default gateway and name server are not reachable
}
@@ -586,10 +530,17 @@ main()
shift;
done
if ! wait_for_default_gateway ; then
v "Default gateway is not reachable. Aborting iup."
local interface=""
config_load provisioning
config_get interface polling interface
if ! wait_for_default_gateway $interface; then
v "Neither default gateway nor name server are reachable. Aborting iup."
exit 1
fi
# reload config to get latest values
config_load provisioning
if [ ! -f $IUPMD5 ]; then
v "Creating file $IUPMD5"
@@ -602,7 +553,6 @@ main()
local software
local sofwareminuspath
config_load provisioning
#check if iup should be used or if its overridden by /etc/config
config_get configurl configserver url
config_get reboot configserver reboot

View File

@@ -0,0 +1,113 @@
. /lib/network/config.sh
# FIX: for EG300 WAN port for release 3.13.1 - 4.x
if [ "$INTERFACE" == "eth2" ]; then
touch /var/update.eth2
fi
# end FIX
addif() {
# check if wan had a event and start all related services
wan=`uci -q get layer2_interface_ethernet.Wan.baseifname`
if [ "$INTERFACE" == "$wan" ]; then
/etc/init.d/layer2_interface_ethernet start
/etc/init.d/layer2_interface_vlan start
fi
}
delif() {
##remove ethernet wan and nuke any vlans associated
wan=`uci -q get layer2_interface_ethernet.Wan.baseifname`
if [ "$INTERFACE" == "$wan" ]; then
/etc/init.d/layer2_interface_ethernet stop
fi
}
# true if speed on interface is Gbit
gigatest() {
local speed=$(ethctl $INTERFACE media-type 2>&1 | awk '{if (NR == 2) print $6}')
case "$speed" in
1000*) return 0 ;;
*) return 1 ;;
esac
}
# true if there is a link on any lan port
lan_test () {
local landev=$(db get hw.board.ethernetLanPorts)
local ledontest
for dev in $landev; do
ledontest=$(cat /sys/class/net/$dev/operstate)
if [ "$ledontest" == "up" ]; then
return 0
fi
done
return 1
}
# true if adsl or vdsl is up.
dsltest() {
if cat /var/state/layer2_interface 2>/dev/null | grep 'adsl\|vdsl' | grep up; then
return 0
else
return 1
fi
}
case "$ACTION" in
add|register)
case "$PHYSDEVDRIVER" in
natsemi) sleep 1 ;;
esac
addif
local interfname=$(interfacename $INTERFACE)
local operstate=$(cat /sys/class/net/$INTERFACE/operstate)
# if [ "$operstate" == "up" ]; then
if true ; then
case "$interfname" in
GbE*)
ubus call led.lan set '{"state" : "ok"}'
ubus call led.gbe set '{"state" : "ok"}'
ubus call led.gbe_phy_link set '{"state" : "ok"}'
ubus call led.gbe_phy_speed set '{"state": "off"}'
$(gigatest) && ubus call led.gbe_phy_speed set '{"state":"ok"}'
;;
LAN*)
ubus call led.lan set '{"state":"ok"}'
;;
WAN*)
ubus call led.wan set '{"state" : "ok"}'
ubus call led.wan_phy_link set '{"state" : "ok"}'
ubus call led.wan_phy_speed set '{"state" : "off"}'
$(gigatest) && ubus call led.wan_phy_speed set '{"state":"ok"}'
;;
esac
fi
;;
remove|unregister)
local interfname=$(interfacename $INTERFACE)
local operstate=$(cat /sys/class/net/$INTERFACE/operstate)
if [ "$operstate" == "down" ]; then
case "$interfname" in
GbE*)
ubus call led.gbe set '{"state" : "off"}'
ubus call led.gbe_phy_link set '{"state" : "off"}'
ubus call led.gbe_phy_speed set '{"state" : "off"}'
$(lan_test) || ubus call led.lan set '{"state":"off"}'
;;
LAN*)
$(lan_test) || ubus call led.lan set '{"state":"off"}'
;;
WAN*)
ubus call led.wan set '{"state" : "off"}'
ubus call led.wan_phy_speed set '{"state" : "off"}'
ubus call led.wan_phy_link set '{"state" : "off"}'
# is this needed here ?? don't the dsl hotplug event control this ???
# $(dsltest) || ubus call led.dsl set '{"state":"off"}'
;;
esac
fi
delif
;;
esac

View File

@@ -16,6 +16,7 @@ start_service() {
local AnnexL
local ADSL2plus
local VDSL2
local GFast
local a8a
local b8b
local c8c
@@ -23,11 +24,14 @@ start_service() {
local a12a
local b12b
local a17a
local a30a
local b35b
local US0
local bitswap
local sra
local vdsl
config_load layer2_interface
config_get Glite capabilities Glite
config_get GDmt capabilities GDmt
@@ -36,6 +40,7 @@ start_service() {
config_get ADSL2plus capabilities ADSL2plus
config_get AnnexL capabilities AnnexL
config_get VDSL2 capabilities VDSL2
config_get GFast capabilities GFast
config_get AnnexM capabilities AnnexM
config_get a8a capabilities 8a
@@ -45,6 +50,9 @@ start_service() {
config_get a12a capabilities 12a
config_get b12b capabilities 12b
config_get a17a capabilities 17a
config_get a30a capabilities 30a
config_get b35b capabilities 35b
config_get BrcmPriv1 capabilities BrcmPriv1
config_get US0 capabilities US0
config_get bitswap capabilities bitswap
@@ -58,6 +66,7 @@ start_service() {
ADSL2plus=$(echo $ADSL2plus | sed 's/Enabled\|1/p/g')
AnnexM=$(echo $AnnexM | sed 's/Enabled\|1/m/g')
VDSL2=$(echo $VDSL2 | sed 's/Enabled\|1/v/g')
GFast=$(echo $GFast | sed 's/Enabled\|1/f/g')
a8a=$(echo $a8a | sed 's/Enabled\|1/8a/g')
b8b=$(echo $b8b | sed 's/Enabled\|1/8b/g')
@@ -66,7 +75,10 @@ start_service() {
a12a=$(echo $a12a | sed 's/Enabled\|1/12a/g')
b12b=$(echo $b12b | sed 's/Enabled\|1/12b/g')
a17a=$(echo $a17a | sed 's/Enabled\|1/17a/g')
a30a=$(echo $a30a | sed 's/Enabled\|1/30a/g')
b35b=$(echo $b35b | sed 's/Enabled\|1/BrcmPriv1/g')
BrcmPriv1=$(echo $BrcmPriv1 | sed 's/Enabled\|1/BrcmPriv1/g')
[ -n "$b35b" ] && BrcmPriv1=""
US0=$(echo $US0 | sed 's/1/on/g')
US0=$(echo $US0 | sed 's/0/off/g')
bitswap=$(echo $bitswap | sed 's/1/on/g')
@@ -78,18 +90,20 @@ start_service() {
xtmctl start
xtmctl operate intf --state 1 enable
json_load "$(ubus call router.system info)"
json_select specs
json_get_var vdsl vdsl
vdsl=$(db get hw.board.hasVdsl)
if [ $vdsl -eq 1 ]; then
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2 --profile \"$a8a $b8b $c8c $d8d $a12a $b12b $a17a\" --sra $sra --bitswap $bitswap --us0 $US0"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2 --profile "$a8a $b8b $c8c $d8d $a12a $b12b $a17a" --sra $sra --bitswap $bitswap --us0 $US0
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2$GFast --profile \"$a8a $b8b $c8c $d8d $a12a $b12b $a17a $a30a $b35b $BrcmPriv1\" --sra $sra --bitswap $bitswap --us0 $US0"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM$VDSL2$GFast --profile "$a8a $b8b $c8c $d8d $a12a $b12b $a17a $a30a $b35b $BrcmPriv1" --sra $sra --bitswap $bitswap --us0 $US0
else
echo "xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM --sra $sra --bitswap $bitswap"
xdslctl start --up --mod $GDmt$Glite$T1413$ADSL2$AnnexL$ADSL2plus$AnnexM --sra $sra --bitswap $bitswap
fi
if [ "$GFast" == "f" ]; then
# enable V43 tone set for GFAST
xdslctl configure1 --phycfg 0 0 0 0 0 0 0 0 0 0 0 0x400000 0x400000
fi
}

View File

@@ -50,11 +50,11 @@ addethernet() {
config_get baseifname $1 baseifname
config_get ifname $1 ifname
config_get bridge $1 bridge
config_get mac2 $1 mac2
ifname="${ifname:-$baseifname.1}"
brcm_virtual_interface_rules "$baseifname" "$ifname" "$bridge"
brcm_virtual_interface_rules "$baseifname" "$ifname" "$bridge" "$mac2"
}
boot() {
@@ -95,12 +95,15 @@ start_service() {
echo "Setting up Ethernet WAN"
config_load layer2_interface_ethernet
config_foreach addethernet ethernet_interface
/etc/init.d/layer2_interface_vlan start
}
stop_service() {
local ifname
config_load layer2_interface_ethernet
config_foreach removeethernet ethernet_interface
/etc/init.d/layer2_interface_vlan stop
sleep 1
}
reload_service() {
@@ -112,4 +115,3 @@ service_triggers() {
procd_add_reload_trigger layer2_interface_ethernet
}

View File

@@ -1,30 +1,13 @@
#!/bin/sh
local hasEthWan="1"
local hasEthWan="$(db -q get hw.board.hasEthWan)"
hasEthWan=${hasEthWan:-1}
local hasAdsl="$(db -q get hw.board.hasAdsl)"
local hasVdsl="$(db -q get hw.board.hasVdsl)"
local LANPORTS="$(db -q get hw.board.ethernetLanPorts)"
local WANPORTS=""
# populate layer2_interface_ethernet #
if [ "$hasEthWan" == "1" ]; then
local wanEthernetPort="$(db -q get hw.board.ethernetWanPort)"
wanEthernetPort="${wanEthernetPort:-eth0}"
if [ ! -f /etc/config/layer2_interface_ethernet -o -z "$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_ethernet <<EOF
config ethernet_interface 'Wan'
option name 'WAN'
option baseifname '${wanEthernetPort}'
option ifname '${wanEthernetPort}.1'
EOF
fi
local ifname="$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasEthWan" == "0" ]; then
echo "" > /etc/config/layer2_interface_ethernet
fi
# populate layer2_interface #
if [ "$hasAdsl" == "1" ]; then
if [ ! -f /etc/config/layer2_interface -o -z "$(uci -q get layer2_interface.capabilities)" ]; then
@@ -60,6 +43,28 @@ elif [ "$hasAdsl" == "0" -a "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface
fi
# populate layer2_interface_vdsl #
if [ "$hasVdsl" == "1" ]; then
local wanVdslPort=$(db -q get hw.board.vdslWanPort)
wanVdslPort="${wanVdslPort:-ptm0}"
if [ ! -f /etc/config/layer2_interface_vdsl -o -z "$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_vdsl <<EOF
config vdsl_interface
option 'unit' '0'
option 'ifname' '${wanVdslPort}.1'
option 'baseifname' '${wanVdslPort}'
option 'name' 'VDSL2'
option 'dslat' '1'
option 'ptmprio' '1'
option 'ipqos' '1'
EOF
fi
local ifname="$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_vdsl
fi
# populate layer2_interface_adsl #
if [ "$hasAdsl" == "1" ]; then
local wanAdslPort=$(db -q get hw.board.adslWanPort)
@@ -84,26 +89,22 @@ elif [ "$hasAdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_adsl
fi
# populate layer2_interface_vdsl #
if [ "$hasVdsl" == "1" ]; then
local wanVdslPort=$(db -q get hw.board.vdslWanPort)
wanVdslPort="${wanVdslPort:-ptm0}"
if [ ! -f /etc/config/layer2_interface_vdsl -o -z "$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_vdsl <<EOF
config vdsl_interface
option 'unit' '0'
option 'ifname' '${wanVdslPort}.1'
option 'baseifname' '${wanVdslPort}'
option 'name' 'VDSL2'
option 'dslat' '1'
option 'ptmprio' '1'
option 'ipqos' '1'
# populate layer2_interface_ethernet #
if [ "$hasEthWan" == "1" ]; then
local wanEthernetPort="$(db -q get hw.board.ethernetWanPort)"
wanEthernetPort="${wanEthernetPort:-eth0}"
if [ ! -f /etc/config/layer2_interface_ethernet -o -z "$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)" ]; then
cat > /etc/config/layer2_interface_ethernet <<EOF
config ethernet_interface 'Wan'
option name 'WAN'
option baseifname '${wanEthernetPort}'
option ifname '${wanEthernetPort}.1'
EOF
fi
local ifname="$(uci -q get layer2_interface_vdsl.@vdsl_interface[0].ifname)"
local ifname="$(uci -q get layer2_interface_ethernet.@ethernet_interface[0].ifname)"
[ -n "$WANPORTS" ] && WANPORTS="$WANPORTS $ifname" || WANPORTS="$ifname"
elif [ "$hasVdsl" == "0" ]; then
echo "" > /etc/config/layer2_interface_vdsl
elif [ "$hasEthWan" == "0" ]; then
echo "" > /etc/config/layer2_interface_ethernet
fi
# populate network config ifnames #

View File

@@ -91,12 +91,13 @@ wlmngr_doWlConf() {
wlmngr_setupMbssMacAddr() {
local idx=$1
local hwaddr
wlmngr_WlConfDown $idx
for vif in $(nvram get "wl$idx"_vifs); do
hwaddr=$(nvram get "$vif"_hwaddr)
ifconfig $vif hw ether $hwaddr 2>/dev/null
wlctl -i $vif cur_etheraddr $hwaddr 2>/dev/null
done
wlmngr_doWlConf $idx
}
#enableSSD() {
@@ -200,14 +201,14 @@ enableBSD() {
nvram set ${wdev}_bsd_if_select_policy=$wdev_to_steer
nvram set ${wdev}_bsd_sta_select_policy="20 -60 0 0 1 0 0 0 0 0x42"
nvram set ${wdev}_bsd_steer_prefix=$wdev
nvram set ${wdev}_bsd_steering_policy="0 0 0 -60 0 0x52"
nvram set ${wdev}_bsd_steering_policy="0 0 0 -60 0 0x0"
else
# 5G
nvram set ${wdev}_bsd_if_qualify_policy="30 0x0"
nvram set ${wdev}_bsd_if_select_policy=$wdev_to_steer
nvram set ${wdev}_bsd_sta_select_policy="20 $rssi_threshold 0 0 1 0 0 0 0 0x40"
nvram set ${wdev}_bsd_steer_prefix=$wdev
nvram set ${wdev}_bsd_steering_policy="80 5 3 $rssi_threshold 0 0x40"
nvram set ${wdev}_bsd_steering_policy="80 5 3 $rssi_threshold 0 0x0"
fi
else
# Bandwidth Usage based policy #
@@ -261,6 +262,7 @@ wlmngr_startWsc()
nvram set wps_timeout_enable=0
#nvram get wps_config_method
nvram set wps_version2=enabled # extra
nvram set wps_oob_configured=1
nvram set lan_wps_oob=disabled # extra
nvram set lan_wps_reg=enabled # extra
@@ -347,6 +349,9 @@ wlmngr_doQoS() {
wlmngr_finalize() {
local idx=$1
local dconpoll="$(uci -q get wireless.wl$idx.dconpoll)"
dconpoll=${dconpoll:-0}
wlctl -i wl$idx phy_watchdog 1
wlctl -i wl$idx fcache 1
@@ -355,8 +360,8 @@ wlmngr_finalize() {
local pcid="$(wlctl -i wl$idx revinfo | awk 'FNR == 2 {print}' | cut -d'x' -f2)"
local isac="$(db get hw.$pcid.is_ac)"
if [ "$isac" == "1" ]; then
wlctl -i wl$idx msglevel +radar +dfs 2>/dev/null
dhdctl -i wl$idx dconpoll 200 2>/dev/null
#wlctl -i wl$idx msglevel +dfs 2>/dev/null
dhdctl -i wl$idx dconpoll $dconpoll 2>/dev/null
fi
local rdrthrs="$(db get hw.$pcid.radarthrs)"
if [ -n "$rdrthrs" ]; then
@@ -367,6 +372,19 @@ wlmngr_finalize() {
# this piece of code is -required- to make br-lan's mac work properly
# in all cases
sendarp -s br-lan -d br-lan
# set power percent
local pwrpercent="$(uci -q get wireless.wl$idx.txpower)"
pwrpercent=${pwrpercent:-100}
wlctl -i wl$idx pwr_percent $pwrpercent
# set message level
wlctl -i wl$idx msglevel 0x0 2>/dev/null
dhdctl -i wl$idx msglevel 0x0 2>/dev/null
for msg in $(uci -q get wireless.wl$idx.msglevel); do
wlctl -i wl$idx msglevel +$msg 2>/dev/null
dhdctl -i wl$idx msglevel +$msg 2>/dev/null
done
}
wlmngr_issueServiceCmd() {

View File

@@ -58,17 +58,45 @@ ifbaseexists()
return 0
}
get_bridge_of() {
find_network() {
local config="$1"
local iface="$2"
local net=
local if_type
ifname="$(uci get network.$config.ifname)"
if_type="$(uci get network.$config.type)"
[ "$if_type" == "bridge" ] || return
for ifc in $ifname; do
if [ "$ifc" == "$iface" ]; then
net=$config
break
fi
done
[ -n "$net" ] && echo $net
}
config_load network
config_foreach find_network interface $1
}
check_mac_address()
{
local baseifname="$1"
local vlan="$2"
local basemac
local mac=$(ifconfig -a | grep "^${baseifname}.${vlan} " | awk '{print $NF}')
local mac_in_use=$(ifconfig -a | grep "$mac" | grep -v "^${baseifname}.${vlan}[ ]")
if [ "$mac_in_use" ]; then
basemac=$(ifconfig -a | grep "^$baseifname " | awk '{print $NF}')
ifconfig ${baseifname}.${vlan} hw ether $basemac
fi
local baseifname="$1"
local vlan="$2"
local basemac
local mac=$(ifconfig -a | grep "^${baseifname}.${vlan} " | awk '{print $NF}')
local br_name=$(get_bridge_of ${baseifname}.${vlan})
if [ -n "$br_name" ];then
local mac_in_use=$(ifconfig -a | grep "$mac" | grep -v "^${baseifname}.${vlan}[ ]" | grep -v "$br_name")
else
local mac_in_use=$(ifconfig -a | grep "$mac" | grep -v "^${baseifname}.${vlan}[ ]")
fi
if [ "$mac_in_use" ]; then
basemac=$(ifconfig -a | grep "^$baseifname " | awk '{print $NF}')
ifconfig ${baseifname}.${vlan} hw ether $basemac
fi
}
addbrcmvlan()
@@ -161,12 +189,38 @@ addbrcmvlan()
fi
}
update_last_mac_group()
{
local ifname=$1
local last_mac_group=$2
local full_mac modified_mac dev_mac
full_mac="$(ifconfig $ifname | awk '{print $NF; exit}')"
[ "${full_mac}" == "" ] && return
modified_mac="${full_mac:0:15}${last_mac_group}"
devs="wl0 wl1 bcmsw"
for dev in $devs; do
dev_mac="$(ifconfig $dev | awk '{print $NF; exit}')"
if [ "$dev_mac" == "$modified_mac" ]; then
return
fi
done
ifconfig $ifname hw ether "${modified_mac}"
}
brcm_virtual_interface_rules()
{
local baseifname=$1
local ifname=$2
local bridge=$3
local last_mac_group=$4
bridge="${bridge:-0}"
@@ -230,6 +284,10 @@ brcm_virtual_interface_rules()
vlanctl --if $baseifname --rx --tags 0 --set-rxif $ifname --filter-vlan-dev-mac-addr 1 --rule-insert-before -1
fi
if [ "$last_mac_group" != "" ]; then
update_last_mac_group $ifname $last_mac_group
fi
ifconfig $ifname up
ifconfig $ifname multicast
}

View File

@@ -7,7 +7,7 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/apietila/libtrace.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_VERSION:=HEAD
PKG_SOURCE_VERSION:=e4b4c5cce35a52da152776a00532aa0b80879c5b
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

48
loop-detector/Makefile Normal file
View File

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

View File

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

View File

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

View File

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

@@ -18,11 +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
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/image.mk

View File

@@ -12,9 +12,9 @@ PKG_NAME:=peripheral_manager
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=2217e777ce56b53878ca467a06025db935c235eb
PKG_SOURCE_VERSION:=959eca8ab2b50eaccfff9c710cffe5b317bb6ad1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/peripheral_manager
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/peripheral-manager
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

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