Lines Matching refs:param

1807 bool bt_le_conn_params_valid(const struct bt_le_conn_param *param)  in bt_le_conn_params_valid()  argument
1815 if (param->interval_min > param->interval_max || in bt_le_conn_params_valid()
1816 param->interval_min < 6 || param->interval_max > 3200) { in bt_le_conn_params_valid()
1820 if (param->latency > 499) { in bt_le_conn_params_valid()
1824 if (param->timeout < 10 || param->timeout > 3200 || in bt_le_conn_params_valid()
1825 ((param->timeout * 4U) <= in bt_le_conn_params_valid()
1826 ((1U + param->latency) * param->interval_max))) { in bt_le_conn_params_valid()
1853 const struct bt_le_conn_param *param) in le_conn_param_req_reply() argument
1867 cp->interval_min = sys_cpu_to_le16(param->interval_min); in le_conn_param_req_reply()
1868 cp->interval_max = sys_cpu_to_le16(param->interval_max); in le_conn_param_req_reply()
1869 cp->latency = sys_cpu_to_le16(param->latency); in le_conn_param_req_reply()
1870 cp->timeout = sys_cpu_to_le16(param->timeout); in le_conn_param_req_reply()
1878 struct bt_le_conn_param param; in le_conn_param_req() local
1883 param.interval_min = sys_le16_to_cpu(evt->interval_min); in le_conn_param_req()
1884 param.interval_max = sys_le16_to_cpu(evt->interval_max); in le_conn_param_req()
1885 param.latency = sys_le16_to_cpu(evt->latency); in le_conn_param_req()
1886 param.timeout = sys_le16_to_cpu(evt->timeout); in le_conn_param_req()
1895 if (!le_param_req(conn, &param)) { in le_conn_param_req()
1898 le_conn_param_req_reply(handle, &param); in le_conn_param_req()
1926 struct bt_le_conn_param param; in le_conn_update_complete() local
1928 param.interval_min = conn->le.interval_min; in le_conn_update_complete()
1929 param.interval_max = conn->le.interval_max; in le_conn_update_complete()
1930 param.latency = conn->le.pending_latency; in le_conn_update_complete()
1931 param.timeout = conn->le.pending_timeout; in le_conn_update_complete()
1933 bt_l2cap_update_conn_param(conn, &param); in le_conn_update_complete()