Commit graph

251 commits

Author SHA1 Message Date
vdutta
306d79a86a Configure ssl library
- Remove libbbf_api dependency from libbbfdm
2022-04-13 15:50:44 +05:30
Erik Karlsson
78751e0fc9 dmcommon: remove unused pipe in dmcmd
This avoids leaking file descriptors and potential deadlock in case
the command fills the pipe. Output is sent to /dev/null and dmcmd will
return the exit status instead of a file descriptor.
2022-04-04 13:22:24 +02:00
Erik Karlsson
b120f60f60 dmcommon: handle empty string correctly in remove_new_line 2022-04-04 11:35:46 +02:00
Amin Ben Ramdhane
5a2aba3430 WiFi.DataElements.: Add support for ChannelScanRequest() operate 2022-03-22 19:31:03 +01:00
Amin Ben Ramdhane
7739a90d11 T#7625: Empty MacAddress for VLAN interface 2022-03-18 17:54:22 +01:00
Amin Ben Ramdhane
df6e164c9e WiFiDataElements: Added support for missing objects/parameters and updated mappings 2022-03-17 11:45:01 +01:00
vdutta
8892e6784e Added pseudo blocking call for firmware upgrade 2022-03-14 12:45:15 +05:30
Amin Ben Ramdhane
a2db2419dc T#7156: use cron job to handle schedule Activate firmware image 2022-03-11 10:44:20 +00:00
Amin Ben Ramdhane
c7ffc5afd4 bbf: Update the validate function of boolean parameters 2022-02-23 17:18:50 +00:00
suvendhu
889c15feeb Fix ticket#7333 fix cppcheck warnings 2022-02-22 18:24:19 +05:30
Suvendhu Hansa
e6ff70f5d5 B#7328 extra object added under device after almac change 2022-02-18 06:51:33 +00:00
vdutta
d522d8011b Fix static code warnings 2022-02-17 16:41:10 +05:30
Amin Ben Ramdhane
080f7b4f85 Ticket refs #7333: fix warnings, code analysis and clean up the code
- Fix all errors catched by cppcheck threadsafety (cppcheck --error-exitcode=0 --addon=threadsafety bbf)
 - Fix some errors catched by cppcheck cert (cppcheck --error-exitcode=0 --addon=cert bbf)
 - Add new str-protected macros instead of using str functions directly to avoid crashes
2022-02-16 10:33:59 +00:00
Amin Ben Ramdhane
51466d9ad8 Ticket refs #7147: Issue of creating both DHCPv4 and DHCPv6 address for Interface 2022-02-04 23:41:21 +01:00
Amin Ben Ramdhane
52e6a80306 DHCPv4: update implementation
- Don't create a network interface when adding a new 'DHCPv4.Client.' instance, therefore the network interface will only be managed with 'Device.IP.Interface.' object
2022-02-03 12:28:16 +01:00
Amin Ben Ramdhane
b265b8ca8b LowerLayers: fix empty linker 2022-01-24 20:16:31 +01:00
suvendhu
74b65edade WiFi scanresult to wait for scan_finished or 30sec timeout 2022-01-24 09:44:46 +00:00
Amin Ben Ramdhane
bae4f6238f bbf: replace disallowed characters from uci section name 2022-01-18 17:08:20 +01:00
vdutta
2ccba8af73 Simplify management server url 2022-01-14 20:49:06 +05:30
Amin Ben Ramdhane
c3ea9e5597 Ticket refs #6892: Parameters used for pathname reference cannot be set to empty 2022-01-10 10:20:03 +01:00
vdutta
29f8051364 Get DeviceId specific parameter from cwmp
- CWMP DeviceId specific parameters first read from cwmp uci
  if not present, it fallback to default db.
