Dohyun Kim [Thu, 16 May 2019 08:52:49 +0000 (17:52 +0900)]
[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module
Change-Id: Ic4e74070efecf34fa3d7943faf2ea124dd87968f
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Thu, 16 May 2019 08:53:29 +0000 (17:53 +0900)]
[9610] fimc-is2: add otp data set function
Change-Id: I8ffc5d9d43ae7b07903284c67b64d1f96ede43b9
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Thu, 4 Apr 2019 09:27:20 +0000 (18:27 +0900)]
[COMMON] fimc-is2: paf on at MSPD mode
PR JIRA ID: CPR-924
Change-Id: Iffd6f010bdd54359af0fd0e0c74661a99d302fbc
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Wooyeon Kim [Fri, 21 Dec 2018 11:20:48 +0000 (20:20 +0900)]
[COMMON] fimc-is2: paf on at MSPD tail mode
PR JIRA ID: CPR-924
Change-Id: I01866b5ce51eb71022ffca4d19ebbd65ec7b5b62
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Wed, 3 Apr 2019 11:31:00 +0000 (20:31 +0900)]
[COMMON] fimc-is2: fix section err in resourcemgr
- "__init" prefix deleted at lib_map, heap_map
PR JIRA ID: CPR-916
Change-Id: Iaa0adc0837159451ef60e03171b748edc7219ca6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Wed, 24 Apr 2019 01:59:04 +0000 (10:59 +0900)]
[COMMON] fimc-is2: do not use fast AF trigger when Precapture trigger
PR JIRA ID: CPR-990
Change-Id: Idb6311be87729c3e2119199e4047124a6733e9b8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 15 Apr 2019 10:18:10 +0000 (19:18 +0900)]
[COMMON] fimc-is2: modify "head" base when group is stopped
- when camera is suddenly closed, wrong refer group caused
smp trigger stuck problem
PR JIRA ID: CPR-958
Change-Id: I311a14c062906d4aab7aa5f9e36fb151ba80107e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Dohyun Kim [Wed, 15 May 2019 06:52:36 +0000 (15:52 +0900)]
[9610] fimc-is2: otp loading sequence change
Change-Id: I92c2d524fc9f0f808dbcb1e11ebd6a706501d0e8
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
dan huh [Wed, 11 Jul 2018 01:53:48 +0000 (10:53 +0900)]
[9610] fimc-is2: turn off VC tasklet
PR JIRA ID: CPR-584
Change-Id: I3aeccdfb826441e3afd80cf74b2864399a27f12e
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Dohyun Kim [Fri, 21 Jun 2019 10:16:08 +0000 (19:16 +0900)]
[9610] fimc-is2: remove logic that load initial position of actuator
Change-Id: Ic426459443f7de03ea77c9a17cc7febaab0e9a0c
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
xff [Mon, 4 Mar 2019 02:18:43 +0000 (10:18 +0800)]
[COMMON] fimc-is2: support get actual af position of lc898217
Change-Id: I1b1b2a856f0e5fdd9525a275aa5c998d17e97746
Signed-off-by: xff <fangfang.xu@samsung.com>
wangdw10 [Tue, 7 May 2019 05:56:54 +0000 (13:56 +0800)]
[COMMON] fimc-is2: kane: update dw9839 init setting
- 0x18 0x03 0x01
- 0x18 0x40 0xF1
- 0x18 0x54 0x0E
- 0x18 0x03 0x11
Delay 3ms
- 0x18 0x04 0x00
Change-Id: I89b3b3d7e091cbc0fac65f5ac0e433ed72a11c77
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
wangdw10 [Tue, 8 Jan 2019 12:44:44 +0000 (20:44 +0800)]
[COMMON] fimc-is2: adjust pre flash current for s2mu106 flash
- use total 150mA for pre flash mode
Change-Id: I48017d89f8566753df76b597049937511e34e8e5
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
Dohyun Kim [Mon, 8 Apr 2019 08:37:10 +0000 (17:37 +0900)]
[HACK][9610] fimc-is2: add sensor interface that transmit crop value for Troika
Change-Id: I2ab248a42145ff71f5194d1ef38c331ab7a19287
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Wed, 27 Mar 2019 09:18:02 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add interface that transmits crop info for pdaf
PR JIRA ID: CPR-924
Change-Id: If93b8b4d146e686d5e720e28dd39f1259626d26c
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Wooyeon Kim [Fri, 19 Apr 2019 02:53:56 +0000 (11:53 +0900)]
[HACK][9610] fimc-is2: move LTE step1 work only for 2x5
- for avoid side effect of 0x0BCC settings
PR JIRA ID: CPR-974
Change-Id: I150ddaf30c636d0355bfcdbfc0c3e53d312148f0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Wed, 29 May 2019 01:26:06 +0000 (10:26 +0900)]
[COMMON] fimc-is2: do update sensor dm when flash capture
PR JIRA ID: CPR-1136
Change-Id: Ib465e0dcbcbad706ac4cd41230aeab38dfc28c55
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
libm1 [Mon, 13 May 2019 07:43:23 +0000 (15:43 +0800)]
[COMMON] fimc-is2: eeprom loading sequence optimize
Change-Id: Id5a42a30418303e80b0f7b225a4b439617b32ce3
wangdw10 [Mon, 25 Mar 2019 03:16:53 +0000 (11:16 +0800)]
[COMMON] fimc-is2: update eeprom as KP request
support CRC check for DVT and PVT module
Change-Id: Iaf1dbc640ba3ba8de992091756fd07a32663ea3e
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
libm1 [Tue, 19 Mar 2019 13:10:15 +0000 (21:10 +0800)]
[COMMON] fimc-is2: Fix ois bu24218gwl not work
Update the boot sequence
Delete debug log
Enable OIS init work option
Change-Id: I2035a0257440a90ef02cafec6ab391ef536361a2
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Tue, 12 Mar 2019 08:16:53 +0000 (16:16 +0800)]
[COMMON] fimc-is2: Add debug log for ois bu24218gwl
Sometimes the OIS not move, so add some debug log to
help further check this issue.
Change-Id: I6b7464c7c80e0cad959f9f09fd49481b18a20800
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Fri, 1 Mar 2019 08:51:53 +0000 (16:51 +0800)]
[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue
Since SELinux enable, kernel OIS driver can`t read eeprom bin file
in userspace filesystem, which lead to OIS always load default cal data.
The solution is to pass the eeprom device node to OIS driver, then
OIS cal data in eeprom data can be parse directly.
Change-Id: Ic61ae2c4abc0c88342383f49df35a1bc48719f7e
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Sat, 2 Feb 2019 03:15:04 +0000 (11:15 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings
Update FW ver 1.3 to 1.5 support
Change-Id: Id11594dc17b59e1f17c03ad4e529906a4dceda61
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Thu, 17 Jan 2019 09:22:46 +0000 (17:22 +0800)]
[COMMON] fimc-is2: change ois bu24218gwl cal data check condition
Since DVT2, the OIS cal data in eerprom is ok.
Using EEPROM table revision to distinguish DVT2 module and after
Change-Id: I50b671f8aee9ec28ccc1e47052d0f8e1a9e8f225
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Tue, 15 Jan 2019 04:51:30 +0000 (12:51 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl cal data control
The OIS cal data in DVT2 eeprom is ok to apply. But before DVT2,
it is not workable data.
So add logic to check whether the OIS cal data is good or not,
if good, use it to write into OIS module,
if wrong, will change to use dafault cal data to write into OIS module.
So the ideal expected result is:
using real ois cal data in EEPROM on DVT2 module and after,
using dafault ois cal data on old module(before DVT2).
Change-Id: I8b156021aa3acc3e21d9b073d007a4b79db2f546
Signed-off-by: libm1 <libm1@lenovo.com>
Xiaofei Ma [Wed, 9 Jan 2019 22:48:45 +0000 (16:48 -0600)]
[9610] fimc-is2: add bu24218 OIS factory test
Firmware version and hea test support.
Change-Id: Iafdd03a47c73aadbb19ed50f71755c51f1adb9c8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
wangdw10 [Sat, 29 Dec 2018 07:41:18 +0000 (15:41 +0800)]
[COMMON] fimc-is2: update camera cal dump folder
Change-Id: Ied5a2d62c063b214b9418d82a46313a3e390b715
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
libm1 [Fri, 28 Dec 2018 05:55:57 +0000 (13:55 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings
Update FW ver 1.2 to 1.3 support
Change-Id: I0e10121ded4e3b488b4c317944a5cb2d11388ed9
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Thu, 20 Dec 2018 12:34:25 +0000 (20:34 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl centering mode settings
Change-Id: Iae133199dc2843c702f2e7a0e73ee4ec1b3ada81
Signed-off-by: libm1 <libm1@lenovo.com>
libm1 [Tue, 18 Dec 2018 05:31:42 +0000 (13:31 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings
Temp use default cal data, not use cal data from eeprom
Move ois init timing after eeprom init done
Update FW ver 1.0 to 1.2 support
Change-Id: I70d2f306208345f3d98cc09c07807f01c4dcf1d1
Signed-off-by: libm1 <libm1@lenovo.com>
Dohyun Kim [Wed, 15 May 2019 06:52:19 +0000 (15:52 +0900)]
[9610] fimc-is2: eeprom loading sequence change
Change-Id: I02f44fd496598aa2812642b2daa4aa326558089e
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
wangdw10 [Fri, 10 May 2019 07:39:49 +0000 (15:39 +0800)]
[COMMON] fimc-is2: troika: improve eeprom dump flow
read module serial numbe and check to dump eeprom
Change-Id: Ib61d4041e720aed780b25c5ac462799f8100aafa
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
wangdw10 [Fri, 10 May 2019 03:00:05 +0000 (11:00 +0800)]
[COMMON] fimc-is2: troika: improve eeprom dump logic
1. avoid dump again when serial number same
2. fix logic error when CRC fail
Change-Id: Ib7a0ace30b46aef1ca5eb11d40d307a5198acfb4
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
xff [Thu, 14 Mar 2019 08:50:44 +0000 (16:50 +0800)]
[COMMON] fimc-is2: update eeprom map of OV12A10
1. Robusat2Play_Calibration_map_20190226.xls
2. only dump 2k size for dual camera cal data
Change-Id: I6a65502edb388333e490f880be1ae6eb86309cc8
Signed-off-by: xff <fangfang.xu@samsung.com>
xff [Tue, 16 Apr 2019 09:07:48 +0000 (17:07 +0800)]
[COMMON] fimc-is2: Optimized otp read flow path for 5e9
Change-Id: I554d9560608b0f2b4069b6e8bd5a2b4dcab98c5b
Signed-off-by: xff <fangfang.xu@samsung.com>
xff [Fri, 12 Apr 2019 07:40:34 +0000 (15:40 +0800)]
[COMMON] fimc-is2: delete avdd gpio power up/down for 5e9
Change-Id: I0e4d67dcbbebcb12c6d9d265df8ae2295aceb261
Signed-off-by: xff <fangfang.xu@samsung.com>
xff [Tue, 16 Apr 2019 07:36:49 +0000 (15:36 +0800)]
[COMMON] fimc-is2: modified OV12A10/OV12A10FF/OV16885/5E9 power on sequence delay
Change-Id: I141dc1f11b91fa81f051982b9f87b3b33ca75fac
Signed-off-by: xff <fangfang.xu@samsung.com>
xff [Mon, 18 Mar 2019 10:53:20 +0000 (18:53 +0800)]
[COMMON] fimc-is2: adjust power up sequence for OV12A10/OV12A10FF/OV16885C/5E9
Change-Id: Id14a701c6a31b89a0aa72ddd78f4a8a892b676b0
Signed-off-by: xff <fangfang.xu@samsung.com>
Dohyun Kim [Wed, 27 Mar 2019 09:18:16 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add pdaf feature to 12a10 sensor
Change-Id: Ibe4dc721533e5161e7f3bfd9f9b9361c12ae8541
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
wangdw10 [Mon, 15 Apr 2019 03:16:50 +0000 (11:16 +0800)]
[COMMON] fimc-is2: add power retry logic
- when retried sensor module power off to on
add to get delay more
- sync power sequence from mainline to drvonly
Change-Id: I98f5561e88b9db6812e3d15592aa058e143c6903
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
Wooyeon Kim [Tue, 9 Apr 2019 01:38:29 +0000 (10:38 +0900)]
[COMMON] fimc-is2: modified GM1/2X5/5E9 power on sequence delay
- #1(power - MCLK) : increased 1ms
#2(reset high - first i2c) : each sensor spec
Change-Id: I5af56c82078470f7fc06a85f9a898d2a3ba62b99
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Dohyun Kim [Fri, 15 Feb 2019 07:14:03 +0000 (16:14 +0900)]
[9610] fimc-is2: set init low state for mclk of 5e9
Change-Id: Ia44ae8a9bf70afe1fddff940628c7f6250b894ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
wangdw10 [Tue, 29 Jan 2019 07:02:22 +0000 (15:02 +0800)]
[COMMON] fimc-is2: troika: add setfile_5e9_troika.bin for troika
Change-Id: I01ca39281f5d5e78f854b395f562797cfe7142bc
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
wangdw10 [Mon, 28 Jan 2019 13:38:48 +0000 (21:38 +0800)]
[COMMON] fimc-is2: cis: update sensor_module_5e9_power_setpin_0 for troika
Change-Id: Ie47b1430bbc25c7e6b314b1f505f86c3fdbb25a5
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
Wooyeon Kim [Tue, 27 Nov 2018 09:20:30 +0000 (18:20 +0900)]
[COMMON] fimc-is2: fix wrong regulator set at 5E9
Change-Id: I8bd6939b6a5e5e21bb530132ce8437a05d85dfa2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
ts_songwei1113_tmp [Thu, 15 Nov 2018 06:25:43 +0000 (14:25 +0800)]
[COMMON] fimc-is2: update sensor 5e9 setting of setC.
Change-Id: I6a2c768d79d8c92dfbde2bf3ace2f4fa98f0a891
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 29 Apr 2019 02:38:41 +0000 (11:38 +0900)]
[COMMON] fimc-is2: add embedded line DT at 2x5sp high speed mode
- for avoid wrong_cfg error when 3dhdr -> other mode
PR JIRA ID: CPR-1008
Change-Id: Ifb610fab92c713bb22adee33ecac1db13ee4891e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Wed, 10 Apr 2019 05:27:06 +0000 (14:27 +0900)]
[COMMON] fimc-is2: Optimized & update settings for 2x5 otp
Change-Id: I3c2d10ed435ec05ee2f22647e2ee09222da8d247
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Fri, 12 Apr 2019 12:03:42 +0000 (21:03 +0900)]
[COMMON] fimc-is2: modified pinctrl delay function to udelay
- for activate by busy waiting
Change-Id: Ib4958629646eb38bef35bd9752c07b2fc45343a4
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Thu, 11 Apr 2019 11:14:20 +0000 (20:14 +0900)]
[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting
- It can cause mismatch of PAFSTAT setting
not initilized for pafstat tasklet
PR JIRA ID: CPR-944
Change-Id: I2dd6a00e1aafa1b5959925e99aeeed5b976e5cc5
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Sanghoon Lee [Sat, 26 Jan 2019 05:39:06 +0000 (14:39 +0900)]
[COMMON] fimc-is2: Remove ring-buffer concept for sensor tag data
Ring buffer concept for sensor tagging data was applied to avoid the
data overwriting issue.
That issue was removed now and ring buffer is not necessary anymore.
PR JIRA ID: CPR-625
Change-Id: Ia85a84261b63e97e223585ebebbd84396fcb8579
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sanghoon Lee [Fri, 25 Jan 2019 09:37:27 +0000 (18:37 +0900)]
[COMMON] fimc-is2: Update tag_data only for sensor group
To update sensor tagging data through device manager's shot callback,
current group must be connected to sensor group with OTF path.
Because sensor tagging data is being stored in global variable,
which is defined in devicemgr structure,
the others should not update it to prevent the data overwriting.
PR JIRA ID: CPR-625
Change-Id: Ib6f67e23216a62fbf33f402fd6d082d9427713ac
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Jeongtae Park [Tue, 15 Jan 2019 05:15:01 +0000 (14:15 +0900)]
[COMMON] fimc-is2: change 'ENABLE_SENSOR_VC_FUNCTION' to 'CHAIN_ENABLE_VC_TASKLET'
PR JIRA ID: CPR-584
Change-Id: I749b371a3fefe175002c3bb418710d52ae7c8ce4
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Wooyeon Kim [Wed, 17 Apr 2019 05:47:10 +0000 (14:47 +0900)]
[COMMON] fimc-is2: do not print false alram of group_stop
when closing camera, make do not print a error return
PR JIRA ID: CPR-972
Change-Id: Ic2284c230bbda6531135ced1e9a2d1c2b7484f8e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooki Min [Wed, 7 Nov 2018 00:58:19 +0000 (09:58 +0900)]
[COMMON] fimc-is2: remove unused shot trigger logic
This shot trigger logic is not valid because when HW FRO is enabled,
shot is transfer to DDK too much.
JIRA PR ID: CPR-370
Change-Id: I040c0caf299a20ab7c0d00d3eab55e37ea312152
Signed-off-by: Wooki Min <wooki.min@samsung.com>
Wooyeon Kim [Wed, 27 Mar 2019 09:16:22 +0000 (18:16 +0900)]
[COMMON] fimc-is2: divide mcsc cur_setfile by instance
PR JIRA ID: CPR-880
Change-Id: Id5119ff5bee7716de1cc38b4efabc262d6fc461b
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Dohyun Kim [Sun, 24 Mar 2019 10:51:18 +0000 (19:51 +0900)]
[COMMON] fimc-is2: change normal spin_lock to spin_lock_irqsave
PR JIRA ID: CPR-863
Change-Id: I36667a8cd4c1765745f4e75c221f29397b9127ef
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Wooyeon Kim [Tue, 16 Apr 2019 09:01:57 +0000 (18:01 +0900)]
[COMMON] fimc-is2: disable CSIS DMA F.S masking at csi v5.1/v5.2
PR JIRA ID: CPR-966
Change-Id: I66f87fc2c2884947fd9d1d15a623d49a0dfa4aa2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 8 Apr 2019 07:44:32 +0000 (16:44 +0900)]
[COMMON] fimc-is2: move csi dma disable to DMA ISR & modify DMA state.
- CSIS core start not guerantee CSIS DMA starts.
PR JIRA ID: CPR-966
Change-Id: Ifadfe55c34c57c30997e8334b45a19daef5a07c6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
hgchu [Sat, 21 Apr 2018 05:24:24 +0000 (14:24 +0900)]
[COMMON] sd: change default chunk size
This patch make default chunk size in /sys/block/sda/queue/max_sectors_kb
512 from 8(KB).
Change-Id: I7663df68b85eb64a8a94c9f553c3086a0ca33852
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
Daniel Rosenberg [Thu, 25 Oct 2018 23:25:15 +0000 (16:25 -0700)]
ANDROID: sdcardfs: Add option to not link obb
Add mount option unshared_obb to not link the obb
folders of multiple users together.
Bug:
27915347
Test: mount with option. Check if altering one obb
alters the other
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I3956e06bd0a222b0bbb2768c9a8a8372ada85e1e
Daniel Rosenberg [Thu, 25 Oct 2018 23:22:50 +0000 (16:22 -0700)]
ANDROID: sdcardfs: Add sandbox
Android/sandbox is treated the same as Android/data
Bug:
27915347
Test: ls -l /sdcard/Android/sandbox/*somepackage* after
creating the folder.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I7ef440a88df72198303c419e1f2f7c4657f9c170
Daniel Rosenberg [Fri, 6 Jul 2018 23:24:27 +0000 (16:24 -0700)]
ANDROID: sdcardfs: Add option to drop unused dentries
This adds the nocache mount option, which will cause sdcardfs to always
drop dentries that are not in use, preventing cached entries from
holding on to lower dentries, which could cause strange behavior when
bypassing the sdcardfs layer and directly changing the lower fs.
Change-Id: I70268584a20b989ae8cfdd278a2e4fa1605217fb
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Daniel Rosenberg [Fri, 20 Jul 2018 23:11:40 +0000 (16:11 -0700)]
ANDROID: sdcardfs: Change current->fs under lock
Adjusted from previous version to add missing include
bug:
111641492
Change-Id: I321d83f5d599efb3abdfaf2f3a4900ac512beca6
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Todd Kjos [Wed, 3 Oct 2018 20:50:58 +0000 (13:50 -0700)]
Revert "ANDROID: sdcardfs: Change current->fs under lock"
This reverts commit
1e6b0ff01fc5cb2701734de69a93fb1c42d894b5.
Change-Id: Ie3ab446da93fb1cea37078addd261a1c3b863237
Daniel Rosenberg [Thu, 26 Jul 2018 23:32:09 +0000 (16:32 -0700)]
ANDROID: sdcardfs: Check stacked filesystem depth
bug:
111860541
Change-Id: Ia0a30b2b8956c4ada28981584cd8647713a1e993
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Youngsoo [Tue, 4 Jun 2019 01:15:04 +0000 (10:15 +0900)]
[Q Keystone][9610] wlbt: enable configs for Q
enable NAN, CONFIG_SCSC_WLAN_MHS_STATIC_INTERFACE, CONFIG_NETFILTER_XT_TARGET_CT, CONFIG_SCSC_WLAN_SAE_CONFIG
Change-Id: I2ca88946fa06902913dd86bb3d88a28fa97ffd6a
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
scsc_gerrit [Thu, 23 May 2019 12:58:12 +0000 (13:58 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.67.0
Import FW for iteration 6.67.0
Change-Id: I54a9b41b3beb36a19ead8640620dd518df5f36e1
SCSC-Bug-Id: scsc_iteration_6.67.0_p_ww_stable
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
nara218.lee [Wed, 17 Apr 2019 09:14:36 +0000 (18:14 +0900)]
[NEUS7920-477] [9610] wlbt: enable/disable enhanced packet filtering function as CMD ioctl
Enabling or disabling enahnced packet filtering in runtime.
Change-Id: Ia7cd5b365dde3c75a76258a19cc1f1f21c664520
SCSC-Bug-Id: SSB-52480
Signed-off-by: nara218.lee <nara218.lee@samsung.com>
Srishti Piplani [Sun, 16 Sep 2018 14:43:29 +0000 (20:13 +0530)]
[NEUS7920-477] [9610] wlbt: Support for configuring Latency Mode
Host changes to set the latency mode according to
the value supplied in the ioctl SET_LATENCY_MODE.
Change-Id: Ibc388c8513ae2a622efcc856270ab87082e8bd4e
SCSC-Bug-Id: SSB-52771
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Albert Cano [Tue, 21 May 2019 09:57:37 +0000 (10:57 +0100)]
[NEUS7920-477] [9610] wlbt: Parametrize and reduce redistribution time
It has been observed tput drops when [m]DNS or TCP SYNC
packets are transmitted on high tput scenerarios.
Current driver changes the AC category to VO
on [m]DNS and TCP SYNC frames. When AC VO is selected, balance
of traffic will assign mbulk memory to this AC by halving
the available memory. That effectivily means that on high tput
scenarios the memory available is halved and tput drops (less
frames sent to FW before flow control triggers).
BoT algorithm is able to redistribute mbulk memory if one of
the subqueues is not used. However the current algorithm checks
if the queues has not been used for 5 seconds. This time is high
when we require high tput.
The patch addresses the issue by parametrizing the time to
redistribute and setting a value of 0 ms.
Change-Id: I22bcb33a5b39e55c90f25ced2582babe55eb9faf
SCSC-Bug-Id: SSB-52811
Signed-off-by: Albert Cano <a.canocamps@samsung.com
scsc_gerrit [Wed, 22 May 2019 10:41:30 +0000 (11:41 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.6
Import FW for iteration 6.66.6
Change-Id: Ic010a292169d9eb6d62b005dd4f38c1110e96bfa
SCSC-Bug-Id: scsc_iteration_6.66.6_p_ww_stable
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
dujeonglee [Fri, 19 Apr 2019 02:51:31 +0000 (11:51 +0900)]
[NEUS7920-477] [9610] wlbt: API for configuraing number of antennas
Support runtime change for number of antennas.
Change-Id: I0297a1a0c6ef382c8e089dcc259a68a4fc3a8a25
SCSC-Bug-Id: SSB-51894
Signed-off-by: dujeonglee <dujeong.lee@samsung.com>
scsc_gerrit [Tue, 21 May 2019 16:27:50 +0000 (17:27 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.5
Import FW for iteration 6.66.5
Change-Id: I2ce47fdda09f4f83c8a14be85f4491a39e71426b
SCSC-Bug-Id: scsc_iteration_6.66.5_p_ww_stable
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
scsc_gerrit [Tue, 21 May 2019 14:03:47 +0000 (15:03 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.64.5
Import FW for iteration 6.64.5
Change-Id: Id48f07cdb6abd7bceeb3b7430d633fd8aba5d6f7
SCSC-Bug-Id: scsc_iteration_6.64.5_p_ww_stable
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Himani Gupta [Fri, 17 May 2019 09:11:40 +0000 (14:41 +0530)]
[NEUS7920-477] [9610] wlbt: [FAPI7]Driver Fix enum value for backward compatibility.
Revert enum changes done for fapi7 updates to
support backward compatibility.
Change-Id: I30149174007d178d1840782b34ea8cc483ced30d
SCSC-Bug-Id: SSB-52848
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
scsc_gerrit [Mon, 20 May 2019 19:20:20 +0000 (20:20 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.4
Import FW for iteration 6.66.4
Change-Id: I4b3b50bb19c1d92d045a828c866a508eac1132ad
SCSC-Bug-Id: scsc_iteration_6.66.4_q_ww
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
scsc_gerrit [Mon, 20 May 2019 18:43:26 +0000 (19:43 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.3
Import FW for iteration 6.66.3
Change-Id: Ic46b0f0fc2a3451fbfab3031faa4941e6e8035b9
SCSC-Bug-Id: scsc_iteration_6.66.3_p_ww_stable_aftersync
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Ivan Priest [Thu, 16 May 2019 12:43:32 +0000 (13:43 +0100)]
[NEUS7920-477] [9610][9630] wlbt: log WLBT_STAT in proc
Ability to log WLBT deep sleep request state (WLBT_STAT[0])
Change-Id: I4319643c610c71cbb9e20575f0f3205bcdbc3ee0
SCSC-Bug-Id: SSB-51613
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Srishti Piplani [Mon, 6 May 2019 13:51:01 +0000 (19:21 +0530)]
[NEUS7920-477] [9610] wlbt: Consider band while storing scan results
Band needs to be considered while storing scan results
so that while storing information about hidden AP's
in the SSID map , we get the correct results.
SCSC-Bug-Id: SSB-52395
Change-Id: I2e5b9c662303c21f7677611f51d043670df6cb0d
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Srishti Piplani [Thu, 16 May 2019 13:37:46 +0000 (19:07 +0530)]
[NEUS7920-477] [9610] wlbt: Kernel panic when sta_bss expires
when sta_bss expires in cfg , and when connect is received, connect scan to be triggered.
SCSC-Bug-Id: SSB-52829
Change-Id: I6850274999745d4bbaa2c62579abfbb3c3fb2fe9
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Ivan Priest [Thu, 16 May 2019 13:00:56 +0000 (14:00 +0100)]
[NEUS7920-477] wlbt: fix uninitialsed warning in previous commit
Service ID
Change-Id: Ic9b35b9b3537f34ad8367724c80dd8eb9583bfcb
SCSC-Bug-Id: SSB-52765
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Wed, 15 May 2019 11:19:39 +0000 (12:19 +0100)]
[NEUS7920-477] wlbt: annotate service driver API
Annotate service driver API calls with service ID.
Also BT remove callback exit point.
Change-Id: Id945c9ca61732abd0c604a1ff2f402b242357ba0
SCSC-Bug-Id: SSB-52765
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Himani Gupta [Wed, 20 Mar 2019 06:08:27 +0000 (11:38 +0530)]
[NEUS7920-477] [9610]wlbt: Driver changes for Fapi updates.
Driver changes to handle latest fapi(7) changes
& FTM changes to add two new field in rtt
results.
Change-Id: I6695a498beb2f448e6f6151ddca49eca740670ee
SCSC-Bug-Id: SSB-46474
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Connor Newton [Thu, 9 May 2019 12:36:18 +0000 (13:36 +0100)]
[NEUS7920-477] [9610] wlbt: Gate slsi_rx_event_log_indication() on ...GSCAN_ENABLE
Fix Linux compatibility by gating compilation of Android-specific
call
Change-Id: Ibc7b3b449c24de545e77c87049ebec0d2f8ecca9
SCSC-Bug-Id: SSB-52543
Signed-off-by: Connor Newton <c.newton@samsung.com>
Ivan Priest [Thu, 22 Nov 2018 13:56:11 +0000 (13:56 +0000)]
[NEUS7920-477] wlbt: Load optional Common HCF (configurable)
Load HCF files for Common configuration, and pass to Common FW
via the mxconf structure.
Change-Id: I08727d5f2c4c9d5d0c70c8db025cee092b7920fe
SCSC-Bug-Id: SSB-46627
Signed-off-by: Garry Rank <g.rank@samsung.com>
Ivan Priest [Wed, 15 May 2019 08:48:11 +0000 (17:48 +0900)]
[NEUS7920-477] Revert "wlbt: Load optional Common HCF"
This reverts commit
a56461f801359f9d97624ee3ffd8524adc535bbf.
FW data abort was reported by some.
Change-Id: I3d7ceb63b17965a56d5234ade1b7d4416f259cbc
SCSC-Bug-Id: SSB-46627
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Thu, 22 Nov 2018 13:56:11 +0000 (13:56 +0000)]
[NEUS7920-477] wlbt: Load optional Common HCF
Load HCF files for Common configuration, and pass to Common FW
via the mxconf structure.
Change-Id: Idc196e11454118c8410a4b3895d538dfdd19d7f3
SCSC-Bug-Id: SSB-46627
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Thu, 2 May 2019 16:16:05 +0000 (17:16 +0100)]
[NEUS7920-477] wlbt: prevent simultaneous gdb monitor clients
No more than one gdb client allowed per node at a time.
Multiple mmap clients are permitted as they are read only
Change-Id: I9e734c776ea13479c9191f6f8eca55ac15b00a3e
SCSC-Bug-Id: SSB-52259
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Thu, 9 May 2019 08:53:16 +0000 (09:53 +0100)]
[NEUS7920-477] wlbt: log phys addr of logring buffer
Aid to extracting logring from ramdump via mxdecoder
Change-Id: I04ecb1f7b60dfcb4f48993ce8222914846ff0b18
SCSC-Bug-Id: SSB-34637
Signed-off-by: Ivan Priest <i.priest@samsung.com>
scsc_gerrit [Mon, 20 May 2019 16:22:16 +0000 (17:22 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.2
Import FW for iteration 6.66.2
Change-Id: Idaa4a6d98f0e65761c060369991893507c8364b1
SCSC-Bug-Id: scsc_iteration_6.66.2_q_ww_aftersync
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Purnendu Kapadia [Mon, 20 May 2019 12:55:27 +0000 (13:55 +0100)]
[NEUS7920-477] wlbt: introduce scsc_log_sys_error trigger
introduce a new trigger scsc_log_sys_error
SCSC-Bug-Id: SSB-52919
Change-Id: I9f0a7fdc924533020ccdfc795f196594baafec32
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
scsc_gerrit [Sat, 18 May 2019 14:18:47 +0000 (15:18 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.1
Import FW for iteration 6.66.1
Change-Id: I4e846f6cf89817481229dc68e7a094087084ce41
SCSC-Bug-Id: scsc_iteration_6.66.1_q_ww_before_sync
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Albert Cano [Fri, 15 Feb 2019 15:05:06 +0000 (15:05 +0000)]
[NEUS7920-477] [9610] wlbt: Minimoredump collected in sbl file
Minimoredump collected in sbl file
SCSC-Bug-Id: SSB-49072
Change-Id: If93dfa1332e75e0f41541f205e1494ade728c168
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
Mohit Ghuley [Mon, 17 Sep 2018 07:41:19 +0000 (13:11 +0530)]
[NEUS7920-477] [9610] wlbt: Enabling CONFIG_NETFILTER_XT_TARGET_CT Flag in ERD Defconfig.
Enabling CONFIG_NETFILTER_XT_TARGET_CT
Flag in ERD Defconfig to fix Wifi Sharing.
Change-Id: Ibd60a1cdfaf8bbeefba617a243670b3a83465367
SCSC-Bug-Id: SSB-52788
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
scsc_gerrit [Fri, 17 May 2019 13:28:42 +0000 (14:28 +0100)]
[NEUS7920-477] [9610] wlbt: increment scsc_release to 6.66.0
Import FW for iteration 6.66.0
Change-Id: I9eeb4a050ad2af7d8af27910b02191eeb8f3b13f
SCSC-Bug-Id: scsc_iteration_6.66.0_q_ww
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Himani Gupta [Tue, 23 Apr 2019 13:17:13 +0000 (18:47 +0530)]
[NEUS7920-477] [9610][7885][7872][7570] wlbt: Added prevention check for vif activation.
Added prevention check whether P2P vif is activated
or not for p2p_unset_channel.
Change-Id: If40092f3fe82023d61496beeedaa9b45f941fa63
SCSC-Bug-Id: SSB-51865
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Mohit Ghuley [Mon, 17 Sep 2018 05:39:30 +0000 (11:09 +0530)]
[NEUS7920-477] [9610] wlbt: nlcommands in kernel and supplicant should match
nl_commands in include/uapi/linux/nl80211.h and /src/driver/nl80211_copy.h
should match
SCSC-Bug-Id: SSB-52783
Change-Id: Ic45d90f2a52d54f764a2e4064b010d8d66efee03
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Ivan Priest [Tue, 14 May 2019 11:56:50 +0000 (12:56 +0100)]
[NEUS7920-477] wlbt: check mxlogger is configured before generating sync record
The mxlogger sync record could be requested when driver is tearing
down, causing a kernel panic. Check the flag and reject memory
access if the logger is deconfigured.
Change-Id: If90d44d42eeb8a3d33fb36ae3aa8d756923cea48
SCSC-Bug-Id: SSB-52717
Signed-off-by: Ivan Priest <i.priest@samsung.com>
(cherry picked from commit
75d01666aee1e3ec27ee84bc1943f4bed31fe51b)
Jaya Prakash Sangaru [Mon, 13 May 2019 09:19:14 +0000 (14:49 +0530)]
[NEUS7920-477] [9610][7885] wlbt: fix NAN kernel panic
In nan followup ind stack is corrputed. This fixes
this issue.
Change-Id: Id519899637abaca5bba2a9b09a82f5b7d031aa22
SCSC-Bug-Id: SSB-52644
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>