summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-06-28Bluetooth: 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: Ie44dbe7dfec361edab61aceaf9b2ca4057b88fa5 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: Cancel the Sniff timerSudha Bheemanna1-0/+9
This patch adds code to cancel the sniff timer. Change-Id: I756d3b08acf6462044d1fb204064fe12ce1238c1 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: 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: Ifff9e9f0838f26a6c96d81f4cbaae43429aa231f Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: Modify fast connectable type.Sudha Bheemanna1-0/+9
This patch modifies the fast connectable function to just set the type. Change-Id: I0cce96f85d823f9798ae7f147c4e33ce7b18e0e3 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: 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: I9c28394dc06b22fd5fe9e58ac0b7d728c086bde4 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: 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: Ifb28be7d23f237d35112b2e0739ed55169baacf7 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: 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: Ie3955c3f8287418e74af20d40bdf30d0f1963e31 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: Set link Supervision timeout for a connectionSudha Bheemanna6-1/+74
This patch allows to set the supervision timeout for a connection if the device role is master. Change-Id: I7897167ec07803f3059f2ab4d3314b0b7a951533 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: Set filter policy for LE connectionSudha Bheemanna3-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. Change-Id: I9877556c0b0ab4826f5f4934ead4d85b7837036d 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>
2019-06-28Bluetooth: Get Advertising TX powerSudha Bheemanna2-0/+38
This patch adds MGMT command to read the advertising TX power. Change-Id: Ide9e5d332f034928d2eae2cbd68a025a0d42be1b Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-28Bluetooth: Set the link for SCO connectionSudha Bheemanna2-0/+62
This patch sets the link policy for SCO/eSCO connection. Change-Id: I71caef5a3887f73a10329b6886c8cf52b80e8d37 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>
2019-06-28Bluetooth: Add MGMT command to set SCO settingsSudha Bheemanna7-0/+317
Added code to set sco settings. Change-Id: I37aa572436241b06e00d1e9e75964aac747eeba5 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>
2019-06-28Bluetooth: 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. Change-Id: I58fb8044e74402376ec30b121081edce7c8709d1 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>
2019-06-28Bluetooth: Add LE device found MGMT eventSudha Bheemanna5-0/+97
This patch adds new MGMT event for LE device discovery and allows the handling of all advertisement packets in platform. Change-Id: I1927acb75eff0b60a5899898c6d7a000e1a108ef Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: 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: I0e7003e417c5f5a590cce8264caccad515dd3c10 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: 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: I5eb593f2fe4d31c404dd94ef582790e47d03b10a Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add hardware error MGMT eventSudha Bheemanna4-0/+21
Add code to handle hardware error MGMT event. Change-Id: I5875ea2aeae7aba95c1f8e15b456704dc6bcdee4 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add LE vendor specific event handlerSudha Bheemanna2-0/+69
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. Change-Id: I1f344a31e36f9c7442fe0bd8b598e67d9f5fb9bf 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>
2019-06-27Bluetooth: Add set LE scan parameter featureSudha Bheemanna2-0/+67
Added new MGMT command to set LE scan parameters Change-Id: I5ea660f97e93dfcc72273971ad0250e7f582f718 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Set Manufacturer data featureSudha Bheemanna3-0/+136
Added new MGMT command to set the manufacturer data in the BR/EDR packet. Change-Id: Ie08062f4cad0c676deab94fd95fdc1a8c5602135 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add LE connection parameter update procedureSudha Bheemanna4-0/+145
Added new MGMT command to update LE connection parameters Change-Id: I6ae16513437cd42d40e75958aa8415baa1cbedbb Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add stop LE auto connection featureSudha Bheemanna2-0/+24
Added new MGMT command to disable LE auto connection. Change-Id: I1f5f61b83227501ad54019008b405fd47fd722a3 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add BT LE discovery featureSudha Bheemanna5-0/+339
This patch adds new MGMT commands to start LE discovery separately and handles LE discovery state. Change-Id: I85958b8c2b5c7e28f57c69e86037ab1e61a75db0 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>
2019-06-27Bluetooth: Update device name on remote_name_eventSudha Bheemanna4-0/+47
This patch updates the device name on receiving the HCI event remote_name_event during connection establishment. Change-Id: I9a217e6760b1803a70af201a3f6903e722079749 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>
2019-06-27Bluetooth: Add RSSI Monitor featureSudha Bheemanna5-0/+915
Added feature support for monitoring the RSSI value. Commands and events for enabling, disabling and setting rssi threshold values are added. Change-Id: I850643a9228afc017e54217a11826b9c6a68a96b 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>
2019-06-27Bluetooth: 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: If71107129d3a090ae81448a8122b76accd4f5522 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>
2019-06-27Bluetooth: Add Advertising Packet ConfigurationSudha Bheemanna6-2/+297
This patch provides new MGMT commands to configure the advertising data and scan response data packets for LE peripheral devices. Change-Id: I914d13795f4fb58e5f2e1cadb55086f4bcbc82df 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>
2019-06-27Bluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE.h.sandeep4-0/+64
Added the basic skeleton code for tizen_mgmt_handlers and mgmt_tizen.h header file. Change-Id: I8f3100aa79e6673840ba561f0a9c50238ca0880b Signed-off-by: h.sandeep <h.sandeep@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-06-27Bluetooth: Add "TIZEN_BT" flagSudha Bheemanna1-0/+3
Added the tizen specific flag for use in adding tizen patches. Change-Id: Ia391644fddbe600c8d845e0bf0808f587aa73e0c 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>
2019-06-20packaging: change dependent openssl version to 1.1submit/tizen/20190624.002507accepted/tizen/unified/20190624.075234Seung-Woo Kim1-1/+1
OpenSSL 1.0.2 will be deprecated from tizen, so migration to newer version is required. Change dependent openssl version to 1.1. Change-Id: Icba12412b200cd1d5a8407dc4440b23d49bdde65 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2019-06-11rpi3: boot: Update the boot firmwares with the latest versionsubmit/tizen/20190614.014912accepted/tizen/unified/20190614.051536Junghoon Kim9-0/+0
Update the boot firmwares with the latest version from the vendor git repo. The commit base is e289f6a59ff2 ("kernel: Bump to 4.19.46"). Change-Id: If425a4d64a145a79ce505b13bb1a5a23495654fb Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11ARM: configs: tizen_bcm2709_defconfig: Sync with savedefconfigJunghoon Kim1-4239/+32
Sync the tizen_bcm2709_defconfig with savedefconfig. Change-Id: I8dbc7b6a42a43530de8818620816659387ecf11a Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11ARM64: configs: tizen_bcmrpi3_defconfig: Sync with savedefconfigJunghoon Kim1-4100/+31
Sync the tizen_bcmrpi3_defconfig with savedefconfig. Change-Id: I12389974ccade867052f68f1b839d85e7214981c Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11packaging: Change the kernel version of the spec fileJunghoon Kim1-1/+1
This patch changes the kernel version of the spec file to 4.19.49. Change-Id: Idc451fa46d64c0a968b4f146b8ff127245c3564e Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11include/linux/notifier.h: SRCU: fix ctagsSam Protsenko1-2/+1
ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro expansion. Fix that by getting rid of line break. Similar fix was already done in commit 25528213fe9f ("tags: Fix DEFINE_PER_CPU expansions"), but this one probably wasn't noticed. Link: http://lkml.kernel.org/r/20181030202808.28027-1-semen.protsenko@linaro.org Fixes: 9c80172b902d ("kernel/SRCU: provide a static initializer") Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> [sw0312.kim: cherry-pick mainline commit 94e297c50b52 to remove warning from "make tags" command] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: Ie71be48606c666e11d3675f9c525c3417343e846
2019-06-11ARM: tizen_bcm2709_defconfig: enable ZC3XX camera moduleSeung-Woo Kim1-1/+1
Currently, in test environment, usb camera 046d:08af is used and it requires CONFIG_USB_GSPCA_ZC3XX. Enable ZC3XX camera module. Change-Id: I2999e9b2288e0bd0bc74cab14a06bb785e8ea410 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2019-06-11ARM64: config: tizen_bcmrpi3: enable ZC3XX camera moduleSeung-Woo Kim1-1/+1
Currently, in test environment, usb camera 046d:08af is used and it requires CONFIG_USB_GSPCA_ZC3XX. Enable ZC3XX camera module. Change-Id: I840a774c718bc5ffd0898fd29140c3f52ed7757c Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2019-06-11scripts: mkbootimg_rpi3.sh: Support 32bit boot image.Hoegeun Kwon1-8/+30
Support 32bit boot image, and add rule that check the bit between 32 and 64bit as '.config' file. Change-Id: I247583233eb617c3f7f1695d8c5060d27934bcdd Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
2019-06-11ARM: tizen_bcm2709_defconfig: Disable unused modules and helperHoegeun Kwon1-15/+2
Disable unused modules and helper related display. Change-Id: I130a9d803384b338350eab9b6e7cbc42111de5b9 Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
2019-06-11ARM: tizen_bcm2709_defconfig: Disable FB_BCM2708Hoegeun Kwon1-1/+1
There is a crash between bcm2708_fb and drm_fb driver during kernel booting, and logo image is broken. Disable CONFIG_FB_BCM2708 because it uses the default fb and vc4-drm driver. Change-Id: Ic5c533dbb884c5b2c3e87d9a131f3ce499d86279 Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
2019-06-11ASoC: ac108: Fixes kernel bug message when starting to captureJaechul Lee2-107/+48
The code in the trigger function is moved to prepare function that is called right before trigger function. clock operation would be ran by parepare function without disabling preemption. BUG: scheduling while atomic: arecord/1244/0x00000004 Preemption disabled at: [<ffffff80087c4a08>] snd_pcm_stream_lock+0x30/0x68 Call trace: [<ffffff800808b250>] dump_backtrace+0x0/0x270 [<ffffff800808b4e4>] show_stack+0x24/0x30 [<ffffff8008ae87c4>] dump_stack+0xac/0xe8 [<ffffff80080cc814>] __schedule_bug+0x7c/0xd8 [<ffffff8008afb558>] __schedule+0x718/0x880 [<ffffff8008afb6fc>] schedule+0x3c/0xa0 [<ffffff8008aff028>] schedule_timeout+0x190/0x408 [<ffffff8008afc4b8>] wait_for_common+0xa8/0x150 [<ffffff8008afc5c4>] wait_for_completion_timeout+0x2c/0x38 [<ffffff80086e5a0c>] bcm2835_i2c_xfer+0x16c/0x400 [<ffffff80086deedc>] __i2c_transfer+0x12c/0x570 [<ffffff80086df38c>] i2c_transfer+0x6c/0xc0 [<ffffff80086df430>] i2c_master_send+0x50/0x68 [<ffffff8008584454>] regmap_i2c_write+0x34/0x70 [<ffffff800857fe34>] _regmap_raw_write+0x7cc/0x7e0 [<ffffff800857feb8>] _regmap_bus_raw_write+0x70/0x88 [<ffffff800857ea48>] _regmap_write+0x70/0x160 [<ffffff800857ec10>] _regmap_update_bits+0xd8/0xf8 [<ffffff80085800b0>] regmap_update_bits_base+0x68/0x98 [<ffffff8008805838>] ac10x_update_bits+0x48/0x88 [<ffffff8008805c00>] ac108_trigger+0x118/0x130 Change-Id: I73ef21247e1dfbd0acd3272b6a73311377eb000d Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2019-06-11rpi3: Update the boot firmwares with the latest versionJunghoon Kim8-0/+0
This patch updates the boot firmwares with the latest version from the vendor git repo. The git base is the commit 3dde44c13f17 ("firmware: arm_loader: Further conditionals for passing in a frame buffer"). Change-Id: Ia487afd7c2aa448f27e5f386be1b4584ee657144 Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11packaging: Define necessary packages for building 4.19 kernelJunghoon Kim1-0/+3
This patch defines necessary packages for building 4.19 kernel including bison, flex, and libopenssl-devel. Change-Id: Iccd5bfdbd313599a9fb1dd86c0db264a1114bb41 Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11packaging: Change the kernel version of the spec filesJunghoon Kim1-1/+1
This patch changes the kernel version of the spec files to 4.19.40. Change-Id: I85d3ae4fd90431431aedb5968a53f6c08ea6f3f9 Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11misc: tizen-inform-reboot: Use ksys_open() and ksys_close() wrappersJunghoon Kim1-2/+2
Using ksys_open() and ksys_close() wrappers allow us to avoid the in-kernel calls to the sys_open() and sys_close() syscalls. Change-Id: Iea33654daef917f88cede31675c66e8b5becad77 Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
2019-06-11ARM64: dts: bcm2710-rpi-3-b: Changes GPIO26 to GPIO25 for play/pauseJaechul Lee4-36/+36
GPIO26 is already used by PIO TCT and key names are changed clearly. Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com> Change-Id: Idd74bc7e4f5c26b9d4aee89d62b8f3810ee7736f
2019-06-11ARM: config: tizen_bcm2709: update defconfig fileJaehoon Chung1-840/+102
Update defconfig file. - Disable unnecessary module build configurations. - Change some configuration to builtin from module Change-Id: I0979a9cb3238b23101ad46e602fa5eb8101100bd Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2019-06-11ARM: tizen_bcm2709_defconfig: Removes unnecessary modulesJaechul Lee1-48/+28
removed unnecessary modules Change-Id: I0c34919620e9673b00a2e73071ba0da670878ab0 Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2019-06-11ASoC: ac108: Adds default 4channels mic volumeJaechul Lee1-0/+20
It needs to be set default volume to max value. Change-Id: Icdcf255e3a57bb5dffb225116723a3d9a4cf11fe Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2019-06-11ARM64: dts: bcm2710-rpi-3-b: Adds respeaker 4mic nodesJaechul Lee2-0/+74
adds respeaker 4mic nodes. Change-Id: I8145a93dfebe716be61cb4cad30b7174a1e4bea1 Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>