Lines Matching refs:efs
3075 struct l2cap_conf_efs efs; in l2cap_add_opt_efs() local
3079 efs.id = chan->local_id; in l2cap_add_opt_efs()
3080 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3081 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3082 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3083 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3084 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3088 efs.id = 1; in l2cap_add_opt_efs()
3089 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3090 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3091 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3092 efs.acc_lat = 0; in l2cap_add_opt_efs()
3093 efs.flush_to = 0; in l2cap_add_opt_efs()
3100 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3101 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3384 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3430 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3433 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3501 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3502 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3510 sizeof(efs), in l2cap_parse_conf_req()
3511 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3548 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3549 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3550 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3552 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3554 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3556 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3558 sizeof(efs), in l2cap_parse_conf_req()
3559 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3603 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3654 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3656 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3658 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3659 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3661 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3662 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3692 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3694 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3695 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3697 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()