Amin Ben Ramdhane
589d2d0002
Device.WiFi.AccessPoint.{i}.SSIDReference: allow setting an empty value
2021-03-29 16:27:45 +01:00
Amin Ben Ramdhane
8d42b6c2c2
WiFi: fix the permission of SSIDReference parameter to be conform to the standard
2021-03-29 12:17:18 +01:00
Sukru Senli
d4a9bc71e2
hosts: adapt to new topology object
2021-03-26 16:16:32 +01:00
Amin Ben Ramdhane
69e4416929
Device.Ethernet.Interface: update mapping for DuplexMode and MacBitRate parameters
2021-03-26 16:03:07 +01:00
Sukru Senli
7cec13e47d
wifi: update mapping for WiFi.Radio.{i}.AutoChannelSupported
2021-03-25 20:49:50 +01:00
Sukru Senli
8d1451f423
voice: adapt to new dtmfmode option value
2021-03-25 20:44:16 +01:00
Amin Ben Ramdhane
5717e55ac7
save dmmap files under '/etc/bbfdm/dmmap' instead of '/etc/bbfdm'
2021-03-25 19:33:30 +01:00
Amin Ben Ramdhane
5e97bdb5e4
bbf: add support for vendor extension
2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
3b44e4430a
QoS.QueueStats: allow setting an empty value for Queue and Interface parameters
2021-03-19 12:21:49 +01:00
Amin Ben Ramdhane
2b66980cd3
DHCPv{4,6}: Fix wrong object implementation
...
- Device.DHCPv4.Client.{i}.SentOption.{i}.
- Device.DHCPv4.Client.{i}.ReqOption.{i}.
- Device.DHCPv4.Server.Pool.{i}.Option.{i}.
- Device.DHCPv6.Server.Pool.{i}.Option.{i}.
2021-03-17 10:55:27 +01:00
Amin Ben Ramdhane
d4a7950800
Device.Bridging.Bridge.{i}.VLAN.: fix of segfault in set method
2021-03-17 10:55:18 +01:00
Sukru Senli
1904a2fbd4
UserInterface: remove obsoleted implementation
2021-03-13 11:02:35 +01:00
Omar Kallel
3e4dd19581
Fix set/get of the parameter Device.ManagementServer.PeriodicInformTime
2021-03-11 12:13:14 +01:00
Amin Ben Ramdhane
f9d220ad3b
Device.Ethernet.Link.{i}.Stats.: Add support for missing stats parameters
2021-03-09 16:56:35 +01:00
Amin Ben Ramdhane
794104a974
bbf: Add support for Device.FAST.Line.{i}.Stats, Device.DSL.Line.{i}.Stats and Device.DSL.Channel.{i}.Stats parameters
2021-03-05 15:05:04 +01:00
Amin Ben Ramdhane
1851a3b345
NAT: keep the default section name when adding a new object
2021-03-05 15:04:28 +01:00
Daniel Danzberger
3f78b737d8
tr181: bridge: fix stack corruption and overflow
...
Increase the size of linker_buf to avoid buffer overflows and
thereby stack corruption.
NOTE: this is just a workaround and not a real fix !
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-03-03 08:12:58 +01:00
Daniel Danzberger
58e0e1f811
tr181: qos-openwrt: Minor coding style fixes
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-03-02 08:41:54 +01:00
Daniel Danzberger
f322976922
tr181: Add missing symbols for openwrt builds
...
Fixes these linker errors when building with --generic-openwrt
/usr/bin/ld: /usr/local/lib/libbbfdm.so: undefined reference to `os_get_supported_modes'
/usr/bin/ld: /usr/local/lib/libbbfdm.so: undefined reference to `os_set_QoSClassification_DestVendorClassID'
/usr/bin/ld: /usr/local/lib/libbbfdm.so: undefined reference to `os_get_QoSClassification_DestVendorClassID
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-03-02 08:39:07 +01:00
Amin Ben Ramdhane
4ffc18c1af
InterfaceStack: fix segfault on browseInterfaceStackInst
2021-03-01 13:48:40 +01:00
Amin Ben Ramdhane
f46d263952
Ticket refs #4374 : fix object Add for the whole data model
2021-02-28 21:50:29 +01:00
Amin Ben Ramdhane
8f681b3e86
NAT: add support for LeaseDuration parameter
2021-02-21 20:59:10 +01:00
Sukru Senli
4287403de7
Revert "NAT: add support for LeaseDuration parameter"
...
This reverts commit dca35827c7 .
2021-02-19 19:25:52 +01:00
Amin Ben Ramdhane
a5e5fa26a8
DSL: set the default LinkEncapsulationUsed to 'G.993.2_Annex_K_PTM' if link_encapsulation_used is auto
2021-02-19 17:38:13 +01:00
Omar Kallel
33efd68d76
Add to Device.DSL.Channel. and Device.FAST.Line dmmap linkers to set/get Device.ATM/PTM.Link.*.LowerLayers parameters
2021-02-19 16:42:42 +01:00
Amin Ben Ramdhane
bc71c91903
Ticket refs #4283 : Map Device.WiFi.AccessPoint/EndPoint.{i}.Security.ModesSupported to ubus objects
2021-02-19 15:46:06 +01:00
Amin Ben Ramdhane
dca35827c7
NAT: add support for LeaseDuration parameter
2021-02-19 15:43:49 +01:00
Amin Ben Ramdhane
fcbe0daf80
Ticket refs #3392 : implement Device.Firewall.Chain.{i}.Rule.{i}.ExpiryDate parameter
2021-02-19 15:43:41 +01:00
Amin Ben Ramdhane
58ff5de657
bbf: implement Device.PPP.Interface.{i}.IPv6CP.RemoteInterfaceIdentifier parameter
2021-02-19 15:23:07 +01:00
Amin Ben Ramdhane
23a556d273
Device.Firewall.Chain.{i}.Rule.{i}.: SourceInterface and DestInterface cannot be set to empty string
2021-02-19 10:57:46 +01:00
Amin Ben Ramdhane
14f638fa53
Ticket refs #3794 : implement Device.DHCPv4.Server.Enable parameter
2021-02-18 10:59:53 +01:00
Omar Kallel
d58a860915
Fix parameters Device.ATM.Link.*.LowerLayer && Device.PTM.Link.*.LowerLayer
2021-02-16 18:45:34 +01:00
Amin Ben Ramdhane
cdad11d92d
Ticket refs #4386 : dm_validate_string in libbbf_api requires length of enumeration and pattern arrays to be hardcoded at caller
...
- use NULL-terminated arrays instead of providing length by the caller
2021-02-15 21:13:18 +01:00
Amin Ben Ramdhane
844f19b794
bbf: wrong behavior when configuring interface section with dhcp proto
...
- Device.DHCPv{4,6}.Client.{i}: fix add/delete method
- Device.DHCPv4.Client.{i}: fix set method of Interface parameter
- Remove automatic and unwanted DHCPv4.Client instances from the config
- Creation of new Device.DHCPv4.Client object should not automatically create a new Device.IP.Interface object instance
- Align DHCPv{4,6}.Client parameters with the new changes
- Comment out Device.IP.Interface.{i}.AutoIPEnable parameter
2021-02-12 17:40:17 +01:00
Amin Ben Ramdhane
99c27927de
PPP.Interface.: Add support for IPCP and IPv6CP objects
2021-02-12 12:41:55 +01:00
Amin Ben Ramdhane
679083337d
move get_net_device_status function to dmcommon.c file
2021-02-11 19:17:58 +01:00
Amin Ben Ramdhane
b90c069971
add support for all operstate mappings related to Status parameter
2021-02-11 18:31:59 +01:00
Amin Ben Ramdhane
d5a55c8f4c
ATM,PTM: remove unknown status
2021-02-11 16:11:16 +01:00
Amin Ben Ramdhane
20d5f3bf82
ATM,PTM: Add support for Enable parameter
2021-02-11 14:13:22 +01:00
Amin Ben Ramdhane
9d3f12e527
ATM,PTM: get Status value from sysfs instead of hard coding it
2021-02-11 11:55:07 +01:00
Amin Ben Ramdhane
92d1f62cab
bbf: cleanup
...
- fix flawfinder and cppcheck issues
- remove all unused functions
2021-02-10 17:31:55 +01:00
Amin Ben Ramdhane
a528164bad
NAT: Correct UCI mapping for PortMapping object
2021-02-09 21:54:01 +01:00
Amin Ben Ramdhane
db5b6edb09
NAT: Set the default interface when setting allInterface parameter to 1 if it is not defined
2021-02-09 21:51:34 +01:00
Amin Ben Ramdhane
fde0ce36bc
NAT: update the mapping of some parameters
...
- Device.NAT.PortMapping.{i}.RemoteHost
- Device.NAT.PortMapping.{i}.ExternalPort
- Device.NAT.PortMapping.{i}.ExternalPortEndRange
- Device.NAT.PortMapping.{i}.InternalPort
2021-02-09 15:54:01 +01:00
Amin Ben Ramdhane
a554ef855b
Device.NAT.PortMapping.: implement AllInterfaces and LeaseDuration parameters
2021-02-08 22:24:13 +01:00
Amin Ben Ramdhane
54e296a989
Routing: use 'l3_device' instead of 'device' to find the corresponding interface for dynamic routes
2021-02-06 22:21:57 +01:00
Amin Ben Ramdhane
a3afc20ea8
bbf: do not use deprecated openssl functions
2021-02-04 10:50:38 +01:00
Hemlata Bhatt
562530a205
Ticket 4176: TR-104: incorrect implementation of CallControl.Line.{i}.DirectoryNumber parameter
2021-02-03 17:14:33 +01:00
Amin Ben Ramdhane
29568bf0b8
InterfaceStack: radio alias value is incorrect when using multiple ssids
2021-02-02 22:47:29 +01:00
Amin Ben Ramdhane
a027c5097d
Routing: Multiple fixes
...
- Device.Routing.Router.{i}.IPv4Forwarding.{i}.: fix a crash in add method
- Device.Routing.Router.{i}.IPv{4,6}Forwarding.{i}.: implement the delete method for all instances instead of returning 9005 error
- Device.Routing.Router.{i}.IPv6Forwarding.{i}.ForwardingPolicy: change its default permission according to the standard
- Device.Routing.Router.{i}.IPv6Forwarding.{i}.Alias: fix get/set method
- Update the default value of DMRouting struct in order to fix the setting of parameters via obuspa
2021-02-02 15:07:16 +01:00