1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #18144 from miri64/gnrc/fix/fix-gnrc_netif_pktq-deps

gnrc: gnrc_netif etc. modules are not required by gnrc_netif_pktq
This commit is contained in:
benpicco 2022-05-30 13:03:38 +02:00 committed by GitHub
commit b997820ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 14 deletions

View File

@ -455,7 +455,7 @@ ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE)))
endif
endif
ifneq (,$(filter gnrc_netif_%,$(USEMODULE)))
ifneq (,$(filter gnrc_netif_%,$(filter-out gnrc_netif_pktq,$(USEMODULE))))
USEMODULE += gnrc_netif
USEMODULE += core_thread_flags
USEMODULE += event

View File

@ -49,19 +49,6 @@ config GNRC_NETIF_NONSTANDARD_6LO_MTU
This is non compliant with RFC 4944 and RFC 7668 and might not be
supported by other implementations.
config GNRC_NETIF_PKTQ_POOL_SIZE
int "Packet queue pool size for all network interfaces"
depends on USEMODULE_GNRC_NETIF_PKTQ
default 16
config GNRC_NETIF_PKTQ_TIMER_US
int "Time in microseconds for when to try to send a queued packet at the latest"
depends on USEMODULE_GNRC_NETIF_PKTQ
default 5000
help
Set to -1 to deactivate dequeing by timer. For this it has to be ensured
that none of the notifications by the driver are missed!
config GNRC_NETIF_LORAWAN_NETIF_HDR
bool "Encode LoRaWAN port in GNRC netif header"
depends on USEMODULE_GNRC_LORAWAN
@ -83,3 +70,5 @@ config GNRC_NETIF_IPV6_BR_AUTO_6CTX
by prefix deligation at the border router.
endif # KCONFIG_USEMODULE_GNRC_NETIF
rsource "pktq/Kconfig"

View File

@ -0,0 +1,20 @@
menuconfig KCONFIG_USEMODULE_GNRC_NETIF_PKTQ
bool "Configure packet queues for GNRC network interface"
depends on USEMODULE_GNRC_NETIF_PKTQ
help
Configure packet queues for GNRC network interface using Kconfig.
if KCONFIG_USEMODULE_GNRC_NETIF_PKTQ
config GNRC_NETIF_PKTQ_POOL_SIZE
int "Packet queue pool size for all network interfaces"
depends on USEMODULE_GNRC_NETIF_PKTQ
default 16
config GNRC_NETIF_PKTQ_TIMER_US
int "Time in microseconds for when to try to send a queued packet at the latest"
depends on USEMODULE_GNRC_NETIF_PKTQ
default 5000
help
Set to -1 to deactivate dequeing by timer. For this it has to be ensured
that none of the notifications by the driver are missed!
endif # KCONFIG_USEMODULE_GNRC_NETIF_PKTQ