Set default power state when NFC is enabled
If NFC is turned off and on the same power state,
DH doesn't send CORE_SET_POWER_SUB_STATE_CMD to NFCC
because previous power state in DH is same as the new one.
But, actually, default power state in NFCC is Switched On.
Therefore, if NFC is enabled on the "locked" state,
secure NFC doesn't work until power state is changed.
This patch sets previous power state of Switched On-Unlocked
so that CORE_SET_POWER_SUB_STATE_CMD is correctly updated
when NFC is enabled.
1 file changed
tree: be6211a54200e8fa924df145e52c349db6ec6e49
- assets/
- etc/
- nci/
- res/
- src/
- tests/
- .clang-format
- Android.bp
- AndroidManifest.xml
- CleanSpec.mk
- migrate_nfc.txt
- OWNERS
- PREUPLOAD.cfg
- README.md
README.md
NFC_NCIHAL_Nfc
Git Repository
Supported Version on "br_android_ncihalx_row_q" branch
Android Version | NXP Release | NXP Tag |
---|
aosp-master | 10.01.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.01.00_OpnSrc |
aosp-master | 10.02.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.02.00_OpnSrc |
android-10.0.0_r2 | 10.03.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.03.00_OpnSrc |
android-10.0.0_r2 | 10.04.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.04.00_OpnSrc |
Supported Versions on "br_android_ncihalx_row_p" Branch
Android Version | NXP Release | NXP Tag |
---|
android-p-preview 2 | 9.0.D (PN553) | NFC_NCIHALx_AR00C0.9.0.D_OpnSrc |
android-9.0.0_r3 | 9.1.0 (PN557) | NFC_NCIHALx_AR0800.9.1.0_OpnSrc |
android-9.0.0_r3 | 9.2.0 (PN81T/PN557) | NFC_NCIHALx_AR1800.9.2.0_OpnSrc |
android-9.0.0_r3 | 9.3.0 (PN553) | NFC_NCIHALx_AR0040.9.3.0_OpnSrc |
android-9.0.0_r3 | 9.4.0 (PN553) | NFC_NCIHALx_AR00C0.9.4.0_OpnSrc |
android-9.0.0_r3 | 9.5.0 (PN557) | NFC_NCIHALx_AR1800.9.5.0_OpnSrc |
android-9.0.0_r3 | 9.6.0 (PN80T/PN81T) | NFC_NCIHALx_AR18C0.9.6.0_OpnSrc |