Lines Matching refs:efs

3224 	struct l2cap_conf_efs efs;  in l2cap_add_opt_efs()  local
3228 efs.id = chan->local_id; in l2cap_add_opt_efs()
3229 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3230 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3231 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3232 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3233 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3237 efs.id = 1; in l2cap_add_opt_efs()
3238 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3239 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3240 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3241 efs.acc_lat = 0; in l2cap_add_opt_efs()
3242 efs.flush_to = 0; in l2cap_add_opt_efs()
3249 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3250 (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()
3741 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3742 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3743 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3745 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3747 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3749 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3751 sizeof(efs), in l2cap_parse_conf_req()
3752 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3796 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3847 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3849 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3851 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3852 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3854 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3855 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3885 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3887 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3888 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3890 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()