Compare commits

...

117 Commits

Author SHA1 Message Date
Sukru Senli
3693878957 questd: use same Makefile for both Broadcom and Mediatek targets 2017-03-23 09:04:28 +01:00
Sukru Senli
03aba6e45d Merge remote-tracking branch 'origin/devel' into mediatek 2017-03-22 11:13:49 +01:00
Sukru Senli
a3ad3065cb iop: select ice-client by default 2017-03-22 10:14:53 +01:00
Jonas Höglund
96bbcc5bf9 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-21 17:33:40 +01:00
Jonas Höglund
437597ef22 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-21 17:23:43 +01:00
Jonas Höglund
58a25668bd Revert "iop: select ice-client by default"
This reverts commit 8411fa328c.
2017-03-21 10:33:55 +01:00
Sukru Senli
8411fa328c iop: select ice-client by default 2017-03-20 12:54:44 +01:00
Reidar Cederqvist
f4ac8264e0 moved 01-close-ports-repeater hotplug script to correct folder 2017-03-17 17:18:21 +01:00
Sukru Senli
df10c1b4d5 iop: select juci realtime graphs by default 2017-03-17 15:19:39 +01:00
Reidar Cederqvist
6fe71973ff added script to close ports w public ip on wan 2017-03-17 15:18:22 +01:00
Sukru Senli
220ad9826b questd: graphd installed 2017-03-17 15:08:14 +01:00
Sukru Senli
5df533cb66 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-17 15:00:58 +01:00
Sukru Senli
fefd065a98 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c809a57 add graphd to gitignore
* 6c0ab55 graphd: define PTHREAD_MUTEX_INITIALIZER if not defined
-------------------------------------------------------------------------------
commit c809a57e7bf0afae617d17ea12a5d322eba35b8f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 14:37:40 +0100

    add graphd to gitignore

Base directory -> /
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 6c0ab5551da9316b41a4fd330e98e91f9363db3a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 14:37:19 +0100

    graphd: define PTHREAD_MUTEX_INITIALIZER if not defined

Base directory -> /
 graphd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-03-17 14:38:18 +01:00
Sukru Senli
a483516258 Merge remote-tracking branch 'origin/devel' into mediatek 2017-03-17 14:28:33 +01:00
Reidar Cederqvist
b06f188e01 netmodes: net hotplug script checks ping on switch event refs #11362 2017-03-17 11:55:22 +01:00
Sukru Senli
98a289e7b3 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7e2deb9 mtk: calculate bandwidth from rate
* c547b76 port.c: added a check if input is valid in port status call
* cb4f134 port.c: fixed bug in port status for bridge
* 3094b92 fixed an error in tools.c and fixed warnings in port.c
* 24b09bb wireless: support 160MHz support
-------------------------------------------------------------------------------
commit 7e2deb9eb8a76d4b711a39bcfb9d42593bcb2d01
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-08 17:32:21 +0100

    mtk: calculate bandwidth from rate

Base directory -> /
 mediatek.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c547b76a0995930ae4681c976189642ba1a248d2
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:28:19 +0100

    port.c: added a check if input is valid in port status call

Base directory -> /
 port.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
-------------------------------------------------------------------------------
commit cb4f13460c6f0c4e562ca7952aee98ed2bb4b81c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:27:33 +0100

    port.c: fixed bug in port status for bridge

Base directory -> /
 port.c | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 3094b92365d860360934c0656ad51439eacac3ad
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-03 12:04:10 +0100

    fixed an error in tools.c and fixed warnings in port.c

Base directory -> /
 port.c  | 4 ++--
 tools.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 24b09bb6996838721859d0ad220f73497f3f0a4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-02 13:43:33 +0100

    wireless: support 160MHz support

Base directory -> /
 wireless.c | 18 +++++++++++++++---
 wireless.h |  2 +-
 2 files changed, 16 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-03-08 17:34:00 +01:00
Reidar Cederqvist
9eb7bb51a7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e7a3968 wireless: added autochannel call
-------------------------------------------------------------------------------
commit e7a39684b7960e3c4b99958ae3fea7d918290753
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-01 13:53:37 +0100

    wireless: added autochannel call

Base directory -> /
 broadcom.c | 10 ++++++++++
 broadcom.h |  1 +
 mediatek.c |  4 ++++
 mediatek.h |  1 +
 wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 55 insertions(+)
-------------------------------------------------------------------------------
2017-03-01 13:54:05 +01:00
Sukru Senli
ca36fd6b40 netmodes: renew udhcpc only when switching to public network 2017-02-28 11:24:53 +01:00
Sukru Senli
b04c80c91d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 514517e wificontrol: internet led notice in repeater/extender mode
-------------------------------------------------------------------------------
commit 514517e44fe90e6861a233b45a7a9f248753807b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-28 10:49:40 +0100

    wificontrol: internet led notice in repeater/extender mode

Base directory -> /
 wificontrol.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-28 11:04:26 +01:00
Sukru Senli
9959a935cf Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* dd1cf88 wificontrol: write online status to tmp
* b7ae898 port.c: added support for bridges in port status call
-------------------------------------------------------------------------------
commit dd1cf8830760bfea503fc049a1928a2119bd9e4c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-27 17:22:04 +0100

    wificontrol: write online status to tmp

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit b7ae898c21dd9a8866f997551e16ca982ed0a4e9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-02-27 15:19:33 +0100

    port.c: added support for bridges in port status call

Base directory -> /
 port.c | 48 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 37 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
2017-02-27 17:24:47 +01:00
Sukru Senli
39ca886781 inteno-netmodes: disable igmp_snooping on wan bridge 2017-02-21 14:33:40 +01:00
Sukru Senli
bbf7671f24 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* faf36c7 wificontrol: connect to clients which are on lan side
-------------------------------------------------------------------------------
commit faf36c70a7b775b80eafb6070d403aae06552870
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-15 14:12:01 +0100

    wificontrol: connect to clients which are on lan side

Base directory -> /
 wificontrol.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-15 14:12:20 +01:00
Sukru Senli
34a57801ab netmode: mtk: disable multicast snooping in repeater mode 2017-02-14 16:24:18 +01:00
Sukru Senli
1d68d1c016 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 47c5d67 wificontrol: go through arp table only
-------------------------------------------------------------------------------
commit 47c5d67522c792f2fca8a46bdcc719db8bef766e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-14 13:37:05 +0100

    wificontrol: go through arp table only

Base directory -> /
 wificontrol.c | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)
-------------------------------------------------------------------------------
2017-02-14 13:38:41 +01:00
Sukru Senli
4125627f13 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7d93bc2 mtk: almost bullet proof autoconnect function
* 7dfa71b mtk: apcli reconnect
-------------------------------------------------------------------------------
commit 7d93bc2c057d004f1f90e6f85c76f650f74765d5
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-12 14:33:37 +0100

    mtk: almost bullet proof autoconnect function

Base directory -> /
 wificontrol.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 7dfa71b9e8aff739c14f748ed725fe9c1daa594c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-12 14:21:40 +0100

    mtk: apcli reconnect

Base directory -> /
 wificontrol.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-12 14:35:06 +01:00
Sukru Senli
e2895754ae inteno-netmodes update 2017-02-10 18:25:12 +01:00
Sukru Senli
a044568c7c Merge branch 'devel' into mediatek 2017-02-10 17:50:33 +01:00
Sukru Senli
aab44ece60 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9a7864e add new mac to inteno macaddr
* 5f529c2 use is_inteno_macaddr function in more places
-------------------------------------------------------------------------------
commit 9a7864ea9625429d67e54fafda2105f855806c5e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-10 10:47:01 +0100

    add new mac to inteno macaddr

Base directory -> /
 tools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5f529c2aa8bd8865dd6d705470d565a142dbcb29
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-07 11:56:16 +0100

    use is_inteno_macaddr function in more places

Base directory -> /
 network.c | 2 +-
 tools.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-10 11:57:29 +01:00
Sukru Senli
2c9ec5831d netmodes: if cannot ping defroute, renew dhcp on wan 2017-02-10 11:56:27 +01:00
Sukru Senli
cce5db9c40 netmodes: prevent possible loop for extender/repeater mode switch 2017-02-10 11:39:37 +01:00
Sukru Senli
15d56bab50 inteno-netmodes: for repeaters mode reload only if credentials are given 2017-02-04 23:50:16 +01:00
Sukru Senli
916d1cf25d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ccafa12 wificontrol: allow router.wireless call
-------------------------------------------------------------------------------
commit ccafa127bceba86d5168252ff71e818fa2893f28
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-04 18:25:18 +0100

    wificontrol: allow router.wireless call

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-04 18:25:45 +01:00
Sukru Senli
01ce47c3e5 inteno-netmodes: relaod network services if not rebooting 2017-02-04 18:01:44 +01:00
Sukru Senli
b5df201087 inteno-netmodes: populate repeaters for mtk 2017-02-04 16:53:43 +01:00
Sukru Senli
b9ee4a838a inteno-netmodes: mtk: use the network name label as hostname 2017-02-04 14:19:02 +01:00
Sukru Senli
6f69e83387 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2a5340f wificontrol: fast and ugly way to get assoclist of repeater
-------------------------------------------------------------------------------
commit 2a5340fc5cc501c6d57e127c5533c65e8eeb6018
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-04 13:48:13 +0100

    wificontrol: fast and ugly way to get assoclist of repeater

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:01:27 +01:00
Sukru Senli
e35343c69f inteno-netmodes: mtk: if wan link is down do not switch to extender mode 2017-02-04 14:01:27 +01:00
Sukru Senli
f2a0ee7b68 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7188d87 wificontrol: reassoc if connection is lost to master
* 81ef342 wificontrol: no need to run ifup wan
-------------------------------------------------------------------------------
commit 7188d877a5f8448c28f2c206b5c7afe2f4bb353b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-30 17:50:53 +0100

    wificontrol: reassoc if connection is lost to master

