1. 19 9月, 2015 1 次提交
  2. 11 7月, 2015 1 次提交
  3. 06 5月, 2015 1 次提交
  4. 01 4月, 2015 1 次提交
    • O
      can: introduce new raw socket option to join the given CAN filters · a5581ef4
      Oliver Hartkopp 提交于
      The CAN_RAW socket can set multiple CAN identifier specific filters that lead
      to multiple filters in the af_can.c filter processing. These filters are
      indenpendent from each other which leads to logical OR'ed filters when applied.
      
      This socket option joines the given CAN filters in the way that only CAN frames
      are passed to user space that matched *all* given CAN filters. The semantic for
      the applied filters is therefore changed to a logical AND.
      
      This is useful especially when the filterset is a combination of filters where
      the CAN_INV_FILTER flag is set in order to notch single CAN IDs or CAN ID
      ranges from the incoming traffic.
      
      As the raw_rcv() function is executed from NET_RX softirq the introduced
      variables are implemented as per-CPU variables to avoid extensive locking at
      CAN frame reception time.
      Signed-off-by: NOliver Hartkopp <socketcan@hartkopp.net>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      a5581ef4
  5. 05 2月, 2015 1 次提交
  6. 19 5月, 2014 1 次提交
  7. 05 5月, 2014 1 次提交
  8. 01 4月, 2014 1 次提交
  9. 03 3月, 2014 1 次提交
    • O
      can: remove CAN FD compatibility for CAN 2.0 sockets · 821047c4
      Oliver Hartkopp 提交于
      In commit e2d265d3 (canfd: add support for CAN FD in CAN_RAW sockets)
      CAN FD frames with a payload length up to 8 byte are passed to legacy
      sockets where the CAN FD support was not enabled by the application.
      
      After some discussions with developers at a fair this well meant feature
      leads to confusion as no clean switch for CAN / CAN FD is provided to the
      application programmer. Additionally a compatibility like this for legacy
      CAN_RAW sockets requires some compatibility handling for the sending, e.g.
      make CAN2.0 frames a CAN FD frame with BRS at transmission time (?!?).
      
      This will become a mess when people start to develop applications with
      real CAN FD hardware. This patch reverts the bad compatibility code
      together with the documentation describing the removed feature.
      Acked-by: NStephane Grosjean <s.grosjean@peak-system.com>
      Signed-off-by: NOliver Hartkopp <socketcan@hartkopp.net>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      821047c4
  10. 17 12月, 2013 1 次提交
  11. 01 11月, 2013 1 次提交
  12. 20 6月, 2012 1 次提交
  13. 24 5月, 2012 1 次提交
  14. 16 4月, 2012 1 次提交
  15. 31 3月, 2011 1 次提交
  16. 21 10月, 2010 1 次提交
  17. 13 6月, 2009 1 次提交
  18. 19 5月, 2009 1 次提交
  19. 24 9月, 2008 1 次提交
  20. 27 7月, 2008 1 次提交
  21. 15 4月, 2008 1 次提交
  22. 29 1月, 2008 1 次提交