Lines Matching refs:efs

3057 	struct l2cap_conf_efs efs;  in l2cap_add_opt_efs()  local
3061 efs.id = chan->local_id; in l2cap_add_opt_efs()
3062 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3063 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3064 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3065 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3066 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3070 efs.id = 1; in l2cap_add_opt_efs()
3071 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3072 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3073 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3074 efs.acc_lat = 0; in l2cap_add_opt_efs()
3075 efs.flush_to = 0; in l2cap_add_opt_efs()
3082 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3083 (unsigned long) &efs, size); in l2cap_add_opt_efs()
3361 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3407 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
3410 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3484 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3485 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3493 sizeof(efs), in l2cap_parse_conf_req()
3494 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3530 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3531 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3532 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3534 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3536 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3538 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3540 sizeof(efs), in l2cap_parse_conf_req()
3541 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_req()
3585 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3636 if (olen != sizeof(efs)) in l2cap_parse_conf_rsp()
3638 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3640 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3641 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3643 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3644 (unsigned long) &efs, endptr - ptr); in l2cap_parse_conf_rsp()
3674 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3676 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3677 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3679 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()