[riot-commits] [RIOT-OS/RIOT] bee469: boards/xx/driver_cc2420: fix race condition in CCA...

Kévin Roussel Kevin.Roussel at inria.fr
Tue Jul 8 17:01:34 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: bee4698158bb1a4c1df55a8c35fa9bae4493e9a2
      https://github.com/RIOT-OS/RIOT/commit/bee4698158bb1a4c1df55a8c35fa9bae4493e9a2
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M boards/telosb/driver_cc2420.c
    M boards/wsn430-v1_4/driver_cc2420.c
    M boards/z1/driver_cc2420.c

  Log Message:
  -----------
  boards/xx/driver_cc2420: fix race condition in CCA determination

Ensure that CS is active and IRQ disabled when querying CCA
on CC2420 (cc2420_get_cca() function).
Also do a little refactoring (renamed c variable into count,
and named the constant corresponding to RSSI "timeout").


  Commit: a13066a0a66eedcaff644e551cfff1ceac75a13b
      https://github.com/RIOT-OS/RIOT/commit/a13066a0a66eedcaff644e551cfff1ceac75a13b
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M boards/telosb/driver_cc2420.c
    M boards/wsn430-v1_4/driver_cc2420.c
    M boards/z1/driver_cc2420.c

  Log Message:
  -----------
  Merge pull request #1385 from rousselk/fix-cc2420-driver-cca

Fix a nasty race condition in CCA determination on CC2420


Compare: https://github.com/RIOT-OS/RIOT/compare/67c3ceb979b0...a13066a0a66e


More information about the commits mailing list