Base directory -> /
 wificontrol.c | 9 +++++++++
 1 file changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 81ef342488265fb245cf2998b2bb45acdb5d092c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-27 11:15:55 +0100

    wificontrol: no need to run ifup wan

Base directory -> /
 wificontrol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:01:27 +01:00
Sukru Senli
2ce4100804 mtk: use common ssid for 2.4GHz and 5GHz in all modes 2017-02-04 14:01:27 +01:00
Sukru Senli
407a79a036 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-02-04 14:01:27 +01:00
Sukru Senli
c69be6954d inteno-netmodes: mtk: exit if there is a button hotplug script running 2017-02-04 14:01:27 +01:00
Sukru Senli
4e8083083c mtk: faster extender to repeater mode switching 2017-02-04 14:01:27 +01:00
Jonas Höglund
2103ae0b26 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-02-04 14:01:27 +01:00
Sukru Senli
ad308808df inteno-netmodes: mtk support for switching between extender and repeater modes 2017-02-04 14:01:27 +01:00
Sukru Senli
57dd647159 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-02-04 14:01:27 +01:00
Sukru Senli
7a5b923e4a mtk: netmodes do not overwrite macaddr for wan and lan dev 2017-02-04 14:01:27 +01:00
Jonas Höglund
1446765f17 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-02-04 14:01:27 +01:00
Jonas Höglund
0e249baf81 Fix copy startscript for inbd 2017-02-04 14:01:27 +01:00
Jonas Höglund
1b6b57bf90 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-02-04 14:01:27 +01:00
Reidar Cederqvist
bef4c0ff3a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ca6338b created get_port_status insted of get_ports_speed and get_port_type
-------------------------------------------------------------------------------
commit ca6338b417026ebe5931f946aa4f40ca7771c7c5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-25 15:34:20 +0100

    created get_port_status insted of get_ports_speed and get_port_type

Base directory -> /
 broadcom.c |  14 ++++++
 network.c  |   4 +-
 port.c     | 166 ++++++++++++++++++++++++++++++++-----------------------------
 port.h     |   2 +-
 4 files changed, 105 insertions(+), 81 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:01:27 +01:00
Jonas Höglund
f1778bbe77 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 93cae17 Fix reading keys on mediatek
-------------------------------------------------------------------------------
commit 93cae172d7f1350f46209984a0f890d1f5d5d57e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-25 15:29:38 +0100

    Fix reading keys on mediatek

Base directory -> /
 dumper.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:01:27 +01:00
Reidar Cederqvist
75952a96b3 update_package.sh: fixed so version is asked for only when -v is set 2017-02-04 14:01:27 +01:00
Reidar Cederqvist
c2c6858212 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* cb64fb0 mediatek.c: fixed parsing for wifi_scan_results
* 265b2c2 mediatek.c: added frequency to scanresults
* 44b9a8a wireless: added the radio to parse_scanresults function
* 2d1fea1 broadcom.c: scanresults changed rssi and noice to be ints and added snr
* ca74c0d mediatek: fix channel reading
* 95dca63 rename scanresult functions to scanresults
* 9a42c34 fix not severe bug in trim function
* 55d6ea2 wireless.c: fixed bug in scanresults
* c0fd80a scanresults: put all scanresults in array called access_points
-------------------------------------------------------------------------------
commit cb64fb08a83bcf09e5f10322cf0726592572310d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 17:49:41 +0100

    mediatek.c: fixed parsing for wifi_scan_results

Base directory -> /
 mediatek.c | 72 ++++++++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 51 insertions(+), 21 deletions(-)
-------------------------------------------------------------------------------
commit 265b2c29c918b6079d26b964427d94dbeb5c86d6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 15:44:13 +0100

    mediatek.c: added frequency to scanresults

Base directory -> /
 mediatek.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------------------------------------------------------------------------
commit 44b9a8a0e6a21557f8f825b1942448351b595a8a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 15:26:22 +0100

    wireless: added the radio to parse_scanresults function

    for broadcom: used for getting local noise for mediatec: used for getting
    frequency

Base directory -> /
 broadcom.c | 23 ++++++++++++++---------
 broadcom.h |  2 +-
 mediatek.c |  2 +-
 mediatek.h |  2 +-
 wireless.c |  2 +-
 5 files changed, 18 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 2d1fea19413d4351fc90b495ab92a4d044c849b9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-23 13:47:34 +0100

    broadcom.c: scanresults changed rssi and noice to be ints and added snr

Base directory -> /
 broadcom.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit ca74c0d4d93c7751cac728d2d04641a9ac8e3542
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 18:35:41 +0100

    mediatek: fix channel reading

Base directory -> /
 mediatek.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 95dca6369255e39f25fa012c3f887819d46828c9
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 18:09:59 +0100

    rename scanresult functions to scanresults

Base directory -> /
 broadcom.c | 4 ++--
 broadcom.h | 4 ++--
 mediatek.c | 4 ++--
 mediatek.h | 4 ++--
 wireless.c | 8 ++++----
 5 files changed, 12 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 9a42c347959d4a4af5114301a8c39e08ca178e84
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-20 15:21:17 +0100

    fix not severe bug in trim function

Base directory -> /
 tools.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 55d6ea233dff357e155e2e617ebd9411d6af3466
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-20 17:47:24 +0100

    wireless.c: fixed bug in scanresults

Base directory -> /
 wireless.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit c0fd80a59279e5b7541b027c42e257046169125a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-01-18 17:12:45 +0100

    scanresults: put all scanresults in array called access_points

    broadcom: display scanresults as an array named access_points

    mediatek: display scanresults as an array named access_points

Base directory -> /
 wireless.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-02-04 14:01:27 +01:00
Sukru Senli
b87623091b mtk: user 'user' can access repeater modes 2017-02-04 14:01:27 +01:00
Sukru Senli
8aff1448db mtk: repeater mode has no lan 2017-02-04 14:01:27 +01:00
Sukru Senli
10b5ac3fd6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7716541 mtk: for now enable wps via hotplug
* 3a240ee network: do not show invalid arp clients
* 44105d2 directory.c: removed unwanted printouts and moved the level-check
* c90a65c directory.c: added a max_recursion_level to folder_tree
-------------------------------------------------------------------------------
commit 77165419b3ae3d6a2ff1739d06f47902ddcd2394
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-16 15:57:13 +0100

    mtk: for now enable wps via hotplug

Base directory -> /
 wps.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 3a240ee06193c9f39f1525b0cd203116fe5532f0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-11 21:11:25 +0100

    network: do not show invalid arp clients

Base directory -> /
 network.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 44105d2003ad530b8ba4e85fd6ac06850aec1f4c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 13:48:13 +0100

    directory.c: removed unwanted printouts and moved the level-check

Base directory -> /
 directory.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit c90a65c91092b50bd5166b655db0c52466f760c9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-01-11 13:42:46 +0100

    directory.c: added a max_recursion_level to folder_tree

Base directory -> /
 directory.c | 14 ++++++++++----
 directory.h |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Sukru Senli
4090e15492 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* efe54ef mtk: do not create dsl object
-------------------------------------------------------------------------------
commit efe54ef99677c9a5e0c7c3b10f04defa0944f5de
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-11 13:31:41 +0100

    mtk: do not create dsl object

Base directory -> /
 questd.c | 2 +-
 questd.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Sukru Senli
d85272b6ca questd updated 2017-02-04 14:00:02 +01:00
Sukru Senli
9cdde23e62 questd updated 2017-02-04 14:00:02 +01:00
Sukru Senli
84a9155495 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 40380dd wificontrol: do ifup wan for Broadcom only
* 532a9dc trim some strings to remove the newline
* 5d9a809 tools: add trim function
* 4308884 broadcom: retrieve the encryption, key management and cipher for the scanned networks
-------------------------------------------------------------------------------
commit 40380ddb3c46688ef96d79ded230f6daee97c13a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-01-10 15:59:53 +0100

    wificontrol: do ifup wan for Broadcom only

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 532a9dccec285a114429369c62158dc48a179447
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-22 19:27:02 +0100

    trim some strings to remove the newline

Base directory -> /
 network.c | 4 ++--
 system.c  | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 5d9a809d01f9ebbc12bce2e67fe86fbdb1f4a9e6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-22 19:20:28 +0100

    tools: add trim function

Base directory -> /
 tools.c | 23 +++++++++++++++++++++++
 tools.h |  1 +
 2 files changed, 24 insertions(+)
-------------------------------------------------------------------------------
commit 4308884317d93139e8e63f19372b4894d8cf604a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 18:58:51 +0100

    broadcom: retrieve the encryption, key management and cipher for the scanned
    networks

Base directory -> /
 broadcom.c | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 183 insertions(+)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Sukru Senli
