1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

216 Commits

Author SHA1 Message Date
Joakim Nohlgård
a08a70a3fa drivers/at86rf2xx: Fix -Wsign-compare warning, add missing parentheses 2017-01-16 08:55:08 +01:00
Oleg Hahm
7068869b42 at86rf2xx: remove CCA check
Rationale: the datasheet states that "It is not recommended to manually
initiate an CCA measurement when using the Extended Operating Mode."
Since the driver for now only supports the extended operating mode, it
should not provide this feature.
2017-01-14 11:27:09 +01:00
Hauke Petersen
47f245a13d drivers/at86rf2xx: fix buffer-less SPI transfer 2017-01-09 17:47:37 +01: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
Martine Lenders
eb4ec4b35f Merge pull request #5961 from yschroeder/pullreq/at86rf2xx_compile_fix
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-26 15:59:59 +02:00
smlng
68c30b30e5 at86rf2xx: move netstat increment after possible error return 2016-10-21 21:57:32 +02:00
Yannic Schröder
c7d73e24c1 at86rf2xx: fix warnings when building with -Wextra -pedantic 2016-10-18 10:21:54 +02:00
Martine Lenders
9f29e56020 netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag 2016-09-30 13:09:26 +02:00
Martine Lenders
0b59372eb0 at86rf2xx: document operation mode concerns for 2016-09-02 22:48:47 +02:00
Mathias Tausig
48083a7c10 at86rf2xx: Add at86rf2xx_get_random to at86rf2xx_internal
Works for at86rf233 and at86rf231 chips
2016-09-02 09:54:39 +02:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
Peter Kietzmann
e08733d2d1 Merge pull request #5234 from thomaseichinger/pr/phr_length_mask
drivers/at86rf2xx: mask frame length according to data sheet
2016-05-20 15:14:55 +02:00
Thomas Eichinger
5a45c31bcb drivers/at86rf2xx: remove unused functions
These two functions are not used anymore and can be omitted.
2016-05-20 15:05:27 +02:00
Oleg Hahm
e110d412a3 at86rf2xx_netdev: debug output is wrong 2016-04-28 11:35:13 +02:00
Martine Lenders
cedf7d8455 Merge pull request #5227 from authmillenon/at86rf2xx/fix/set
at86rf2xx: fix option setting
2016-04-20 17:33:44 +02:00
Martine Lenders
7b78775185 at86rf2xx: fix option setting 2016-04-20 16:35:29 +02:00
Cenk Gündoğan
9b01c6dbce at86rf2xx_netdev: use DEBUG instead of printf 2016-04-11 13:15:39 +02:00
Cenk Gündoğan
f570576976 at86rf2xx_netdev: fix broken pending_tx handling 2016-04-11 13:15:39 +02:00
Oleg Hahm
252baecef7 at86rf2xx: introduce pending TX counter
This counter is necessary for the current concept to tell the driver when to return to idle after sending.
2016-04-08 11:32:40 +02:00
René Kijewski
f7428393b2 Merge pull request #5245 from OlegHahm/at86rf2xx_netstats_ifdef
at86rf2xx: fix netstats_l2 ifdef
2016-04-05 12:09:06 +02:00
Oleg Hahm
e0b475b25a at86rf2xx: fix netstats_l2 ifdef 2016-04-04 18:34:01 +02:00
Oleg Hahm
32606382a1 drivers 802154: always memset cpuid before setting 2016-04-04 18:20:19 +02:00
Oleg Hahm
416b9759e2 drivers 802154: use memset for eui64 padding 2016-04-04 16:53:21 +02:00
Martine Lenders
4d46a5f91e Merge pull request #5242 from OlegHahm/eliminate_ieee802154_literals
ieee802154: replace literals for lengths by macros
2016-04-04 16:37:08 +02:00
Oleg Hahm
a59e100d41 ieee802154: replace literals for lengths by macros 2016-04-04 15:24:47 +02:00
Oleg Hahm
6f58862fec driver: assure required buffer size
The cpuid buffer is also used as a temporary buffer to store the EUI-64 of the transceiver, so we need to make sure that it is always big enough.
May be padded with zeroes for smaller CPUIDs.
2016-04-03 22:38:13 +02:00
Thomas Eichinger
e5e67b3870 drivers/at86rf2xx: mask frame length according to data sheet
After some discussion on the devel mailing list about smuggeling in corrupted frames by e.g. SDRs I'd propose we mask the length field according to the datasheet again. It was done before in at86rf2xx_get_length but this funtion did get used anymore along the way.
2016-04-02 12:29:22 -03:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +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
Hauke Petersen
e51d634aeb drivers: adapted gpio_init(_x)() calls 2016-03-17 14:55:30 +01:00
Hauke Petersen
f3ac84d43a drivers: s/CPUID_ID_LEN/CPUID_LEN/ 2016-02-08 11:10:59 +01:00
Thomas Eichinger
65124aa966 drivers/at86rf2xx: clear channels for rf23x series too 2015-12-18 13:56:18 +01:00
Daniel Krebs
bb4fe8d256 Merge pull request #3954 from daniel-k/pr/at86rf2xx_fix_lqi
at86rf2xx: fix lqi reading
2015-12-08 16:10:52 +01:00
daniel-k
a643789ab5 at86rf2xx: fix LQI reading 2015-12-08 14:46:56 +01:00
Thomas Eichinger
10323329ce Merge pull request #4412 from DipSwitch/pr/at86rf2xx-phy-mode
at86rf2xx: Add support for channel page
2015-12-08 11:40:47 +01:00
Oleg Hahm
0250d62509 Merge pull request #4358 from OlegHahm/eliminate_pedantic_errors
Eliminate pedantic errors
2015-12-08 02:05:30 +01:00
Oleg Hahm
426816b9ae drivers: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
Oleg Hahm
9a11aec32e at86rf2xx: dereference NETOPT_PROTO option
netopt_t options are passed as pointers to the driver.
2015-12-07 18:48:56 +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
Hauke Petersen
4e94d97da7 drivers/at86rf2xx: added default params definition 2015-11-19 16:17:20 +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
Oleg Hahm
6bf7c8ef5f at86rf2xx: added protocol setter 2015-10-31 19:52:48 +09:00
Joakim Nohlgård
7b5ed7c055 Merge pull request #3867 from daniel-k/pr/at86rf2xx_sleep_mode
at86rf2xx: implement sleep mode
2015-10-13 18:27:27 +02:00
daniel-k
502786b9f7 at86rf2xx: implement sleep mode 2015-10-13 15:06:52 +02:00
Thomas Eichinger
0db6246582 Merge pull request #4078 from daniel-k/pr/at86rf2xx_detect_broadcast
at86rf2xx: detect broadcast and set NETIF flag when receiving
2015-10-13 12:54:58 +02:00
daniel-k
78192ebb7e at86rf2xx: detect broadcast and set NETIF flag when receiving 2015-10-12 18:28:05 +02:00
Thomas Eichinger
7bf121903a Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026 netdev: add TX feedback events 2015-10-12 15:50:39 +02:00
Joakim Nohlgård
7b10e59ef3 Merge pull request #3868 from daniel-k/pr/at86rf2xx_disable_clock_output
at86rf2xx: disable clock output
2015-09-30 07:50:41 +02:00
daniel-k
5aeeabf4a9 at86rf2xx: cancel receiving when preparing for TX 2015-09-29 17:16:39 +02:00
daniel-k
e754963c52 at86rf2xx: mask MSB in PHR for 802.15.4 compliance 2015-09-24 16:21:42 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
daniel-k
b5863c9e29 at86rf2xx: disable clock output 2015-09-16 19:00:33 +02:00
940db9dad5 drivers: ng_at86rf2xx: use xtimer instead of hwtimer 2015-09-16 10:58:51 +02:00
daniel-k
6f705a5189 at86rf2xx: implement CSMA settings 2015-09-01 18:45:47 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +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