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>
Mohit Ghuley [Tue, 30 Apr 2019 05:28:56 +0000 (10:58 +0530)]
[NEUS7920-477] [9610] wlbt: Enabling CONFIG_SCSC_WLAN_MHS_STATIC_INTERFACE in erd9610_defconfig.
Enabling CONFIG_SCSC_WLAN_MHS_STATIC_INTERFACE in
erd9610_defconfig.
Change-Id: I8d3043c020f2a6045e3175c15c562d3970b8ea38
SCSC-Bug-Id: SSB-51962
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Jaya Prakash Sangaru [Mon, 6 May 2019 13:23:54 +0000 (18:53 +0530)]
[NEUS7920-477] [9610][7885] wlbt: Rectify NAN IE decoding.
Rectified fapi vendor NAN IE decoding.
Rectified publish_subscribe_id value in mlme_nan_followup.req.
Change-Id: I5430b8004cf0bd9abd12ce126099353c7ec9bafb
SCSC-Bug-Id: SSB-52363
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
Soren Andersen [Thu, 29 Nov 2018 12:45:06 +0000 (13:45 +0100)]
[9610] wlbt: Add memory barrier in BT IRQ handler
Added a memory barrier in the IRQ handler for BT,
to ensure that the irq bit is cleared before starting
to read the shared mailbox indexes.
Change-Id: I9b3979695bc23dd09c3a46a2f3130aa81e949ec4
SCSC-Bug-Id: SSB-46925
Signed-off-by: Soren Andersen <s.andersen@samsung.com>
Mohit Ghuley [Tue, 7 May 2019 09:51:53 +0000 (15:21 +0530)]
[9610][7885][7872][7570] wlbt: Addition of Scheduled Scan condition, during Scan List Updation in Driver.
Addition of Scheduled Scan condition,
during Scan List Updation in Driver.
Change-Id: I41d244eeec2f1d0312cb991a44a4cd762c53cf8a
SCSC-Bug-Id: SSB-52411
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Ayoung Sim [Fri, 24 May 2019 05:04:53 +0000 (14:04 +0900)]
[COMMON] media: mfc: expand encoder LAST_SEQ
Even if we don't have the src/dst buffer,
we can send the LAST_SEQ command.
And if the header only data(SPS or SPS+PPS not including IDR)
is created in dst buffer,
drvier update the tag with specific data("0xC5D")
becasue we don't have the proper tag.
Change-Id: Ia5e71d17c2b345314ff2f03f09b712b80203b77c
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 22 May 2019 04:38:03 +0000 (13:38 +0900)]
[COMMON] media: mfc: remove bitrate list deletion during DRC
Change-Id: I77981d4decbf08e685261850a62f9169c3eab5e2
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Mon, 20 May 2019 10:14:59 +0000 (19:14 +0900)]
[COMMON] media: mfc: fix frame rate change with delta
If the frame rate changes, the DELTA and RESOLUTION
must be recalculated.
Because we set RESOLUTION to 1000ms
for "drop control" feature forward.
Change-Id: Ica4e65835c757acdfbf601263b88934ffb49a6da
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 8 May 2019 02:02:31 +0000 (11:02 +0900)]
[COMMON] media: mfc: fix the g_crop fail
During the special parsing also, g_crop is possible.
Change-Id: Ia9ed5c085ecb0ba2911b539c1314c414c0b0665f
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 10 Apr 2019 07:39:19 +0000 (16:39 +0900)]
[COMMON] media: mfc: supports drop control
When the input interval is lower than set fps,
bit allocation is adjusted by drop control.
Change-Id: Ic628a72c55bc6cb1c69ebe0a07968b4567d65a81
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Tue, 23 Apr 2019 05:37:55 +0000 (14:37 +0900)]
[COMMON] media: mfc: Resolved Prevent Issue
Fixed errors in mfc_watchdog.c:
1. Unsigned comparison against 0
2. Invalid Assignement(variable size difference)
Change-Id: I0043d49ba651fe0f9e7992ce133d19cea6a65723
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Ayoung Sim [Fri, 22 Mar 2019 05:45:38 +0000 (14:45 +0900)]
[COMMON] media: mfc: adjust the MFC freq by bps
Change-Id: Iccfd2678dc957e53776f271174be60f19f37d503
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Fri, 22 Mar 2019 05:16:57 +0000 (14:16 +0900)]
[COMMON] media: mfc: create the bitrate table
Change-Id: Iec0573a334e0c25ad2e814d01306e9e271233583
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 22 May 2019 09:37:47 +0000 (18:37 +0900)]
[9610] arm64: dts: add the independent mfc freq for bitrate table
Change-Id: If1cb691f0da5b320e7fefe16e9619d7d6801fda8
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 20 Mar 2019 07:47:16 +0000 (16:47 +0900)]
[COMMON] media: mfc: consider the bitrate for the QoS
Change-Id: Ibc09e0fc5e517ce34d540c3a47e2694930ab9e46
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Wed, 22 May 2019 08:38:37 +0000 (17:38 +0900)]
[9610] arm64: dts: add the bitrate spec information
Change-Id: I6b27df342eac5e5e72d7e6a4f523b85d07ebea66
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Sunyoung Kang [Thu, 7 Mar 2019 02:54:53 +0000 (11:54 +0900)]
[COMMON] media: mfc: add itmon debug for MMCache
When the itmon notifier is called, this adds to check whether MMCache port or not.
If it is MMCache master, show the MMCache and MFC info.
Change-Id: If83e97bb198c919a8ef54376dad063867810acd9
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Sunyoung Kang [Sun, 17 Feb 2019 08:50:50 +0000 (17:50 +0900)]
[COMMON] media: mfc: add the RES_CHANGE_INIT state to wait SEQ_DONE
In case of DRC, if the g_fmt is called right after RES_CHANGE_INIT
it doesn't wait SEQ_DONE. And then the updated resolution is not applied
to dpb size. So this adds the RES_CHANGE_INIT state to condition for waiting SEQ_DONE.
Change-Id: If4ab14548db14cdb818f9393c043c4d2220bafe4
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Sunyoung Kang [Wed, 13 Feb 2019 10:29:54 +0000 (19:29 +0900)]
[COMMON] media: mfc: add the debug info for MMCACHE flush fail
This adds the debug information to analyze the case of MMCache flush fail.
- MMCACHE Status, CMU BUSC status, CMU MIF status
Change-Id: Ia90cdbfc1abd137b222b01ec84a32fc79acb90d3
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Sunyoung Kang [Wed, 23 Jan 2019 05:24:39 +0000 (14:24 +0900)]
[COMMON] media: mfc: fix the prevent defect
This fixes null pointer dereferences(REVERSE_INULL).
Change-Id: If10599199ac8aff1a7f3e5e8ae794d3dedc0b107
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Ayoung Sim [Tue, 22 Jan 2019 07:04:53 +0000 (16:04 +0900)]
[COMMON] media: mfc: check the MFC pending
MFC transaction should never occur in the section
where the MFC attribute is changed. (Normal <-> Secure)
But transaction can be send by HWACG although clock was disabled.
So, we check the pending both F/W and H/W.
Change-Id: I9f5b9eafa5c94cd159142be0e906638544467072
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
seungmin.ahn [Fri, 18 Jan 2019 01:57:04 +0000 (10:57 +0900)]
[COMMON] media: mfc: expand the logging data
Change-Id: Ia2bc0bd0eb2e1b3ea3a105f75a3cad8100430587
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Ayoung Sim [Mon, 14 Jan 2019 10:47:04 +0000 (19:47 +0900)]
[COMMON] media: mfc: call the TS-MUX dump if there's OTF node
Change-Id: I4fb8075a6cfe29cb5dae3c6c0ffc2a657f155278
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Youngsoo [Fri, 17 May 2019 06:29:20 +0000 (15:29 +0900)]
[RAMEN9610-15240] [common][9610] wlbt : enable sable log as default
enable log_collection as default settings.
Change-Id: I4f68f01c54caad9749819e6fbacf6b7639e1cab5
Signed-off-by: Youngoo <youngss.kim@samsung.com>
Keunho Hwang [Mon, 13 May 2019 05:15:31 +0000 (05:15 +0000)]
[RAMEN9610-15202] [COMMON] drivers: charger: add IVR isr for input curr. control
Change-Id: I5cce369c57129b6153063bbc0da0a1f088664753
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Yunsu Kim [Thu, 16 May 2019 02:01:16 +0000 (11:01 +0900)]
[RAMEN9610-15197] [COMMON] media: radio: Increase SEARCH_DELAY_MS to 20
Change-Id: I22550fdce289baf4a0c2dc53612a0c76545dac95
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Jiyoung Jeong [Wed, 15 May 2019 05:34:30 +0000 (14:34 +0900)]
[RAMEN9610-15140] [COMMON][MODAP-30861] modify wakeup time when driver receive packet.
Change-Id: I397f744364afc7d9d6b66ca5029bddbd06c43dbb
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Wooyeon Kim [Mon, 13 May 2019 05:58:21 +0000 (14:58 +0900)]
[COMMON] fimc-is2: distinguished setfile select by H/W revision for 2P7SQ, 2T7SX
- for distinguish setting files by H/W revision (0x0002)
PR JIRA ID: CPR-1050
Change-Id: I6ce68cd3437be78e56789db47119432fcd9d8bb3
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Jaya Prakash Sangaru [Wed, 8 May 2019 08:44:51 +0000 (14:14 +0530)]
[RAMEN9610-15069] [9610][7885] wlbt: Fix ssid filter element
Include only 7 SSID descriptors in SSID filter element. When
more than 7 SSIDs are present, have multiple SSID filter
element each with not more than 7 SSID descriptors.
Change-Id: I641f5eba35ae0c78500eaaf7490fadfa18dcc202
SCSC-Bug-Id: SSB-52449
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
duk hyun kwon [Thu, 9 May 2019 08:39:35 +0000 (17:39 +0900)]
[RAMEN9610-15074] [COMMON] mmc: dw_mmc: sdcard power off when to card detect.
to occur lock warring is regulator disable in irq status.
so add sdcard regulator disable tasklet and fix up USIM broken issue
Change-Id: If10f4d4fb3e9aad2a2bd32355f3a946af0fd8fe7
Signed-off-by: duk hyun kwon <d_hyun.kwon@samsung.com>
Keunho Hwang [Thu, 9 May 2019 09:14:36 +0000 (09:14 +0000)]
[RAMEN9610-15071] [COMMON] drivers: battery: move full_check_cnt clear
Change-Id: Iea758e2c8175311713ab7958949666a3618b1ca6
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Fri, 10 May 2019 07:10:04 +0000 (07:10 +0000)]
[RAMEN9610-15070] [COMMON] drivers: led: turn off all leds at shutdown
Change-Id: Ib1fbbfd98d83998dc1f46a1cee7ba21bd2eab13f
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Wooyeon Kim [Thu, 25 Apr 2019 04:10:47 +0000 (13:10 +0900)]
[9610] fimc-is2: fix prevent defect (cid: 270171)
- 270171: out-of-bounds read
PR JIRA ID: CPR-995
Change-Id: I9f7316908f36f25ee9a1f0fd6d5a2e9cbdd997a6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Thu, 25 Apr 2019 02:13:01 +0000 (11:13 +0900)]
[COMMON] fimc-is2: fix prevent defect(cid: 270156, 270161, 270162)
270156: dereference after null check
270161: Explicit null dereferenced
270162: dereference after null check
PR JIRA ID: CPR-995
Change-Id: I91717c7b9d2ed5d85b053f16e3adc73f55a01711
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Jieun Yi [Fri, 19 Apr 2019 05:53:56 +0000 (14:53 +0900)]
[RAMEN9610-14534] [COMMON][MODAP-25597] s2mpu09: print PWRONSRC & OFFSRC registers in probe function
Change-Id: Ibcb732de9a19d86e73a5396353d65043bea6f7f5
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
ShinHyung [Fri, 10 May 2019 07:36:37 +0000 (16:36 +0900)]
[RAMEN9610-15045] [COMMON] ASoC: abox: remove unused memory
Change-Id: Iff890e49da8f049151df7ffdb89d70b21f6a3b20
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Sukwon Ryoo [Wed, 8 May 2019 01:42:12 +0000 (10:42 +0900)]
[RAMEN9610-15002] chub: re-enable NANOHUB in board config
remove #
Change-Id: I101371c5000194fe620d74346b40067ce77cd2e1
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Kisang Lee [Thu, 9 May 2019 01:08:22 +0000 (10:08 +0900)]
[RAMEN9610-14990] [COMMON] usb: remove W/A code to avoid kernel panic
Change-Id: I29d857af3601d8e4e79ab99fdedba2118a9b8f80
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
kiwoo Kwon [Tue, 30 Apr 2019 06:36:36 +0000 (15:36 +0900)]
[RAMEN9610-14844] [RAMEN9610-14796][COMMON][NFC] Change nfc related config setting
- Remove LDO_EN pin settings that are not required in ERD B/D
Change-Id: Iffc882995b32fa4bd7c10c23c5c839645d31f05e
Signed-off-by: kiwoo Kwon <kiwo.kwon@samsung.com>
scsc_gerrit [Tue, 7 May 2019 13:47:20 +0000 (14:47 +0100)]
[NEUS7920-218] [9610] wlbt: increment scsc_release to 6.65.2
Import FW for iteration 6.65.2
Change-Id: I4e8a0b68ff5e36fd4be29f2b73df2c6395a7d13e
SCSC-Bug-Id: scsc_iteration_6.65.2_p_ww_stable
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Srishti Piplani [Mon, 22 Apr 2019 08:59:11 +0000 (14:29 +0530)]
[NEUS7920-218] [9610] wlbt: Check validity of AP channel
Check validity of AP channel before selecting the
channel for starting the AP, for Wi-Fi Sharing
scenario. Select the channel only if it is non
indoor , non DFS.
Change-Id: Ie81bcf8e561bf89b83416647c8f27860561b0d6f
SCSC-Bug-Id: SSB-51899
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Yongbok Kim [Thu, 2 May 2019 10:35:07 +0000 (11:35 +0100)]
[NEUS7920-218] [9610] wlbt: Align mbulk class enum with fw
There are mismatches between host and fw for the mbulk class enum.
It has to be matched as it is causing confusion.
Change-Id: I9c7d97974a99300990da4277bd1b0eaa4cbe8d77
SCSC-Bug-Id: SSB-49211
Signed-off-by: Yongbok Kim <yongbok.k@samsung.com>
Debabrata Purohit [Thu, 2 May 2019 12:22:59 +0000 (13:22 +0100)]
[NEUS7920-218] [9610] wlbt: correct locking in BoT
The lock qs->cp_lock in Balance of Traffic (BoT) is accessed from
either software interrupt context or in process context.
So the right locking should be spin_lock_bh rather than spin_lock.
Change-Id: I49ca92d2b8ad1b166e37ac74bd921eed5285c30f
SCSC-Bug-Id: SSB-52281
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Ivan Priest [Tue, 30 Apr 2019 14:36:50 +0000 (15:36 +0100)]
[NEUS7920-218] wlbt: reprint host failure reason after FW panic record
Re-print the host failure reason string after the FW panic
record is printed in kernel log. Helps with failures where
reason has scrolled off top of kernel log.
Change-Id: I27ec6d74f8fea63a479a463838fcaca0cb4aba3f
SCSC-Bug-Id: SSB-52204
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Debabrata Purohit [Mon, 29 Apr 2019 18:15:57 +0000 (19:15 +0100)]
[NEUS7920-218] [9610] wlbt: prioritise important frames
To work around "Internet NOT connected" issue, prioritise
frames such as DNS, TCP SYN and Multicast DNS (MDNS) packets
and send them over Voice access category so that they are
sent ahead of other queued packets.
Change-Id: I5983819827cb95391a1fa765a0b8e094da61b6f7
SCSC-Bug-Id: SSB-52164
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Srishti Piplani [Fri, 26 Apr 2019 06:23:07 +0000 (11:53 +0530)]
[NEUS7920-218] [9610] wlbt: Change data type for SCSC_ENHANCED_PACKET_STATS
The data type for the Kconfig flag SCSC_ENHANCED_PACKET_STATS
has been corrected to bool.
Change-Id: I72513d09a5579918d2cd2487a581f23d947baf30
SCSC-Bug-Id: SSB-52066
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Ivan Priest [Fri, 26 Apr 2019 15:47:28 +0000 (16:47 +0100)]
[NEUS7920-218] wlbt: record FW ttid and print in /proc
Read the traceability ID from FW header,
log in kernel and add a /proc handler
Change-Id: I85883852e9568680c7af950958140094c6b45ddf
SCSC-Bug-Id: SSB-52053
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Jaya Prakash Sangaru [Fri, 26 Apr 2019 05:51:49 +0000 (11:21 +0530)]
[NEUS7920-218] [9610] wlbt : enable NAN in driver.
Enable NAN in driver.
Change-Id: I48057131c9b93e4b0e6b5ccc71a84650590094e9
SCSC-Bug-Id: SSB-51203
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
Jaya Prakash Sangaru [Tue, 23 Apr 2019 13:14:37 +0000 (18:44 +0530)]
[NEUS7920-218] [9610][7885] wlbt: split NAN code
Separate out NAN code from nl80211_vendor.c/h and
mlme.c to new files.
Change-Id: If25dc57cef1fa7245a74f6f170e33dad9e234421
SCSC-Bug-Id: SSB-51797
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
Debabrata Purohit [Wed, 24 Apr 2019 21:24:47 +0000 (22:24 +0100)]
[NEUS7920-218] [9610] wlbt: un-mask interrupts on resume
WLAN service driver unmasks all interrupts when
entering suspend.
And this interrupt status is saved and restored
by platform driver on resume.
But it will be more robust (to protect against races)
to unmask all interrupts in resume callback also.
Change-Id: Ib8208fa0f062630dd817e57787a33bee4abef850
SCSC-Bug-Id: SSB-51996
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Jayaprakash Sangaru [Wed, 24 Apr 2019 13:25:29 +0000 (18:55 +0530)]
[NEUS7920-218] [9610] wlbt: Wpa3 Ap Fixes in Drv
Wpa3 Ap Drv fixes
SCSC-Bug-Id: SSB-51978
Change-Id: Iac697886109c772ae0793e513055a23acec7aa6d
Signed-off-by: Jayaprakash Sangaru <j.sangaru@samsung.com>
Jaya Prakash Sangaru [Wed, 17 Apr 2019 10:08:48 +0000 (15:38 +0530)]
[NEUS7920-218] [9610][7885] wlbt: NAN binding mask update
Binding mask is 4 byte.
Change-Id: I38b0eeee394823f91cf6de505d9ad4023f25aa85
SCSC-Bug-Id: SSB-51851
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
Debabrata Purohit [Wed, 17 Apr 2019 10:43:40 +0000 (11:43 +0100)]
[NEUS7920-218] [9610] wlbt: decouple logring and PM QoS
HIP dynamically enables/disables logring on basis of
throughput. But it is coupled with kernel PM QoS config.
So when CONFIG_SCSC_QOS is not enabled, the dynamic
logring logging is also not supported.
Resolution:
Create a new traffic monitor client for dynamic logring
logging so it does not depend on CONFIG_SCSC_QOS.
Change-Id: Iad391586144002d7a18d9e4aac77842f2150c5ff
SCSC-Bug-Id: SSB-51843
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Srishti Piplani [Mon, 8 Apr 2019 10:41:22 +0000 (16:11 +0530)]
[NEUS7920-218] [9610] wlbt: Host changes for enhanced TX stats
Changes done to read the TX_COUNTERS MIB to get the
tx_retries field during slsi_get_station.
Change-Id: I761bf1182f3769f780a0b9873f2c5027e662ebac
SCSC-Bug-Id: SSB-51384
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Albert Cano [Mon, 15 Apr 2019 07:38:58 +0000 (08:38 +0100)]
[NEUS7920-218] [9610] wlbt: Remove tx_lifetime in non-debug builds
Remove tx_lifetime in non-debug builds as it might be
very verbose, logring should be used instead.
Change-Id: I025dd1ad156807bee576751a6b70066ef373a44a
SCSC-Bug-Id: SSB-51737
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Connor Newton [Fri, 12 Apr 2019 12:30:39 +0000 (13:30 +0100)]
[NEUS7920-218] [9610][7885][7872][7570] wlbt: Fix build without WPA3 external authentication support
Gate compilation of optional feature code
Change-Id: I382bd50f80c0f0f04aff057204adc2076b35f217
SCSC-Bug-Id: SSB-51719
Signed-off-by: Connor Newton <c.newton@samsung.com>