[PATCH] WPS-NFC implementaion (proposal)

Jouni Malinen j
Fri Mar 6 02:03:13 PST 2009

On Fri, Mar 06, 2009 at 05:59:43PM +0900, Masashi Honma wrote:

> This is WPS-NFC implementaion (proposal) for
> "Mon, 2 Mar 2009 19:57:00 +0000" snapshot.


> The new file wps_nfc.c and ndef.c implements NFC device
> independent operation, wps_nfc_pn531.c implements NFC device
> dependent operation.

> I used NFC device "NXP PN531".
> The NFC device access method is confidential.
> So I used outer library.
> Please download below files from
> https://www.saice-wpsnfc.bz/index.php

I was able to compile hostapd and wpa_supplicant with the changes, but
it looks like the libraries are only available for 32-bit x86 systems,
so I could not link the end result (I'm using 64-bit user space). Would
you happen to know whether a 64-bit version of the libraries is
available somewhere or libraries for other CPU families for that matter?

I'll go through the source code in more detail later, but based on a
quick look, this seems to be fine for being included. Though, I would
like to be able to test this eventually myself and that would mean
having to get some NFC hardware.

Is the NXP PN531 available for consumers/end users? Is it a USB dongle
that could be plugged into any Linux device or is there an additional
USB device that is needed, too ("Sony NFC converter"?) It would be
easiest for me if I could order couple of those (I'm assuming the same
device can be used for both ends of the connection) from somewhere in
Europe, but I have no idea who would be selling them. I would assume NFC
is still quite a bit more popular in Japan, so maybe it would be easier
to get the needed hardware from there(?).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list