zephyr/drivers/ieee802154
Johann Fischer 0c65215ab5 drivers: mcr20a: cleanup and refactor interrupt processing
The interrupt processing of MCR20A was flawed and complicated.
This patch simplifies the handling of interrupts and reduces
the number of necessary SPI transfers.

Minor fixes:
 - use mutex for the PHY access control
 - remove unnecessary mcr20a_mask_irqb calls
 - do not read RX_FRM_LEN twice
 - increase timeout for sequence synchronization semaphore
   if the log level greater than 1
 - enable only the Sequence-end (SEQIRQ) interrupt
 - fix magic in NET_DEVICE_INIT
 - make the timeout values dependent on the log level

Change-Id: Ib3f64a092ffba91c80ff6e1d5cec995ab9d40bfb
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2017-02-22 17:28:24 +02:00
..
Kconfig drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
Kconfig.cc2520 drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
Kconfig.mcr20a drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
Makefile drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
ieee802154_cc2520.c net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
ieee802154_cc2520.h drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
ieee802154_cc2520_regs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ieee802154_mcr20a.c drivers: mcr20a: cleanup and refactor interrupt processing 2017-02-22 17:28:24 +02:00
ieee802154_mcr20a.h drivers: mcr20a: cleanup and refactor interrupt processing 2017-02-22 17:28:24 +02:00
ieee802154_mcr20a_regs.h drivers: ieee802154: add MCR20A driver 2017-01-27 12:35:51 +02:00
ieee802154_uart_pipe.c net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
ieee802154_uart_pipe.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00