96a6967dbe inteno-netmodes: set juci default page to overview after netmode is selected 2017-02-04 14:00:02 +01:00
Kenneth Johansson
ccb4edd492 Add bash debugger. 2017-02-04 14:00:02 +01:00
Jonas Höglund
61cb650c49 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-02-04 14:00:02 +01:00
Jonas Höglund
2921b0d53e 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-02-04 14:00:02 +01:00
Sukru Senli
ce7c569c3c inteno-netmodes: mtk 2017-02-04 14:00:02 +01:00
Jonas Höglund
0101afa6ca Fix -u option for update_package 2017-02-04 14:00:02 +01:00
Jonas Höglund
35988e24cb 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-02-04 14:00:02 +01:00
Kenneth Johansson
3f731c5f21 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-02-04 14:00:02 +01:00
Jonas Höglund
196e7dacf8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 83dc4c8 Read mediatek values from db
* e3178f9 rename scanresult to scanresults
* fcea2d7 broadcom: fix scaning results for 5 GHz
* bd0a351 fixed some warnings
* ecb79f2 fix eswap defines parantheses
* 0b0ec77 changed the naming in output from scanresults for mediatek
* 897b27f commented out unused functions
* 28e1391 broadcom: wireless scanning, first version
* 4c407eb move the blob_buf_init function
* c809af4 broadcom: add wl_scan
* ee22b1c add header files include guards
* 90abc30 added ubus call router.wireless scan and scanresult functions
* 72f9ce9 wl_get_noise: try to use ioctl, but this is not yet implemented in the kernel
* bb14118 wl_get_isup: use ioctl call
* ba7704a fixed so that sizeof is used with correct array
* df1ff8b fixes to be able to build on broadcom after merge
*   5c256ae Merge branch 'mtk' into master
|\
| * 34ca936 check for pointer for not being null
* 241b3ac fix some warnings reported by valgrind
* c934201 memory fixes
* 8c330bc questd: change the chrCmd and runCmd functions so that they are threadsafe. refs #10618
* a53d9b9 removed support for dss keys in dropbear
* e59f0ba show encryption correctly
* 0c67997 usb: show filesystem as well
-------------------------------------------------------------------------------
commit 83dc4c8f358aa5ef8c28b5040a37b394f79189ce
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 14:57:39 +0100

    Read mediatek values from db

Base directory -> /
 dumper.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit e3178f9d17f3d0a9f672a0fc283883048ed57839
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:59:47 +0100

    rename scanresult to scanresults

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fcea2d719ab7bbed57d964cddddb6a12a2af9d6b
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:54:31 +0100

    broadcom: fix scaning results for 5 GHz

Base directory -> /
 broadcom.c | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit bd0a35195709386737011c83179da00a272d9610
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-21 11:41:45 +0100

    fixed some warnings

Base directory -> /
 broadcom.c | 4 +++-
 broadcom.h | 2 +-
 port.c     | 3 +--
 wireless.c | 4 ++--
 4 files changed, 7 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit ecb79f2cbce1e2999737484752d05f31f2ccd043
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-21 16:39:15 +0100

    fix eswap defines parantheses

Base directory -> /
 broadcom.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 0b0ec77bf5a8bb84d60d4b5824e3559aa2f941cd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-20 10:21:28 +0100

    changed the naming in output from scanresults for mediatek

Base directory -> /
 mediatek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 897b27f25975fa53a8adec6483259a42d4724f31
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-20 10:20:45 +0100

    commented out unused functions

Base directory -> /
 broadcom.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 28e13912cda35db2be13b40217a4893c4a450b9c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-19 19:38:06 +0100

    broadcom: wireless scanning, first version

Base directory -> /
 broadcom.c | 79 +++++++++++++++++++++++++++++++++++++++++++-------------------
 broadcom.h |  9 +++++++
 2 files changed, 64 insertions(+), 24 deletions(-)
-------------------------------------------------------------------------------
commit 4c407eb4ed7c4ab585aa370a2c3d5eb29e85fd1b
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-19 19:37:15 +0100

    move the blob_buf_init function

Base directory -> /
 mediatek.c | 1 -
 wireless.c | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c809af46ebe384a37968ccf85acdaf2e50a7821e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 16:06:23 +0100

    broadcom: add wl_scan

Base directory -> /
 broadcom.c | 33 +++++++++++++++++++++++++++++++++
 broadcom.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)
-------------------------------------------------------------------------------
commit ee22b1cf1a8ef963a135d347690c7b9481b4909e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 16:05:35 +0100

    add header files include guards

Base directory -> /
 broadcom.h | 5 +++++
 mediatek.h | 4 ++++
 2 files changed, 9 insertions(+)
-------------------------------------------------------------------------------
commit 90abc30ac624b817d1ad337659e07d168bdedff2
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-16 15:19:12 +0100

    added ubus call router.wireless scan and scanresult functions

Base directory -> /
 mediatek.c | 39 ++++++++++++++++++++++++++++
 mediatek.h |  4 +++
 wireless.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
-------------------------------------------------------------------------------
commit 72f9ce97bac743492f5764b38439e704aabd64e0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-16 14:54:26 +0100

    wl_get_noise: try to use ioctl, but this is not yet implemented in the
    kernel

Base directory -> /
 mediatek.c | 40 +++++++++++++++++++++++++++++++++++-----
 1 file changed, 35 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit bb141183cc5795b2e5e3addd15ccd9e7bfa54887
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 16:54:03 +0100

    wl_get_isup: use ioctl call

Base directory -> /
 mediatek.c | 48 +++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 39 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit ba7704ac8d2ee990fe345414d39cc54a65a2a010
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-11-04 12:17:36 +0100

    fixed so that sizeof is used with correct array

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit df1ff8b9f5dbc3f6dc79c012c215dcc48ebe8fa7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 14:41:01 +0100

    fixes to be able to build on broadcom after merge

Base directory -> /
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5c256ae5f316fd771059feeec54d811bcfb127b0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 12:22:27 +0100

    Merge branch 'mtk' into master

Base directory -> /
 Makefile           |  27 ++--
 broadcom.c         |   8 +-
 broadcom.h         |   5 -
 dumper.c           |  42 +++++-
 mediatek.c         | 360 ++++++++++++++++++++++++++++++++++++++++++++++++
 mediatek.h         | 241 ++++++++++++++++++++++++++++++++
 mtkwifi_channels.h | 393 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 network.c          | 162 +++++++++-------------
 network.h          |  15 +-
 port.c             | 265 ++++++++++++++++++++++++++++++++++--
 questd.c           |   6 +-
 questd.h           |   2 -
 system.c           |   4 +-
 tools.c            |  31 ++++-
 tools.h            |   4 +
 uboot_env.c        |   2 +-
 wireless.c         | 125 +++++++++--------
 wireless.h         |  17 ++-
 wps.c              |  14 +-
 19 files changed, 1495 insertions(+), 228 deletions(-)
-------------------------------------------------------------------------------
commit 34ca9365313c6d56f2c6322f4ea545932364bdc1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-15 11:56:10 +0100

    check for pointer for not being null

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 241b3ac17e07d96d2167df50f16c8735961dbca3
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-09 19:30:59 +0100

    fix some warnings reported by valgrind

Base directory -> /
 broadcom.c |  1 +
 network.c  | 19 ++++++++++++++-----
 port.c     |  8 ++++----
 wireless.c |  6 ++++--
 4 files changed, 23 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit c9342010cc4e286cb7efa041f62be0c3cb55b453
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-09 14:07:52 +0100

    memory fixes

Base directory -> /
 broadcom.c | 3 ++-
 network.c  | 4 ++++
 wireless.c | 6 ++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 8c330bcf6f75c91129f100645c8b448828b736b5
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-07 14:06:17 +0100

    questd: change the chrCmd and runCmd functions so that they are threadsafe.
    refs #10618

Base directory -> /
 network.c     |  20 ++++---
 port.c        |  11 ++--
 system.c      |   7 ++-
 tools.c       | 182 ++++++++++++++++++++++++++++++++++++++++------------------
 tools.h       |  17 +++++-
 usb.c         |   5 +-
 wificontrol.c |  13 +++--
 wireless.c    |   3 +-
 wps.c         |   3 +-
 9 files changed, 176 insertions(+), 85 deletions(-)
-------------------------------------------------------------------------------
commit a53d9b949da052a6fb3ad49bff422821853ed0bc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-01 15:07:42 +0100

    removed support for dss keys in dropbear

Base directory -> /
 dropbear.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit e59f0baafb9f8941e0ecd5cebc953d640ec0525b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-22 10:52:58 +0100

    show encryption correctly

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 0c67997d43ede911bafc7648cb828cc9c4807e3a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-21 19:53:46 +0100

    usb: show filesystem as well

Base directory -> /
 usb.c | 16 ++++++++--------
 usb.h |  1 +
 2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Reidar Cederqvist
bb4fb4840c fixed the ramips specific dependencies 2017-02-04 14:00:02 +01:00
Kenneth Johansson
8d857cccd4 update inbd. 2017-02-04 14:00:02 +01:00
Kenneth Johansson
dc38bd51fb Add inteno netlink bridge daemon. 2017-02-04 14:00:02 +01:00
Reidar Cederqvist
4e18be4ae2 added uplink_band to all repeater netmodes 2017-02-04 14:00:02 +01:00
Reidar Cederqvist
7c26d7f9a2 moved a dependency to mediatek only 2017-02-04 14:00:02 +01:00
Reidar Cederqvist
d2f9c5843d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 24e3785 added a comment for why hwmodes is const char
* 4ad1a15 fixed some warnings and made Wireless and Radio struct have static memory
-------------------------------------------------------------------------------
commit 24e3785a3c0746e5043c118bac905c124256741f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-15 09:54:08 +0100

    added a comment for why hwmodes is const char

