Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions kconfig/Kconfig.defaults.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ config NRF_WIFI_LOW_RAM

# Lower resource requirements in scan only mode
if NRF70_SCAN_ONLY
configdefault HEAP_MEM_POOL_ADD_SIZE_NRF70
default 30000
configdefault NRF_WIFI_DATA_HEAP_SIZE
default 8000
configdefault NET_BUF_RX_COUNT
default 1
configdefault NET_BUF_TX_COUNT
Expand Down Expand Up @@ -127,21 +127,20 @@ configdefault NRF70_MAX_TX_TOKENS
default 6
configdefault NRF70_MAX_TX_AGGREGATION
default 3
configdefault HEAP_MEM_POOL_ADD_SIZE_NRF70
# Control plane is estimated to use 20 kB
configdefault NRF_WIFI_DATA_HEAP_SIZE
def_int 8240 if !IPV6
def_int 16688
# IPV4 Data plane is (6 + 6) * 644 ~= 8kB
# IPV6 Data plane is (6 + 6) * 1348 ~= 16kB
def_int 28672 if !IPV6
def_int 36864
endif # NRF_WIFI_LOW_RAM

# WiFi defaults
configdefault NET_L2_ETHERNET
default y if WIFI_NRF70
configdefault SYSTEM_WORKQUEUE_STACK_SIZE
default 6144 if WIFI_NRF70 && !NRF70_SCAN_ONLY
configdefault HEAP_MEM_POOL_ADD_SIZE_NRF70
def_int 100000 if !NRF70_SCAN_ONLY
configdefault NRF_WIFI_DATA_HEAP_SIZE
def_int 80000 if !NRF70_SCAN_ONLY
configdefault NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE
default 4096 if NRF700X_STA_MODE
default 1024 if NRF_MODEM_LIB_NET_IF
Expand Down
4 changes: 2 additions & 2 deletions samples/net/zperf/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ configdefault NRF70_TX_MAX_DATA_SIZE
default 1348
configdefault NRF70_RX_MAX_DATA_SIZE
default 1348
configdefault HEAP_MEM_POOL_ADD_SIZE_NRF70
def_int 60000
configdefault NRF_WIFI_DATA_HEAP_SIZE
def_int 40000
endif

source "Kconfig.zephyr"
6 changes: 6 additions & 0 deletions subsys/rpc/commands/data_logger_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@

#include <zephyr/net_buf.h>
#include <zephyr/sys/crc.h>
#include <zephyr/logging/log.h>

#include <infuse/data_logger/logger.h>
#include <infuse/epacket/packet.h>
#include <infuse/rpc/commands.h>
#include <infuse/rpc/command_runner.h>
#include <infuse/rpc/types.h>

LOG_MODULE_DECLARE(rpc_server);

struct net_buf *rpc_command_data_logger_read(struct net_buf *request)
{
struct epacket_rx_metadata *req_meta = net_buf_user_data(request);
Expand Down Expand Up @@ -70,6 +73,8 @@ struct net_buf *rpc_command_data_logger_read(struct net_buf *request)
goto end;
}

LOG_INF("Reading blocks %d-%d from %s", req->start_block, req->last_block, logger->name);

union epacket_interface_address addr = req_meta->interface_address;
enum epacket_auth auth = req_meta->auth;
uint32_t block_num = req->start_block;
Expand Down Expand Up @@ -148,6 +153,7 @@ struct net_buf *rpc_command_data_logger_read(struct net_buf *request)
/* Send full buffer */
epacket_queue(interface, data_buf);
}
LOG_DBG("Read complete");

end:
return rpc_response_simple_if(interface, rc, &rsp, sizeof(rsp));
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ manifest:

projects:
- name: zephyr
revision: 2449af8fe449dbf76d86c962e4b0d6c9d700565c
revision: 82063fdbc7ad1c289c6a3709ebb709a40f1ff3de
# Limit imported repositories to reduce clone time
import:
name-allowlist:
Expand Down
Loading