Commit graph

558 commits

Author SHA1 Message Date
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
Amin Ben Ramdhane
db54efa61d Device.(ATM/PTM).Link.{i}.LowerLayers: fix its value after updating the DSL index 2020-12-30 20:44:44 +01:00
Amin Ben Ramdhane
00adaec949 Device.DSL.Channel.{i}.Status: add the missing cases according to the standard 2020-12-30 20:44:34 +01:00
Omar Kallel
07975229f1 make diagnostics functions work for both usp and cwmp 2020-12-30 17:31:44 +01:00
Omar Kallel
54748ddb63 Make ip_diagnostics_download function works for both usp and cwmp 2020-12-30 17:11:10 +01:00
Amin Ben Ramdhane
c78385f681 Device.DHCPv4.Client.{i}.: Improve browse function 2020-12-29 14:29:19 +01:00
Amin Ben Ramdhane
eb6cfb5418 Device.DHCPv6.Server.Pool.{i}. list includes dhcp sections which are ignored by dnsmasq 2020-12-29 13:57:59 +01:00
Amin Ben Ramdhane
87abe6584e Ticket refs #4077: Device.Users.User.{i}.Username can be set to Empty value 2020-12-29 13:43:42 +01:00
Amin Ben Ramdhane
e87fa6b703 Tikcet refs #4075: Device.DHCPv4.Server.Pool.{i}. list includes dhcp sections which are ignored by dnsmasq 2020-12-29 13:42:54 +01:00
Amin Ben Ramdhane
0a9402b179 Ticket refs #4072: Device.DHCPv4.Client.{i}. object IPRouters and SubnetMask parameters are not implemented correctly 2020-12-29 10:33:15 +01:00
Sukru Senli
53f1c84119 dhcpv4: using _ in option name causing dnsmasq not to start 2020-12-27 11:30:42 +01:00
Amin Ben Ramdhane
15ed15c476 Device.IP.Interface.{i}.IPv6Prefix.{i}.Origin: fix its invalid value DHCPv6 -> PrefixDelegation 2020-12-23 17:10:23 +01:00
Amin Ben Ramdhane
75759e1c6e Device.FAST.Line.{i}.UPBOKLE: fix its type 2020-12-23 16:05:59 +01:00
Amin Ben Ramdhane
9526c01615 Device.DeviceInfo.Processor.{i}.Architecture: add aarch64 as arm architecture 2020-12-23 16:05:09 +01:00
Amin Ben Ramdhane
7b308da4d7 Device.WiFi.SSID.{i}.MACAddress: read the value from sysfs instead of ubus 2020-12-23 15:29:04 +01:00
Amin Ben Ramdhane
8d293b4b3f Device.DeviceInfo.ProcessStatus.Process.{i}.State: change the value to 'Idle' if the state is unknown 2020-12-23 15:15:46 +01:00
Amin Ben Ramdhane
d73e353113 FAST: Fix some invalid enumeration values
Device.FAST.Line.{i}.AllowedProfiles ==> show only the value allowed by the standard ["106a", "212a"]
Device.FAST.Line.{i}.CurrentProfile ==> change the value to empty if the profile is unknown
2020-12-23 15:12:18 +01:00
Amin Ben Ramdhane
e34475382f DSL: update index to 1 for dsl.line/dsl.channel and fix the current value of CurrentProfile parameter 2020-12-23 14:56:29 +01:00
Amin Ben Ramdhane
de422c013a IEEE1905: Fix some invalid enumeration values
- Device.IEEE1905.Version ==> set the default value to '1905.1' if its ubus is empty
- Device.IEEE1905.AL.Status ==> set the default value to 'Disabled' if its ubus is empty
- Device.IEEE1905.AL.RegistrarFreqBand ==> set the default value to '802.11 5 GHz' if its ubus is empty
- Device.IEEE1905.AL.NetworkTopology.Status ==> change the 'available' value to the correct enum name 'Available'
- Device.IEEE1905.AL.NetworkTopology.ChangeLog.{i}.EventType ==> the value is 'NewNeighbor' if its ubus value is 'add' otherwise 'LostNeighbor'
2020-12-23 14:24:38 +01:00
Amin Ben Ramdhane
8c25b2ff87 Device.Routing.Router.1.IPv6Forwarding.{}.Origin: set it to DHCPv6 if the route is dynamic 2020-12-23 09:48:38 +01:00
Amin Ben Ramdhane
ae196c5459 SoftwareModules: move it from TR157 to TR181 folder 2020-12-21 20:47:04 +01:00
vdutta
85e1965ab9 Array out of bound check 2020-12-18 15:29:38 +05:30
Omar Kallel
301cbd0bed Fix libbbf_api warning 2020-12-17 12:50:20 +01:00
Omar Kallel
e73024d706 remove the use of dm_enabled_notify file && other cleanup 2020-12-17 12:34:34 +01:00
Amin Ben Ramdhane
2933c82ea8 Fast: fix Static Code Analysis 2020-12-17 11:24:26 +01:00
Jani Juvan
ae432c536d bbf: #902 - Add G.fast support to TR-181 2020-12-16 17:25:57 +01:00
Jani Juvan
ffc89e9218 bbf: update indexing and some minor bugfixes for DSL in TR-181 2020-12-16 15:22:01 +01:00
Omar Kallel
ce28fb9ed5 Enhance the function network_get_ipaddr 2020-12-16 11:32:36 +01:00
Amin Ben Ramdhane
b9a12b057b remove tr064 feature and cleanup 2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
3906faa12d Ticket refs #3730: bbf: fix Static Code Analysis 2020-12-16 10:00:19 +01:00
Omar Kallel
3d4ac802c2 Delete some unused functions && get ip_version from cwmp uci config 2020-12-15 15:25:43 +01:00