Base directory -> /
 wireless.h | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 4ad1a15016c4a95d6336ede037d8c2df11bc8159
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-15 09:43:14 +0100

    fixed some warnings and made Wireless and Radio struct have static memory

Base directory -> /
 network.c  |  2 --
 wireless.c | 47 ++++++++++++++++++-----------------------------
 wireless.h | 16 ++++++++++------
 3 files changed, 28 insertions(+), 37 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Alex Oprea
f852243ffc Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 56afabd wl_get_bitrate: use ioctl call to get the bitrate
* 9c90f0b use correct socket fd
* 5f461a7 wl_get_bssid: use ioctl call
* 3cd9ff3 fixed a argument-order misstake
* 37deb94 close the rectory after usage
* ea2ff12 wl_get_ssid: use ioctl call to get the essid
* 8bf841b memory fixes
* 9e3f8e4 made it so that wl_ioctl is ucing the last input as length
* 0a8a3f5 fixed some warnings in network.c and mediatek.c
-------------------------------------------------------------------------------
commit 56afabdabe18053aa1870ab6c0ca8336058cb5b5
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 18:26:45 +0100

    wl_get_bitrate: use ioctl call to get the bitrate

Base directory -> /
 mediatek.c | 14 +++++++++-----
 mediatek.h |  2 +-
 wireless.c | 13 +++++++------
 3 files changed, 17 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 9c90f0b86cc688bd7a0c9c76abe473760e64bd55
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 16:36:09 +0100

    use correct socket fd

Base directory -> /
 mediatek.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 5f461a796524240a1b124c3894d2311027cc33c9
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 15:34:00 +0100

    wl_get_bssid: use ioctl call

Base directory -> /
 mediatek.c | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 3cd9ff38665e964c693c89b14f76909e710f5fac
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 14:40:26 +0100

    fixed a argument-order misstake

Base directory -> /
 port.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 37deb94113f5e0103ecfd475c09a604c6d890384
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 14:01:54 +0100

    close the rectory after usage

Base directory -> /
 port.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit ea2ff12e5e66045294c93a42641e5da28eded6a9
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-14 13:08:47 +0100

    wl_get_ssid: use ioctl call to get the essid

Base directory -> /
 mediatek.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 8bf841b1aff24b17a5a12339b97e24887e294897
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-12-09 14:07:52 +0100

    memory fixes

Base directory -> /
 broadcom.c | 3 ++-
 network.c  | 4 ++++
 wireless.c | 6 ++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9e3f8e4db73d614b8b63fc8978bc444dadb23e70
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 12:02:36 +0100

    made it so that wl_ioctl is ucing the last input as length

    WARNING: make sure that you send in a valid length wen calling this function

Base directory -> /
 mediatek.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 0a8a3f51e98a7e592b4e3237dbf2894ad966abbd
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-12-14 11:50:54 +0100

    fixed some warnings in network.c and mediatek.c

Base directory -> /
 mediatek.c | 4 +---
 network.c  | 6 ++----
 2 files changed, 3 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 14:00:02 +01:00
Reidar Cederqvist
b4ad60bd17 changed libnl to libnl-tiny and changed one of the includes 2017-02-04 14:00:02 +01:00
Reidar Cederqvist
8e06d4985d questd: fixed spelling error and renamed clfags to target in Makefile 2017-02-04 14:00:02 +01:00
Reidar Cederqvist
619942a9c7 questd: added target-specific dependencies variable 2017-02-04 13:59:42 +01:00
Sukru Senli
6823207180 inteno-netmodes: default uplink is 5G for ex400 2017-02-04 13:59:09 +01:00
Sukru Senli
c676eaf06e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 580a681 call hotplug script for wps client pbc
-------------------------------------------------------------------------------
commit 580a681cde22008df33e59d30afb7065d1a95fb8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-12-01 11:01:53 +0100

    call hotplug script for wps client pbc

Base directory -> /
 wps.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:59:09 +01:00
Sukru Senli
1c7f7806ef mtk: inteno netmodes adjustment 2017-02-04 13:59:09 +01:00
Sukru Senli
645931608e updated questd 2017-02-04 13:58:20 +01:00
Kenneth Johansson
d59eb48921 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-02-04 13:58:20 +01:00
Kenneth Johansson
587f4b4e6b 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-02-04 13:58:20 +01:00
Kenneth Johansson
888c684bff Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 0434260 Add missed interrupt handler for touch panel.
-------------------------------------------------------------------------------
commit 04342602acb00420c5e5cb4e83807d55ccc4b42f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-18 19:17:24 +0100

    Add missed interrupt handler for touch panel.

    missed this file from last commit.

Base directory -> /
 src/touch_sx9512.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Kenneth Johansson
aca85883a0 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 3008d04 add support for gpio buttons using linux gpio interface.
* d57bb3f Add support for leds using linux gpio interface.
* 70137e9 Include touch driver sx9512 on all platforms.
-------------------------------------------------------------------------------
commit 3008d04ed46d82f98fc2078333d1c76b6c03de1b
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-18 18:51:02 +0100

    add support for gpio buttons using linux gpio interface.

Base directory -> /
 Makefile.am       |  2 +-
 src/button.c      | 10 ++++++----
 src/gpio.h        |  4 ++++
 src/gpio_button.c | 32 +++++++++++++++++++++++++++++++-
 src/gpio_led.c    |  2 +-
 src/gpio_linux.c  | 34 ++++++++++++++++++++++++++++++++--
 6 files changed, 75 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit d57bb3f171a1c4383dbc9d6cff7a104b310a61fe
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-17 20:41:18 +0100

    Add support for leds using linux gpio interface.

Base directory -> /
 Makefile.am       |  9 ++++----
 src/gpio.h        | 14 +++++++++++++
 src/gpio_button.c |  1 -
 src/gpio_led.c    | 16 +++++++++-----
 src/gpio_linux.c  | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/server.c      |  6 +++---
 6 files changed, 96 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit 70137e9ef89f43e71b455c8445dd33ae03b06bf6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-17 17:18:07 +0100

    Include touch driver sx9512 on all platforms.

    Was only compiled in on broadcom based platform. But is now also needed for
    mediatek SOC (ex400).

Base directory -> /
 Makefile.am        |  8 ++++----
 src/gpio.h         |  5 ++++-
 src/server.c       |  2 +-
 src/sx9512.c       |  6 ++++--
 src/sx9512.h       |  4 ++++
 src/touch_sx9512.c | 12 ++++++++----
 6 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Sukru Senli
5606f4f962 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a0f68ef mtk: zero tx and rx bytes until we get them correctly
* 82c7532 put endif to correct line
* b6e9bc2 mtk: cleanup
* 8cb0982 mtk: show speed correctly
* d189fc1 mtk: fix some warnings
* 79b9c39 mtk: get rssi value correctly
* f6fa9a4 mtk: get wireless clients from assoclist
* 40de979 mtk: more cleanup
* c1d5e78 mtk: header file cleanup
* f080435 mtk: ioctl working
* 42bc58a mediatek code cleanup
* 46925b2 use same get port name method for brcm and mtk
* 312e1e9 for mtk read encryption from config for now
* 34b081c show real speed for mtk
* 8cc2316 zero device char array first
* 8c2b25b calculate wdev correctly for mtk
* c9d0f85 mediatek updates
* 9c2c69b use brctl showbr for all profiels
* a3b5126 mediatek: hardcode sta info until we know how to get it
* 2909034 mediatek: network topology almost working
* 786064d imitate led.internet object
* e90e958 initial mediatek wireless code
* bb0088a mediatek
* 889e317 show client as wireless only if it is associated
* 5b3d4db add is_inteno_macaddr function
* c9074d8 adapt to new Inteno mac address range
* 994ebba router.network ports do not show the bridge without member
* 91ac13d show number of active connections per client
* d1079f3 find usb netdevice for both arm and mips
* 52ee23c populate ports only for bridged networks that are not dhcp
* 70d2897 prevent memory corruption for "client-100" and higher
* eea1ad8 improve short-circuit logic
* 70ad526 set to 0 all the members of the port array, not only the first one
* cbb8798 use the thread-safe version of strtok: strtok_r refs #10515
* a852440 reduce number of processes
* b8f176b wireless: make sure antenna number does not exceed WL_STA_ANT_MAX
-------------------------------------------------------------------------------
commit a0f68effd8f8567d14d9f3437d4090988a03b479
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:43:37 +0100

    mtk: zero tx and rx bytes until we get them correctly

Base directory -> /
 mediatek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 82c7532edc7599f83388a850066667f629d6a4b7
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:37:21 +0100

    put endif to correct line

Base directory -> /
 network.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b6e9bc278df37414dafbddb57a7c6033b9cbab91
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:28:49 +0100

    mtk: cleanup

Base directory -> /
 mediatek.c | 6 ++++--
 mediatek.h | 2 +-
 network.c  | 2 +-
 port.c     | 2 +-
 wireless.c | 4 ++--
 5 files changed, 9 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 8cb09827ea08c2dd121c192a9c0b7ffd82f0bfa2
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 18:03:31 +0100

    mtk: show speed correctly

