Lines Matching full:connection

98 				"%s: %s - LP_ConnectReq for SCO connection came from wrong hook=%p\n",  in ng_hci_lp_con_req()
118 * Request to create new ACL connection
137 * Only one ACL connection can exist between each pair of units. in ng_hci_lp_acl_con_req()
138 * So try to find ACL connection descriptor (in any state) that in ng_hci_lp_acl_con_req()
143 * 1) We do not have connection to the remote unit. This is simple. in ng_hci_lp_acl_con_req()
144 * Just create new connection descriptor and send HCI command to in ng_hci_lp_acl_con_req()
145 * create new connection. in ng_hci_lp_acl_con_req()
147 * 2) We do have connection descriptor. We need to check connection in ng_hci_lp_acl_con_req()
151 * accepting connection from the remote unit. This is a race in ng_hci_lp_acl_con_req()
155 * requested connection or we just accepted it. In any case in ng_hci_lp_acl_con_req()
159 * 2.3) NG_HCI_CON_OPEN means connection is open. Just reply back in ng_hci_lp_acl_con_req()
160 * and let upper layer know that we have connection already. in ng_hci_lp_acl_con_req()
214 "%s: %s - Invalid connection state=%d\n", in ng_hci_lp_acl_con_req()
223 * If we got here then we need to create new ACL connection descriptor in ng_hci_lp_acl_con_req()
224 * and submit HCI command. First create new connection desriptor, set in ng_hci_lp_acl_con_req()
292 * Adust connection state in ng_hci_lp_acl_con_req()
318 * Request to create new SCO connection
336 * SCO connection without ACL link in ng_hci_lp_sco_con_req()
338 * If upper layer requests SCO connection and there is no open ACL in ng_hci_lp_sco_con_req()
339 * connection to the desired remote unit, we will reject the request. in ng_hci_lp_sco_con_req()
350 "%s: %s - No open ACL connection to bdaddr=%x:%x:%x:%x:%x:%x\n", in ng_hci_lp_sco_con_req()
364 * Try to find SCO connection descriptor that matches the following: in ng_hci_lp_sco_con_req()
375 * 1) We do not have connection descriptor. This is simple. Just in ng_hci_lp_sco_con_req()
376 * create new connection and submit Add_SCO_Connection command. in ng_hci_lp_sco_con_req()
378 * 2) We do have connection descriptor. We need to check the state. in ng_hci_lp_sco_con_req()
381 * connection from the remote unit. This is a race condition and in ng_hci_lp_sco_con_req()
385 * connection or we just accepted it. in ng_hci_lp_sco_con_req()
407 "%s: %s - Invalid connection state=%d\n", in ng_hci_lp_sco_con_req()
417 * If we got here then we need to create new SCO connection descriptor in ng_hci_lp_sco_con_req()
464 * Adust connection state in ng_hci_lp_sco_con_req()
504 * Only one ACL connection can exist between each pair of units. in ng_hci_lp_le_con_req()
505 * So try to find ACL connection descriptor (in any state) that in ng_hci_lp_le_con_req()
510 * 1) We do not have connection to the remote unit. This is simple. in ng_hci_lp_le_con_req()
511 * Just create new connection descriptor and send HCI command to in ng_hci_lp_le_con_req()
512 * create new connection. in ng_hci_lp_le_con_req()
514 * 2) We do have connection descriptor. We need to check connection in ng_hci_lp_le_con_req()
518 * accepting connection from the remote unit. This is a race in ng_hci_lp_le_con_req()
522 * requested connection or we just accepted it. In any case in ng_hci_lp_le_con_req()
526 * 2.3) NG_HCI_CON_OPEN means connection is open. Just reply back in ng_hci_lp_le_con_req()
527 * and let upper layer know that we have connection already. in ng_hci_lp_le_con_req()
581 "%s: %s - Invalid connection state=%d\n", in ng_hci_lp_le_con_req()
590 * If we got here then we need to create new ACL connection descriptor in ng_hci_lp_le_con_req()
591 * and submit HCI command. First create new connection desriptor, set in ng_hci_lp_le_con_req()
634 * Adust connection state in ng_hci_lp_le_con_req()
700 "%s: %s - invalid connection handle=%d\n", in ng_hci_lp_discon_req()
709 "%s: %s - invalid connection state=%d, handle=%d\n", in ng_hci_lp_discon_req()
939 * Try to find connection that matches the following: in ng_hci_lp_con_rsp()
950 * 1) We do not have connection descriptor. Could be bogus request or in ng_hci_lp_con_rsp()
951 * we have rejected connection already. in ng_hci_lp_con_rsp()
953 * 2) We do have connection descriptor. Then we need to check state: in ng_hci_lp_con_rsp()
956 * connection and it is a first response from the upper layer. in ng_hci_lp_con_rsp()
958 * command and change connection state to W4_CONN_COMPLETE, else in ng_hci_lp_con_rsp()
959 * send reject and delete connection. in ng_hci_lp_con_rsp()
962 * connection. If "status == 0" we just need to link request in ng_hci_lp_con_rsp()
974 /* Reject for non-existing connection is fine */ in ng_hci_lp_con_rsp()
980 * Remove connection timeout and check connection state. in ng_hci_lp_con_rsp()
1014 * We are accepting connection, so if we support role in ng_hci_lp_con_rsp()
1028 * Adjust connection state in ng_hci_lp_con_rsp()
1050 * Free connection descritor in ng_hci_lp_con_rsp()
1077 "%s: %s - Invalid connection state=%d\n", in ng_hci_lp_con_rsp()
1100 * Disconnect_Complete event is generated for specific connection in ng_hci_lp_discon_ind()
1101 * handle. For ACL connection handles both ACL and SCO upstream in ng_hci_lp_discon_ind()
1102 * hooks will receive notification. For SCO connection handles in ng_hci_lp_discon_ind()
1186 "%s: %s - invalid connection handle=%d\n", in ng_hci_lp_qos_req()
1203 "%s: %s - invalid connection state=%d, handle=%d\n", in ng_hci_lp_qos_req()
1237 * Adjust connection state in ng_hci_lp_qos_req()
1326 * QoS Violation can only be generated for ACL connection handles. in ng_hci_lp_qos_ind()
1364 * Process connection timeout
1383 "%s: %s - could not find connection, handle=%d\n", in ng_hci_process_con_timeout()
1390 "%s: %s - no pending connection timeout, handle=%d, state=%d, flags=%#x\n", in ng_hci_process_con_timeout()
1399 * We expect to receive connection timeout in one of the following in ng_hci_process_con_timeout()
1403 * to our LP_CON_IND. Do nothing and destroy connection. Remote peer in ng_hci_process_con_timeout()
1406 * 2) NG_HCI_CON_W4_CONN_COMPLETE means upper layer requested connection in ng_hci_process_con_timeout()
1421 "%s: %s - Invalid connection state=%d\n", in ng_hci_process_con_timeout()