Commit graph

588 commits

Author SHA1 Message Date
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
Feten Besbes
2d3aba05a0 Bridging: fix a segmentation fault when calling set method of Device.Bridging.Bridge.{i}.VLANPort.{i}.VLAN 2021-02-01 19:47:16 +01:00
Amin Ben Ramdhane
af86cbf2f5 Ticket refs #4300 & #4301 : Device.Routing.Router.{i}.{IPv4,IPv6}Forwarding instance created with incorrect default value
*/ add support for route6_disabled section when disabling static route6
*/ Fix set method of Device.Routing.Router.{i}.IPv4Forwarding.{i}.Enable
*/ Fix get/set method of Device.Routing.Router.{i}.IPv6Forwarding.{i}.Enable
*/ below the list of fixed parameters:

 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.DestIPAddress should be empty
 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.DestSubnetMask should be empty
 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.Enable should be false
 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.Status should be Disabled
 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.GatewayIPAddress should be Empty
 - Device.Routing.Router.{i}.IPv4Forwarding.{i}.ForwardingMetric should be -1
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.DestIPPrefix should be empty
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.NextHop should be empty
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.Interface should be empty
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.Enable should be false
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.Status should be Disabled
 - Device.Routing.Router.{i}.IPv6Forwarding.{i}.ForwardingMetric should be -1
2021-02-01 15:56:39 +01:00
Amin Ben Ramdhane
6f9a6c8769 Ticket refs #4302: Device.QoS.Queue. instance created with incorrect default value
Here is the list of fixed parameters:

 - Device.QoS.Queue.{i}.TrafficClasses should be empty
 - Device.QoS.Queue.{i}.Precedence should be 1
 - Device.QoS.Queue.{i}.ShapingRate should be -1
 - Device.QoS.Queue.{i}.SchedulerAlgorithm should be SP
2021-02-01 15:56:29 +01:00
Amin Ben Ramdhane
70c5c51bf0 bbf: upgrade to 2.14 2021-02-01 15:56:20 +01:00
Amin Ben Ramdhane
48e4df1393 FAST.Line.: fix the get method of SNRMRMCds and SNRMRMCus 2021-02-01 15:56:10 +01:00
Amin Ben Ramdhane
5be84f01e3 DSL: update the mapping of some parameters 2021-02-01 15:56:00 +01:00
Amin Ben Ramdhane
9c70a16884 bbf: add the missing pattern => "^$" 2021-02-01 15:55:51 +01:00
Amin Ben Ramdhane
3b0a5a08f0 DSL: LinkEncapsulationSupported => add support for G.994.1 2021-01-29 13:57:07 +01:00
Amin Ben Ramdhane
1afaa474e6 Firewall: show DestMask and SourceMask values with the format 'IPAddress/Prefix' instead of '/Prefix' 2021-01-28 16:47:13 +01:00
Sukru Senli
727a9c8878 dsl: default LinkEncapsulationUsed to G.993.2_Annex_K_PTM 2021-01-28 14:57:35 +01:00
Amin Ben Ramdhane
f17dfc929a Device.IP.Interface.{i}.MaxMTUSize: read its value from sysfs 2021-01-28 11:45:18 +01:00
Amin Ben Ramdhane
bd92aa3b86 Ticket refs #4281: Device.Firewall.Chain.{i}.Rule.{i}. invalid IPPrefix value of DestMask and SourceMask parameters 2021-01-28 10:47:44 +01:00
Amin Ben Ramdhane
3258396176 Ticket refs #4279: AddressingType and Origin parameters not IPCP when proto is PPPoE 2021-01-26 17:56:54 +01:00
Amin Ben Ramdhane
4631504931 Ticket refs #4282: Device.IP.Interface.{i}.MaxMTUSize parameter is mapped incorrectly 2021-01-26 14:49:53 +01:00
Daniel Danzberger
1a8c349787 openwrt: add libcurl dependency
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-01-26 04:25:58 +01:00
Amin Ben Ramdhane
dd08e11ee1 fix compiler warnings on x86 and staic code analysis 2021-01-25 19:31:56 +01:00
Amin Ben Ramdhane
e240579676 Ticket refs #3390: Device.Briding.Bridge. incorrect behavior with multiple SSIDs 2021-01-25 19:31:47 +01:00
Amin Ben Ramdhane
01817a9ae0 WiFi: Add support for WPA3 security modes 2021-01-25 09:50:11 +01:00
Daniel Danzberger
ad74bff866 configure: Fix overwriting -ldl with -lcurl
This caused the libbbfdm.so not beining linked against -ldl direclty.
It might not have caused any issues because the linker adds it as
depenency of other libraries like libcurl when resolving symbols.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-01-25 04:23:21 +01:00
Sukru Senli
b569a78b65 firewall: add support for Rule.{i}.Log parameter 2021-01-22 13:26:50 +01:00
Amin Ben Ramdhane
ed06627492 Ticket refs #3890: Device.IP.Interface.{i}.IPv6Address.{i}. object is not listing Link-Local addresses 2021-01-21 14:47:51 +01:00
Amin Ben Ramdhane
af7190b6c5 Ticket refs #4207: Adding static route via UCI network config is causing libbbf to crash when Device.Routing object is queried 2021-01-20 21:52:46 +01:00
sverma
1020381868 bbf: Support added for wfadatad associated/disassociated STA events. 2021-01-20 19:24:29 +00:00
Amin Ben Ramdhane
cced3a7f8d IP.Interface: interface proto can't be set to static if it is dhcp by default 2021-01-20 09:36:25 +01:00
Amin Ben Ramdhane
e6e4ab1353 Ticket refs #3937: Device.WiFi.(AccessPoint|EndPoint).{i}.Security.ModeEnabled cannot be set to WEP-128 2021-01-19 09:24:58 +01:00
jjoseph
8f36897a14 bbf: Bug #4134: QoS: tr181, add inner vid config support on iop6
-Added support of configuration of inner_vid for L2 deployments via TR181
2021-01-17 18:32:29 +01:00
Jomily K Joseph
26c684593c bbf : #3969 TR-181: Add Device.Bridging.ProviderBridge.{i} support (REBASE)
- Add support for provider bridge on devel
2021-01-17 17:05:59 +00:00
Amin Ben Ramdhane
4ab2c7d9e6 QoS.QueueStats: optimize and improve the code && fix OpenWrt compilation
- get/set: read the option value from the passed section in browse function
 - fix compilation on OpenWrt platform
 - optimize and improve the code