Base directory -> /
 mediatek.c | 31 ++++++++++++++++++++-----------
 network.c  |  4 ++--
 2 files changed, 22 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit d189fc1b9d26fc4bf52b3711717a347ec8560b82
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 10:04:08 +0100

    mtk: fix some warnings

Base directory -> /
 mediatek.c | 2 ++
 wireless.c | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 79b9c3934eca18455961c0e1ad24a72ffc9d2d50
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 10:02:01 +0100

    mtk: get rssi value correctly

Base directory -> /
 mediatek.c | 46 +++++++++++++++++++++++++++++++++++++---------
 wireless.c |  9 +++++++--
 2 files changed, 44 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit f6fa9a4e32b4760a2c5c8920e3b07d4aa25fb4de
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-18 09:23:22 +0100

    mtk: get wireless clients from assoclist

Base directory -> /
 network.c | 44 +++++++++-----------------------------------
 1 file changed, 9 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit 40de97953b8491e5d196cd564fe28deee548d63c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 16:46:12 +0100

    mtk: more cleanup

Base directory -> /
 broadcom.c      |   8 ++---
 led.internet.sh |  19 -----------
 mediatek.c      | 100 +++++++++++++++++++++++++++++++-------------------------
 mediatek.h      |  12 -------
 wireless.c      |   2 ++
 5 files changed, 61 insertions(+), 80 deletions(-)
-------------------------------------------------------------------------------
commit c1d5e7885e0394557bd0f898d6374781ee0b9e91
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 15:22:46 +0100

    mtk: header file cleanup

Base directory -> /
 broadcom.h |    2 -
 mediatek.c |   63 ++-
 mediatek.h | 1249 +++++-------------------------------------------------------
 3 files changed, 151 insertions(+), 1163 deletions(-)
-------------------------------------------------------------------------------
commit f080435d9eb830126f342935976bd5ae5a5df681
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-17 11:08:32 +0100

    mtk: ioctl working

Base directory -> /
 mediatek.c | 11 +++++++----
 mediatek.h |  5 ++++-
 2 files changed, 11 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 42bc58a6590fac10cde96e01a55560c7b09e4260
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-15 15:37:13 +0100

    mediatek code cleanup

Base directory -> /
 mediatek.c |  259 +--------
 mediatek.h | 1798 ++++++++++++++++++++++++++++++++++++++++--------------------
 network.c  |    4 +-
 3 files changed, 1232 insertions(+), 829 deletions(-)
-------------------------------------------------------------------------------
commit 46925b2e65e6388dd994b435b6484dd7fae1cc6c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 14:24:09 +0200

    use same get port name method for brcm and mtk

Base directory -> /
 port.c | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 312e1e95cf4bf6201f20eb63011905f03d4e3819
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:37:00 +0200

    for mtk read encryption from config for now

Base directory -> /
 mediatek.c | 39 ++++-----------------------------------
 1 file changed, 4 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit 34b081c02f874d1fbca26431e96cfe988b8551d0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:27:16 +0200

    show real speed for mtk

Base directory -> /
 wireless.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 8cc23161c192ddab01175ee32d73f49aacd49b41
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:42 +0200

    zero device char array first

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 8c2b25b79dbc696a1397697b78f4ec129a7211f8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:18 +0200

    calculate wdev correctly for mtk

Base directory -> /
 wireless.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit c9d0f8505f5ba2bb5228cab58234b2749d1f317b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 10:58:46 +0200

    mediatek updates

Base directory -> /
 mediatek.c | 64 --------------------------------------------------------------
 port.c     |  4 ----
 system.c   |  6 +++---
 3 files changed, 3 insertions(+), 71 deletions(-)
-------------------------------------------------------------------------------
commit 9c2c69b374c9cd0e6ac164ce7cc8f30bf1f6847f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-17 13:59:37 +0200

    use brctl showbr for all profiels

Base directory -> /
 network.c | 14 --------------
 1 file changed, 14 deletions(-)
-------------------------------------------------------------------------------
commit a3b512670de96cafd96340498de4276e6c388711
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 17:15:58 +0200

    mediatek: hardcode sta info until we know how to get it

Base directory -> /
 mediatek.c | 59 ++++++-----------------------------------------------------
 1 file changed, 6 insertions(+), 53 deletions(-)
-------------------------------------------------------------------------------
commit 290903450e61b27fc4f16dbcbe35f4bbe0170cbd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 15:44:17 +0200

    mediatek: network topology almost working

Base directory -> /
 mediatek.c | 15 +--------------
 network.c  | 29 ++++++++++++++++++++++-------
 port.c     | 16 ++++++++++++----
 3 files changed, 35 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit 786064dedb8e404ca0817422cc4e795f606a1b72
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:55:10 +0200

    imitate led.internet object

Base directory -> /
 led.internet.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
-------------------------------------------------------------------------------
commit e90e95899b79ca870c5f909bd268cac220765937
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:49:43 +0200

    initial mediatek wireless code

Base directory -> /
 mediatek.c | 203 ++++++++++++++++++++++++++++---------------------------------
 network.c  |   2 -
 port.c     |   5 ++
 questd.c   |   4 --
 wireless.c |  23 ++++++-
 wps.c      |   6 +-
 6 files changed, 123 insertions(+), 120 deletions(-)
-------------------------------------------------------------------------------
commit bb0088a8c3f65b4997445b81ca24ce38511ca9bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 17:58:13 +0200

    mediatek

Base directory -> /
 Makefile           |   6 +-
 dumper.c           |  32 +++
 mediatek.c         | 611 ++++++++++++++++++++++++++++++++++++++++++++++
 mediatek.h         | 691 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 mtkwifi_channels.h | 393 ++++++++++++++++++++++++++++++
 network.c          |  25 +-
 network.h          |   5 +-
 port.c             |  14 +-
 questd.c           |   4 +-
 questd.h           |   2 -
 uboot_env.c        |   2 +-
 wireless.c         |   4 -
 12 files changed, 1770 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit 889e317f0de3917a4f46de94c3d66d0819e6b9a3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 15:11:46 +0100

    show client as wireless only if it is associated

Base directory -> /
 broadcom.c | 6 +++++-
 broadcom.h | 2 +-
 network.c  | 5 ++++-
 wireless.c | 4 +++-
 4 files changed, 13 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 5b3d4dbb769965367c1a578490c3b71b4d39770e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:54:03 +0100

    add is_inteno_macaddr function

Base directory -> /
 Makefile      |  4 ++--
 network.c     | 12 ++++++------
 tools.c       | 10 ++++++++++
 tools.h       |  2 ++
 wificontrol.c | 38 ++++++--------------------------------
 5 files changed, 26 insertions(+), 40 deletions(-)
-------------------------------------------------------------------------------
commit c9074d8b3a7de736c6745d5dee1a8bed666b36fa
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:34:44 +0100

    adapt to new Inteno mac address range

Base directory -> /
 network.c     | 13 ++++++++-----
 wificontrol.c |  4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 994ebbaa5897c5b27aca9dbe188f3a257e02691e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 12:38:40 +0100

    router.network ports do not show the bridge without member

Base directory -> /
 network.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 91ac13d040e397a47149d721c594736ad490f3da
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-07 17:21:03 +0100

    show number of active connections per client

Base directory -> /
 network.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit d1079f32b14282cdc1ce2da736684bc505ed293b
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-07 15:38:44 +0100

    find usb netdevice for both arm and mips

Base directory -> /
 usb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 52ee23cb217321c92537d116eebba79c3c8966b8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-02 11:30:37 +0100

    populate ports only for bridged networks that are not dhcp

Base directory -> /
 network.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 70d289767aa38483c375b4913f9aff58e71978c4
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-11-01 13:44:05 +0100

    prevent memory corruption for "client-100" and higher

Base directory -> /
 network.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit eea1ad881ad50d69869dd292bb95b24547ae1ab3
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-11-01 13:55:49 +0100

    improve short-circuit logic

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 70ad526e6f44a98f03944f535add1712295dd3ec
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-10-26 15:47:03 +0200

    set to 0 all the members of the port array, not only the first one

Base directory -> /
 network.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cbb87980fea66dbcd182bd0881f6ce3bc420a0f4
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-10-26 14:51:52 +0200

    use the thread-safe version of strtok: strtok_r refs #10515

    	several calls of strtok were overwritting each other's
    parsing buffer. This resulted in questd sometimes not
    reporting all the ports of the router.

Base directory -> /
 netcheck.c |  5 +++--
 network.c  | 26 +++++++++++++++-----------
 2 files changed, 18 insertions(+), 13 deletions(-)
-------------------------------------------------------------------------------
commit a852440c1fb4d498ed979b19e6c08ce5f7c161cb
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-10-25 13:33:22 +0200

    reduce number of processes

