Lines Matching full:eatt

157 	} eatt;  member
309 /* For EATT, `bt_att_sent` is assigned to the `.sent` L2 callback. in att_sent()
665 /* For EATT, L2CAP will call it after the SDU is fully sent. */ in att_on_sent_cb()
3087 (void)k_work_cancel_delayable_sync(&att->eatt.connection_work, &sync); in att_reset()
3414 /* EATT: The MTU will be sent in the ECRED conn req/rsp PDU. The in att_chan_new()
3459 const struct bt_att *att = CONTAINER_OF(dwork, struct bt_att, eatt.connection_work); in att_enhanced_connection_work_handler()
3460 const int err = bt_eatt_connect(att->conn, att->eatt.chans_to_connect); in att_enhanced_connection_work_handler()
3463 LOG_DBG("Failed to connect %d EATT channels, central has probably " in att_enhanced_connection_work_handler()
3465 att->eatt.chans_to_connect); in att_enhanced_connection_work_handler()
3467 LOG_WRN("Failed to connect %d EATT channels (err: %d)", att->eatt.chans_to_connect, in att_enhanced_connection_work_handler()
3494 k_work_init_delayable(&att->eatt.connection_work, in bt_att_accept()
3562 att->eatt.chans_to_connect = chans_to_connect; in att_schedule_eatt_connect()
3564 return k_work_reschedule(&att->eatt.connection_work, in att_schedule_eatt_connect()
3573 size_t to_connect = att->eatt.prev_conn_req_missing_chans; in handle_potential_collision()
3575 if (att->eatt.prev_conn_rsp_result == BT_L2CAP_LE_ERR_NO_RESOURCES && in handle_potential_collision()
3576 att->eatt.prev_conn_req_result == BT_L2CAP_LE_ERR_NO_RESOURCES) { in handle_potential_collision()
3580 att->eatt.prev_conn_rsp_result = 0; in handle_potential_collision()
3581 att->eatt.prev_conn_req_result = 0; in handle_potential_collision()
3582 att->eatt.prev_conn_req_missing_chans = 0; in handle_potential_collision()
3590 LOG_ERR("Failed to schedule EATT connection retry (err: %d)", err); in handle_potential_collision()
3604 /* Collision mitigation is only a requirement on the EATT PSM */ in ecred_connect_req_cb()
3608 att->eatt.prev_conn_rsp_result = result; in ecred_connect_req_cb()
3624 /* Collision mitigation is only a requirement on the EATT PSM */ in ecred_connect_rsp_cb()
3628 att->eatt.prev_conn_req_result = result; in ecred_connect_rsp_cb()
3629 att->eatt.prev_conn_req_missing_chans = in ecred_connect_rsp_cb()
3648 /* Check the encryption level for EATT */ in bt_eatt_connect()
3704 LOG_WRN("Automatic creation of EATT bearers failed on " in eatt_auto_connect()
3827 LOG_ERR("EATT Server registration failed %d", err); in bt_eatt_init()
4138 /* Choosing EATT requires EATT channels connected and encryption enabled */ in bt_att_chan_opt_valid()