mirror of https://gitee.com/openkylin/linux.git
NFC: port100: Explicitly set NFC-F framing for NFC-DEP
When setting the driver framing as NFC_DIGITAL_FRAMING_NFCF_NFC_DEP it used to be already configured as NFC_DIGITAL_FRAMING_NFCF which is the same. So this entry was empty in the in_protocols table. Now that the digital stack can handle PLS requests, it can be changed on the fly from NFC_DIGITAL_FRAMING_NFCA_NFC_DEP. This patch explicitly defines the framing configuration values for NFC_DIGITAL_FRAMING_NFCF_NFC_DEP. Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
58d46f538b
commit
a81ba50a89
|
@ -343,7 +343,26 @@ in_protocols[][PORT100_IN_MAX_NUM_PROTOCOLS + 1] = {
|
|||
},
|
||||
[NFC_DIGITAL_FRAMING_NFCF_NFC_DEP] = {
|
||||
/* nfc_digital_framing_nfcf */
|
||||
{ PORT100_IN_PROT_END, 0 },
|
||||
{ PORT100_IN_PROT_INITIAL_GUARD_TIME, 18 },
|
||||
{ PORT100_IN_PROT_ADD_CRC, 1 },
|
||||
{ PORT100_IN_PROT_CHECK_CRC, 1 },
|
||||
{ PORT100_IN_PROT_MULTI_CARD, 0 },
|
||||
{ PORT100_IN_PROT_ADD_PARITY, 0 },
|
||||
{ PORT100_IN_PROT_CHECK_PARITY, 0 },
|
||||
{ PORT100_IN_PROT_BITWISE_AC_RECV_MODE, 0 },
|
||||
{ PORT100_IN_PROT_VALID_BIT_NUMBER, 8 },
|
||||
{ PORT100_IN_PROT_CRYPTO1, 0 },
|
||||
{ PORT100_IN_PROT_ADD_SOF, 0 },
|
||||
{ PORT100_IN_PROT_CHECK_SOF, 0 },
|
||||
{ PORT100_IN_PROT_ADD_EOF, 0 },
|
||||
{ PORT100_IN_PROT_CHECK_EOF, 0 },
|
||||
{ PORT100_IN_PROT_DEAF_TIME, 4 },
|
||||
{ PORT100_IN_PROT_CRM, 0 },
|
||||
{ PORT100_IN_PROT_CRM_MIN_LEN, 0 },
|
||||
{ PORT100_IN_PROT_T1_TAG_FRAME, 0 },
|
||||
{ PORT100_IN_PROT_RFCA, 0 },
|
||||
{ PORT100_IN_PROT_GUARD_TIME_AT_INITIATOR, 6 },
|
||||
{ PORT100_IN_PROT_END, 0 },
|
||||
},
|
||||
[NFC_DIGITAL_FRAMING_NFC_DEP_ACTIVATED] = {
|
||||
{ PORT100_IN_PROT_END, 0 },
|
||||
|
|
Loading…
Reference in New Issue