Lines Matching +full:0 +full:xc80
132 int error = 0; in ng_hci_lp_acl_con_req()
190 cfm->status = 0; in ng_hci_lp_acl_con_req()
257 if (unit->features[0] & NG_HCI_LMP_3SLOT) in ng_hci_lp_acl_con_req()
259 if (unit->features[0] & NG_HCI_LMP_5SLOT) in ng_hci_lp_acl_con_req()
265 NG_HCI_PKT_DM5|NG_HCI_PKT_DH5)) == 0) in ng_hci_lp_acl_con_req()
270 if ((unit->features[0] & NG_HCI_LMP_SWITCH) && unit->role_switch) in ng_hci_lp_acl_con_req()
273 req->cp.accept_role_switch = 0; in ng_hci_lp_acl_con_req()
282 req->cp.page_scan_rep_mode = 0; in ng_hci_lp_acl_con_req()
283 req->cp.page_scan_mode = 0; in ng_hci_lp_acl_con_req()
284 req->cp.clock_offset = 0; in ng_hci_lp_acl_con_req()
331 int error = 0; in ng_hci_lp_sco_con_req()
345 bcmp(&acl_con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0) in ng_hci_lp_sco_con_req()
353 ep->bdaddr.b[2], ep->bdaddr.b[1], ep->bdaddr.b[0]); in ng_hci_lp_sco_con_req()
392 bcmp(&sco_con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0) in ng_hci_lp_sco_con_req()
458 NG_HCI_PKT_HV3)) == 0) in ng_hci_lp_sco_con_req()
495 int error = 0; in ng_hci_lp_le_con_req()
557 cfm->status = 0; in ng_hci_lp_le_con_req()
622 req->cp.own_address_type = 0; in ng_hci_lp_le_con_req()
623 req->cp.peer_addr_type = (link_type == NG_HCI_LINK_LE_RANDOM)? 1:0; in ng_hci_lp_le_con_req()
626 req->cp.filter_policy = 0; in ng_hci_lp_le_con_req()
627 req->cp.conn_interval_min = htole16(0xf); in ng_hci_lp_le_con_req()
628 req->cp.conn_interval_max = htole16(0xf); in ng_hci_lp_le_con_req()
629 req->cp.conn_latency = htole16(0); in ng_hci_lp_le_con_req()
630 req->cp.supervision_timeout = htole16(0xc80); in ng_hci_lp_le_con_req()
673 int error = 0; in ng_hci_lp_discon_req()
782 unit->acl, 0); in ng_hci_lp_con_cfm()
805 unit->sco, 0); in ng_hci_lp_con_cfm()
815 return (0); in ng_hci_lp_con_cfm()
837 unit->acl, 0); in ng_hci_lp_enc_change()
844 return (0); in ng_hci_lp_enc_change()
858 int error = 0; in ng_hci_lp_con_ind()
881 NG_SEND_MSG_HOOK(error, unit->node, msg, hook, 0); in ng_hci_lp_con_ind()
910 int error = 0; in ng_hci_lp_con_rsp()
957 * if "status == 0" (Accept) then we will send Accept_Connection in ng_hci_lp_con_rsp()
962 * connection. If "status == 0" we just need to link request in ng_hci_lp_con_rsp()
970 bcmp(&con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0) in ng_hci_lp_con_rsp()
975 error = (ep->status == 0)? ENOENT : 0; in ng_hci_lp_con_rsp()
985 if ((error = ng_hci_con_untimeout(con)) != 0) in ng_hci_lp_con_rsp()
1004 if (ep->status == 0) { in ng_hci_lp_con_rsp()
1021 if ((unit->features[0] & NG_HCI_LMP_SWITCH) && in ng_hci_lp_con_rsp()
1066 if (ep->status == 0) { in ng_hci_lp_con_rsp()
1097 int error = 0; in ng_hci_lp_discon_ind()
1118 NG_SEND_MSG_HOOK(error,unit->node,msg,unit->acl,0); in ng_hci_lp_discon_ind()
1136 NG_SEND_MSG_HOOK(error, unit->node, msg, unit->sco, 0); in ng_hci_lp_discon_ind()
1142 return (0); in ng_hci_lp_discon_ind()
1159 int error = 0; in ng_hci_lp_qos_req()
1280 unit->acl, 0); in ng_hci_lp_qos_cfm()
1300 unit->sco, 0); in ng_hci_lp_qos_cfm()
1310 return (0); in ng_hci_lp_qos_cfm()
1339 NG_SEND_MSG_HOOK(error, unit->node, msg, unit->acl, 0); in ng_hci_lp_qos_ind()
1354 NG_SEND_MSG_HOOK(error, unit->node, msg, unit->sco, 0); in ng_hci_lp_qos_ind()
1360 return (0); in ng_hci_lp_qos_ind()
1416 ng_hci_lp_con_cfm(con, 0xee); in ng_hci_process_con_timeout()