Fix AID offset and routing table size calculation is incorrect

- Code  cleanup: Reverted adding special CB from empty AID(Commit: 1660180)
- Instead CB for current EE's are reused for empty AID handling.
- Empty AID route cached during add_aid_route and later updated
  last AID entry in routing table.
- Routing table size corrected automatically after above change.

Bug: 235804655

Test: Nfc On/Off, CTS, VTS, Install App with AIDs to Host,
Set default AID route to eSE, Check CE for HOST AID,
Install NFC payment/non payment app and check Routing table
size calculation

Change-Id: Ibb87ac1deb3ae0d4d2fb3e144ca38afbd78202a4
3 files changed
tree: a96718002eab61702f76155a0d092b2ca7bca446
  1. conf/
  2. src/
  3. utils/
  4. .clang-format
  5. Android.bp
  6. CleanSpec.mk
  7. NOTICE
  8. OWNERS
  9. PREUPLOAD.cfg
  10. run_unit_tests.sh