1. 11 4月, 2013 4 次提交
  2. 11 3月, 2013 5 次提交
  3. 10 1月, 2013 1 次提交
  4. 29 10月, 2012 1 次提交
  5. 27 10月, 2012 3 次提交
  6. 27 9月, 2012 1 次提交
    • T
      NFC: LLCP raw socket support · 4463523b
      Thierry Escande 提交于
      This adds support for socket of type SOCK_RAW to LLCP.
      sk_buff are copied and sent to raw sockets with a 2 bytes extra header:
      The first byte header contains the nfc adapter index.
      The second one contains flags:
      - 0x01 - Direction (0=RX, 1=TX)
      - 0x02-0x80 - Reserved
      A raw socket has to be explicitly bound to a nfc adapter. This is achieved
      by specifying the adapter index to be bound to in the dev_idx field of the
      sockaddr_nfc_llcp struct passed to bind().
      Signed-off-by: NThierry Escande <thierry.escande@linux.intel.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      4463523b
  7. 25 9月, 2012 1 次提交
    • T
      NFC: Use system_nrt_wq instead of custom ones · 474fee3d
      Tejun Heo 提交于
      NFC is using a number of custom ordered workqueues w/ WQ_MEM_RECLAIM.
      WQ_MEM_RECLAIM is unnecessary unless NFC is gonna be used as transport
      for storage device, and all use cases match one work item to one
      ordered workqueue - IOW, there's no actual ordering going on at all
      and using system_nrt_wq gives the same behavior.
      
      There's nothing to be gained by using custom workqueues.  Use
      system_nrt_wq instead and drop all the custom ones.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      474fee3d
  8. 10 7月, 2012 2 次提交
    • S
      NFC: LLCP late binding · 8f50020e
      Samuel Ortiz 提交于
      With the LLCP 16 local SAPs we can potentially quickly run out of source
      SAPs for non well known services.
      With the so called late binding we will reserve an SAP only when we actually
      get a client connection for a local service. The SAP will be released once
      the last client is gone, leaving it available to other services.
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      8f50020e
    • S
      NFC: Release LLCP SAP when the owner is released · cbbf4721
      Samuel Ortiz 提交于
      The LLCP SAP should only be freed when the socket owning it is released.
      As long as the socket is alive, the SAP should be reserved in order to
      e.g. send the right wks array when bringing the MAC up.
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      cbbf4721
  9. 05 6月, 2012 4 次提交
  10. 07 3月, 2012 5 次提交
  11. 15 12月, 2011 1 次提交
    • S
      NFC: Initial LLCP support · d646960f
      Samuel Ortiz 提交于
      This patch is an initial implementation for the NFC Logical Link Control
      protocol. It's also known as NFC peer to peer mode.
      This is a basic implementation as it lacks SDP (services Discovery
      Protocol), frames aggregation support, and frame rejecion parsing.
      Follow up patches will implement those missing features.
      This code has been tested against a Nexus S phone implementing LLCP 1.0.
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d646960f