Increases other stack sizes and reduces log churn
This commit is contained in:
parent
73e6dfee64
commit
1b33a5cc3a
|
@ -58,10 +58,10 @@ NET_BUF_POOL_DEFINE(cmd_tx_pool, CONFIG_BT_HCI_CMD_COUNT, CMD_BUF_SIZE,
|
|||
NET_BUF_POOL_DEFINE(acl_tx_pool, TX_BUF_COUNT, BT_BUF_ACL_SIZE,
|
||||
BT_BUF_USER_DATA_MIN, NULL);
|
||||
|
||||
static K_THREAD_STACK_DEFINE(tx_stack, 256);
|
||||
static K_THREAD_STACK_DEFINE(tx_stack, 4096);
|
||||
static struct k_thread tx_thread_data;
|
||||
|
||||
static K_THREAD_STACK_DEFINE(unproc_stack, 256);
|
||||
static K_THREAD_STACK_DEFINE(unproc_stack, 4096);
|
||||
static struct k_thread unproc_thread_data;
|
||||
|
||||
static struct k_delayed_work ack_work;
|
||||
|
@ -532,9 +532,11 @@ static void unproc_thread(void) {
|
|||
}
|
||||
|
||||
//LOG_HEXDUMP_DBG((uint8_t*)&hdr, sizeof(hdr), "Header");
|
||||
if (hdr.is_reliable) {
|
||||
LOG_DBG("Header: seq %d, ack %d, rel: %s, crc16: %s", hdr.seq, hdr.ack,
|
||||
hdr.is_reliable ? "true" : "false",
|
||||
hdr.crc_after_payload ? "true" : "false");
|
||||
}
|
||||
struct net_buf *rx_buf = NULL;
|
||||
|
||||
if (h5.link_state < ACTIVE && hdr.packet_type != HCI_3WIRE_LINK_PKT) {
|
||||
|
@ -638,7 +640,7 @@ static void tx_thread(void)
|
|||
while ((buf = net_buf_get(&h5.controller_queue, K_MSEC(100)))) {
|
||||
bt_send(buf);
|
||||
}
|
||||
LOG_DBG("controller_queue empty");
|
||||
//LOG_DBG("controller_queue empty");
|
||||
|
||||
/* buf is dequeued from tx_queue and queued to unack
|
||||
* queue.
|
||||
|
|
Loading…
Reference in New Issue