2022-01-07 16:59:17 +05:30
Amin Ben Ramdhane
10c5029c67 Device.Time.CurrentLocalTime: Fix time format
- Update timezone format from '+hhmm' or '-hhmm' to '+hh:mm' or '-hh:mm'
2021-12-27 14:47:48 +01:00
Amin Ben Ramdhane
33ebba5b76 Ticket refs #6873: Failed to change MacVlan interface to non-MacVLAN interface 2021-12-26 13:09:17 +01:00
Amin Ben Ramdhane
e4183a29ed bbf: Update TRACE macro 2021-12-21 12:43:55 +01:00
Amin Ben Ramdhane
65939b90aa bbf: add a header file for libbbf_api 2021-12-20 15:43:08 +00:00
Vivek Kumar Dutta
b22628c0dd Get ConnectionRequestURL using ioctl if ifstatus returns empty 2021-12-13 10:14:07 +00:00
Amin Ben Ramdhane
2486dffd24 Simulate dump2 Multi-AP setup && Fix a crash 2021-12-13 08:24:06 +00:00
Amin Ben Ramdhane
591d7ac3c5 WiFi: Implement MultiAP datamodel based on TR181-2.15 2021-12-10 14:15:48 +01:00
Amin Ben Ramdhane
8d2581bacb bbf: fix a crash when the 'access' option is not defined in the JSON file 2021-11-26 09:42:12 +01:00
Amin Ben Ramdhane
35633a3bc8 Ticket refs #6623: remove static code analysis warnings 2021-11-22 11:47:14 +01:00
Amin Ben Ramdhane
7bc286f7e1 define DM_MAP_OPERATE as deprecated structure 2021-11-11 12:05:50 +01:00
vdutta
c364c99501 Stage var state uci 2021-11-09 17:21:37 +01:00
Omar Kallel
c7c87df049 Ticket #6359: icwmp: Reduce I/O on filesystem 2021-11-09 17:21:20 +01:00
Omar Kallel
01d36c0edf Revert "Ticket #6359: icwmp: Reduce I/O on filesystem"
This reverts commit 4e512e588e.
2021-11-09 16:53:34 +01:00
Omar Kallel
dc642082f9 Revert "Stage var state uci"
This reverts commit 2ea9a2e311.
2021-11-09 16:49:22 +01:00
vdutta
2ea9a2e311 Stage var state uci 2021-11-09 16:14:29 +01:00
Omar Kallel
4e512e588e Ticket #6359: icwmp: Reduce I/O on filesystem 2021-11-09 16:14:18 +01:00
Amin Ben Ramdhane
c88074d9c2 reduce unused memory allocation 2021-11-08 17:33:20 +01:00
Suvendhu Hansa
d0a593e257 Optimized algorithm for dmubus_call 2021-11-03 15:22:10 +00:00
Neeraj Bijalwan
2864ddeacd Add version in parameters 2021-11-03 09:30:12 +01:00
Amin Ben Ramdhane
f51f84d647 Ticket refs #6099: JSON method doesn't support passing the index in path argument 2021-11-01 13:44:30 +01:00
suvendhu
d895f2d4cd Support of event and operates from json plugin 2021-10-29 12:55:21 +00:00
vdutta
0f3a18aef6 Fix get schema for dynamic plugins 2021-10-29 10:46:22 +05:30
Neeraj Bijalwan
aa17126d32 Added API to get supported datamodel
- New API "bbf_dm_get_supported_dm" to get the schema for all
  objects/params/events/commands at once
2021-10-27 06:16:33 +00:00
Amin Ben Ramdhane
7f8d825a52 Improve memory api 2021-10-22 12:35:32 +01:00
Amin Ben Ramdhane
d04a757b2c Add input value validation to vendor extension mechanisms 2021-10-22 12:35:02 +01:00
vdutta
7bda46a39a Fix CurrentLocalTime format 2021-10-05 19:11:26 +05:30
Omar Kallel
6b1eca2873 get varstate uci option with confdir instead of savedir 2021-10-05 14:31:44 +01:00
Amin Ben Ramdhane
c56a828512 Ticket refs #6166: vendorid, hostname and clientid cannot be set via TR069 2021-10-01 17:35:35 +01:00
Amin Ben Ramdhane
4226c94946 Add more configs to cover all datamdoel and fix some memory leaks 2021-09-30 14:55:32 +01:00