summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-11-12usb: gadget: f_fs: Prevent panic due to failure of huge size buffer allocationDongwoo Lee1-3/+28
The f_fs daemons usually use large size buffer for increasing transfer performance, but it can cause memory allocation failure in case of that buddy space is fragmented. Since this, instead of just returning error in this case, give the chance to retry to allocate memory with a half length in order to prevent daemon crash due to failure of buffer allocation. Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com> [hoegeun.kwon: rebased and resolved conflicts] Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ief5f8256b37b38de14bb333e53c4c4688867d4f6
2024-11-12kdbus: export needed symbols for out-of-tree supportMateusz Majewski2-0/+4
We have been asked to move kdbus out-of-tree. It uses a couple unexported symbols, so we need to (grudgingly) export them. Change-Id: Ide04c46bbc71f8fffbdefca68959e1048af1c905 Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2024-11-12kdbus: Revert "cgroup: remove unused task_cgroup_path()"Seung-Woo Kim2-0/+40
This reverts commit d16b3af46679a1eb21652c37711a60d3d4e6b8c0. kdbus of linux-tizen-modules-source has still usage of task_cgroup_path(). To support linux-tizen-modules-source, as workaround, revert back. Change-Id: I0c943932d07ff0aa602f4a238bfa5839d74735d4 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2024-11-12kdbus: Revert "fs: unexport poll_schedule_timeout"Łukasz Stelmach2-1/+4
This reverts commit 8f546ae1fc5ce8396827d4868c7eee1f1cc6947a. Change-Id: Ic603b089a2e7a3d65c86fbb41309c105c9a1e2fa Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2024-11-12Partially Revert "brcmfmac: p2p: Deal with set but unused variables"Seung-Woo Kim1-0/+2
This partially reverts commit 2de64ca7c9fadd32b261530592db4a6adbfcb53f. The commit 61325dc073e2 ("Revert "brcmfmac: move configuration of probe request IEs"") requires vif set with p2p interface, but commit 2de64ca7c9fa removes setting. Partially revert the commit to support p2p usage with p2p interface. Change-Id: Iaa3a6c57bb9e14c80ef9f4714eea0cfc447d6adc Reported-by: Jiung Yu <jiung.yu@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12packaging: Add NO_JEVENTS=1 option to build perfJaehoon Chung1-2/+2
Add NO_JEVENTS=1 option to build perf for aarch64. During building aarch64, it's failed with below message. [ 61s] Makefile.config:846: No python interpreter was found: disables Python support - please install python-devel/python-dev [ 61s] Makefile.config:881: *** ERROR: No python interpreter needed for jevents generation. Install python or build with NO_JEVENTS=1.. Stop. [ 61s] make[1]: *** [Makefile.perf:242: sub-make] Error 2 [ 61s] make: *** [Makefile:70: all] Error 2 [ 61s] error: Bad exit status from /var/tmp/rpm-tmp.dIxz2n (%build) Change-Id: I77ebb333561733cef1f45cb1432dedacb3b5191c Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12overlays: Add dwc2-tizen-overlayHoegeun Kwon2-0/+15
Add g-extcon-always-on value, Set extcon state for dwc2 cable as always true. Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com> Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ibd209a402978343eeb6af3d4597a80d48f53f019
2024-11-12usb: dwc2: gadget: Set extcon state for usb cable as always trueDongwoo Lee3-0/+28
To inform to userspace as enable usb features always, set extcon state for usb cable as connected permanently. To enable this, add "g-extcon-always-on" property on dt. Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com> [mszyprow: ported and adapted to v6.6 kernel release] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ib0e9982b426fda7deed510e482d6731a2f23d0b1
2024-11-12drm/v3d: Add gpu_gem_info node via debugfsSeung-Woo Kim4-0/+122
Add gpu_gem_info node via debugfs of dri debug sysfs for each process with pid/tgid and its gem objects. Same gem object can be opened from multiple processes, so from the gpu_gem_info node, it can print same gem in multiple lines. Ported from the commit dea4ace78ec7 ("drm/vc4: Add gem_info node via debugfs") to v3d. NOTE: From Raspberry Pi 4 board, v3d gpu is card0 and also render node in dri card128, so accessing can be from both nodes. For render fixed node, it is /sys/kernel/debug/dri/128/gpu_gem_info. Also, Raspberry Pi 4 board gives entire gem count and total size with /sys/kernel/debug/dri/128/bo_stats. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> [mszyprow: ported and adapted to v6.6 kernel release] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I0b9cc241d551904a95cafb7531c50ba6e1dd9082
2024-11-12drm/vc4: Add gem_info node via debugfs for vc5Hoegeun Kwon3-1/+158
The memps requires gem_info with gem_names to analyze graphics shared memory, so this patch adds gem_info node via common helpers for debugfs. Let's save pid/tgid in private file data only once when gem object is created or prime_fd is imported and use them on gem_info. This is to solve the wrong pid problem of gem_info created as different processes share fd of drm device node. The prime fd created in vc4, but handled in v3d, modified to hanle this in vc4. Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com> [mszyprow: ported and adapted to v6.6 kernel release] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I1430eadbfbdfc197f8e39f952e7f82999e249672
2024-11-12drm/vc4: add extcon hdmi connection ueventSeung-Woo Kim2-0/+44
Add extcon hdmi connection and disconnection uevent when extcon module is enabled. The vc4_hdmi detection is done by polling way, so extcon uevent for connection is a bit slow after changing real hdmi cable state. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com> [mszyprow: this is a squashed set of the following patches from platform/kernel/linux-rpi 'tizen' (c4f85fdcd893) branch: drm/vc4: add extcon hdmi connection uevent drm/vc4: hdmi: Fix hotplug extcon uevent to works ported and adapted to Linux v6.6 kernel base] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I2a825241cd72befd1f75bd094405f719d4b20638
2024-11-12Bluetooth: Add LE connection parameter updateAnuj Jain5-2/+106
Add support for BT_LE_CONN_PARAM in l2cap socket. Change-Id: I9a65b55790a9b2a7e43405890209aaac53002b81 Signed-off-by: Anuj Jain <anuj01.jain@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Set le data length command and eventSudha Bheemanna5-0/+193
Sets the data length for the le data packet with in the advised limits. MGMT command and event are added to handle the setting of data length. Change-Id: Idf18a909ab8a949358d28d78d76faa8719215d4b Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Read host suggested default le data lengthSudha Bheemanna4-0/+100
This patch adds MGMT command and code for supporting reading default le data length value set at the controller. Change-Id: I6194023bf41ef1fe5606f41fdb0776f6ec84cb4f Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Write host suggested default le data lengthSudha Bheemanna4-0/+108
This patch adds MGMT command and code for supporting write default le data length command to the controller. Change-Id: Idd59eba48a6726293ef91804d090ecfd7d46f220 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Read LE Max data length commandSudha Bheemanna4-0/+99
This patch adds the MGMT command and code to support reading the maximum data length supported command for LE. Change-Id: I308cb2de2e7fe5b3e5dd2dd8813668f27d6a2c57 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Fix IPSP connection callback event issue.h.sandeep1-0/+30
This patch fixes the IPSP connection callback event issue between kernel and bluez layer. Change-Id: I7fe5698add70faf5c2ebb72a1799c9790b48edf3 Signed-off-by: h.sandeep <h.sandeep@samsung.com> Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: IPSP Connect/Disconnect apisSudha Bheemanna5-0/+191
This patch adds MGMT code to support IPSP connect and disconnect apis and handle connection state changed event. Change-Id: I6139603a9614217637f109b2d724e1bf9ffb8f93 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add support to enable/disable IPSPSudha Bheemanna4-0/+86
This patch supports MGMT commands and code to enable or disable IPSP 6LowPan features. Change-Id: Ibbed275162ac0539205502747923603a2a581c36 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Fix issue in the Set LE privacy function.Sudha Bheemanna1-0/+5
This patch fixes not to check the hdev power before setting LE Privacy. Change-Id: I465edcfb14945d358dc940e15b10fff1497aca1e Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Store the key if auth type is P192Sudha Bheemanna1-0/+8
This patch allows to store the key after authentication if auth type is "HCI_LK_AUTH_COMBINATION_P192" Change-Id: I8d90830af296e718857d73cbdd1de61b8c7a37f1 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Cancel the Sniff timerSudha Bheemanna1-0/+9
This patch adds code to cancel the sniff timer. Change-Id: Ic0e233bf43084e5228866d70de7dcb96a2df1c54 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Enable sniff mode for incoming connectionSudha Bheemanna1-0/+5
Add provision to set the link poilicy to enable sniff mode for incoming connection. Change-Id: Iceec461cd620a328646df7889a89e41ce402b8ca Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Modify fast connectable type.Sudha Bheemanna1-0/+7
This patch modifies the fast connectable function to just set the type. Change-Id: I9dfe64e09bcc1bc5152477ab8c7d0b6c386003b3 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Send Authentication Request command on pairing failureSudha Bheemanna1-0/+18
This patch allows to send HCI_OP_AUTH_REQUESTED command to the remote device if pairing failure happens because of pin or key missing error. Change-Id: I84f5e835507ffa4e4a12d2f40d4765e5068a78df Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Enable inquiry and page scanSudha Bheemanna1-0/+16
This patch enables the inquiry and page scan after ACL disconnection with one device and if there are no other devices connected. Change-Id: Iabe53b9191544f2db952c8bad988bb367696bd23 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Change authentication requirement.Sudha Bheemanna1-0/+8
This patch updates the authentication requirement to general MITM if local and remote device IO capabilities are not NO_INPUT_NO_OUTPUT. Change-Id: Id00b7d7136b5de0f63df98b6d3cee04cde267a21 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Set link Supervision timeout for a connectionSudha Bheemanna6-1/+75
This patch allows to set the supervision timeout for a connection if the device role is master. Change-Id: I204ebea960235ab4f858c9b57d57989e4426740e Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Set filter policy for LE connectionSudha Bheemanna2-0/+16
This patch sets the filter policy to a default value 0x01 during LE auto connection if the destination address is not set. And it updates the destination address once the LE connection complete event is recieved during LE auto connection. And for it checks valid destination address before cancelling LE connection when connection timeout occurs. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> [squash patches, LE connection policy, set dest address and check dest address before cancelling connection] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: I6a5ae486f39e1adb9451ea1768d93f0d800ce596
2024-11-12Bluetooth: Get Advertising TX powerSudha Bheemanna2-0/+38
This patch adds MGMT command to read the advertising TX power. Change-Id: Ic2f6a8dedc949d6114fc22f1a595fc2c6c6b4d69 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Set the link for SCO connectionSudha Bheemanna4-0/+287
This patch sets the link policy for SCO/eSCO connection. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> [add link policy setting in sco connection] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: I285b1f15404fe612f6e3a54881207dbcb373554d
2024-11-12Bluetooth: Add MGMT command to set SCO settingsSudha Bheemanna4-0/+59
Added code to set sco settings. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> [remove sco link policy part] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: I5d7a594e50a37b7886dd6b9b9c90ea00c0bc9dda
2024-11-12Bluetooth: Add multiple LE advertise state change eventSudha Bheemanna2-0/+33
This patch adds code for providing multiple LE advertisement state changed event to upper layer. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> [divide hci_vendor_mutli_adv_state_change_evt and remove hci event structure from mgmt] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: I203e677538646b8107d43a5ac7653ce717ca44ef
2024-11-12Bluetooth: Add LE device found MGMT eventSudha Bheemanna5-1/+97
This patch adds new MGMT event for LE device discovery and allows the handling of all advertisement packets in platform. Change-Id: Ifff3ccb291a3a0fc23256763e089613ee4efbec4 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: fix vendor ext rssi link alert eventSeung-Woo Kim4-16/+25
This patch fixes style for rssi link alert event from vendor specific group ext. Change-Id: Ib78a778cef9233bd7c63dae4ffcd49aeb167c1b0 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add H/W TX timeout error MGMT eventSudha Bheemanna5-0/+25
This patch sends the H/W TX timeout error MGMT event if HCI command timeout occurs after sending HCI commands. Change-Id: If1da7ae0633d9b99c76c982810d65ee2e466fc9e Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add hardware error MGMT eventSudha Bheemanna4-0/+21
Add code to handle hardware error MGMT event. Change-Id: I7966385b6711b944baa17a7ebe671cc94b3e948e Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add LE vendor specific event handlerSudha Bheemanna2-0/+70
This patch adds the vendor specific LE meta event handler. It handles the vendor specific handles like, LE_MULTI_ADV_STATE_CHANGE_SUB_EVENT, LE_RSSI_LINK_ALERT. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> [divide hci vendor speicif group event function] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: I75395d8a0df5393eadc4be89aad8daefc89f507e
2024-11-12Bluetooth: Add set LE scan parameter featureSudha Bheemanna2-0/+67
Added new MGMT command to set LE scan parameters Change-Id: I851cb2181bd626adc1f7f80297d37480a010b52d Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Set Manufacturer data featureSudha Bheemanna3-0/+136
Added new MGMT command to set the manufacturer data in the BR/EDR packet. Change-Id: I1b97854795eec10f9f8481a96709abcd0ba26b52 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add LE connection parameter update procedureSudha Bheemanna4-0/+145
Added new MGMT command to update LE connection parameters Change-Id: I44d366eb6f6b3aa090b34e3e314becd7b96537af Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add stop LE auto connection featureSudha Bheemanna2-0/+24
Added new MGMT command to disable LE auto connection. Change-Id: Ifd2dd85ea6368dad76f6753f442ffd94f53fc208 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add BT LE discovery featureSudha Bheemanna5-0/+336
This patch adds new MGMT commands to start LE discovery separately and handles LE discovery state. Change-Id: I68218f1e666ed5850ca2b81efe956272c83d30d1 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Update device name on remote_name_eventSudha Bheemanna4-0/+46
This patch updates the device name on receiving the HCI event remote_name_event during connection establishment. Change-Id: I9e95b53e882744c205adc86b1d00c064691fbc48 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add RSSI Monitor featureSudha Bheemanna5-0/+917
Added feature support for monitoring the RSSI value. Commands and events for enabling, disabling and setting rssi threshold values are added. Change-Id: Id212645029de1ff9fe03fa4ee5085adf86e68597 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Functions to modify WhiteListSudha Bheemanna2-0/+258
This patch provides MGMT commands to manage the white list which includes, adding, removing and clearing the devices from white list. Change-Id: I1747e0aa3da4081a72909d89a25f4a21a12e2f44 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add Advertising Packet ConfigurationSudha Bheemanna6-0/+279
This patch provides new MGMT commands to configure the advertising data and scan response data packets for LE peripheral devices. Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> [jhoon20.kim: adjust some codes to apply it in 5.4 kernel] Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Change-Id: If38cfbb09c2413db676c414256b6914c1b840f4b
2024-11-12Bluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE.h.sandeep4-0/+65
Added the basic skeleton code for tizen_mgmt_handlers and mgmt_tizen.h header file. Change-Id: Icf56610f76cfcae9565b2a44634fa72f3f8a7c91 Signed-off-by: h.sandeep <h.sandeep@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12Bluetooth: Add "TIZEN_BT" flagSudha Bheemanna1-0/+3
Added the tizen specific flag for use in adding tizen patches. Change-Id: I95584b70c2c2d46f3e8823e8e6346c217654f832 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-11-12ARM/ARM64: configs: Add the intial tizen defconfig for RPI4Jaehoon Chung4-0/+1944
Add the intial tizen defconfig for RPI4. These defconfigs were taken from tizen branch (v5.15 kernel) and manually adjusted for the options changed/moved in v6.6 kernel, then saved with savedefconfig. Change-Id: Ief4c89e7cedc14d15995e6efd444fbb70ddc9c03 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>