Add NFC-DEP routing
NFC-DEP Protocol route should be added to routing table
Change-Id: I02695add26bd9588853054ac2ac318852152b679
diff --git a/src/nfa/ee/nfa_ee_act.c b/src/nfa/ee/nfa_ee_act.c
index b7561b4..8858e7b 100644
--- a/src/nfa/ee/nfa_ee_act.c
+++ b/src/nfa/ee/nfa_ee_act.c
@@ -1968,6 +1968,17 @@
}
}
+ /* add NFC-DEP routing to HOST */
+ if (p_cb->nfcee_id == NFC_DH_ID)
+ {
+ *pp++ = NFC_ROUTE_TAG_PROTO;
+ *pp++ = 3;
+ *pp++ = NFC_DH_ID;
+ *pp++ = NCI_ROUTE_PWR_STATE_ON;
+ *pp++ = NFC_PROTOCOL_NFC_DEP;
+ num_tlv++;
+ }
+
/* update the num_tlv and current offset */
entry_size = (UINT8)(pp - p);
*p_cur_offset += entry_size;