Lines Matching refs:efs

3005 	struct l2cap_conf_efs efs;  in l2cap_add_opt_efs()  local
3009 efs.id = chan->local_id; in l2cap_add_opt_efs()
3010 efs.stype = chan->local_stype; in l2cap_add_opt_efs()
3011 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3012 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3013 efs.acc_lat = cpu_to_le32(L2CAP_DEFAULT_ACC_LAT); in l2cap_add_opt_efs()
3014 efs.flush_to = cpu_to_le32(L2CAP_EFS_DEFAULT_FLUSH_TO); in l2cap_add_opt_efs()
3018 efs.id = 1; in l2cap_add_opt_efs()
3019 efs.stype = L2CAP_SERV_BESTEFFORT; in l2cap_add_opt_efs()
3020 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3021 efs.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in l2cap_add_opt_efs()
3022 efs.acc_lat = 0; in l2cap_add_opt_efs()
3023 efs.flush_to = 0; in l2cap_add_opt_efs()
3030 l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_add_opt_efs()
3031 (unsigned long) &efs); in l2cap_add_opt_efs()
3307 struct l2cap_conf_efs efs; in l2cap_parse_conf_req() local
3345 if (olen == sizeof(efs)) in l2cap_parse_conf_req()
3346 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3420 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_req()
3421 efs.stype != chan->local_stype) { in l2cap_parse_conf_req()
3429 sizeof(efs), in l2cap_parse_conf_req()
3430 (unsigned long) &efs); in l2cap_parse_conf_req()
3466 chan->remote_id = efs.id; in l2cap_parse_conf_req()
3467 chan->remote_stype = efs.stype; in l2cap_parse_conf_req()
3468 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3470 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_req()
3472 le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_req()
3474 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_req()
3476 sizeof(efs), in l2cap_parse_conf_req()
3477 (unsigned long) &efs); in l2cap_parse_conf_req()
3520 struct l2cap_conf_efs efs; in l2cap_parse_conf_rsp() local
3564 if (olen == sizeof(efs)) in l2cap_parse_conf_rsp()
3565 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3568 efs.stype != L2CAP_SERV_NOTRAFIC && in l2cap_parse_conf_rsp()
3569 efs.stype != chan->local_stype) in l2cap_parse_conf_rsp()
3572 l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), in l2cap_parse_conf_rsp()
3573 (unsigned long) &efs); in l2cap_parse_conf_rsp()
3601 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
3603 le32_to_cpu(efs.sdu_itime); in l2cap_parse_conf_rsp()
3604 chan->local_acc_lat = le32_to_cpu(efs.acc_lat); in l2cap_parse_conf_rsp()
3606 le32_to_cpu(efs.flush_to); in l2cap_parse_conf_rsp()