Home
last modified time | relevance | path

Searched refs:rx_credit (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/classic/
Drfcomm.h102 uint8_t rx_credit; member
/Zephyr-latest/subsys/bluetooth/host/classic/
Drfcomm.c455 dlc->rx_credit = RFCOMM_DEFAULT_CREDIT; in rfcomm_dlc_init()
960 pn->credits = dlc->rx_credit; in rfcomm_send_pn()
1399 LOG_DBG("dlc %p credits %u", dlc, dlc->rx_credit); in rfcomm_dlc_update_credits()
1402 if (dlc->rx_credit > RFCOMM_CREDITS_THRESHOLD) { in rfcomm_dlc_update_credits()
1407 credits = RFCOMM_MAX_CREDITS - dlc->rx_credit; in rfcomm_dlc_update_credits()
1408 dlc->rx_credit += credits; in rfcomm_dlc_update_credits()
1428 LOG_DBG("dlc %p rx credit %d", dlc, dlc->rx_credit); in rfcomm_handle_data()
1444 !dlc->rx_credit) { in rfcomm_handle_data()
1456 dlc->rx_credit--; in rfcomm_handle_data()