Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_l2cap_br_chan Struct Reference

BREDR L2CAP Channel structure. More...

#include <zephyr/bluetooth/l2cap.h>

Data Fields

struct bt_l2cap_chan chan
 Common L2CAP channel reference object.
struct bt_l2cap_br_endpoint rx
 Channel Receiving Endpoint.
struct bt_l2cap_br_endpoint tx
 Channel Transmission Endpoint.
atomic_t flags [ATOMIC_BITMAP_SIZE(64)]
 Channel flags, for internal use only.
bt_l2cap_chan_state_t state
uint16_t psm
 Remote PSM to be connected.
uint8_t ident
 Helps match request context during CoC.
bt_security_t required_sec_level
bool flushable
 Send the PDUs automatically flushable, set before connecting.
struct k_work_delayable rtx_work
struct k_work_sync rtx_sync
struct bt_l2cap_br_window tx_win [CONFIG_BT_L2CAP_MAX_WINDOW_SIZE]
uint16_t tx_seq
uint16_t next_tx_seq
uint16_t expected_ack_seq
uint16_t req_seq
uint16_t expected_tx_seq
uint16_t buffer_seq
uint16_t retry_count
uint16_t srej_save_req_seq
struct k_work_delayable ret_work
struct k_work_delayable monitor_work

Detailed Description

BREDR L2CAP Channel structure.

Field Documentation

◆ buffer_seq

uint16_t bt_l2cap_br_chan::buffer_seq

◆ chan

struct bt_l2cap_chan bt_l2cap_br_chan::chan

Common L2CAP channel reference object.

◆ expected_ack_seq

uint16_t bt_l2cap_br_chan::expected_ack_seq

◆ expected_tx_seq

uint16_t bt_l2cap_br_chan::expected_tx_seq

◆ flags

atomic_t bt_l2cap_br_chan::flags[ATOMIC_BITMAP_SIZE(64)]

Channel flags, for internal use only.

◆ flushable

bool bt_l2cap_br_chan::flushable

Send the PDUs automatically flushable, set before connecting.

The configuration announces CONFIG_BT_L2CAP_TX_FLUSH_TO as flush timeout, and once the peer accepted it the Automatic Flush Timeout of the ACL link is set to it, so that the Controller discards the PDUs it could not deliver in time. A peer that proposes another flush timeout gets it, 0xffff for none. The Automatic Flush Timeout applies to the whole link and is set once, by the first flushable channel of the link. A later flushable channel announces that value, and is not flushed if it ends up with another one. The PDUs of the other channels stay non-flushable. Ignored if CONFIG_BT_L2CAP_TX_FLUSH_TO is 0, if the channel is not in Basic mode, or if the Controller does not support the Non-flushable Packet Boundary Flag.

◆ ident

uint8_t bt_l2cap_br_chan::ident

Helps match request context during CoC.

◆ monitor_work

struct k_work_delayable bt_l2cap_br_chan::monitor_work

◆ next_tx_seq

uint16_t bt_l2cap_br_chan::next_tx_seq

◆ psm

uint16_t bt_l2cap_br_chan::psm

Remote PSM to be connected.

◆ req_seq

uint16_t bt_l2cap_br_chan::req_seq

◆ required_sec_level

bt_security_t bt_l2cap_br_chan::required_sec_level

◆ ret_work

struct k_work_delayable bt_l2cap_br_chan::ret_work

◆ retry_count

uint16_t bt_l2cap_br_chan::retry_count

◆ rtx_sync

struct k_work_sync bt_l2cap_br_chan::rtx_sync

◆ rtx_work

struct k_work_delayable bt_l2cap_br_chan::rtx_work

◆ rx

struct bt_l2cap_br_endpoint bt_l2cap_br_chan::rx

Channel Receiving Endpoint.

◆ srej_save_req_seq

uint16_t bt_l2cap_br_chan::srej_save_req_seq

◆ state

bt_l2cap_chan_state_t bt_l2cap_br_chan::state

◆ tx

struct bt_l2cap_br_endpoint bt_l2cap_br_chan::tx

Channel Transmission Endpoint.

◆ tx_seq

uint16_t bt_l2cap_br_chan::tx_seq

◆ tx_win

struct bt_l2cap_br_window bt_l2cap_br_chan::tx_win[CONFIG_BT_L2CAP_MAX_WINDOW_SIZE]

The documentation for this struct was generated from the following file: