Searched refs:mtu (Results 1 – 2 of 2) sorted by relevance
/hal_stm32-3.6.0/lib/stm32wba/hci/ |
D | ble_bufsize.h | 52 #define BLE_MEM_BLOCK_X_TX(mtu) \ argument 53 (DIVC((mtu) + 4U, BLE_MEM_BLOCK_SIZE) + 1U) 55 #define BLE_MEM_BLOCK_X_RX(mtu, n_link) \ argument 56 ((DIVC((mtu) + 4U, BLE_MEM_BLOCK_SIZE) + 2U) * (n_link) + 1) 58 #define BLE_MEM_BLOCK_X_MTU(mtu, n_link) \ argument 59 (BLE_MEM_BLOCK_X_TX(mtu) + BLE_MEM_BLOCK_X_RX(mtu, n_link)) 74 #define BLE_MBLOCKS_CALC(pw, mtu, n_link) \ argument 75 ((pw) + MAX(BLE_MEM_BLOCK_X_MTU(mtu, n_link), \
|
/hal_stm32-3.6.0/lib/stm32wb/hci/ |
D | ble_bufsize.h | 52 #define BLE_MEM_BLOCK_X_TX(mtu) \ argument 53 (DIVC((mtu) + 4U, BLE_MEM_BLOCK_SIZE) + 1U) 55 #define BLE_MEM_BLOCK_X_RX(mtu, n_link) \ argument 56 ((DIVC((mtu) + 4U, BLE_MEM_BLOCK_SIZE) + 2U) * (n_link) + 1) 58 #define BLE_MEM_BLOCK_X_MTU(mtu, n_link) \ argument 59 (BLE_MEM_BLOCK_X_TX(mtu) + BLE_MEM_BLOCK_X_RX(mtu, n_link)) 74 #define BLE_MBLOCKS_CALC(pw, mtu, n_link) \ argument 75 ((pw) + MAX(BLE_MEM_BLOCK_X_MTU(mtu, n_link), \
|