Lines Matching refs:iso_bc
873 BT_DBG("sk %p bc_sid %u bc_num_bis %u", sk, sa->iso_bc->bc_sid, in iso_sock_bind_bc()
874 sa->iso_bc->bc_num_bis); in iso_sock_bind_bc()
876 if (addr_len != sizeof(*sa) + sizeof(*sa->iso_bc)) in iso_sock_bind_bc()
879 bacpy(&iso_pi(sk)->dst, &sa->iso_bc->bc_bdaddr); in iso_sock_bind_bc()
882 if (!bdaddr_type_is_le(sa->iso_bc->bc_bdaddr_type)) in iso_sock_bind_bc()
885 iso_pi(sk)->dst_type = sa->iso_bc->bc_bdaddr_type; in iso_sock_bind_bc()
887 if (sa->iso_bc->bc_sid > 0x0f) in iso_sock_bind_bc()
890 iso_pi(sk)->bc_sid = sa->iso_bc->bc_sid; in iso_sock_bind_bc()
892 if (sa->iso_bc->bc_num_bis > ISO_MAX_NUM_BIS) in iso_sock_bind_bc()
895 iso_pi(sk)->bc_num_bis = sa->iso_bc->bc_num_bis; in iso_sock_bind_bc()
898 if (sa->iso_bc->bc_bis[i] < 0x01 || in iso_sock_bind_bc()
899 sa->iso_bc->bc_bis[i] > 0x1f) in iso_sock_bind_bc()
902 memcpy(iso_pi(sk)->bc_bis, sa->iso_bc->bc_bis, in iso_sock_bind_bc()
918 if (addr_len != sizeof(*sa) + sizeof(*sa->iso_bc)) { in iso_sock_bind_pa_sk()
923 if (sa->iso_bc->bc_num_bis > ISO_MAX_NUM_BIS) { in iso_sock_bind_pa_sk()
928 iso_pi(sk)->bc_num_bis = sa->iso_bc->bc_num_bis; in iso_sock_bind_pa_sk()
931 if (sa->iso_bc->bc_bis[i] < 0x01 || in iso_sock_bind_pa_sk()
932 sa->iso_bc->bc_bis[i] > 0x1f) { in iso_sock_bind_pa_sk()
937 memcpy(iso_pi(sk)->bc_bis, sa->iso_bc->bc_bis, in iso_sock_bind_pa_sk()