Base directory -> /
 port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b8f176b0bb7dbe62b15eb96af9b712d97d7ca6c2
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-21 15:24:30 +0200

    wireless: make sure antenna number does not exceed WL_STA_ANT_MAX

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Sukru Senli
ad9c8b0eed updated questd 2017-02-04 13:58:20 +01:00
Jonas Höglund
cb2f2683f6 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-02-04 13:58:20 +01:00
Kenneth Johansson
28b050b60a 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-02-04 13:58:20 +01:00
Jonas Höglund
0b212fa52d 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-02-04 13:58:20 +01:00
Kenneth Johansson
cc9d4932b9 update. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
d53bfa681f fix v variable. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
05f4f46391 it builds. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
4def83dac0 add ated. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
e59ec80d85 update. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
4d30ca004f remove extra space. 2017-02-04 13:58:20 +01:00
Kenneth Johansson
e45d03c225 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-02-04 13:58:20 +01:00
Sukru Senli
4fdb1de5a0 layer2interface: quick fix to install files 2017-02-04 13:58:20 +01:00
Sukru Senli
1b10303d35 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bb73784 use same get port name method for brcm and mtk
* b94d73c for mtk read encryption from config for now
* ffe4f65 show real speed for mtk
* 1fae87c zero device char array first
* c77208a calculate wdev correctly for mtk
* fb9cab5 mediatek updates
-------------------------------------------------------------------------------
commit bb7378478269e825e29503a4971843c142ca4e03
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 14:24:09 +0200

    use same get port name method for brcm and mtk

Base directory -> /
 port.c | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit b94d73cabd4d5b09ab5f4801cb477f5805e16e78
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:37:00 +0200

    for mtk read encryption from config for now

Base directory -> /
 mediatek.c | 39 ++++-----------------------------------
 1 file changed, 4 insertions(+), 35 deletions(-)
-------------------------------------------------------------------------------
commit ffe4f65b0dcf4a31315b27c9656b336e2a297963
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:27:16 +0200

    show real speed for mtk

Base directory -> /
 wireless.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
commit 1fae87c1de98293f26ba32eb23e73e5497feef7d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:42 +0200

    zero device char array first

Base directory -> /
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c77208a405db1550db0acc67292f6e7a99746f2c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 11:23:18 +0200

    calculate wdev correctly for mtk

Base directory -> /
 wireless.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit fb9cab57505de2af92d15a913bb9cb4657c571e9
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-18 10:58:46 +0200

    mediatek updates

Base directory -> /
 mediatek.c | 64 --------------------------------------------------------------
 port.c     |  4 ----
 system.c   |  6 +++---
 3 files changed, 3 insertions(+), 71 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Sukru Senli
3d28c5f61d layer2interface: copy broadcom dir for broadcom targets only 2017-02-04 13:58:20 +01:00
Sukru Senli
829619ff91 port_management: configure only if the necessary tools exist 2017-02-04 13:58:20 +01:00
Sukru Senli
4be8168d86 inteno-netmodes: do not show bridged modes for EX400 2017-02-04 13:58:20 +01:00
Sukru Senli
e71adc6ac5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 66d96ab use brctl showbr for all profiels
-------------------------------------------------------------------------------
commit 66d96ab3c40c9fd16ebf46a73bb2daf70f255eb1
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-17 13:59:37 +0200

    use brctl showbr for all profiels

