History log of /net/nfc/hci/llc_shdlc.c
Revision Date Author Comments
0f450772224f99db3b8384bfb8f751889d0c4cb8 17-Oct-2012 Szymon Janc <szymon.janc@tieto.com> NFC: Fix some code style and whitespace issues

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
916082b073ebb7f4e064cebce0768e34cacde508 03-Oct-2012 Linus Torvalds <torvalds@linux-foundation.org> workqueue: avoid using deprecated functions

The network merge brought in a few users of functions that got
deprecated by the workqueue cleanups: the 'system_nrt_wq' is now the
same as the regular system_wq, since all workqueues are now non-
reentrant.

Similarly, remove one use of flush_work_sync() - the regular
flush_work() has become synchronous, and the "_sync()" version is thus
deprecated as being superfluous.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4c0ba9ac4bf5f20ada774f5d181d03044e0147e7 24-Sep-2012 Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> NFC: Fix typo negociating -> negotiating

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
12bfd1e8906637757a0bc42970f0fc11a9918019 21-Sep-2012 Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> NFC: Don't handle consequent RSET frames after UA

During processing incoming RSET frame chip, possibly due to
its internal timout, can retrnasmit an another RSET which
is next queued for processing in shdlc layer.

In case when we accept processed RSET skip those remaining on
the rcv queue until chip will send it's first S or I frame.
This will mean the chip completed connection as well.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
9010e39f508ee57dc9a7675073659cb9d019a802 20-Sep-2012 Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> NFC: Handle RSET in SHDLC_CONNECTING state

As queue_work() does not guarantee immediate execution of sm_work it
can happen in crossover RSET usecase that connect timer will constantly
change the shdlc state from NEGOTIATING to CONNECTING before shdlc has
chance to handle incoming frame.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Acked-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
a7d0281bbf7e1b0eff2de3c7ed6a5ffce6b62dac 18-Sep-2012 Eric Lapuyade <eric.lapuyade@linux.intel.com> NFC: Fix LLC registration definitions for ANSI compliance

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
f4f20d0650e9cd13f65b5e7f93af126b526af721 18-Sep-2012 Samuel Ortiz <sameo@linux.intel.com> NFC: Remove unneeded LLC symbols export

After fixing the LLC Makefile, we no longer need those exports.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
412fda538f4b1317ecd0fbe6e5bc9124792bea88 18-Sep-2012 Eric Lapuyade <eric.lapuyade@linux.intel.com> NFC: Changed HCI and PN544 HCI driver to use the new HCI LLC Core

The previous shdlc HCI driver and its header are removed from the tree.
PN544 now registers directly with HCI and passes the name of the llc it
requires (shdlc).
HCI instantiation now allocates the required llc instance. The llc is
started when the HCI device is brought up.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
4a61cd6687fc6348d08724676d34e38160d6cf9b 13-Sep-2012 Eric Lapuyade <eric.lapuyade@linux.intel.com> NFC: Add an shdlc llc module to llc core

This is used by HCI drivers such as the one for the pn544 which require
communications between HCI and the chip to use shdlc.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>