artf247527-DTA-Adding-Certification-Release-versioni
diff --git a/src/nfa/include/nfa_api.h b/src/nfa/include/nfa_api.h
index 508d4b5..b808080 100644
--- a/src/nfa/include/nfa_api.h
+++ b/src/nfa/include/nfa_api.h
@@ -286,7 +286,10 @@
NFA_DTA_SNEP_MODE = 0x00000003,
NFA_DTA_HCEF_MODE = 0x00000004,
NFA_DTA_CR8 = 0x00000080,
- NFA_DTA_CR9 = 0x00000090
+ NFA_DTA_CR9 = 0x00000090,
+ NFA_DTA_CR10 = 0x000000A0,
+ NFA_DTA_CR11 = 0x000000B0,
+ NFA_DTA_CR12 = 0x000000C0,
}tNFA_eDtaModes;
typedef struct
{
diff --git a/src/nfc/llcp/llcp_link.c b/src/nfc/llcp/llcp_link.c
index 0491312..531edd7 100755
--- a/src/nfc/llcp/llcp_link.c
+++ b/src/nfc/llcp/llcp_link.c
@@ -469,17 +469,18 @@
llcp_cb.overall_tx_congested = FALSE;
llcp_cb.overall_rx_congested = FALSE;
+
/* As per the LLCP test specification v1.2.00 for test case TC_LLC_TAR_BV_04
* the receiving LLC shall commence sending an LLC PDU to the remote
* LLC. So, after IUT receiving DISC PDU from LT(remote device), IUT shall send DISC PDU to LT.
- * appl_dta_mode_flag condition is added to fulfill above requirement
+ * appl_dta_mode_flag condition is added to fulfill above requirement.
+ * Only in CR8, the IUT shall acknoweledge with SYMM for DISC PDU.
+ * For other CRx, send DISC PDU.
*/
-
if ( (reason == LLCP_LINK_FRAME_ERROR)
||(reason == LLCP_LINK_LOCAL_INITIATED)
||((appl_dta_mode_flag) && (reason == LLCP_LINK_REMOTE_INITIATED) && (llcp_cb.lcb.is_initiator == FALSE)
- && ((nfa_dm_cb.eDtaMode & 0xF0) == NFA_DTA_CR9)))/* Patch is only for CR9. In CR8, the IUT shall acknoweledge
- * with SYMM for DISC PDU */
+ && ((nfa_dm_cb.eDtaMode & 0xF0) != NFA_DTA_CR8)))
{
/* get rid of the data pending in NFC tx queue, so DISC PDU can be sent ASAP */
NFC_FlushData (NFC_RF_CONN_ID);