Lines Matching refs:efs
3252 struct l2cap_conf_efs efs; in l2cap_add_opt_efs() local
3256 efs.id = chan->local_id; in l2cap_add_opt_efs()
3257 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3258 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3259 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3260 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3261 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3265 efs.id = 1; in l2cap_add_opt_efs()
3266 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3267 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3268 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3269 efs.acc_lat = 0; in l2cap_add_opt_efs()
3270 efs.flush_to = 0; in l2cap_add_opt_efs()
3277 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3278 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3599 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3645 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3648 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3722 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3723 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3731 sizeof(efs), in l2cap_parse_conf_req()
3732 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3769 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3770 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3771 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3773 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3775 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3777 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3779 sizeof(efs), in l2cap_parse_conf_req()
3780 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3824 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3875 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3877 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3879 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3880 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3882 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3883 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3913 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3915 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3916 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3918 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()