Lines Matching refs:efs
3107 struct l2cap_conf_efs efs; in l2cap_add_opt_efs() local
3111 efs.id = chan->local_id; in l2cap_add_opt_efs()
3112 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3113 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3114 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3115 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3116 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3120 efs.id = 1; in l2cap_add_opt_efs()
3121 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3122 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3123 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3124 efs.acc_lat = 0; in l2cap_add_opt_efs()
3125 efs.flush_to = 0; in l2cap_add_opt_efs()
3132 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3133 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3416 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3462 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3465 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3556 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3557 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3565 sizeof(efs), in l2cap_parse_conf_req()
3566 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3603 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3604 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3605 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3607 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3609 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3611 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3613 sizeof(efs), in l2cap_parse_conf_req()
3614 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3658 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3709 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3711 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3713 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3714 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3716 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3717 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3747 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3749 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3750 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3752 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()