Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Martine Lenders
14a2f6bc18
gnrc: use gnrc_netif_default_init() for all implementations
2019-11-07 11:00:36 +01:00
caf48cfb2d
sys/net/lwmac: remove not needed pkt pointer check
2019-09-20 09:01:08 +02:00
Martine Lenders
685f7f6b38
gnrc_lwmac: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:46 +02:00
Martine Lenders
3c105d8b33
gnrc_gomach: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:45 +02:00
Martine Lenders
7833141af1
gnrc_mac: rename directory in line with other modules
2019-05-09 14:46:35 +02:00
Sebastian Meiling
734524aead
gomach: fix reassign before usage error
2019-02-01 11:25:27 +02:00
smlng
6d0384f068
netstats: collect layer 2 netstats in gnrc_netif
...
This the first step in moving the collection of layer 2 netstats from
the low level driver to a central location, ie. gnrc_netif, to avoid
code duplication.
2019-02-01 10:35:03 +02:00
shuguo
4a4e552cca
gnrc_lwmac: enable duty-cycle printing.
2019-01-22 21:24:00 +08:00
zhuoshuguo
79e5586d0c
gnrc_mac: add timeout module.
...
Co-Authored-By: zhuoshuguo <zhuosgzju@gmail.com>
2019-01-21 22:46:10 +08:00
Martine Lenders
9d6a32b551
gnrc_mac: fix header includes
...
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Martine Lenders
3870def74c
gnrc: mac: fix types according to print formatting
...
As reported by `llvm`.
2018-07-19 15:13:39 +02:00
shuguo
4e7ff0df28
gnrc_gomach: enabling duty-cycle printing
2018-04-12 11:46:40 +02:00
shuguo
ed4a80db00
gnrc_mac: add MAC duty-cycle record macro
2018-04-12 11:44:30 +02:00
1faa845d8e
sys/net: iolist updates
2018-03-06 14:00:32 +01:00
smlng
b3fde3429c
gnrc/lwmac: ignore implicit fallthrough error by GCC 7
2018-01-24 22:07:01 +01:00
smlng
15f73e76ad
gnrc/gomach: ignore implicit fallthrough error by GCC 7
2018-01-24 22:06:51 +01:00
56b8c55f1a
gnrc: mac: DEBUG fix
2018-01-15 14:37:04 +01:00
35ea251516
gnrc: lwmac: DEBUG fix
2018-01-15 14:37:04 +01:00
zhuoshuguo
0c53762a1f
gnrc_gomach: address comment.
2017-12-19 11:37:48 +01:00
zhuoshuguo
a98c3f0d31
gnrc_gomach: add number limit for allocated slots.
2017-12-19 10:18:51 +01:00
zhuoshuguo
cebc995ec3
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 11:31:39 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
...
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
5a0e9bcca4
gnrc_netdev: remove remaining files and references
...
Somehow, these files were forgotten in my big cleanup in #7925 . This
fixes that.
2017-11-30 19:49:40 +01:00
zhuoshuguo
ea5aeeb10f
gomach: a robust traffic adaptive multichannel MAC for IoT.
2017-11-30 18:51:49 +01:00
zhuoshuguo
e6409f025f
gnrc_lwmac: include lwmac headers when LWMAC defined.
2017-11-29 17:29:26 +01:00
smlng
aa6e1711d4
net, lwmac: cleanup, restructured code
2017-11-28 17:28:40 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
fbb70315cb
lwmac: fix issues reported by cppcheck
2017-11-16 15:07:08 +01:00
zhuoshuguo
6c57999b2b
gnrc_lwmac: adjust use of error CSMA flag for packet transmit.
2017-11-03 18:52:01 +01:00
zhuoshuguo
c554d30b26
gnrc_lwmac: port to gnrc_netif2.
2017-11-01 15:40:47 +01:00
Martine Lenders
b74ee8869b
slip: port to be used with netdev
2017-10-10 23:14:12 +02:00
zhuoshuguo
a54655890e
LWMAC: a simple duty cycling 802.15.4 MAC protocol.
2017-06-21 16:40:04 +02:00
zhuoshuguo
83e1385683
gnrc_mac: updated coding style.
2017-06-19 10:15:41 +02:00
zhuoshuguo
7565cd1d10
gnrc_mac: use software csma when needed.
2017-06-09 16:45:24 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +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
zhuoshuguo
07bd84c914
gnrc_mac: add support for multicast pkt.
2017-02-18 13:15:31 +01:00
Hauke Petersen
05c4e314c9
net/gnrc: remove deprecated nomac
2017-02-15 10:07:34 +01:00
Hauke Petersen
61378430e2
sys/net/gnrc: added XBee-to-GNRC glue code
2017-01-10 11:47:31 +01:00
zhuoshuguo
6a0ac75d2c
gnrc_mac: add mac tx and rx internal types and API.
2017-01-04 13:59:16 +01:00
Cenk Gündoğan
4ebf6363df
gnrc_netdev2_eth: check bytes_expected > 0
2016-12-14 14:40:11 +01:00
Hauke Petersen
0d4a0a156f
sys/slip: use named UART return values
2016-10-28 10:32:00 +02:00
Martine Lenders
a0454b3787
ieee802154: remove need for IEEE802154_BCAST flag
2016-09-30 14:57:05 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Martine Lenders
a3f2cdd6ea
csma_sender: port to netdev2
2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c
csma_sender: doc fixes
2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae
csma_sender: some style fixes
2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b
csma_sender: proper prefixing for public functions and macros
2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c
csma_sender: adapt for changes in master
2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e
csma_sender: fix dependencies
2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca
Merge pull request #4178 from rousselk/csma-sender
...
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
kYc0o
6df58ac767
gnrc: use correct l2addr print len
2016-04-10 16:31:38 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Martine Lenders
f42738ed22
gnrc_netdev2: do not override res for for ieee802154
...
`res` is used to set the frame header iovec's length afterwards so overriding
it with a negative number is kind of a bad idea ;-).
2016-03-17 00:20:39 +01:00
Martine Lenders
1caf0bcc8a
Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
...
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6
gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4
2016-03-15 17:11:22 +01:00
Hauke Petersen
e855d63d84
net/slip: adapted to uart cb type change
2016-03-15 11:59:20 +01:00
Martine Lenders
d8c3301492
gnrc_netdev_eth: handle error on iovec initialization.
2016-03-07 21:36:35 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Martine Lenders
8db42427cb
native/drivers/sys: adapt ethernet netdev2 for info struct
2016-02-22 12:37:26 +01:00
Kévin Roussel
eaecf17891
Adding an helper 'csma_sender' module, to be able to send packets in CSMA/CA
...
mode, without having to guess if network device does it automatically or not
and being forced to handle it in your (higher level) code
(Corrected, compilation-errors free version)
2016-02-10 11:43:47 +01:00
0fc19f723d
sys: net: gnrc_netdev2_eth: fix ethernet multicast MAC address creation
2016-02-05 23:20:33 +01:00
Yonezawa-T2
c36766a31f
OSX: fix warnings/errors thrown by clang on OS X
...
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Hauke Petersen
41979b64cd
sys: adapted to renamed THREAD FLAGS
2015-12-07 22:09:47 +01:00
Martine Lenders
3c00cec299
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 13:03:37 +01:00
Martine Lenders
4d6d48ca82
Merge pull request #4171 from authmillenon/gnrc_slip/fix/wired
...
gnrc_slip: set NETOPT_IS_WIRED
2015-10-28 15:53:17 +01:00
Martine Lenders
f453d6461e
gnrc_slip: set NETOPT_IS_WIRED
...
Fixes #4168
2015-10-28 13:41:51 +01:00
Hauke Petersen
19bb76f600
net/slip: adjusted to UART interface changes
2015-10-27 14:59:39 +01:00
Martine Lenders
891450d29d
gnrc_netapi: recover from message send errors
2015-09-29 16:58:08 +02:00
Martine Lenders
e06e85d65c
gnrc_slip: reorder received packet correctly
2015-09-23 16:14:33 +02:00
Oleg Hahm
73fe4d4e55
gnrc slip: use blocking uart writing
2015-09-17 11:48:43 +02:00
Oleg Hahm
04022be770
gnrc: netdev2: eth: check for empty multicast
2015-09-11 21:44:25 +02:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
78b4bf6f58
sys: net: gnrc: add basic netdev2 support
2015-09-04 15:39:04 +02:00
Thomas Eichinger
d9c9c87cf3
ng_netdev_eth: functions are not used
2015-09-02 17:34:47 +02:00
Oleg Hahm
eac7f3e3ce
Merge pull request #3697 from OlegHahm/netopt_wireless_ro
...
gnrc: link-type flag
2015-09-01 11:54:48 +02:00
Oleg Hahm
4dbd491097
netopt: introduced link type (wired or wireless)
2015-09-01 11:32:16 +02:00
Martine Lenders
293c5322de
Merge pull request #3137 from authmillenon/slip/fix/some-fixes
...
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
Martine Lenders
8609678bcd
ng_slip: port to ng_netapi_dispatch_receive()
2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b
ng_slip: fix some bugs
2015-08-25 20:40:51 +02:00
Martine Lenders
e5b03dfddd
netdev_eth: return payload length instead of frame length
2015-08-21 19:05:54 +02:00
Martine Lenders
4d3c55f42b
ng_slip: fix DEBUG output
2015-08-19 00:07:55 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00