Closed Bug 1030633 Opened 10 years ago Closed 6 years ago

[NFC][Emulator] Refactor interface between kernel and emulator

Categories

(Firefox OS Graveyard :: NFC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tzimmermann, Unassigned)

References

Details

We should

 - handled packet tags (NCI, HCI) in the device, and
 - use a ring buffer between kernel and emulator.
Hi,

The hardware interface of the Broadcom chip can be found out from the kernel driver at [1]. I think it uses

 - HCI/NCI tag
 - Length
 - Packet

for each transfered packet between kernel and hardware. We cannot use the driver directly, because it requires i2c. But if possible, we should have a Hardware interface that is very close to the original one. And there should be only one memory block per direction for all packets; instead of one memory block per NCI/HCI.

[1] https://android.googlesource.com/kernel/msm/+/android-msm-mako-3.4-jb-mr2/drivers/nfc/bcm2079x-i2c.c
Assignee: nobody → dlee
Assignee: dlee → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.