/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 539 req->credits = sys_cpu_to_le16(ch->rx.credits); in l2cap_le_conn_req() 579 req->credits = sys_cpu_to_le16(ch->rx.credits); in l2cap_ecred_conn_req() 787 if (!test_and_dec(&lechan->tx.credits)) { in chan_take_credit() 793 if (!atomic_get(&lechan->tx.credits)) { in chan_take_credit() 873 LOG_DBG("chan %p credits %ld", lechan, atomic_get(&lechan->tx.credits)); in chan_has_credits() 875 return atomic_get(&lechan->tx.credits) >= 1; in chan_has_credits() 1244 atomic_set(&chan->rx.credits, 1); in l2cap_chan_rx_init() 1268 atomic_set(&chan->tx.credits, 0); in l2cap_chan_tx_init() 1273 uint16_t credits) in l2cap_chan_tx_give_credits() argument 1275 LOG_DBG("chan %p credits %u", chan, credits); in l2cap_chan_tx_give_credits() [all …]
|
D | l2cap_internal.h | 88 uint16_t credits; member 109 uint16_t credits; member 116 uint16_t credits; member 124 uint16_t credits; member 132 uint16_t credits; member
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 168 uint16_t credits = sys_le16_to_cpu(ev->credits); in handle_l2cap_credits() local 170 LOG_DBG("got credits: %d", credits); in handle_l2cap_credits() 171 while (credits--) { in handle_l2cap_credits() 180 uint16_t credits = sys_le16_to_cpu(rsp->credits); in handle_l2cap_connected() local 186 LOG_DBG("l2cap connected: mtu %d mps %d credits: %d", mtu, mps, credits); in handle_l2cap_connected() 188 k_sem_init(&tx_credits, credits, credits); in handle_l2cap_connected() 536 req->credits = sys_cpu_to_le16(0); in open_l2cap()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 180 uint16_t credits = sys_le16_to_cpu(ev->credits); in handle_l2cap_credits() local 182 LOG_DBG("got credits: %d", credits); in handle_l2cap_credits() 183 while (credits--) { in handle_l2cap_credits() 192 uint16_t credits = sys_le16_to_cpu(rsp->credits); in handle_l2cap_connected() local 198 LOG_DBG("l2cap connected: mtu %d mps %d credits: %d", mtu, mps, credits); in handle_l2cap_connected() 200 k_sem_init(&tx_credits, credits, credits); in handle_l2cap_connected() 565 req->credits = sys_cpu_to_le16(0); in open_l2cap()
|
/Zephyr-latest/doc/_static/css/ |
D | dark.css | 49 --search-credits-background-color: #202123; /* derived from --navbar-background-color */ 50 --search-credits-color: #6b6b6b; /* derived from --footer-color */ 51 --search-credits-link-color: #628fb1; /* derived from --link-color */
|
D | light.css | 48 --search-credits-background-color: #333f67; /* derived from --navbar-background-color */ 49 --search-credits-color: #b3b3b3; /* derived from --footer-color */ 50 --search-credits-link-color: #4392c5; /* derived from --link-color */
|
/Zephyr-latest/doc/connectivity/bluetooth/api/ |
D | l2cap.rst | 25 it may block if no credits are available, and resuming as soon as more credits
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | rfcomm.c | 222 uint8_t credits) in rfcomm_dlc_tx_give_credits() argument 224 LOG_DBG("dlc %p credits %u", dlc, credits); in rfcomm_dlc_tx_give_credits() 226 while (credits--) { in rfcomm_dlc_tx_give_credits() 960 pn->credits = dlc->rx_credit; in rfcomm_send_pn() 970 pn->credits = 0U; in rfcomm_send_pn() 983 static int rfcomm_send_credit(struct bt_rfcomm_dlc *dlc, uint8_t credits) in rfcomm_send_credit() argument 989 LOG_DBG("Dlc %p credits %d", dlc, credits); in rfcomm_send_credit() 999 net_buf_add_u8(buf, credits); in rfcomm_send_credit() 1241 rfcomm_dlc_tx_give_credits(dlc, pn->credits); in rfcomm_handle_pn() 1271 rfcomm_dlc_tx_give_credits(dlc, pn->credits); in rfcomm_handle_pn() [all …]
|
D | rfcomm_internal.h | 74 uint8_t credits; member
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | l2cap.h | 198 atomic_t credits; member
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_l2cap.c | 565 static uint8_t credits(const void *cmd, uint16_t cmd_len, in credits() function 662 .func = credits,
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.6.rst | 338 * ``ZEP-1199`` - [L2CAP] No credits to receive packet
|
D | release-notes-3.4.rst | 430 segments directly and manage credits explicitly.
|
D | release-notes-2.2.rst | 1106 * :github:`19922` - Linear time to give L2CAP credits
|
D | release-notes-2.7.rst | 1065 * :github:`38938` - Bluetooth tester application should be able return L2CAP ECFC credits on demand
|