Khageswararao Rao B
56a5be9c84
Updated corresponding to - NFC_AR_00_1E800_13.0B.00_OpnSrc
...
merged NFC_AR_00_1E800_13.0B.00_OpnSrc
2022-12-12 16:02:03 +05:30
Khageswararao Rao B
c755b03abb
NFC: Driver: NFC Driver compilation issues on Pineapple
...
Added fix for compilation issue on Pineapple.
Change-Id: I8d39dbec75af8e44e6478b7d06e886196e1624fe
2022-12-03 21:24:25 -08:00
Khageswararao Rao B
5343706ca7
NFC: Driver: configure NFC_CLK_REQ GPIO to wakeup capable
...
Configure NFC_CLK_REQ GPIO (GPIO_35) to wakeup capable
by calling msm_gpio_mpm_wake_set().
Change-Id: Ic3f5a7caffc4de376dbcc00123fddeb6fd4fefa8
2022-12-02 16:49:55 +05:30
PRANAY BHARGAV BHAVARAJU
6de117e3c9
nfc driver: Added mutex lock
...
Added mutex loc in the fucntion ese_cold_reset_ioctl
to avoid double free issues
Change-Id: I1ba7187f8339a6de5a31ef009b45556ceab46989
Signed-off-by: PRANAY BHARGAV BHAVARAJU <quic_pbhavara@quicinc.com >
2022-09-09 09:05:33 -07:00
PRANAY BHARGAV BHAVARAJU
a6d8f76e52
NFC: Avoid slab out of bound
...
chages done to ese_cold_reset c file to avoid
slabout of bound issues.
Change-Id: Idbc72acc16c8a2f55d982015b69e196d38ddc199
Signed-off-by: PRANAY BHARGAV BHAVARAJU <quic_pbhavara@quicinc.com >
2022-09-09 09:05:07 -07:00
Bhuvan Varshney
585ccc9bf8
NFC: Avoid Null pointer de-referencing
...
Null pointer check is added in the send_ese_cmd function
to avoid null pointer dereferencing.
Change-Id: Ia577ba3b649b2a33076a2b33c3b20c3f1fffac85
2022-09-09 09:04:24 -07:00
Khageswararao Rao B
2eb1087f53
NFC: Driver: Add secure zone status check
...
Added secure zone status check before calling secure zone APIs
Change-Id: I09247c75233da257f3d8da569df21b2236d55772
2022-09-06 08:38:43 -07:00
Khageswararao Rao B
5cc720117c
NFC: Driver: Enable NFC driver for bengal
...
Added entry in board .mk file to load NFC driver
Change-Id: I11864caa589fb93bdcaaa4313cdd73a6a3ed6161
2022-09-06 08:34:56 -07:00
CNSS_WLAN Service
eb474db0be
Merge "Driver: eSE : checking NULL pointer" into nfc-driver.lnx.13.0
2022-09-06 01:39:31 -07:00
PRANAY BHARGAV BHAVARAJU
54561969eb
Driver: eSE : checking NULL pointer
...
NFC: set the rsp buffer to null
set the response buffer to null in order to avoid
invalid free
Change-Id: Id92aca9255e4e58cc03822a1af1adf6fbbdfa443
Signed-off-by: PRANAY BHARGAV BHAVARAJU <quic_pbhavara@quicinc.com >
2022-09-02 17:26:13 +05:30
Devendar Gali
3651ea6974
NFC: Fix to reslove the slab-out-bound issue
...
When received the read count from application more than MAX_NCI_BUFFER_SIZE
limiting the read count to MAX_NCI_BUFFER_SIZE.
Change-Id: Ib060b3b20fedc77a2e7a13bd1ac2b4c64da87a81
2022-08-18 13:11:05 +05:30
Mallikarjun S T
9beac5423e
NFC: driver: Add NFC secure zone status query in driver
...
Implemented secure zone status query calls in NFC driver
Change-Id: If41681ec14dbc53401182667df1256d5818f8576
2022-07-21 18:37:27 +05:30
Tapas Dey
0ff0ebef92
NFC: driver: Add a local flag to enable/disable compilation
...
Modified code to add a local flag to enable or disable
module compilation based on system-wide global flags
for different targets.
Change-Id: I52ee08ed82a0d40999cfbd0e8969d43801f29d95
2022-07-11 14:05:58 +05:30
Tapas Dey
3963d26d45
NFC: Fix to resolve abnormal read thread exit
...
During hiberantion/suspend, freezer process sends
fake signals to all running processes to put the
device into system wide sleep, which leads to
ungraceful exit of I2c read thread leaving the
upper layer retry the I2C access & ends up with
excessive error logging on the console.
Modified code to set/unset the no-freeze flag to
ensure such freezer fake signals can be avoided
when NFC is enabled & vice versa.
Change-Id: If0b8814daa172b3734a331ad9ab225c714e11e43
Signed-off-by: Tapas Dey <quic_c_tdey@quicinc.com >
2022-07-06 00:19:19 -07:00
Khageswararao Rao B
ade85437e3
NFC: Driver: Add clock request gpio configurations
...
Added clock request gpio configuration for kalama R2.
Change-Id: I61fe3e0d252e7b6bacd8be437725430d0c7def8e
2022-06-08 16:22:12 +05:30
Mallikarjun S T
eba3412350
NFC: driver: FR63179 Add NFC dynamic protection control
...
Implemented NFC dynamic protection control feature in driver; performing
Ven GPIO enable/disable post TZ notifications in non-secure/secure zone
respectively.
Change-Id: I13dedf23987ce0b3b2a53881d35f6c3cf462cd92
2022-05-25 16:43:12 +05:30
Linux Build Service Account
9214369e79
Merge "NFC: Driver: Remove unused macros and update ioctls arguments "
2022-03-31 14:04:26 -07:00
Linux Build Service Account
4e6fc6da24
Merge "Merge branch 'caf/driver/br_android_ncihalx_comm_13' into nfc-driver.lnx.13.0"
2022-03-31 14:04:25 -07:00
Khageswararao Rao B
2c07f5c665
NFC: Driver: Remove unused macros and update ioctls arguments
...
Removed unused macros and updated ioctls arguments as per HAL.
Change-Id: Ie6ef3a26c93b17147751d50e533b05f561376ced
2022-03-25 12:09:19 +05:30
Khageswararao Rao B
1273eaa4c3
Merge branch 'caf/driver/br_android_ncihalx_comm_13' into nfc-driver.lnx.13.0
...
* caf/driver/br_android_ncihalx_comm_13:
Updated corresponding to - NFC_AR_00_E800_13.03.00_OpnSrc
Updated corresponding to - NFC_AR_00_E800_13.02.01_OpnSrc
Change-Id: I8494390209f52873828fcc2c83929403c633646d
2022-03-25 11:10:48 +05:30
nxf24591
71fa3f1d6b
Updated corresponding to - NFC_AR_00_E800_13.03.00_OpnSrc
2022-03-01 15:12:06 +05:30
Khageswararao Rao B
414ee1d668
NFC: Driver: Add SW WAR to enable and disable NFC clock
...
Added SW WAR to enable NFC clock at NFC ON and disable
NFC clock at NFC OFF.
Change-Id: Id617efb53ba06caa735927b4d271990be7e4766c
2022-02-23 09:55:24 +05:30
Tapas Dey
a6c862cb8a
NFC: driver: Fix compilation issues on NFC driver
...
Modified code to fix compilation issues on NFC driver
for MW version 12.10.00 and retained QC specific code.
Change-Id: I9eeba3f6534a3c67c3b32b6361b4ef5d42965265
2022-02-02 16:47:06 +05:30
nxf24591
edbd2aaad6
Updated corresponding to - NFC_AR_00_E800_13.02.01_OpnSrc
2022-02-01 17:31:42 +05:30
Tapas Dey
9f6bae5ac6
Merge branch 'caf/driver/br_android_ncihalx_comm_12' into nfc-driver.lnx.13.0
...
* lc_origin/caf/driver/br_android_ncihalx_comm_12: (44 commits)
Updated corresponding to - NFC_AR_00_E800_12.10.00_OpnSrc
Updated corresponding to - NFC_AR_00_E800_12.0D.00_OpnSrc
Updated corresponding to - NFC_AR_00_E800_12.0A.00_OpnSrc
Updated corresponding to - NFC_AR_00_E000_12.07.00_OpnSrc
Clean up for 12.04.01
Updated corresponding to - NFC_AR_00_E000_12.04.01_OpnSrc
Updated corresponding to - NFC_AR_00_E000_12.02.01_OpnSrc
Updated corresponding to - NFC_AR_00_02.00_6000_12.51.00_OpnSrc
Updated corresponding to - NFC_AR_00_6000_11.06.00
Updated corresponding to - NFC_AR_00_6000_11.04.00_OpnSrc
Updated corresponding to - NFC_AR_00_6000_11.02.00_OpnSrc
Updated corresponding to - NFC_AR_00_6000_11.01.00_OpnSrc
Updated corresponding to - NFC_AR_00_6000_10.00.08_OpnSrc
Updated corresponding to - NFC_AR_00_6000_10.00.06_OpnSrc
NFC_NCIHALx_AR2000.09.00.13_OpnSrc
NFC_NCIHALx_AR2000.09.00.11_OpnSrc
NFC_NCIHALx_AR2000.09.00.0A
NFC_NCIHALx_AR2000.09.00.08_RC1
MW recovery for FW download teardown.
NFC_NCIHALx_AR2000.09.00.02_OpnSrc
...
Change-Id: If31e12a04fac55b45b5eabfb6a6207c63e1926bd
2022-01-05 11:11:09 +05:30
Abhishek Dhumal
92e090c560
driver: eSE: Fix possible use after free
...
Shared variable is accessed without any mutual exclusion,
it may result into overwriting memory address and cause
invalid write access to buffer after free or invalid free.
Convert shared variable to local as it's usage was limited
with in API itself, it will avoid overwriting memory address
by another thread as all of them will have their own copy.
Change-Id: I36692313396f6c60e1be4479711feb14bb92ae4c
Signed-off-by: Gaurav Singhal <quic_gsinghal@quicinc.com >
2021-12-29 15:32:05 +05:30
Abhishek Dhumal
182705d221
driver: eSE: Fix possible invalid buffer access
...
Add NULL check for buffer to avoid invalid access.
Change-Id: Id7ec5d655291eb6b8a2d08e8775a61bdecdc73ca
Signed-off-by: Gaurav Singhal <quic_gsinghal@quicinc.com >
2021-12-29 15:08:27 +05:30
nxf35421
55d2657f94
Updated corresponding to - NFC_AR_00_E800_12.10.00_OpnSrc
2021-12-17 17:25:16 +05:30
Tapas Dey
e89ae5f94a
NFC: FR72092, To move NFC module to vendor techpackage
...
As a part FR72092 requirement, moved the NFC driver
module out of kernel tree to be compiled as vendor techpackage.
Change-Id: I177d81782a7059bf6b9b4556b384737708c43348
2021-11-24 13:48:42 +05:30
Gerrit SelfHelp Service Account
a63df4ba2f
Initial empty repository
2021-11-03 10:49:21 -07:00
nxf35421
5e8c04a48d
Updated corresponding to - NFC_AR_00_E800_12.0D.00_OpnSrc
2021-10-07 00:21:34 +05:30
nxf35421
6b429ad0d1
Updated corresponding to - NFC_AR_00_E800_12.0A.00_OpnSrc
2021-08-19 13:43:24 +05:30
nxf35421
f94d1b082c
Updated corresponding to - NFC_AR_00_E000_12.07.00_OpnSrc
2021-07-02 17:51:36 +05:30
nxf35421
22458900cc
Clean up for 12.04.01
2021-06-17 15:03:32 +05:30
nxf35421
f64dad377c
Updated corresponding to - NFC_AR_00_E000_12.04.01_OpnSrc
2021-04-29 20:39:02 +05:30
nxf35421
0d82b80e37
Updated corresponding to - NFC_AR_00_E000_12.02.01_OpnSrc
2021-02-26 15:55:00 +05:30
nxf35421
2ec82a2bfd
Updated corresponding to - NFC_AR_00_02.00_6000_12.51.00_OpnSrc
2021-02-12 22:49:38 +05:30
nxf24591
bedce83629
Updated corresponding to - NFC_AR_00_6000_11.06.00
2020-11-20 18:32:04 +05:30
nxf24591
8c5402967f
Updated corresponding to - NFC_AR_00_6000_11.04.00_OpnSrc
2020-08-07 13:58:19 +05:30
Nanjesh
25c57d3a9e
Updated corresponding to - NFC_AR_00_6000_11.02.00_OpnSrc
2020-04-24 23:24:40 +05:30
Nanjesh
cb2bb40fc5
Updated corresponding to - NFC_AR_00_6000_11.01.00_OpnSrc
2020-02-28 19:06:57 +05:30
nxf35421
a90c2f8052
Updated corresponding to - NFC_AR_00_6000_10.00.08_OpnSrc
2019-06-28 15:49:31 +05:30
nxf35421
2a22a0e8e3
Updated corresponding to - NFC_AR_00_6000_10.00.06_OpnSrc
2019-05-24 17:09:11 +05:30
nxf35421
2910eb586b
NFC_NCIHALx_AR2000.09.00.13_OpnSrc
2018-11-05 16:28:48 +05:30
nxf35421
eefe925448
NFC_NCIHALx_AR2000.09.00.11_OpnSrc
2018-10-22 19:15:16 +05:30
nxf24591
4c9c334d17
NFC_NCIHALx_AR2000.09.00.0A
2018-08-02 12:29:04 +05:30
nxpandroid
84b84f3d83
NFC_NCIHALx_AR2000.09.00.08_RC1
2018-06-29 13:15:59 +05:30
nxpandroid
c3ae8c8934
MW recovery for FW download teardown.
2018-04-05 15:32:57 +05:30
nxf24591
717066fe9b
NFC_NCIHALx_AR2000.09.00.02_OpnSrc
2018-02-21 17:45:25 +05:30
nxpandroid
23f9d47d68
NFC_NCIHALx_AR18C0.8.2.9_O_OpnSrc
2017-11-20 11:10:47 +05:30