Hendrik van Essen
726ef375e7
pkg/lwip: remove redundant pointer
2022-10-05 14:13:03 +02:00
Hendrik van Essen
804da9ba25
pkg/lwip: give lines some more space
2022-10-05 14:13:02 +02:00
Hendrik van Essen
669aef0c60
pkg/lwip: use intermediate variable instead of max_len
2022-10-05 14:11:17 +02:00
Hendrik van Essen
2fd95824a0
pkg/lwip: rename offset to recvd
2022-10-05 14:11:17 +02:00
Hendrik van Essen
ee4692e90b
pkg/lwip: replace boolean with simple expression
2022-10-05 14:11:16 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips
2022-09-27 13:42:37 +02:00
Marian Buschsieweke
3b2df89b4c
treewide: fix conditionals on deprecated module
...
As a leftovers from https://github.com/RIOT-OS/RIOT/pull/18355 are still
present that check for `MODULE_SHELL_COMMANDS` rather than
`MODULE_SHELL_CMDS`. This updates the conditionals as needed.
2022-09-21 09:42:37 +02:00
benpicco
b5bf5da38d
Merge pull request #18444 from kfessel/p-fix-doc-grp
...
doc: fix unbalaced grouping
2022-09-14 22:19:28 +02:00
Karl Fessel
05f114d0af
doc: fix unbalaced grouping
...
- most were trivial
- missing group close or open
- extra space
- no doxygen comment
- name commad might open an implicit group
this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Erik Ekman
04a2070faa
pkg/lwip: Set netdev callback before driver init
...
Otherwise if the cable is connected at boot the immediate NETDEV_EVENT_ISR
event signaling connection will not trigger the isr, and the netdev will not
clear its pending event.
This explains why the connect/rx event clash seen in "esp32/eth: Don't
overwrite queued event with RX packet" (95196fb7e4
) only happened
with lwIP.
Now on my ESP32 board with Ethernet the issue was the opposite (since IDF
upgrade), the stuck connected event blocked receive from working. After
this change 95196fb7e4
can be reverted since even early events are
consumed properly.
2022-09-03 14:07:02 +02:00
Jose Alamos
9031773b73
lwip/init_devs: add initial support for kw2xrf
2022-08-25 15:44:34 +02:00
Jose Alamos
4daaaccb0f
pkg/lwip_netdev: add support for IPC based Bottom Half Processor
2022-08-25 15:44:34 +02:00
Jose Alamos
a2bf203485
pkg/lwip: fix handling of netdev send return code
2022-08-23 11:57:11 +02:00
Jose Alamos
d0403fc32d
pkg/lwip: acquire and release device lock
2022-08-19 19:44:32 +02:00
Jose Alamos
705fd8d691
pkg/lwip: add device acquire/release
2022-08-19 19:42:45 +02:00
Marian Buschsieweke
3b3d644ce3
Merge pull request #18288 from maribu/pkg/lwip
...
pkg/lwip: ease debugging & fix sending from socket bound to anyaddr
2022-07-25 10:27:33 +02:00
Marian Buschsieweke
3be9446769
pkg/lwip: fix code style
...
This mostly converts switch statements from double indent style to
Linux kernel style, as required per the coding convention.
From the C compiler perspective, this is a whitespace only change.
2022-07-22 12:42:22 +02:00
Marian Buschsieweke
d646a71e71
pkg/lwip: fix sending from socket bound to anyaddr
2022-07-22 09:48:53 +02:00
Marian Buschsieweke
f590c18f7f
pkg/lwip: ease debugging
2022-07-22 09:48:53 +02:00
benpicco
e1e2b7c5b6
Merge pull request #17601 from gschorcht/cpu/esp32/upgrade_esp-idf_v4.4
...
cpu/esp32: Upgrade to ESP-IDF v4.4
2022-06-02 10:18:07 +02:00
Gunar Schorcht
c55b7ecc69
pkg/lwip: fix include of esp_eth_netdev header
2022-06-01 13:31:00 +02:00
Martine Lenders
c4e202ae67
Merge pull request #17709 from benpicco/cpu/native-tap_wired
...
netdev_tap: make 'wired' property configurable
2022-06-01 02:24:43 +02:00
Benjamin Valentin
fad65011b7
netdev_tap: make NETDEV_TAP_MAX an upper bound
2022-05-23 15:27:35 +02:00
Benjamin Valentin
0b91660d98
pkg/lwip: don't set NETOPT_RX_END_IRQ
2022-05-11 23:44:24 +02:00
Erik Ekman
7b84b3a3f5
pkg/lwip: Add empty netif_setopt
...
To fully implement net/netif.h
2022-05-09 17:48:30 +02:00
Erik Ekman
4679d3d06e
pkg/lwip: Fall back to netdev when getting options
...
Adds support for mac address, link state and more
2022-05-09 17:48:30 +02:00
Erik Ekman
8796293c5a
pkg/lwip: Implement getting option NETOPT_IPV6_ADDR
2022-05-09 17:48:30 +02:00
Martine Lenders
aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
...
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02:00
Benjamin Valentin
d800cca1c3
drivers/atwinc15x0: register with netdev
2022-03-30 16:07:29 +02:00
Benjamin Valentin
dffb785886
lwip: enable LWIP_SO_RCVTIMEO if sock layer is used
2022-03-09 22:07:22 +01:00
Hendrik van Essen
850863c22f
pkg/lwip: move includes to the top of the file
2022-03-07 17:19:04 +01:00
Francisco Molina
64ff3d1d4f
pkg/lwip: use ztimer_msec instead of xtimer
2022-03-03 15:54:22 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
Benjamin Valentin
b822e8a5a9
pkg/lwip: implement sock_udp_sendv_aux()
2022-02-22 10:05:41 +01:00
Jens Wetterich
4dfeafcabd
cpu/native/netdev_tap: Add to netdev_register
2022-02-11 07:54:11 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
...
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Benjamin Valentin
fa2d9bde56
socket_zep: port to radio HAL
2021-11-18 11:51:14 +01:00
Erik Ekman
7593bb0e40
pkg/lwip: Update netif_get_name implementation
...
Correctly refer to the struct netif inside the netif_t
Fix call to netif_get_name from lwIP ifconfig shell command
2021-11-16 22:04:44 +01:00
Erik Ekman
efeaac51ca
pkg/lwip: Add lwip_netif_t struct
...
Extending netif_t struct from sys/net/netif to support the
stack-independent API.
2021-11-16 22:04:44 +01:00
Martine S. Lenders
3c6e87c18f
lwip: bump to v2.1.3
2021-11-10 22:36:19 +01:00
Erik Ekman
02c840af2a
pkg/lwip: Fix 6lowpan build when IPv4 is active
2021-11-09 23:16:33 +01:00
Erik Ekman
3aee2dde9d
pkg/lwip: Only enable ARP if Ethernet is supported
2021-11-09 23:09:35 +01:00
Erik Ekman
9844953da4
sys/net: Add ipv4 pseudomodule
...
Enabled when lwIP uses IPv4.
2021-10-11 21:37:47 +02:00
Erik Ekman
ff7bf09313
sys/net/sock: Set SOCK_HAS_IPV6 in one place
...
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
Erik Ekman
3df56d576f
sys/net: Add ipv6 pseudomodule
...
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
...
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
b6b48535fb
pkg/lwip: implement netif_get_name()
2021-08-26 13:20:24 +02:00
benpicco
16f7c94875
Merge pull request #16761 from benpicco/pkg/lwip/init_devs
...
pkg/lwip: add auto-init for DOSE & at86rf215, cc2538_rf
2021-08-24 12:16:14 +02:00
Erik Ekman
adccbc9f2a
pkg/lwip: Fix compilation without IPv6
...
RIOT/pkg/lwip/init_devs/init.c:65:61: error: 'tcpip_6lowpan_input' undeclared (first use in this function)
return netif_add_noaddr(netif, state, lwip_netdev_init, tcpip_6lowpan_input);
^
2021-08-20 17:52:37 +02:00
Benjamin Valentin
5b83475ffe
pkg/lwip: add auto-init for cc2538_rf
2021-08-20 16:48:25 +02:00