Lines Matching refs:efs
3122 struct l2cap_conf_efs efs; in l2cap_add_opt_efs() local
3126 efs.id = chan->local_id; in l2cap_add_opt_efs()
3127 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3128 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3129 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3130 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3131 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3135 efs.id = 1; in l2cap_add_opt_efs()
3136 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3137 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3138 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3139 efs.acc_lat = 0; in l2cap_add_opt_efs()
3140 efs.flush_to = 0; in l2cap_add_opt_efs()
3147 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3148 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3431 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3477 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3480 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3571 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3572 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3580 sizeof(efs), in l2cap_parse_conf_req()
3581 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3618 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3619 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3620 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3622 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3624 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3626 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3628 sizeof(efs), in l2cap_parse_conf_req()
3629 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3673 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3724 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3726 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3728 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3729 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3731 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3732 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3762 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3764 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3765 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3767 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()