Lines Matching refs:efs

3001 	struct l2cap_conf_efs efs;  in l2cap_add_opt_efs()  local
3005 efs.id = chan->local_id; in l2cap_add_opt_efs()
3006 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3007 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3008 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3009 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3010 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3014 efs.id = 1; in l2cap_add_opt_efs()
3015 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3016 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3017 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3018 efs.acc_lat = 0; in l2cap_add_opt_efs()
3019 efs.flush_to = 0; in l2cap_add_opt_efs()
3026 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3027 (unsigned long) &efs); in l2cap_add_opt_efs()
3303 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3341 if (olen == sizeof(efs)) in l2cap_parse_conf_req()
3342 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3416 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3417 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3425 sizeof(efs), in l2cap_parse_conf_req()
3426 (unsigned long) &efs); in l2cap_parse_conf_req()
3462 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3463 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3464 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3466 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3468 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3470 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3472 sizeof(efs), in l2cap_parse_conf_req()
3473 (unsigned long) &efs); in l2cap_parse_conf_req()
3516 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3560 if (olen == sizeof(efs)) in l2cap_parse_conf_rsp()
3561 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3564 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3565 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3568 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3569 (unsigned long) &efs); in l2cap_parse_conf_rsp()
3597 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3599 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3600 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3602 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()