Lines Matching refs:efs
3220 struct l2cap_conf_efs efs; in l2cap_add_opt_efs() local
3224 efs.id = chan->local_id; in l2cap_add_opt_efs()
3225 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3226 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3227 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3228 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3229 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3233 efs.id = 1; in l2cap_add_opt_efs()
3234 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3235 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3236 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3237 efs.acc_lat = 0; in l2cap_add_opt_efs()
3238 efs.flush_to = 0; in l2cap_add_opt_efs()
3245 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3246 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3571 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3617 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3620 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3694 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3695 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3703 sizeof(efs), in l2cap_parse_conf_req()
3704 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3740 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3741 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3742 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3744 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3746 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3748 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3750 sizeof(efs), in l2cap_parse_conf_req()
3751 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3795 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3846 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3848 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3850 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3851 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3853 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3854 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3884 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3886 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3887 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3889 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()