2021-01-15 21:37:27 +01:00
jjoseph
68e2d7b99e bbf : Feature #716 : TR-181: Device.QoS object
- Added support for Device.QoS.QueueStats object from TR181.
- The values are fetched from the below ubus call:
  ubus call qos queue_stats '{"ifname":"eth0","qid":"0"}'
- Tested add/delete for QueueStats object via usp.
- Tested set/get for the QueueStats params via usp.
2021-01-15 16:52:36 +00:00
Amin Ben Ramdhane
d87298f760 Firewall: implement CreationDate parameter 2021-01-15 16:47:17 +01:00
Amin Ben Ramdhane
64fbc65737 Firewall: Fix Static Code Analysis 2021-01-15 16:19:47 +01:00
Amin Ben Ramdhane
cf552c33c3 Firewall: fix get/set of SourceInterface and DestInterface after implementing SourceAllInterfaces and DestAllInterfaces 2021-01-15 15:49:37 +01:00
Amin Ben Ramdhane
7a7c01fec7 Revert "Firewall: set SourceAllInterfaces and DestAllInterfaces => do nothing if the current value is equal to the settable value"
This reverts commit ccecc9cd28.
2021-01-15 11:42:04 +01:00
Amin Ben Ramdhane
ccecc9cd28 Firewall: set SourceAllInterfaces and DestAllInterfaces => do nothing if the current value is equal to the settable value 2021-01-15 10:18:13 +01:00
Sukru Senli
28bf165bfe firewall: add SourceAllInterfaces and DestAllInterfaces parameters 2021-01-14 21:17:54 +01:00
Amin Ben Ramdhane
c113f8a8a0 bbf: fix the crash on startup 2021-01-13 17:58:50 +01:00
Amin Ben Ramdhane
b12bc93bec MLD: fix Static Code Analysis 2021-01-13 11:07:35 +01:00
Rahul
91a059902a bbf: extend mld data object
To add support for:
- immediate leave
- last member query interval
2021-01-13 10:41:47 +01:00
Rahul
2eb6b27e8c bbf: extend igmp snooping
Add support for configuration of immediate leave and last member
query interval in snooping as well.
2021-01-12 22:35:28 +01:00
Sukru Senli
1f959ab0a7 wifi: do not consider wifi-iface with mode wet as EndPoint 2021-01-11 21:05:42 +01:00
Amin Ben Ramdhane
764fff3088 Device.DHCPv4.Relay.Forwarding.{i}.: Improve browse function 2021-01-11 12:08:47 +01:00
Amin Ben Ramdhane
8573e54f95 DHCPv{4,6}.Server.Pool.: Fix add/delete method 2021-01-08 11:17:59 +01:00
Amin Ben Ramdhane
8a369fda5d DHCP: fix a crash when dhcp_option has a wrong value 2021-01-06 23:01:38 +01:00
Amin Ben Ramdhane
3f9767796f Diagnostics: proto has no effect after new changes affected in icwmp 2021-01-04 10:22:21 +01:00
Amin Ben Ramdhane
eef08e0770 bbf: remove the call to icwmp shell script 2021-01-04 10:22:12 +01:00
Omar Kallel
8b589c63c3 Not trigger new cwmp session from diagnostics scripts 2020-12-31 18:08:32 +01:00
Amin Ben Ramdhane
dbe2a9c521 DownloadDiagnostics: use curl instead of wget 2020-12-31 13:12:26 +01:00
Amin Ben Ramdhane
9464e6e04f Device.Services.VoiceService.{i}.CodecProfile.{i}.Codec: must be readable and its value must refer to 'Device.Services.VoiceService.{i}.Capabilities.Codec.{i}.' according to standard 2020-12-30 20:44:53 +01:00