52e68735c3
kw2xrf: Remove PAN ID initialization from reset
2018-11-28 11:31:03 +01:00
Semjon Kerner
5b0152f4f7
drivers/netdev_ieee802154: drop NETOPT_MAX_PKT_SIZE
2018-10-16 13:28:03 +02:00
Peter Kietzmann
ab5771bbf8
Merge pull request #9587 from bergzand/pr/kw2xrf/fix_ack_req
...
kw2xrf: Fix ack flag handling
2018-07-17 18:43:26 +02:00
b21c4f6f98
kw2xrf: fix NETOPT_AUTOACK getter and setter
...
Missing getter for NETOPT_AUTOACK and getter should return the size of
the variable (should not propagate to the netdev_ieee802154_get
function
2018-07-17 13:58:58 +02:00
4b723859f3
kw2xrf: use ACK_REQ flag for ACK check on TX
2018-07-17 13:57:30 +02:00
be7c4f7f28
kw2xrf: Remove default event report settings
2018-07-16 14:43:28 +02:00
71e5ce9a68
kw2xrf: use netdev reset function
2018-07-11 09:39:17 +02:00
a08e9919a9
drivers: fix doxygen grouping
2018-06-11 19:10:40 +02:00
Martine Lenders
55950dd814
Merge pull request #8690 from aabadie/pr/drivers/params/kw2xrf
...
drivers/kw2xrf: use new driver params scheme
2018-03-08 17:21:26 +01:00
23b414b732
drivers: net: adapt to iolist-using netdev
2018-03-06 14:00:31 +01:00
036a09e9f0
drivers/kw2xrf: use new driver params scheme
2018-03-01 14:11:05 +01:00
93ce8bc36f
drivers/kw2xrf_spi: DEBUG fixes
2018-01-15 14:37:05 +01:00
PeterKietzmann
73a2810330
drivers/kw2xrf: finish ongoing transmission before sending next frame
2017-12-20 14:26:26 +01:00
Tristan Bruns
19f6544466
drivers/kw2xrf: fix fall through
...
This was made visible by #7919 . Broke build on GCC 7.2.
Probably a bug.
2017-12-01 11:20:07 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
2d491e0619
kw2xrf: dBm conversion to int16_t
2017-11-27 21:49:15 +01:00
smlng
6ac0922c7d
doc: replace dashes
2017-09-06 08:49:05 +02:00
162478cd6d
spelling: s/initialise/initialize/
2017-09-05 11:04:25 +02:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Cenk Gündoğan
6d0fa42d07
kw2xrf: use static inline
2017-05-30 09:51:30 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
PeterKietzmann
e617d74fa8
drivers/kw2xrf: update default params on init
2017-02-07 15:08:14 +01:00
smlng
432b03e99e
drivers/kw2xrf: cleanup
...
- use generic short and long address generator
- defines in main header file
- refine debug output
- correct signed/unsigned warnings
2017-02-07 15:08:14 +01:00
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19
drivers/kw2xrf: adapt for the netdev2 interface
...
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
Hauke Petersen
e5ab3c2020
drivers/kw2xrf: adpated to SPI API changes
2017-01-25 16:46:45 +01:00
smlng
fc9e1d9024
kw2xrf: set tx_power in gnrc_netdev_t
...
without this patch, tx_power is directly set on the device but not in
gnrc_netdev_t. Thus, calling ifconfig in shell shows tx_power always
at 0dBm, never showing the correct, current value. Additionally, it
verifies that given tx_power to be set is in valid range.
2016-09-16 10:52:53 +02:00
PeterKietzmann
ed470e11f8
drivers/kw2xrf: improve default short address
2016-05-31 13:12:57 +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
Hauke Petersen
e51d634aeb
drivers: adapted gpio_init(_x)() calls
2016-03-17 14:55:30 +01:00
Oleg Hahm
b27a1e8e24
kw2xrf: fix two typos
2016-02-23 23:26:44 +01:00
Cenk Gündoğan
f0068ba446
drivers/kw2xrf: use NETOPT_STATE_RX for rcv
2016-02-21 22:57:09 +01:00
Cenk Gündoğan
698191eb2b
kw2xrf: wait for previous transmissions to end
2016-02-18 15:43:22 +01:00
Joakim Nohlgård
d8deae0375
drivers/kw2xrf: Comment out unused LUT
2016-02-11 15:13:30 +01:00
Hauke Petersen
f3ac84d43a
drivers: s/CPUID_ID_LEN/CPUID_LEN/
2016-02-08 11:10:59 +01:00
Johann F
97120f1cce
drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
...
This patch fixes MAX_PKT_LENGTH on kw2x radio
2016-01-07 01:37:00 +01:00
Johann Fischer
63fd7dc53a
drivers/kw2xrf/kw2xrf.c: fix bug and cleanup _assemble_tx_buf
...
BUG: the pktbuf was released at the wrong place and
return value of _assemble_tx_buf was not verified.
2015-12-07 12:56:32 +01:00
Jonas
e9f86c1126
Implemented the NETOPT_CCA_THRESHOLD option for KW2xrf
2015-11-30 13:15:25 +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
smlng
3ed71ae2c6
drivers/kw2x: fix packet address setting
...
- fix dst address reversed in packet header
- code and docu cleanup
- based on at86rf2xx
2015-10-02 10:11:16 +02:00
Oleg Hahm
0a54f57043
kw2xrf: short address getter and iid option
2015-09-22 11:41:05 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00