Lines Matching refs:rp

474 	struct btp_mesh_read_supported_commands_rp *rp = rsp;  in supported_commands()  local
477 tester_set_bit(rp->data, BTP_MESH_READ_SUPPORTED_COMMANDS); in supported_commands()
478 tester_set_bit(rp->data, BTP_MESH_CONFIG_PROVISIONING); in supported_commands()
479 tester_set_bit(rp->data, BTP_MESH_PROVISION_NODE); in supported_commands()
480 tester_set_bit(rp->data, BTP_MESH_INIT); in supported_commands()
481 tester_set_bit(rp->data, BTP_MESH_RESET); in supported_commands()
482 tester_set_bit(rp->data, BTP_MESH_INPUT_NUMBER); in supported_commands()
483 tester_set_bit(rp->data, BTP_MESH_INPUT_STRING); in supported_commands()
486 tester_set_bit(rp->data, BTP_MESH_IVU_TEST_MODE); in supported_commands()
487 tester_set_bit(rp->data, BTP_MESH_IVU_TOGGLE_STATE); in supported_commands()
488 tester_set_bit(rp->data, BTP_MESH_NET_SEND); in supported_commands()
489 tester_set_bit(rp->data, BTP_MESH_HEALTH_GENERATE_FAULTS); in supported_commands()
490 tester_set_bit(rp->data, BTP_MESH_HEALTH_CLEAR_FAULTS); in supported_commands()
491 tester_set_bit(rp->data, BTP_MESH_LPN); in supported_commands()
492 tester_set_bit(rp->data, BTP_MESH_LPN_POLL); in supported_commands()
493 tester_set_bit(rp->data, BTP_MESH_MODEL_SEND); in supported_commands()
497 tester_set_bit(rp->data, BTP_MESH_LPN_SUBSCRIBE); in supported_commands()
498 tester_set_bit(rp->data, BTP_MESH_LPN_UNSUBSCRIBE); in supported_commands()
499 tester_set_bit(rp->data, BTP_MESH_RPL_CLEAR); in supported_commands()
501 tester_set_bit(rp->data, BTP_MESH_PROXY_IDENTITY); in supported_commands()
502 tester_set_bit(rp->data, BTP_MESH_COMP_DATA_GET); in supported_commands()
503 tester_set_bit(rp->data, BTP_MESH_CFG_BEACON_GET); in supported_commands()
504 tester_set_bit(rp->data, BTP_MESH_CFG_BEACON_SET); in supported_commands()
507 tester_set_bit(rp->data, BTP_MESH_CFG_DEFAULT_TTL_GET); in supported_commands()
508 tester_set_bit(rp->data, BTP_MESH_CFG_DEFAULT_TTL_SET); in supported_commands()
509 tester_set_bit(rp->data, BTP_MESH_CFG_GATT_PROXY_GET); in supported_commands()
510 tester_set_bit(rp->data, BTP_MESH_CFG_GATT_PROXY_SET); in supported_commands()
511 tester_set_bit(rp->data, BTP_MESH_CFG_FRIEND_GET); in supported_commands()
512 tester_set_bit(rp->data, BTP_MESH_CFG_FRIEND_SET); in supported_commands()
513 tester_set_bit(rp->data, BTP_MESH_CFG_RELAY_GET); in supported_commands()
514 tester_set_bit(rp->data, BTP_MESH_CFG_RELAY_SET); in supported_commands()
517 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_PUB_GET); in supported_commands()
518 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_PUB_SET); in supported_commands()
519 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_ADD); in supported_commands()
520 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_DEL); in supported_commands()
521 tester_set_bit(rp->data, BTP_MESH_CFG_NETKEY_ADD); in supported_commands()
522 tester_set_bit(rp->data, BTP_MESH_CFG_NETKEY_GET); in supported_commands()
523 tester_set_bit(rp->data, BTP_MESH_CFG_NETKEY_DEL); in supported_commands()
524 tester_set_bit(rp->data, BTP_MESH_CFG_APPKEY_ADD); in supported_commands()
527 tester_set_bit(rp->data, BTP_MESH_CFG_APPKEY_DEL); in supported_commands()
528 tester_set_bit(rp->data, BTP_MESH_CFG_APPKEY_GET); in supported_commands()
529 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_APP_BIND); in supported_commands()
530 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_APP_UNBIND); in supported_commands()
531 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_APP_GET); in supported_commands()
532 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_APP_VND_GET); in supported_commands()
533 tester_set_bit(rp->data, BTP_MESH_CFG_HEARTBEAT_PUB_SET); in supported_commands()
534 tester_set_bit(rp->data, BTP_MESH_CFG_HEARTBEAT_PUB_GET); in supported_commands()
537 tester_set_bit(rp->data, BTP_MESH_CFG_HEARTBEAT_SUB_SET); in supported_commands()
538 tester_set_bit(rp->data, BTP_MESH_CFG_HEARTBEAT_SUB_GET); in supported_commands()
539 tester_set_bit(rp->data, BTP_MESH_CFG_NET_TRANS_GET); in supported_commands()
540 tester_set_bit(rp->data, BTP_MESH_CFG_NET_TRANS_SET); in supported_commands()
541 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_OVW); in supported_commands()
542 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_DEL_ALL); in supported_commands()
543 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_GET); in supported_commands()
544 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_GET_VND); in supported_commands()
547 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_VA_ADD); in supported_commands()
548 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_VA_DEL); in supported_commands()
549 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_SUB_VA_OVW); in supported_commands()
550 tester_set_bit(rp->data, BTP_MESH_CFG_NETKEY_UPDATE); in supported_commands()
551 tester_set_bit(rp->data, BTP_MESH_CFG_APPKEY_UPDATE); in supported_commands()
552 tester_set_bit(rp->data, BTP_MESH_CFG_NODE_IDT_SET); in supported_commands()
553 tester_set_bit(rp->data, BTP_MESH_CFG_NODE_IDT_GET); in supported_commands()
554 tester_set_bit(rp->data, BTP_MESH_CFG_NODE_RESET); in supported_commands()
557 tester_set_bit(rp->data, BTP_MESH_CFG_LPN_TIMEOUT_GET); in supported_commands()
558 tester_set_bit(rp->data, BTP_MESH_CFG_MODEL_APP_BIND_VND); in supported_commands()
559 tester_set_bit(rp->data, BTP_MESH_HEALTH_FAULT_GET); in supported_commands()
560 tester_set_bit(rp->data, BTP_MESH_HEALTH_FAULT_CLEAR); in supported_commands()
561 tester_set_bit(rp->data, BTP_MESH_HEALTH_PERIOD_GET); in supported_commands()
562 tester_set_bit(rp->data, BTP_MESH_HEALTH_PERIOD_SET); in supported_commands()
565 tester_set_bit(rp->data, BTP_MESH_HEALTH_ATTENTION_GET); in supported_commands()
566 tester_set_bit(rp->data, BTP_MESH_HEALTH_ATTENTION_SET); in supported_commands()
567 tester_set_bit(rp->data, BTP_MESH_PROVISION_ADV); in supported_commands()
568 tester_set_bit(rp->data, BTP_MESH_CFG_KRP_GET); in supported_commands()
569 tester_set_bit(rp->data, BTP_MESH_CFG_KRP_SET); in supported_commands()
570 tester_set_bit(rp->data, BTP_MESH_VA_ADD); in supported_commands()
571 tester_set_bit(rp->data, BTP_MESH_VA_DEL); in supported_commands()
573 *rsp_len = sizeof(*rp) + 10; in supported_commands()
1722 struct btp_mesh_va_add_rp *rp = rsp; in va_add() local
1732 rp->addr = sys_cpu_to_le16(va->addr); in va_add()
1733 *rsp_len = sizeof(*rp); in va_add()
1763 struct btp_mesh_health_generate_faults_rp *rp = rsp; in health_generate_faults() local
1770 memcpy(rp->faults, cur_faults, cur_faults_count); in health_generate_faults()
1771 rp->cur_faults_count = cur_faults_count; in health_generate_faults()
1775 memcpy(rp->faults + cur_faults_count, reg_faults, reg_faults_count); in health_generate_faults()
1776 rp->reg_faults_count = reg_faults_count; in health_generate_faults()
1780 *rsp_len = sizeof(*rp) + cur_faults_count + reg_faults_count; in health_generate_faults()
2047 struct btp_mesh_large_comp_data_get_rp *rp = rsp; in large_comp_data_get() local
2066 memcpy(rp->data, comp.data->data, comp.data->len); in large_comp_data_get()
2076 struct btp_mesh_models_metadata_get_rp *rp = rsp; in models_metadata_get() local
2095 memcpy(rp->data, metadata.data->data, metadata.data->len); in models_metadata_get()
2143 struct bt_mesh_brg_cfg_table_status rp; in bridging_table_add() local
2154 err = bt_mesh_brg_cfg_cli_table_add(net_key_idx, sys_le16_to_cpu(cp->addr), &entry, &rp); in bridging_table_add()
2167 struct bt_mesh_brg_cfg_table_status rp; in bridging_table_remove() local
2175 sys_le16_to_cpu(cp->addr2), &rp); in bridging_table_remove()
2189 struct bt_mesh_brg_cfg_subnets_list rp; in bridged_subnets_get() local
2197 rp.list = NULL; in bridged_subnets_get()
2203 filter_net_idx, cp->start_idx, &rp); in bridged_subnets_get()
2215 struct bt_mesh_brg_cfg_table_list rp; in bridging_table_get() local
2223 rp.list = NULL; in bridging_table_get()
2227 sys_le16_to_cpu(cp->net_idx2), sys_le16_to_cpu(cp->start_idx), &rp); in bridging_table_get()
2259 struct btp_mesh_comp_data_get_rp *rp = rsp; in composition_data_get() local
2278 rp->data[0] = page; in composition_data_get()
2279 memcpy(rp->data + 1, comp->data, comp->len); in composition_data_get()
2311 struct btp_mesh_cfg_krp_get_rp *rp = rsp; in config_krp_get() local
2328 rp->status = status; in config_krp_get()
2329 rp->phase = phase; in config_krp_get()
2331 *rsp_len = sizeof(*rp); in config_krp_get()
2340 struct btp_mesh_cfg_krp_set_rp *rp = rsp; in config_krp_set() local
2356 rp->status = status; in config_krp_set()
2357 rp->phase = phase; in config_krp_set()
2359 *rsp_len = sizeof(*rp); in config_krp_set()
2368 struct btp_mesh_cfg_beacon_get_rp *rp = rsp; in config_beacon_get() local
2381 rp->status = status; in config_beacon_get()
2382 *rsp_len = sizeof(*rp); in config_beacon_get()
2391 struct btp_mesh_cfg_beacon_set_rp *rp = rsp; in config_beacon_set() local
2405 rp->status = status; in config_beacon_set()
2406 *rsp_len = sizeof(*rp); in config_beacon_set()
2415 struct btp_mesh_cfg_default_ttl_get_rp *rp = rsp; in config_default_ttl_get() local
2429 rp->status = status; in config_default_ttl_get()
2430 *rsp_len = sizeof(*rp); in config_default_ttl_get()
2439 struct btp_mesh_cfg_default_ttl_set_rp *rp = rsp; in config_default_ttl_set() local
2454 rp->status = status; in config_default_ttl_set()
2455 *rsp_len = sizeof(*rp); in config_default_ttl_set()
2464 struct btp_mesh_cfg_gatt_proxy_get_rp *rp = rsp; in config_gatt_proxy_get() local
2478 rp->status = status; in config_gatt_proxy_get()
2479 *rsp_len = sizeof(*rp); in config_gatt_proxy_get()
2488 struct btp_mesh_cfg_gatt_proxy_set_rp *rp = rsp; in config_gatt_proxy_set() local
2502 rp->status = status; in config_gatt_proxy_set()
2503 *rsp_len = sizeof(*rp); in config_gatt_proxy_set()
2512 struct btp_mesh_cfg_friend_get_rp *rp = rsp; in config_friend_get() local
2527 rp->status = status; in config_friend_get()
2528 *rsp_len = sizeof(*rp); in config_friend_get()
2537 struct btp_mesh_cfg_friend_set_rp *rp = rsp; in config_friend_set() local
2552 rp->status = status; in config_friend_set()
2553 *rsp_len = sizeof(*rp); in config_friend_set()
2562 struct btp_mesh_cfg_relay_get_rp *rp = rsp; in config_relay_get() local
2578 rp->status = status; in config_relay_get()
2579 *rsp_len = sizeof(*rp); in config_relay_get()
2588 struct btp_mesh_cfg_relay_set_rp *rp = rsp; in config_relay_set() local
2605 rp->status = status; in config_relay_set()
2606 *rsp_len = sizeof(*rp); in config_relay_set()
2615 struct btp_mesh_cfg_model_pub_get_rp *rp = rsp; in config_mod_pub_get() local
2633 rp->status = status; in config_mod_pub_get()
2634 *rsp_len = sizeof(*rp); in config_mod_pub_get()
2643 struct btp_mesh_cfg_model_pub_set_rp *rp = rsp; in config_mod_pub_set() local
2669 rp->status = status; in config_mod_pub_set()
2670 *rsp_len = sizeof(*rp); in config_mod_pub_set()
2679 struct btp_mesh_cfg_model_pub_va_set_rp *rp = rsp; in config_mod_pub_va_set() local
2704 rp->status = status; in config_mod_pub_va_set()
2705 *rsp_len = sizeof(*rp); in config_mod_pub_va_set()
2714 struct btp_mesh_cfg_model_sub_add_rp *rp = rsp; in config_mod_sub_add() local
2732 rp->status = status; in config_mod_sub_add()
2733 *rsp_len = sizeof(*rp); in config_mod_sub_add()
2742 struct btp_mesh_cfg_model_sub_add_rp *rp = rsp; in config_mod_sub_ovw() local
2759 rp->status = status; in config_mod_sub_ovw()
2760 *rsp_len = sizeof(*rp); in config_mod_sub_ovw()
2769 struct btp_mesh_cfg_model_sub_del_rp *rp = rsp; in config_mod_sub_del() local
2786 rp->status = status; in config_mod_sub_del()
2787 *rsp_len = sizeof(*rp); in config_mod_sub_del()
2796 struct btp_mesh_cfg_model_sub_del_all_rp *rp = rsp; in config_mod_sub_del_all() local
2813 rp->status = status; in config_mod_sub_del_all()
2814 *rsp_len = sizeof(*rp); in config_mod_sub_del_all()
2823 struct btp_mesh_cfg_model_sub_get_rp *rp = rsp; in config_mod_sub_get() local
2841 rp->status = status; in config_mod_sub_get()
2842 *rsp_len = sizeof(*rp); in config_mod_sub_get()
2851 struct btp_mesh_cfg_model_sub_get_vnd_rp *rp = rsp; in config_mod_sub_get_vnd() local
2870 rp->status = status; in config_mod_sub_get_vnd()
2871 *rsp_len = sizeof(*rp); in config_mod_sub_get_vnd()
2880 struct btp_mesh_cfg_model_sub_va_add_rp *rp = rsp; in config_mod_sub_va_add() local
2899 rp->status = status; in config_mod_sub_va_add()
2900 *rsp_len = sizeof(*rp); in config_mod_sub_va_add()
2909 struct btp_mesh_cfg_model_sub_va_del_rp *rp = rsp; in config_mod_sub_va_del() local
2928 rp->status = status; in config_mod_sub_va_del()
2929 *rsp_len = sizeof(*rp); in config_mod_sub_va_del()
2938 struct btp_mesh_cfg_model_sub_va_ovw_rp *rp = rsp; in config_mod_sub_va_ovw() local
2957 rp->status = status; in config_mod_sub_va_ovw()
2958 *rsp_len = sizeof(*rp); in config_mod_sub_va_ovw()
2967 struct btp_mesh_cfg_netkey_add_rp *rp = rsp; in config_netkey_add() local
2983 rp->status = status; in config_netkey_add()
2984 *rsp_len = sizeof(*rp); in config_netkey_add()
2993 struct btp_mesh_cfg_netkey_update_rp *rp = rsp; in config_netkey_update() local
3010 rp->status = status; in config_netkey_update()
3011 *rsp_len = sizeof(*rp); in config_netkey_update()
3020 struct btp_mesh_cfg_netkey_get_rp *rp = rsp; in config_netkey_get() local
3036 rp->status = 0; in config_netkey_get()
3037 *rsp_len = sizeof(*rp); in config_netkey_get()
3046 struct btp_mesh_cfg_netkey_del_rp *rp = rsp; in config_netkey_del() local
3062 rp->status = status; in config_netkey_del()
3063 *rsp_len = sizeof(*rp); in config_netkey_del()
3072 struct btp_mesh_cfg_appkey_add_rp *rp = rsp; in config_appkey_add() local
3090 rp->status = status; in config_appkey_add()
3091 *rsp_len = sizeof(*rp); in config_appkey_add()
3100 struct btp_mesh_cfg_appkey_update_rp *rp = rsp; in config_appkey_update() local
3118 rp->status = status; in config_appkey_update()
3119 *rsp_len = sizeof(*rp); in config_appkey_update()
3128 struct btp_mesh_cfg_appkey_del_rp *rp = rsp; in config_appkey_del() local
3145 rp->status = status; in config_appkey_del()
3146 *rsp_len = sizeof(*rp); in config_appkey_del()
3155 struct btp_mesh_cfg_appkey_get_rp *rp = rsp; in config_appkey_get() local
3173 rp->status = status; in config_appkey_get()
3174 *rsp_len = sizeof(*rp); in config_appkey_get()
3184 struct btp_mesh_cfg_model_app_bind_rp *rp = rsp; in config_model_app_bind() local
3204 rp->status = status; in config_model_app_bind()
3205 *rsp_len = sizeof(*rp); in config_model_app_bind()
3214 struct btp_mesh_cfg_model_app_bind_vnd_rp *rp = rsp; in config_model_app_bind_vnd() local
3233 rp->status = status; in config_model_app_bind_vnd()
3234 *rsp_len = sizeof(*rp); in config_model_app_bind_vnd()
3243 struct btp_mesh_cfg_model_app_unbind_rp *rp = rsp; in config_model_app_unbind() local
3260 rp->status = status; in config_model_app_unbind()
3261 *rsp_len = sizeof(*rp); in config_model_app_unbind()
3271 struct btp_mesh_cfg_model_app_get_rp *rp = rsp; in config_model_app_get() local
3290 rp->status = status; in config_model_app_get()
3291 *rsp_len = sizeof(*rp); in config_model_app_get()
3300 struct btp_mesh_cfg_model_app_vnd_get_rp *rp = rsp; in config_model_app_vnd_get() local
3319 rp->status = status; in config_model_app_vnd_get()
3320 *rsp_len = sizeof(*rp); in config_model_app_vnd_get()
3329 struct btp_mesh_cfg_heartbeat_pub_set_rp *rp = rsp; in config_hb_pub_set() local
3352 rp->status = status; in config_hb_pub_set()
3353 *rsp_len = sizeof(*rp); in config_hb_pub_set()
3362 struct btp_mesh_cfg_heartbeat_pub_get_rp *rp = rsp; in config_hb_pub_get() local
3378 rp->status = status; in config_hb_pub_get()
3379 *rsp_len = sizeof(*rp); in config_hb_pub_get()
3388 struct btp_mesh_cfg_heartbeat_sub_set_rp *rp = rsp; in config_hb_sub_set() local
3408 rp->status = status; in config_hb_sub_set()
3409 *rsp_len = sizeof(*rp); in config_hb_sub_set()
3418 struct btp_mesh_cfg_heartbeat_sub_get_rp *rp = rsp; in config_hb_sub_get() local
3434 rp->status = status; in config_hb_sub_get()
3435 *rsp_len = sizeof(*rp); in config_hb_sub_get()
3444 struct btp_mesh_cfg_net_trans_get_rp *rp = rsp; in config_net_trans_get() local
3459 rp->transmit = transmit; in config_net_trans_get()
3460 *rsp_len = sizeof(*rp); in config_net_trans_get()
3469 struct btp_mesh_cfg_net_trans_set_rp *rp = rsp; in config_net_trans_set() local
3484 rp->transmit = transmit; in config_net_trans_set()
3485 *rsp_len = sizeof(*rp); in config_net_trans_set()
3494 struct btp_mesh_cfg_node_idt_set_rp *rp = rsp; in config_node_identity_set() local
3512 rp->status = status; in config_node_identity_set()
3513 rp->identity = identity; in config_node_identity_set()
3515 *rsp_len = sizeof(*rp); in config_node_identity_set()
3523 struct btp_mesh_cfg_node_idt_get_rp *rp = rsp; in config_node_identity_get() local
3540 rp->status = status; in config_node_identity_get()
3541 rp->identity = identity; in config_node_identity_get()
3543 *rsp_len = sizeof(*rp); in config_node_identity_get()
3551 struct btp_mesh_cfg_node_reset_rp *rp = rsp; in config_node_reset() local
3566 rp->status = status; in config_node_reset()
3568 *rsp_len = sizeof(*rp); in config_node_reset()
3576 struct btp_mesh_cfg_lpn_timeout_rp *rp = rsp; in config_lpn_timeout_get() local
3592 rp->timeout = sys_cpu_to_le32(polltimeout); in config_lpn_timeout_get()
3594 *rsp_len = sizeof(*rp); in config_lpn_timeout_get()
3671 struct btp_mesh_health_fault_clear_rp *rp = rsp; in health_fault_clear() local
3673 rp->test_id = test_id; in health_fault_clear()
3674 *rsp_len = sizeof(*rp); in health_fault_clear()
3730 struct btp_mesh_health_fault_test_rp *rp = rsp; in health_fault_test() local
3732 rp->test_id = cp->test_id; in health_fault_test()
3733 rp->cid = cp->cid; in health_fault_test()
3734 (void)memcpy(rp->faults, faults, fault_count); in health_fault_test()
3736 *rsp_len = sizeof(*rp) + fault_count; in health_fault_test()
3797 struct btp_mesh_health_period_set_rp *rp = rsp; in health_period_set() local
3799 rp->divisor = updated_divisor; in health_period_set()
3801 *rsp_len = sizeof(*rp); in health_period_set()
3862 struct btp_mesh_health_attention_set_rp *rp = rsp; in health_attention_set() local
3864 rp->attention = updated_attention; in health_attention_set()
3866 *rsp_len = sizeof(*rp); in health_attention_set()
4277 struct btp_mmdl_dfu_metadata_check_rp *rp = rsp; in dfu_update_metadata_check() local
4330 rp->idx = rsp_data.idx; in dfu_update_metadata_check()
4331 rp->status = rsp_data.status; in dfu_update_metadata_check()
4332 rp->effect = rsp_data.effect; in dfu_update_metadata_check()
4348 struct btp_mmdl_dfu_firmware_update_rp *rp = rsp; in dfu_firmware_update_get() local
4368 rp->status = rsp_data.status; in dfu_firmware_update_get()