Jaehyun Kim [Tue, 16 Jul 2024 06:49:20 +0000 (15:49 +0900)]
Call get_backend and put_backend APIs only once
Since hal_wifi_get_backend() is being called again
without calling hal_wifi_put_backend() after calling hal_wifi_get_backend(),
a memory leak is occurring internally.
Accordingly, net-config has been modified
to call the APIs only once at startup and termination.
Change-Id: Ib72b41b3c42eb91a1d02c26afec35a51a1e60179
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 22 Apr 2024 10:20:39 +0000 (19:20 +0900)]
Fix the logic for checking config_id
In the config_id validity check logic,
it only check whether config_id is in the hex value range or is an unerscore.
But this is causing problems because in reality
it can contain all lowercase letters.
So it was modified to also check for lowercase letters.
* This is a side effect caused by the following patch.
- Fix Stack buffer overflow and Path traversal
Change-Id: I23d0ebc1cc38b9f9e526df38539155c2308257eb
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 11 Apr 2024 08:34:42 +0000 (17:34 +0900)]
Fix Stack buffer overflow and Path traversal
Fix security vulnerabilities.
- Stack buffer overflow issue in __netconfig_trigger_netlink_scan
- Path traversal issue in DeleteEapConfig method
- Path traversal issue in CreateEapConfig method
Change-Id: I76ef04f98cdb28926901899f511c80e6162f89ad
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 20 Mar 2024 05:56:44 +0000 (14:56 +0900)]
Check validity of config_id when saving WiFi conf
Change-Id: Ie64319a22578b1409017d9e03cbb09a46edbbff6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 4 Apr 2024 07:26:46 +0000 (07:26 +0000)]
Merge "Add dbus method for getting wifi passphrase" into tizen
Jaehyun Kim [Tue, 26 Mar 2024 07:29:50 +0000 (16:29 +0900)]
Fix resource leak
Change-Id: Ie7628eaa20fed0c1d9c5620e30ad5bd1363c7000
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 20 Mar 2024 08:21:16 +0000 (17:21 +0900)]
Add dbus method for getting wifi passphrase
This is the dbus method only for the internal modules
with special privileges.
Change-Id: I17bc91d9e4b35eea76e9c2245b37ff1121aba87b
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 11 Mar 2024 06:03:54 +0000 (15:03 +0900)]
Fix NULL dereferencing
Change-Id: I6f261d230e823b086b02fe39c45f2ba957bbdb08
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 30 Jan 2024 08:50:15 +0000 (17:50 +0900)]
Support EUC-KR ssid in netlink scan
Change-Id: Ia030e0b47219e6e44c500043cf1008e0f7d2adfa
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 3 Jan 2024 09:23:29 +0000 (18:23 +0900)]
Fix unnecessary background scan attempts
There is a problem with the background scan timer
not being removed properly when powering off.
This has been fixed as there were cases
where scans were attempted unnecessarily.
Change-Id: I4e098ed64c4e18e58b242b08633040cf8c4a350d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 22 Dec 2023 12:42:18 +0000 (12:42 +0000)]
Merge "Rectify gvariant type for frequency" into tizen
Anjali Nijhara [Fri, 22 Dec 2023 06:25:39 +0000 (11:55 +0530)]
Fix SVACE Issue
WGID : 587604
Change-Id: Ibb30b215655647e99cddd4c7693b4220423e2033
Anjali Nijhara [Thu, 21 Dec 2023 03:59:04 +0000 (09:29 +0530)]
Rectify gvariant type for frequency
Change-Id: I09a06ab156427561b4d9389bc3d4404662b4c96a
Jaehyun Kim [Thu, 30 Nov 2023 04:14:48 +0000 (13:14 +0900)]
Fix "Modified" is missing when saving wifi config
Change-Id: I9c9daeb653a756d564d2d471760cd31a6283a1e5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Anjali Nijhara [Wed, 29 Nov 2023 05:34:06 +0000 (11:04 +0530)]
Fix SVACE Issue
WGID : 554015
Change-Id: Ic703a5cbc2c9c7eb4cea47a58e697bb5fc2ebf25
Anjali Nijhara [Mon, 6 Mar 2023 11:12:46 +0000 (16:42 +0530)]
Fix build errors w.r.t upgraded Libbpf Version
Change-Id: I3a24495ec513ac6c1ffc473db5fe1c5d8b88a385
Jaehyun Kim [Tue, 19 Sep 2023 13:26:50 +0000 (22:26 +0900)]
Support 6GHz band for channels and RSSI level
Change-Id: I4fa37274dc1a50c7bd659f494339c6fcdffb076a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
wchang kim [Fri, 30 Jun 2023 06:25:00 +0000 (15:25 +0900)]
Fixed the build error using gcc 13
Change-Id: Iefa363988270a08551e398e9d8f2c5bf12fc1ba7
Anjali Nijhara [Tue, 20 Jun 2023 15:02:56 +0000 (20:32 +0530)]
Handle Time update policy based on vconfkey value
Change-Id: I26e78e0c37db2723b8c16ee6925802a5a437c88b
Manika Shrivastava [Tue, 20 Jun 2023 08:58:06 +0000 (14:28 +0530)]
Add dbus method to UnsetNtpServer.
Change-Id: I8a130c85069205cb8185df1684ef1794d2508de6
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Jaehyun Kim [Thu, 22 Jun 2023 12:54:43 +0000 (12:54 +0000)]
Merge "Fix Coverity Issue" into tizen
Anjali Nijhara [Fri, 16 Jun 2023 11:29:05 +0000 (16:59 +0530)]
Add new dbus method for setting NTP Server
Change-Id: Ib6151577ba3c32b034dc03c8b76029f5b1c3fb82
Anjali Nijhara [Mon, 19 Jun 2023 11:23:57 +0000 (16:53 +0530)]
Fix Coverity Issue
This patch fix the below coverity issue:
CID-1668747
Change-Id: Ida334a9c6dc4817ba045f99d4f5d6e4a9cd0a9ca
Jaehyun Kim [Thu, 27 Apr 2023 09:16:02 +0000 (18:16 +0900)]
Store MAC address in lower case to vconf
MAC address is provided in the following two ways.
- file: /sys/class/net/wlan0/address
- vconf: db/wifi/bssid_address
The former is always provided in lower case,
but the latter is provided in upper or lower case depending on the HAL.
This can affect services that generate ID using MAC address,
so the related code has been modified so that the vconf value is always
provided in lowercase.
Change-Id: If47a8d9f8728b5ec451c1542e7e24636f1cb64c2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Sat, 8 Apr 2023 17:01:10 +0000 (02:01 +0900)]
Update wifi state when DeviceDetected is received
Net-config assumes that when DeviceChanged signal is received,
wifi is enabled.
However, there are cases where wifi is already enabled at the time
DeviceDetected signal is received due to IPC communication delay
during net-config initialization.
In this case, an issue may occur because the state assumed by
net-config does not match the actual state.
Therefore, it has been modified to match the actual state by updating
the entire state even when the DeviceDetected signal is received.
Change-Id: I1bafee94b8940e9d477998495b6096a1b34304b1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 26 Jan 2023 06:49:32 +0000 (06:49 +0000)]
Merge "Add Signal Handling for Module State Changed" into tizen
Anjali Nijhara [Fri, 23 Dec 2022 10:05:59 +0000 (15:35 +0530)]
Add Signal Handling for Module State Changed
Change-Id: I4ef16436285425ca8bf920cd9c9f8ac542bc48c9
Jaehyun Kim [Mon, 9 Jan 2023 05:15:50 +0000 (14:15 +0900)]
Add dbus method to remove all AP configurations
Change-Id: Ia110f13beca17b3f16e4ec8556ec78d6e1ada329
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 5 Jan 2023 12:43:59 +0000 (21:43 +0900)]
Create device_data if not found it before use
Change-Id: Idf5ca2c09d4e93bd926572637e86303c7edfbc82
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 21 Dec 2022 07:14:41 +0000 (16:14 +0900)]
Add dbus methods for setting bg scan interval
Change-Id: Iae92268d8e8886b04101f9dfd266266040b07e9d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Tue, 29 Nov 2022 15:23:55 +0000 (20:53 +0530)]
fix: unmatched dbus type when received WIFI_CONFIG_FREQUENCY
Change-Id: If42ee2c37666e69873b242af6b89d79d8c065e54
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Jaehyun Kim [Tue, 1 Nov 2022 03:52:44 +0000 (12:52 +0900)]
DA: Applying secure log
Change-Id: Ifc5e61d91b8dfc44fced0fa8045443a061e1fa35
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 1 Nov 2022 03:37:54 +0000 (12:37 +0900)]
DA: Remove all files in connman profile directory
Connman profile cannot be deleted by deleting only data and settings files.
Change-Id: Icf8c2d2814e88f2264ebe883bb67ba522456ad72
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 1 Nov 2022 03:30:29 +0000 (12:30 +0900)]
DA: Fix netlink scan logic
1. Modify the wrong routine for netlink scan
2. Fix the nl_recvmsg error case.
3. Add pmf_required field
Change-Id: I5ef5e5892e0bd0fa4d5af9c61df90ec356cfc8ff
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 1 Nov 2022 03:08:43 +0000 (12:08 +0900)]
DA: Update VCONFKEY_WIFI_BSSID_ADDRESS when power on
Change-Id: If7c472e91f508d363aaef16554c530d99df4dac4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 1 Nov 2022 02:56:08 +0000 (11:56 +0900)]
DA: Modify backgeround scan routine
1. Failure -> IDLE state change will reset bg_interval & resume bg_scan.
2. Move doubling the bg_interval function to __wifi_bgscan_next_scan
for preventing skip bg_interval timer.
Change-Id: I4f881e06b660215bf9433df7ba5548a6ace113cf
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 13 Jun 2022 13:13:22 +0000 (22:13 +0900)]
Modify dump script not to use excessive storage
Change-Id: I9404870d1413a55cde65e59ff306c31cadef5029
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 16 May 2022 12:24:09 +0000 (21:24 +0900)]
Add support for unspecified IPv6 gateway address
Unspecified gateway address("::") is not permitted
when setting routing table.
So, if this value is passed, it must be handled appropriately.
Change-Id: If04df42fc0d6233bfca79e62efb80c8a1024e7c4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 4 May 2022 06:05:37 +0000 (15:05 +0900)]
Check SSID when loading wifi configuration file
Change-Id: Ida477975e478112af2c620ec9f4489673a130609
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 2 May 2022 12:12:25 +0000 (21:12 +0900)]
Modify unsubstituted paths in log dump script
Change-Id: Iee797e8bd9c4e4c0c151ff11484d58f1579d3e79
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 11 Mar 2022 03:23:38 +0000 (12:23 +0900)]
Clear timeserver on boot time
Currently, timeserver is cleared after a period of time after setting.
However, in this method, there is a problem that timeserver cannot be
retrieved if the interface has no internet connection is connected
first, and then the interface has internet connection is connected
just before the timeserver is cleared.
Therefore, it has been modified so that timeserver is not cleared
until rebooting.
Change-Id: I2f5ca9f6d01bf7be2668338f3a159a401a0d46b5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
cheoleun moon [Thu, 17 Feb 2022 02:53:30 +0000 (11:53 +0900)]
Adjust socket buffer size in emulator
Change-Id: I604d80947ce6483166dd78688f17b6a56d4a3a99
Jaehyun Kim [Wed, 19 Jan 2022 09:30:23 +0000 (18:30 +0900)]
Modified to get frequency info for bssid scan
Change-Id: I01e0ce7948c92175487430abbd78e63755ca8b13
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 13 Jan 2022 07:24:00 +0000 (16:24 +0900)]
Support association failed error
Change-Id: Ib8e5d95d0f8cbd8bdac9c6cf28be3627c5e753ab
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 31 Dec 2021 08:57:40 +0000 (17:57 +0900)]
Use libbpf package for online monitoring
Change-Id: Ie792e397f7518f98ff5fdd2e6b415e63f57d7248
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 30 Dec 2021 05:54:20 +0000 (14:54 +0900)]
Remove unnecessary code
Change-Id: I3ab7aa625288bcfc114e0a16cd16d015423223b0
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 13 Dec 2021 02:52:27 +0000 (11:52 +0900)]
Update the host's vconf value to the container
Change-Id: Ice9856d3144fc8089faeb55fbd022865dce3674c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 25 Nov 2021 12:30:44 +0000 (12:30 +0000)]
Merge "Fix memory leak" into tizen
Jaehyun Kim [Fri, 12 Nov 2021 08:11:33 +0000 (17:11 +0900)]
Register with system bus in container environment
Change-Id: Ief38daeda0343136464cb560fb69e4b8eef352eb
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 10 Nov 2021 01:56:53 +0000 (10:56 +0900)]
Add a DBus method to access vconf via DBus
Change-Id: I62dd5fe43506e1bb7f09b069b4e2c1e01324d5e6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 11 Nov 2021 09:07:41 +0000 (09:07 +0000)]
Merge "Disabled in container environment" into tizen
cheoleun moon [Tue, 9 Nov 2021 07:56:39 +0000 (16:56 +0900)]
Add dbus configuration for robot profile
Change-Id: I33f8eb0d63bf304b1081c4e811b6939179584fa5
Jaehyun Kim [Fri, 29 Oct 2021 10:17:55 +0000 (19:17 +0900)]
Disabled in container environment
Disable the container's network daemons to avoid conflicts
because they use the same network namespace.
Change-Id: I77b667419499c1d3306ee1a3b833b0f942586428
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
INSUN PYO [Fri, 29 Oct 2021 04:01:35 +0000 (13:01 +0900)]
Fix memory leak
Change-Id: Ia5f751be96c4b9820986b06afb26057cea8b0377
Jaehyun Kim [Mon, 27 Sep 2021 12:29:16 +0000 (21:29 +0900)]
Modified to use /dev/urandom instead of random()
Use of pseudorandom number generator 'random' at __netconfig_generate_random_bytes().
It's bad to use this function for crypto purposes.
So we modified to use /dev/urandom instead of random().
Change-Id: If2468a432a04387a3ede4497011cdba1f73aff15
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 27 Sep 2021 07:02:48 +0000 (07:02 +0000)]
Merge "Handle supplicant kill event." into tizen
Niraj Kumar Goit [Thu, 23 Sep 2021 12:22:09 +0000 (17:52 +0530)]
Handle supplicant kill event.
Change-Id: If977a24c7ed8f67f4560aab6816b3c34a6739ba4
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Nishant Chaprana [Mon, 20 Sep 2021 09:09:21 +0000 (14:39 +0530)]
Use rand_r() instead of rand()
Change-Id: I540778e549bb0e46271db3ce3e0b5fb967d8e84e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 20 Sep 2021 09:08:56 +0000 (14:38 +0530)]
Use strerror_r() instead of strerror()
Change-Id: I8360ca2084a8a08ec4f8f219384c6c7516870035
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Wed, 15 Sep 2021 15:13:16 +0000 (00:13 +0900)]
Fix build error for i586 and x86_64
Change-Id: I71d38043a401ca3009a3c661ea0526a239bd860a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Tue, 14 Sep 2021 19:16:23 +0000 (00:46 +0530)]
Add support to stop ongoing curl request.
When online-monitor is stopped, removing an easy handle while being
used effectively stop the transfer in progress involving that easy handle.
Reference: https://curl.se/libcurl/c/curl_multi_remove_handle.html
Change-Id: Ia6e72688cbfe03140fe26a85e286fb3c913ed547
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Jaehyun Kim [Sun, 12 Sep 2021 17:34:20 +0000 (02:34 +0900)]
Add support for online monitoring report
Change-Id: I957ee296b2835713bb5c59845f76393412ef5856
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Thu, 9 Sep 2021 19:26:00 +0000 (00:56 +0530)]
Add url checker and downgrade service state feature.
Change-Id: I134b1018f3c580bb3d3a999fd01ebc650f82d7c6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Jaehyun Kim [Tue, 7 Sep 2021 05:59:37 +0000 (14:59 +0900)]
Add plugin for online monitoring
Change-Id: Ic96e513404635c869e18aba870e040418705d457
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Mon, 23 Aug 2021 15:26:26 +0000 (20:56 +0530)]
Add SAE security type for netlink scan.
Change-Id: I1f37d0fed1dfdbc8947f3ade2a2ed1faf32acd48
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Jaehyun Kim [Fri, 20 Aug 2021 07:25:34 +0000 (07:25 +0000)]
Merge "Remove the unused code." into tizen
Rahul Jain [Sat, 15 Aug 2020 09:05:24 +0000 (14:35 +0530)]
added sae security for wpa3
Change-Id: I09beb829bb4dde5cee7a31d28354e22de9a52226
Niraj Kumar Goit [Wed, 11 Aug 2021 12:58:41 +0000 (18:28 +0530)]
Remove the unused code.
Change-Id: I879885c7d2df9acf9495c7acc14ef7ec018b9269
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Seonah Moon [Tue, 20 Jul 2021 00:18:59 +0000 (09:18 +0900)]
Fix a memory leak
Change-Id: I81c198a15f4cb80b1b1f670ea2b66902fab08ff2
Seonah Moon [Tue, 13 Jul 2021 06:41:45 +0000 (15:41 +0900)]
Adjust socket buffer size for robot profile
Change-Id: I35857cac9d8a6ae9f06308749c2e303027f044c6
Seonah Moon [Thu, 6 May 2021 06:36:21 +0000 (15:36 +0900)]
Get interface name from fi.w1.wpa_supplicant1.Interface
Interface.WPS doesn't have Ifname property.
Change-Id: I3a67ebcb012dd3f3a554b81a86aec5676f1d41ae
Jaehyun Kim [Thu, 1 Apr 2021 03:00:22 +0000 (12:00 +0900)]
Remove files unnecessarily included in the package
Change-Id: I31a4447e52fc1b8ff7a907dcf6dc87dc9b9deca6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 29 Mar 2021 02:37:21 +0000 (11:37 +0900)]
Add support for wifi dongle
Change-Id: Ic9b5dc328a33b62e5b1db594e5d5a8a417ab88a1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 24 Mar 2021 08:34:39 +0000 (17:34 +0900)]
Fix uncaught exception in haltests
Change-Id: I7615631a4da292493757b00a8c4c9340429f60ec
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Cheoleun Moon [Tue, 16 Mar 2021 10:24:40 +0000 (19:24 +0900)]
Remove codes to launch mdnsd
Change-Id: I9848812f74a59b98647cc9354badae2402a81025
Cheoleun Moon [Tue, 16 Mar 2021 10:39:00 +0000 (19:39 +0900)]
Revert "Remove codes to launch mdnsd"
This reverts commit
d64465cb8d80c549dbe50fe4dad643c68f4a98c3.
Cheoleun Moon [Tue, 16 Mar 2021 10:24:40 +0000 (19:24 +0900)]
Remove codes to launch mdnsd
Change-Id: I9848812f74a59b98647cc9354badae2402a81025
cheoleun moon [Thu, 25 Feb 2021 04:37:42 +0000 (04:37 +0000)]
Merge "Add SmackProcessLabel" into tizen
Jaehyun Kim [Wed, 24 Feb 2021 08:11:33 +0000 (08:11 +0000)]
Merge "Revise wifi statistics routine" into tizen
Cheoleun Moon [Wed, 24 Feb 2021 06:59:01 +0000 (15:59 +0900)]
Add SmackProcessLabel
Change-Id: I4c340fcb5e14922390dd7e4c59002bfcd69857b7
Jaehyun Kim [Tue, 23 Feb 2021 10:51:11 +0000 (19:51 +0900)]
Revise haltests
Change-Id: I99afd0a85c363575a7991b4ec5e8dad3a4673ba6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 22 Jan 2021 12:24:50 +0000 (21:24 +0900)]
Replace HAL interface with hal-api-wifi
Change-Id: I4339754ddca51ecb08cb8f32818ada9a26b1da46
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 29 Jan 2021 05:39:27 +0000 (14:39 +0900)]
Fix double free
Change-Id: I05c991d891295601949fb91f380383fcfc886567
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 15 Jan 2021 10:38:58 +0000 (19:38 +0900)]
Revise wifi statistics routine
Net-config updates the DB every 2 or 10 seconds for the wifi usage statistics,
which can cause shorten flash storage lifetime.
So the update cycle and method have been changed.
Change-Id: I0ed5053a48771d569320211c31890d3aec7cb55d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Mon, 28 Dec 2020 20:23:53 +0000 (01:53 +0530)]
Remove temporary code changes.
Change-Id: Id5fcb88a21530ca55770f4a23c35259e65b144d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Niraj Kumar Goit [Thu, 17 Dec 2020 11:00:11 +0000 (16:30 +0530)]
Moved dbus method IsEapSupported to connman.
Dbus method IsEapSupported to check EAPoL enabled status is moved to
connman and renamed as IsEapolEnabled.
Change-Id: I77e5f76d89af722cadad8373d5bc8025379a54e4
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Niraj Kumar Goit [Tue, 15 Dec 2020 09:59:06 +0000 (15:29 +0530)]
Fixed dereferencing of the NULL pointer.
Change-Id: Ibd23d2ea1c5c1028a7f42fe68199a7a2f914c939
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
hyunuk.tak [Wed, 2 Dec 2020 05:04:53 +0000 (14:04 +0900)]
Fix some svaces
MEMORY_LEAK.EX
UNINIT.LOCAL_VAR.EX
DEREF_OF_NULL.RET.ALLOC
Change-Id: I1b3910c0dfc9e8752e3f781dab6aab8eb965f781
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Niraj Kumar Goit [Mon, 9 Nov 2020 15:27:37 +0000 (20:57 +0530)]
Rename EAPoL configuration file path and g_eap_supported.
1. Rename EAPoL configuration file path storage directory.
2. Rename g_eap_supported variable to g_eap_enabled to sync with CAPI.
Change-Id: Icc80b1b1363fb67ba9a5adfe25005913e7d59994
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Jaehyun Kim [Tue, 27 Oct 2020 03:04:06 +0000 (03:04 +0000)]
Merge "Add a number of iteration for updating device list" into tizen
Jaehyun Kim [Tue, 27 Oct 2020 03:04:03 +0000 (03:04 +0000)]
Merge "Modify eap config file name for mac address" into tizen
hyunuk.tak [Mon, 19 Oct 2020 07:48:39 +0000 (16:48 +0900)]
Add a number of iteration for updating device list
Change-Id: Ia4c4f74ca41907cf154ed627f87f8a4fda094d51
Nishant Chaprana [Fri, 9 Oct 2020 13:44:24 +0000 (19:14 +0530)]
[TDLS] Remove redundant operation to finish method call
Change-Id: I6dc693f6342b83a8d487dc1edbb7f56271ea65c1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 9 Oct 2020 13:41:27 +0000 (19:11 +0530)]
[TDLS] Use TDLS's enumeration for dbus method call reply
Change-Id: If262fc7156403f79d56be7dccbfe25883dc13c77
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuk.tak [Tue, 6 Oct 2020 06:33:43 +0000 (15:33 +0900)]
Modify eap config file name for mac address
Change-Id: I8ffe284084e3177fa57bbd350e080931f72c41fd
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Jaehyun Kim [Mon, 5 Oct 2020 11:36:51 +0000 (20:36 +0900)]
Fix memory leaks
g_variant_print() returns a newly-allocated string holding the result.
It was not getting free.
Change-Id: I291c6a1e6a80ad99fc7c15aa4187c32c866eff14
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Cheoleun Moon [Fri, 25 Sep 2020 04:13:25 +0000 (13:13 +0900)]
Add null check
Change-Id: I620ed7beba7b0b697f94c163642e6bb8e4bdff25
Jaehyun Kim [Thu, 24 Sep 2020 08:26:02 +0000 (08:26 +0000)]
Merge "Cleanup driver and wpa_supplicant when tech power on is failed" into tizen
Nishant Chaprana [Tue, 22 Sep 2020 08:32:21 +0000 (14:02 +0530)]
Cleanup driver and wpa_supplicant when tech power on is failed
Change-Id: I72e6e548b8324f1fdda4c5b9e594b64152d49895
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuk.tak [Fri, 18 Sep 2020 06:53:22 +0000 (15:53 +0900)]
Add to load/save frequency of config
Change-Id: Ic904fccd6aaaa324c3bd7ba8a7cc366f09467694