pkg/nimble: used LL data length ext. with netif

This commit is contained in:
Hauke Petersen 2019-11-21 14:37:14 +01:00
parent 50c2a2ca06
commit 51a65b256d

View File

@ -90,6 +90,11 @@ ifneq (,$(filter nimble_netif,$(USEMODULE)))
# NimBLEs internal buffer need to hold one IPv6 MTU per connection # NimBLEs internal buffer need to hold one IPv6 MTU per connection
# for the internal MTU of 256 byte, we need 10 mbufs per connection... # for the internal MTU of 256 byte, we need 10 mbufs per connection...
CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_COUNT=35 CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_COUNT=35
# optimize the NimBLE controller for IP traffic
ifneq (,$(filter nimble_controller,$(USEMODULE)))
CFLAGS += -DMYNEWT_VAL_BLE_LL_CFG_FEAT_DATA_LEN_EXT=1
endif
endif endif
ifneq (,$(filter nimble_scanlist,$(USEMODULE))) ifneq (,$(filter nimble_scanlist,$(USEMODULE)))
INCLUDES += -I$(RIOTPKG)/nimble/scanlist/include INCLUDES += -I$(RIOTPKG)/nimble/scanlist/include