Base directory -> /
 network.c | 14 --------------
 1 file changed, 14 deletions(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Sukru Senli
6e49bf489d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 37c1feb mediatek: hardcode sta info until we know how to get it
* 59d3ebc mediatek: network topology almost working
* f7112ed imitate led.internet object
* 8daafa6 initial mediatek wireless code
* ad43d1e mediatek
* 0a8dbd0 compare first three chars of wl
* 69bbcfd set eswap per radio instead of per interface
* b4d3b9e netcheck: use only needed functions
* 7f66c23 show ssid in network topology even if it is only one characther
-------------------------------------------------------------------------------
commit 37c1feb3df9bf35f76adccaa7da5f575afcfd7ac
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 17:15:58 +0200

    mediatek: hardcode sta info until we know how to get it

Base directory -> /
 mediatek.c | 59 ++++++-----------------------------------------------------
 1 file changed, 6 insertions(+), 53 deletions(-)
-------------------------------------------------------------------------------
commit 59d3ebce59e4e759d1296e510cbdfc10e33077f6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-14 15:44:17 +0200

    mediatek: network topology almost working

Base directory -> /
 mediatek.c | 15 +--------------
 network.c  | 29 ++++++++++++++++++++++-------
 port.c     | 16 ++++++++++++----
 3 files changed, 35 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit f7112ed499891ffcaebec2085f910d6286ed1428
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:55:10 +0200

    imitate led.internet object

Base directory -> /
 led.internet.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
-------------------------------------------------------------------------------
commit 8daafa64087f628882192c7e1872a94d8c28aead
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 19:49:43 +0200

    initial mediatek wireless code

Base directory -> /
 mediatek.c | 203 ++++++++++++++++++++++++++++---------------------------------
 network.c  |   2 -
 port.c     |   5 ++
 questd.c   |   4 --
 wireless.c |  23 ++++++-
 wps.c      |   6 +-
 6 files changed, 123 insertions(+), 120 deletions(-)
-------------------------------------------------------------------------------
commit ad43d1eb3855de9ca3cadcd7e68051b68d7229d2
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-10 17:58:13 +0200

    mediatek

Base directory -> /
 Makefile           |   6 +-
 dumper.c           |  32 +++
 mediatek.c         | 611 ++++++++++++++++++++++++++++++++++++++++++++++
 mediatek.h         | 691 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 mtkwifi_channels.h | 393 ++++++++++++++++++++++++++++++
 network.c          |  21 +-
 network.h          |   5 +-
 port.c             |  12 +
 questd.c           |   4 +-
 questd.h           |   2 -
 uboot_env.c        |   2 +-
 wireless.c         |   4 -
 12 files changed, 1767 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit 0a8dbd0c6598f22760b04605a4dbe07f772fb1a7
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-17 12:15:48 +0200

    compare first three chars of wl

Base directory -> /
 broadcom.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 69bbcfd3f2f181529d7898bbe937e37116ee96da
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-16 15:17:00 +0200

    set eswap per radio instead of per interface

Base directory -> /
 broadcom.c | 30 +++++++-----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------------
commit b4d3b9e788c529861961dc416edc5c57e3938e10
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-16 14:44:52 +0200

    netcheck: use only needed functions

Base directory -> /
 net.c      |   3 +-
 netcheck.c | 796 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 400 insertions(+), 399 deletions(-)
-------------------------------------------------------------------------------
commit 7f66c232c107281038ae9e92b6e50ddb282206ce
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-10-16 13:40:53 +0200

    show ssid in network topology even if it is only one characther

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-02-04 13:58:20 +01:00
Sukru Senli
e93fdd699d questd: 4.0.0 2017-02-04 13:58:20 +01:00
Jonas Höglund
63da9fc1ba 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-02-04 13:57:37 +01:00
Kenneth Johansson
265543047e 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-02-04 13:57:37 +01:00
Jonas Höglund
d7a50840a5 No overrides on mediatek branch for now 2017-02-04 13:57:37 +01:00
Jonas Höglund
f7680d6ec9 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-02-04 13:57:37 +01:00
Jonas Höglund
40c101d0a4 Fix config error 2017-02-04 13:57:37 +01:00
Jonas Höglund
636e1e7dff Remove samba 2017-02-04 13:57:37 +01:00
Jonas Höglund
bfde71e089 Use openwrt mtd-utils for now 2017-02-04 13:57:37 +01:00
Jonas Höglund
c83c269436 libcgroup does not seem compatible with mussle.
We are missing the fts.h header file.
2017-02-04 13:57:37 +01:00
Jonas Höglund
698ca0279d Disable ice-client for now as it has several issues for mediatek 2017-02-04 13:57:37 +01:00
Jonas Höglund
7e9e39c674 samba2 does not compile for mediatek 2017-02-04 13:57:37 +01:00
49 changed files with 556 additions and 653 deletions

67
ated/Makefile Normal file
View File

@@ -0,0 +1,67 @@
#
# Copyright (C) 2016 inteno
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ated
PKG_VERSION:=1.2.2
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f614cba983d827d5185c60a6a5a35530621d44d2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.inteno.se:ated
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
#PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
#PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/ated
CATEGORY:=Utilities
TITLE:=Daemon for handling wifi calibration
URL:=
DEPENDS:= libc
endef
define Package/ated/description
Daemon for handling wifi calibration
endef
#TARGET_CFLAGS += -I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/mips/include
MAKE_FLAGS += \
v=2 \
m=3
#TARGET_CPPFLAGS := \
# -I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx \
# -I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
# $(TARGET_CPPFLAGS)
# we donot wwant to have any install.
define Build/Install/Default
endef
define Package/ated/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ated $(1)/sbin/
endef
$(eval $(call BuildPackage,ated))

62
bashdb/Makefile Normal file
View File

@@ -0,0 +1,62 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bashdb
PKG_VERSION:=4.4-0.92
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
#PKG_SOURCE_URL:=http://sourceforge.net/projects/bashdb/files/bashdb/$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/bashdb/
PKG_MD5SUM:=b72c17870bfab2fd791b1f6de4d79f9e
#PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Bash script debugging utility.
URL:=http://sourceforge.net/projects/bashdb/
endef
define Package/$(PKG_NAME)/description
Bash script debugging utility.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DLINUX $(TARGET_CPPFLAGS) \
-I./src" \
LIBS="$(TARGET_LDFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)"
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bashdb $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/share
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.sh $(1)/usr/share/$(PKG_NAME)/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.inc $(1)/usr/share/$(PKG_NAME)/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/init
$(INSTALL_DATA) $(PKG_BUILD_DIR)/init/*.sh $(1)/usr/share/$(PKG_NAME)/init/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/show_sub
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/set_sub
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/command/info_sub
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/*.sh $(1)/usr/share/$(PKG_NAME)/command/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/show_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/show_sub/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/set_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/set_sub/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/command/info_sub/*.sh $(1)/usr/share/$(PKG_NAME)/command/info_sub/
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/lib
$(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/*.sh $(1)/usr/share/$(PKG_NAME)/lib/
endef
$(eval $(call BuildPackage,bashdb))

53
inbd/Makefile Normal file
View File

@@ -0,0 +1,53 @@
#
# Copyright (C) 2016 Inteno
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=inbd
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=2d474e9ff37b9cfcffd4b9ac8eba8db03eb38a21
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/inbd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/inbd
CATEGORY:=Utilities
TITLE:=Inteno Netlink Bridge Daemon
URL:=
DEPENDS:=+libuci +libubus +libblobmsg-json +libnl-genl
endef
define Package/inbd/description
Application handling netlink messages from kernel and sending them out on ubus.
endef
define Package/inbd/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/inbd $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/files/etc/init.d/inbd $(1)/etc/init.d/
endef
$(eval $(call BuildPackage,inbd))

View File

@@ -0,0 +1,39 @@
[ "$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

@@ -3,24 +3,36 @@
. /lib/functions.sh
include /lib/network
[ "$INTERFACE" != "$(uci get layer2_interface_ethernet.Wan.ifname)" ] && exit
ps | grep hotplug | grep button && exit
WANDEV="eth0.2"
[ "$INTERFACE" != "$WANDEV" ] && exit
defroute=$(ip route | grep default | awk '{print$3}')
case "$(uci get netmode.setup.curmode)" in
repeater|repeater_dualdown) echo "Preparing to switch mode" ;;
*) exit ;;
repeater|repeater_dualdown)
echo "Preparing to switch mode"
;;
*)
ping -c 1 -w 5 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
exit
;;
esac
echo "0" > /sys/devices/virtual/net/br-wan/bridge/multicast_snooping
get_wifi_wet_interface() {
# handle_interface() {
# config_get mode "$1" mode
# if [ "$mode" == "wet" ] ; then
# config_get ifname "$1" ifname
# echo "$ifname"
# fi
# }
# config_load wireless
# config_foreach handle_interface wifi-iface "$device"
echo "wl1"
handle_interface() {
config_get mode "$1" mode
if [ "$mode" == "sta" -o "$mode" == "wet" ] ; then
config_get ifname "$1" ifname
echo "$ifname"
fi
}
config_load wireless
config_foreach handle_interface wifi-iface "$device"
}
get_wifi_iface_cfgstr() {
@@ -32,39 +44,43 @@ get_wifi_iface_cfgstr() {
config_foreach get_cfgno wifi-iface $1 $2
}
link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
case "$ACTION" in
add|register)
[ "$link" == "down" ] && return
echo "Autoswitch to Extender mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
# remove wifi client interface
case "$(uci get netmode.setup.curmode)" in
repeater_dualdown)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).disabled=1
;;
repeater)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).mode=ap
repeater*)
uci -q set $(get_wifi_iface_cfgstr $wetif).disabled=1
;;
esac
uci commit wireless
#add wan ethernet port
uci set network.wan.ifname="$(echo $(uci get layer2_interface_ethernet.Wan.ifname) $(uci get network.wan.ifname) | tr ' ' '\n' | sort -u | tr '\n' ' ')"
ubus call uci commit '{"config":"network"}'
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
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
;;
remove|unregister)
[ "$link" == "up" ] && return
echo "Autoswitch to Repeater mode" > /dev/console
sleep 2
wetif="$(get_wifi_wet_interface)"
# add wifi client interface
case "$(uci get netmode.setup.curmode)" in
repeater_dualdown)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).disabled=0
;;
repeater)
uci -q set $(get_wifi_iface_cfgstr $(get_wifi_wet_interface)).mode=wet
repeater*)
uci -q set $(get_wifi_iface_cfgstr $wetif).disabled=0
;;
esac
uci commit wireless
#remove wan ethernet port
uci set network.wan.ifname="$(uci get network.wan.ifname | sed 's/$/ /' | sed -r "s/`uci get layer2_interface_ethernet.Wan.ifname` //g")"
ubus call uci commit '{"config":"network"}'
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
;;
esac

View File

@@ -72,7 +72,7 @@ populate_netmodes() {
case "$mode" in
repeater*)
wlctl -i wl1 ap >/dev/null 2>&1 || continue
wlctl -i wl1 ap >/dev/null 2>&1 || ifconfig rai0 2>/dev/null | grep -q rai0 || continue
;;
esac
@@ -137,12 +137,32 @@ populate_netmodes() {
json_get_var cred credentials
uci -q set netmode.$mode.askcred="$cred"
json_get_var ulb uplink_band
uci -q set netmode.$mode.uplink_band="$ulb"
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
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
@@ -152,10 +172,27 @@ switch_netmode() {
config_get conf $curmode conf
cp /etc/netmodes/$conf/* /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
#/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
else
reboot &
fi
@@ -167,6 +204,10 @@ start_service() {
reload_service() {
switch_netmode
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
}
service_triggers()

View File

@@ -10,7 +10,8 @@
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
"CG301",
"EX400"
],
"acl" : [
"admin",

View File

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

View File

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

View File

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

View File

@@ -1,18 +0,0 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'

View File

@@ -10,7 +10,8 @@
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
"CG301",
"EX400"
],
"acl" : [
"admin",

View File

@@ -1,34 +0,0 @@
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '0'
option ifname 'atm0.1'
option baseifname 'atm0'
option atmtype 'ubr'
option name 'atm_inet'
option vpi '8'
option vci '35'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm1.1'
option baseifname 'atm1'
option atmtype 'ubr'
option name 'atm_tv'
option vpi '8'
option vci '45'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm2.1'
option baseifname 'atm2'
option atmtype 'ubr'
option name 'atm_voip'
option vpi '8'
option vci '55'

View File

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

View File

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

View File

@@ -1,32 +0,0 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'eth_voip'
option ifname '$WAN.200'
option baseifname '$WAN'
option vlan8021q '200'
option vlan8021p '0'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_voip'
option ifname 'ptm0.200'
option baseifname 'ptm0'
option vlan8021q '200'
option vlan8021p '0'

View File

@@ -1,20 +1,18 @@
{
"description": [
{ "en" : "Repeater 2.4▴▾5" },
{ "sv" : "Repeater 2.4▴▾5" }
{ "en" : "Repeater 5▴▾2.4&5" },
{ "sv" : "Repeater 5▴▾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" }
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point. Uplink 5G & 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 5G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*"
],
"acl" : [
"admin"
],
"uplink_band": 'a',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -9,12 +9,6 @@ config defaults
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
@@ -24,10 +18,6 @@ config zone
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

View File

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

View File

@@ -1,16 +1,41 @@
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 device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option type 'bridge'
option ifname 'eth0.2 eth0.1'
option proto 'dhcp'
option vendorid 'Inteno_Repeater_$MAC4'
option hostname 'Inteno_Repeater_$MAC4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'
option hostname 'Inteno-$BSSID4'
option reqopts '66 67 128 224'
option igmp_snooping '0'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -4,83 +4,48 @@ config wifi-status 'status'
option sched_status '0'
option schedule '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 '0'
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'
config wifi-device ra0
option band b
option channel 1
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
option hwmode 11n
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'
option device ra0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname ra0
config wifi-device rai0
option band a
option channel 36
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 0
config wifi-iface
option device rai0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname rai0
config wifi-iface
option device rai0
option network wan
option mode wet
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname apclii0

View File

@@ -12,9 +12,7 @@
"DG40*",
"EG40*"
],
"acl" : [
"admin"
],
"uplink_band": 'b',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -9,12 +9,6 @@ config defaults
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
@@ -24,10 +18,6 @@ config zone
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

View File

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

View File

@@ -1,16 +1,41 @@
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 device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option type 'bridge'
option ifname 'eth0.2 eth0.1'
option proto 'dhcp'
option vendorid 'Inteno_Repeater_$MAC4'
option hostname 'Inteno_Repeater_$MAC4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'
option hostname 'Inteno-$BSSID4'
option reqopts '66 67 128 224'
option igmp_snooping '0'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -4,98 +4,48 @@ config wifi-status 'status'
option sched_status '0'
option schedule '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 '0'
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'
config wifi-device ra0
option band b
option channel 1
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
option hwmode 11n
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'
option device ra0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname ra0
config wifi-device rai0
option band a
option channel 36
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 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'
option device rai0
option network wan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname rai0
config wifi-iface
option device ra0
option network wan
option mode wet
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
option ifname apcli0

View File

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

View File

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

View File

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

View File

@@ -1,29 +1,47 @@
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 is_lan '1'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ifname '$LAN1 $LAN2 $LAN3 $LAN4'
option ip6assign '60'
option ifname 'eth0.1 ra0 rai0'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
config interface 'wan'
option type 'anywan'
option ifname 'eth0.2'
option proto 'dhcp'
option vendorid '$HARDWAREID-INTENO'
option hostname 'Inteno_$MAC4'
option ifname 'ptm0.1 atm0.1 $WAN.1'
option ipv6 '1'
option reqopts '66 67 128 224'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'

View File

@@ -4,83 +4,37 @@ config wifi-status 'status'
option sched_status '0'
option schedule '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'
config wifi-device ra0
option band b
option channel 1
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'
option hwmode 11n
option htmode HT20
option country 'DE'
option beamforming 0
config wifi-iface
option device 'wl1'
option network 'lan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'mixed-psk'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option device ra0
option network lan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY
config wifi-device rai0
option band a
option channel 36
option bandwidth '80'
option hwmode 11ac
option htmode VHT80
option country 'DE'
option beamforming 0
config wifi-iface
option device rai0
option network lan
option mode ap
option ssid Inteno-$BSSID4
option encryption psk2
option key $WPAKEY

View File

@@ -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=m
# CONFIG_PACKAGE_ice-client-fileme is not set
CONFIG_PACKAGE_ice-client-gigaset=m
CONFIG_PACKAGE_ice-client-guest=m
CONFIG_PACKAGE_ice-client-iperf=m
@@ -31,7 +31,6 @@ 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
@@ -56,7 +55,6 @@ CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-icwmp=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-inteno-backup=y
CONFIG_PACKAGE_juci-inteno-multiwan=y
@@ -73,7 +71,6 @@ CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-printer=y
CONFIG_PACKAGE_juci-realtime-graphs=y
CONFIG_PACKAGE_juci-samba=y
CONFIG_PACKAGE_juci-simple-gui=y
CONFIG_PACKAGE_juci-snmpd=y
CONFIG_PACKAGE_juci-sysupgrade=y
@@ -86,8 +83,6 @@ 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
@@ -124,8 +119,6 @@ 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

View File

@@ -25,11 +25,6 @@ function feeds_update {
./scripts/feeds update
fi
# replace core packages with iopsys versions
if [ $override == 1 ]; then
./scripts/feeds install -f -p feed_inteno_openwrt -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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
UPDATE=0
print_git_update()
{
@@ -427,7 +427,7 @@ check_packages()
# print_git_update
git_repos_uptodate
insert_hash_in_feed_makefile
[ "${UPDATE}" ] && insert_version_in_feed_makefile
[ ${UPDATE} -eq 1 ] && insert_version_in_feed_makefile
create_message >tmp/msg
commit_feed tmp/msg
insert_hash_in_feeds_config
@@ -586,6 +586,7 @@ usage(){
# Exported interface
function update_package {
UPDATE=0
Color_Off='\033[0m' # Text Reset
# Regular Colors

View File

@@ -29,8 +29,14 @@ endef
define Build/Compile
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
define Package/layer2interface/install
$(CP) ./broadcom/* $(1)/
endef
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
define Package/layer2interface/install
$(CP) ./broadcom/* $(1)/
endef
endif
$(eval $(call BuildPackage,layer2interface))

View File

@@ -1,123 +0,0 @@
#
# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mtd-utils
PKG_VERSION:=1.5.1
PKG_RELEASE:=3
PKG_INSTALL:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=dd9f464eced6af7d5e6a4a920b727421229310f4
PKG_SOURCE_URL:=http://public.inteno.se:/mtd-utils
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
FILES:= \
docfdisk \
doc_loadbios \
flashcp \
flash_erase \
flash_lock \
flash_otp_dump \
flash_otp_info \
flash_otp_lock \
flash_otp_write \
flash_unlock \
ftl_check \
ftl_format \
imagewrite \
jffs2dump \
jffs2reader \
mkfs.jffs2 \
mtd_debug \
nanddump \
nandtest \
nandwrite \
nftldump \
nftl_format \
recv_image \
rfddump \
rfdformat \
serve_image \
sumtool
ifneq ($(CONFIG_LINUX_2_4),y)
FILES += \
mkfs.ubifs \
mtdinfo \
ubiattach \
ubiblock \
ubicrc32 \
ubidetach \
ubiformat \
ubimkvol \
ubinfo \
ubinize \
deubinize \
ubirename \
ubirmvol \
ubirsvol \
ubiupdatevol
endif
define PartGen
define Package/mtd-utils-$(subst _,-,$(1))
TITLE:=MTD $(1)
URL:=http://www.linux-mtd.infradead.org/
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=mtd-utils +zlib +liblzo +libuuid
endef
endef
define Package/mtd-utils
TITLE:=Utilities for flash info/debug
SECTION:=utils
CATEGORY:=Utilities
MENU:=1
endef
define Package/mtd-utils/description
Utilities for manipulating memory technology devices.
endef
define Package/mtd-utils/install
true
endef
$(foreach file,$(FILES),$(eval $(call PartGen,$(file))))
MAKE_FLAGS += \
DESTDIR="$(PKG_INSTALL_DIR)" \
BUILDDIR="$(PKG_BUILD_DIR)" \
LDLIBS+="$(LIBGCC_S)" \
WITHOUT_XATTR=1
ifeq ($(CONFIG_LINUX_2_4),y)
MAKE_FLAGS += \
SUBDIRS=""
endif
define PartInstall
define Package/mtd-utils-$(subst _,-,$(1))/install
$(INSTALL_DIR) \
$$(1)/usr/sbin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/sbin/$(1) \
$$(1)/usr/sbin/
endef
endef
$(foreach file,$(FILES),$(eval $(call PartInstall,$(file))))
$(eval $(call BuildPackage,mtd-utils))
$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(subst _,-,$(file)))))

View File

@@ -12,7 +12,7 @@ PKG_NAME:=peripheral_manager
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=a6eaaae28519e1b77cd6e7a95c28bf9b113afecb
PKG_SOURCE_VERSION:=2217e777ce56b53878ca467a06025db935c235eb
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/peripheral_manager

View File

@@ -20,7 +20,8 @@ service_running() {
ubus -t 2 wait_for button
}
stop() {
service_stop /sbin/peripheral_manager
stop_service() {
ubus call leds set '{"state":"alloff"}'
service_stop /sbin/peripheral_manager
}

View File

@@ -130,7 +130,10 @@ set_port_pause() {
}
start_service() {
check_for_config
[ -f /sbin/db ] && check_for_config
[ -f /usr/sbin/ethswctl -a -f /usr/sbin/ethctl ] || return
config_load ports
config_foreach configure_ethports ethport
}

View File

@@ -6,9 +6,9 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=questd
PKG_VERSION:=3.1.37
PKG_VERSION:=3.1.38
PKG_SOURCE_VERSION:=ab1bd4ff34c543a5d535cb2eb70619a7fdf44995
PKG_SOURCE_VERSION:=8a89a36d534492f198305fb97da68adefccf5f5d
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/questd
@@ -19,24 +19,31 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
QUESTD_CFLAGS:=-DIOPSYS_BROADCOM
QUESTD_TARGET:=-DIOPSYS_BROADCOM
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
QUESTD_CFLAGS:=-DIOPSYS_BROADCOM
QUESTD_TARGET:=-DIOPSYS_BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
QUESTD_CFLAGS:=-DIOPSYS_MARVELL
QUESTD_TARGET:=-DIOPSYS_MARVELL
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
QUESTD_CFLAGS:=-DIOPSYS_LANTIQ
QUESTD_TARGET:=-DIOPSYS_LANTIQ
else ifeq ($(CONFIG_TARGET_iopsys_ramips_ex400),y)
QUESTD_TARGET:=-DIOPSYS_MEDIATEK
QUESTD_CFLAGS:=\
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl-tiny
else
$(info (UNEXPECTED CONFIG TARGET))
endif
QUESTD_CFLAGS:=$(QUESTD_CFLAGS) $(QUESTD_TARGET)
export QUESTD_TARGET
export KERNEL_DIR
export QUESTD_CFLAGS
define Package/questd
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +ubus +libpthread +libdbus
DEPENDS:=+libuci +libubox +ubus +libpthread +(TARGET_iopsys_ramips_ex400):swconfig +(TARGET_iopsys_ramips_ex400):libnl-tiny
TITLE:=router info daemon
endef
@@ -53,9 +60,6 @@ define Package/questd/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/graphd $(1)/sbin/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) $(PKG_BUILD_DIR)/router.sh $(1)/usr/libexec/rpcd/router
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/wps.sh $(1)/usr/libexec/rpcd/wps
endef
$(eval $(call BuildPackage,questd))

View File

@@ -4,7 +4,7 @@ PKG_NAME:=tptest
PKG_VERSION:=1.3
PKG_RELEASE:=0
PKG_SOURCE_VERSION:=4dfab45a92328226c8182347df50e86a5d72ca5f
PKG_SOURCE_VERSION:=57786908e7a0c790f303417b459c562887582384
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/tptest

View File

@@ -12,7 +12,7 @@ PKG_VERSION:=2016.08
PKG_RELEASE:=1
PKG_SOURCE_URL:=git@private.inteno.se:uboot
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=e925b36e4e29416aac7f2a64ef40d44ef034d4c4
PKG_SOURCE_VERSION:=08fb2b839326c3bc2a2a0472b5dae6ee0288e483
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -72,9 +72,13 @@ endef
define Package/uboot/install/default
$(INSTALL_DIR) $(BIN_DIR)/$(TARGET)
$(INSTALL_DIR) $$(1)/boot
$(CP) \
$(PKG_BUILD_DIR)/uboot.img \
$(BIN_DIR)/$(TARGET)/
$(CP) \
$(PKG_BUILD_DIR)/uboot.img \
$$(1)/boot
$(INSTALL_DIR) $$(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $$(1)/usr/sbin/
ln -s /usr/sbin/fw_printenv $$(1)/usr/sbin/fw_setenv