Lines Matching refs:att_server
72 att_server_t *att_server = &hci_connection->att_server; in att_dispatch_att_server_for_l2cap_cid() local
73 if (att_server->l2cap_cid == l2cap_cid){ in att_dispatch_att_server_for_l2cap_cid()
74 return att_server; in att_dispatch_att_server_for_l2cap_cid()
87 att_server_t * att_server = att_dispatch_att_server_for_l2cap_cid(l2cap_cid); in att_dispatch_handle_can_send_now() local
88 if (att_server != NULL){ in att_dispatch_handle_can_send_now()
91 if (att_server->send_requests[index]) { in att_dispatch_handle_can_send_now()
92 att_server->send_requests[index] = false; in att_dispatch_handle_can_send_now()
102 bool send_request_pending = att_server->send_requests[ATT_CLIENT] in att_dispatch_handle_can_send_now()
103 || att_server->send_requests[ATT_SERVER]; in att_dispatch_handle_can_send_now()
105 l2cap_request_can_send_now_event(att_server->l2cap_cid); in att_dispatch_handle_can_send_now()
157 att_server_t * att_server; in att_packet_handler() local
187 outgoing_active = hci_connection->att_server.l2cap_cid != 0; in att_packet_handler()
189 hci_connection->att_server.incoming_connection_request = true; in att_packet_handler()
204 … hci_connection->att_server.l2cap_cid = l2cap_event_channel_opened_get_local_cid(packet); in att_packet_handler()
207 hci_connection->att_server.l2cap_cid = 0; in att_packet_handler()
220 att_server = att_dispatch_att_server_for_l2cap_cid(l2cap_cid); in att_packet_handler()
221 att_server->l2cap_cid = 0; in att_packet_handler()
254 return hci_connection->att_server.l2cap_cid; in att_dispatch_classic_get_l2cap_cid()
284 att_server_t * att_server = &hci_connection->att_server; in att_dispatch_request_can_send_now_event() local
285 if (att_server->l2cap_cid != 0){ in att_dispatch_request_can_send_now_event()
286 bool send_request_pending = att_server->send_requests[ATT_CLIENT] in att_dispatch_request_can_send_now_event()
287 || att_server->send_requests[ATT_SERVER]; in att_dispatch_request_can_send_now_event()
288 att_server->send_requests[type] = true; in att_dispatch_request_can_send_now_event()
290 l2cap_request_can_send_now_event(att_server->l2cap_cid); in att_dispatch_request_can_send_now_event()
340 hci_connection->att_server.l2cap_cid = l2cap_cid; in att_dispatch_classic_connect()
341 hci_connection->att_server.incoming_connection_request = false; in att_dispatch_classic_connect()