smlng
13639c1bb3
drivers, at86rf2xx: cleanup
...
- update documentation
- adapt constness
- fix code alignment and stlye
2017-11-07 21:37:41 +01:00
smlng
961c49e2cc
drivers, at86rf2xx: simplify internal functions
...
- at86rf2xx_tx_prepare
- at86rf2xx_set_state
- at86rf2xx_set_option
2017-11-07 19:53:47 +01:00
Joakim Nohlgård
297bc2b5e6
at86rf2xx: Add get NETOPT_LAST_ED_LEVEL
2017-09-06 21:17:14 +02:00
Thomas Eichinger
093eb7a985
drivers/at86rf2xx: remove at86rf2xx_reset_state_machine
...
This function was only used once in the initialization procedure.
Inlining the actual state change reduces overhead and lines to
maintain.
If ever needed, undo this commit.
2017-08-14 10:07:42 -07:00
Hyungsin
6889cd934a
drivers/at86rf2xx: reliable radio state change
2017-07-07 11:48:44 -07:00
DipSwitch
cbbc44efad
driver/at86rf2xx: fix possible race condition in state machine
2017-06-24 21:43:05 +02:00
smlng
a7b049f98a
drivers: coding style, use {} for empty while loops
2017-06-11 20:08:10 +02:00
Thomas Eichinger
467b255c03
drivers/at86rf2xx: code size optimizations
...
These changes try to reduce code size of the at86rf2xx
driver by reducing code duplication and simplification.
2017-01-19 08:04:08 -08:00
Thomas Eichinger
66db33b662
drivers/at86rf2xx: prevent a possible race condition after state change
...
It was pointed out that after a state change to RX_AACK_ON reading back
the state to confirm the transition can fail due to an imidiate change
into BUSY_RX_AACK between the successful change on the transceiver and
querying the state.
For this we exclude the readback of the state for transitions to
RX_AACK_ON.
2016-11-04 09:52:35 -07:00
Thomas Eichinger
4ebbda844c
drivers/at86rf2xx: improve precondition checks on state transition
...
The rational behind this change is the following:
If the transceiver is in any *_BUSY state when `at86rf2xx_set_state()`
gets called this would bypass the `(state == old_state)` check and
unneeded state transitions could be triggered.
2016-11-01 07:16:19 -07:00
Yannic Schröder
c7d73e24c1
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-18 10:21:54 +02:00
Oleg Hahm
59674a679b
netdev2: use params parameter for setup
2016-03-28 20:22:20 +02:00
Martine Lenders
5bfc9e43fb
at86rf2xx: port to netdev2
2016-03-23 17:45:16 +01:00
Joakim Nohlgård
e9f385ae1d
at86rf2xx: Add support for channel page
2015-12-05 10:37:04 +01:00
Kévin Roussel
8bfd856abe
Implemented the NETOPT_CCA_THRESHOLD option for AT86RF231
2015-11-30 13:15:14 +01:00
Oleg Hahm
a5b7c5d4e8
Revert "at86rf2xx: cancel receiving when preparing for TX"
...
This reverts commit 5aeeabf4a9
.
2015-11-12 12:10:16 +01:00
Oleg Hahm
b978510188
802154 drivers: set first bit to 0 in 16 bit addr
...
The first bit is required to be 0 for short addresses when used with 6LoWPAN by https://tools.ietf.org/html/rfc4944#section-12 .
2015-11-03 11:06:54 +09:00
Oleg Hahm
b40f1742f1
at86rf2xx: remove superfluous mask
2015-11-03 11:06:21 +09:00
daniel-k
502786b9f7
at86rf2xx: implement sleep mode
2015-10-13 15:06:52 +02:00
daniel-k
5aeeabf4a9
at86rf2xx: cancel receiving when preparing for TX
2015-09-29 17:16:39 +02:00
daniel-k
6f705a5189
at86rf2xx: implement CSMA settings
2015-09-01 18:45:47 +02:00
BytesGalore
394ddb6900
drivers: renamed further remaining *NG_* macros
2015-08-12 17:21:45 +02:00
Martine Lenders
8f9e1656e1
at86rf2xx: remove ng_ prefix
2015-08-10 00:08:21 +02:00