mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fcb4e4f77d
Replace ping-pong (2-buffer) transport constants with configurable multi-buffer (4-buffer) types. Add buffer utilization reporting types, unified queue depth derivation macros, and compile-time guards. Rename Kconfig options to total-per-LBM semantics: - BLE_LOG_LBM_TRANS_SIZE (512) -> BLE_LOG_LBM_TRANS_BUF_SIZE (2048) - BLE_LOG_LBM_LL_TRANS_SIZE (1024) -> BLE_LOG_LBM_LL_TRANS_BUF_SIZE (2048) Key type changes: - ble_log_prph_trans_t: volatile bool -> plain bool (atomic ops used), add void *owner back-reference - ble_log_lbm_t: trans array sized to BLE_LOG_TRANS_BUF_CNT (4), add trans_inflight and trans_inflight_peak counters - BLE_LOG_TRANS_BUF_CNT replaces BLE_LOG_TRANS_PING_PONG_BUF_CNT - New ble_log_buf_util_t for buffer utilization telemetry - _Static_assert guards for divisibility, power-of-2, index limits