diff --git a/CMakeLists.txt b/CMakeLists.txt index a1b6b55..3644741 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,10 @@ if(CONFIG_ESP_HOSTED_ENABLED) "${common_dir}/protobuf-c" "${common_dir}/proto" ) - + if(CONFIG_ESP_HOSTED_ENABLE_GPIO_CONTROL) + list(APPEND srcs "${host_dir}/port/esp/freertos/src/port_esp_hosted_host_gpio.c") + endif() + # cli list(APPEND srcs "${common_dir}/utils/esp_hosted_cli.c") list(APPEND priv_include "${common_dir}/utils") diff --git a/Kconfig b/Kconfig index c4efc96..949c41c 100644 --- a/Kconfig +++ b/Kconfig @@ -1508,6 +1508,14 @@ ESP32XX_SPI_HD_CLK_FREQ_RANGE_MAX := 40 Enable Wi-Fi iTWT (individual Target Wake Time) APIs on Host. Using the API, Host can instruct the co-processor to negotiate specific wake and sleep schedules with the access point (AP) for lower power consumption. + + config ESP_HOSTED_ENABLE_GPIO_CONTROL + bool "Enable GPIO control on co-processor" + default n + help + Enable RPC methods that allow the HOST MCU to configure and control GPIOs + on the co-processor. Leave disabled unless you really need it. + GPIO requests that target pins used by the active transport will be rejected. config ESP_HOSTED_ENABLE_DPP bool "Enable Wi-Fi Easy Connect (DPP)" diff --git a/common/proto/esp_hosted_rpc.pb-c.c b/common/proto/esp_hosted_rpc.pb-c.c index f203b62..2e34812 100644 --- a/common/proto/esp_hosted_rpc.pb-c.c +++ b/common/proto/esp_hosted_rpc.pb-c.c @@ -11932,6 +11932,681 @@ void rpc__event__wifi_dpp_fail__free_unpacked assert(message->base.descriptor == &rpc__event__wifi_dpp_fail__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +void rpc__gpio_config__init + (RpcGpioConfig *message) +{ + static const RpcGpioConfig init_value = RPC__GPIO_CONFIG__INIT; + *message = init_value; +} +size_t rpc__gpio_config__get_packed_size + (const RpcGpioConfig *message) +{ + assert(message->base.descriptor == &rpc__gpio_config__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__gpio_config__pack + (const RpcGpioConfig *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__gpio_config__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__gpio_config__pack_to_buffer + (const RpcGpioConfig *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__gpio_config__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcGpioConfig * + rpc__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcGpioConfig *) + protobuf_c_message_unpack (&rpc__gpio_config__descriptor, + allocator, len, data); +} +void rpc__gpio_config__free_unpacked + (RpcGpioConfig *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__gpio_config__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_config__init + (RpcReqGpioConfig *message) +{ + static const RpcReqGpioConfig init_value = RPC__REQ__GPIO_CONFIG__INIT; + *message = init_value; +} +size_t rpc__req__gpio_config__get_packed_size + (const RpcReqGpioConfig *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_config__pack + (const RpcReqGpioConfig *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_config__pack_to_buffer + (const RpcReqGpioConfig *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioConfig * + rpc__req__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioConfig *) + protobuf_c_message_unpack (&rpc__req__gpio_config__descriptor, + allocator, len, data); +} +void rpc__req__gpio_config__free_unpacked + (RpcReqGpioConfig *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_config__init + (RpcRespGpioConfig *message) +{ + static const RpcRespGpioConfig init_value = RPC__RESP__GPIO_CONFIG__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_config__get_packed_size + (const RpcRespGpioConfig *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_config__pack + (const RpcRespGpioConfig *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_config__pack_to_buffer + (const RpcRespGpioConfig *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioConfig * + rpc__resp__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioConfig *) + protobuf_c_message_unpack (&rpc__resp__gpio_config__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_config__free_unpacked + (RpcRespGpioConfig *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_reset__init + (RpcReqGpioReset *message) +{ + static const RpcReqGpioReset init_value = RPC__REQ__GPIO_RESET__INIT; + *message = init_value; +} +size_t rpc__req__gpio_reset__get_packed_size + (const RpcReqGpioReset *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_reset__pack + (const RpcReqGpioReset *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_reset__pack_to_buffer + (const RpcReqGpioReset *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioReset * + rpc__req__gpio_reset__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioReset *) + protobuf_c_message_unpack (&rpc__req__gpio_reset__descriptor, + allocator, len, data); +} +void rpc__req__gpio_reset__free_unpacked + (RpcReqGpioReset *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_reset_pin__init + (RpcRespGpioResetPin *message) +{ + static const RpcRespGpioResetPin init_value = RPC__RESP__GPIO_RESET_PIN__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_reset_pin__get_packed_size + (const RpcRespGpioResetPin *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_reset_pin__pack + (const RpcRespGpioResetPin *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_reset_pin__pack_to_buffer + (const RpcRespGpioResetPin *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioResetPin * + rpc__resp__gpio_reset_pin__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioResetPin *) + protobuf_c_message_unpack (&rpc__resp__gpio_reset_pin__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_reset_pin__free_unpacked + (RpcRespGpioResetPin *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_set_level__init + (RpcReqGpioSetLevel *message) +{ + static const RpcReqGpioSetLevel init_value = RPC__REQ__GPIO_SET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__req__gpio_set_level__get_packed_size + (const RpcReqGpioSetLevel *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_set_level__pack + (const RpcReqGpioSetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_set_level__pack_to_buffer + (const RpcReqGpioSetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioSetLevel * + rpc__req__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioSetLevel *) + protobuf_c_message_unpack (&rpc__req__gpio_set_level__descriptor, + allocator, len, data); +} +void rpc__req__gpio_set_level__free_unpacked + (RpcReqGpioSetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_set_level__init + (RpcRespGpioSetLevel *message) +{ + static const RpcRespGpioSetLevel init_value = RPC__RESP__GPIO_SET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_level__get_packed_size + (const RpcRespGpioSetLevel *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_level__pack + (const RpcRespGpioSetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_level__pack_to_buffer + (const RpcRespGpioSetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetLevel * + rpc__resp__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetLevel *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_level__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_level__free_unpacked + (RpcRespGpioSetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_get_level__init + (RpcReqGpioGetLevel *message) +{ + static const RpcReqGpioGetLevel init_value = RPC__REQ__GPIO_GET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__req__gpio_get_level__get_packed_size + (const RpcReqGpioGetLevel *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_get_level__pack + (const RpcReqGpioGetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_get_level__pack_to_buffer + (const RpcReqGpioGetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioGetLevel * + rpc__req__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioGetLevel *) + protobuf_c_message_unpack (&rpc__req__gpio_get_level__descriptor, + allocator, len, data); +} +void rpc__req__gpio_get_level__free_unpacked + (RpcReqGpioGetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_get_level__init + (RpcRespGpioGetLevel *message) +{ + static const RpcRespGpioGetLevel init_value = RPC__RESP__GPIO_GET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_get_level__get_packed_size + (const RpcRespGpioGetLevel *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_get_level__pack + (const RpcRespGpioGetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_get_level__pack_to_buffer + (const RpcRespGpioGetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioGetLevel * + rpc__resp__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioGetLevel *) + protobuf_c_message_unpack (&rpc__resp__gpio_get_level__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_get_level__free_unpacked + (RpcRespGpioGetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_set_direction__init + (RpcReqGpioSetDirection *message) +{ + static const RpcReqGpioSetDirection init_value = RPC__REQ__GPIO_SET_DIRECTION__INIT; + *message = init_value; +} +size_t rpc__req__gpio_set_direction__get_packed_size + (const RpcReqGpioSetDirection *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_set_direction__pack + (const RpcReqGpioSetDirection *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_set_direction__pack_to_buffer + (const RpcReqGpioSetDirection *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioSetDirection * + rpc__req__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioSetDirection *) + protobuf_c_message_unpack (&rpc__req__gpio_set_direction__descriptor, + allocator, len, data); +} +void rpc__req__gpio_set_direction__free_unpacked + (RpcReqGpioSetDirection *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_set_direction__init + (RpcRespGpioSetDirection *message) +{ + static const RpcRespGpioSetDirection init_value = RPC__RESP__GPIO_SET_DIRECTION__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_direction__get_packed_size + (const RpcRespGpioSetDirection *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_direction__pack + (const RpcRespGpioSetDirection *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_direction__pack_to_buffer + (const RpcRespGpioSetDirection *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetDirection * + rpc__resp__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetDirection *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_direction__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_direction__free_unpacked + (RpcRespGpioSetDirection *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_input_enable__init + (RpcReqGpioInputEnable *message) +{ + static const RpcReqGpioInputEnable init_value = RPC__REQ__GPIO_INPUT_ENABLE__INIT; + *message = init_value; +} +size_t rpc__req__gpio_input_enable__get_packed_size + (const RpcReqGpioInputEnable *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_input_enable__pack + (const RpcReqGpioInputEnable *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_input_enable__pack_to_buffer + (const RpcReqGpioInputEnable *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioInputEnable * + rpc__req__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioInputEnable *) + protobuf_c_message_unpack (&rpc__req__gpio_input_enable__descriptor, + allocator, len, data); +} +void rpc__req__gpio_input_enable__free_unpacked + (RpcReqGpioInputEnable *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_input_enable__init + (RpcRespGpioInputEnable *message) +{ + static const RpcRespGpioInputEnable init_value = RPC__RESP__GPIO_INPUT_ENABLE__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_input_enable__get_packed_size + (const RpcRespGpioInputEnable *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_input_enable__pack + (const RpcRespGpioInputEnable *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_input_enable__pack_to_buffer + (const RpcRespGpioInputEnable *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioInputEnable * + rpc__resp__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioInputEnable *) + protobuf_c_message_unpack (&rpc__resp__gpio_input_enable__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_input_enable__free_unpacked + (RpcRespGpioInputEnable *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_set_pull_mode__init + (RpcReqGpioSetPullMode *message) +{ + static const RpcReqGpioSetPullMode init_value = RPC__REQ__GPIO_SET_PULL_MODE__INIT; + *message = init_value; +} +size_t rpc__req__gpio_set_pull_mode__get_packed_size + (const RpcReqGpioSetPullMode *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_set_pull_mode__pack + (const RpcReqGpioSetPullMode *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_set_pull_mode__pack_to_buffer + (const RpcReqGpioSetPullMode *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioSetPullMode * + rpc__req__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioSetPullMode *) + protobuf_c_message_unpack (&rpc__req__gpio_set_pull_mode__descriptor, + allocator, len, data); +} +void rpc__req__gpio_set_pull_mode__free_unpacked + (RpcReqGpioSetPullMode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_set_pull_mode__init + (RpcRespGpioSetPullMode *message) +{ + static const RpcRespGpioSetPullMode init_value = RPC__RESP__GPIO_SET_PULL_MODE__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_pull_mode__get_packed_size + (const RpcRespGpioSetPullMode *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_pull_mode__pack + (const RpcRespGpioSetPullMode *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_pull_mode__pack_to_buffer + (const RpcRespGpioSetPullMode *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetPullMode * + rpc__resp__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetPullMode *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_pull_mode__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_pull_mode__free_unpacked + (RpcRespGpioSetPullMode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} void rpc__init (Rpc *message) { @@ -12009,1121 +12684,1380 @@ static const ProtobufCFieldDescriptor wifi_init_config__field_descriptors[24] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, tx_buf_type), + offsetof(WifiInitConfig, tx_buf_type), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "static_tx_buf_num", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, static_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dynamic_tx_buf_num", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, dynamic_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cache_tx_buf_num", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, cache_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "csi_enable", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, csi_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ampdu_rx_enable", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, ampdu_rx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ampdu_tx_enable", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, ampdu_tx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amsdu_tx_enable", + 10, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, amsdu_tx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nvs_enable", + 11, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, nvs_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nano_enable", + 12, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, nano_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rx_ba_win", + 13, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, rx_ba_win), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "wifi_task_core_id", + 14, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, wifi_task_core_id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "beacon_max_len", + 15, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, beacon_max_len), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mgmt_sbuf_num", + 16, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, mgmt_sbuf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "feature_caps", + 17, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, feature_caps), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sta_disconnected_pm", + 18, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, sta_disconnected_pm), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "espnow_max_encrypt_num", + 19, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, espnow_max_encrypt_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "magic", + 20, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, magic), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rx_mgmt_buf_type", + 21, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, rx_mgmt_buf_type), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rx_mgmt_buf_num", + 22, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, rx_mgmt_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tx_hetb_queue_num", + 23, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, tx_hetb_queue_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dump_hesigb_enable", + 24, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, dump_hesigb_enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_init_config__field_indices_by_name[] = { + 7, /* field[7] = ampdu_rx_enable */ + 8, /* field[8] = ampdu_tx_enable */ + 9, /* field[9] = amsdu_tx_enable */ + 14, /* field[14] = beacon_max_len */ + 5, /* field[5] = cache_tx_buf_num */ + 6, /* field[6] = csi_enable */ + 23, /* field[23] = dump_hesigb_enable */ + 1, /* field[1] = dynamic_rx_buf_num */ + 4, /* field[4] = dynamic_tx_buf_num */ + 18, /* field[18] = espnow_max_encrypt_num */ + 16, /* field[16] = feature_caps */ + 19, /* field[19] = magic */ + 15, /* field[15] = mgmt_sbuf_num */ + 11, /* field[11] = nano_enable */ + 10, /* field[10] = nvs_enable */ + 12, /* field[12] = rx_ba_win */ + 21, /* field[21] = rx_mgmt_buf_num */ + 20, /* field[20] = rx_mgmt_buf_type */ + 17, /* field[17] = sta_disconnected_pm */ + 0, /* field[0] = static_rx_buf_num */ + 3, /* field[3] = static_tx_buf_num */ + 2, /* field[2] = tx_buf_type */ + 22, /* field[22] = tx_hetb_queue_num */ + 13, /* field[13] = wifi_task_core_id */ +}; +static const ProtobufCIntRange wifi_init_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 24 } +}; +const ProtobufCMessageDescriptor wifi_init_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_init_config", + "WifiInitConfig", + "WifiInitConfig", + "", + sizeof(WifiInitConfig), + 24, + wifi_init_config__field_descriptors, + wifi_init_config__field_indices_by_name, + 1, wifi_init_config__number_ranges, + (ProtobufCMessageInit) wifi_init_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_country__field_descriptors[5] = +{ { - "static_tx_buf_num", - 4, + "cc", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, static_tx_buf_num), + offsetof(WifiCountry, cc), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dynamic_tx_buf_num", - 5, + "schan", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, dynamic_tx_buf_num), + offsetof(WifiCountry, schan), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "cache_tx_buf_num", - 6, + "nchan", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, cache_tx_buf_num), + offsetof(WifiCountry, nchan), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "csi_enable", - 7, + "max_tx_power", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, csi_enable), + offsetof(WifiCountry, max_tx_power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ampdu_rx_enable", - 8, + "policy", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, ampdu_rx_enable), + offsetof(WifiCountry, policy), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_country__field_indices_by_name[] = { + 0, /* field[0] = cc */ + 3, /* field[3] = max_tx_power */ + 2, /* field[2] = nchan */ + 4, /* field[4] = policy */ + 1, /* field[1] = schan */ +}; +static const ProtobufCIntRange wifi_country__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wifi_country__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_country", + "WifiCountry", + "WifiCountry", + "", + sizeof(WifiCountry), + 5, + wifi_country__field_descriptors, + wifi_country__field_indices_by_name, + 1, wifi_country__number_ranges, + (ProtobufCMessageInit) wifi_country__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_active_scan_time__field_descriptors[2] = +{ { - "ampdu_tx_enable", - 9, + "min", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, ampdu_tx_enable), + offsetof(WifiActiveScanTime, min), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "amsdu_tx_enable", - 10, + "max", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, amsdu_tx_enable), + offsetof(WifiActiveScanTime, max), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_active_scan_time__field_indices_by_name[] = { + 1, /* field[1] = max */ + 0, /* field[0] = min */ +}; +static const ProtobufCIntRange wifi_active_scan_time__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_active_scan_time__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_active_scan_time", + "WifiActiveScanTime", + "WifiActiveScanTime", + "", + sizeof(WifiActiveScanTime), + 2, + wifi_active_scan_time__field_descriptors, + wifi_active_scan_time__field_indices_by_name, + 1, wifi_active_scan_time__number_ranges, + (ProtobufCMessageInit) wifi_active_scan_time__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_scan_time__field_descriptors[2] = +{ { - "nvs_enable", - 11, + "active", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, nvs_enable), - NULL, + offsetof(WifiScanTime, active), + &wifi_active_scan_time__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "nano_enable", - 12, + "passive", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, nano_enable), + offsetof(WifiScanTime, passive), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_scan_time__field_indices_by_name[] = { + 0, /* field[0] = active */ + 1, /* field[1] = passive */ +}; +static const ProtobufCIntRange wifi_scan_time__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_scan_time__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_scan_time", + "WifiScanTime", + "WifiScanTime", + "", + sizeof(WifiScanTime), + 2, + wifi_scan_time__field_descriptors, + wifi_scan_time__field_indices_by_name, + 1, wifi_scan_time__number_ranges, + (ProtobufCMessageInit) wifi_scan_time__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_scan_channel_bitmap__field_descriptors[2] = +{ { - "rx_ba_win", - 13, + "ghz_2_channels", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, rx_ba_win), + offsetof(WifiScanChannelBitmap, ghz_2_channels), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "wifi_task_core_id", - 14, + "ghz_5_channels", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, wifi_task_core_id), + offsetof(WifiScanChannelBitmap, ghz_5_channels), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_scan_channel_bitmap__field_indices_by_name[] = { + 0, /* field[0] = ghz_2_channels */ + 1, /* field[1] = ghz_5_channels */ +}; +static const ProtobufCIntRange wifi_scan_channel_bitmap__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_scan_channel_bitmap__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_scan_channel_bitmap", + "WifiScanChannelBitmap", + "WifiScanChannelBitmap", + "", + sizeof(WifiScanChannelBitmap), + 2, + wifi_scan_channel_bitmap__field_descriptors, + wifi_scan_channel_bitmap__field_indices_by_name, + 1, wifi_scan_channel_bitmap__number_ranges, + (ProtobufCMessageInit) wifi_scan_channel_bitmap__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_scan_config__field_descriptors[8] = +{ { - "beacon_max_len", - 15, + "ssid", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, beacon_max_len), + offsetof(WifiScanConfig, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mgmt_sbuf_num", - 16, + "bssid", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, mgmt_sbuf_num), + offsetof(WifiScanConfig, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "feature_caps", - 17, + "channel", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, feature_caps), + offsetof(WifiScanConfig, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sta_disconnected_pm", - 18, + "show_hidden", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, sta_disconnected_pm), + offsetof(WifiScanConfig, show_hidden), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "espnow_max_encrypt_num", - 19, + "scan_type", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, espnow_max_encrypt_num), + offsetof(WifiScanConfig, scan_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "magic", - 20, + "scan_time", + 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, magic), - NULL, + offsetof(WifiScanConfig, scan_time), + &wifi_scan_time__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_mgmt_buf_type", - 21, + "home_chan_dwell_time", + 7, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, rx_mgmt_buf_type), + offsetof(WifiScanConfig, home_chan_dwell_time), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_mgmt_buf_num", - 22, + "channel_bitmap", + 8, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, rx_mgmt_buf_num), - NULL, + offsetof(WifiScanConfig, channel_bitmap), + &wifi_scan_channel_bitmap__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_scan_config__field_indices_by_name[] = { + 1, /* field[1] = bssid */ + 2, /* field[2] = channel */ + 7, /* field[7] = channel_bitmap */ + 6, /* field[6] = home_chan_dwell_time */ + 5, /* field[5] = scan_time */ + 4, /* field[4] = scan_type */ + 3, /* field[3] = show_hidden */ + 0, /* field[0] = ssid */ +}; +static const ProtobufCIntRange wifi_scan_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wifi_scan_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_scan_config", + "WifiScanConfig", + "WifiScanConfig", + "", + sizeof(WifiScanConfig), + 8, + wifi_scan_config__field_descriptors, + wifi_scan_config__field_indices_by_name, + 1, wifi_scan_config__number_ranges, + (ProtobufCMessageInit) wifi_scan_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_he_ap_info__field_descriptors[2] = +{ { - "tx_hetb_queue_num", - 23, + "bitmask", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, tx_hetb_queue_num), + offsetof(WifiHeApInfo, bitmask), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dump_hesigb_enable", - 24, + "bssid_index", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiInitConfig, dump_hesigb_enable), + offsetof(WifiHeApInfo, bssid_index), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_init_config__field_indices_by_name[] = { - 7, /* field[7] = ampdu_rx_enable */ - 8, /* field[8] = ampdu_tx_enable */ - 9, /* field[9] = amsdu_tx_enable */ - 14, /* field[14] = beacon_max_len */ - 5, /* field[5] = cache_tx_buf_num */ - 6, /* field[6] = csi_enable */ - 23, /* field[23] = dump_hesigb_enable */ - 1, /* field[1] = dynamic_rx_buf_num */ - 4, /* field[4] = dynamic_tx_buf_num */ - 18, /* field[18] = espnow_max_encrypt_num */ - 16, /* field[16] = feature_caps */ - 19, /* field[19] = magic */ - 15, /* field[15] = mgmt_sbuf_num */ - 11, /* field[11] = nano_enable */ - 10, /* field[10] = nvs_enable */ - 12, /* field[12] = rx_ba_win */ - 21, /* field[21] = rx_mgmt_buf_num */ - 20, /* field[20] = rx_mgmt_buf_type */ - 17, /* field[17] = sta_disconnected_pm */ - 0, /* field[0] = static_rx_buf_num */ - 3, /* field[3] = static_tx_buf_num */ - 2, /* field[2] = tx_buf_type */ - 22, /* field[22] = tx_hetb_queue_num */ - 13, /* field[13] = wifi_task_core_id */ +static const unsigned wifi_he_ap_info__field_indices_by_name[] = { + 0, /* field[0] = bitmask */ + 1, /* field[1] = bssid_index */ }; -static const ProtobufCIntRange wifi_init_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_he_ap_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 24 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_init_config__descriptor = +const ProtobufCMessageDescriptor wifi_he_ap_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_init_config", - "WifiInitConfig", - "WifiInitConfig", + "wifi_he_ap_info", + "WifiHeApInfo", + "WifiHeApInfo", "", - sizeof(WifiInitConfig), - 24, - wifi_init_config__field_descriptors, - wifi_init_config__field_indices_by_name, - 1, wifi_init_config__number_ranges, - (ProtobufCMessageInit) wifi_init_config__init, + sizeof(WifiHeApInfo), + 2, + wifi_he_ap_info__field_descriptors, + wifi_he_ap_info__field_indices_by_name, + 1, wifi_he_ap_info__number_ranges, + (ProtobufCMessageInit) wifi_he_ap_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_country__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_ap_record__field_descriptors[15] = { { - "cc", + "bssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCountry, cc), + offsetof(WifiApRecord, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "schan", + "ssid", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCountry, schan), + offsetof(WifiApRecord, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "nchan", + "primary", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCountry, nchan), + offsetof(WifiApRecord, primary), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "max_tx_power", + "second", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCountry, max_tx_power), + offsetof(WifiApRecord, second), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "policy", + "rssi", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCountry, policy), + offsetof(WifiApRecord, rssi), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "authmode", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiApRecord, authmode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pairwise_cipher", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiApRecord, pairwise_cipher), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "group_cipher", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiApRecord, group_cipher), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ant", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiApRecord, ant), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_country__field_indices_by_name[] = { - 0, /* field[0] = cc */ - 3, /* field[3] = max_tx_power */ - 2, /* field[2] = nchan */ - 4, /* field[4] = policy */ - 1, /* field[1] = schan */ -}; -static const ProtobufCIntRange wifi_country__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor wifi_country__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_country", - "WifiCountry", - "WifiCountry", - "", - sizeof(WifiCountry), - 5, - wifi_country__field_descriptors, - wifi_country__field_indices_by_name, - 1, wifi_country__number_ranges, - (ProtobufCMessageInit) wifi_country__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_active_scan_time__field_descriptors[2] = -{ { - "min", - 1, + "bitmask", + 10, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiActiveScanTime, min), + offsetof(WifiApRecord, bitmask), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "max", - 2, + "country", + 11, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiActiveScanTime, max), - NULL, + offsetof(WifiApRecord, country), + &wifi_country__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_active_scan_time__field_indices_by_name[] = { - 1, /* field[1] = max */ - 0, /* field[0] = min */ -}; -static const ProtobufCIntRange wifi_active_scan_time__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_active_scan_time__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_active_scan_time", - "WifiActiveScanTime", - "WifiActiveScanTime", - "", - sizeof(WifiActiveScanTime), - 2, - wifi_active_scan_time__field_descriptors, - wifi_active_scan_time__field_indices_by_name, - 1, wifi_active_scan_time__number_ranges, - (ProtobufCMessageInit) wifi_active_scan_time__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_scan_time__field_descriptors[2] = -{ { - "active", - 1, + "he_ap", + 12, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiScanTime, active), - &wifi_active_scan_time__descriptor, + offsetof(WifiApRecord, he_ap), + &wifi_he_ap_info__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "passive", - 2, + "bandwidth", + 13, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiScanTime, passive), + offsetof(WifiApRecord, bandwidth), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_scan_time__field_indices_by_name[] = { - 0, /* field[0] = active */ - 1, /* field[1] = passive */ -}; -static const ProtobufCIntRange wifi_scan_time__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_scan_time__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_scan_time", - "WifiScanTime", - "WifiScanTime", - "", - sizeof(WifiScanTime), - 2, - wifi_scan_time__field_descriptors, - wifi_scan_time__field_indices_by_name, - 1, wifi_scan_time__number_ranges, - (ProtobufCMessageInit) wifi_scan_time__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_scan_channel_bitmap__field_descriptors[2] = -{ { - "ghz_2_channels", - 1, + "vht_ch_freq1", + 14, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiScanChannelBitmap, ghz_2_channels), + offsetof(WifiApRecord, vht_ch_freq1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ghz_5_channels", - 2, + "vht_ch_freq2", + 15, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiScanChannelBitmap, ghz_5_channels), + offsetof(WifiApRecord, vht_ch_freq2), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_scan_channel_bitmap__field_indices_by_name[] = { - 0, /* field[0] = ghz_2_channels */ - 1, /* field[1] = ghz_5_channels */ +static const unsigned wifi_ap_record__field_indices_by_name[] = { + 8, /* field[8] = ant */ + 5, /* field[5] = authmode */ + 12, /* field[12] = bandwidth */ + 9, /* field[9] = bitmask */ + 0, /* field[0] = bssid */ + 10, /* field[10] = country */ + 7, /* field[7] = group_cipher */ + 11, /* field[11] = he_ap */ + 6, /* field[6] = pairwise_cipher */ + 2, /* field[2] = primary */ + 4, /* field[4] = rssi */ + 3, /* field[3] = second */ + 1, /* field[1] = ssid */ + 13, /* field[13] = vht_ch_freq1 */ + 14, /* field[14] = vht_ch_freq2 */ }; -static const ProtobufCIntRange wifi_scan_channel_bitmap__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ap_record__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 15 } }; -const ProtobufCMessageDescriptor wifi_scan_channel_bitmap__descriptor = +const ProtobufCMessageDescriptor wifi_ap_record__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_scan_channel_bitmap", - "WifiScanChannelBitmap", - "WifiScanChannelBitmap", + "wifi_ap_record", + "WifiApRecord", + "WifiApRecord", "", - sizeof(WifiScanChannelBitmap), - 2, - wifi_scan_channel_bitmap__field_descriptors, - wifi_scan_channel_bitmap__field_indices_by_name, - 1, wifi_scan_channel_bitmap__number_ranges, - (ProtobufCMessageInit) wifi_scan_channel_bitmap__init, + sizeof(WifiApRecord), + 15, + wifi_ap_record__field_descriptors, + wifi_ap_record__field_indices_by_name, + 1, wifi_ap_record__number_ranges, + (ProtobufCMessageInit) wifi_ap_record__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_scan_config__field_descriptors[8] = +static const ProtobufCFieldDescriptor wifi_scan_threshold__field_descriptors[3] = { { - "ssid", + "rssi", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiScanConfig, ssid), + offsetof(WifiScanThreshold, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid", + "authmode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiScanConfig, bssid), + offsetof(WifiScanThreshold, authmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "rssi_5g_adjustment", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiScanConfig, channel), + offsetof(WifiScanThreshold, rssi_5g_adjustment), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_scan_threshold__field_indices_by_name[] = { + 1, /* field[1] = authmode */ + 0, /* field[0] = rssi */ + 2, /* field[2] = rssi_5g_adjustment */ +}; +static const ProtobufCIntRange wifi_scan_threshold__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wifi_scan_threshold__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_scan_threshold", + "WifiScanThreshold", + "WifiScanThreshold", + "", + sizeof(WifiScanThreshold), + 3, + wifi_scan_threshold__field_descriptors, + wifi_scan_threshold__field_indices_by_name, + 1, wifi_scan_threshold__number_ranges, + (ProtobufCMessageInit) wifi_scan_threshold__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_pmf_config__field_descriptors[2] = +{ { - "show_hidden", - 4, + "capable", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiScanConfig, show_hidden), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "scan_type", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiScanConfig, scan_type), - NULL, + offsetof(WifiPmfConfig, capable), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "scan_time", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(WifiScanConfig, scan_time), - &wifi_scan_time__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "home_chan_dwell_time", - 7, + "required", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiScanConfig, home_chan_dwell_time), - NULL, + offsetof(WifiPmfConfig, required), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "channel_bitmap", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(WifiScanConfig, channel_bitmap), - &wifi_scan_channel_bitmap__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_scan_config__field_indices_by_name[] = { - 1, /* field[1] = bssid */ - 2, /* field[2] = channel */ - 7, /* field[7] = channel_bitmap */ - 6, /* field[6] = home_chan_dwell_time */ - 5, /* field[5] = scan_time */ - 4, /* field[4] = scan_type */ - 3, /* field[3] = show_hidden */ - 0, /* field[0] = ssid */ +static const unsigned wifi_pmf_config__field_indices_by_name[] = { + 0, /* field[0] = capable */ + 1, /* field[1] = required */ }; -static const ProtobufCIntRange wifi_scan_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_pmf_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 8 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_scan_config__descriptor = +const ProtobufCMessageDescriptor wifi_pmf_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_scan_config", - "WifiScanConfig", - "WifiScanConfig", + "wifi_pmf_config", + "WifiPmfConfig", + "WifiPmfConfig", "", - sizeof(WifiScanConfig), - 8, - wifi_scan_config__field_descriptors, - wifi_scan_config__field_indices_by_name, - 1, wifi_scan_config__number_ranges, - (ProtobufCMessageInit) wifi_scan_config__init, + sizeof(WifiPmfConfig), + 2, + wifi_pmf_config__field_descriptors, + wifi_pmf_config__field_indices_by_name, + 1, wifi_pmf_config__number_ranges, + (ProtobufCMessageInit) wifi_pmf_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_he_ap_info__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_bss_max_idle_config__field_descriptors[2] = { { - "bitmask", + "period", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiHeApInfo, bitmask), + offsetof(WifiBssMaxIdleConfig, period), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid_index", + "protected_keep_alive", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiHeApInfo, bssid_index), + offsetof(WifiBssMaxIdleConfig, protected_keep_alive), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_he_ap_info__field_indices_by_name[] = { - 0, /* field[0] = bitmask */ - 1, /* field[1] = bssid_index */ +static const unsigned wifi_bss_max_idle_config__field_indices_by_name[] = { + 0, /* field[0] = period */ + 1, /* field[1] = protected_keep_alive */ }; -static const ProtobufCIntRange wifi_he_ap_info__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_bss_max_idle_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_he_ap_info__descriptor = +const ProtobufCMessageDescriptor wifi_bss_max_idle_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_he_ap_info", - "WifiHeApInfo", - "WifiHeApInfo", + "wifi_bss_max_idle_config", + "WifiBssMaxIdleConfig", + "WifiBssMaxIdleConfig", "", - sizeof(WifiHeApInfo), + sizeof(WifiBssMaxIdleConfig), 2, - wifi_he_ap_info__field_descriptors, - wifi_he_ap_info__field_indices_by_name, - 1, wifi_he_ap_info__number_ranges, - (ProtobufCMessageInit) wifi_he_ap_info__init, + wifi_bss_max_idle_config__field_descriptors, + wifi_bss_max_idle_config__field_indices_by_name, + 1, wifi_bss_max_idle_config__number_ranges, + (ProtobufCMessageInit) wifi_bss_max_idle_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ap_record__field_descriptors[15] = +static const ProtobufCFieldDescriptor wifi_ap_config__field_descriptors[18] = { { - "bssid", + "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApRecord, bssid), + offsetof(WifiApConfig, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid", + "password", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApRecord, ssid), + offsetof(WifiApConfig, password), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "primary", + "ssid_len", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, primary), + offsetof(WifiApConfig, ssid_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "second", + "channel", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, second), + offsetof(WifiApConfig, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", + "authmode", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, rssi), + offsetof(WifiApConfig, authmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "authmode", + "ssid_hidden", 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, authmode), + offsetof(WifiApConfig, ssid_hidden), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "pairwise_cipher", + "max_connection", 7, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, pairwise_cipher), + offsetof(WifiApConfig, max_connection), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "group_cipher", + "beacon_interval", 8, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, group_cipher), + offsetof(WifiApConfig, beacon_interval), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ant", + "pairwise_cipher", 9, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, ant), + offsetof(WifiApConfig, pairwise_cipher), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bitmask", + "ftm_responder", 10, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiApRecord, bitmask), + offsetof(WifiApConfig, ftm_responder), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "country", + "pmf_cfg", 11, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiApRecord, country), - &wifi_country__descriptor, + offsetof(WifiApConfig, pmf_cfg), + &wifi_pmf_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "he_ap", + "sae_pwe_h2e", 12, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, he_ap), - &wifi_he_ap_info__descriptor, + offsetof(WifiApConfig, sae_pwe_h2e), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bandwidth", + "csa_count", 13, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, bandwidth), + offsetof(WifiApConfig, csa_count), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "vht_ch_freq1", + "dtim_period", 14, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, vht_ch_freq1), + offsetof(WifiApConfig, dtim_period), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "vht_ch_freq2", + "transition_disable", 15, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApRecord, vht_ch_freq2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wifi_ap_record__field_indices_by_name[] = { - 8, /* field[8] = ant */ - 5, /* field[5] = authmode */ - 12, /* field[12] = bandwidth */ - 9, /* field[9] = bitmask */ - 0, /* field[0] = bssid */ - 10, /* field[10] = country */ - 7, /* field[7] = group_cipher */ - 11, /* field[11] = he_ap */ - 6, /* field[6] = pairwise_cipher */ - 2, /* field[2] = primary */ - 4, /* field[4] = rssi */ - 3, /* field[3] = second */ - 1, /* field[1] = ssid */ - 13, /* field[13] = vht_ch_freq1 */ - 14, /* field[14] = vht_ch_freq2 */ -}; -static const ProtobufCIntRange wifi_ap_record__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor wifi_ap_record__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ap_record", - "WifiApRecord", - "WifiApRecord", - "", - sizeof(WifiApRecord), - 15, - wifi_ap_record__field_descriptors, - wifi_ap_record__field_indices_by_name, - 1, wifi_ap_record__number_ranges, - (ProtobufCMessageInit) wifi_ap_record__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_scan_threshold__field_descriptors[3] = -{ - { - "rssi", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiScanThreshold, rssi), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "authmode", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiScanThreshold, authmode), + offsetof(WifiApConfig, transition_disable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi_5g_adjustment", - 3, + "sae_ext", + 16, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiScanThreshold, rssi_5g_adjustment), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wifi_scan_threshold__field_indices_by_name[] = { - 1, /* field[1] = authmode */ - 0, /* field[0] = rssi */ - 2, /* field[2] = rssi_5g_adjustment */ -}; -static const ProtobufCIntRange wifi_scan_threshold__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor wifi_scan_threshold__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_scan_threshold", - "WifiScanThreshold", - "WifiScanThreshold", - "", - sizeof(WifiScanThreshold), - 3, - wifi_scan_threshold__field_descriptors, - wifi_scan_threshold__field_indices_by_name, - 1, wifi_scan_threshold__number_ranges, - (ProtobufCMessageInit) wifi_scan_threshold__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_pmf_config__field_descriptors[2] = -{ - { - "capable", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiPmfConfig, capable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "required", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiPmfConfig, required), + offsetof(WifiApConfig, sae_ext), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_pmf_config__field_indices_by_name[] = { - 0, /* field[0] = capable */ - 1, /* field[1] = required */ -}; -static const ProtobufCIntRange wifi_pmf_config__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_pmf_config__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_pmf_config", - "WifiPmfConfig", - "WifiPmfConfig", - "", - sizeof(WifiPmfConfig), - 2, - wifi_pmf_config__field_descriptors, - wifi_pmf_config__field_indices_by_name, - 1, wifi_pmf_config__number_ranges, - (ProtobufCMessageInit) wifi_pmf_config__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_bss_max_idle_config__field_descriptors[2] = -{ { - "period", - 1, + "bss_max_idle_cfg", + 17, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiBssMaxIdleConfig, period), - NULL, + offsetof(WifiApConfig, bss_max_idle_cfg), + &wifi_bss_max_idle_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protected_keep_alive", - 2, + "gtk_rekey_interval", + 18, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiBssMaxIdleConfig, protected_keep_alive), + offsetof(WifiApConfig, gtk_rekey_interval), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_bss_max_idle_config__field_indices_by_name[] = { - 0, /* field[0] = period */ - 1, /* field[1] = protected_keep_alive */ +static const unsigned wifi_ap_config__field_indices_by_name[] = { + 4, /* field[4] = authmode */ + 7, /* field[7] = beacon_interval */ + 16, /* field[16] = bss_max_idle_cfg */ + 3, /* field[3] = channel */ + 12, /* field[12] = csa_count */ + 13, /* field[13] = dtim_period */ + 9, /* field[9] = ftm_responder */ + 17, /* field[17] = gtk_rekey_interval */ + 6, /* field[6] = max_connection */ + 8, /* field[8] = pairwise_cipher */ + 1, /* field[1] = password */ + 10, /* field[10] = pmf_cfg */ + 15, /* field[15] = sae_ext */ + 11, /* field[11] = sae_pwe_h2e */ + 0, /* field[0] = ssid */ + 5, /* field[5] = ssid_hidden */ + 2, /* field[2] = ssid_len */ + 14, /* field[14] = transition_disable */ }; -static const ProtobufCIntRange wifi_bss_max_idle_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ap_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 18 } }; -const ProtobufCMessageDescriptor wifi_bss_max_idle_config__descriptor = +const ProtobufCMessageDescriptor wifi_ap_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_bss_max_idle_config", - "WifiBssMaxIdleConfig", - "WifiBssMaxIdleConfig", + "wifi_ap_config", + "WifiApConfig", + "WifiApConfig", "", - sizeof(WifiBssMaxIdleConfig), - 2, - wifi_bss_max_idle_config__field_descriptors, - wifi_bss_max_idle_config__field_indices_by_name, - 1, wifi_bss_max_idle_config__number_ranges, - (ProtobufCMessageInit) wifi_bss_max_idle_config__init, + sizeof(WifiApConfig), + 18, + wifi_ap_config__field_descriptors, + wifi_ap_config__field_indices_by_name, + 1, wifi_ap_config__number_ranges, + (ProtobufCMessageInit) wifi_ap_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ap_config__field_descriptors[18] = +static const ProtobufCFieldDescriptor wifi_sta_config__field_descriptors[16] = { { "ssid", @@ -13131,7 +14065,7 @@ static const ProtobufCFieldDescriptor wifi_ap_config__field_descriptors[18] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApConfig, ssid), + offsetof(WifiStaConfig, ssid), NULL, NULL, 0, /* flags */ @@ -13143,116 +14077,116 @@ static const ProtobufCFieldDescriptor wifi_ap_config__field_descriptors[18] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApConfig, password), + offsetof(WifiStaConfig, password), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid_len", + "scan_method", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, ssid_len), + offsetof(WifiStaConfig, scan_method), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "bssid_set", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiApConfig, channel), + offsetof(WifiStaConfig, bssid_set), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "authmode", + "bssid", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApConfig, authmode), + offsetof(WifiStaConfig, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid_hidden", + "channel", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, ssid_hidden), + offsetof(WifiStaConfig, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "max_connection", + "listen_interval", 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, max_connection), + offsetof(WifiStaConfig, listen_interval), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "beacon_interval", + "sort_method", 8, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, beacon_interval), + offsetof(WifiStaConfig, sort_method), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "pairwise_cipher", + "threshold", 9, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiApConfig, pairwise_cipher), - NULL, + offsetof(WifiStaConfig, threshold), + &wifi_scan_threshold__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ftm_responder", + "pmf_cfg", 10, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(WifiApConfig, ftm_responder), - NULL, + offsetof(WifiStaConfig, pmf_cfg), + &wifi_pmf_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "pmf_cfg", + "bitmask", 11, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, pmf_cfg), - &wifi_pmf_config__descriptor, + offsetof(WifiStaConfig, bitmask), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -13261,2881 +14195,3390 @@ static const ProtobufCFieldDescriptor wifi_ap_config__field_descriptors[18] = "sae_pwe_h2e", 12, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiApConfig, sae_pwe_h2e), - NULL, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiStaConfig, sae_pwe_h2e), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "failure_retry_cnt", + 13, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiStaConfig, failure_retry_cnt), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "he_bitmask", + 14, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiStaConfig, he_bitmask), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sae_h2e_identifier", + 15, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(WifiStaConfig, sae_h2e_identifier), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sae_pk_mode", + 16, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiStaConfig, sae_pk_mode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_sta_config__field_indices_by_name[] = { + 10, /* field[10] = bitmask */ + 4, /* field[4] = bssid */ + 3, /* field[3] = bssid_set */ + 5, /* field[5] = channel */ + 12, /* field[12] = failure_retry_cnt */ + 13, /* field[13] = he_bitmask */ + 6, /* field[6] = listen_interval */ + 1, /* field[1] = password */ + 9, /* field[9] = pmf_cfg */ + 14, /* field[14] = sae_h2e_identifier */ + 15, /* field[15] = sae_pk_mode */ + 11, /* field[11] = sae_pwe_h2e */ + 2, /* field[2] = scan_method */ + 7, /* field[7] = sort_method */ + 0, /* field[0] = ssid */ + 8, /* field[8] = threshold */ +}; +static const ProtobufCIntRange wifi_sta_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 16 } +}; +const ProtobufCMessageDescriptor wifi_sta_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_sta_config", + "WifiStaConfig", + "WifiStaConfig", + "", + sizeof(WifiStaConfig), + 16, + wifi_sta_config__field_descriptors, + wifi_sta_config__field_indices_by_name, + 1, wifi_sta_config__number_ranges, + (ProtobufCMessageInit) wifi_sta_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = +{ + { + "ap", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiConfig, u_case), + offsetof(WifiConfig, ap), + &wifi_ap_config__descriptor, NULL, - 0, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "csa_count", - 13, + "sta", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiApConfig, csa_count), - NULL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiConfig, u_case), + offsetof(WifiConfig, sta), + &wifi_sta_config__descriptor, NULL, - 0, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_config__field_indices_by_name[] = { + 0, /* field[0] = ap */ + 1, /* field[1] = sta */ +}; +static const ProtobufCIntRange wifi_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_config", + "WifiConfig", + "WifiConfig", + "", + sizeof(WifiConfig), + 2, + wifi_config__field_descriptors, + wifi_config__field_indices_by_name, + 1, wifi_config__number_ranges, + (ProtobufCMessageInit) wifi_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_sta_info__field_descriptors[3] = +{ { - "dtim_period", - 14, + "mac", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiApConfig, dtim_period), + offsetof(WifiStaInfo, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "transition_disable", - 15, + "rssi", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, transition_disable), + offsetof(WifiStaInfo, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sae_ext", - 16, + "bitmask", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, sae_ext), + offsetof(WifiStaInfo, bitmask), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_sta_info__field_indices_by_name[] = { + 2, /* field[2] = bitmask */ + 0, /* field[0] = mac */ + 1, /* field[1] = rssi */ +}; +static const ProtobufCIntRange wifi_sta_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wifi_sta_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_sta_info", + "WifiStaInfo", + "WifiStaInfo", + "", + sizeof(WifiStaInfo), + 3, + wifi_sta_info__field_descriptors, + wifi_sta_info__field_indices_by_name, + 1, wifi_sta_info__number_ranges, + (ProtobufCMessageInit) wifi_sta_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_sta_list__field_descriptors[2] = +{ { - "bss_max_idle_cfg", - 17, - PROTOBUF_C_LABEL_NONE, + "sta", + 1, + PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(WifiApConfig, bss_max_idle_cfg), - &wifi_bss_max_idle_config__descriptor, + offsetof(WifiStaList, n_sta), + offsetof(WifiStaList, sta), + &wifi_sta_info__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "gtk_rekey_interval", - 18, + "num", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiApConfig, gtk_rekey_interval), + offsetof(WifiStaList, num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ap_config__field_indices_by_name[] = { - 4, /* field[4] = authmode */ - 7, /* field[7] = beacon_interval */ - 16, /* field[16] = bss_max_idle_cfg */ - 3, /* field[3] = channel */ - 12, /* field[12] = csa_count */ - 13, /* field[13] = dtim_period */ - 9, /* field[9] = ftm_responder */ - 17, /* field[17] = gtk_rekey_interval */ - 6, /* field[6] = max_connection */ - 8, /* field[8] = pairwise_cipher */ - 1, /* field[1] = password */ - 10, /* field[10] = pmf_cfg */ - 15, /* field[15] = sae_ext */ - 11, /* field[11] = sae_pwe_h2e */ - 0, /* field[0] = ssid */ - 5, /* field[5] = ssid_hidden */ - 2, /* field[2] = ssid_len */ - 14, /* field[14] = transition_disable */ +static const unsigned wifi_sta_list__field_indices_by_name[] = { + 1, /* field[1] = num */ + 0, /* field[0] = sta */ }; -static const ProtobufCIntRange wifi_ap_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_sta_list__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 18 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_ap_config__descriptor = +const ProtobufCMessageDescriptor wifi_sta_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ap_config", - "WifiApConfig", - "WifiApConfig", + "wifi_sta_list", + "WifiStaList", + "WifiStaList", "", - sizeof(WifiApConfig), - 18, - wifi_ap_config__field_descriptors, - wifi_ap_config__field_indices_by_name, - 1, wifi_ap_config__number_ranges, - (ProtobufCMessageInit) wifi_ap_config__init, + sizeof(WifiStaList), + 2, + wifi_sta_list__field_descriptors, + wifi_sta_list__field_indices_by_name, + 1, wifi_sta_list__number_ranges, + (ProtobufCMessageInit) wifi_sta_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_sta_config__field_descriptors[16] = +static const ProtobufCFieldDescriptor wifi_pkt_rx_ctrl__field_descriptors[19] = { { - "ssid", + "rssi", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, ssid), + offsetof(WifiPktRxCtrl, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "password", + "rate", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, password), + offsetof(WifiPktRxCtrl, rate), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "scan_method", + "sig_mode", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, scan_method), + offsetof(WifiPktRxCtrl, sig_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid_set", + "mcs", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, bssid_set), + offsetof(WifiPktRxCtrl, mcs), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid", + "cwb", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, bssid), + offsetof(WifiPktRxCtrl, cwb), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "smoothing", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, channel), + offsetof(WifiPktRxCtrl, smoothing), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "listen_interval", + "not_sounding", 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, listen_interval), + offsetof(WifiPktRxCtrl, not_sounding), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sort_method", + "aggregation", 8, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, sort_method), + offsetof(WifiPktRxCtrl, aggregation), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "threshold", + "stbc", 9, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, threshold), - &wifi_scan_threshold__descriptor, + offsetof(WifiPktRxCtrl, stbc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fec_coding", + 10, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, fec_coding), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sgi", + 11, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, sgi), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "noise_floor", + 12, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, noise_floor), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "pmf_cfg", - 10, + "ampdu_cnt", + 13, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, pmf_cfg), - &wifi_pmf_config__descriptor, + offsetof(WifiPktRxCtrl, ampdu_cnt), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bitmask", - 11, + "channel", + 14, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, bitmask), + offsetof(WifiPktRxCtrl, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sae_pwe_h2e", - 12, + "secondary_channel", + 15, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, sae_pwe_h2e), + offsetof(WifiPktRxCtrl, secondary_channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "failure_retry_cnt", - 13, + "timestamp", + 16, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, failure_retry_cnt), + offsetof(WifiPktRxCtrl, timestamp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "he_bitmask", - 14, + "ant", + 17, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, he_bitmask), + offsetof(WifiPktRxCtrl, ant), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sae_h2e_identifier", - 15, + "sig_len", + 18, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, sae_h2e_identifier), + offsetof(WifiPktRxCtrl, sig_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sae_pk_mode", - 16, + "rx_state", + 19, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaConfig, sae_pk_mode), + offsetof(WifiPktRxCtrl, rx_state), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_sta_config__field_indices_by_name[] = { - 10, /* field[10] = bitmask */ - 4, /* field[4] = bssid */ - 3, /* field[3] = bssid_set */ - 5, /* field[5] = channel */ - 12, /* field[12] = failure_retry_cnt */ - 13, /* field[13] = he_bitmask */ - 6, /* field[6] = listen_interval */ - 1, /* field[1] = password */ - 9, /* field[9] = pmf_cfg */ - 14, /* field[14] = sae_h2e_identifier */ - 15, /* field[15] = sae_pk_mode */ - 11, /* field[11] = sae_pwe_h2e */ - 2, /* field[2] = scan_method */ - 7, /* field[7] = sort_method */ - 0, /* field[0] = ssid */ - 8, /* field[8] = threshold */ +static const unsigned wifi_pkt_rx_ctrl__field_indices_by_name[] = { + 7, /* field[7] = aggregation */ + 12, /* field[12] = ampdu_cnt */ + 16, /* field[16] = ant */ + 13, /* field[13] = channel */ + 4, /* field[4] = cwb */ + 9, /* field[9] = fec_coding */ + 3, /* field[3] = mcs */ + 11, /* field[11] = noise_floor */ + 6, /* field[6] = not_sounding */ + 1, /* field[1] = rate */ + 0, /* field[0] = rssi */ + 18, /* field[18] = rx_state */ + 14, /* field[14] = secondary_channel */ + 10, /* field[10] = sgi */ + 17, /* field[17] = sig_len */ + 2, /* field[2] = sig_mode */ + 5, /* field[5] = smoothing */ + 8, /* field[8] = stbc */ + 15, /* field[15] = timestamp */ }; -static const ProtobufCIntRange wifi_sta_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_pkt_rx_ctrl__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 16 } + { 0, 19 } }; -const ProtobufCMessageDescriptor wifi_sta_config__descriptor = +const ProtobufCMessageDescriptor wifi_pkt_rx_ctrl__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_sta_config", - "WifiStaConfig", - "WifiStaConfig", + "wifi_pkt_rx_ctrl", + "WifiPktRxCtrl", + "WifiPktRxCtrl", "", - sizeof(WifiStaConfig), - 16, - wifi_sta_config__field_descriptors, - wifi_sta_config__field_indices_by_name, - 1, wifi_sta_config__number_ranges, - (ProtobufCMessageInit) wifi_sta_config__init, + sizeof(WifiPktRxCtrl), + 19, + wifi_pkt_rx_ctrl__field_descriptors, + wifi_pkt_rx_ctrl__field_indices_by_name, + 1, wifi_pkt_rx_ctrl__number_ranges, + (ProtobufCMessageInit) wifi_pkt_rx_ctrl__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_promiscuous_pkt__field_descriptors[2] = { { - "ap", + "rx_ctrl", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiConfig, u_case), - offsetof(WifiConfig, ap), - &wifi_ap_config__descriptor, + 0, /* quantifier_offset */ + offsetof(WifiPromiscuousPkt, rx_ctrl), + &wifi_pkt_rx_ctrl__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sta", + "payload", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiConfig, u_case), - offsetof(WifiConfig, sta), - &wifi_sta_config__descriptor, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(WifiPromiscuousPkt, payload), NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + NULL, + 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_config__field_indices_by_name[] = { - 0, /* field[0] = ap */ - 1, /* field[1] = sta */ +static const unsigned wifi_promiscuous_pkt__field_indices_by_name[] = { + 1, /* field[1] = payload */ + 0, /* field[0] = rx_ctrl */ }; -static const ProtobufCIntRange wifi_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_promiscuous_pkt__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_config__descriptor = +const ProtobufCMessageDescriptor wifi_promiscuous_pkt__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_config", - "WifiConfig", - "WifiConfig", + "wifi_promiscuous_pkt", + "WifiPromiscuousPkt", + "WifiPromiscuousPkt", "", - sizeof(WifiConfig), + sizeof(WifiPromiscuousPkt), 2, - wifi_config__field_descriptors, - wifi_config__field_indices_by_name, - 1, wifi_config__number_ranges, - (ProtobufCMessageInit) wifi_config__init, + wifi_promiscuous_pkt__field_descriptors, + wifi_promiscuous_pkt__field_indices_by_name, + 1, wifi_promiscuous_pkt__number_ranges, + (ProtobufCMessageInit) wifi_promiscuous_pkt__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_sta_info__field_descriptors[3] = +static const ProtobufCFieldDescriptor wifi_promiscuous_filter__field_descriptors[1] = { { - "mac", + "filter_mask", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaInfo, mac), + offsetof(WifiPromiscuousFilter, filter_mask), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_promiscuous_filter__field_indices_by_name[] = { + 0, /* field[0] = filter_mask */ +}; +static const ProtobufCIntRange wifi_promiscuous_filter__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_promiscuous_filter__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_promiscuous_filter", + "WifiPromiscuousFilter", + "WifiPromiscuousFilter", + "", + sizeof(WifiPromiscuousFilter), + 1, + wifi_promiscuous_filter__field_descriptors, + wifi_promiscuous_filter__field_indices_by_name, + 1, wifi_promiscuous_filter__number_ranges, + (ProtobufCMessageInit) wifi_promiscuous_filter__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_csi_config__field_descriptors[7] = +{ + { + "lltf_en", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, lltf_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "htltf_en", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, htltf_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stbc_htltf2_en", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, stbc_htltf2_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ltf_merge_en", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, ltf_merge_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "channel_filter_en", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, channel_filter_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", - 2, + "manu_scale", + 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiStaInfo, rssi), + offsetof(WifiCsiConfig, manu_scale), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bitmask", - 3, + "shift", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiStaInfo, bitmask), + offsetof(WifiCsiConfig, shift), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_sta_info__field_indices_by_name[] = { - 2, /* field[2] = bitmask */ - 0, /* field[0] = mac */ - 1, /* field[1] = rssi */ +static const unsigned wifi_csi_config__field_indices_by_name[] = { + 4, /* field[4] = channel_filter_en */ + 1, /* field[1] = htltf_en */ + 0, /* field[0] = lltf_en */ + 3, /* field[3] = ltf_merge_en */ + 5, /* field[5] = manu_scale */ + 6, /* field[6] = shift */ + 2, /* field[2] = stbc_htltf2_en */ }; -static const ProtobufCIntRange wifi_sta_info__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_csi_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 7 } }; -const ProtobufCMessageDescriptor wifi_sta_info__descriptor = +const ProtobufCMessageDescriptor wifi_csi_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_sta_info", - "WifiStaInfo", - "WifiStaInfo", + "wifi_csi_config", + "WifiCsiConfig", + "WifiCsiConfig", "", - sizeof(WifiStaInfo), - 3, - wifi_sta_info__field_descriptors, - wifi_sta_info__field_indices_by_name, - 1, wifi_sta_info__number_ranges, - (ProtobufCMessageInit) wifi_sta_info__init, + sizeof(WifiCsiConfig), + 7, + wifi_csi_config__field_descriptors, + wifi_csi_config__field_indices_by_name, + 1, wifi_csi_config__number_ranges, + (ProtobufCMessageInit) wifi_csi_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_sta_list__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_csi_info__field_descriptors[6] = { { - "sta", + "rx_ctrl", 1, - PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiStaList, n_sta), - offsetof(WifiStaList, sta), - &wifi_sta_info__descriptor, + 0, /* quantifier_offset */ + offsetof(WifiCsiInfo, rx_ctrl), + &wifi_pkt_rx_ctrl__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "num", + "mac", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiStaList, num), + offsetof(WifiCsiInfo, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_sta_list__field_indices_by_name[] = { - 1, /* field[1] = num */ - 0, /* field[0] = sta */ -}; -static const ProtobufCIntRange wifi_sta_list__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_sta_list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_sta_list", - "WifiStaList", - "WifiStaList", - "", - sizeof(WifiStaList), - 2, - wifi_sta_list__field_descriptors, - wifi_sta_list__field_indices_by_name, - 1, wifi_sta_list__number_ranges, - (ProtobufCMessageInit) wifi_sta_list__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_pkt_rx_ctrl__field_descriptors[19] = -{ { - "rssi", - 1, + "dmac", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rssi), + offsetof(WifiCsiInfo, dmac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rate", - 2, + "first_word_invalid", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rate), + offsetof(WifiCsiInfo, first_word_invalid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sig_mode", - 3, + "buf", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sig_mode), + offsetof(WifiCsiInfo, buf), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mcs", - 4, + "len", + 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, mcs), + offsetof(WifiCsiInfo, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_csi_info__field_indices_by_name[] = { + 4, /* field[4] = buf */ + 2, /* field[2] = dmac */ + 3, /* field[3] = first_word_invalid */ + 5, /* field[5] = len */ + 1, /* field[1] = mac */ + 0, /* field[0] = rx_ctrl */ +}; +static const ProtobufCIntRange wifi_csi_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wifi_csi_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_csi_info", + "WifiCsiInfo", + "WifiCsiInfo", + "", + sizeof(WifiCsiInfo), + 6, + wifi_csi_info__field_descriptors, + wifi_csi_info__field_indices_by_name, + 1, wifi_csi_info__number_ranges, + (ProtobufCMessageInit) wifi_csi_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_ant_gpio__field_descriptors[2] = +{ { - "cwb", - 5, + "gpio_select", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, cwb), + offsetof(WifiAntGpio, gpio_select), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "smoothing", - 6, + "gpio_num", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, smoothing), + offsetof(WifiAntGpio, gpio_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_ant_gpio__field_indices_by_name[] = { + 1, /* field[1] = gpio_num */ + 0, /* field[0] = gpio_select */ +}; +static const ProtobufCIntRange wifi_ant_gpio__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_ant_gpio__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_ant_gpio", + "WifiAntGpio", + "WifiAntGpio", + "", + sizeof(WifiAntGpio), + 2, + wifi_ant_gpio__field_descriptors, + wifi_ant_gpio__field_indices_by_name, + 1, wifi_ant_gpio__number_ranges, + (ProtobufCMessageInit) wifi_ant_gpio__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_ant_gpio_config__field_descriptors[1] = +{ + { + "gpio_cfgs", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiAntGpioConfig, n_gpio_cfgs), + offsetof(WifiAntGpioConfig, gpio_cfgs), + &wifi_ant_gpio__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_ant_gpio_config__field_indices_by_name[] = { + 0, /* field[0] = gpio_cfgs */ +}; +static const ProtobufCIntRange wifi_ant_gpio_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_ant_gpio_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_ant_gpio_config", + "WifiAntGpioConfig", + "WifiAntGpioConfig", + "", + sizeof(WifiAntGpioConfig), + 1, + wifi_ant_gpio_config__field_descriptors, + wifi_ant_gpio_config__field_indices_by_name, + 1, wifi_ant_gpio_config__number_ranges, + (ProtobufCMessageInit) wifi_ant_gpio_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_ant_config__field_descriptors[5] = +{ + { + "rx_ant_mode", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiAntConfig, rx_ant_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "not_sounding", - 7, + "rx_ant_default", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, not_sounding), + offsetof(WifiAntConfig, rx_ant_default), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aggregation", - 8, + "tx_ant_mode", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, aggregation), + offsetof(WifiAntConfig, tx_ant_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "stbc", - 9, + "enabled_ant0", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, stbc), + offsetof(WifiAntConfig, enabled_ant0), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "fec_coding", - 10, + "enabled_ant1", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, fec_coding), + offsetof(WifiAntConfig, enabled_ant1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_ant_config__field_indices_by_name[] = { + 3, /* field[3] = enabled_ant0 */ + 4, /* field[4] = enabled_ant1 */ + 1, /* field[1] = rx_ant_default */ + 0, /* field[0] = rx_ant_mode */ + 2, /* field[2] = tx_ant_mode */ +}; +static const ProtobufCIntRange wifi_ant_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wifi_ant_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_ant_config", + "WifiAntConfig", + "WifiAntConfig", + "", + sizeof(WifiAntConfig), + 5, + wifi_ant_config__field_descriptors, + wifi_ant_config__field_indices_by_name, + 1, wifi_ant_config__number_ranges, + (ProtobufCMessageInit) wifi_ant_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_action_tx_req__field_descriptors[5] = +{ { - "sgi", - 11, + "ifx", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sgi), + offsetof(WifiActionTxReq, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "noise_floor", - 12, + "dest_mac", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, noise_floor), + offsetof(WifiActionTxReq, dest_mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ampdu_cnt", - 13, + "no_ack", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, ampdu_cnt), + offsetof(WifiActionTxReq, no_ack), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", - 14, + "data_len", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, channel), + offsetof(WifiActionTxReq, data_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "secondary_channel", - 15, + "data", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, secondary_channel), + offsetof(WifiActionTxReq, data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_action_tx_req__field_indices_by_name[] = { + 4, /* field[4] = data */ + 3, /* field[3] = data_len */ + 1, /* field[1] = dest_mac */ + 0, /* field[0] = ifx */ + 2, /* field[2] = no_ack */ +}; +static const ProtobufCIntRange wifi_action_tx_req__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wifi_action_tx_req__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_action_tx_req", + "WifiActionTxReq", + "WifiActionTxReq", + "", + sizeof(WifiActionTxReq), + 5, + wifi_action_tx_req__field_descriptors, + wifi_action_tx_req__field_indices_by_name, + 1, wifi_action_tx_req__number_ranges, + (ProtobufCMessageInit) wifi_action_tx_req__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_ftm_initiator_cfg__field_descriptors[4] = +{ { - "timestamp", - 16, + "resp_mac", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, timestamp), + offsetof(WifiFtmInitiatorCfg, resp_mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ant", - 17, + "channel", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, ant), + offsetof(WifiFtmInitiatorCfg, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sig_len", - 18, + "frm_count", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sig_len), + offsetof(WifiFtmInitiatorCfg, frm_count), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_state", - 19, + "burst_period", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rx_state), + offsetof(WifiFtmInitiatorCfg, burst_period), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_pkt_rx_ctrl__field_indices_by_name[] = { - 7, /* field[7] = aggregation */ - 12, /* field[12] = ampdu_cnt */ - 16, /* field[16] = ant */ - 13, /* field[13] = channel */ - 4, /* field[4] = cwb */ - 9, /* field[9] = fec_coding */ - 3, /* field[3] = mcs */ - 11, /* field[11] = noise_floor */ - 6, /* field[6] = not_sounding */ - 1, /* field[1] = rate */ - 0, /* field[0] = rssi */ - 18, /* field[18] = rx_state */ - 14, /* field[14] = secondary_channel */ - 10, /* field[10] = sgi */ - 17, /* field[17] = sig_len */ - 2, /* field[2] = sig_mode */ - 5, /* field[5] = smoothing */ - 8, /* field[8] = stbc */ - 15, /* field[15] = timestamp */ +static const unsigned wifi_ftm_initiator_cfg__field_indices_by_name[] = { + 3, /* field[3] = burst_period */ + 1, /* field[1] = channel */ + 2, /* field[2] = frm_count */ + 0, /* field[0] = resp_mac */ }; -static const ProtobufCIntRange wifi_pkt_rx_ctrl__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ftm_initiator_cfg__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 19 } + { 0, 4 } }; -const ProtobufCMessageDescriptor wifi_pkt_rx_ctrl__descriptor = +const ProtobufCMessageDescriptor wifi_ftm_initiator_cfg__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_pkt_rx_ctrl", - "WifiPktRxCtrl", - "WifiPktRxCtrl", + "wifi_ftm_initiator_cfg", + "WifiFtmInitiatorCfg", + "WifiFtmInitiatorCfg", "", - sizeof(WifiPktRxCtrl), - 19, - wifi_pkt_rx_ctrl__field_descriptors, - wifi_pkt_rx_ctrl__field_indices_by_name, - 1, wifi_pkt_rx_ctrl__number_ranges, - (ProtobufCMessageInit) wifi_pkt_rx_ctrl__init, + sizeof(WifiFtmInitiatorCfg), + 4, + wifi_ftm_initiator_cfg__field_descriptors, + wifi_ftm_initiator_cfg__field_indices_by_name, + 1, wifi_ftm_initiator_cfg__number_ranges, + (ProtobufCMessageInit) wifi_ftm_initiator_cfg__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_promiscuous_pkt__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_sta_scan_done__field_descriptors[3] = { { - "rx_ctrl", + "status", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPromiscuousPkt, rx_ctrl), - &wifi_pkt_rx_ctrl__descriptor, + offsetof(WifiEventStaScanDone, status), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "payload", + "number", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPromiscuousPkt, payload), + offsetof(WifiEventStaScanDone, number), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_promiscuous_pkt__field_indices_by_name[] = { - 1, /* field[1] = payload */ - 0, /* field[0] = rx_ctrl */ -}; -static const ProtobufCIntRange wifi_promiscuous_pkt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_promiscuous_pkt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_promiscuous_pkt", - "WifiPromiscuousPkt", - "WifiPromiscuousPkt", - "", - sizeof(WifiPromiscuousPkt), - 2, - wifi_promiscuous_pkt__field_descriptors, - wifi_promiscuous_pkt__field_indices_by_name, - 1, wifi_promiscuous_pkt__number_ranges, - (ProtobufCMessageInit) wifi_promiscuous_pkt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_promiscuous_filter__field_descriptors[1] = -{ { - "filter_mask", - 1, + "scan_id", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPromiscuousFilter, filter_mask), + offsetof(WifiEventStaScanDone, scan_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_promiscuous_filter__field_indices_by_name[] = { - 0, /* field[0] = filter_mask */ +static const unsigned wifi_event_sta_scan_done__field_indices_by_name[] = { + 1, /* field[1] = number */ + 2, /* field[2] = scan_id */ + 0, /* field[0] = status */ }; -static const ProtobufCIntRange wifi_promiscuous_filter__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_scan_done__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor wifi_promiscuous_filter__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_promiscuous_filter", - "WifiPromiscuousFilter", - "WifiPromiscuousFilter", +const ProtobufCMessageDescriptor wifi_event_sta_scan_done__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_sta_scan_done", + "WifiEventStaScanDone", + "WifiEventStaScanDone", "", - sizeof(WifiPromiscuousFilter), - 1, - wifi_promiscuous_filter__field_descriptors, - wifi_promiscuous_filter__field_indices_by_name, - 1, wifi_promiscuous_filter__number_ranges, - (ProtobufCMessageInit) wifi_promiscuous_filter__init, + sizeof(WifiEventStaScanDone), + 3, + wifi_event_sta_scan_done__field_descriptors, + wifi_event_sta_scan_done__field_indices_by_name, + 1, wifi_event_sta_scan_done__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_scan_done__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_csi_config__field_descriptors[7] = +static const ProtobufCFieldDescriptor wifi_event_sta_connected__field_descriptors[6] = { { - "lltf_en", + "ssid", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, lltf_en), + offsetof(WifiEventStaConnected, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "htltf_en", + "ssid_len", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, htltf_en), + offsetof(WifiEventStaConnected, ssid_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "stbc_htltf2_en", + "bssid", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, stbc_htltf2_en), + offsetof(WifiEventStaConnected, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ltf_merge_en", + "channel", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, ltf_merge_en), + offsetof(WifiEventStaConnected, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel_filter_en", + "authmode", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, channel_filter_en), + offsetof(WifiEventStaConnected, authmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "manu_scale", + "aid", 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, manu_scale), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "shift", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, shift), + offsetof(WifiEventStaConnected, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_csi_config__field_indices_by_name[] = { - 4, /* field[4] = channel_filter_en */ - 1, /* field[1] = htltf_en */ - 0, /* field[0] = lltf_en */ - 3, /* field[3] = ltf_merge_en */ - 5, /* field[5] = manu_scale */ - 6, /* field[6] = shift */ - 2, /* field[2] = stbc_htltf2_en */ +static const unsigned wifi_event_sta_connected__field_indices_by_name[] = { + 5, /* field[5] = aid */ + 4, /* field[4] = authmode */ + 2, /* field[2] = bssid */ + 3, /* field[3] = channel */ + 0, /* field[0] = ssid */ + 1, /* field[1] = ssid_len */ }; -static const ProtobufCIntRange wifi_csi_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_connected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 6 } }; -const ProtobufCMessageDescriptor wifi_csi_config__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_connected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_csi_config", - "WifiCsiConfig", - "WifiCsiConfig", + "wifi_event_sta_connected", + "WifiEventStaConnected", + "WifiEventStaConnected", "", - sizeof(WifiCsiConfig), - 7, - wifi_csi_config__field_descriptors, - wifi_csi_config__field_indices_by_name, - 1, wifi_csi_config__number_ranges, - (ProtobufCMessageInit) wifi_csi_config__init, + sizeof(WifiEventStaConnected), + 6, + wifi_event_sta_connected__field_descriptors, + wifi_event_sta_connected__field_indices_by_name, + 1, wifi_event_sta_connected__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_connected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_csi_info__field_descriptors[6] = +static const ProtobufCFieldDescriptor wifi_event_sta_disconnected__field_descriptors[5] = { { - "rx_ctrl", + "ssid", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, rx_ctrl), - &wifi_pkt_rx_ctrl__descriptor, + offsetof(WifiEventStaDisconnected, ssid), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "ssid_len", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, mac), + offsetof(WifiEventStaDisconnected, ssid_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dmac", + "bssid", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, dmac), + offsetof(WifiEventStaDisconnected, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "first_word_invalid", + "reason", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, first_word_invalid), + offsetof(WifiEventStaDisconnected, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "buf", + "rssi", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, buf), + offsetof(WifiEventStaDisconnected, rssi), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_event_sta_disconnected__field_indices_by_name[] = { + 2, /* field[2] = bssid */ + 3, /* field[3] = reason */ + 4, /* field[4] = rssi */ + 0, /* field[0] = ssid */ + 1, /* field[1] = ssid_len */ +}; +static const ProtobufCIntRange wifi_event_sta_disconnected__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wifi_event_sta_disconnected__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_sta_disconnected", + "WifiEventStaDisconnected", + "WifiEventStaDisconnected", + "", + sizeof(WifiEventStaDisconnected), + 5, + wifi_event_sta_disconnected__field_descriptors, + wifi_event_sta_disconnected__field_indices_by_name, + 1, wifi_event_sta_disconnected__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_disconnected__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_sta_authmode_change__field_descriptors[2] = +{ + { + "old_mode", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaAuthmodeChange, old_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "len", - 6, + "new_mode", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, len), + offsetof(WifiEventStaAuthmodeChange, new_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_csi_info__field_indices_by_name[] = { - 4, /* field[4] = buf */ - 2, /* field[2] = dmac */ - 3, /* field[3] = first_word_invalid */ - 5, /* field[5] = len */ - 1, /* field[1] = mac */ - 0, /* field[0] = rx_ctrl */ +static const unsigned wifi_event_sta_authmode_change__field_indices_by_name[] = { + 1, /* field[1] = new_mode */ + 0, /* field[0] = old_mode */ }; -static const ProtobufCIntRange wifi_csi_info__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_authmode_change__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_csi_info__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_authmode_change__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_csi_info", - "WifiCsiInfo", - "WifiCsiInfo", + "wifi_event_sta_authmode_change", + "WifiEventStaAuthmodeChange", + "WifiEventStaAuthmodeChange", "", - sizeof(WifiCsiInfo), - 6, - wifi_csi_info__field_descriptors, - wifi_csi_info__field_indices_by_name, - 1, wifi_csi_info__number_ranges, - (ProtobufCMessageInit) wifi_csi_info__init, + sizeof(WifiEventStaAuthmodeChange), + 2, + wifi_event_sta_authmode_change__field_descriptors, + wifi_event_sta_authmode_change__field_indices_by_name, + 1, wifi_event_sta_authmode_change__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_authmode_change__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_pin__field_descriptors[1] = +{ + { + "pin_code", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(WifiEventStaWpsErPin, pin_code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_event_sta_wps_er_pin__field_indices_by_name[] = { + 0, /* field[0] = pin_code */ +}; +static const ProtobufCIntRange wifi_event_sta_wps_er_pin__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_event_sta_wps_er_pin__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_sta_wps_er_pin", + "WifiEventStaWpsErPin", + "WifiEventStaWpsErPin", + "", + sizeof(WifiEventStaWpsErPin), + 1, + wifi_event_sta_wps_er_pin__field_descriptors, + wifi_event_sta_wps_er_pin__field_indices_by_name, + 1, wifi_event_sta_wps_er_pin__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_wps_er_pin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ant_gpio__field_descriptors[2] = +static const ProtobufCFieldDescriptor ap_cred__field_descriptors[2] = { { - "gpio_select", + "ssid", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiAntGpio, gpio_select), + offsetof(ApCred, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "gpio_num", + "passphrase", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiAntGpio, gpio_num), + offsetof(ApCred, passphrase), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ant_gpio__field_indices_by_name[] = { - 1, /* field[1] = gpio_num */ - 0, /* field[0] = gpio_select */ +static const unsigned ap_cred__field_indices_by_name[] = { + 1, /* field[1] = passphrase */ + 0, /* field[0] = ssid */ }; -static const ProtobufCIntRange wifi_ant_gpio__number_ranges[1 + 1] = +static const ProtobufCIntRange ap_cred__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_ant_gpio__descriptor = +const ProtobufCMessageDescriptor ap_cred__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_gpio", - "WifiAntGpio", - "WifiAntGpio", + "ap_cred", + "ApCred", + "ApCred", "", - sizeof(WifiAntGpio), + sizeof(ApCred), 2, - wifi_ant_gpio__field_descriptors, - wifi_ant_gpio__field_indices_by_name, - 1, wifi_ant_gpio__number_ranges, - (ProtobufCMessageInit) wifi_ant_gpio__init, + ap_cred__field_descriptors, + ap_cred__field_indices_by_name, + 1, ap_cred__number_ranges, + (ProtobufCMessageInit) ap_cred__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ant_gpio_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_success__field_descriptors[2] = { { - "gpio_cfgs", + "ap_cred_cnt", 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaWpsErSuccess, ap_cred_cnt), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ap_creds", + 2, PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiAntGpioConfig, n_gpio_cfgs), - offsetof(WifiAntGpioConfig, gpio_cfgs), - &wifi_ant_gpio__descriptor, + offsetof(WifiEventStaWpsErSuccess, n_ap_creds), + offsetof(WifiEventStaWpsErSuccess, ap_creds), + &ap_cred__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ant_gpio_config__field_indices_by_name[] = { - 0, /* field[0] = gpio_cfgs */ +static const unsigned wifi_event_sta_wps_er_success__field_indices_by_name[] = { + 0, /* field[0] = ap_cred_cnt */ + 1, /* field[1] = ap_creds */ }; -static const ProtobufCIntRange wifi_ant_gpio_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_wps_er_success__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_ant_gpio_config__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_wps_er_success__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_gpio_config", - "WifiAntGpioConfig", - "WifiAntGpioConfig", + "wifi_event_sta_wps_er_success", + "WifiEventStaWpsErSuccess", + "WifiEventStaWpsErSuccess", "", - sizeof(WifiAntGpioConfig), - 1, - wifi_ant_gpio_config__field_descriptors, - wifi_ant_gpio_config__field_indices_by_name, - 1, wifi_ant_gpio_config__number_ranges, - (ProtobufCMessageInit) wifi_ant_gpio_config__init, + sizeof(WifiEventStaWpsErSuccess), + 2, + wifi_event_sta_wps_er_success__field_descriptors, + wifi_event_sta_wps_er_success__field_indices_by_name, + 1, wifi_event_sta_wps_er_success__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_wps_er_success__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ant_config__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_event_ap_probe_req_rx__field_descriptors[2] = { { - "rx_ant_mode", + "rssi", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, rx_ant_mode), + offsetof(WifiEventApProbeReqRx, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_ant_default", + "mac", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, rx_ant_default), + offsetof(WifiEventApProbeReqRx, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_ap_probe_req_rx__field_indices_by_name[] = { + 1, /* field[1] = mac */ + 0, /* field[0] = rssi */ +}; +static const ProtobufCIntRange wifi_event_ap_probe_req_rx__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_event_ap_probe_req_rx__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_ap_probe_req_rx", + "WifiEventApProbeReqRx", + "WifiEventApProbeReqRx", + "", + sizeof(WifiEventApProbeReqRx), + 2, + wifi_event_ap_probe_req_rx__field_descriptors, + wifi_event_ap_probe_req_rx__field_indices_by_name, + 1, wifi_event_ap_probe_req_rx__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_probe_req_rx__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_bss_rssi_low__field_descriptors[1] = +{ { - "tx_ant_mode", - 3, + "rssi", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, tx_ant_mode), + offsetof(WifiEventBssRssiLow, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_bss_rssi_low__field_indices_by_name[] = { + 0, /* field[0] = rssi */ +}; +static const ProtobufCIntRange wifi_event_bss_rssi_low__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_event_bss_rssi_low__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_bss_rssi_low", + "WifiEventBssRssiLow", + "WifiEventBssRssiLow", + "", + sizeof(WifiEventBssRssiLow), + 1, + wifi_event_bss_rssi_low__field_descriptors, + wifi_event_bss_rssi_low__field_indices_by_name, + 1, wifi_event_bss_rssi_low__number_ranges, + (ProtobufCMessageInit) wifi_event_bss_rssi_low__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_ftm_report_entry__field_descriptors[7] = +{ { - "enabled_ant0", - 4, + "dlog_token", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, enabled_ant0), + offsetof(WifiFtmReportEntry, dlog_token), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "enabled_ant1", - 5, + "rssi", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, enabled_ant1), + offsetof(WifiFtmReportEntry, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_ant_config__field_indices_by_name[] = { - 3, /* field[3] = enabled_ant0 */ - 4, /* field[4] = enabled_ant1 */ - 1, /* field[1] = rx_ant_default */ - 0, /* field[0] = rx_ant_mode */ - 2, /* field[2] = tx_ant_mode */ -}; -static const ProtobufCIntRange wifi_ant_config__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor wifi_ant_config__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_config", - "WifiAntConfig", - "WifiAntConfig", - "", - sizeof(WifiAntConfig), - 5, - wifi_ant_config__field_descriptors, - wifi_ant_config__field_indices_by_name, - 1, wifi_ant_config__number_ranges, - (ProtobufCMessageInit) wifi_ant_config__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_action_tx_req__field_descriptors[5] = -{ { - "ifx", - 1, + "rtt", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, ifx), + offsetof(WifiFtmReportEntry, rtt), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dest_mac", - 2, + "t1", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, dest_mac), + offsetof(WifiFtmReportEntry, t1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "no_ack", - 3, + "t2", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, no_ack), + offsetof(WifiFtmReportEntry, t2), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "data_len", - 4, + "t3", + 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, data_len), + offsetof(WifiFtmReportEntry, t3), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "data", - 5, + "t4", + 7, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, data), + offsetof(WifiFtmReportEntry, t4), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_action_tx_req__field_indices_by_name[] = { - 4, /* field[4] = data */ - 3, /* field[3] = data_len */ - 1, /* field[1] = dest_mac */ - 0, /* field[0] = ifx */ - 2, /* field[2] = no_ack */ +static const unsigned wifi_ftm_report_entry__field_indices_by_name[] = { + 0, /* field[0] = dlog_token */ + 1, /* field[1] = rssi */ + 2, /* field[2] = rtt */ + 3, /* field[3] = t1 */ + 4, /* field[4] = t2 */ + 5, /* field[5] = t3 */ + 6, /* field[6] = t4 */ }; -static const ProtobufCIntRange wifi_action_tx_req__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ftm_report_entry__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 7 } }; -const ProtobufCMessageDescriptor wifi_action_tx_req__descriptor = +const ProtobufCMessageDescriptor wifi_ftm_report_entry__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_action_tx_req", - "WifiActionTxReq", - "WifiActionTxReq", + "wifi_ftm_report_entry", + "WifiFtmReportEntry", + "WifiFtmReportEntry", "", - sizeof(WifiActionTxReq), - 5, - wifi_action_tx_req__field_descriptors, - wifi_action_tx_req__field_indices_by_name, - 1, wifi_action_tx_req__number_ranges, - (ProtobufCMessageInit) wifi_action_tx_req__init, + sizeof(WifiFtmReportEntry), + 7, + wifi_ftm_report_entry__field_descriptors, + wifi_ftm_report_entry__field_indices_by_name, + 1, wifi_ftm_report_entry__number_ranges, + (ProtobufCMessageInit) wifi_ftm_report_entry__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ftm_initiator_cfg__field_descriptors[4] = +static const ProtobufCFieldDescriptor wifi_event_ftm_report__field_descriptors[7] = { { - "resp_mac", + "peer_mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, resp_mac), + offsetof(WifiEventFtmReport, peer_mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "status", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, channel), + offsetof(WifiEventFtmReport, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "frm_count", + "rtt_raw", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, frm_count), + offsetof(WifiEventFtmReport, rtt_raw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "burst_period", + "rtt_est", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, burst_period), + offsetof(WifiEventFtmReport, rtt_est), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_ftm_initiator_cfg__field_indices_by_name[] = { - 3, /* field[3] = burst_period */ - 1, /* field[1] = channel */ - 2, /* field[2] = frm_count */ - 0, /* field[0] = resp_mac */ -}; -static const ProtobufCIntRange wifi_ftm_initiator_cfg__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor wifi_ftm_initiator_cfg__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ftm_initiator_cfg", - "WifiFtmInitiatorCfg", - "WifiFtmInitiatorCfg", - "", - sizeof(WifiFtmInitiatorCfg), - 4, - wifi_ftm_initiator_cfg__field_descriptors, - wifi_ftm_initiator_cfg__field_indices_by_name, - 1, wifi_ftm_initiator_cfg__number_ranges, - (ProtobufCMessageInit) wifi_ftm_initiator_cfg__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_event_sta_scan_done__field_descriptors[3] = -{ { - "status", - 1, + "dist_est", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, status), + offsetof(WifiEventFtmReport, dist_est), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "number", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, number), - NULL, + "ftm_report_data", + 6, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiEventFtmReport, n_ftm_report_data), + offsetof(WifiEventFtmReport, ftm_report_data), + &wifi_ftm_report_entry__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "scan_id", - 3, + "ftm_report_num_entries", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, scan_id), + offsetof(WifiEventFtmReport, ftm_report_num_entries), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_scan_done__field_indices_by_name[] = { - 1, /* field[1] = number */ - 2, /* field[2] = scan_id */ - 0, /* field[0] = status */ +static const unsigned wifi_event_ftm_report__field_indices_by_name[] = { + 4, /* field[4] = dist_est */ + 5, /* field[5] = ftm_report_data */ + 6, /* field[6] = ftm_report_num_entries */ + 0, /* field[0] = peer_mac */ + 3, /* field[3] = rtt_est */ + 2, /* field[2] = rtt_raw */ + 1, /* field[1] = status */ }; -static const ProtobufCIntRange wifi_event_sta_scan_done__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ftm_report__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 7 } }; -const ProtobufCMessageDescriptor wifi_event_sta_scan_done__descriptor = +const ProtobufCMessageDescriptor wifi_event_ftm_report__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_scan_done", - "WifiEventStaScanDone", - "WifiEventStaScanDone", + "wifi_event_ftm_report", + "WifiEventFtmReport", + "WifiEventFtmReport", "", - sizeof(WifiEventStaScanDone), - 3, - wifi_event_sta_scan_done__field_descriptors, - wifi_event_sta_scan_done__field_indices_by_name, - 1, wifi_event_sta_scan_done__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_scan_done__init, + sizeof(WifiEventFtmReport), + 7, + wifi_event_ftm_report__field_descriptors, + wifi_event_ftm_report__field_indices_by_name, + 1, wifi_event_ftm_report__number_ranges, + (ProtobufCMessageInit) wifi_event_ftm_report__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_connected__field_descriptors[6] = +static const ProtobufCFieldDescriptor wifi_event_action_tx_status__field_descriptors[4] = { { - "ssid", + "ifx", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, ssid), + offsetof(WifiEventActionTxStatus, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid_len", + "context", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, ssid_len), + offsetof(WifiEventActionTxStatus, context), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid", + "da", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, bssid), + offsetof(WifiEventActionTxStatus, da), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "status", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, channel), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "authmode", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, authmode), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, aid), + offsetof(WifiEventActionTxStatus, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_connected__field_indices_by_name[] = { - 5, /* field[5] = aid */ - 4, /* field[4] = authmode */ - 2, /* field[2] = bssid */ - 3, /* field[3] = channel */ - 0, /* field[0] = ssid */ - 1, /* field[1] = ssid_len */ +static const unsigned wifi_event_action_tx_status__field_indices_by_name[] = { + 1, /* field[1] = context */ + 2, /* field[2] = da */ + 0, /* field[0] = ifx */ + 3, /* field[3] = status */ }; -static const ProtobufCIntRange wifi_event_sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_action_tx_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 4 } }; -const ProtobufCMessageDescriptor wifi_event_sta_connected__descriptor = +const ProtobufCMessageDescriptor wifi_event_action_tx_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_connected", - "WifiEventStaConnected", - "WifiEventStaConnected", + "wifi_event_action_tx_status", + "WifiEventActionTxStatus", + "WifiEventActionTxStatus", "", - sizeof(WifiEventStaConnected), - 6, - wifi_event_sta_connected__field_descriptors, - wifi_event_sta_connected__field_indices_by_name, - 1, wifi_event_sta_connected__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_connected__init, + sizeof(WifiEventActionTxStatus), + 4, + wifi_event_action_tx_status__field_descriptors, + wifi_event_action_tx_status__field_indices_by_name, + 1, wifi_event_action_tx_status__number_ranges, + (ProtobufCMessageInit) wifi_event_action_tx_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_disconnected__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_event_roc_done__field_descriptors[1] = { { - "ssid", + "context", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, ssid), + offsetof(WifiEventRocDone, context), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_roc_done__field_indices_by_name[] = { + 0, /* field[0] = context */ +}; +static const ProtobufCIntRange wifi_event_roc_done__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_event_roc_done__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_roc_done", + "WifiEventRocDone", + "WifiEventRocDone", + "", + sizeof(WifiEventRocDone), + 1, + wifi_event_roc_done__field_descriptors, + wifi_event_roc_done__field_indices_by_name, + 1, wifi_event_roc_done__number_ranges, + (ProtobufCMessageInit) wifi_event_roc_done__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_pin__field_descriptors[1] = +{ { - "ssid_len", - 2, + "pin_code", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, ssid_len), + offsetof(WifiEventApWpsRgPin, pin_code), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_ap_wps_rg_pin__field_indices_by_name[] = { + 0, /* field[0] = pin_code */ +}; +static const ProtobufCIntRange wifi_event_ap_wps_rg_pin__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_pin__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_ap_wps_rg_pin", + "WifiEventApWpsRgPin", + "WifiEventApWpsRgPin", + "", + sizeof(WifiEventApWpsRgPin), + 1, + wifi_event_ap_wps_rg_pin__field_descriptors, + wifi_event_ap_wps_rg_pin__field_indices_by_name, + 1, wifi_event_ap_wps_rg_pin__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_pin__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_fail_reason__field_descriptors[2] = +{ { - "bssid", - 3, + "reason", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, bssid), + offsetof(WifiEventApWpsRgFailReason, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "reason", - 4, + "peer_macaddr", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, reason), + offsetof(WifiEventApWpsRgFailReason, peer_macaddr), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_ap_wps_rg_fail_reason__field_indices_by_name[] = { + 1, /* field[1] = peer_macaddr */ + 0, /* field[0] = reason */ +}; +static const ProtobufCIntRange wifi_event_ap_wps_rg_fail_reason__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_fail_reason__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_ap_wps_rg_fail_reason", + "WifiEventApWpsRgFailReason", + "WifiEventApWpsRgFailReason", + "", + sizeof(WifiEventApWpsRgFailReason), + 2, + wifi_event_ap_wps_rg_fail_reason__field_descriptors, + wifi_event_ap_wps_rg_fail_reason__field_indices_by_name, + 1, wifi_event_ap_wps_rg_fail_reason__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_fail_reason__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_success__field_descriptors[1] = +{ { - "rssi", - 5, + "peer_macaddr", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, rssi), + offsetof(WifiEventApWpsRgSuccess, peer_macaddr), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_disconnected__field_indices_by_name[] = { - 2, /* field[2] = bssid */ - 3, /* field[3] = reason */ - 4, /* field[4] = rssi */ - 0, /* field[0] = ssid */ - 1, /* field[1] = ssid_len */ +static const unsigned wifi_event_ap_wps_rg_success__field_indices_by_name[] = { + 0, /* field[0] = peer_macaddr */ }; -static const ProtobufCIntRange wifi_event_sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ap_wps_rg_success__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_sta_disconnected__descriptor = +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_success__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_disconnected", - "WifiEventStaDisconnected", - "WifiEventStaDisconnected", + "wifi_event_ap_wps_rg_success", + "WifiEventApWpsRgSuccess", + "WifiEventApWpsRgSuccess", "", - sizeof(WifiEventStaDisconnected), - 5, - wifi_event_sta_disconnected__field_descriptors, - wifi_event_sta_disconnected__field_indices_by_name, - 1, wifi_event_sta_disconnected__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_disconnected__init, + sizeof(WifiEventApWpsRgSuccess), + 1, + wifi_event_ap_wps_rg_success__field_descriptors, + wifi_event_ap_wps_rg_success__field_indices_by_name, + 1, wifi_event_ap_wps_rg_success__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_success__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_authmode_change__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_protocols__field_descriptors[2] = { { - "old_mode", + "ghz_2g", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaAuthmodeChange, old_mode), + offsetof(WifiProtocols, ghz_2g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "new_mode", + "ghz_5g", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaAuthmodeChange, new_mode), + offsetof(WifiProtocols, ghz_5g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_authmode_change__field_indices_by_name[] = { - 1, /* field[1] = new_mode */ - 0, /* field[0] = old_mode */ +static const unsigned wifi_protocols__field_indices_by_name[] = { + 0, /* field[0] = ghz_2g */ + 1, /* field[1] = ghz_5g */ }; -static const ProtobufCIntRange wifi_event_sta_authmode_change__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_protocols__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_sta_authmode_change__descriptor = +const ProtobufCMessageDescriptor wifi_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_authmode_change", - "WifiEventStaAuthmodeChange", - "WifiEventStaAuthmodeChange", + "wifi_protocols", + "WifiProtocols", + "WifiProtocols", "", - sizeof(WifiEventStaAuthmodeChange), + sizeof(WifiProtocols), 2, - wifi_event_sta_authmode_change__field_descriptors, - wifi_event_sta_authmode_change__field_indices_by_name, - 1, wifi_event_sta_authmode_change__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_authmode_change__init, + wifi_protocols__field_descriptors, + wifi_protocols__field_indices_by_name, + 1, wifi_protocols__number_ranges, + (ProtobufCMessageInit) wifi_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_pin__field_descriptors[1] = +static const ProtobufCFieldDescriptor wifi_bandwidths__field_descriptors[2] = { { - "pin_code", + "ghz_2g", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaWpsErPin, pin_code), + offsetof(WifiBandwidths, ghz_2g), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ghz_5g", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiBandwidths, ghz_5g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_wps_er_pin__field_indices_by_name[] = { - 0, /* field[0] = pin_code */ +static const unsigned wifi_bandwidths__field_indices_by_name[] = { + 0, /* field[0] = ghz_2g */ + 1, /* field[1] = ghz_5g */ }; -static const ProtobufCIntRange wifi_event_sta_wps_er_pin__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_sta_wps_er_pin__descriptor = +const ProtobufCMessageDescriptor wifi_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_wps_er_pin", - "WifiEventStaWpsErPin", - "WifiEventStaWpsErPin", + "wifi_bandwidths", + "WifiBandwidths", + "WifiBandwidths", "", - sizeof(WifiEventStaWpsErPin), - 1, - wifi_event_sta_wps_er_pin__field_descriptors, - wifi_event_sta_wps_er_pin__field_indices_by_name, - 1, wifi_event_sta_wps_er_pin__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_wps_er_pin__init, + sizeof(WifiBandwidths), + 2, + wifi_bandwidths__field_descriptors, + wifi_bandwidths__field_indices_by_name, + 1, wifi_bandwidths__number_ranges, + (ProtobufCMessageInit) wifi_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor ap_cred__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_itwt_setup_config__field_descriptors[6] = { { - "ssid", + "setup_cmd", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(ApCred, ssid), + offsetof(WifiItwtSetupConfig, setup_cmd), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "passphrase", + "bitmask_1", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(ApCred, passphrase), + offsetof(WifiItwtSetupConfig, bitmask_1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "min_wake_dura", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiItwtSetupConfig, min_wake_dura), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned ap_cred__field_indices_by_name[] = { - 1, /* field[1] = passphrase */ - 0, /* field[0] = ssid */ -}; -static const ProtobufCIntRange ap_cred__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor ap_cred__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ap_cred", - "ApCred", - "ApCred", - "", - sizeof(ApCred), - 2, - ap_cred__field_descriptors, - ap_cred__field_indices_by_name, - 1, ap_cred__number_ranges, - (ProtobufCMessageInit) ap_cred__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_success__field_descriptors[2] = -{ { - "ap_cred_cnt", - 1, + "wake_invl_mant", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaWpsErSuccess, ap_cred_cnt), + offsetof(WifiItwtSetupConfig, wake_invl_mant), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ap_creds", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiEventStaWpsErSuccess, n_ap_creds), - offsetof(WifiEventStaWpsErSuccess, ap_creds), - &ap_cred__descriptor, + "twt_id", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiItwtSetupConfig, twt_id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timeout_time_ms", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiItwtSetupConfig, timeout_time_ms), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_wps_er_success__field_indices_by_name[] = { - 0, /* field[0] = ap_cred_cnt */ - 1, /* field[1] = ap_creds */ +static const unsigned wifi_itwt_setup_config__field_indices_by_name[] = { + 1, /* field[1] = bitmask_1 */ + 2, /* field[2] = min_wake_dura */ + 0, /* field[0] = setup_cmd */ + 5, /* field[5] = timeout_time_ms */ + 4, /* field[4] = twt_id */ + 3, /* field[3] = wake_invl_mant */ }; -static const ProtobufCIntRange wifi_event_sta_wps_er_success__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_itwt_setup_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 6 } }; -const ProtobufCMessageDescriptor wifi_event_sta_wps_er_success__descriptor = +const ProtobufCMessageDescriptor wifi_itwt_setup_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_wps_er_success", - "WifiEventStaWpsErSuccess", - "WifiEventStaWpsErSuccess", + "wifi_itwt_setup_config", + "WifiItwtSetupConfig", + "WifiItwtSetupConfig", "", - sizeof(WifiEventStaWpsErSuccess), - 2, - wifi_event_sta_wps_er_success__field_descriptors, - wifi_event_sta_wps_er_success__field_indices_by_name, - 1, wifi_event_sta_wps_er_success__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_wps_er_success__init, + sizeof(WifiItwtSetupConfig), + 6, + wifi_itwt_setup_config__field_descriptors, + wifi_itwt_setup_config__field_indices_by_name, + 1, wifi_itwt_setup_config__number_ranges, + (ProtobufCMessageInit) wifi_itwt_setup_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_probe_req_rx__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_twt_config__field_descriptors[2] = { { - "rssi", + "post_wakeup_event", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiEventApProbeReqRx, rssi), + offsetof(WifiTwtConfig, post_wakeup_event), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "twt_enable_keep_alive", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiEventApProbeReqRx, mac), + offsetof(WifiTwtConfig, twt_enable_keep_alive), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_probe_req_rx__field_indices_by_name[] = { - 1, /* field[1] = mac */ - 0, /* field[0] = rssi */ +static const unsigned wifi_twt_config__field_indices_by_name[] = { + 0, /* field[0] = post_wakeup_event */ + 1, /* field[1] = twt_enable_keep_alive */ }; -static const ProtobufCIntRange wifi_event_ap_probe_req_rx__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_twt_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ap_probe_req_rx__descriptor = +const ProtobufCMessageDescriptor wifi_twt_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_probe_req_rx", - "WifiEventApProbeReqRx", - "WifiEventApProbeReqRx", + "wifi_twt_config", + "WifiTwtConfig", + "WifiTwtConfig", "", - sizeof(WifiEventApProbeReqRx), + sizeof(WifiTwtConfig), 2, - wifi_event_ap_probe_req_rx__field_descriptors, - wifi_event_ap_probe_req_rx__field_indices_by_name, - 1, wifi_event_ap_probe_req_rx__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_probe_req_rx__init, + wifi_twt_config__field_descriptors, + wifi_twt_config__field_indices_by_name, + 1, wifi_twt_config__number_ranges, + (ProtobufCMessageInit) wifi_twt_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_bss_rssi_low__field_descriptors[1] = +static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = { { - "rssi", + "mac", 1, PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(ConnectedSTAList, mac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rssi", + 2, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventBssRssiLow, rssi), + offsetof(ConnectedSTAList, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_bss_rssi_low__field_indices_by_name[] = { - 0, /* field[0] = rssi */ +static const unsigned connected_stalist__field_indices_by_name[] = { + 0, /* field[0] = mac */ + 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange wifi_event_bss_rssi_low__number_ranges[1 + 1] = +static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_bss_rssi_low__descriptor = +const ProtobufCMessageDescriptor connected_stalist__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_bss_rssi_low", - "WifiEventBssRssiLow", - "WifiEventBssRssiLow", + "ConnectedSTAList", + "ConnectedSTAList", + "ConnectedSTAList", "", - sizeof(WifiEventBssRssiLow), - 1, - wifi_event_bss_rssi_low__field_descriptors, - wifi_event_bss_rssi_low__field_indices_by_name, - 1, wifi_event_bss_rssi_low__number_ranges, - (ProtobufCMessageInit) wifi_event_bss_rssi_low__init, + sizeof(ConnectedSTAList), + 2, + connected_stalist__field_descriptors, + connected_stalist__field_indices_by_name, + 1, connected_stalist__number_ranges, + (ProtobufCMessageInit) connected_stalist__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ftm_report_entry__field_descriptors[7] = +static const ProtobufCFieldDescriptor eap_fast_config__field_descriptors[3] = { { - "dlog_token", + "fast_provisioning", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, dlog_token), + offsetof(EapFastConfig, fast_provisioning), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", + "fast_max_pac_list_len", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, rssi), + offsetof(EapFastConfig, fast_max_pac_list_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rtt", + "fast_pac_format_binary", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, rtt), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "t1", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "t2", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t2), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "t3", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t3), + offsetof(EapFastConfig, fast_pac_format_binary), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned eap_fast_config__field_indices_by_name[] = { + 1, /* field[1] = fast_max_pac_list_len */ + 2, /* field[2] = fast_pac_format_binary */ + 0, /* field[0] = fast_provisioning */ +}; +static const ProtobufCIntRange eap_fast_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor eap_fast_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "eap_fast_config", + "EapFastConfig", + "EapFastConfig", + "", + sizeof(EapFastConfig), + 3, + eap_fast_config__field_descriptors, + eap_fast_config__field_indices_by_name, + 1, eap_fast_config__number_ranges, + (ProtobufCMessageInit) eap_fast_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__get_mac_address__field_descriptors[1] = +{ { - "t4", - 7, + "mode", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t4), + offsetof(RpcReqGetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ftm_report_entry__field_indices_by_name[] = { - 0, /* field[0] = dlog_token */ - 1, /* field[1] = rssi */ - 2, /* field[2] = rtt */ - 3, /* field[3] = t1 */ - 4, /* field[4] = t2 */ - 5, /* field[5] = t3 */ - 6, /* field[6] = t4 */ -}; -static const ProtobufCIntRange wifi_ftm_report_entry__number_ranges[1 + 1] = +static const unsigned rpc__req__get_mac_address__field_indices_by_name[] = { + 0, /* field[0] = mode */ +}; +static const ProtobufCIntRange rpc__req__get_mac_address__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_ftm_report_entry__descriptor = +const ProtobufCMessageDescriptor rpc__req__get_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ftm_report_entry", - "WifiFtmReportEntry", - "WifiFtmReportEntry", + "Rpc_Req_GetMacAddress", + "RpcReqGetMacAddress", + "RpcReqGetMacAddress", "", - sizeof(WifiFtmReportEntry), - 7, - wifi_ftm_report_entry__field_descriptors, - wifi_ftm_report_entry__field_indices_by_name, - 1, wifi_ftm_report_entry__number_ranges, - (ProtobufCMessageInit) wifi_ftm_report_entry__init, + sizeof(RpcReqGetMacAddress), + 1, + rpc__req__get_mac_address__field_descriptors, + rpc__req__get_mac_address__field_indices_by_name, + 1, rpc__req__get_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__req__get_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ftm_report__field_descriptors[7] = +static const ProtobufCFieldDescriptor rpc__resp__get_mac_address__field_descriptors[2] = { { - "peer_mac", + "mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, peer_mac), + offsetof(RpcRespGetMacAddress, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", + "resp", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtt_raw", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, rtt_raw), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtt_est", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, rtt_est), + offsetof(RpcRespGetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__get_mac_address__field_indices_by_name[] = { + 0, /* field[0] = mac */ + 1, /* field[1] = resp */ +}; +static const ProtobufCIntRange rpc__resp__get_mac_address__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__get_mac_address__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_GetMacAddress", + "RpcRespGetMacAddress", + "RpcRespGetMacAddress", + "", + sizeof(RpcRespGetMacAddress), + 2, + rpc__resp__get_mac_address__field_descriptors, + rpc__resp__get_mac_address__field_indices_by_name, + 1, rpc__resp__get_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_mac_address__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__get_mode__field_descriptors NULL +#define rpc__req__get_mode__field_indices_by_name NULL +#define rpc__req__get_mode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GetMode", + "RpcReqGetMode", + "RpcReqGetMode", + "", + sizeof(RpcReqGetMode), + 0, + rpc__req__get_mode__field_descriptors, + rpc__req__get_mode__field_indices_by_name, + 0, rpc__req__get_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__get_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__get_mode__field_descriptors[2] = +{ { - "dist_est", - 5, + "mode", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, dist_est), - NULL, + offsetof(RpcRespGetMode, mode), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ftm_report_data", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiEventFtmReport, n_ftm_report_data), - offsetof(WifiEventFtmReport, ftm_report_data), - &wifi_ftm_report_entry__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ftm_report_num_entries", - 7, + "resp", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, ftm_report_num_entries), + offsetof(RpcRespGetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ftm_report__field_indices_by_name[] = { - 4, /* field[4] = dist_est */ - 5, /* field[5] = ftm_report_data */ - 6, /* field[6] = ftm_report_num_entries */ - 0, /* field[0] = peer_mac */ - 3, /* field[3] = rtt_est */ - 2, /* field[2] = rtt_raw */ - 1, /* field[1] = status */ +static const unsigned rpc__resp__get_mode__field_indices_by_name[] = { + 0, /* field[0] = mode */ + 1, /* field[1] = resp */ }; -static const ProtobufCIntRange wifi_event_ftm_report__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ftm_report__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ftm_report", - "WifiEventFtmReport", - "WifiEventFtmReport", + "Rpc_Resp_GetMode", + "RpcRespGetMode", + "RpcRespGetMode", "", - sizeof(WifiEventFtmReport), - 7, - wifi_event_ftm_report__field_descriptors, - wifi_event_ftm_report__field_indices_by_name, - 1, wifi_event_ftm_report__number_ranges, - (ProtobufCMessageInit) wifi_event_ftm_report__init, + sizeof(RpcRespGetMode), + 2, + rpc__resp__get_mode__field_descriptors, + rpc__resp__get_mode__field_indices_by_name, + 1, rpc__resp__get_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_action_tx_status__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__req__set_mode__field_descriptors[1] = { { - "ifx", + "mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, ifx), + offsetof(RpcReqSetMode, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__set_mode__field_indices_by_name[] = { + 0, /* field[0] = mode */ +}; +static const ProtobufCIntRange rpc__req__set_mode__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__set_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_SetMode", + "RpcReqSetMode", + "RpcReqSetMode", + "", + sizeof(RpcReqSetMode), + 1, + rpc__req__set_mode__field_descriptors, + rpc__req__set_mode__field_indices_by_name, + 1, rpc__req__set_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__set_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] = +{ { - "context", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, context), + offsetof(RpcRespSetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__set_mode__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__set_mode__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__set_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_SetMode", + "RpcRespSetMode", + "RpcRespSetMode", + "", + sizeof(RpcRespSetMode), + 1, + rpc__resp__set_mode__field_descriptors, + rpc__resp__set_mode__field_indices_by_name, + 1, rpc__resp__set_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__get_ps__field_descriptors NULL +#define rpc__req__get_ps__field_indices_by_name NULL +#define rpc__req__get_ps__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_ps__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GetPs", + "RpcReqGetPs", + "RpcReqGetPs", + "", + sizeof(RpcReqGetPs), + 0, + rpc__req__get_ps__field_descriptors, + rpc__req__get_ps__field_indices_by_name, + 0, rpc__req__get_ps__number_ranges, + (ProtobufCMessageInit) rpc__req__get_ps__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__get_ps__field_descriptors[2] = +{ { - "da", - 3, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, da), + offsetof(RpcRespGetPs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", - 4, + "type", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, status), + offsetof(RpcRespGetPs, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_action_tx_status__field_indices_by_name[] = { - 1, /* field[1] = context */ - 2, /* field[2] = da */ - 0, /* field[0] = ifx */ - 3, /* field[3] = status */ +static const unsigned rpc__resp__get_ps__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = type */ }; -static const ProtobufCIntRange wifi_event_action_tx_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_ps__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_action_tx_status__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_action_tx_status", - "WifiEventActionTxStatus", - "WifiEventActionTxStatus", + "Rpc_Resp_GetPs", + "RpcRespGetPs", + "RpcRespGetPs", "", - sizeof(WifiEventActionTxStatus), - 4, - wifi_event_action_tx_status__field_descriptors, - wifi_event_action_tx_status__field_indices_by_name, - 1, wifi_event_action_tx_status__number_ranges, - (ProtobufCMessageInit) wifi_event_action_tx_status__init, + sizeof(RpcRespGetPs), + 2, + rpc__resp__get_ps__field_descriptors, + rpc__resp__get_ps__field_indices_by_name, + 1, rpc__resp__get_ps__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_roc_done__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__set_ps__field_descriptors[1] = { { - "context", + "type", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventRocDone, context), + offsetof(RpcReqSetPs, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_roc_done__field_indices_by_name[] = { - 0, /* field[0] = context */ +static const unsigned rpc__req__set_ps__field_indices_by_name[] = { + 0, /* field[0] = type */ }; -static const ProtobufCIntRange wifi_event_roc_done__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_ps__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_roc_done__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_roc_done", - "WifiEventRocDone", - "WifiEventRocDone", + "Rpc_Req_SetPs", + "RpcReqSetPs", + "RpcReqSetPs", "", - sizeof(WifiEventRocDone), + sizeof(RpcReqSetPs), 1, - wifi_event_roc_done__field_descriptors, - wifi_event_roc_done__field_indices_by_name, - 1, wifi_event_roc_done__number_ranges, - (ProtobufCMessageInit) wifi_event_roc_done__init, + rpc__req__set_ps__field_descriptors, + rpc__req__set_ps__field_indices_by_name, + 1, rpc__req__set_ps__number_ranges, + (ProtobufCMessageInit) rpc__req__set_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_pin__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = { { - "pin_code", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgPin, pin_code), + offsetof(RpcRespSetPs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_pin__field_indices_by_name[] = { - 0, /* field[0] = pin_code */ +static const unsigned rpc__resp__set_ps__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_pin__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_ps__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_pin__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_pin", - "WifiEventApWpsRgPin", - "WifiEventApWpsRgPin", + "Rpc_Resp_SetPs", + "RpcRespSetPs", + "RpcRespSetPs", "", - sizeof(WifiEventApWpsRgPin), + sizeof(RpcRespSetPs), 1, - wifi_event_ap_wps_rg_pin__field_descriptors, - wifi_event_ap_wps_rg_pin__field_indices_by_name, - 1, wifi_event_ap_wps_rg_pin__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_pin__init, + rpc__resp__set_ps__field_descriptors, + rpc__resp__set_ps__field_indices_by_name, + 1, rpc__resp__set_ps__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_fail_reason__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__set_mac_address__field_descriptors[2] = { { - "reason", + "mac", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgFailReason, reason), + offsetof(RpcReqSetMacAddress, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "peer_macaddr", + "mode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgFailReason, peer_macaddr), + offsetof(RpcReqSetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_fail_reason__field_indices_by_name[] = { - 1, /* field[1] = peer_macaddr */ - 0, /* field[0] = reason */ +static const unsigned rpc__req__set_mac_address__field_indices_by_name[] = { + 0, /* field[0] = mac */ + 1, /* field[1] = mode */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_fail_reason__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_fail_reason__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_fail_reason", - "WifiEventApWpsRgFailReason", - "WifiEventApWpsRgFailReason", + "Rpc_Req_SetMacAddress", + "RpcReqSetMacAddress", + "RpcReqSetMacAddress", "", - sizeof(WifiEventApWpsRgFailReason), + sizeof(RpcReqSetMacAddress), 2, - wifi_event_ap_wps_rg_fail_reason__field_descriptors, - wifi_event_ap_wps_rg_fail_reason__field_indices_by_name, - 1, wifi_event_ap_wps_rg_fail_reason__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_fail_reason__init, + rpc__req__set_mac_address__field_descriptors, + rpc__req__set_mac_address__field_indices_by_name, + 1, rpc__req__set_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__req__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_success__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descriptors[1] = { { - "peer_macaddr", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgSuccess, peer_macaddr), + offsetof(RpcRespSetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_success__field_indices_by_name[] = { - 0, /* field[0] = peer_macaddr */ +static const unsigned rpc__resp__set_mac_address__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_success__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_success__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_success", - "WifiEventApWpsRgSuccess", - "WifiEventApWpsRgSuccess", + "Rpc_Resp_SetMacAddress", + "RpcRespSetMacAddress", + "RpcRespSetMacAddress", "", - sizeof(WifiEventApWpsRgSuccess), + sizeof(RpcRespSetMacAddress), 1, - wifi_event_ap_wps_rg_success__field_descriptors, - wifi_event_ap_wps_rg_success__field_indices_by_name, - 1, wifi_event_ap_wps_rg_success__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_success__init, + rpc__resp__set_mac_address__field_descriptors, + rpc__resp__set_mac_address__field_indices_by_name, + 1, rpc__resp__set_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_protocols__field_descriptors[2] = -{ - { - "ghz_2g", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiProtocols, ghz_2g), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ghz_5g", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiProtocols, ghz_5g), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wifi_protocols__field_indices_by_name[] = { - 0, /* field[0] = ghz_2g */ - 1, /* field[1] = ghz_5g */ -}; -static const ProtobufCIntRange wifi_protocols__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_protocols__descriptor = +#define rpc__req__otabegin__field_descriptors NULL +#define rpc__req__otabegin__field_indices_by_name NULL +#define rpc__req__otabegin__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__otabegin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_protocols", - "WifiProtocols", - "WifiProtocols", + "Rpc_Req_OTABegin", + "RpcReqOTABegin", + "RpcReqOTABegin", "", - sizeof(WifiProtocols), - 2, - wifi_protocols__field_descriptors, - wifi_protocols__field_indices_by_name, - 1, wifi_protocols__number_ranges, - (ProtobufCMessageInit) wifi_protocols__init, + sizeof(RpcReqOTABegin), + 0, + rpc__req__otabegin__field_descriptors, + rpc__req__otabegin__field_indices_by_name, + 0, rpc__req__otabegin__number_ranges, + (ProtobufCMessageInit) rpc__req__otabegin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_bandwidths__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] = { { - "ghz_2g", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiBandwidths, ghz_2g), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ghz_5g", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiBandwidths, ghz_5g), + offsetof(RpcRespOTABegin, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_bandwidths__field_indices_by_name[] = { - 0, /* field[0] = ghz_2g */ - 1, /* field[1] = ghz_5g */ +static const unsigned rpc__resp__otabegin__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__otabegin__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__otabegin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_bandwidths", - "WifiBandwidths", - "WifiBandwidths", + "Rpc_Resp_OTABegin", + "RpcRespOTABegin", + "RpcRespOTABegin", "", - sizeof(WifiBandwidths), - 2, - wifi_bandwidths__field_descriptors, - wifi_bandwidths__field_indices_by_name, - 1, wifi_bandwidths__number_ranges, - (ProtobufCMessageInit) wifi_bandwidths__init, + sizeof(RpcRespOTABegin), + 1, + rpc__resp__otabegin__field_descriptors, + rpc__resp__otabegin__field_indices_by_name, + 1, rpc__resp__otabegin__number_ranges, + (ProtobufCMessageInit) rpc__resp__otabegin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_itwt_setup_config__field_descriptors[6] = +static const ProtobufCFieldDescriptor rpc__req__otawrite__field_descriptors[1] = { { - "setup_cmd", + "ota_data", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, setup_cmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bitmask_1", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, bitmask_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "min_wake_dura", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, min_wake_dura), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wake_invl_mant", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, wake_invl_mant), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "twt_id", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, twt_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "timeout_time_ms", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, timeout_time_ms), + offsetof(RpcReqOTAWrite, ota_data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_itwt_setup_config__field_indices_by_name[] = { - 1, /* field[1] = bitmask_1 */ - 2, /* field[2] = min_wake_dura */ - 0, /* field[0] = setup_cmd */ - 5, /* field[5] = timeout_time_ms */ - 4, /* field[4] = twt_id */ - 3, /* field[3] = wake_invl_mant */ +static const unsigned rpc__req__otawrite__field_indices_by_name[] = { + 0, /* field[0] = ota_data */ }; -static const ProtobufCIntRange wifi_itwt_setup_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__otawrite__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_itwt_setup_config__descriptor = +const ProtobufCMessageDescriptor rpc__req__otawrite__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_itwt_setup_config", - "WifiItwtSetupConfig", - "WifiItwtSetupConfig", + "Rpc_Req_OTAWrite", + "RpcReqOTAWrite", + "RpcReqOTAWrite", "", - sizeof(WifiItwtSetupConfig), - 6, - wifi_itwt_setup_config__field_descriptors, - wifi_itwt_setup_config__field_indices_by_name, - 1, wifi_itwt_setup_config__number_ranges, - (ProtobufCMessageInit) wifi_itwt_setup_config__init, + sizeof(RpcReqOTAWrite), + 1, + rpc__req__otawrite__field_descriptors, + rpc__req__otawrite__field_indices_by_name, + 1, rpc__req__otawrite__number_ranges, + (ProtobufCMessageInit) rpc__req__otawrite__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_twt_config__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] = { { - "post_wakeup_event", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiTwtConfig, post_wakeup_event), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "twt_enable_keep_alive", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiTwtConfig, twt_enable_keep_alive), + offsetof(RpcRespOTAWrite, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_twt_config__field_indices_by_name[] = { - 0, /* field[0] = post_wakeup_event */ - 1, /* field[1] = twt_enable_keep_alive */ +static const unsigned rpc__resp__otawrite__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_twt_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__otawrite__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_twt_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__otawrite__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_twt_config", - "WifiTwtConfig", - "WifiTwtConfig", + "Rpc_Resp_OTAWrite", + "RpcRespOTAWrite", + "RpcRespOTAWrite", "", - sizeof(WifiTwtConfig), - 2, - wifi_twt_config__field_descriptors, - wifi_twt_config__field_indices_by_name, - 1, wifi_twt_config__number_ranges, - (ProtobufCMessageInit) wifi_twt_config__init, + sizeof(RpcRespOTAWrite), + 1, + rpc__resp__otawrite__field_descriptors, + rpc__resp__otawrite__field_indices_by_name, + 1, rpc__resp__otawrite__number_ranges, + (ProtobufCMessageInit) rpc__resp__otawrite__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = +#define rpc__req__otaend__field_descriptors NULL +#define rpc__req__otaend__field_indices_by_name NULL +#define rpc__req__otaend__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__otaend__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_OTAEnd", + "RpcReqOTAEnd", + "RpcReqOTAEnd", + "", + sizeof(RpcReqOTAEnd), + 0, + rpc__req__otaend__field_descriptors, + rpc__req__otaend__field_indices_by_name, + 0, rpc__req__otaend__number_ranges, + (ProtobufCMessageInit) rpc__req__otaend__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__otaend__field_descriptors[1] = { { - "mac", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(ConnectedSTAList, mac), + offsetof(RpcRespOTAEnd, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__otaend__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__otaend__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__otaend__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_OTAEnd", + "RpcRespOTAEnd", + "RpcRespOTAEnd", + "", + sizeof(RpcRespOTAEnd), + 1, + rpc__resp__otaend__field_descriptors, + rpc__resp__otaend__field_indices_by_name, + 1, rpc__resp__otaend__number_ranges, + (ProtobufCMessageInit) rpc__resp__otaend__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__otaactivate__field_descriptors NULL +#define rpc__req__otaactivate__field_indices_by_name NULL +#define rpc__req__otaactivate__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__otaactivate__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_OTAActivate", + "RpcReqOTAActivate", + "RpcReqOTAActivate", + "", + sizeof(RpcReqOTAActivate), + 0, + rpc__req__otaactivate__field_descriptors, + rpc__req__otaactivate__field_indices_by_name, + 0, rpc__req__otaactivate__number_ranges, + (ProtobufCMessageInit) rpc__req__otaactivate__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__otaactivate__field_descriptors[1] = +{ { - "rssi", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(ConnectedSTAList, rssi), + offsetof(RpcRespOTAActivate, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned connected_stalist__field_indices_by_name[] = { - 0, /* field[0] = mac */ - 1, /* field[1] = rssi */ +static const unsigned rpc__resp__otaactivate__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__otaactivate__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor connected_stalist__descriptor = +const ProtobufCMessageDescriptor rpc__resp__otaactivate__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ConnectedSTAList", - "ConnectedSTAList", - "ConnectedSTAList", + "Rpc_Resp_OTAActivate", + "RpcRespOTAActivate", + "RpcRespOTAActivate", "", - sizeof(ConnectedSTAList), - 2, - connected_stalist__field_descriptors, - connected_stalist__field_indices_by_name, - 1, connected_stalist__number_ranges, - (ProtobufCMessageInit) connected_stalist__init, + sizeof(RpcRespOTAActivate), + 1, + rpc__resp__otaactivate__field_descriptors, + rpc__resp__otaactivate__field_indices_by_name, + 1, rpc__resp__otaactivate__number_ranges, + (ProtobufCMessageInit) rpc__resp__otaactivate__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor eap_fast_config__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_max_tx_power__field_descriptors[1] = { { - "fast_provisioning", + "power", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(EapFastConfig, fast_provisioning), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fast_max_pac_list_len", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(EapFastConfig, fast_max_pac_list_len), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fast_pac_format_binary", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(EapFastConfig, fast_pac_format_binary), + offsetof(RpcReqWifiSetMaxTxPower, power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned eap_fast_config__field_indices_by_name[] = { - 1, /* field[1] = fast_max_pac_list_len */ - 2, /* field[2] = fast_pac_format_binary */ - 0, /* field[0] = fast_provisioning */ +static const unsigned rpc__req__wifi_set_max_tx_power__field_indices_by_name[] = { + 0, /* field[0] = power */ }; -static const ProtobufCIntRange eap_fast_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 1 } }; -const ProtobufCMessageDescriptor eap_fast_config__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "eap_fast_config", - "EapFastConfig", - "EapFastConfig", + "Rpc_Req_WifiSetMaxTxPower", + "RpcReqWifiSetMaxTxPower", + "RpcReqWifiSetMaxTxPower", "", - sizeof(EapFastConfig), - 3, - eap_fast_config__field_descriptors, - eap_fast_config__field_indices_by_name, - 1, eap_fast_config__number_ranges, - (ProtobufCMessageInit) eap_fast_config__init, + sizeof(RpcReqWifiSetMaxTxPower), + 1, + rpc__req__wifi_set_max_tx_power__field_descriptors, + rpc__req__wifi_set_max_tx_power__field_indices_by_name, + 1, rpc__req__wifi_set_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__get_mac_address__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_descriptors[1] = { { - "mode", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqGetMacAddress, mode), + offsetof(RpcRespWifiSetMaxTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__get_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mode */ +static const unsigned rpc__resp__wifi_set_max_tx_power__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__get_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__get_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetMacAddress", - "RpcReqGetMacAddress", - "RpcReqGetMacAddress", + "Rpc_Resp_WifiSetMaxTxPower", + "RpcRespWifiSetMaxTxPower", + "RpcRespWifiSetMaxTxPower", "", - sizeof(RpcReqGetMacAddress), + sizeof(RpcRespWifiSetMaxTxPower), 1, - rpc__req__get_mac_address__field_descriptors, - rpc__req__get_mac_address__field_indices_by_name, - 1, rpc__req__get_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__req__get_mac_address__init, + rpc__resp__wifi_set_max_tx_power__field_descriptors, + rpc__resp__wifi_set_max_tx_power__field_indices_by_name, + 1, rpc__resp__wifi_set_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_mac_address__field_descriptors[2] = +#define rpc__req__wifi_get_max_tx_power__field_descriptors NULL +#define rpc__req__wifi_get_max_tx_power__field_indices_by_name NULL +#define rpc__req__wifi_get_max_tx_power__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_max_tx_power__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetMaxTxPower", + "RpcReqWifiGetMaxTxPower", + "RpcReqWifiGetMaxTxPower", + "", + sizeof(RpcReqWifiGetMaxTxPower), + 0, + rpc__req__wifi_get_max_tx_power__field_descriptors, + rpc__req__wifi_get_max_tx_power__field_indices_by_name, + 0, rpc__req__wifi_get_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_max_tx_power__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_max_tx_power__field_descriptors[2] = { { - "mac", + "power", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMacAddress, mac), + offsetof(RpcRespWifiGetMaxTxPower, power), NULL, NULL, 0, /* flags */ @@ -16147,145 +17590,165 @@ static const ProtobufCFieldDescriptor rpc__resp__get_mac_address__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMacAddress, resp), + offsetof(RpcRespWifiGetMaxTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mac */ +static const unsigned rpc__resp__wifi_get_max_tx_power__field_indices_by_name[] = { + 0, /* field[0] = power */ 1, /* field[1] = resp */ }; -static const ProtobufCIntRange rpc__resp__get_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__get_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetMacAddress", - "RpcRespGetMacAddress", - "RpcRespGetMacAddress", + "Rpc_Resp_WifiGetMaxTxPower", + "RpcRespWifiGetMaxTxPower", + "RpcRespWifiGetMaxTxPower", "", - sizeof(RpcRespGetMacAddress), + sizeof(RpcRespWifiGetMaxTxPower), 2, - rpc__resp__get_mac_address__field_descriptors, - rpc__resp__get_mac_address__field_indices_by_name, - 1, rpc__resp__get_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_mac_address__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__get_mode__field_descriptors NULL -#define rpc__req__get_mode__field_indices_by_name NULL -#define rpc__req__get_mode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_mode__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetMode", - "RpcReqGetMode", - "RpcReqGetMode", - "", - sizeof(RpcReqGetMode), - 0, - rpc__req__get_mode__field_descriptors, - rpc__req__get_mode__field_indices_by_name, - 0, rpc__req__get_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__get_mode__init, + rpc__resp__wifi_get_max_tx_power__field_descriptors, + rpc__resp__wifi_get_max_tx_power__field_indices_by_name, + 1, rpc__resp__wifi_get_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_mode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__config_heartbeat__field_descriptors[2] = { { - "mode", + "enable", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespGetMode, mode), + offsetof(RpcReqConfigHeartbeat, enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "resp", + "duration", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMode, resp), + offsetof(RpcReqConfigHeartbeat, duration), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_mode__field_indices_by_name[] = { - 0, /* field[0] = mode */ - 1, /* field[1] = resp */ +static const unsigned rpc__req__config_heartbeat__field_indices_by_name[] = { + 1, /* field[1] = duration */ + 0, /* field[0] = enable */ }; -static const ProtobufCIntRange rpc__resp__get_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__config_heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__get_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__config_heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetMode", - "RpcRespGetMode", - "RpcRespGetMode", + "Rpc_Req_ConfigHeartbeat", + "RpcReqConfigHeartbeat", + "RpcReqConfigHeartbeat", + "", + sizeof(RpcReqConfigHeartbeat), + 2, + rpc__req__config_heartbeat__field_descriptors, + rpc__req__config_heartbeat__field_indices_by_name, + 1, rpc__req__config_heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__req__config_heartbeat__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descriptors[1] = +{ + { + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespConfigHeartbeat, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__resp__config_heartbeat__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__config_heartbeat__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__config_heartbeat__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_ConfigHeartbeat", + "RpcRespConfigHeartbeat", + "RpcRespConfigHeartbeat", "", - sizeof(RpcRespGetMode), - 2, - rpc__resp__get_mode__field_descriptors, - rpc__resp__get_mode__field_indices_by_name, - 1, rpc__resp__get_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_mode__init, + sizeof(RpcRespConfigHeartbeat), + 1, + rpc__resp__config_heartbeat__field_descriptors, + rpc__resp__config_heartbeat__field_indices_by_name, + 1, rpc__resp__config_heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__resp__config_heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_init__field_descriptors[1] = { { - "mode", + "cfg", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqSetMode, mode), - NULL, + offsetof(RpcReqWifiInit, cfg), + &wifi_init_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_mode__field_indices_by_name[] = { - 0, /* field[0] = mode */ +static const unsigned rpc__req__wifi_init__field_indices_by_name[] = { + 0, /* field[0] = cfg */ }; -static const ProtobufCIntRange rpc__req__set_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_init__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__set_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetMode", - "RpcReqSetMode", - "RpcReqSetMode", + "Rpc_Req_WifiInit", + "RpcReqWifiInit", + "RpcReqWifiInit", "", - sizeof(RpcReqSetMode), + sizeof(RpcReqWifiInit), 1, - rpc__req__set_mode__field_descriptors, - rpc__req__set_mode__field_indices_by_name, - 1, rpc__req__set_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__set_mode__init, + rpc__req__wifi_init__field_descriptors, + rpc__req__wifi_init__field_indices_by_name, + 1, rpc__req__wifi_init__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_init__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] = { { "resp", @@ -16293,55 +17756,55 @@ static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetMode, resp), + offsetof(RpcRespWifiInit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_mode__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_init__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_init__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetMode", - "RpcRespSetMode", - "RpcRespSetMode", + "Rpc_Resp_WifiInit", + "RpcRespWifiInit", + "RpcRespWifiInit", "", - sizeof(RpcRespSetMode), + sizeof(RpcRespWifiInit), 1, - rpc__resp__set_mode__field_descriptors, - rpc__resp__set_mode__field_indices_by_name, - 1, rpc__resp__set_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_mode__init, + rpc__resp__wifi_init__field_descriptors, + rpc__resp__wifi_init__field_indices_by_name, + 1, rpc__resp__wifi_init__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_init__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__get_ps__field_descriptors NULL -#define rpc__req__get_ps__field_indices_by_name NULL -#define rpc__req__get_ps__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_ps__descriptor = +#define rpc__req__wifi_deinit__field_descriptors NULL +#define rpc__req__wifi_deinit__field_indices_by_name NULL +#define rpc__req__wifi_deinit__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetPs", - "RpcReqGetPs", - "RpcReqGetPs", + "Rpc_Req_WifiDeinit", + "RpcReqWifiDeinit", + "RpcReqWifiDeinit", "", - sizeof(RpcReqGetPs), + sizeof(RpcReqWifiDeinit), 0, - rpc__req__get_ps__field_descriptors, - rpc__req__get_ps__field_indices_by_name, - 0, rpc__req__get_ps__number_ranges, - (ProtobufCMessageInit) rpc__req__get_ps__init, + rpc__req__wifi_deinit__field_descriptors, + rpc__req__wifi_deinit__field_indices_by_name, + 0, rpc__req__wifi_deinit__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_ps__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[1] = { { "resp", @@ -16349,88 +17812,88 @@ static const ProtobufCFieldDescriptor rpc__resp__get_ps__field_descriptors[2] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetPs, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetPs, type), + offsetof(RpcRespWifiDeinit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_ps__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_deinit__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = type */ }; -static const ProtobufCIntRange rpc__resp__get_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_deinit__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__get_ps__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetPs", - "RpcRespGetPs", - "RpcRespGetPs", + "Rpc_Resp_WifiDeinit", + "RpcRespWifiDeinit", + "RpcRespWifiDeinit", "", - sizeof(RpcRespGetPs), - 2, - rpc__resp__get_ps__field_descriptors, - rpc__resp__get_ps__field_indices_by_name, - 1, rpc__resp__get_ps__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_ps__init, + sizeof(RpcRespWifiDeinit), + 1, + rpc__resp__wifi_deinit__field_descriptors, + rpc__resp__wifi_deinit__field_indices_by_name, + 1, rpc__resp__wifi_deinit__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_ps__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_config__field_descriptors[2] = { { - "type", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetPs, type), + offsetof(RpcReqWifiSetConfig, iface), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cfg", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiSetConfig, cfg), + &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_ps__field_indices_by_name[] = { - 0, /* field[0] = type */ +static const unsigned rpc__req__wifi_set_config__field_indices_by_name[] = { + 1, /* field[1] = cfg */ + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__req__set_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__set_ps__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetPs", - "RpcReqSetPs", - "RpcReqSetPs", + "Rpc_Req_WifiSetConfig", + "RpcReqWifiSetConfig", + "RpcReqWifiSetConfig", "", - sizeof(RpcReqSetPs), - 1, - rpc__req__set_ps__field_descriptors, - rpc__req__set_ps__field_indices_by_name, - 1, rpc__req__set_ps__number_ranges, - (ProtobufCMessageInit) rpc__req__set_ps__init, + sizeof(RpcReqWifiSetConfig), + 2, + rpc__req__wifi_set_config__field_descriptors, + rpc__req__wifi_set_config__field_indices_by_name, + 1, rpc__req__wifi_set_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_config__field_descriptors[1] = { { "resp", @@ -16438,88 +17901,75 @@ static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetPs, resp), + offsetof(RpcRespWifiSetConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_ps__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_ps__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetPs", - "RpcRespSetPs", - "RpcRespSetPs", + "Rpc_Resp_WifiSetConfig", + "RpcRespWifiSetConfig", + "RpcRespWifiSetConfig", "", - sizeof(RpcRespSetPs), + sizeof(RpcRespWifiSetConfig), 1, - rpc__resp__set_ps__field_descriptors, - rpc__resp__set_ps__field_indices_by_name, - 1, rpc__resp__set_ps__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_ps__init, + rpc__resp__wifi_set_config__field_descriptors, + rpc__resp__wifi_set_config__field_indices_by_name, + 1, rpc__resp__wifi_set_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_mac_address__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_config__field_descriptors[1] = { { - "mac", + "iface", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqSetMacAddress, mac), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mode", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetMacAddress, mode), + offsetof(RpcReqWifiGetConfig, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mac */ - 1, /* field[1] = mode */ +static const unsigned rpc__req__wifi_get_config__field_indices_by_name[] = { + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__req__set_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__set_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetMacAddress", - "RpcReqSetMacAddress", - "RpcReqSetMacAddress", + "Rpc_Req_WifiGetConfig", + "RpcReqWifiGetConfig", + "RpcReqWifiGetConfig", "", - sizeof(RpcReqSetMacAddress), - 2, - rpc__req__set_mac_address__field_descriptors, - rpc__req__set_mac_address__field_indices_by_name, - 1, rpc__req__set_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__req__set_mac_address__init, + sizeof(RpcReqWifiGetConfig), + 1, + rpc__req__wifi_get_config__field_descriptors, + rpc__req__wifi_get_config__field_indices_by_name, + 1, rpc__req__wifi_get_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descriptors[3] = { { "resp", @@ -16527,55 +17977,81 @@ static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetMacAddress, resp), + offsetof(RpcRespWifiGetConfig, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "iface", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetConfig, iface), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cfg", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetConfig, cfg), + &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_mac_address__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_config__field_indices_by_name[] = { + 2, /* field[2] = cfg */ + 1, /* field[1] = iface */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__resp__set_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetMacAddress", - "RpcRespSetMacAddress", - "RpcRespSetMacAddress", + "Rpc_Resp_WifiGetConfig", + "RpcRespWifiGetConfig", + "RpcRespWifiGetConfig", "", - sizeof(RpcRespSetMacAddress), - 1, - rpc__resp__set_mac_address__field_descriptors, - rpc__resp__set_mac_address__field_indices_by_name, - 1, rpc__resp__set_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_mac_address__init, + sizeof(RpcRespWifiGetConfig), + 3, + rpc__resp__wifi_get_config__field_descriptors, + rpc__resp__wifi_get_config__field_indices_by_name, + 1, rpc__resp__wifi_get_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_config__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__otabegin__field_descriptors NULL -#define rpc__req__otabegin__field_indices_by_name NULL -#define rpc__req__otabegin__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__otabegin__descriptor = +#define rpc__req__wifi_connect__field_descriptors NULL +#define rpc__req__wifi_connect__field_indices_by_name NULL +#define rpc__req__wifi_connect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTABegin", - "RpcReqOTABegin", - "RpcReqOTABegin", + "Rpc_Req_WifiConnect", + "RpcReqWifiConnect", + "RpcReqWifiConnect", "", - sizeof(RpcReqOTABegin), + sizeof(RpcReqWifiConnect), 0, - rpc__req__otabegin__field_descriptors, - rpc__req__otabegin__field_indices_by_name, - 0, rpc__req__otabegin__number_ranges, - (ProtobufCMessageInit) rpc__req__otabegin__init, + rpc__req__wifi_connect__field_descriptors, + rpc__req__wifi_connect__field_indices_by_name, + 0, rpc__req__wifi_connect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors[1] = { { "resp", @@ -16583,75 +18059,111 @@ static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTABegin, resp), + offsetof(RpcRespWifiConnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otabegin__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_connect__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__otabegin__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_connect__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otabegin__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTABegin", - "RpcRespOTABegin", - "RpcRespOTABegin", + "Rpc_Resp_WifiConnect", + "RpcRespWifiConnect", + "RpcRespWifiConnect", "", - sizeof(RpcRespOTABegin), + sizeof(RpcRespWifiConnect), 1, - rpc__resp__otabegin__field_descriptors, - rpc__resp__otabegin__field_indices_by_name, - 1, rpc__resp__otabegin__number_ranges, - (ProtobufCMessageInit) rpc__resp__otabegin__init, + rpc__resp__wifi_connect__field_descriptors, + rpc__resp__wifi_connect__field_indices_by_name, + 1, rpc__resp__wifi_connect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__otawrite__field_descriptors[1] = +#define rpc__req__wifi_disconnect__field_descriptors NULL +#define rpc__req__wifi_disconnect__field_indices_by_name NULL +#define rpc__req__wifi_disconnect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_disconnect__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiDisconnect", + "RpcReqWifiDisconnect", + "RpcReqWifiDisconnect", + "", + sizeof(RpcReqWifiDisconnect), + 0, + rpc__req__wifi_disconnect__field_descriptors, + rpc__req__wifi_disconnect__field_indices_by_name, + 0, rpc__req__wifi_disconnect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_disconnect__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_disconnect__field_descriptors[1] = { { - "ota_data", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqOTAWrite, ota_data), + offsetof(RpcRespWifiDisconnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__otawrite__field_indices_by_name[] = { - 0, /* field[0] = ota_data */ +static const unsigned rpc__resp__wifi_disconnect__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__otawrite__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_disconnect__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__otawrite__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_disconnect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTAWrite", - "RpcReqOTAWrite", - "RpcReqOTAWrite", + "Rpc_Resp_WifiDisconnect", + "RpcRespWifiDisconnect", + "RpcRespWifiDisconnect", "", - sizeof(RpcReqOTAWrite), + sizeof(RpcRespWifiDisconnect), 1, - rpc__req__otawrite__field_descriptors, - rpc__req__otawrite__field_indices_by_name, - 1, rpc__req__otawrite__number_ranges, - (ProtobufCMessageInit) rpc__req__otawrite__init, + rpc__resp__wifi_disconnect__field_descriptors, + rpc__resp__wifi_disconnect__field_indices_by_name, + 1, rpc__resp__wifi_disconnect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_disconnect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] = +#define rpc__req__wifi_start__field_descriptors NULL +#define rpc__req__wifi_start__field_indices_by_name NULL +#define rpc__req__wifi_start__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_start__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStart", + "RpcReqWifiStart", + "RpcReqWifiStart", + "", + sizeof(RpcReqWifiStart), + 0, + rpc__req__wifi_start__field_descriptors, + rpc__req__wifi_start__field_indices_by_name, + 0, rpc__req__wifi_start__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_start__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1] = { { "resp", @@ -16659,55 +18171,55 @@ static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTAWrite, resp), + offsetof(RpcRespWifiStart, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otawrite__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_start__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__otawrite__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_start__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otawrite__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTAWrite", - "RpcRespOTAWrite", - "RpcRespOTAWrite", + "Rpc_Resp_WifiStart", + "RpcRespWifiStart", + "RpcRespWifiStart", "", - sizeof(RpcRespOTAWrite), + sizeof(RpcRespWifiStart), 1, - rpc__resp__otawrite__field_descriptors, - rpc__resp__otawrite__field_indices_by_name, - 1, rpc__resp__otawrite__number_ranges, - (ProtobufCMessageInit) rpc__resp__otawrite__init, + rpc__resp__wifi_start__field_descriptors, + rpc__resp__wifi_start__field_indices_by_name, + 1, rpc__resp__wifi_start__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_start__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__otaend__field_descriptors NULL -#define rpc__req__otaend__field_indices_by_name NULL -#define rpc__req__otaend__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__otaend__descriptor = +#define rpc__req__wifi_stop__field_descriptors NULL +#define rpc__req__wifi_stop__field_indices_by_name NULL +#define rpc__req__wifi_stop__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTAEnd", - "RpcReqOTAEnd", - "RpcReqOTAEnd", + "Rpc_Req_WifiStop", + "RpcReqWifiStop", + "RpcReqWifiStop", "", - sizeof(RpcReqOTAEnd), + sizeof(RpcReqWifiStop), 0, - rpc__req__otaend__field_descriptors, - rpc__req__otaend__field_indices_by_name, - 0, rpc__req__otaend__number_ranges, - (ProtobufCMessageInit) rpc__req__otaend__init, + rpc__req__wifi_stop__field_descriptors, + rpc__req__wifi_stop__field_indices_by_name, + 0, rpc__req__wifi_stop__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otaend__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_stop__field_descriptors[1] = { { "resp", @@ -16715,131 +18227,157 @@ static const ProtobufCFieldDescriptor rpc__resp__otaend__field_descriptors[1] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTAEnd, resp), + offsetof(RpcRespWifiStop, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otaend__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_stop__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__otaend__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_stop__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otaend__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTAEnd", - "RpcRespOTAEnd", - "RpcRespOTAEnd", - "", - sizeof(RpcRespOTAEnd), - 1, - rpc__resp__otaend__field_descriptors, - rpc__resp__otaend__field_indices_by_name, - 1, rpc__resp__otaend__number_ranges, - (ProtobufCMessageInit) rpc__resp__otaend__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__otaactivate__field_descriptors NULL -#define rpc__req__otaactivate__field_indices_by_name NULL -#define rpc__req__otaactivate__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__otaactivate__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTAActivate", - "RpcReqOTAActivate", - "RpcReqOTAActivate", + "Rpc_Resp_WifiStop", + "RpcRespWifiStop", + "RpcRespWifiStop", "", - sizeof(RpcReqOTAActivate), - 0, - rpc__req__otaactivate__field_descriptors, - rpc__req__otaactivate__field_indices_by_name, - 0, rpc__req__otaactivate__number_ranges, - (ProtobufCMessageInit) rpc__req__otaactivate__init, + sizeof(RpcRespWifiStop), + 1, + rpc__resp__wifi_stop__field_descriptors, + rpc__resp__wifi_stop__field_indices_by_name, + 1, rpc__resp__wifi_stop__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otaactivate__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_scan_start__field_descriptors[3] = { { - "resp", + "config", 1, PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiScanStart, config), + &wifi_scan_config__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "block", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiScanStart, block), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "config_set", + 3, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTAActivate, resp), + offsetof(RpcReqWifiScanStart, config_set), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otaactivate__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_scan_start__field_indices_by_name[] = { + 1, /* field[1] = block */ + 0, /* field[0] = config */ + 2, /* field[2] = config_set */ }; -static const ProtobufCIntRange rpc__resp__otaactivate__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_scan_start__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__resp__otaactivate__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_scan_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTAActivate", - "RpcRespOTAActivate", - "RpcRespOTAActivate", + "Rpc_Req_WifiScanStart", + "RpcReqWifiScanStart", + "RpcReqWifiScanStart", "", - sizeof(RpcRespOTAActivate), - 1, - rpc__resp__otaactivate__field_descriptors, - rpc__resp__otaactivate__field_indices_by_name, - 1, rpc__resp__otaactivate__number_ranges, - (ProtobufCMessageInit) rpc__resp__otaactivate__init, + sizeof(RpcReqWifiScanStart), + 3, + rpc__req__wifi_scan_start__field_descriptors, + rpc__req__wifi_scan_start__field_indices_by_name, + 1, rpc__req__wifi_scan_start__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_start__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_max_tx_power__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_start__field_descriptors[1] = { { - "power", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetMaxTxPower, power), + offsetof(RpcRespWifiScanStart, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_max_tx_power__field_indices_by_name[] = { - 0, /* field[0] = power */ +static const unsigned rpc__resp__wifi_scan_start__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_start__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetMaxTxPower", - "RpcReqWifiSetMaxTxPower", - "RpcReqWifiSetMaxTxPower", + "Rpc_Resp_WifiScanStart", + "RpcRespWifiScanStart", + "RpcRespWifiScanStart", "", - sizeof(RpcReqWifiSetMaxTxPower), + sizeof(RpcRespWifiScanStart), 1, - rpc__req__wifi_set_max_tx_power__field_descriptors, - rpc__req__wifi_set_max_tx_power__field_indices_by_name, - 1, rpc__req__wifi_set_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_max_tx_power__init, + rpc__resp__wifi_scan_start__field_descriptors, + rpc__resp__wifi_scan_start__field_indices_by_name, + 1, rpc__resp__wifi_scan_start__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_start__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_descriptors[1] = +#define rpc__req__wifi_scan_stop__field_descriptors NULL +#define rpc__req__wifi_scan_stop__field_indices_by_name NULL +#define rpc__req__wifi_scan_stop__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_stop__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiScanStop", + "RpcReqWifiScanStop", + "RpcReqWifiScanStop", + "", + sizeof(RpcReqWifiScanStop), + 0, + rpc__req__wifi_scan_stop__field_descriptors, + rpc__req__wifi_scan_stop__field_indices_by_name, + 0, rpc__req__wifi_scan_stop__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_stop__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_stop__field_descriptors[1] = { { "resp", @@ -16847,157 +18385,144 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_de PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetMaxTxPower, resp), + offsetof(RpcRespWifiScanStop, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_max_tx_power__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_scan_stop__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_stop__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetMaxTxPower", - "RpcRespWifiSetMaxTxPower", - "RpcRespWifiSetMaxTxPower", + "Rpc_Resp_WifiScanStop", + "RpcRespWifiScanStop", + "RpcRespWifiScanStop", "", - sizeof(RpcRespWifiSetMaxTxPower), + sizeof(RpcRespWifiScanStop), 1, - rpc__resp__wifi_set_max_tx_power__field_descriptors, - rpc__resp__wifi_set_max_tx_power__field_indices_by_name, - 1, rpc__resp__wifi_set_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_max_tx_power__init, + rpc__resp__wifi_scan_stop__field_descriptors, + rpc__resp__wifi_scan_stop__field_indices_by_name, + 1, rpc__resp__wifi_scan_stop__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_max_tx_power__field_descriptors NULL -#define rpc__req__wifi_get_max_tx_power__field_indices_by_name NULL -#define rpc__req__wifi_get_max_tx_power__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_max_tx_power__descriptor = +#define rpc__req__wifi_scan_get_ap_num__field_descriptors NULL +#define rpc__req__wifi_scan_get_ap_num__field_indices_by_name NULL +#define rpc__req__wifi_scan_get_ap_num__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_num__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetMaxTxPower", - "RpcReqWifiGetMaxTxPower", - "RpcReqWifiGetMaxTxPower", + "Rpc_Req_WifiScanGetApNum", + "RpcReqWifiScanGetApNum", + "RpcReqWifiScanGetApNum", "", - sizeof(RpcReqWifiGetMaxTxPower), + sizeof(RpcReqWifiScanGetApNum), 0, - rpc__req__wifi_get_max_tx_power__field_descriptors, - rpc__req__wifi_get_max_tx_power__field_indices_by_name, - 0, rpc__req__wifi_get_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_max_tx_power__init, + rpc__req__wifi_scan_get_ap_num__field_descriptors, + rpc__req__wifi_scan_get_ap_num__field_indices_by_name, + 0, rpc__req__wifi_scan_get_ap_num__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_num__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_max_tx_power__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_num__field_descriptors[2] = { { - "power", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetMaxTxPower, power), + offsetof(RpcRespWifiScanGetApNum, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "resp", + "number", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetMaxTxPower, resp), + offsetof(RpcRespWifiScanGetApNum, number), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_max_tx_power__field_indices_by_name[] = { - 0, /* field[0] = power */ - 1, /* field[1] = resp */ +static const unsigned rpc__resp__wifi_scan_get_ap_num__field_indices_by_name[] = { + 1, /* field[1] = number */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_num__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_num__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetMaxTxPower", - "RpcRespWifiGetMaxTxPower", - "RpcRespWifiGetMaxTxPower", + "Rpc_Resp_WifiScanGetApNum", + "RpcRespWifiScanGetApNum", + "RpcRespWifiScanGetApNum", "", - sizeof(RpcRespWifiGetMaxTxPower), + sizeof(RpcRespWifiScanGetApNum), 2, - rpc__resp__wifi_get_max_tx_power__field_descriptors, - rpc__resp__wifi_get_max_tx_power__field_indices_by_name, - 1, rpc__resp__wifi_get_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_max_tx_power__init, + rpc__resp__wifi_scan_get_ap_num__field_descriptors, + rpc__resp__wifi_scan_get_ap_num__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_num__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_num__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__config_heartbeat__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_scan_get_ap_records__field_descriptors[1] = { { - "enable", + "number", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(RpcReqConfigHeartbeat, enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "duration", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqConfigHeartbeat, duration), + offsetof(RpcReqWifiScanGetApRecords, number), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__config_heartbeat__field_indices_by_name[] = { - 1, /* field[1] = duration */ - 0, /* field[0] = enable */ +static const unsigned rpc__req__wifi_scan_get_ap_records__field_indices_by_name[] = { + 0, /* field[0] = number */ }; -static const ProtobufCIntRange rpc__req__config_heartbeat__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_scan_get_ap_records__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__config_heartbeat__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_records__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_ConfigHeartbeat", - "RpcReqConfigHeartbeat", - "RpcReqConfigHeartbeat", + "Rpc_Req_WifiScanGetApRecords", + "RpcReqWifiScanGetApRecords", + "RpcReqWifiScanGetApRecords", "", - sizeof(RpcReqConfigHeartbeat), - 2, - rpc__req__config_heartbeat__field_descriptors, - rpc__req__config_heartbeat__field_indices_by_name, - 1, rpc__req__config_heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__req__config_heartbeat__init, + sizeof(RpcReqWifiScanGetApRecords), + 1, + rpc__req__wifi_scan_get_ap_records__field_descriptors, + rpc__req__wifi_scan_get_ap_records__field_indices_by_name, + 1, rpc__req__wifi_scan_get_ap_records__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_records__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_records__field_descriptors[3] = { { "resp", @@ -17005,75 +18530,81 @@ static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespConfigHeartbeat, resp), + offsetof(RpcRespWifiScanGetApRecords, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__config_heartbeat__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__config_heartbeat__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__config_heartbeat__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_ConfigHeartbeat", - "RpcRespConfigHeartbeat", - "RpcRespConfigHeartbeat", - "", - sizeof(RpcRespConfigHeartbeat), - 1, - rpc__resp__config_heartbeat__field_descriptors, - rpc__resp__config_heartbeat__field_indices_by_name, - 1, rpc__resp__config_heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__resp__config_heartbeat__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_init__field_descriptors[1] = -{ { - "cfg", - 1, + "number", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiInit, cfg), - &wifi_init_config__descriptor, + offsetof(RpcRespWifiScanGetApRecords, number), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ap_records", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(RpcRespWifiScanGetApRecords, n_ap_records), + offsetof(RpcRespWifiScanGetApRecords, ap_records), + &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_init__field_indices_by_name[] = { - 0, /* field[0] = cfg */ +static const unsigned rpc__resp__wifi_scan_get_ap_records__field_indices_by_name[] = { + 2, /* field[2] = ap_records */ + 1, /* field[1] = number */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_records__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_init__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_records__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiInit", - "RpcReqWifiInit", - "RpcReqWifiInit", + "Rpc_Resp_WifiScanGetApRecords", + "RpcRespWifiScanGetApRecords", + "RpcRespWifiScanGetApRecords", "", - sizeof(RpcReqWifiInit), - 1, - rpc__req__wifi_init__field_descriptors, - rpc__req__wifi_init__field_indices_by_name, - 1, rpc__req__wifi_init__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_init__init, + sizeof(RpcRespWifiScanGetApRecords), + 3, + rpc__resp__wifi_scan_get_ap_records__field_descriptors, + rpc__resp__wifi_scan_get_ap_records__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_records__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_records__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] = +#define rpc__req__wifi_scan_get_ap_record__field_descriptors NULL +#define rpc__req__wifi_scan_get_ap_record__field_indices_by_name NULL +#define rpc__req__wifi_scan_get_ap_record__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_record__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiScanGetApRecord", + "RpcReqWifiScanGetApRecord", + "RpcReqWifiScanGetApRecord", + "", + sizeof(RpcReqWifiScanGetApRecord), + 0, + rpc__req__wifi_scan_get_ap_record__field_descriptors, + rpc__req__wifi_scan_get_ap_record__field_indices_by_name, + 0, rpc__req__wifi_scan_get_ap_record__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_record__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_record__field_descriptors[2] = { { "resp", @@ -17081,55 +18612,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiInit, resp), + offsetof(RpcRespWifiScanGetApRecord, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "ap_record", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiScanGetApRecord, ap_record), + &wifi_ap_record__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; -static const unsigned rpc__resp__wifi_init__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_scan_get_ap_record__field_indices_by_name[] = { + 1, /* field[1] = ap_record */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_record__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_init__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_record__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiInit", - "RpcRespWifiInit", - "RpcRespWifiInit", + "Rpc_Resp_WifiScanGetApRecord", + "RpcRespWifiScanGetApRecord", + "RpcRespWifiScanGetApRecord", "", - sizeof(RpcRespWifiInit), - 1, - rpc__resp__wifi_init__field_descriptors, - rpc__resp__wifi_init__field_indices_by_name, - 1, rpc__resp__wifi_init__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_init__init, + sizeof(RpcRespWifiScanGetApRecord), + 2, + rpc__resp__wifi_scan_get_ap_record__field_descriptors, + rpc__resp__wifi_scan_get_ap_record__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_record__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_record__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_deinit__field_descriptors NULL -#define rpc__req__wifi_deinit__field_indices_by_name NULL -#define rpc__req__wifi_deinit__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_deinit__descriptor = +#define rpc__req__wifi_clear_ap_list__field_descriptors NULL +#define rpc__req__wifi_clear_ap_list__field_indices_by_name NULL +#define rpc__req__wifi_clear_ap_list__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_clear_ap_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDeinit", - "RpcReqWifiDeinit", - "RpcReqWifiDeinit", + "Rpc_Req_WifiClearApList", + "RpcReqWifiClearApList", + "RpcReqWifiClearApList", "", - sizeof(RpcReqWifiDeinit), + sizeof(RpcReqWifiClearApList), 0, - rpc__req__wifi_deinit__field_descriptors, - rpc__req__wifi_deinit__field_indices_by_name, - 0, rpc__req__wifi_deinit__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_deinit__init, + rpc__req__wifi_clear_ap_list__field_descriptors, + rpc__req__wifi_clear_ap_list__field_indices_by_name, + 0, rpc__req__wifi_clear_ap_list__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_clear_ap_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descriptors[1] = { { "resp", @@ -17137,88 +18681,111 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[ PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeinit, resp), + offsetof(RpcRespWifiClearApList, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_deinit__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_clear_ap_list__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_deinit__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_clear_ap_list__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_deinit__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_clear_ap_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDeinit", - "RpcRespWifiDeinit", - "RpcRespWifiDeinit", + "Rpc_Resp_WifiClearApList", + "RpcRespWifiClearApList", + "RpcRespWifiClearApList", "", - sizeof(RpcRespWifiDeinit), + sizeof(RpcRespWifiClearApList), 1, - rpc__resp__wifi_deinit__field_descriptors, - rpc__resp__wifi_deinit__field_indices_by_name, - 1, rpc__resp__wifi_deinit__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_deinit__init, + rpc__resp__wifi_clear_ap_list__field_descriptors, + rpc__resp__wifi_clear_ap_list__field_indices_by_name, + 1, rpc__resp__wifi_clear_ap_list__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_clear_ap_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_config__field_descriptors[2] = +#define rpc__req__wifi_restore__field_descriptors NULL +#define rpc__req__wifi_restore__field_indices_by_name NULL +#define rpc__req__wifi_restore__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_restore__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiRestore", + "RpcReqWifiRestore", + "RpcReqWifiRestore", + "", + sizeof(RpcReqWifiRestore), + 0, + rpc__req__wifi_restore__field_descriptors, + rpc__req__wifi_restore__field_indices_by_name, + 0, rpc__req__wifi_restore__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_restore__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_restore__field_descriptors[1] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetConfig, iface), - NULL, + offsetof(RpcRespWifiRestore, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cfg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetConfig, cfg), - &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_config__field_indices_by_name[] = { - 1, /* field[1] = cfg */ - 0, /* field[0] = iface */ +static const unsigned rpc__resp__wifi_restore__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_restore__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_restore__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiRestore", + "RpcRespWifiRestore", + "RpcRespWifiRestore", + "", + sizeof(RpcRespWifiRestore), + 1, + rpc__resp__wifi_restore__field_descriptors, + rpc__resp__wifi_restore__field_indices_by_name, + 1, rpc__resp__wifi_restore__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_restore__init, + NULL,NULL,NULL /* reserved[123] */ }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_config__descriptor = +#define rpc__req__wifi_clear_fast_connect__field_descriptors NULL +#define rpc__req__wifi_clear_fast_connect__field_indices_by_name NULL +#define rpc__req__wifi_clear_fast_connect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_clear_fast_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetConfig", - "RpcReqWifiSetConfig", - "RpcReqWifiSetConfig", + "Rpc_Req_WifiClearFastConnect", + "RpcReqWifiClearFastConnect", + "RpcReqWifiClearFastConnect", "", - sizeof(RpcReqWifiSetConfig), - 2, - rpc__req__wifi_set_config__field_descriptors, - rpc__req__wifi_set_config__field_indices_by_name, - 1, rpc__req__wifi_set_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_config__init, + sizeof(RpcReqWifiClearFastConnect), + 0, + rpc__req__wifi_clear_fast_connect__field_descriptors, + rpc__req__wifi_clear_fast_connect__field_indices_by_name, + 0, rpc__req__wifi_clear_fast_connect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_clear_fast_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_fast_connect__field_descriptors[1] = { { "resp", @@ -17226,75 +18793,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_config__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetConfig, resp), + offsetof(RpcRespWifiClearFastConnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_config__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_clear_fast_connect__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_clear_fast_connect__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_clear_fast_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetConfig", - "RpcRespWifiSetConfig", - "RpcRespWifiSetConfig", + "Rpc_Resp_WifiClearFastConnect", + "RpcRespWifiClearFastConnect", + "RpcRespWifiClearFastConnect", "", - sizeof(RpcRespWifiSetConfig), + sizeof(RpcRespWifiClearFastConnect), 1, - rpc__resp__wifi_set_config__field_descriptors, - rpc__resp__wifi_set_config__field_indices_by_name, - 1, rpc__resp__wifi_set_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_config__init, + rpc__resp__wifi_clear_fast_connect__field_descriptors, + rpc__resp__wifi_clear_fast_connect__field_indices_by_name, + 1, rpc__resp__wifi_clear_fast_connect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_clear_fast_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_deauth_sta__field_descriptors[1] = { { - "iface", + "aid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetConfig, iface), + offsetof(RpcReqWifiDeauthSta, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_config__field_indices_by_name[] = { - 0, /* field[0] = iface */ +static const unsigned rpc__req__wifi_deauth_sta__field_indices_by_name[] = { + 0, /* field[0] = aid */ }; -static const ProtobufCIntRange rpc__req__wifi_get_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_deauth_sta__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_config__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_deauth_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetConfig", - "RpcReqWifiGetConfig", - "RpcReqWifiGetConfig", + "Rpc_Req_WifiDeauthSta", + "RpcReqWifiDeauthSta", + "RpcReqWifiDeauthSta", "", - sizeof(RpcReqWifiGetConfig), + sizeof(RpcReqWifiDeauthSta), 1, - rpc__req__wifi_get_config__field_descriptors, - rpc__req__wifi_get_config__field_indices_by_name, - 1, rpc__req__wifi_get_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_config__init, + rpc__req__wifi_deauth_sta__field_descriptors, + rpc__req__wifi_deauth_sta__field_indices_by_name, + 1, rpc__req__wifi_deauth_sta__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_deauth_sta__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_deauth_sta__field_descriptors[2] = { { "resp", @@ -17302,81 +18869,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, resp), + offsetof(RpcRespWifiDeauthSta, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "iface", + "aid", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, iface), - NULL, + offsetof(RpcRespWifiDeauthSta, aid), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cfg", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, cfg), - &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_config__field_indices_by_name[] = { - 2, /* field[2] = cfg */ - 1, /* field[1] = iface */ +static const unsigned rpc__resp__wifi_deauth_sta__field_indices_by_name[] = { + 1, /* field[1] = aid */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_deauth_sta__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_deauth_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetConfig", - "RpcRespWifiGetConfig", - "RpcRespWifiGetConfig", + "Rpc_Resp_WifiDeauthSta", + "RpcRespWifiDeauthSta", + "RpcRespWifiDeauthSta", "", - sizeof(RpcRespWifiGetConfig), - 3, - rpc__resp__wifi_get_config__field_descriptors, - rpc__resp__wifi_get_config__field_indices_by_name, - 1, rpc__resp__wifi_get_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_config__init, + sizeof(RpcRespWifiDeauthSta), + 2, + rpc__resp__wifi_deauth_sta__field_descriptors, + rpc__resp__wifi_deauth_sta__field_indices_by_name, + 1, rpc__resp__wifi_deauth_sta__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_deauth_sta__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_connect__field_descriptors NULL -#define rpc__req__wifi_connect__field_indices_by_name NULL -#define rpc__req__wifi_connect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_connect__descriptor = +#define rpc__req__wifi_sta_get_ap_info__field_descriptors NULL +#define rpc__req__wifi_sta_get_ap_info__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_ap_info__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_ap_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiConnect", - "RpcReqWifiConnect", - "RpcReqWifiConnect", + "Rpc_Req_WifiStaGetApInfo", + "RpcReqWifiStaGetApInfo", + "RpcReqWifiStaGetApInfo", "", - sizeof(RpcReqWifiConnect), + sizeof(RpcReqWifiStaGetApInfo), 0, - rpc__req__wifi_connect__field_descriptors, - rpc__req__wifi_connect__field_indices_by_name, - 0, rpc__req__wifi_connect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_connect__init, + rpc__req__wifi_sta_get_ap_info__field_descriptors, + rpc__req__wifi_sta_get_ap_info__field_indices_by_name, + 0, rpc__req__wifi_sta_get_ap_info__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_ap_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_descriptors[2] = { { "resp", @@ -17384,111 +18938,101 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiConnect, resp), + offsetof(RpcRespWifiStaGetApInfo, resp), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ap_record", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiStaGetApInfo, ap_record), + &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_connect__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_get_ap_info__field_indices_by_name[] = { + 1, /* field[1] = ap_record */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_connect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_ap_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_connect__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiConnect", - "RpcRespWifiConnect", - "RpcRespWifiConnect", - "", - sizeof(RpcRespWifiConnect), - 1, - rpc__resp__wifi_connect__field_descriptors, - rpc__resp__wifi_connect__field_indices_by_name, - 1, rpc__resp__wifi_connect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_connect__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_disconnect__field_descriptors NULL -#define rpc__req__wifi_disconnect__field_indices_by_name NULL -#define rpc__req__wifi_disconnect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_disconnect__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_ap_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDisconnect", - "RpcReqWifiDisconnect", - "RpcReqWifiDisconnect", + "Rpc_Resp_WifiStaGetApInfo", + "RpcRespWifiStaGetApInfo", + "RpcRespWifiStaGetApInfo", "", - sizeof(RpcReqWifiDisconnect), - 0, - rpc__req__wifi_disconnect__field_descriptors, - rpc__req__wifi_disconnect__field_indices_by_name, - 0, rpc__req__wifi_disconnect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_disconnect__init, + sizeof(RpcRespWifiStaGetApInfo), + 2, + rpc__resp__wifi_sta_get_ap_info__field_descriptors, + rpc__resp__wifi_sta_get_ap_info__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_ap_info__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_ap_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_disconnect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocol__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDisconnect, resp), + offsetof(RpcReqWifiSetProtocol, ifx), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "protocol_bitmap", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiSetProtocol, protocol_bitmap), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_disconnect__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_protocol__field_indices_by_name[] = { + 0, /* field[0] = ifx */ + 1, /* field[1] = protocol_bitmap */ }; -static const ProtobufCIntRange rpc__resp__wifi_disconnect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_protocol__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_disconnect__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDisconnect", - "RpcRespWifiDisconnect", - "RpcRespWifiDisconnect", - "", - sizeof(RpcRespWifiDisconnect), - 1, - rpc__resp__wifi_disconnect__field_descriptors, - rpc__resp__wifi_disconnect__field_indices_by_name, - 1, rpc__resp__wifi_disconnect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_disconnect__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_start__field_descriptors NULL -#define rpc__req__wifi_start__field_indices_by_name NULL -#define rpc__req__wifi_start__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_start__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStart", - "RpcReqWifiStart", - "RpcReqWifiStart", + "Rpc_Req_WifiSetProtocol", + "RpcReqWifiSetProtocol", + "RpcReqWifiSetProtocol", "", - sizeof(RpcReqWifiStart), - 0, - rpc__req__wifi_start__field_descriptors, - rpc__req__wifi_start__field_indices_by_name, - 0, rpc__req__wifi_start__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_start__init, + sizeof(RpcReqWifiSetProtocol), + 2, + rpc__req__wifi_set_protocol__field_descriptors, + rpc__req__wifi_set_protocol__field_indices_by_name, + 1, rpc__req__wifi_set_protocol__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocol__field_descriptors[1] = { { "resp", @@ -17496,269 +19040,177 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1 PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStart, resp), + offsetof(RpcRespWifiSetProtocol, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_start__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_protocol__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_start__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_protocol__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_start__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStart", - "RpcRespWifiStart", - "RpcRespWifiStart", + "Rpc_Resp_WifiSetProtocol", + "RpcRespWifiSetProtocol", + "RpcRespWifiSetProtocol", "", - sizeof(RpcRespWifiStart), + sizeof(RpcRespWifiSetProtocol), 1, - rpc__resp__wifi_start__field_descriptors, - rpc__resp__wifi_start__field_indices_by_name, - 1, rpc__resp__wifi_start__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_start__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_stop__field_descriptors NULL -#define rpc__req__wifi_stop__field_indices_by_name NULL -#define rpc__req__wifi_stop__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_stop__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStop", - "RpcReqWifiStop", - "RpcReqWifiStop", - "", - sizeof(RpcReqWifiStop), - 0, - rpc__req__wifi_stop__field_descriptors, - rpc__req__wifi_stop__field_indices_by_name, - 0, rpc__req__wifi_stop__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_stop__init, + rpc__resp__wifi_set_protocol__field_descriptors, + rpc__resp__wifi_set_protocol__field_indices_by_name, + 1, rpc__resp__wifi_set_protocol__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_stop__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocol__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStop, resp), + offsetof(RpcReqWifiGetProtocol, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_stop__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_protocol__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_stop__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_protocol__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_stop__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStop", - "RpcRespWifiStop", - "RpcRespWifiStop", + "Rpc_Req_WifiGetProtocol", + "RpcReqWifiGetProtocol", + "RpcReqWifiGetProtocol", "", - sizeof(RpcRespWifiStop), + sizeof(RpcReqWifiGetProtocol), 1, - rpc__resp__wifi_stop__field_descriptors, - rpc__resp__wifi_stop__field_indices_by_name, - 1, rpc__resp__wifi_stop__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_stop__init, + rpc__req__wifi_get_protocol__field_descriptors, + rpc__req__wifi_get_protocol__field_indices_by_name, + 1, rpc__req__wifi_get_protocol__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_scan_start__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descriptors[2] = { { - "config", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, config), - &wifi_scan_config__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "block", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, block), + offsetof(RpcRespWifiGetProtocol, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "config_set", - 3, + "protocol_bitmap", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, config_set), + offsetof(RpcRespWifiGetProtocol, protocol_bitmap), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_scan_start__field_indices_by_name[] = { - 1, /* field[1] = block */ - 0, /* field[0] = config */ - 2, /* field[2] = config_set */ +static const unsigned rpc__resp__wifi_get_protocol__field_indices_by_name[] = { + 1, /* field[1] = protocol_bitmap */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_scan_start__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_protocol__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_scan_start__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanStart", - "RpcReqWifiScanStart", - "RpcReqWifiScanStart", + "Rpc_Resp_WifiGetProtocol", + "RpcRespWifiGetProtocol", + "RpcRespWifiGetProtocol", "", - sizeof(RpcReqWifiScanStart), - 3, - rpc__req__wifi_scan_start__field_descriptors, - rpc__req__wifi_scan_start__field_indices_by_name, - 1, rpc__req__wifi_scan_start__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_start__init, + sizeof(RpcRespWifiGetProtocol), + 2, + rpc__resp__wifi_get_protocol__field_descriptors, + rpc__resp__wifi_get_protocol__field_indices_by_name, + 1, rpc__resp__wifi_get_protocol__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_start__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidth__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanStart, resp), + offsetof(RpcReqWifiSetBandwidth, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_scan_start__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_scan_start__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_start__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanStart", - "RpcRespWifiScanStart", - "RpcRespWifiScanStart", - "", - sizeof(RpcRespWifiScanStart), - 1, - rpc__resp__wifi_scan_start__field_descriptors, - rpc__resp__wifi_scan_start__field_indices_by_name, - 1, rpc__resp__wifi_scan_start__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_start__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_scan_stop__field_descriptors NULL -#define rpc__req__wifi_scan_stop__field_indices_by_name NULL -#define rpc__req__wifi_scan_stop__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_stop__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanStop", - "RpcReqWifiScanStop", - "RpcReqWifiScanStop", - "", - sizeof(RpcReqWifiScanStop), - 0, - rpc__req__wifi_scan_stop__field_descriptors, - rpc__req__wifi_scan_stop__field_indices_by_name, - 0, rpc__req__wifi_scan_stop__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_stop__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_stop__field_descriptors[1] = -{ { - "resp", - 1, + "bw", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanStop, resp), + offsetof(RpcReqWifiSetBandwidth, bw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_stop__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_bandwidth__field_indices_by_name[] = { + 1, /* field[1] = bw */ + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_stop__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_stop__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanStop", - "RpcRespWifiScanStop", - "RpcRespWifiScanStop", - "", - sizeof(RpcRespWifiScanStop), - 1, - rpc__resp__wifi_scan_stop__field_descriptors, - rpc__resp__wifi_scan_stop__field_indices_by_name, - 1, rpc__resp__wifi_scan_stop__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_stop__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_scan_get_ap_num__field_descriptors NULL -#define rpc__req__wifi_scan_get_ap_num__field_indices_by_name NULL -#define rpc__req__wifi_scan_get_ap_num__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_num__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApNum", - "RpcReqWifiScanGetApNum", - "RpcReqWifiScanGetApNum", + "Rpc_Req_WifiSetBandwidth", + "RpcReqWifiSetBandwidth", + "RpcReqWifiSetBandwidth", "", - sizeof(RpcReqWifiScanGetApNum), - 0, - rpc__req__wifi_scan_get_ap_num__field_descriptors, - rpc__req__wifi_scan_get_ap_num__field_indices_by_name, - 0, rpc__req__wifi_scan_get_ap_num__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_num__init, + sizeof(RpcReqWifiSetBandwidth), + 2, + rpc__req__wifi_set_bandwidth__field_descriptors, + rpc__req__wifi_set_bandwidth__field_indices_by_name, + 1, rpc__req__wifi_set_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_num__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidth__field_descriptors[1] = { { "resp", @@ -17766,88 +19218,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_num__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApNum, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "number", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApNum, number), + offsetof(RpcRespWifiSetBandwidth, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_num__field_indices_by_name[] = { - 1, /* field[1] = number */ +static const unsigned rpc__resp__wifi_set_bandwidth__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_num__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_num__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApNum", - "RpcRespWifiScanGetApNum", - "RpcRespWifiScanGetApNum", + "Rpc_Resp_WifiSetBandwidth", + "RpcRespWifiSetBandwidth", + "RpcRespWifiSetBandwidth", "", - sizeof(RpcRespWifiScanGetApNum), - 2, - rpc__resp__wifi_scan_get_ap_num__field_descriptors, - rpc__resp__wifi_scan_get_ap_num__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_num__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_num__init, + sizeof(RpcRespWifiSetBandwidth), + 1, + rpc__resp__wifi_set_bandwidth__field_descriptors, + rpc__resp__wifi_set_bandwidth__field_indices_by_name, + 1, rpc__resp__wifi_set_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_scan_get_ap_records__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidth__field_descriptors[1] = { { - "number", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanGetApRecords, number), + offsetof(RpcReqWifiGetBandwidth, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_scan_get_ap_records__field_indices_by_name[] = { - 0, /* field[0] = number */ +static const unsigned rpc__req__wifi_get_bandwidth__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__req__wifi_scan_get_ap_records__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_records__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApRecords", - "RpcReqWifiScanGetApRecords", - "RpcReqWifiScanGetApRecords", + "Rpc_Req_WifiGetBandwidth", + "RpcReqWifiGetBandwidth", + "RpcReqWifiGetBandwidth", "", - sizeof(RpcReqWifiScanGetApRecords), + sizeof(RpcReqWifiGetBandwidth), 1, - rpc__req__wifi_scan_get_ap_records__field_descriptors, - rpc__req__wifi_scan_get_ap_records__field_indices_by_name, - 1, rpc__req__wifi_scan_get_ap_records__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_records__init, + rpc__req__wifi_get_bandwidth__field_descriptors, + rpc__req__wifi_get_bandwidth__field_indices_by_name, + 1, rpc__req__wifi_get_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_records__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descriptors[2] = { { "resp", @@ -17855,150 +19294,101 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_records__field PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecords, resp), + offsetof(RpcRespWifiGetBandwidth, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "number", + "bw", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecords, number), - NULL, + offsetof(RpcRespWifiGetBandwidth, bw), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ap_records", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(RpcRespWifiScanGetApRecords, n_ap_records), - offsetof(RpcRespWifiScanGetApRecords, ap_records), - &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_records__field_indices_by_name[] = { - 2, /* field[2] = ap_records */ - 1, /* field[1] = number */ +static const unsigned rpc__resp__wifi_get_bandwidth__field_indices_by_name[] = { + 1, /* field[1] = bw */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_records__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_records__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApRecords", - "RpcRespWifiScanGetApRecords", - "RpcRespWifiScanGetApRecords", - "", - sizeof(RpcRespWifiScanGetApRecords), - 3, - rpc__resp__wifi_scan_get_ap_records__field_descriptors, - rpc__resp__wifi_scan_get_ap_records__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_records__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_records__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_scan_get_ap_record__field_descriptors NULL -#define rpc__req__wifi_scan_get_ap_record__field_indices_by_name NULL -#define rpc__req__wifi_scan_get_ap_record__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_record__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApRecord", - "RpcReqWifiScanGetApRecord", - "RpcReqWifiScanGetApRecord", + "Rpc_Resp_WifiGetBandwidth", + "RpcRespWifiGetBandwidth", + "RpcRespWifiGetBandwidth", "", - sizeof(RpcReqWifiScanGetApRecord), - 0, - rpc__req__wifi_scan_get_ap_record__field_descriptors, - rpc__req__wifi_scan_get_ap_record__field_indices_by_name, - 0, rpc__req__wifi_scan_get_ap_record__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_record__init, + sizeof(RpcRespWifiGetBandwidth), + 2, + rpc__resp__wifi_get_bandwidth__field_descriptors, + rpc__resp__wifi_get_bandwidth__field_indices_by_name, + 1, rpc__resp__wifi_get_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_record__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_channel__field_descriptors[2] = { { - "resp", + "primary", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecord, resp), + offsetof(RpcReqWifiSetChannel, primary), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ap_record", + "second", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecord, ap_record), - &wifi_ap_record__descriptor, + offsetof(RpcReqWifiSetChannel, second), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_record__field_indices_by_name[] = { - 1, /* field[1] = ap_record */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_channel__field_indices_by_name[] = { + 0, /* field[0] = primary */ + 1, /* field[1] = second */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_record__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_channel__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_record__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApRecord", - "RpcRespWifiScanGetApRecord", - "RpcRespWifiScanGetApRecord", + "Rpc_Req_WifiSetChannel", + "RpcReqWifiSetChannel", + "RpcReqWifiSetChannel", "", - sizeof(RpcRespWifiScanGetApRecord), + sizeof(RpcReqWifiSetChannel), 2, - rpc__resp__wifi_scan_get_ap_record__field_descriptors, - rpc__resp__wifi_scan_get_ap_record__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_record__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_record__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_clear_ap_list__field_descriptors NULL -#define rpc__req__wifi_clear_ap_list__field_indices_by_name NULL -#define rpc__req__wifi_clear_ap_list__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_clear_ap_list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiClearApList", - "RpcReqWifiClearApList", - "RpcReqWifiClearApList", - "", - sizeof(RpcReqWifiClearApList), - 0, - rpc__req__wifi_clear_ap_list__field_descriptors, - rpc__req__wifi_clear_ap_list__field_indices_by_name, - 0, rpc__req__wifi_clear_ap_list__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_clear_ap_list__init, + rpc__req__wifi_set_channel__field_descriptors, + rpc__req__wifi_set_channel__field_indices_by_name, + 1, rpc__req__wifi_set_channel__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descriptors[1] = { { "resp", @@ -18006,256 +19396,246 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiClearApList, resp), + offsetof(RpcRespWifiSetChannel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_clear_ap_list__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_channel__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_clear_ap_list__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_channel__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_clear_ap_list__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiClearApList", - "RpcRespWifiClearApList", - "RpcRespWifiClearApList", + "Rpc_Resp_WifiSetChannel", + "RpcRespWifiSetChannel", + "RpcRespWifiSetChannel", "", - sizeof(RpcRespWifiClearApList), + sizeof(RpcRespWifiSetChannel), 1, - rpc__resp__wifi_clear_ap_list__field_descriptors, - rpc__resp__wifi_clear_ap_list__field_indices_by_name, - 1, rpc__resp__wifi_clear_ap_list__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_clear_ap_list__init, + rpc__resp__wifi_set_channel__field_descriptors, + rpc__resp__wifi_set_channel__field_indices_by_name, + 1, rpc__resp__wifi_set_channel__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_restore__field_descriptors NULL -#define rpc__req__wifi_restore__field_indices_by_name NULL -#define rpc__req__wifi_restore__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_restore__descriptor = +#define rpc__req__wifi_get_channel__field_descriptors NULL +#define rpc__req__wifi_get_channel__field_indices_by_name NULL +#define rpc__req__wifi_get_channel__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiRestore", - "RpcReqWifiRestore", - "RpcReqWifiRestore", + "Rpc_Req_WifiGetChannel", + "RpcReqWifiGetChannel", + "RpcReqWifiGetChannel", "", - sizeof(RpcReqWifiRestore), + sizeof(RpcReqWifiGetChannel), 0, - rpc__req__wifi_restore__field_descriptors, - rpc__req__wifi_restore__field_indices_by_name, - 0, rpc__req__wifi_restore__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_restore__init, + rpc__req__wifi_get_channel__field_descriptors, + rpc__req__wifi_get_channel__field_indices_by_name, + 0, rpc__req__wifi_get_channel__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_restore__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descriptors[3] = { { - "resp", - 1, + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetChannel, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "primary", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiRestore, resp), + offsetof(RpcRespWifiGetChannel, primary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "second", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetChannel, second), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_restore__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_channel__field_indices_by_name[] = { + 1, /* field[1] = primary */ 0, /* field[0] = resp */ + 2, /* field[2] = second */ }; -static const ProtobufCIntRange rpc__resp__wifi_restore__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_channel__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_restore__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiRestore", - "RpcRespWifiRestore", - "RpcRespWifiRestore", - "", - sizeof(RpcRespWifiRestore), - 1, - rpc__resp__wifi_restore__field_descriptors, - rpc__resp__wifi_restore__field_indices_by_name, - 1, rpc__resp__wifi_restore__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_restore__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_clear_fast_connect__field_descriptors NULL -#define rpc__req__wifi_clear_fast_connect__field_indices_by_name NULL -#define rpc__req__wifi_clear_fast_connect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_clear_fast_connect__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiClearFastConnect", - "RpcReqWifiClearFastConnect", - "RpcReqWifiClearFastConnect", + "Rpc_Resp_WifiGetChannel", + "RpcRespWifiGetChannel", + "RpcRespWifiGetChannel", "", - sizeof(RpcReqWifiClearFastConnect), - 0, - rpc__req__wifi_clear_fast_connect__field_descriptors, - rpc__req__wifi_clear_fast_connect__field_indices_by_name, - 0, rpc__req__wifi_clear_fast_connect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_clear_fast_connect__init, + sizeof(RpcRespWifiGetChannel), + 3, + rpc__resp__wifi_get_channel__field_descriptors, + rpc__resp__wifi_get_channel__field_indices_by_name, + 1, rpc__resp__wifi_get_channel__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_fast_connect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_storage__field_descriptors[1] = { { - "resp", + "storage", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiClearFastConnect, resp), + offsetof(RpcReqWifiSetStorage, storage), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_clear_fast_connect__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_storage__field_indices_by_name[] = { + 0, /* field[0] = storage */ }; -static const ProtobufCIntRange rpc__resp__wifi_clear_fast_connect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_storage__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_clear_fast_connect__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_storage__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiClearFastConnect", - "RpcRespWifiClearFastConnect", - "RpcRespWifiClearFastConnect", + "Rpc_Req_WifiSetStorage", + "RpcReqWifiSetStorage", + "RpcReqWifiSetStorage", "", - sizeof(RpcRespWifiClearFastConnect), + sizeof(RpcReqWifiSetStorage), 1, - rpc__resp__wifi_clear_fast_connect__field_descriptors, - rpc__resp__wifi_clear_fast_connect__field_indices_by_name, - 1, rpc__resp__wifi_clear_fast_connect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_clear_fast_connect__init, + rpc__req__wifi_set_storage__field_descriptors, + rpc__req__wifi_set_storage__field_indices_by_name, + 1, rpc__req__wifi_set_storage__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_storage__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_deauth_sta__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_storage__field_descriptors[1] = { { - "aid", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiDeauthSta, aid), + offsetof(RpcRespWifiSetStorage, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_deauth_sta__field_indices_by_name[] = { - 0, /* field[0] = aid */ +static const unsigned rpc__resp__wifi_set_storage__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_deauth_sta__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_storage__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_deauth_sta__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_storage__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDeauthSta", - "RpcReqWifiDeauthSta", - "RpcReqWifiDeauthSta", + "Rpc_Resp_WifiSetStorage", + "RpcRespWifiSetStorage", + "RpcRespWifiSetStorage", "", - sizeof(RpcReqWifiDeauthSta), + sizeof(RpcRespWifiSetStorage), 1, - rpc__req__wifi_deauth_sta__field_descriptors, - rpc__req__wifi_deauth_sta__field_indices_by_name, - 1, rpc__req__wifi_deauth_sta__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_deauth_sta__init, + rpc__resp__wifi_set_storage__field_descriptors, + rpc__resp__wifi_set_storage__field_indices_by_name, + 1, rpc__resp__wifi_set_storage__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_storage__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_deauth_sta__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_country_code__field_descriptors[2] = { { - "resp", + "country", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeauthSta, resp), + offsetof(RpcReqWifiSetCountryCode, country), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", + "ieee80211d_enabled", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeauthSta, aid), + offsetof(RpcReqWifiSetCountryCode, ieee80211d_enabled), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_deauth_sta__field_indices_by_name[] = { - 1, /* field[1] = aid */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_country_code__field_indices_by_name[] = { + 0, /* field[0] = country */ + 1, /* field[1] = ieee80211d_enabled */ }; -static const ProtobufCIntRange rpc__resp__wifi_deauth_sta__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_country_code__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_deauth_sta__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDeauthSta", - "RpcRespWifiDeauthSta", - "RpcRespWifiDeauthSta", + "Rpc_Req_WifiSetCountryCode", + "RpcReqWifiSetCountryCode", + "RpcReqWifiSetCountryCode", "", - sizeof(RpcRespWifiDeauthSta), + sizeof(RpcReqWifiSetCountryCode), 2, - rpc__resp__wifi_deauth_sta__field_descriptors, - rpc__resp__wifi_deauth_sta__field_indices_by_name, - 1, rpc__resp__wifi_deauth_sta__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_deauth_sta__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_sta_get_ap_info__field_descriptors NULL -#define rpc__req__wifi_sta_get_ap_info__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_ap_info__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_ap_info__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetApInfo", - "RpcReqWifiStaGetApInfo", - "RpcReqWifiStaGetApInfo", - "", - sizeof(RpcReqWifiStaGetApInfo), - 0, - rpc__req__wifi_sta_get_ap_info__field_descriptors, - rpc__req__wifi_sta_get_ap_info__field_indices_by_name, - 0, rpc__req__wifi_sta_get_ap_info__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_ap_info__init, + rpc__req__wifi_set_country_code__field_descriptors, + rpc__req__wifi_set_country_code__field_indices_by_name, + 1, rpc__req__wifi_set_country_code__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country_code__field_descriptors[1] = { { "resp", @@ -18263,177 +19643,200 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetApInfo, resp), - NULL, + offsetof(RpcRespWifiSetCountryCode, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ap_record", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetApInfo, ap_record), - &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_ap_info__field_indices_by_name[] = { - 1, /* field[1] = ap_record */ +static const unsigned rpc__resp__wifi_set_country_code__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_ap_info__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_country_code__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_ap_info__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetApInfo", - "RpcRespWifiStaGetApInfo", - "RpcRespWifiStaGetApInfo", + "Rpc_Resp_WifiSetCountryCode", + "RpcRespWifiSetCountryCode", + "RpcRespWifiSetCountryCode", "", - sizeof(RpcRespWifiStaGetApInfo), - 2, - rpc__resp__wifi_sta_get_ap_info__field_descriptors, - rpc__resp__wifi_sta_get_ap_info__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_ap_info__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_ap_info__init, + sizeof(RpcRespWifiSetCountryCode), + 1, + rpc__resp__wifi_set_country_code__field_descriptors, + rpc__resp__wifi_set_country_code__field_indices_by_name, + 1, rpc__resp__wifi_set_country_code__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocol__field_descriptors[2] = +#define rpc__req__wifi_get_country_code__field_descriptors NULL +#define rpc__req__wifi_get_country_code__field_indices_by_name NULL +#define rpc__req__wifi_get_country_code__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_country_code__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetCountryCode", + "RpcReqWifiGetCountryCode", + "RpcReqWifiGetCountryCode", + "", + sizeof(RpcReqWifiGetCountryCode), + 0, + rpc__req__wifi_get_country_code__field_descriptors, + rpc__req__wifi_get_country_code__field_indices_by_name, + 0, rpc__req__wifi_get_country_code__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_country_code__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country_code__field_descriptors[2] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocol, ifx), + offsetof(RpcRespWifiGetCountryCode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protocol_bitmap", + "country", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocol, protocol_bitmap), + offsetof(RpcRespWifiGetCountryCode, country), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_protocol__field_indices_by_name[] = { - 0, /* field[0] = ifx */ - 1, /* field[1] = protocol_bitmap */ +static const unsigned rpc__resp__wifi_get_country_code__field_indices_by_name[] = { + 1, /* field[1] = country */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_country_code__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetProtocol", - "RpcReqWifiSetProtocol", - "RpcReqWifiSetProtocol", + "Rpc_Resp_WifiGetCountryCode", + "RpcRespWifiGetCountryCode", + "RpcRespWifiGetCountryCode", "", - sizeof(RpcReqWifiSetProtocol), + sizeof(RpcRespWifiGetCountryCode), 2, - rpc__req__wifi_set_protocol__field_descriptors, - rpc__req__wifi_set_protocol__field_indices_by_name, - 1, rpc__req__wifi_set_protocol__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_protocol__init, + rpc__resp__wifi_get_country_code__field_descriptors, + rpc__resp__wifi_get_country_code__field_indices_by_name, + 1, rpc__resp__wifi_get_country_code__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocol__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_country__field_descriptors[1] = { { - "resp", + "country", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocol, resp), - NULL, + offsetof(RpcReqWifiSetCountry, country), + &wifi_country__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_protocol__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_country__field_indices_by_name[] = { + 0, /* field[0] = country */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetProtocol", - "RpcRespWifiSetProtocol", - "RpcRespWifiSetProtocol", + "Rpc_Req_WifiSetCountry", + "RpcReqWifiSetCountry", + "RpcReqWifiSetCountry", "", - sizeof(RpcRespWifiSetProtocol), + sizeof(RpcReqWifiSetCountry), 1, - rpc__resp__wifi_set_protocol__field_descriptors, - rpc__resp__wifi_set_protocol__field_indices_by_name, - 1, rpc__resp__wifi_set_protocol__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_protocol__init, + rpc__req__wifi_set_country__field_descriptors, + rpc__req__wifi_set_country__field_indices_by_name, + 1, rpc__req__wifi_set_country__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocol__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country__field_descriptors[1] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetProtocol, ifx), + offsetof(RpcRespWifiSetCountry, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_protocol__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__wifi_set_country__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_get_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetProtocol", - "RpcReqWifiGetProtocol", - "RpcReqWifiGetProtocol", + "Rpc_Resp_WifiSetCountry", + "RpcRespWifiSetCountry", + "RpcRespWifiSetCountry", "", - sizeof(RpcReqWifiGetProtocol), + sizeof(RpcRespWifiSetCountry), 1, - rpc__req__wifi_get_protocol__field_descriptors, - rpc__req__wifi_get_protocol__field_indices_by_name, - 1, rpc__req__wifi_get_protocol__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_protocol__init, + rpc__resp__wifi_set_country__field_descriptors, + rpc__resp__wifi_set_country__field_indices_by_name, + 1, rpc__resp__wifi_set_country__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descriptors[2] = +#define rpc__req__wifi_get_country__field_descriptors NULL +#define rpc__req__wifi_get_country__field_indices_by_name NULL +#define rpc__req__wifi_get_country__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_country__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetCountry", + "RpcReqWifiGetCountry", + "RpcReqWifiGetCountry", + "", + sizeof(RpcReqWifiGetCountry), + 0, + rpc__req__wifi_get_country__field_descriptors, + rpc__req__wifi_get_country__field_indices_by_name, + 0, rpc__req__wifi_get_country__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_country__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descriptors[2] = { { "resp", @@ -18441,177 +19844,175 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocol, resp), + offsetof(RpcRespWifiGetCountry, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protocol_bitmap", + "country", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocol, protocol_bitmap), - NULL, + offsetof(RpcRespWifiGetCountry, country), + &wifi_country__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_protocol__field_indices_by_name[] = { - 1, /* field[1] = protocol_bitmap */ +static const unsigned rpc__resp__wifi_get_country__field_indices_by_name[] = { + 1, /* field[1] = country */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetProtocol", - "RpcRespWifiGetProtocol", - "RpcRespWifiGetProtocol", + "Rpc_Resp_WifiGetCountry", + "RpcRespWifiGetCountry", + "RpcRespWifiGetCountry", "", - sizeof(RpcRespWifiGetProtocol), + sizeof(RpcRespWifiGetCountry), 2, - rpc__resp__wifi_get_protocol__field_descriptors, - rpc__resp__wifi_get_protocol__field_indices_by_name, - 1, rpc__resp__wifi_get_protocol__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_protocol__init, + rpc__resp__wifi_get_country__field_descriptors, + rpc__resp__wifi_get_country__field_indices_by_name, + 1, rpc__resp__wifi_get_country__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidth__field_descriptors[2] = +#define rpc__req__wifi_ap_get_sta_list__field_descriptors NULL +#define rpc__req__wifi_ap_get_sta_list__field_indices_by_name NULL +#define rpc__req__wifi_ap_get_sta_list__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_list__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiApGetStaList", + "RpcReqWifiApGetStaList", + "RpcReqWifiApGetStaList", + "", + sizeof(RpcReqWifiApGetStaList), + 0, + rpc__req__wifi_ap_get_sta_list__field_descriptors, + rpc__req__wifi_ap_get_sta_list__field_indices_by_name, + 0, rpc__req__wifi_ap_get_sta_list__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_list__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_list__field_descriptors[2] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidth, ifx), + offsetof(RpcRespWifiApGetStaList, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bw", + "sta_list", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidth, bw), - NULL, + offsetof(RpcRespWifiApGetStaList, sta_list), + &wifi_sta_list__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_bandwidth__field_indices_by_name[] = { - 1, /* field[1] = bw */ - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__wifi_ap_get_sta_list__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = sta_list */ }; -static const ProtobufCIntRange rpc__req__wifi_set_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_list__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandwidth", - "RpcReqWifiSetBandwidth", - "RpcReqWifiSetBandwidth", + "Rpc_Resp_WifiApGetStaList", + "RpcRespWifiApGetStaList", + "RpcRespWifiApGetStaList", "", - sizeof(RpcReqWifiSetBandwidth), + sizeof(RpcRespWifiApGetStaList), 2, - rpc__req__wifi_set_bandwidth__field_descriptors, - rpc__req__wifi_set_bandwidth__field_indices_by_name, - 1, rpc__req__wifi_set_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_bandwidth__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidth__field_descriptors[1] = -{ - { - "resp", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidth, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned rpc__resp__wifi_set_bandwidth__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_set_bandwidth__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidth__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandwidth", - "RpcRespWifiSetBandwidth", - "RpcRespWifiSetBandwidth", - "", - sizeof(RpcRespWifiSetBandwidth), - 1, - rpc__resp__wifi_set_bandwidth__field_descriptors, - rpc__resp__wifi_set_bandwidth__field_indices_by_name, - 1, rpc__resp__wifi_set_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidth__init, + rpc__resp__wifi_ap_get_sta_list__field_descriptors, + rpc__resp__wifi_ap_get_sta_list__field_indices_by_name, + 1, rpc__resp__wifi_ap_get_sta_list__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidth__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_ap_get_sta_aid__field_descriptors[1] = { { - "ifx", + "mac", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetBandwidth, ifx), + offsetof(RpcReqWifiApGetStaAid, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_bandwidth__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__req__wifi_ap_get_sta_aid__field_indices_by_name[] = { + 0, /* field[0] = mac */ }; -static const ProtobufCIntRange rpc__req__wifi_get_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_ap_get_sta_aid__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandwidth", - "RpcReqWifiGetBandwidth", - "RpcReqWifiGetBandwidth", + "Rpc_Req_WifiApGetStaAid", + "RpcReqWifiApGetStaAid", + "RpcReqWifiApGetStaAid", "", - sizeof(RpcReqWifiGetBandwidth), + sizeof(RpcReqWifiApGetStaAid), 1, - rpc__req__wifi_get_bandwidth__field_descriptors, - rpc__req__wifi_get_bandwidth__field_indices_by_name, - 1, rpc__req__wifi_get_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_bandwidth__init, + rpc__req__wifi_ap_get_sta_aid__field_descriptors, + rpc__req__wifi_ap_get_sta_aid__field_indices_by_name, + 1, rpc__req__wifi_ap_get_sta_aid__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descriptors[2] = +#define rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors NULL +#define rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_negotiated_phymode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_negotiated_phymode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaGetNegotiatedPhymode", + "RpcReqWifiStaGetNegotiatedPhymode", + "RpcReqWifiStaGetNegotiatedPhymode", + "", + sizeof(RpcReqWifiStaGetNegotiatedPhymode), + 0, + rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors, + rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name, + 0, rpc__req__wifi_sta_get_negotiated_phymode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_negotiated_phymode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors[2] = { { "resp", @@ -18619,101 +20020,119 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidth, resp), + offsetof(RpcRespWifiStaGetNegotiatedPhymode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bw", + "phymode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidth, bw), + offsetof(RpcRespWifiStaGetNegotiatedPhymode, phymode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_bandwidth__field_indices_by_name[] = { - 1, /* field[1] = bw */ +static const unsigned rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name[] = { + 1, /* field[1] = phymode */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandwidth", - "RpcRespWifiGetBandwidth", - "RpcRespWifiGetBandwidth", + "Rpc_Resp_WifiStaGetNegotiatedPhymode", + "RpcRespWifiStaGetNegotiatedPhymode", + "RpcRespWifiStaGetNegotiatedPhymode", "", - sizeof(RpcRespWifiGetBandwidth), + sizeof(RpcRespWifiStaGetNegotiatedPhymode), 2, - rpc__resp__wifi_get_bandwidth__field_descriptors, - rpc__resp__wifi_get_bandwidth__field_indices_by_name, - 1, rpc__resp__wifi_get_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidth__init, + rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors, + rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_negotiated_phymode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_channel__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_aid__field_descriptors[2] = { { - "primary", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetChannel, primary), + offsetof(RpcRespWifiApGetStaAid, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "second", + "aid", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetChannel, second), + offsetof(RpcRespWifiApGetStaAid, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_channel__field_indices_by_name[] = { - 0, /* field[0] = primary */ - 1, /* field[1] = second */ +static const unsigned rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name[] = { + 1, /* field[1] = aid */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_channel__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_aid__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_channel__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetChannel", - "RpcReqWifiSetChannel", - "RpcReqWifiSetChannel", + "Rpc_Resp_WifiApGetStaAid", + "RpcRespWifiApGetStaAid", + "RpcRespWifiApGetStaAid", "", - sizeof(RpcReqWifiSetChannel), + sizeof(RpcRespWifiApGetStaAid), 2, - rpc__req__wifi_set_channel__field_descriptors, - rpc__req__wifi_set_channel__field_indices_by_name, - 1, rpc__req__wifi_set_channel__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_channel__init, + rpc__resp__wifi_ap_get_sta_aid__field_descriptors, + rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name, + 1, rpc__resp__wifi_ap_get_sta_aid__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descriptors[1] = +#define rpc__req__wifi_sta_get_rssi__field_descriptors NULL +#define rpc__req__wifi_sta_get_rssi__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_rssi__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_rssi__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaGetRssi", + "RpcReqWifiStaGetRssi", + "RpcReqWifiStaGetRssi", + "", + sizeof(RpcReqWifiStaGetRssi), + 0, + rpc__req__wifi_sta_get_rssi__field_descriptors, + rpc__req__wifi_sta_get_rssi__field_indices_by_name, + 0, rpc__req__wifi_sta_get_rssi__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_rssi__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descriptors[2] = { { "resp", @@ -18721,55 +20140,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetChannel, resp), + offsetof(RpcRespWifiStaGetRssi, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rssi", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiStaGetRssi, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_channel__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_get_rssi__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_channel__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_rssi__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_channel__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_rssi__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetChannel", - "RpcRespWifiSetChannel", - "RpcRespWifiSetChannel", + "Rpc_Resp_WifiStaGetRssi", + "RpcRespWifiStaGetRssi", + "RpcRespWifiStaGetRssi", "", - sizeof(RpcRespWifiSetChannel), - 1, - rpc__resp__wifi_set_channel__field_descriptors, - rpc__resp__wifi_set_channel__field_indices_by_name, - 1, rpc__resp__wifi_set_channel__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_channel__init, + sizeof(RpcRespWifiStaGetRssi), + 2, + rpc__resp__wifi_sta_get_rssi__field_descriptors, + rpc__resp__wifi_sta_get_rssi__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_rssi__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_rssi__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_channel__field_descriptors NULL -#define rpc__req__wifi_get_channel__field_indices_by_name NULL -#define rpc__req__wifi_get_channel__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_channel__descriptor = +#define rpc__req__wifi_sta_get_aid__field_descriptors NULL +#define rpc__req__wifi_sta_get_aid__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_aid__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetChannel", - "RpcReqWifiGetChannel", - "RpcReqWifiGetChannel", + "Rpc_Req_WifiStaGetAid", + "RpcReqWifiStaGetAid", + "RpcReqWifiStaGetAid", "", - sizeof(RpcReqWifiGetChannel), + sizeof(RpcReqWifiStaGetAid), 0, - rpc__req__wifi_get_channel__field_descriptors, - rpc__req__wifi_get_channel__field_indices_by_name, - 0, rpc__req__wifi_get_channel__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_channel__init, + rpc__req__wifi_sta_get_aid__field_descriptors, + rpc__req__wifi_sta_get_aid__field_indices_by_name, + 0, rpc__req__wifi_sta_get_aid__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_aid__field_descriptors[2] = { { "resp", @@ -18777,391 +20209,394 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, resp), + offsetof(RpcRespWifiStaGetAid, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "primary", + "aid", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, primary), + offsetof(RpcRespWifiStaGetAid, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_sta_get_aid__field_indices_by_name[] = { + 1, /* field[1] = aid */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_sta_get_aid__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_aid__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiStaGetAid", + "RpcRespWifiStaGetAid", + "RpcRespWifiStaGetAid", + "", + sizeof(RpcRespWifiStaGetAid), + 2, + rpc__resp__wifi_sta_get_aid__field_descriptors, + rpc__resp__wifi_sta_get_aid__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_aid__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_aid__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocols__field_descriptors[2] = +{ { - "second", - 3, + "ifx", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, second), + offsetof(RpcReqWifiSetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "protocols", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiSetProtocols, protocols), + &wifi_protocols__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; -static const unsigned rpc__resp__wifi_get_channel__field_indices_by_name[] = { - 1, /* field[1] = primary */ - 0, /* field[0] = resp */ - 2, /* field[2] = second */ -}; -static const ProtobufCIntRange rpc__resp__wifi_get_channel__number_ranges[1 + 1] = +static const unsigned rpc__req__wifi_set_protocols__field_indices_by_name[] = { + 0, /* field[0] = ifx */ + 1, /* field[1] = protocols */ +}; +static const ProtobufCIntRange rpc__req__wifi_set_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_channel__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetChannel", - "RpcRespWifiGetChannel", - "RpcRespWifiGetChannel", + "Rpc_Req_WifiSetProtocols", + "RpcReqWifiSetProtocols", + "RpcReqWifiSetProtocols", "", - sizeof(RpcRespWifiGetChannel), - 3, - rpc__resp__wifi_get_channel__field_descriptors, - rpc__resp__wifi_get_channel__field_indices_by_name, - 1, rpc__resp__wifi_get_channel__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_channel__init, + sizeof(RpcReqWifiSetProtocols), + 2, + rpc__req__wifi_set_protocols__field_descriptors, + rpc__req__wifi_set_protocols__field_indices_by_name, + 1, rpc__req__wifi_set_protocols__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_storage__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descriptors[2] = { { - "storage", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetStorage, storage), + offsetof(RpcRespWifiSetProtocols, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ifx", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiSetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_storage__field_indices_by_name[] = { - 0, /* field[0] = storage */ +static const unsigned rpc__resp__wifi_set_protocols__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_storage__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_storage__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetStorage", - "RpcReqWifiSetStorage", - "RpcReqWifiSetStorage", + "Rpc_Resp_WifiSetProtocols", + "RpcRespWifiSetProtocols", + "RpcRespWifiSetProtocols", "", - sizeof(RpcReqWifiSetStorage), - 1, - rpc__req__wifi_set_storage__field_descriptors, - rpc__req__wifi_set_storage__field_indices_by_name, - 1, rpc__req__wifi_set_storage__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_storage__init, + sizeof(RpcRespWifiSetProtocols), + 2, + rpc__resp__wifi_set_protocols__field_descriptors, + rpc__resp__wifi_set_protocols__field_indices_by_name, + 1, rpc__resp__wifi_set_protocols__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_storage__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocols__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetStorage, resp), + offsetof(RpcReqWifiGetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_storage__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_protocols__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_storage__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_protocols__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_storage__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetStorage", - "RpcRespWifiSetStorage", - "RpcRespWifiSetStorage", + "Rpc_Req_WifiGetProtocols", + "RpcReqWifiGetProtocols", + "RpcReqWifiGetProtocols", "", - sizeof(RpcRespWifiSetStorage), + sizeof(RpcReqWifiGetProtocols), 1, - rpc__resp__wifi_set_storage__field_descriptors, - rpc__resp__wifi_set_storage__field_indices_by_name, - 1, rpc__resp__wifi_set_storage__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_storage__init, + rpc__req__wifi_get_protocols__field_descriptors, + rpc__req__wifi_get_protocols__field_indices_by_name, + 1, rpc__req__wifi_get_protocols__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_country_code__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descriptors[3] = { { - "country", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountryCode, country), + offsetof(RpcRespWifiGetProtocols, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ieee80211d_enabled", + "ifx", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountryCode, ieee80211d_enabled), + offsetof(RpcRespWifiGetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_set_country_code__field_indices_by_name[] = { - 0, /* field[0] = country */ - 1, /* field[1] = ieee80211d_enabled */ -}; -static const ProtobufCIntRange rpc__req__wifi_set_country_code__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_set_country_code__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetCountryCode", - "RpcReqWifiSetCountryCode", - "RpcReqWifiSetCountryCode", - "", - sizeof(RpcReqWifiSetCountryCode), - 2, - rpc__req__wifi_set_country_code__field_descriptors, - rpc__req__wifi_set_country_code__field_indices_by_name, - 1, rpc__req__wifi_set_country_code__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_country_code__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country_code__field_descriptors[1] = -{ { - "resp", - 1, + "protocols", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetCountryCode, resp), - NULL, + offsetof(RpcRespWifiGetProtocols, protocols), + &wifi_protocols__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_country_code__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_protocols__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 2, /* field[2] = protocols */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_country_code__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_country_code__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetCountryCode", - "RpcRespWifiSetCountryCode", - "RpcRespWifiSetCountryCode", - "", - sizeof(RpcRespWifiSetCountryCode), - 1, - rpc__resp__wifi_set_country_code__field_descriptors, - rpc__resp__wifi_set_country_code__field_indices_by_name, - 1, rpc__resp__wifi_set_country_code__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_country_code__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_get_country_code__field_descriptors NULL -#define rpc__req__wifi_get_country_code__field_indices_by_name NULL -#define rpc__req__wifi_get_country_code__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_country_code__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetCountryCode", - "RpcReqWifiGetCountryCode", - "RpcReqWifiGetCountryCode", + "Rpc_Resp_WifiGetProtocols", + "RpcRespWifiGetProtocols", + "RpcRespWifiGetProtocols", "", - sizeof(RpcReqWifiGetCountryCode), - 0, - rpc__req__wifi_get_country_code__field_descriptors, - rpc__req__wifi_get_country_code__field_indices_by_name, - 0, rpc__req__wifi_get_country_code__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_country_code__init, + sizeof(RpcRespWifiGetProtocols), + 3, + rpc__resp__wifi_get_protocols__field_descriptors, + rpc__resp__wifi_get_protocols__field_indices_by_name, + 1, rpc__resp__wifi_get_protocols__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country_code__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidths__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountryCode, resp), + offsetof(RpcReqWifiSetBandwidths, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "country", + "bandwidths", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountryCode, country), - NULL, + offsetof(RpcReqWifiSetBandwidths, bandwidths), + &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_country_code__field_indices_by_name[] = { - 1, /* field[1] = country */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_bandwidths__field_indices_by_name[] = { + 1, /* field[1] = bandwidths */ + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_country_code__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_country_code__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetCountryCode", - "RpcRespWifiGetCountryCode", - "RpcRespWifiGetCountryCode", + "Rpc_Req_WifiSetBandwidths", + "RpcReqWifiSetBandwidths", + "RpcReqWifiSetBandwidths", "", - sizeof(RpcRespWifiGetCountryCode), + sizeof(RpcReqWifiSetBandwidths), 2, - rpc__resp__wifi_get_country_code__field_descriptors, - rpc__resp__wifi_get_country_code__field_indices_by_name, - 1, rpc__resp__wifi_get_country_code__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_country_code__init, + rpc__req__wifi_set_bandwidths__field_descriptors, + rpc__req__wifi_set_bandwidths__field_indices_by_name, + 1, rpc__req__wifi_set_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_country__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidths__field_descriptors[2] = { { - "country", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiSetBandwidths, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ifx", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountry, country), - &wifi_country__descriptor, + offsetof(RpcRespWifiSetBandwidths, ifx), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_country__field_indices_by_name[] = { - 0, /* field[0] = country */ +static const unsigned rpc__resp__wifi_set_bandwidths__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_country__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetCountry", - "RpcReqWifiSetCountry", - "RpcReqWifiSetCountry", + "Rpc_Resp_WifiSetBandwidths", + "RpcRespWifiSetBandwidths", + "RpcRespWifiSetBandwidths", "", - sizeof(RpcReqWifiSetCountry), - 1, - rpc__req__wifi_set_country__field_descriptors, - rpc__req__wifi_set_country__field_indices_by_name, - 1, rpc__req__wifi_set_country__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_country__init, + sizeof(RpcRespWifiSetBandwidths), + 2, + rpc__resp__wifi_set_bandwidths__field_descriptors, + rpc__resp__wifi_set_bandwidths__field_indices_by_name, + 1, rpc__resp__wifi_set_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidths__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetCountry, resp), + offsetof(RpcReqWifiGetBandwidths, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_country__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_bandwidths__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_country__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetCountry", - "RpcRespWifiSetCountry", - "RpcRespWifiSetCountry", + "Rpc_Req_WifiGetBandwidths", + "RpcReqWifiGetBandwidths", + "RpcReqWifiGetBandwidths", "", - sizeof(RpcRespWifiSetCountry), + sizeof(RpcReqWifiGetBandwidths), 1, - rpc__resp__wifi_set_country__field_descriptors, - rpc__resp__wifi_set_country__field_indices_by_name, - 1, rpc__resp__wifi_set_country__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_country__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_get_country__field_descriptors NULL -#define rpc__req__wifi_get_country__field_indices_by_name NULL -#define rpc__req__wifi_get_country__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_country__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetCountry", - "RpcReqWifiGetCountry", - "RpcReqWifiGetCountry", - "", - sizeof(RpcReqWifiGetCountry), - 0, - rpc__req__wifi_get_country__field_descriptors, - rpc__req__wifi_get_country__field_indices_by_name, - 0, rpc__req__wifi_get_country__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_country__init, + rpc__req__wifi_get_bandwidths__field_descriptors, + rpc__req__wifi_get_bandwidths__field_indices_by_name, + 1, rpc__req__wifi_get_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_descriptors[3] = { { "resp", @@ -19169,175 +20604,157 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountry, resp), + offsetof(RpcRespWifiGetBandwidths, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "country", + "ifx", 2, PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetBandwidths, ifx), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "bandwidths", + 3, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountry, country), - &wifi_country__descriptor, + offsetof(RpcRespWifiGetBandwidths, bandwidths), + &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_country__field_indices_by_name[] = { - 1, /* field[1] = country */ +static const unsigned rpc__resp__wifi_get_bandwidths__field_indices_by_name[] = { + 2, /* field[2] = bandwidths */ + 1, /* field[1] = ifx */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_country__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetCountry", - "RpcRespWifiGetCountry", - "RpcRespWifiGetCountry", - "", - sizeof(RpcRespWifiGetCountry), - 2, - rpc__resp__wifi_get_country__field_descriptors, - rpc__resp__wifi_get_country__field_indices_by_name, - 1, rpc__resp__wifi_get_country__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_country__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_ap_get_sta_list__field_descriptors NULL -#define rpc__req__wifi_ap_get_sta_list__field_indices_by_name NULL -#define rpc__req__wifi_ap_get_sta_list__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_list__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiApGetStaList", - "RpcReqWifiApGetStaList", - "RpcReqWifiApGetStaList", + "Rpc_Resp_WifiGetBandwidths", + "RpcRespWifiGetBandwidths", + "RpcRespWifiGetBandwidths", "", - sizeof(RpcReqWifiApGetStaList), - 0, - rpc__req__wifi_ap_get_sta_list__field_descriptors, - rpc__req__wifi_ap_get_sta_list__field_indices_by_name, - 0, rpc__req__wifi_ap_get_sta_list__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_list__init, + sizeof(RpcRespWifiGetBandwidths), + 3, + rpc__resp__wifi_get_bandwidths__field_descriptors, + rpc__resp__wifi_get_bandwidths__field_indices_by_name, + 1, rpc__resp__wifi_get_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_list__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_band__field_descriptors[1] = { { - "resp", + "band", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaList, resp), - NULL, + offsetof(RpcReqWifiSetBand, band), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sta_list", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaList, sta_list), - &wifi_sta_list__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_ap_get_sta_list__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sta_list */ +static const unsigned rpc__req__wifi_set_band__field_indices_by_name[] = { + 0, /* field[0] = band */ }; -static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_list__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_band__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_list__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiApGetStaList", - "RpcRespWifiApGetStaList", - "RpcRespWifiApGetStaList", + "Rpc_Req_WifiSetBand", + "RpcReqWifiSetBand", + "RpcReqWifiSetBand", "", - sizeof(RpcRespWifiApGetStaList), - 2, - rpc__resp__wifi_ap_get_sta_list__field_descriptors, - rpc__resp__wifi_ap_get_sta_list__field_indices_by_name, - 1, rpc__resp__wifi_ap_get_sta_list__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_list__init, + sizeof(RpcReqWifiSetBand), + 1, + rpc__req__wifi_set_band__field_descriptors, + rpc__req__wifi_set_band__field_indices_by_name, + 1, rpc__req__wifi_set_band__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_ap_get_sta_aid__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptors[1] = { { - "mac", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiApGetStaAid, mac), + offsetof(RpcRespWifiSetBand, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_ap_get_sta_aid__field_indices_by_name[] = { - 0, /* field[0] = mac */ +static const unsigned rpc__resp__wifi_set_band__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_ap_get_sta_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_band__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_aid__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiApGetStaAid", - "RpcReqWifiApGetStaAid", - "RpcReqWifiApGetStaAid", + "Rpc_Resp_WifiSetBand", + "RpcRespWifiSetBand", + "RpcRespWifiSetBand", "", - sizeof(RpcReqWifiApGetStaAid), + sizeof(RpcRespWifiSetBand), 1, - rpc__req__wifi_ap_get_sta_aid__field_descriptors, - rpc__req__wifi_ap_get_sta_aid__field_indices_by_name, - 1, rpc__req__wifi_ap_get_sta_aid__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_aid__init, + rpc__resp__wifi_set_band__field_descriptors, + rpc__resp__wifi_set_band__field_indices_by_name, + 1, rpc__resp__wifi_set_band__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_band__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors NULL -#define rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_negotiated_phymode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_negotiated_phymode__descriptor = +#define rpc__req__wifi_get_band__field_descriptors NULL +#define rpc__req__wifi_get_band__field_indices_by_name NULL +#define rpc__req__wifi_get_band__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetNegotiatedPhymode", - "RpcReqWifiStaGetNegotiatedPhymode", - "RpcReqWifiStaGetNegotiatedPhymode", + "Rpc_Req_WifiGetBand", + "RpcReqWifiGetBand", + "RpcReqWifiGetBand", "", - sizeof(RpcReqWifiStaGetNegotiatedPhymode), + sizeof(RpcReqWifiGetBand), 0, - rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors, - rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name, - 0, rpc__req__wifi_sta_get_negotiated_phymode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_negotiated_phymode__init, + rpc__req__wifi_get_band__field_descriptors, + rpc__req__wifi_get_band__field_indices_by_name, + 0, rpc__req__wifi_get_band__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band__field_descriptors[2] = { { "resp", @@ -19345,119 +20762,144 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetNegotiatedPhymode, resp), + offsetof(RpcRespWifiGetBand, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "phymode", + "band", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetNegotiatedPhymode, phymode), + offsetof(RpcRespWifiGetBand, band), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name[] = { - 1, /* field[1] = phymode */ +static const unsigned rpc__resp__wifi_get_band__field_indices_by_name[] = { + 1, /* field[1] = band */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_band__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetNegotiatedPhymode", - "RpcRespWifiStaGetNegotiatedPhymode", - "RpcRespWifiStaGetNegotiatedPhymode", + "Rpc_Resp_WifiGetBand", + "RpcRespWifiGetBand", + "RpcRespWifiGetBand", "", - sizeof(RpcRespWifiStaGetNegotiatedPhymode), + sizeof(RpcRespWifiGetBand), 2, - rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors, - rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_negotiated_phymode__init, + rpc__resp__wifi_get_band__field_descriptors, + rpc__resp__wifi_get_band__field_indices_by_name, + 1, rpc__resp__wifi_get_band__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_aid__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_band_mode__field_descriptors[1] = { { - "resp", + "bandmode", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaAid, resp), + offsetof(RpcReqWifiSetBandMode, bandmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__wifi_set_band_mode__field_indices_by_name[] = { + 0, /* field[0] = bandmode */ +}; +static const ProtobufCIntRange rpc__req__wifi_set_band_mode__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__wifi_set_band_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiSetBandMode", + "RpcReqWifiSetBandMode", + "RpcReqWifiSetBandMode", + "", + sizeof(RpcReqWifiSetBandMode), + 1, + rpc__req__wifi_set_band_mode__field_descriptors, + rpc__req__wifi_set_band_mode__field_indices_by_name, + 1, rpc__req__wifi_set_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_band_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band_mode__field_descriptors[1] = +{ { - "aid", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaAid, aid), + offsetof(RpcRespWifiSetBandMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name[] = { - 1, /* field[1] = aid */ +static const unsigned rpc__resp__wifi_set_band_mode__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_band_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_aid__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiApGetStaAid", - "RpcRespWifiApGetStaAid", - "RpcRespWifiApGetStaAid", + "Rpc_Resp_WifiSetBandMode", + "RpcRespWifiSetBandMode", + "RpcRespWifiSetBandMode", "", - sizeof(RpcRespWifiApGetStaAid), - 2, - rpc__resp__wifi_ap_get_sta_aid__field_descriptors, - rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name, - 1, rpc__resp__wifi_ap_get_sta_aid__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_aid__init, + sizeof(RpcRespWifiSetBandMode), + 1, + rpc__resp__wifi_set_band_mode__field_descriptors, + rpc__resp__wifi_set_band_mode__field_indices_by_name, + 1, rpc__resp__wifi_set_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_get_rssi__field_descriptors NULL -#define rpc__req__wifi_sta_get_rssi__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_rssi__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_rssi__descriptor = +#define rpc__req__wifi_get_band_mode__field_descriptors NULL +#define rpc__req__wifi_get_band_mode__field_indices_by_name NULL +#define rpc__req__wifi_get_band_mode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetRssi", - "RpcReqWifiStaGetRssi", - "RpcReqWifiStaGetRssi", + "Rpc_Req_WifiGetBandMode", + "RpcReqWifiGetBandMode", + "RpcReqWifiGetBandMode", "", - sizeof(RpcReqWifiStaGetRssi), + sizeof(RpcReqWifiGetBandMode), 0, - rpc__req__wifi_sta_get_rssi__field_descriptors, - rpc__req__wifi_sta_get_rssi__field_indices_by_name, - 0, rpc__req__wifi_sta_get_rssi__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_rssi__init, + rpc__req__wifi_get_band_mode__field_descriptors, + rpc__req__wifi_get_band_mode__field_indices_by_name, + 0, rpc__req__wifi_get_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descriptors[2] = { { "resp", @@ -19465,170 +20907,177 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetRssi, resp), + offsetof(RpcRespWifiGetBandMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", + "bandmode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetRssi, rssi), + offsetof(RpcRespWifiGetBandMode, bandmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_rssi__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_band_mode__field_indices_by_name[] = { + 1, /* field[1] = bandmode */ 0, /* field[0] = resp */ - 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_rssi__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_band_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_rssi__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetRssi", - "RpcRespWifiStaGetRssi", - "RpcRespWifiStaGetRssi", + "Rpc_Resp_WifiGetBandMode", + "RpcRespWifiGetBandMode", + "RpcRespWifiGetBandMode", "", - sizeof(RpcRespWifiStaGetRssi), + sizeof(RpcRespWifiGetBandMode), 2, - rpc__resp__wifi_sta_get_rssi__field_descriptors, - rpc__resp__wifi_sta_get_rssi__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_rssi__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_rssi__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_sta_get_aid__field_descriptors NULL -#define rpc__req__wifi_sta_get_aid__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_aid__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_aid__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetAid", - "RpcReqWifiStaGetAid", - "RpcReqWifiStaGetAid", - "", - sizeof(RpcReqWifiStaGetAid), - 0, - rpc__req__wifi_sta_get_aid__field_descriptors, - rpc__req__wifi_sta_get_aid__field_indices_by_name, - 0, rpc__req__wifi_sta_get_aid__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_aid__init, + rpc__resp__wifi_get_band_mode__field_descriptors, + rpc__resp__wifi_get_band_mode__field_indices_by_name, + 1, rpc__resp__wifi_get_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_aid__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_inactive_time__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetAid, resp), + offsetof(RpcReqWifiSetInactiveTime, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", + "sec", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetAid, aid), + offsetof(RpcReqWifiSetInactiveTime, sec), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_aid__field_indices_by_name[] = { - 1, /* field[1] = aid */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_inactive_time__field_indices_by_name[] = { + 0, /* field[0] = ifx */ + 1, /* field[1] = sec */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_aid__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetAid", - "RpcRespWifiStaGetAid", - "RpcRespWifiStaGetAid", + "Rpc_Req_WifiSetInactiveTime", + "RpcReqWifiSetInactiveTime", + "RpcReqWifiSetInactiveTime", "", - sizeof(RpcRespWifiStaGetAid), + sizeof(RpcReqWifiSetInactiveTime), 2, - rpc__resp__wifi_sta_get_aid__field_descriptors, - rpc__resp__wifi_sta_get_aid__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_aid__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_aid__init, + rpc__req__wifi_set_inactive_time__field_descriptors, + rpc__req__wifi_set_inactive_time__field_indices_by_name, + 1, rpc__req__wifi_set_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocols__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_descriptors[1] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocols, ifx), + offsetof(RpcRespWifiSetInactiveTime, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_set_inactive_time__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_set_inactive_time__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_set_inactive_time__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiSetInactiveTime", + "RpcRespWifiSetInactiveTime", + "RpcRespWifiSetInactiveTime", + "", + sizeof(RpcRespWifiSetInactiveTime), + 1, + rpc__resp__wifi_set_inactive_time__field_descriptors, + rpc__resp__wifi_set_inactive_time__field_indices_by_name, + 1, rpc__resp__wifi_set_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_inactive_time__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__wifi_get_inactive_time__field_descriptors[1] = +{ { - "protocols", - 2, + "ifx", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocols, protocols), - &wifi_protocols__descriptor, + offsetof(RpcReqWifiGetInactiveTime, ifx), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_protocols__field_indices_by_name[] = { +static const unsigned rpc__req__wifi_get_inactive_time__field_indices_by_name[] = { 0, /* field[0] = ifx */ - 1, /* field[1] = protocols */ }; -static const ProtobufCIntRange rpc__req__wifi_set_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetProtocols", - "RpcReqWifiSetProtocols", - "RpcReqWifiSetProtocols", + "Rpc_Req_WifiGetInactiveTime", + "RpcReqWifiGetInactiveTime", + "RpcReqWifiGetInactiveTime", "", - sizeof(RpcReqWifiSetProtocols), - 2, - rpc__req__wifi_set_protocols__field_descriptors, - rpc__req__wifi_set_protocols__field_indices_by_name, - 1, rpc__req__wifi_set_protocols__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_protocols__init, + sizeof(RpcReqWifiGetInactiveTime), + 1, + rpc__req__wifi_get_inactive_time__field_descriptors, + rpc__req__wifi_get_inactive_time__field_indices_by_name, + 1, rpc__req__wifi_get_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_inactive_time__field_descriptors[2] = { { "resp", @@ -19636,88 +21085,88 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocols, resp), + offsetof(RpcRespWifiGetInactiveTime, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ifx", + "sec", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocols, ifx), + offsetof(RpcRespWifiGetInactiveTime, sec), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_protocols__field_indices_by_name[] = { - 1, /* field[1] = ifx */ +static const unsigned rpc__resp__wifi_get_inactive_time__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = sec */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetProtocols", - "RpcRespWifiSetProtocols", - "RpcRespWifiSetProtocols", + "Rpc_Resp_WifiGetInactiveTime", + "RpcRespWifiGetInactiveTime", + "RpcRespWifiGetInactiveTime", "", - sizeof(RpcRespWifiSetProtocols), + sizeof(RpcRespWifiGetInactiveTime), 2, - rpc__resp__wifi_set_protocols__field_descriptors, - rpc__resp__wifi_set_protocols__field_indices_by_name, - 1, rpc__resp__wifi_set_protocols__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_protocols__init, + rpc__resp__wifi_get_inactive_time__field_descriptors, + rpc__resp__wifi_get_inactive_time__field_indices_by_name, + 1, rpc__resp__wifi_get_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocols__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_setup__field_descriptors[1] = { { - "ifx", + "setup_config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetProtocols, ifx), - NULL, + offsetof(RpcReqWifiStaItwtSetup, setup_config), + &wifi_itwt_setup_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_protocols__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__req__wifi_sta_itwt_setup__field_indices_by_name[] = { + 0, /* field[0] = setup_config */ }; -static const ProtobufCIntRange rpc__req__wifi_get_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_setup__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_setup__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetProtocols", - "RpcReqWifiGetProtocols", - "RpcReqWifiGetProtocols", + "Rpc_Req_WifiStaItwtSetup", + "RpcReqWifiStaItwtSetup", + "RpcReqWifiStaItwtSetup", "", - sizeof(RpcReqWifiGetProtocols), + sizeof(RpcReqWifiStaItwtSetup), 1, - rpc__req__wifi_get_protocols__field_descriptors, - rpc__req__wifi_get_protocols__field_indices_by_name, - 1, rpc__req__wifi_get_protocols__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_protocols__init, + rpc__req__wifi_sta_itwt_setup__field_descriptors, + rpc__req__wifi_sta_itwt_setup__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_setup__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_setup__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_setup__field_descriptors[1] = { { "resp", @@ -19725,203 +21174,220 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, resp), + offsetof(RpcRespWifiStaItwtSetup, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_sta_itwt_setup__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_setup__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_setup__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiStaItwtSetup", + "RpcRespWifiStaItwtSetup", + "RpcRespWifiStaItwtSetup", + "", + sizeof(RpcRespWifiStaItwtSetup), + 1, + rpc__resp__wifi_sta_itwt_setup__field_descriptors, + rpc__resp__wifi_sta_itwt_setup__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_setup__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_setup__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_teardown__field_descriptors[1] = +{ { - "ifx", - 2, + "flow_id", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, ifx), - NULL, + offsetof(RpcReqWifiStaItwtTeardown, flow_id), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "protocols", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, protocols), - &wifi_protocols__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_protocols__field_indices_by_name[] = { - 1, /* field[1] = ifx */ - 2, /* field[2] = protocols */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_sta_itwt_teardown__field_indices_by_name[] = { + 0, /* field[0] = flow_id */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_teardown__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_teardown__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetProtocols", - "RpcRespWifiGetProtocols", - "RpcRespWifiGetProtocols", + "Rpc_Req_WifiStaItwtTeardown", + "RpcReqWifiStaItwtTeardown", + "RpcReqWifiStaItwtTeardown", "", - sizeof(RpcRespWifiGetProtocols), - 3, - rpc__resp__wifi_get_protocols__field_descriptors, - rpc__resp__wifi_get_protocols__field_indices_by_name, - 1, rpc__resp__wifi_get_protocols__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_protocols__init, + sizeof(RpcReqWifiStaItwtTeardown), + 1, + rpc__req__wifi_sta_itwt_teardown__field_descriptors, + rpc__req__wifi_sta_itwt_teardown__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_teardown__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_teardown__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidths__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_teardown__field_descriptors[1] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidths, ifx), - NULL, + offsetof(RpcRespWifiStaItwtTeardown, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bandwidths", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidths, bandwidths), - &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_bandwidths__field_indices_by_name[] = { - 1, /* field[1] = bandwidths */ - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_teardown__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_teardown__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandwidths", - "RpcReqWifiSetBandwidths", - "RpcReqWifiSetBandwidths", + "Rpc_Resp_WifiStaItwtTeardown", + "RpcRespWifiStaItwtTeardown", + "RpcRespWifiStaItwtTeardown", "", - sizeof(RpcReqWifiSetBandwidths), - 2, - rpc__req__wifi_set_bandwidths__field_descriptors, - rpc__req__wifi_set_bandwidths__field_indices_by_name, - 1, rpc__req__wifi_set_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_bandwidths__init, + sizeof(RpcRespWifiStaItwtTeardown), + 1, + rpc__resp__wifi_sta_itwt_teardown__field_descriptors, + rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_teardown__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_teardown__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidths__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_suspend__field_descriptors[2] = { { - "resp", + "flow_id", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidths, resp), + offsetof(RpcReqWifiStaItwtSuspend, flow_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ifx", + "suspend_time_ms", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidths, ifx), + offsetof(RpcReqWifiStaItwtSuspend, suspend_time_ms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_bandwidths__field_indices_by_name[] = { - 1, /* field[1] = ifx */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_sta_itwt_suspend__field_indices_by_name[] = { + 0, /* field[0] = flow_id */ + 1, /* field[1] = suspend_time_ms */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_suspend__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_suspend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandwidths", - "RpcRespWifiSetBandwidths", - "RpcRespWifiSetBandwidths", + "Rpc_Req_WifiStaItwtSuspend", + "RpcReqWifiStaItwtSuspend", + "RpcReqWifiStaItwtSuspend", "", - sizeof(RpcRespWifiSetBandwidths), + sizeof(RpcReqWifiStaItwtSuspend), 2, - rpc__resp__wifi_set_bandwidths__field_descriptors, - rpc__resp__wifi_set_bandwidths__field_indices_by_name, - 1, rpc__resp__wifi_set_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidths__init, + rpc__req__wifi_sta_itwt_suspend__field_descriptors, + rpc__req__wifi_sta_itwt_suspend__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_suspend__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_suspend__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidths__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_suspend__field_descriptors[1] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetBandwidths, ifx), + offsetof(RpcRespWifiStaItwtSuspend, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_bandwidths__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_get_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_suspend__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_suspend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandwidths", - "RpcReqWifiGetBandwidths", - "RpcReqWifiGetBandwidths", + "Rpc_Resp_WifiStaItwtSuspend", + "RpcRespWifiStaItwtSuspend", + "RpcRespWifiStaItwtSuspend", "", - sizeof(RpcReqWifiGetBandwidths), + sizeof(RpcRespWifiStaItwtSuspend), 1, - rpc__req__wifi_get_bandwidths__field_descriptors, - rpc__req__wifi_get_bandwidths__field_indices_by_name, - 1, rpc__req__wifi_get_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_bandwidths__init, + rpc__resp__wifi_sta_itwt_suspend__field_descriptors, + rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_suspend__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_suspend__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_descriptors[3] = +#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors NULL +#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name NULL +#define rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaItwtGetFlowIdStatus", + "RpcReqWifiStaItwtGetFlowIdStatus", + "RpcReqWifiStaItwtGetFlowIdStatus", + "", + sizeof(RpcReqWifiStaItwtGetFlowIdStatus), + 0, + rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors, + rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, + 0, rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_get_flow_id_status__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors[2] = { { "resp", @@ -19929,101 +21395,88 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, resp), + offsetof(RpcRespWifiStaItwtGetFlowIdStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ifx", + "flow_id_bitmap", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, ifx), - NULL, + offsetof(RpcRespWifiStaItwtGetFlowIdStatus, flow_id_bitmap), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bandwidths", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, bandwidths), - &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_bandwidths__field_indices_by_name[] = { - 2, /* field[2] = bandwidths */ - 1, /* field[1] = ifx */ +static const unsigned rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name[] = { + 1, /* field[1] = flow_id_bitmap */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandwidths", - "RpcRespWifiGetBandwidths", - "RpcRespWifiGetBandwidths", + "Rpc_Resp_WifiStaItwtGetFlowIdStatus", + "RpcRespWifiStaItwtGetFlowIdStatus", + "RpcRespWifiStaItwtGetFlowIdStatus", "", - sizeof(RpcRespWifiGetBandwidths), - 3, - rpc__resp__wifi_get_bandwidths__field_descriptors, - rpc__resp__wifi_get_bandwidths__field_indices_by_name, - 1, rpc__resp__wifi_get_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidths__init, + sizeof(RpcRespWifiStaItwtGetFlowIdStatus), + 2, + rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors, + rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_get_flow_id_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_band__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors[1] = { { - "band", + "timeout_ms", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBand, band), + offsetof(RpcReqWifiStaItwtSendProbeReq, timeout_ms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_band__field_indices_by_name[] = { - 0, /* field[0] = band */ +static const unsigned rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { + 0, /* field[0] = timeout_ms */ }; -static const ProtobufCIntRange rpc__req__wifi_set_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_band__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_send_probe_req__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBand", - "RpcReqWifiSetBand", - "RpcReqWifiSetBand", + "Rpc_Req_WifiStaItwtSendProbeReq", + "RpcReqWifiStaItwtSendProbeReq", + "RpcReqWifiStaItwtSendProbeReq", "", - sizeof(RpcReqWifiSetBand), + sizeof(RpcReqWifiStaItwtSendProbeReq), 1, - rpc__req__wifi_set_band__field_descriptors, - rpc__req__wifi_set_band__field_indices_by_name, - 1, rpc__req__wifi_set_band__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_band__init, + rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors, + rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_send_probe_req__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_send_probe_req__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors[1] = { { "resp", @@ -20031,144 +21484,151 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptor PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBand, resp), + offsetof(RpcRespWifiStaItwtSendProbeReq, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_band__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_band__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBand", - "RpcRespWifiSetBand", - "RpcRespWifiSetBand", + "Rpc_Resp_WifiStaItwtSendProbeReq", + "RpcRespWifiStaItwtSendProbeReq", + "RpcRespWifiStaItwtSendProbeReq", "", - sizeof(RpcRespWifiSetBand), + sizeof(RpcRespWifiStaItwtSendProbeReq), 1, - rpc__resp__wifi_set_band__field_descriptors, - rpc__resp__wifi_set_band__field_indices_by_name, - 1, rpc__resp__wifi_set_band__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_band__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_get_band__field_descriptors NULL -#define rpc__req__wifi_get_band__field_indices_by_name NULL -#define rpc__req__wifi_get_band__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_band__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBand", - "RpcReqWifiGetBand", - "RpcReqWifiGetBand", - "", - sizeof(RpcReqWifiGetBand), - 0, - rpc__req__wifi_get_band__field_descriptors, - rpc__req__wifi_get_band__field_indices_by_name, - 0, rpc__req__wifi_get_band__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_band__init, + rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors, + rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_send_probe_req__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = { { - "resp", + "offset_us", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBand, resp), + offsetof(RpcReqWifiStaItwtSetTargetWakeTimeOffset, offset_us), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { + 0, /* field[0] = offset_us */ +}; +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset", + "RpcReqWifiStaItwtSetTargetWakeTimeOffset", + "RpcReqWifiStaItwtSetTargetWakeTimeOffset", + "", + sizeof(RpcReqWifiStaItwtSetTargetWakeTimeOffset), + 1, + rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, + rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_set_target_wake_time_offset__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = +{ { - "band", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBand, band), + offsetof(RpcRespWifiStaItwtSetTargetWakeTimeOffset, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_band__field_indices_by_name[] = { - 1, /* field[1] = band */ +static const unsigned rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_band__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBand", - "RpcRespWifiGetBand", - "RpcRespWifiGetBand", + "Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset", + "RpcRespWifiStaItwtSetTargetWakeTimeOffset", + "RpcRespWifiStaItwtSetTargetWakeTimeOffset", "", - sizeof(RpcRespWifiGetBand), - 2, - rpc__resp__wifi_get_band__field_descriptors, - rpc__resp__wifi_get_band__field_indices_by_name, - 1, rpc__resp__wifi_get_band__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_band__init, + sizeof(RpcRespWifiStaItwtSetTargetWakeTimeOffset), + 1, + rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, + rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_band_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_twt_config__field_descriptors[1] = { { - "bandmode", + "config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandMode, bandmode), - NULL, + offsetof(RpcReqWifiStaTwtConfig, config), + &wifi_twt_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_band_mode__field_indices_by_name[] = { - 0, /* field[0] = bandmode */ -}; -static const ProtobufCIntRange rpc__req__wifi_set_band_mode__number_ranges[1 + 1] = +static const unsigned rpc__req__wifi_sta_twt_config__field_indices_by_name[] = { + 0, /* field[0] = config */ +}; +static const ProtobufCIntRange rpc__req__wifi_sta_twt_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_twt_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandMode", - "RpcReqWifiSetBandMode", - "RpcReqWifiSetBandMode", + "Rpc_Req_WifiStaTwtConfig", + "RpcReqWifiStaTwtConfig", + "RpcReqWifiStaTwtConfig", "", - sizeof(RpcReqWifiSetBandMode), + sizeof(RpcReqWifiStaTwtConfig), 1, - rpc__req__wifi_set_band_mode__field_descriptors, - rpc__req__wifi_set_band_mode__field_indices_by_name, - 1, rpc__req__wifi_set_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_band_mode__init, + rpc__req__wifi_sta_twt_config__field_descriptors, + rpc__req__wifi_sta_twt_config__field_indices_by_name, + 1, rpc__req__wifi_sta_twt_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_twt_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_twt_config__field_descriptors[1] = { { "resp", @@ -20176,55 +21636,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band_mode__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandMode, resp), + offsetof(RpcRespWifiStaTwtConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_band_mode__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_twt_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_band_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_twt_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_twt_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandMode", - "RpcRespWifiSetBandMode", - "RpcRespWifiSetBandMode", + "Rpc_Resp_WifiStaTwtConfig", + "RpcRespWifiStaTwtConfig", + "RpcRespWifiStaTwtConfig", "", - sizeof(RpcRespWifiSetBandMode), + sizeof(RpcRespWifiStaTwtConfig), 1, - rpc__resp__wifi_set_band_mode__field_descriptors, - rpc__resp__wifi_set_band_mode__field_indices_by_name, - 1, rpc__resp__wifi_set_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_band_mode__init, + rpc__resp__wifi_sta_twt_config__field_descriptors, + rpc__resp__wifi_sta_twt_config__field_indices_by_name, + 1, rpc__resp__wifi_sta_twt_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_twt_config__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_band_mode__field_descriptors NULL -#define rpc__req__wifi_get_band_mode__field_indices_by_name NULL -#define rpc__req__wifi_get_band_mode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_band_mode__descriptor = +#define rpc__req__get_coprocessor_fw_version__field_descriptors NULL +#define rpc__req__get_coprocessor_fw_version__field_indices_by_name NULL +#define rpc__req__get_coprocessor_fw_version__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_coprocessor_fw_version__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandMode", - "RpcReqWifiGetBandMode", - "RpcReqWifiGetBandMode", + "Rpc_Req_GetCoprocessorFwVersion", + "RpcReqGetCoprocessorFwVersion", + "RpcReqGetCoprocessorFwVersion", "", - sizeof(RpcReqWifiGetBandMode), + sizeof(RpcReqGetCoprocessorFwVersion), 0, - rpc__req__wifi_get_band_mode__field_descriptors, - rpc__req__wifi_get_band_mode__field_indices_by_name, - 0, rpc__req__wifi_get_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_band_mode__init, + rpc__req__get_coprocessor_fw_version__field_descriptors, + rpc__req__get_coprocessor_fw_version__field_indices_by_name, + 0, rpc__req__get_coprocessor_fw_version__number_ranges, + (ProtobufCMessageInit) rpc__req__get_coprocessor_fw_version__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__field_descriptors[4] = { { "resp", @@ -20232,101 +21692,218 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandMode, resp), + offsetof(RpcRespGetCoprocessorFwVersion, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bandmode", + "major1", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandMode, bandmode), + offsetof(RpcRespGetCoprocessorFwVersion, major1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "minor1", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetCoprocessorFwVersion, minor1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "patch1", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetCoprocessorFwVersion, patch1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_band_mode__field_indices_by_name[] = { - 1, /* field[1] = bandmode */ +static const unsigned rpc__resp__get_coprocessor_fw_version__field_indices_by_name[] = { + 1, /* field[1] = major1 */ + 2, /* field[2] = minor1 */ + 3, /* field[3] = patch1 */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_band_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_coprocessor_fw_version__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_coprocessor_fw_version__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandMode", - "RpcRespWifiGetBandMode", - "RpcRespWifiGetBandMode", + "Rpc_Resp_GetCoprocessorFwVersion", + "RpcRespGetCoprocessorFwVersion", + "RpcRespGetCoprocessorFwVersion", "", - sizeof(RpcRespWifiGetBandMode), - 2, - rpc__resp__wifi_get_band_mode__field_descriptors, - rpc__resp__wifi_get_band_mode__field_indices_by_name, - 1, rpc__resp__wifi_get_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_band_mode__init, + sizeof(RpcRespGetCoprocessorFwVersion), + 4, + rpc__resp__get_coprocessor_fw_version__field_descriptors, + rpc__resp__get_coprocessor_fw_version__field_indices_by_name, + 1, rpc__resp__get_coprocessor_fw_version__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_coprocessor_fw_version__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_inactive_time__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__set_dhcp_dns_status__field_descriptors[9] = { { - "ifx", + "iface", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetInactiveTime, ifx), + offsetof(RpcReqSetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sec", + "net_link_up", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetInactiveTime, sec), + offsetof(RpcReqSetDhcpDnsStatus, net_link_up), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_up", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_up), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_ip", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_nm", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_nm), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_gw", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_gw), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_up", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dns_up), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_ip", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dns_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_type", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dns_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = ifx */ - 1, /* field[1] = sec */ +static const unsigned rpc__req__set_dhcp_dns_status__field_indices_by_name[] = { + 5, /* field[5] = dhcp_gw */ + 3, /* field[3] = dhcp_ip */ + 4, /* field[4] = dhcp_nm */ + 2, /* field[2] = dhcp_up */ + 7, /* field[7] = dns_ip */ + 8, /* field[8] = dns_type */ + 6, /* field[6] = dns_up */ + 0, /* field[0] = iface */ + 1, /* field[1] = net_link_up */ }; -static const ProtobufCIntRange rpc__req__wifi_set_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 9 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_dhcp_dns_status__descriptor = { - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetInactiveTime", - "RpcReqWifiSetInactiveTime", - "RpcReqWifiSetInactiveTime", + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_SetDhcpDnsStatus", + "RpcReqSetDhcpDnsStatus", + "RpcReqSetDhcpDnsStatus", "", - sizeof(RpcReqWifiSetInactiveTime), - 2, - rpc__req__wifi_set_inactive_time__field_descriptors, - rpc__req__wifi_set_inactive_time__field_indices_by_name, - 1, rpc__req__wifi_set_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_inactive_time__init, + sizeof(RpcReqSetDhcpDnsStatus), + 9, + rpc__req__set_dhcp_dns_status__field_descriptors, + rpc__req__set_dhcp_dns_status__field_indices_by_name, + 1, rpc__req__set_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__req__set_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__set_dhcp_dns_status__field_descriptors[1] = { { "resp", @@ -20334,329 +21911,268 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_d PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetInactiveTime, resp), + offsetof(RpcRespSetDhcpDnsStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_inactive_time__field_indices_by_name[] = { +static const unsigned rpc__resp__set_dhcp_dns_status__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetInactiveTime", - "RpcRespWifiSetInactiveTime", - "RpcRespWifiSetInactiveTime", + "Rpc_Resp_SetDhcpDnsStatus", + "RpcRespSetDhcpDnsStatus", + "RpcRespSetDhcpDnsStatus", "", - sizeof(RpcRespWifiSetInactiveTime), + sizeof(RpcRespSetDhcpDnsStatus), 1, - rpc__resp__wifi_set_inactive_time__field_descriptors, - rpc__resp__wifi_set_inactive_time__field_indices_by_name, - 1, rpc__resp__wifi_set_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_inactive_time__init, + rpc__resp__set_dhcp_dns_status__field_descriptors, + rpc__resp__set_dhcp_dns_status__field_indices_by_name, + 1, rpc__resp__set_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_inactive_time__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__get_dhcp_dns_status__field_descriptors[1] = { { - "ifx", + "iface", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetInactiveTime, ifx), + offsetof(RpcReqGetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__req__get_dhcp_dns_status__field_indices_by_name[] = { + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__req__wifi_get_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__get_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__req__get_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetInactiveTime", - "RpcReqWifiGetInactiveTime", - "RpcReqWifiGetInactiveTime", + "Rpc_Req_GetDhcpDnsStatus", + "RpcReqGetDhcpDnsStatus", + "RpcReqGetDhcpDnsStatus", "", - sizeof(RpcReqWifiGetInactiveTime), + sizeof(RpcReqGetDhcpDnsStatus), 1, - rpc__req__wifi_get_inactive_time__field_descriptors, - rpc__req__wifi_get_inactive_time__field_indices_by_name, - 1, rpc__req__wifi_get_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_inactive_time__init, + rpc__req__get_dhcp_dns_status__field_descriptors, + rpc__req__get_dhcp_dns_status__field_indices_by_name, + 1, rpc__req__get_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__req__get_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_inactive_time__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__get_dhcp_dns_status__field_descriptors[10] = { { - "resp", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetInactiveTime, resp), + offsetof(RpcRespGetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sec", + "net_link_up", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetInactiveTime, sec), + offsetof(RpcRespGetDhcpDnsStatus, net_link_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_get_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sec */ -}; -static const ProtobufCIntRange rpc__resp__wifi_get_inactive_time__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_inactive_time__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetInactiveTime", - "RpcRespWifiGetInactiveTime", - "RpcRespWifiGetInactiveTime", - "", - sizeof(RpcRespWifiGetInactiveTime), - 2, - rpc__resp__wifi_get_inactive_time__field_descriptors, - rpc__resp__wifi_get_inactive_time__field_indices_by_name, - 1, rpc__resp__wifi_get_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_inactive_time__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_setup__field_descriptors[1] = -{ { - "setup_config", - 1, + "dhcp_up", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSetup, setup_config), - &wifi_itwt_setup_config__descriptor, + offsetof(RpcRespGetDhcpDnsStatus, dhcp_up), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_setup__field_indices_by_name[] = { - 0, /* field[0] = setup_config */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_setup__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_setup__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSetup", - "RpcReqWifiStaItwtSetup", - "RpcReqWifiStaItwtSetup", - "", - sizeof(RpcReqWifiStaItwtSetup), - 1, - rpc__req__wifi_sta_itwt_setup__field_descriptors, - rpc__req__wifi_sta_itwt_setup__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_setup__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_setup__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_setup__field_descriptors[1] = -{ { - "resp", - 1, + "dhcp_ip", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSetup, resp), + offsetof(RpcRespGetDhcpDnsStatus, dhcp_ip), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_sta_itwt_setup__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_setup__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_setup__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSetup", - "RpcRespWifiStaItwtSetup", - "RpcRespWifiStaItwtSetup", - "", - sizeof(RpcRespWifiStaItwtSetup), - 1, - rpc__resp__wifi_sta_itwt_setup__field_descriptors, - rpc__resp__wifi_sta_itwt_setup__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_setup__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_setup__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_teardown__field_descriptors[1] = -{ { - "flow_id", - 1, + "dhcp_nm", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dhcp_nm), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_gw", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dhcp_gw), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_up", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtTeardown, flow_id), + offsetof(RpcRespGetDhcpDnsStatus, dns_up), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_ip", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dns_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_type", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dns_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_teardown__field_indices_by_name[] = { - 0, /* field[0] = flow_id */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_teardown__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_teardown__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtTeardown", - "RpcReqWifiStaItwtTeardown", - "RpcReqWifiStaItwtTeardown", - "", - sizeof(RpcReqWifiStaItwtTeardown), - 1, - rpc__req__wifi_sta_itwt_teardown__field_descriptors, - rpc__req__wifi_sta_itwt_teardown__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_teardown__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_teardown__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_teardown__field_descriptors[1] = -{ { "resp", - 1, + 10, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtTeardown, resp), + offsetof(RpcRespGetDhcpDnsStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__resp__get_dhcp_dns_status__field_indices_by_name[] = { + 5, /* field[5] = dhcp_gw */ + 3, /* field[3] = dhcp_ip */ + 4, /* field[4] = dhcp_nm */ + 2, /* field[2] = dhcp_up */ + 7, /* field[7] = dns_ip */ + 8, /* field[8] = dns_type */ + 6, /* field[6] = dns_up */ + 0, /* field[0] = iface */ + 1, /* field[1] = net_link_up */ + 9, /* field[9] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_teardown__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 10 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_teardown__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtTeardown", - "RpcRespWifiStaItwtTeardown", - "RpcRespWifiStaItwtTeardown", + "Rpc_Resp_GetDhcpDnsStatus", + "RpcRespGetDhcpDnsStatus", + "RpcRespGetDhcpDnsStatus", "", - sizeof(RpcRespWifiStaItwtTeardown), - 1, - rpc__resp__wifi_sta_itwt_teardown__field_descriptors, - rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_teardown__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_teardown__init, + sizeof(RpcRespGetDhcpDnsStatus), + 10, + rpc__resp__get_dhcp_dns_status__field_descriptors, + rpc__resp__get_dhcp_dns_status__field_indices_by_name, + 1, rpc__resp__get_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_suspend__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__supp_dpp_init__field_descriptors[1] = { { - "flow_id", + "cb", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSuspend, flow_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "suspend_time_ms", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSuspend, suspend_time_ms), + offsetof(RpcReqSuppDppInit, cb), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_sta_itwt_suspend__field_indices_by_name[] = { - 0, /* field[0] = flow_id */ - 1, /* field[1] = suspend_time_ms */ +static const unsigned rpc__req__supp_dpp_init__field_indices_by_name[] = { + 0, /* field[0] = cb */ }; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_suspend__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__supp_dpp_init__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_suspend__descriptor = +const ProtobufCMessageDescriptor rpc__req__supp_dpp_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSuspend", - "RpcReqWifiStaItwtSuspend", - "RpcReqWifiStaItwtSuspend", + "Rpc_Req_SuppDppInit", + "RpcReqSuppDppInit", + "RpcReqSuppDppInit", "", - sizeof(RpcReqWifiStaItwtSuspend), - 2, - rpc__req__wifi_sta_itwt_suspend__field_descriptors, - rpc__req__wifi_sta_itwt_suspend__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_suspend__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_suspend__init, + sizeof(RpcReqSuppDppInit), + 1, + rpc__req__supp_dpp_init__field_descriptors, + rpc__req__supp_dpp_init__field_indices_by_name, + 1, rpc__req__supp_dpp_init__number_ranges, + (ProtobufCMessageInit) rpc__req__supp_dpp_init__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_suspend__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_init__field_descriptors[1] = { { "resp", @@ -20664,55 +22180,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_suspend__field_de PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSuspend, resp), + offsetof(RpcRespSuppDppInit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name[] = { +static const unsigned rpc__resp__supp_dpp_init__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_suspend__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__supp_dpp_init__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_suspend__descriptor = +const ProtobufCMessageDescriptor rpc__resp__supp_dpp_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSuspend", - "RpcRespWifiStaItwtSuspend", - "RpcRespWifiStaItwtSuspend", + "Rpc_Resp_SuppDppInit", + "RpcRespSuppDppInit", + "RpcRespSuppDppInit", "", - sizeof(RpcRespWifiStaItwtSuspend), + sizeof(RpcRespSuppDppInit), 1, - rpc__resp__wifi_sta_itwt_suspend__field_descriptors, - rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_suspend__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_suspend__init, + rpc__resp__supp_dpp_init__field_descriptors, + rpc__resp__supp_dpp_init__field_indices_by_name, + 1, rpc__resp__supp_dpp_init__number_ranges, + (ProtobufCMessageInit) rpc__resp__supp_dpp_init__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors NULL -#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name NULL -#define rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor = +#define rpc__req__supp_dpp_deinit__field_descriptors NULL +#define rpc__req__supp_dpp_deinit__field_indices_by_name NULL +#define rpc__req__supp_dpp_deinit__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__supp_dpp_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtGetFlowIdStatus", - "RpcReqWifiStaItwtGetFlowIdStatus", - "RpcReqWifiStaItwtGetFlowIdStatus", + "Rpc_Req_SuppDppDeinit", + "RpcReqSuppDppDeinit", + "RpcReqSuppDppDeinit", "", - sizeof(RpcReqWifiStaItwtGetFlowIdStatus), + sizeof(RpcReqSuppDppDeinit), 0, - rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors, - rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, - 0, rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_get_flow_id_status__init, + rpc__req__supp_dpp_deinit__field_descriptors, + rpc__req__supp_dpp_deinit__field_indices_by_name, + 0, rpc__req__supp_dpp_deinit__number_ranges, + (ProtobufCMessageInit) rpc__req__supp_dpp_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_deinit__field_descriptors[1] = { { "resp", @@ -20720,164 +22236,114 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_statu PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtGetFlowIdStatus, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "flow_id_bitmap", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtGetFlowIdStatus, flow_id_bitmap), + offsetof(RpcRespSuppDppDeinit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name[] = { - 1, /* field[1] = flow_id_bitmap */ +static const unsigned rpc__resp__supp_dpp_deinit__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__supp_dpp_deinit__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor = +const ProtobufCMessageDescriptor rpc__resp__supp_dpp_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtGetFlowIdStatus", - "RpcRespWifiStaItwtGetFlowIdStatus", - "RpcRespWifiStaItwtGetFlowIdStatus", + "Rpc_Resp_SuppDppDeinit", + "RpcRespSuppDppDeinit", + "RpcRespSuppDppDeinit", "", - sizeof(RpcRespWifiStaItwtGetFlowIdStatus), - 2, - rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors, - rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_get_flow_id_status__init, + sizeof(RpcRespSuppDppDeinit), + 1, + rpc__resp__supp_dpp_deinit__field_descriptors, + rpc__resp__supp_dpp_deinit__field_indices_by_name, + 1, rpc__resp__supp_dpp_deinit__number_ranges, + (ProtobufCMessageInit) rpc__resp__supp_dpp_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__supp_dpp_bootstrap_gen__field_descriptors[4] = { { - "timeout_ms", + "chan_list", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSendProbeReq, timeout_ms), + offsetof(RpcReqSuppDppBootstrapGen, chan_list), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { - 0, /* field[0] = timeout_ms */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_send_probe_req__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSendProbeReq", - "RpcReqWifiStaItwtSendProbeReq", - "RpcReqWifiStaItwtSendProbeReq", - "", - sizeof(RpcReqWifiStaItwtSendProbeReq), - 1, - rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors, - rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_send_probe_req__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_send_probe_req__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors[1] = -{ { - "resp", - 1, + "type", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSendProbeReq, resp), + offsetof(RpcReqSuppDppBootstrapGen, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSendProbeReq", - "RpcRespWifiStaItwtSendProbeReq", - "RpcRespWifiStaItwtSendProbeReq", - "", - sizeof(RpcRespWifiStaItwtSendProbeReq), - 1, - rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors, - rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_send_probe_req__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = -{ { - "offset_us", - 1, + "key", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSetTargetWakeTimeOffset, offset_us), + offsetof(RpcReqSuppDppBootstrapGen, key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "info", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSuppDppBootstrapGen, info), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { - 0, /* field[0] = offset_us */ +static const unsigned rpc__req__supp_dpp_bootstrap_gen__field_indices_by_name[] = { + 0, /* field[0] = chan_list */ + 3, /* field[3] = info */ + 2, /* field[2] = key */ + 1, /* field[1] = type */ }; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__supp_dpp_bootstrap_gen__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor = +const ProtobufCMessageDescriptor rpc__req__supp_dpp_bootstrap_gen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset", - "RpcReqWifiStaItwtSetTargetWakeTimeOffset", - "RpcReqWifiStaItwtSetTargetWakeTimeOffset", + "Rpc_Req_SuppDppBootstrapGen", + "RpcReqSuppDppBootstrapGen", + "RpcReqSuppDppBootstrapGen", "", - sizeof(RpcReqWifiStaItwtSetTargetWakeTimeOffset), - 1, - rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, - rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_set_target_wake_time_offset__init, + sizeof(RpcReqSuppDppBootstrapGen), + 4, + rpc__req__supp_dpp_bootstrap_gen__field_descriptors, + rpc__req__supp_dpp_bootstrap_gen__field_indices_by_name, + 1, rpc__req__supp_dpp_bootstrap_gen__number_ranges, + (ProtobufCMessageInit) rpc__req__supp_dpp_bootstrap_gen__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_bootstrap_gen__field_descriptors[1] = { { "resp", @@ -20885,75 +22351,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_t PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSetTargetWakeTimeOffset, resp), + offsetof(RpcRespSuppDppBootstrapGen, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { +static const unsigned rpc__resp__supp_dpp_bootstrap_gen__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__supp_dpp_bootstrap_gen__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor = +const ProtobufCMessageDescriptor rpc__resp__supp_dpp_bootstrap_gen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset", - "RpcRespWifiStaItwtSetTargetWakeTimeOffset", - "RpcRespWifiStaItwtSetTargetWakeTimeOffset", + "Rpc_Resp_SuppDppBootstrapGen", + "RpcRespSuppDppBootstrapGen", + "RpcRespSuppDppBootstrapGen", "", - sizeof(RpcRespWifiStaItwtSetTargetWakeTimeOffset), + sizeof(RpcRespSuppDppBootstrapGen), 1, - rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, - rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__init, + rpc__resp__supp_dpp_bootstrap_gen__field_descriptors, + rpc__resp__supp_dpp_bootstrap_gen__field_indices_by_name, + 1, rpc__resp__supp_dpp_bootstrap_gen__number_ranges, + (ProtobufCMessageInit) rpc__resp__supp_dpp_bootstrap_gen__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_twt_config__field_descriptors[1] = -{ - { - "config", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaTwtConfig, config), - &wifi_twt_config__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned rpc__req__wifi_sta_twt_config__field_indices_by_name[] = { - 0, /* field[0] = config */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_twt_config__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_twt_config__descriptor = +#define rpc__req__supp_dpp_start_listen__field_descriptors NULL +#define rpc__req__supp_dpp_start_listen__field_indices_by_name NULL +#define rpc__req__supp_dpp_start_listen__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__supp_dpp_start_listen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaTwtConfig", - "RpcReqWifiStaTwtConfig", - "RpcReqWifiStaTwtConfig", + "Rpc_Req_SuppDppStartListen", + "RpcReqSuppDppStartListen", + "RpcReqSuppDppStartListen", "", - sizeof(RpcReqWifiStaTwtConfig), - 1, - rpc__req__wifi_sta_twt_config__field_descriptors, - rpc__req__wifi_sta_twt_config__field_indices_by_name, - 1, rpc__req__wifi_sta_twt_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_twt_config__init, + sizeof(RpcReqSuppDppStartListen), + 0, + rpc__req__supp_dpp_start_listen__field_descriptors, + rpc__req__supp_dpp_start_listen__field_indices_by_name, + 0, rpc__req__supp_dpp_start_listen__number_ranges, + (ProtobufCMessageInit) rpc__req__supp_dpp_start_listen__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_twt_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_start_listen__field_descriptors[1] = { { "resp", @@ -20961,55 +22407,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_twt_config__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaTwtConfig, resp), + offsetof(RpcRespSuppDppStartListen, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_twt_config__field_indices_by_name[] = { +static const unsigned rpc__resp__supp_dpp_start_listen__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_twt_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__supp_dpp_start_listen__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_twt_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__supp_dpp_start_listen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaTwtConfig", - "RpcRespWifiStaTwtConfig", - "RpcRespWifiStaTwtConfig", + "Rpc_Resp_SuppDppStartListen", + "RpcRespSuppDppStartListen", + "RpcRespSuppDppStartListen", "", - sizeof(RpcRespWifiStaTwtConfig), + sizeof(RpcRespSuppDppStartListen), 1, - rpc__resp__wifi_sta_twt_config__field_descriptors, - rpc__resp__wifi_sta_twt_config__field_indices_by_name, - 1, rpc__resp__wifi_sta_twt_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_twt_config__init, + rpc__resp__supp_dpp_start_listen__field_descriptors, + rpc__resp__supp_dpp_start_listen__field_indices_by_name, + 1, rpc__resp__supp_dpp_start_listen__number_ranges, + (ProtobufCMessageInit) rpc__resp__supp_dpp_start_listen__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__get_coprocessor_fw_version__field_descriptors NULL -#define rpc__req__get_coprocessor_fw_version__field_indices_by_name NULL -#define rpc__req__get_coprocessor_fw_version__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_coprocessor_fw_version__descriptor = +#define rpc__req__supp_dpp_stop_listen__field_descriptors NULL +#define rpc__req__supp_dpp_stop_listen__field_indices_by_name NULL +#define rpc__req__supp_dpp_stop_listen__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__supp_dpp_stop_listen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetCoprocessorFwVersion", - "RpcReqGetCoprocessorFwVersion", - "RpcReqGetCoprocessorFwVersion", + "Rpc_Req_SuppDppStopListen", + "RpcReqSuppDppStopListen", + "RpcReqSuppDppStopListen", "", - sizeof(RpcReqGetCoprocessorFwVersion), + sizeof(RpcReqSuppDppStopListen), 0, - rpc__req__get_coprocessor_fw_version__field_descriptors, - rpc__req__get_coprocessor_fw_version__field_indices_by_name, - 0, rpc__req__get_coprocessor_fw_version__number_ranges, - (ProtobufCMessageInit) rpc__req__get_coprocessor_fw_version__init, + rpc__req__supp_dpp_stop_listen__field_descriptors, + rpc__req__supp_dpp_stop_listen__field_indices_by_name, + 0, rpc__req__supp_dpp_stop_listen__number_ranges, + (ProtobufCMessageInit) rpc__req__supp_dpp_stop_listen__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_stop_listen__field_descriptors[1] = { { "resp", @@ -21017,658 +22463,715 @@ static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__fie PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "major1", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, major1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "minor1", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, minor1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "patch1", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, patch1), + offsetof(RpcRespSuppDppStopListen, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_coprocessor_fw_version__field_indices_by_name[] = { - 1, /* field[1] = major1 */ - 2, /* field[2] = minor1 */ - 3, /* field[3] = patch1 */ +static const unsigned rpc__resp__supp_dpp_stop_listen__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__get_coprocessor_fw_version__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__supp_dpp_stop_listen__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__get_coprocessor_fw_version__descriptor = +const ProtobufCMessageDescriptor rpc__resp__supp_dpp_stop_listen__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetCoprocessorFwVersion", - "RpcRespGetCoprocessorFwVersion", - "RpcRespGetCoprocessorFwVersion", + "Rpc_Resp_SuppDppStopListen", + "RpcRespSuppDppStopListen", + "RpcRespSuppDppStopListen", "", - sizeof(RpcRespGetCoprocessorFwVersion), - 4, - rpc__resp__get_coprocessor_fw_version__field_descriptors, - rpc__resp__get_coprocessor_fw_version__field_indices_by_name, - 1, rpc__resp__get_coprocessor_fw_version__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_coprocessor_fw_version__init, + sizeof(RpcRespSuppDppStopListen), + 1, + rpc__resp__supp_dpp_stop_listen__field_descriptors, + rpc__resp__supp_dpp_stop_listen__field_indices_by_name, + 1, rpc__resp__supp_dpp_stop_listen__number_ranges, + (ProtobufCMessageInit) rpc__resp__supp_dpp_stop_listen__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_dhcp_dns_status__field_descriptors[9] = +static const ProtobufCFieldDescriptor rpc__req__iface_mac_addr_set_get__field_descriptors[3] = { { - "iface", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, iface), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "net_link_up", - 2, + "set", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, net_link_up), + offsetof(RpcReqIfaceMacAddrSetGet, set), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_up", - 3, + "type", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_up), + offsetof(RpcReqIfaceMacAddrSetGet, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_ip", - 4, + "mac", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_ip), + offsetof(RpcReqIfaceMacAddrSetGet, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__iface_mac_addr_set_get__field_indices_by_name[] = { + 2, /* field[2] = mac */ + 0, /* field[0] = set */ + 1, /* field[1] = type */ +}; +static const ProtobufCIntRange rpc__req__iface_mac_addr_set_get__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor rpc__req__iface_mac_addr_set_get__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_IfaceMacAddrSetGet", + "RpcReqIfaceMacAddrSetGet", + "RpcReqIfaceMacAddrSetGet", + "", + sizeof(RpcReqIfaceMacAddrSetGet), + 3, + rpc__req__iface_mac_addr_set_get__field_descriptors, + rpc__req__iface_mac_addr_set_get__field_indices_by_name, + 1, rpc__req__iface_mac_addr_set_get__number_ranges, + (ProtobufCMessageInit) rpc__req__iface_mac_addr_set_get__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__iface_mac_addr_set_get__field_descriptors[4] = +{ { - "dhcp_nm", - 5, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_nm), + offsetof(RpcRespIfaceMacAddrSetGet, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_gw", - 6, + "set", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_gw), + offsetof(RpcRespIfaceMacAddrSetGet, set), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_up", - 7, + "type", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_up), + offsetof(RpcRespIfaceMacAddrSetGet, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_ip", - 8, + "mac", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_ip), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dns_type", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_type), + offsetof(RpcRespIfaceMacAddrSetGet, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_dhcp_dns_status__field_indices_by_name[] = { - 5, /* field[5] = dhcp_gw */ - 3, /* field[3] = dhcp_ip */ - 4, /* field[4] = dhcp_nm */ - 2, /* field[2] = dhcp_up */ - 7, /* field[7] = dns_ip */ - 8, /* field[8] = dns_type */ - 6, /* field[6] = dns_up */ - 0, /* field[0] = iface */ - 1, /* field[1] = net_link_up */ +static const unsigned rpc__resp__iface_mac_addr_set_get__field_indices_by_name[] = { + 3, /* field[3] = mac */ + 0, /* field[0] = resp */ + 1, /* field[1] = set */ + 2, /* field[2] = type */ }; -static const ProtobufCIntRange rpc__req__set_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__iface_mac_addr_set_get__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 9 } + { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__req__set_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__resp__iface_mac_addr_set_get__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetDhcpDnsStatus", - "RpcReqSetDhcpDnsStatus", - "RpcReqSetDhcpDnsStatus", + "Rpc_Resp_IfaceMacAddrSetGet", + "RpcRespIfaceMacAddrSetGet", + "RpcRespIfaceMacAddrSetGet", "", - sizeof(RpcReqSetDhcpDnsStatus), - 9, - rpc__req__set_dhcp_dns_status__field_descriptors, - rpc__req__set_dhcp_dns_status__field_indices_by_name, - 1, rpc__req__set_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__req__set_dhcp_dns_status__init, + sizeof(RpcRespIfaceMacAddrSetGet), + 4, + rpc__resp__iface_mac_addr_set_get__field_descriptors, + rpc__resp__iface_mac_addr_set_get__field_indices_by_name, + 1, rpc__resp__iface_mac_addr_set_get__number_ranges, + (ProtobufCMessageInit) rpc__resp__iface_mac_addr_set_get__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_dhcp_dns_status__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__iface_mac_addr_len_get__field_descriptors[1] = { { - "resp", + "type", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetDhcpDnsStatus, resp), + offsetof(RpcReqIfaceMacAddrLenGet, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_dhcp_dns_status__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__iface_mac_addr_len_get__field_indices_by_name[] = { + 0, /* field[0] = type */ }; -static const ProtobufCIntRange rpc__resp__set_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__iface_mac_addr_len_get__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__req__iface_mac_addr_len_get__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetDhcpDnsStatus", - "RpcRespSetDhcpDnsStatus", - "RpcRespSetDhcpDnsStatus", + "Rpc_Req_IfaceMacAddrLenGet", + "RpcReqIfaceMacAddrLenGet", + "RpcReqIfaceMacAddrLenGet", "", - sizeof(RpcRespSetDhcpDnsStatus), + sizeof(RpcReqIfaceMacAddrLenGet), 1, - rpc__resp__set_dhcp_dns_status__field_descriptors, - rpc__resp__set_dhcp_dns_status__field_indices_by_name, - 1, rpc__resp__set_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_dhcp_dns_status__init, + rpc__req__iface_mac_addr_len_get__field_descriptors, + rpc__req__iface_mac_addr_len_get__field_indices_by_name, + 1, rpc__req__iface_mac_addr_len_get__number_ranges, + (ProtobufCMessageInit) rpc__req__iface_mac_addr_len_get__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__get_dhcp_dns_status__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__iface_mac_addr_len_get__field_descriptors[3] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqGetDhcpDnsStatus, iface), + offsetof(RpcRespIfaceMacAddrLenGet, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespIfaceMacAddrLenGet, type), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "len", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespIfaceMacAddrLenGet, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__get_dhcp_dns_status__field_indices_by_name[] = { - 0, /* field[0] = iface */ +static const unsigned rpc__resp__iface_mac_addr_len_get__field_indices_by_name[] = { + 2, /* field[2] = len */ + 0, /* field[0] = resp */ + 1, /* field[1] = type */ }; -static const ProtobufCIntRange rpc__req__get_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__iface_mac_addr_len_get__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__req__get_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__resp__iface_mac_addr_len_get__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetDhcpDnsStatus", - "RpcReqGetDhcpDnsStatus", - "RpcReqGetDhcpDnsStatus", + "Rpc_Resp_IfaceMacAddrLenGet", + "RpcRespIfaceMacAddrLenGet", + "RpcRespIfaceMacAddrLenGet", "", - sizeof(RpcReqGetDhcpDnsStatus), - 1, - rpc__req__get_dhcp_dns_status__field_descriptors, - rpc__req__get_dhcp_dns_status__field_indices_by_name, - 1, rpc__req__get_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__req__get_dhcp_dns_status__init, + sizeof(RpcRespIfaceMacAddrLenGet), + 3, + rpc__resp__iface_mac_addr_len_get__field_descriptors, + rpc__resp__iface_mac_addr_len_get__field_indices_by_name, + 1, rpc__resp__iface_mac_addr_len_get__number_ranges, + (ProtobufCMessageInit) rpc__resp__iface_mac_addr_len_get__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_dhcp_dns_status__field_descriptors[10] = +static const ProtobufCFieldDescriptor rpc__req__feature_control__field_descriptors[3] = { { - "iface", + "feature", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, iface), - NULL, + offsetof(RpcReqFeatureControl, feature), + &rpc_feature__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "net_link_up", + "command", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, net_link_up), - NULL, + offsetof(RpcReqFeatureControl, command), + &rpc_feature_command__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_up", + "option", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_ip", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_ip), - NULL, + offsetof(RpcReqFeatureControl, option), + &rpc_feature_option__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__feature_control__field_indices_by_name[] = { + 1, /* field[1] = command */ + 0, /* field[0] = feature */ + 2, /* field[2] = option */ +}; +static const ProtobufCIntRange rpc__req__feature_control__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor rpc__req__feature_control__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_FeatureControl", + "RpcReqFeatureControl", + "RpcReqFeatureControl", + "", + sizeof(RpcReqFeatureControl), + 3, + rpc__req__feature_control__field_descriptors, + rpc__req__feature_control__field_indices_by_name, + 1, rpc__req__feature_control__number_ranges, + (ProtobufCMessageInit) rpc__req__feature_control__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__feature_control__field_descriptors[4] = +{ { - "dhcp_nm", - 5, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_nm), + offsetof(RpcRespFeatureControl, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_gw", - 6, + "feature", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_gw), - NULL, + offsetof(RpcRespFeatureControl, feature), + &rpc_feature__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_up", - 7, + "command", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_up), - NULL, + offsetof(RpcRespFeatureControl, command), + &rpc_feature_command__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_ip", - 8, + "option", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_ip), - NULL, + offsetof(RpcRespFeatureControl, option), + &rpc_feature_option__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__feature_control__field_indices_by_name[] = { + 2, /* field[2] = command */ + 1, /* field[1] = feature */ + 3, /* field[3] = option */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__feature_control__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor rpc__resp__feature_control__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_FeatureControl", + "RpcRespFeatureControl", + "RpcRespFeatureControl", + "", + sizeof(RpcRespFeatureControl), + 4, + rpc__resp__feature_control__field_descriptors, + rpc__resp__feature_control__field_indices_by_name, + 1, rpc__resp__feature_control__number_ranges, + (ProtobufCMessageInit) rpc__resp__feature_control__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__event__wifi_event_no_args__field_descriptors[2] = +{ { - "dns_type", - 9, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_type), + offsetof(RpcEventWifiEventNoArgs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "resp", - 10, + "event_id", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, resp), + offsetof(RpcEventWifiEventNoArgs, event_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_dhcp_dns_status__field_indices_by_name[] = { - 5, /* field[5] = dhcp_gw */ - 3, /* field[3] = dhcp_ip */ - 4, /* field[4] = dhcp_nm */ - 2, /* field[2] = dhcp_up */ - 7, /* field[7] = dns_ip */ - 8, /* field[8] = dns_type */ - 6, /* field[6] = dns_up */ - 0, /* field[0] = iface */ - 1, /* field[1] = net_link_up */ - 9, /* field[9] = resp */ +static const unsigned rpc__event__wifi_event_no_args__field_indices_by_name[] = { + 1, /* field[1] = event_id */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__get_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__wifi_event_no_args__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 10 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__get_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__event__wifi_event_no_args__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetDhcpDnsStatus", - "RpcRespGetDhcpDnsStatus", - "RpcRespGetDhcpDnsStatus", + "Rpc_Event_WifiEventNoArgs", + "RpcEventWifiEventNoArgs", + "RpcEventWifiEventNoArgs", "", - sizeof(RpcRespGetDhcpDnsStatus), - 10, - rpc__resp__get_dhcp_dns_status__field_descriptors, - rpc__resp__get_dhcp_dns_status__field_indices_by_name, - 1, rpc__resp__get_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_dhcp_dns_status__init, + sizeof(RpcEventWifiEventNoArgs), + 2, + rpc__event__wifi_event_no_args__field_descriptors, + rpc__event__wifi_event_no_args__field_indices_by_name, + 1, rpc__event__wifi_event_no_args__number_ranges, + (ProtobufCMessageInit) rpc__event__wifi_event_no_args__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__supp_dpp_init__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__espinit__field_descriptors[1] = { { - "cb", + "init_data", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqSuppDppInit, cb), + offsetof(RpcEventESPInit, init_data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__supp_dpp_init__field_indices_by_name[] = { - 0, /* field[0] = cb */ +static const unsigned rpc__event__espinit__field_indices_by_name[] = { + 0, /* field[0] = init_data */ }; -static const ProtobufCIntRange rpc__req__supp_dpp_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__espinit__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__supp_dpp_init__descriptor = +const ProtobufCMessageDescriptor rpc__event__espinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SuppDppInit", - "RpcReqSuppDppInit", - "RpcReqSuppDppInit", + "Rpc_Event_ESPInit", + "RpcEventESPInit", + "RpcEventESPInit", "", - sizeof(RpcReqSuppDppInit), + sizeof(RpcEventESPInit), 1, - rpc__req__supp_dpp_init__field_descriptors, - rpc__req__supp_dpp_init__field_indices_by_name, - 1, rpc__req__supp_dpp_init__number_ranges, - (ProtobufCMessageInit) rpc__req__supp_dpp_init__init, + rpc__event__espinit__field_descriptors, + rpc__event__espinit__field_indices_by_name, + 1, rpc__event__espinit__number_ranges, + (ProtobufCMessageInit) rpc__event__espinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_init__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__heartbeat__field_descriptors[1] = { { - "resp", + "hb_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSuppDppInit, resp), + offsetof(RpcEventHeartbeat, hb_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__supp_dpp_init__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__event__heartbeat__field_indices_by_name[] = { + 0, /* field[0] = hb_num */ }; -static const ProtobufCIntRange rpc__resp__supp_dpp_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__supp_dpp_init__descriptor = +const ProtobufCMessageDescriptor rpc__event__heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SuppDppInit", - "RpcRespSuppDppInit", - "RpcRespSuppDppInit", + "Rpc_Event_Heartbeat", + "RpcEventHeartbeat", + "RpcEventHeartbeat", "", - sizeof(RpcRespSuppDppInit), + sizeof(RpcEventHeartbeat), 1, - rpc__resp__supp_dpp_init__field_descriptors, - rpc__resp__supp_dpp_init__field_indices_by_name, - 1, rpc__resp__supp_dpp_init__number_ranges, - (ProtobufCMessageInit) rpc__resp__supp_dpp_init__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__supp_dpp_deinit__field_descriptors NULL -#define rpc__req__supp_dpp_deinit__field_indices_by_name NULL -#define rpc__req__supp_dpp_deinit__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__supp_dpp_deinit__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SuppDppDeinit", - "RpcReqSuppDppDeinit", - "RpcReqSuppDppDeinit", - "", - sizeof(RpcReqSuppDppDeinit), - 0, - rpc__req__supp_dpp_deinit__field_descriptors, - rpc__req__supp_dpp_deinit__field_indices_by_name, - 0, rpc__req__supp_dpp_deinit__number_ranges, - (ProtobufCMessageInit) rpc__req__supp_dpp_deinit__init, + rpc__event__heartbeat__field_descriptors, + rpc__event__heartbeat__field_indices_by_name, + 1, rpc__event__heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__event__heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_deinit__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__ap__sta_disconnected__field_descriptors[5] = { { - "resp", - 1, + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcEventAPStaDisconnected, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mac", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcEventAPStaDisconnected, mac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "aid", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespSuppDppDeinit, resp), + offsetof(RpcEventAPStaDisconnected, aid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "is_mesh_child", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcEventAPStaDisconnected, is_mesh_child), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reason", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcEventAPStaDisconnected, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__supp_dpp_deinit__field_indices_by_name[] = { +static const unsigned rpc__event__ap__sta_disconnected__field_indices_by_name[] = { + 2, /* field[2] = aid */ + 3, /* field[3] = is_mesh_child */ + 1, /* field[1] = mac */ + 4, /* field[4] = reason */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__supp_dpp_deinit__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__ap__sta_disconnected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 5 } }; -const ProtobufCMessageDescriptor rpc__resp__supp_dpp_deinit__descriptor = +const ProtobufCMessageDescriptor rpc__event__ap__sta_disconnected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SuppDppDeinit", - "RpcRespSuppDppDeinit", - "RpcRespSuppDppDeinit", + "Rpc_Event_AP_StaDisconnected", + "RpcEventAPStaDisconnected", + "RpcEventAPStaDisconnected", "", - sizeof(RpcRespSuppDppDeinit), - 1, - rpc__resp__supp_dpp_deinit__field_descriptors, - rpc__resp__supp_dpp_deinit__field_indices_by_name, - 1, rpc__resp__supp_dpp_deinit__number_ranges, - (ProtobufCMessageInit) rpc__resp__supp_dpp_deinit__init, + sizeof(RpcEventAPStaDisconnected), + 5, + rpc__event__ap__sta_disconnected__field_descriptors, + rpc__event__ap__sta_disconnected__field_indices_by_name, + 1, rpc__event__ap__sta_disconnected__number_ranges, + (ProtobufCMessageInit) rpc__event__ap__sta_disconnected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__supp_dpp_bootstrap_gen__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__event__ap__sta_connected__field_descriptors[4] = { { - "chan_list", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSuppDppBootstrapGen, chan_list), + offsetof(RpcEventAPStaConnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "type", + "mac", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqSuppDppBootstrapGen, type), + offsetof(RpcEventAPStaConnected, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "key", + "aid", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqSuppDppBootstrapGen, key), + offsetof(RpcEventAPStaConnected, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "info", + "is_mesh_child", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqSuppDppBootstrapGen, info), + offsetof(RpcEventAPStaConnected, is_mesh_child), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__supp_dpp_bootstrap_gen__field_indices_by_name[] = { - 0, /* field[0] = chan_list */ - 3, /* field[3] = info */ - 2, /* field[2] = key */ - 1, /* field[1] = type */ +static const unsigned rpc__event__ap__sta_connected__field_indices_by_name[] = { + 2, /* field[2] = aid */ + 3, /* field[3] = is_mesh_child */ + 1, /* field[1] = mac */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__supp_dpp_bootstrap_gen__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__ap__sta_connected__number_ranges[1 + 1] = { { 1, 0 }, { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__req__supp_dpp_bootstrap_gen__descriptor = +const ProtobufCMessageDescriptor rpc__event__ap__sta_connected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SuppDppBootstrapGen", - "RpcReqSuppDppBootstrapGen", - "RpcReqSuppDppBootstrapGen", + "Rpc_Event_AP_StaConnected", + "RpcEventAPStaConnected", + "RpcEventAPStaConnected", "", - sizeof(RpcReqSuppDppBootstrapGen), + sizeof(RpcEventAPStaConnected), 4, - rpc__req__supp_dpp_bootstrap_gen__field_descriptors, - rpc__req__supp_dpp_bootstrap_gen__field_indices_by_name, - 1, rpc__req__supp_dpp_bootstrap_gen__number_ranges, - (ProtobufCMessageInit) rpc__req__supp_dpp_bootstrap_gen__init, + rpc__event__ap__sta_connected__field_descriptors, + rpc__event__ap__sta_connected__field_indices_by_name, + 1, rpc__event__ap__sta_connected__number_ranges, + (ProtobufCMessageInit) rpc__event__ap__sta_connected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_bootstrap_gen__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descriptors[2] = { { "resp", @@ -21676,111 +23179,50 @@ static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_bootstrap_gen__field_d PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSuppDppBootstrapGen, resp), + offsetof(RpcEventStaScanDone, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__supp_dpp_bootstrap_gen__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__supp_dpp_bootstrap_gen__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__supp_dpp_bootstrap_gen__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SuppDppBootstrapGen", - "RpcRespSuppDppBootstrapGen", - "RpcRespSuppDppBootstrapGen", - "", - sizeof(RpcRespSuppDppBootstrapGen), - 1, - rpc__resp__supp_dpp_bootstrap_gen__field_descriptors, - rpc__resp__supp_dpp_bootstrap_gen__field_indices_by_name, - 1, rpc__resp__supp_dpp_bootstrap_gen__number_ranges, - (ProtobufCMessageInit) rpc__resp__supp_dpp_bootstrap_gen__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__supp_dpp_start_listen__field_descriptors NULL -#define rpc__req__supp_dpp_start_listen__field_indices_by_name NULL -#define rpc__req__supp_dpp_start_listen__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__supp_dpp_start_listen__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SuppDppStartListen", - "RpcReqSuppDppStartListen", - "RpcReqSuppDppStartListen", - "", - sizeof(RpcReqSuppDppStartListen), - 0, - rpc__req__supp_dpp_start_listen__field_descriptors, - rpc__req__supp_dpp_start_listen__field_indices_by_name, - 0, rpc__req__supp_dpp_start_listen__number_ranges, - (ProtobufCMessageInit) rpc__req__supp_dpp_start_listen__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_start_listen__field_descriptors[1] = -{ { - "resp", - 1, + "scan_done", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespSuppDppStartListen, resp), - NULL, + offsetof(RpcEventStaScanDone, scan_done), + &wifi_event_sta_scan_done__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__supp_dpp_start_listen__field_indices_by_name[] = { +static const unsigned rpc__event__sta_scan_done__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = scan_done */ }; -static const ProtobufCIntRange rpc__resp__supp_dpp_start_listen__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_scan_done__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__supp_dpp_start_listen__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SuppDppStartListen", - "RpcRespSuppDppStartListen", - "RpcRespSuppDppStartListen", - "", - sizeof(RpcRespSuppDppStartListen), - 1, - rpc__resp__supp_dpp_start_listen__field_descriptors, - rpc__resp__supp_dpp_start_listen__field_indices_by_name, - 1, rpc__resp__supp_dpp_start_listen__number_ranges, - (ProtobufCMessageInit) rpc__resp__supp_dpp_start_listen__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__supp_dpp_stop_listen__field_descriptors NULL -#define rpc__req__supp_dpp_stop_listen__field_indices_by_name NULL -#define rpc__req__supp_dpp_stop_listen__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__supp_dpp_stop_listen__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_scan_done__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SuppDppStopListen", - "RpcReqSuppDppStopListen", - "RpcReqSuppDppStopListen", + "Rpc_Event_StaScanDone", + "RpcEventStaScanDone", + "RpcEventStaScanDone", "", - sizeof(RpcReqSuppDppStopListen), - 0, - rpc__req__supp_dpp_stop_listen__field_descriptors, - rpc__req__supp_dpp_stop_listen__field_indices_by_name, - 0, rpc__req__supp_dpp_stop_listen__number_ranges, - (ProtobufCMessageInit) rpc__req__supp_dpp_stop_listen__init, + sizeof(RpcEventStaScanDone), + 2, + rpc__event__sta_scan_done__field_descriptors, + rpc__event__sta_scan_done__field_indices_by_name, + 1, rpc__event__sta_scan_done__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_scan_done__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_stop_listen__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__sta_connected__field_descriptors[2] = { { "resp", @@ -21788,344 +23230,256 @@ static const ProtobufCFieldDescriptor rpc__resp__supp_dpp_stop_listen__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSuppDppStopListen, resp), + offsetof(RpcEventStaConnected, resp), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sta_connected", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcEventStaConnected, sta_connected), + &wifi_event_sta_connected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__supp_dpp_stop_listen__field_indices_by_name[] = { +static const unsigned rpc__event__sta_connected__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = sta_connected */ }; -static const ProtobufCIntRange rpc__resp__supp_dpp_stop_listen__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_connected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__supp_dpp_stop_listen__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_connected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SuppDppStopListen", - "RpcRespSuppDppStopListen", - "RpcRespSuppDppStopListen", - "", - sizeof(RpcRespSuppDppStopListen), - 1, - rpc__resp__supp_dpp_stop_listen__field_descriptors, - rpc__resp__supp_dpp_stop_listen__field_indices_by_name, - 1, rpc__resp__supp_dpp_stop_listen__number_ranges, - (ProtobufCMessageInit) rpc__resp__supp_dpp_stop_listen__init, + "Rpc_Event_StaConnected", + "RpcEventStaConnected", + "RpcEventStaConnected", + "", + sizeof(RpcEventStaConnected), + 2, + rpc__event__sta_connected__field_descriptors, + rpc__event__sta_connected__field_indices_by_name, + 1, rpc__event__sta_connected__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_connected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__iface_mac_addr_set_get__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__event__sta_disconnected__field_descriptors[2] = { { - "set", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqIfaceMacAddrSetGet, set), + offsetof(RpcEventStaDisconnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "type", + "sta_disconnected", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcReqIfaceMacAddrSetGet, type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mac", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqIfaceMacAddrSetGet, mac), - NULL, + offsetof(RpcEventStaDisconnected, sta_disconnected), + &wifi_event_sta_disconnected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__iface_mac_addr_set_get__field_indices_by_name[] = { - 2, /* field[2] = mac */ - 0, /* field[0] = set */ - 1, /* field[1] = type */ +static const unsigned rpc__event__sta_disconnected__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = sta_disconnected */ }; -static const ProtobufCIntRange rpc__req__iface_mac_addr_set_get__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_disconnected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__iface_mac_addr_set_get__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_disconnected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_IfaceMacAddrSetGet", - "RpcReqIfaceMacAddrSetGet", - "RpcReqIfaceMacAddrSetGet", + "Rpc_Event_StaDisconnected", + "RpcEventStaDisconnected", + "RpcEventStaDisconnected", "", - sizeof(RpcReqIfaceMacAddrSetGet), - 3, - rpc__req__iface_mac_addr_set_get__field_descriptors, - rpc__req__iface_mac_addr_set_get__field_indices_by_name, - 1, rpc__req__iface_mac_addr_set_get__number_ranges, - (ProtobufCMessageInit) rpc__req__iface_mac_addr_set_get__init, + sizeof(RpcEventStaDisconnected), + 2, + rpc__event__sta_disconnected__field_descriptors, + rpc__event__sta_disconnected__field_indices_by_name, + 1, rpc__event__sta_disconnected__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_disconnected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__iface_mac_addr_set_get__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__event__dhcp_dns_status__field_descriptors[10] = { { - "resp", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrSetGet, resp), + offsetof(RpcEventDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "set", + "net_link_up", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrSetGet, set), + offsetof(RpcEventDhcpDnsStatus, net_link_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "type", + "dhcp_up", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrSetGet, type), + offsetof(RpcEventDhcpDnsStatus, dhcp_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "dhcp_ip", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrSetGet, mac), + offsetof(RpcEventDhcpDnsStatus, dhcp_ip), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__iface_mac_addr_set_get__field_indices_by_name[] = { - 3, /* field[3] = mac */ - 0, /* field[0] = resp */ - 1, /* field[1] = set */ - 2, /* field[2] = type */ -}; -static const ProtobufCIntRange rpc__resp__iface_mac_addr_set_get__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor rpc__resp__iface_mac_addr_set_get__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_IfaceMacAddrSetGet", - "RpcRespIfaceMacAddrSetGet", - "RpcRespIfaceMacAddrSetGet", - "", - sizeof(RpcRespIfaceMacAddrSetGet), - 4, - rpc__resp__iface_mac_addr_set_get__field_descriptors, - rpc__resp__iface_mac_addr_set_get__field_indices_by_name, - 1, rpc__resp__iface_mac_addr_set_get__number_ranges, - (ProtobufCMessageInit) rpc__resp__iface_mac_addr_set_get__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__iface_mac_addr_len_get__field_descriptors[1] = -{ { - "type", - 1, + "dhcp_nm", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqIfaceMacAddrLenGet, type), + offsetof(RpcEventDhcpDnsStatus, dhcp_nm), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__iface_mac_addr_len_get__field_indices_by_name[] = { - 0, /* field[0] = type */ -}; -static const ProtobufCIntRange rpc__req__iface_mac_addr_len_get__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__iface_mac_addr_len_get__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_IfaceMacAddrLenGet", - "RpcReqIfaceMacAddrLenGet", - "RpcReqIfaceMacAddrLenGet", - "", - sizeof(RpcReqIfaceMacAddrLenGet), - 1, - rpc__req__iface_mac_addr_len_get__field_descriptors, - rpc__req__iface_mac_addr_len_get__field_indices_by_name, - 1, rpc__req__iface_mac_addr_len_get__number_ranges, - (ProtobufCMessageInit) rpc__req__iface_mac_addr_len_get__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__iface_mac_addr_len_get__field_descriptors[3] = -{ { - "resp", - 1, + "dhcp_gw", + 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrLenGet, resp), + offsetof(RpcEventDhcpDnsStatus, dhcp_gw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "type", - 2, + "dns_up", + 7, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrLenGet, type), + offsetof(RpcEventDhcpDnsStatus, dns_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "len", - 3, + "dns_ip", + 8, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespIfaceMacAddrLenGet, len), + offsetof(RpcEventDhcpDnsStatus, dns_ip), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__iface_mac_addr_len_get__field_indices_by_name[] = { - 2, /* field[2] = len */ - 0, /* field[0] = resp */ - 1, /* field[1] = type */ -}; -static const ProtobufCIntRange rpc__resp__iface_mac_addr_len_get__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor rpc__resp__iface_mac_addr_len_get__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_IfaceMacAddrLenGet", - "RpcRespIfaceMacAddrLenGet", - "RpcRespIfaceMacAddrLenGet", - "", - sizeof(RpcRespIfaceMacAddrLenGet), - 3, - rpc__resp__iface_mac_addr_len_get__field_descriptors, - rpc__resp__iface_mac_addr_len_get__field_indices_by_name, - 1, rpc__resp__iface_mac_addr_len_get__number_ranges, - (ProtobufCMessageInit) rpc__resp__iface_mac_addr_len_get__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__feature_control__field_descriptors[3] = -{ { - "feature", - 1, + "dns_type", + 9, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqFeatureControl, feature), - &rpc_feature__descriptor, + offsetof(RpcEventDhcpDnsStatus, dns_type), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "command", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(RpcReqFeatureControl, command), - &rpc_feature_command__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "option", - 3, + "resp", + 10, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqFeatureControl, option), - &rpc_feature_option__descriptor, + offsetof(RpcEventDhcpDnsStatus, resp), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__feature_control__field_indices_by_name[] = { - 1, /* field[1] = command */ - 0, /* field[0] = feature */ - 2, /* field[2] = option */ +static const unsigned rpc__event__dhcp_dns_status__field_indices_by_name[] = { + 5, /* field[5] = dhcp_gw */ + 3, /* field[3] = dhcp_ip */ + 4, /* field[4] = dhcp_nm */ + 2, /* field[2] = dhcp_up */ + 7, /* field[7] = dns_ip */ + 8, /* field[8] = dns_type */ + 6, /* field[6] = dns_up */ + 0, /* field[0] = iface */ + 1, /* field[1] = net_link_up */ + 9, /* field[9] = resp */ }; -static const ProtobufCIntRange rpc__req__feature_control__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 10 } }; -const ProtobufCMessageDescriptor rpc__req__feature_control__descriptor = +const ProtobufCMessageDescriptor rpc__event__dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_FeatureControl", - "RpcReqFeatureControl", - "RpcReqFeatureControl", + "Rpc_Event_DhcpDnsStatus", + "RpcEventDhcpDnsStatus", + "RpcEventDhcpDnsStatus", "", - sizeof(RpcReqFeatureControl), - 3, - rpc__req__feature_control__field_descriptors, - rpc__req__feature_control__field_indices_by_name, - 1, rpc__req__feature_control__number_ranges, - (ProtobufCMessageInit) rpc__req__feature_control__init, + sizeof(RpcEventDhcpDnsStatus), + 10, + rpc__event__dhcp_dns_status__field_descriptors, + rpc__event__dhcp_dns_status__field_indices_by_name, + 1, rpc__event__dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__event__dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__feature_control__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__event__sta_itwt_setup__field_descriptors[5] = { { "resp", @@ -22133,76 +23487,89 @@ static const ProtobufCFieldDescriptor rpc__resp__feature_control__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespFeatureControl, resp), + offsetof(RpcEventStaItwtSetup, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "feature", + "config", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespFeatureControl, feature), - &rpc_feature__descriptor, + offsetof(RpcEventStaItwtSetup, config), + &wifi_itwt_setup_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "command", + "status", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespFeatureControl, command), - &rpc_feature_command__descriptor, + offsetof(RpcEventStaItwtSetup, status), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "option", + "reason", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespFeatureControl, option), - &rpc_feature_option__descriptor, + offsetof(RpcEventStaItwtSetup, reason), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "target_wake_time", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ + offsetof(RpcEventStaItwtSetup, target_wake_time), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__feature_control__field_indices_by_name[] = { - 2, /* field[2] = command */ - 1, /* field[1] = feature */ - 3, /* field[3] = option */ +static const unsigned rpc__event__sta_itwt_setup__field_indices_by_name[] = { + 1, /* field[1] = config */ + 3, /* field[3] = reason */ 0, /* field[0] = resp */ + 2, /* field[2] = status */ + 4, /* field[4] = target_wake_time */ }; -static const ProtobufCIntRange rpc__resp__feature_control__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_itwt_setup__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 5 } }; -const ProtobufCMessageDescriptor rpc__resp__feature_control__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_itwt_setup__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_FeatureControl", - "RpcRespFeatureControl", - "RpcRespFeatureControl", + "Rpc_Event_StaItwtSetup", + "RpcEventStaItwtSetup", + "RpcEventStaItwtSetup", "", - sizeof(RpcRespFeatureControl), - 4, - rpc__resp__feature_control__field_descriptors, - rpc__resp__feature_control__field_indices_by_name, - 1, rpc__resp__feature_control__number_ranges, - (ProtobufCMessageInit) rpc__resp__feature_control__init, + sizeof(RpcEventStaItwtSetup), + 5, + rpc__event__sta_itwt_setup__field_descriptors, + rpc__event__sta_itwt_setup__field_indices_by_name, + 1, rpc__event__sta_itwt_setup__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_itwt_setup__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__wifi_event_no_args__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__event__sta_itwt_teardown__field_descriptors[3] = { { "resp", @@ -22210,170 +23577,160 @@ static const ProtobufCFieldDescriptor rpc__event__wifi_event_no_args__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiEventNoArgs, resp), + offsetof(RpcEventStaItwtTeardown, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "event_id", + "flow_id", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiEventNoArgs, event_id), + offsetof(RpcEventStaItwtTeardown, flow_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__event__wifi_event_no_args__field_indices_by_name[] = { - 1, /* field[1] = event_id */ - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__event__wifi_event_no_args__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__event__wifi_event_no_args__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_WifiEventNoArgs", - "RpcEventWifiEventNoArgs", - "RpcEventWifiEventNoArgs", - "", - sizeof(RpcEventWifiEventNoArgs), - 2, - rpc__event__wifi_event_no_args__field_descriptors, - rpc__event__wifi_event_no_args__field_indices_by_name, - 1, rpc__event__wifi_event_no_args__number_ranges, - (ProtobufCMessageInit) rpc__event__wifi_event_no_args__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__event__espinit__field_descriptors[1] = -{ { - "init_data", - 1, + "status", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventESPInit, init_data), + offsetof(RpcEventStaItwtTeardown, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__espinit__field_indices_by_name[] = { - 0, /* field[0] = init_data */ +static const unsigned rpc__event__sta_itwt_teardown__field_indices_by_name[] = { + 1, /* field[1] = flow_id */ + 0, /* field[0] = resp */ + 2, /* field[2] = status */ }; -static const ProtobufCIntRange rpc__event__espinit__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_itwt_teardown__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__event__espinit__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_itwt_teardown__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_ESPInit", - "RpcEventESPInit", - "RpcEventESPInit", + "Rpc_Event_StaItwtTeardown", + "RpcEventStaItwtTeardown", + "RpcEventStaItwtTeardown", "", - sizeof(RpcEventESPInit), - 1, - rpc__event__espinit__field_descriptors, - rpc__event__espinit__field_indices_by_name, - 1, rpc__event__espinit__number_ranges, - (ProtobufCMessageInit) rpc__event__espinit__init, + sizeof(RpcEventStaItwtTeardown), + 3, + rpc__event__sta_itwt_teardown__field_descriptors, + rpc__event__sta_itwt_teardown__field_indices_by_name, + 1, rpc__event__sta_itwt_teardown__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_itwt_teardown__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__heartbeat__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__sta_itwt_suspend__field_descriptors[4] = { { - "hb_num", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventHeartbeat, hb_num), + offsetof(RpcEventStaItwtSuspend, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__event__heartbeat__field_indices_by_name[] = { - 0, /* field[0] = hb_num */ -}; -static const ProtobufCIntRange rpc__event__heartbeat__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__event__heartbeat__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_Heartbeat", - "RpcEventHeartbeat", - "RpcEventHeartbeat", - "", - sizeof(RpcEventHeartbeat), - 1, - rpc__event__heartbeat__field_descriptors, - rpc__event__heartbeat__field_indices_by_name, - 1, rpc__event__heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__event__heartbeat__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__event__ap__sta_disconnected__field_descriptors[5] = -{ { - "resp", - 1, + "status", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, resp), + offsetof(RpcEventStaItwtSuspend, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", - 2, + "flow_id_bitmap", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, mac), + offsetof(RpcEventStaItwtSuspend, flow_id_bitmap), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", - 3, + "actual_suspend_time_ms", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(RpcEventStaItwtSuspend, n_actual_suspend_time_ms), + offsetof(RpcEventStaItwtSuspend, actual_suspend_time_ms), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__event__sta_itwt_suspend__field_indices_by_name[] = { + 3, /* field[3] = actual_suspend_time_ms */ + 2, /* field[2] = flow_id_bitmap */ + 0, /* field[0] = resp */ + 1, /* field[1] = status */ +}; +static const ProtobufCIntRange rpc__event__sta_itwt_suspend__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor rpc__event__sta_itwt_suspend__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Event_StaItwtSuspend", + "RpcEventStaItwtSuspend", + "RpcEventStaItwtSuspend", + "", + sizeof(RpcEventStaItwtSuspend), + 4, + rpc__event__sta_itwt_suspend__field_descriptors, + rpc__event__sta_itwt_suspend__field_indices_by_name, + 1, rpc__event__sta_itwt_suspend__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_itwt_suspend__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__event__sta_itwt_probe__field_descriptors[3] = +{ + { + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, aid), + offsetof(RpcEventStaItwtProbe, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "is_mesh_child", - 4, + "status", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, is_mesh_child), + offsetof(RpcEventStaItwtProbe, status), NULL, NULL, 0, /* flags */ @@ -22381,45 +23738,61 @@ static const ProtobufCFieldDescriptor rpc__event__ap__sta_disconnected__field_de }, { "reason", - 5, + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, reason), + offsetof(RpcEventStaItwtProbe, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__ap__sta_disconnected__field_indices_by_name[] = { - 2, /* field[2] = aid */ - 3, /* field[3] = is_mesh_child */ - 1, /* field[1] = mac */ - 4, /* field[4] = reason */ +static const unsigned rpc__event__sta_itwt_probe__field_indices_by_name[] = { + 2, /* field[2] = reason */ 0, /* field[0] = resp */ + 1, /* field[1] = status */ }; -static const ProtobufCIntRange rpc__event__ap__sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_itwt_probe__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__event__ap__sta_disconnected__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_itwt_probe__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_AP_StaDisconnected", - "RpcEventAPStaDisconnected", - "RpcEventAPStaDisconnected", + "Rpc_Event_StaItwtProbe", + "RpcEventStaItwtProbe", + "RpcEventStaItwtProbe", "", - sizeof(RpcEventAPStaDisconnected), - 5, - rpc__event__ap__sta_disconnected__field_descriptors, - rpc__event__ap__sta_disconnected__field_indices_by_name, - 1, rpc__event__ap__sta_disconnected__number_ranges, - (ProtobufCMessageInit) rpc__event__ap__sta_disconnected__init, + sizeof(RpcEventStaItwtProbe), + 3, + rpc__event__sta_itwt_probe__field_descriptors, + rpc__event__sta_itwt_probe__field_indices_by_name, + 1, rpc__event__sta_itwt_probe__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_itwt_probe__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__ap__sta_connected__field_descriptors[4] = +#define rpc__req__wifi_sta_enterprise_enable__field_descriptors NULL +#define rpc__req__wifi_sta_enterprise_enable__field_indices_by_name NULL +#define rpc__req__wifi_sta_enterprise_enable__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_enterprise_enable__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaEnterpriseEnable", + "RpcReqWifiStaEnterpriseEnable", + "RpcReqWifiStaEnterpriseEnable", + "", + sizeof(RpcReqWifiStaEnterpriseEnable), + 0, + rpc__req__wifi_sta_enterprise_enable__field_descriptors, + rpc__req__wifi_sta_enterprise_enable__field_indices_by_name, + 0, rpc__req__wifi_sta_enterprise_enable__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_enterprise_enable__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_enable__field_descriptors[1] = { { "resp", @@ -22427,76 +23800,144 @@ static const ProtobufCFieldDescriptor rpc__event__ap__sta_connected__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, resp), + offsetof(RpcRespWifiStaEnterpriseEnable, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_sta_enterprise_enable__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_sta_enterprise_enable__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_enterprise_enable__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiStaEnterpriseEnable", + "RpcRespWifiStaEnterpriseEnable", + "RpcRespWifiStaEnterpriseEnable", + "", + sizeof(RpcRespWifiStaEnterpriseEnable), + 1, + rpc__resp__wifi_sta_enterprise_enable__field_descriptors, + rpc__resp__wifi_sta_enterprise_enable__field_indices_by_name, + 1, rpc__resp__wifi_sta_enterprise_enable__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_enterprise_enable__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__wifi_sta_enterprise_disable__field_descriptors NULL +#define rpc__req__wifi_sta_enterprise_disable__field_indices_by_name NULL +#define rpc__req__wifi_sta_enterprise_disable__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_enterprise_disable__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaEnterpriseDisable", + "RpcReqWifiStaEnterpriseDisable", + "RpcReqWifiStaEnterpriseDisable", + "", + sizeof(RpcReqWifiStaEnterpriseDisable), + 0, + rpc__req__wifi_sta_enterprise_disable__field_descriptors, + rpc__req__wifi_sta_enterprise_disable__field_indices_by_name, + 0, rpc__req__wifi_sta_enterprise_disable__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_enterprise_disable__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_disable__field_descriptors[1] = +{ { - "mac", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, mac), + offsetof(RpcRespWifiStaEnterpriseDisable, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_sta_enterprise_disable__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_sta_enterprise_disable__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_enterprise_disable__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiStaEnterpriseDisable", + "RpcRespWifiStaEnterpriseDisable", + "RpcRespWifiStaEnterpriseDisable", + "", + sizeof(RpcRespWifiStaEnterpriseDisable), + 1, + rpc__resp__wifi_sta_enterprise_disable__field_descriptors, + rpc__resp__wifi_sta_enterprise_disable__field_indices_by_name, + 1, rpc__resp__wifi_sta_enterprise_disable__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_enterprise_disable__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__eap_set_identity__field_descriptors[2] = +{ { - "aid", - 3, + "identity", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, aid), + offsetof(RpcReqEapSetIdentity, identity), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "is_mesh_child", - 4, + "len", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, is_mesh_child), + offsetof(RpcReqEapSetIdentity, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__ap__sta_connected__field_indices_by_name[] = { - 2, /* field[2] = aid */ - 3, /* field[3] = is_mesh_child */ - 1, /* field[1] = mac */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_identity__field_indices_by_name[] = { + 0, /* field[0] = identity */ + 1, /* field[1] = len */ }; -static const ProtobufCIntRange rpc__event__ap__sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_identity__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__ap__sta_connected__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_identity__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_AP_StaConnected", - "RpcEventAPStaConnected", - "RpcEventAPStaConnected", + "Rpc_Req_EapSetIdentity", + "RpcReqEapSetIdentity", + "RpcReqEapSetIdentity", "", - sizeof(RpcEventAPStaConnected), - 4, - rpc__event__ap__sta_connected__field_descriptors, - rpc__event__ap__sta_connected__field_indices_by_name, - 1, rpc__event__ap__sta_connected__number_ranges, - (ProtobufCMessageInit) rpc__event__ap__sta_connected__init, + sizeof(RpcReqEapSetIdentity), + 2, + rpc__req__eap_set_identity__field_descriptors, + rpc__req__eap_set_identity__field_indices_by_name, + 1, rpc__req__eap_set_identity__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_identity__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_identity__field_descriptors[1] = { { "resp", @@ -22504,50 +23945,55 @@ static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descripto PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaScanDone, resp), - NULL, + offsetof(RpcRespEapSetIdentity, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "scan_done", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcEventStaScanDone, scan_done), - &wifi_event_sta_scan_done__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_scan_done__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_identity__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = scan_done */ }; -static const ProtobufCIntRange rpc__event__sta_scan_done__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_identity__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_scan_done__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_identity__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaScanDone", - "RpcEventStaScanDone", - "RpcEventStaScanDone", + "Rpc_Resp_EapSetIdentity", + "RpcRespEapSetIdentity", + "RpcRespEapSetIdentity", "", - sizeof(RpcEventStaScanDone), - 2, - rpc__event__sta_scan_done__field_descriptors, - rpc__event__sta_scan_done__field_indices_by_name, - 1, rpc__event__sta_scan_done__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_scan_done__init, + sizeof(RpcRespEapSetIdentity), + 1, + rpc__resp__eap_set_identity__field_descriptors, + rpc__resp__eap_set_identity__field_indices_by_name, + 1, rpc__resp__eap_set_identity__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_identity__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__eap_clear_identity__field_descriptors NULL +#define rpc__req__eap_clear_identity__field_indices_by_name NULL +#define rpc__req__eap_clear_identity__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_identity__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapClearIdentity", + "RpcReqEapClearIdentity", + "RpcReqEapClearIdentity", + "", + sizeof(RpcReqEapClearIdentity), + 0, + rpc__req__eap_clear_identity__field_descriptors, + rpc__req__eap_clear_identity__field_indices_by_name, + 0, rpc__req__eap_clear_identity__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_identity__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_connected__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_identity__field_descriptors[1] = { { "resp", @@ -22555,346 +24001,289 @@ static const ProtobufCFieldDescriptor rpc__event__sta_connected__field_descripto PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaConnected, resp), - NULL, + offsetof(RpcRespEapClearIdentity, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sta_connected", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcEventStaConnected, sta_connected), - &wifi_event_sta_connected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_connected__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_clear_identity__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = sta_connected */ }; -static const ProtobufCIntRange rpc__event__sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_clear_identity__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_connected__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_clear_identity__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaConnected", - "RpcEventStaConnected", - "RpcEventStaConnected", + "Rpc_Resp_EapClearIdentity", + "RpcRespEapClearIdentity", + "RpcRespEapClearIdentity", "", - sizeof(RpcEventStaConnected), - 2, - rpc__event__sta_connected__field_descriptors, - rpc__event__sta_connected__field_indices_by_name, - 1, rpc__event__sta_connected__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_connected__init, + sizeof(RpcRespEapClearIdentity), + 1, + rpc__resp__eap_clear_identity__field_descriptors, + rpc__resp__eap_clear_identity__field_indices_by_name, + 1, rpc__resp__eap_clear_identity__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_identity__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_disconnected__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_username__field_descriptors[2] = { { - "resp", + "username", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcEventStaDisconnected, resp), + offsetof(RpcReqEapSetUsername, username), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sta_disconnected", + "len", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaDisconnected, sta_disconnected), - &wifi_event_sta_disconnected__descriptor, + offsetof(RpcReqEapSetUsername, len), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_disconnected__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sta_disconnected */ +static const unsigned rpc__req__eap_set_username__field_indices_by_name[] = { + 1, /* field[1] = len */ + 0, /* field[0] = username */ }; -static const ProtobufCIntRange rpc__event__sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_username__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__sta_disconnected__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_username__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaDisconnected", - "RpcEventStaDisconnected", - "RpcEventStaDisconnected", + "Rpc_Req_EapSetUsername", + "RpcReqEapSetUsername", + "RpcReqEapSetUsername", "", - sizeof(RpcEventStaDisconnected), + sizeof(RpcReqEapSetUsername), 2, - rpc__event__sta_disconnected__field_descriptors, - rpc__event__sta_disconnected__field_indices_by_name, - 1, rpc__event__sta_disconnected__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_disconnected__init, + rpc__req__eap_set_username__field_descriptors, + rpc__req__eap_set_username__field_indices_by_name, + 1, rpc__req__eap_set_username__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_username__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__dhcp_dns_status__field_descriptors[10] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_username__field_descriptors[1] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, iface), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "net_link_up", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, net_link_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_up", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dhcp_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_ip", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dhcp_ip), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_nm", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dhcp_nm), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_gw", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dhcp_gw), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dns_up", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dns_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dns_ip", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dns_ip), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dns_type", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, dns_type), + offsetof(RpcRespEapSetUsername, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__eap_set_username__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__eap_set_username__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__eap_set_username__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_EapSetUsername", + "RpcRespEapSetUsername", + "RpcRespEapSetUsername", + "", + sizeof(RpcRespEapSetUsername), + 1, + rpc__resp__eap_set_username__field_descriptors, + rpc__resp__eap_set_username__field_indices_by_name, + 1, rpc__resp__eap_set_username__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_username__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__eap_clear_username__field_descriptors NULL +#define rpc__req__eap_clear_username__field_indices_by_name NULL +#define rpc__req__eap_clear_username__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_username__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapClearUsername", + "RpcReqEapClearUsername", + "RpcReqEapClearUsername", + "", + sizeof(RpcReqEapClearUsername), + 0, + rpc__req__eap_clear_username__field_descriptors, + rpc__req__eap_clear_username__field_indices_by_name, + 0, rpc__req__eap_clear_username__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_username__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_username__field_descriptors[1] = +{ { "resp", - 10, + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventDhcpDnsStatus, resp), + offsetof(RpcRespEapClearUsername, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__dhcp_dns_status__field_indices_by_name[] = { - 5, /* field[5] = dhcp_gw */ - 3, /* field[3] = dhcp_ip */ - 4, /* field[4] = dhcp_nm */ - 2, /* field[2] = dhcp_up */ - 7, /* field[7] = dns_ip */ - 8, /* field[8] = dns_type */ - 6, /* field[6] = dns_up */ - 0, /* field[0] = iface */ - 1, /* field[1] = net_link_up */ - 9, /* field[9] = resp */ +static const unsigned rpc__resp__eap_clear_username__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_clear_username__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 10 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_clear_username__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_DhcpDnsStatus", - "RpcEventDhcpDnsStatus", - "RpcEventDhcpDnsStatus", + "Rpc_Resp_EapClearUsername", + "RpcRespEapClearUsername", + "RpcRespEapClearUsername", "", - sizeof(RpcEventDhcpDnsStatus), - 10, - rpc__event__dhcp_dns_status__field_descriptors, - rpc__event__dhcp_dns_status__field_indices_by_name, - 1, rpc__event__dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__event__dhcp_dns_status__init, + sizeof(RpcRespEapClearUsername), + 1, + rpc__resp__eap_clear_username__field_descriptors, + rpc__resp__eap_clear_username__field_indices_by_name, + 1, rpc__resp__eap_clear_username__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_username__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_itwt_setup__field_descriptors[5] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_password__field_descriptors[2] = { { - "resp", + "password", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSetup, resp), + offsetof(RpcReqEapSetPassword, password), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "config", + "len", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSetup, config), - &wifi_itwt_setup_config__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "status", - 3, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSetup, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reason", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSetup, reason), + offsetof(RpcReqEapSetPassword, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__eap_set_password__field_indices_by_name[] = { + 1, /* field[1] = len */ + 0, /* field[0] = password */ +}; +static const ProtobufCIntRange rpc__req__eap_set_password__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__req__eap_set_password__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapSetPassword", + "RpcReqEapSetPassword", + "RpcReqEapSetPassword", + "", + sizeof(RpcReqEapSetPassword), + 2, + rpc__req__eap_set_password__field_descriptors, + rpc__req__eap_set_password__field_indices_by_name, + 1, rpc__req__eap_set_password__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_password__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__eap_set_password__field_descriptors[1] = +{ { - "target_wake_time", - 5, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSetup, target_wake_time), + offsetof(RpcRespEapSetPassword, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_itwt_setup__field_indices_by_name[] = { - 1, /* field[1] = config */ - 3, /* field[3] = reason */ +static const unsigned rpc__resp__eap_set_password__field_indices_by_name[] = { 0, /* field[0] = resp */ - 2, /* field[2] = status */ - 4, /* field[4] = target_wake_time */ }; -static const ProtobufCIntRange rpc__event__sta_itwt_setup__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_password__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_itwt_setup__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_password__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaItwtSetup", - "RpcEventStaItwtSetup", - "RpcEventStaItwtSetup", + "Rpc_Resp_EapSetPassword", + "RpcRespEapSetPassword", + "RpcRespEapSetPassword", "", - sizeof(RpcEventStaItwtSetup), - 5, - rpc__event__sta_itwt_setup__field_descriptors, - rpc__event__sta_itwt_setup__field_indices_by_name, - 1, rpc__event__sta_itwt_setup__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_itwt_setup__init, + sizeof(RpcRespEapSetPassword), + 1, + rpc__resp__eap_set_password__field_descriptors, + rpc__resp__eap_set_password__field_indices_by_name, + 1, rpc__resp__eap_set_password__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_password__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_itwt_teardown__field_descriptors[3] = +#define rpc__req__eap_clear_password__field_descriptors NULL +#define rpc__req__eap_clear_password__field_indices_by_name NULL +#define rpc__req__eap_clear_password__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_password__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapClearPassword", + "RpcReqEapClearPassword", + "RpcReqEapClearPassword", + "", + sizeof(RpcReqEapClearPassword), + 0, + rpc__req__eap_clear_password__field_descriptors, + rpc__req__eap_clear_password__field_indices_by_name, + 0, rpc__req__eap_clear_password__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_password__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_password__field_descriptors[1] = { { "resp", @@ -22902,63 +24291,88 @@ static const ProtobufCFieldDescriptor rpc__event__sta_itwt_teardown__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtTeardown, resp), + offsetof(RpcRespEapClearPassword, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__eap_clear_password__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__eap_clear_password__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__eap_clear_password__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_EapClearPassword", + "RpcRespEapClearPassword", + "RpcRespEapClearPassword", + "", + sizeof(RpcRespEapClearPassword), + 1, + rpc__resp__eap_clear_password__field_descriptors, + rpc__resp__eap_clear_password__field_indices_by_name, + 1, rpc__resp__eap_clear_password__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_password__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__eap_set_new_password__field_descriptors[2] = +{ { - "flow_id", - 2, + "new_password", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtTeardown, flow_id), + offsetof(RpcReqEapSetNewPassword, new_password), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", - 3, + "len", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtTeardown, status), + offsetof(RpcReqEapSetNewPassword, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_itwt_teardown__field_indices_by_name[] = { - 1, /* field[1] = flow_id */ - 0, /* field[0] = resp */ - 2, /* field[2] = status */ +static const unsigned rpc__req__eap_set_new_password__field_indices_by_name[] = { + 1, /* field[1] = len */ + 0, /* field[0] = new_password */ }; -static const ProtobufCIntRange rpc__event__sta_itwt_teardown__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_new_password__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__sta_itwt_teardown__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_new_password__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaItwtTeardown", - "RpcEventStaItwtTeardown", - "RpcEventStaItwtTeardown", + "Rpc_Req_EapSetNewPassword", + "RpcReqEapSetNewPassword", + "RpcReqEapSetNewPassword", "", - sizeof(RpcEventStaItwtTeardown), - 3, - rpc__event__sta_itwt_teardown__field_descriptors, - rpc__event__sta_itwt_teardown__field_indices_by_name, - 1, rpc__event__sta_itwt_teardown__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_itwt_teardown__init, + sizeof(RpcReqEapSetNewPassword), + 2, + rpc__req__eap_set_new_password__field_descriptors, + rpc__req__eap_set_new_password__field_indices_by_name, + 1, rpc__req__eap_set_new_password__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_new_password__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_itwt_suspend__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_new_password__field_descriptors[1] = { { "resp", @@ -22966,158 +24380,144 @@ static const ProtobufCFieldDescriptor rpc__event__sta_itwt_suspend__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSuspend, resp), + offsetof(RpcRespEapSetNewPassword, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__eap_set_new_password__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__eap_set_new_password__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__eap_set_new_password__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_EapSetNewPassword", + "RpcRespEapSetNewPassword", + "RpcRespEapSetNewPassword", + "", + sizeof(RpcRespEapSetNewPassword), + 1, + rpc__resp__eap_set_new_password__field_descriptors, + rpc__resp__eap_set_new_password__field_indices_by_name, + 1, rpc__resp__eap_set_new_password__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_new_password__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__eap_clear_new_password__field_descriptors NULL +#define rpc__req__eap_clear_new_password__field_indices_by_name NULL +#define rpc__req__eap_clear_new_password__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_new_password__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapClearNewPassword", + "RpcReqEapClearNewPassword", + "RpcReqEapClearNewPassword", + "", + sizeof(RpcReqEapClearNewPassword), + 0, + rpc__req__eap_clear_new_password__field_descriptors, + rpc__req__eap_clear_new_password__field_indices_by_name, + 0, rpc__req__eap_clear_new_password__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_new_password__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_new_password__field_descriptors[1] = +{ { - "status", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSuspend, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "flow_id_bitmap", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtSuspend, flow_id_bitmap), + offsetof(RpcRespEapClearNewPassword, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, - { - "actual_suspend_time_ms", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT32, - offsetof(RpcEventStaItwtSuspend, n_actual_suspend_time_ms), - offsetof(RpcEventStaItwtSuspend, actual_suspend_time_ms), - NULL, - NULL, - 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, }; -static const unsigned rpc__event__sta_itwt_suspend__field_indices_by_name[] = { - 3, /* field[3] = actual_suspend_time_ms */ - 2, /* field[2] = flow_id_bitmap */ +static const unsigned rpc__resp__eap_clear_new_password__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = status */ }; -static const ProtobufCIntRange rpc__event__sta_itwt_suspend__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_clear_new_password__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_itwt_suspend__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_clear_new_password__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaItwtSuspend", - "RpcEventStaItwtSuspend", - "RpcEventStaItwtSuspend", + "Rpc_Resp_EapClearNewPassword", + "RpcRespEapClearNewPassword", + "RpcRespEapClearNewPassword", "", - sizeof(RpcEventStaItwtSuspend), - 4, - rpc__event__sta_itwt_suspend__field_descriptors, - rpc__event__sta_itwt_suspend__field_indices_by_name, - 1, rpc__event__sta_itwt_suspend__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_itwt_suspend__init, + sizeof(RpcRespEapClearNewPassword), + 1, + rpc__resp__eap_clear_new_password__field_descriptors, + rpc__resp__eap_clear_new_password__field_indices_by_name, + 1, rpc__resp__eap_clear_new_password__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_new_password__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_itwt_probe__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_ca_cert__field_descriptors[2] = { { - "resp", + "ca_cert", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtProbe, resp), + offsetof(RpcReqEapSetCaCert, ca_cert), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", + "ca_cert_len", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtProbe, status), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reason", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcEventStaItwtProbe, reason), + offsetof(RpcReqEapSetCaCert, ca_cert_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_itwt_probe__field_indices_by_name[] = { - 2, /* field[2] = reason */ - 0, /* field[0] = resp */ - 1, /* field[1] = status */ +static const unsigned rpc__req__eap_set_ca_cert__field_indices_by_name[] = { + 0, /* field[0] = ca_cert */ + 1, /* field[1] = ca_cert_len */ }; -static const ProtobufCIntRange rpc__event__sta_itwt_probe__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_ca_cert__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor rpc__event__sta_itwt_probe__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaItwtProbe", - "RpcEventStaItwtProbe", - "RpcEventStaItwtProbe", - "", - sizeof(RpcEventStaItwtProbe), - 3, - rpc__event__sta_itwt_probe__field_descriptors, - rpc__event__sta_itwt_probe__field_indices_by_name, - 1, rpc__event__sta_itwt_probe__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_itwt_probe__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_sta_enterprise_enable__field_descriptors NULL -#define rpc__req__wifi_sta_enterprise_enable__field_indices_by_name NULL -#define rpc__req__wifi_sta_enterprise_enable__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_enterprise_enable__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_ca_cert__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaEnterpriseEnable", - "RpcReqWifiStaEnterpriseEnable", - "RpcReqWifiStaEnterpriseEnable", + "Rpc_Req_EapSetCaCert", + "RpcReqEapSetCaCert", + "RpcReqEapSetCaCert", "", - sizeof(RpcReqWifiStaEnterpriseEnable), - 0, - rpc__req__wifi_sta_enterprise_enable__field_descriptors, - rpc__req__wifi_sta_enterprise_enable__field_indices_by_name, - 0, rpc__req__wifi_sta_enterprise_enable__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_enterprise_enable__init, + sizeof(RpcReqEapSetCaCert), + 2, + rpc__req__eap_set_ca_cert__field_descriptors, + rpc__req__eap_set_ca_cert__field_indices_by_name, + 1, rpc__req__eap_set_ca_cert__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_ca_cert__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_enable__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_ca_cert__field_descriptors[1] = { { "resp", @@ -23125,55 +24525,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_enable__fie PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaEnterpriseEnable, resp), + offsetof(RpcRespEapSetCaCert, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_enterprise_enable__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_ca_cert__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_enterprise_enable__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_ca_cert__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_enterprise_enable__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_ca_cert__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaEnterpriseEnable", - "RpcRespWifiStaEnterpriseEnable", - "RpcRespWifiStaEnterpriseEnable", + "Rpc_Resp_EapSetCaCert", + "RpcRespEapSetCaCert", + "RpcRespEapSetCaCert", "", - sizeof(RpcRespWifiStaEnterpriseEnable), + sizeof(RpcRespEapSetCaCert), 1, - rpc__resp__wifi_sta_enterprise_enable__field_descriptors, - rpc__resp__wifi_sta_enterprise_enable__field_indices_by_name, - 1, rpc__resp__wifi_sta_enterprise_enable__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_enterprise_enable__init, + rpc__resp__eap_set_ca_cert__field_descriptors, + rpc__resp__eap_set_ca_cert__field_indices_by_name, + 1, rpc__resp__eap_set_ca_cert__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_ca_cert__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_enterprise_disable__field_descriptors NULL -#define rpc__req__wifi_sta_enterprise_disable__field_indices_by_name NULL -#define rpc__req__wifi_sta_enterprise_disable__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_enterprise_disable__descriptor = +#define rpc__req__eap_clear_ca_cert__field_descriptors NULL +#define rpc__req__eap_clear_ca_cert__field_indices_by_name NULL +#define rpc__req__eap_clear_ca_cert__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_ca_cert__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaEnterpriseDisable", - "RpcReqWifiStaEnterpriseDisable", - "RpcReqWifiStaEnterpriseDisable", + "Rpc_Req_EapClearCaCert", + "RpcReqEapClearCaCert", + "RpcReqEapClearCaCert", "", - sizeof(RpcReqWifiStaEnterpriseDisable), + sizeof(RpcReqEapClearCaCert), 0, - rpc__req__wifi_sta_enterprise_disable__field_descriptors, - rpc__req__wifi_sta_enterprise_disable__field_indices_by_name, - 0, rpc__req__wifi_sta_enterprise_disable__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_enterprise_disable__init, + rpc__req__eap_clear_ca_cert__field_descriptors, + rpc__req__eap_clear_ca_cert__field_indices_by_name, + 0, rpc__req__eap_clear_ca_cert__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_ca_cert__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_disable__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_ca_cert__field_descriptors[1] = { { "resp", @@ -23181,88 +24581,140 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_enterprise_disable__fi PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaEnterpriseDisable, resp), + offsetof(RpcRespEapClearCaCert, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_enterprise_disable__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_clear_ca_cert__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_enterprise_disable__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_clear_ca_cert__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_enterprise_disable__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_clear_ca_cert__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaEnterpriseDisable", - "RpcRespWifiStaEnterpriseDisable", - "RpcRespWifiStaEnterpriseDisable", + "Rpc_Resp_EapClearCaCert", + "RpcRespEapClearCaCert", + "RpcRespEapClearCaCert", "", - sizeof(RpcRespWifiStaEnterpriseDisable), + sizeof(RpcRespEapClearCaCert), 1, - rpc__resp__wifi_sta_enterprise_disable__field_descriptors, - rpc__resp__wifi_sta_enterprise_disable__field_indices_by_name, - 1, rpc__resp__wifi_sta_enterprise_disable__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_enterprise_disable__init, + rpc__resp__eap_clear_ca_cert__field_descriptors, + rpc__resp__eap_clear_ca_cert__field_indices_by_name, + 1, rpc__resp__eap_clear_ca_cert__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_ca_cert__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_identity__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_certificate_and_key__field_descriptors[6] = { { - "identity", - 1, + "client_cert", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqEapSetCertificateAndKey, client_cert), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "client_cert_len", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqEapSetCertificateAndKey, client_cert_len), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "private_key", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqEapSetCertificateAndKey, private_key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "private_key_len", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqEapSetCertificateAndKey, private_key_len), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "private_key_password", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetIdentity, identity), + offsetof(RpcReqEapSetCertificateAndKey, private_key_password), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "len", - 2, + "private_key_passwd_len", + 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetIdentity, len), + offsetof(RpcReqEapSetCertificateAndKey, private_key_passwd_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_identity__field_indices_by_name[] = { - 0, /* field[0] = identity */ - 1, /* field[1] = len */ +static const unsigned rpc__req__eap_set_certificate_and_key__field_indices_by_name[] = { + 0, /* field[0] = client_cert */ + 1, /* field[1] = client_cert_len */ + 2, /* field[2] = private_key */ + 3, /* field[3] = private_key_len */ + 5, /* field[5] = private_key_passwd_len */ + 4, /* field[4] = private_key_password */ }; -static const ProtobufCIntRange rpc__req__eap_set_identity__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_certificate_and_key__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 6 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_identity__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_certificate_and_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetIdentity", - "RpcReqEapSetIdentity", - "RpcReqEapSetIdentity", + "Rpc_Req_EapSetCertificateAndKey", + "RpcReqEapSetCertificateAndKey", + "RpcReqEapSetCertificateAndKey", "", - sizeof(RpcReqEapSetIdentity), - 2, - rpc__req__eap_set_identity__field_descriptors, - rpc__req__eap_set_identity__field_indices_by_name, - 1, rpc__req__eap_set_identity__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_identity__init, + sizeof(RpcReqEapSetCertificateAndKey), + 6, + rpc__req__eap_set_certificate_and_key__field_descriptors, + rpc__req__eap_set_certificate_and_key__field_indices_by_name, + 1, rpc__req__eap_set_certificate_and_key__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_certificate_and_key__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_identity__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_certificate_and_key__field_descriptors[1] = { { "resp", @@ -23270,55 +24722,55 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_identity__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetIdentity, resp), + offsetof(RpcRespEapSetCertificateAndKey, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_identity__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_certificate_and_key__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_identity__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_certificate_and_key__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_identity__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_certificate_and_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetIdentity", - "RpcRespEapSetIdentity", - "RpcRespEapSetIdentity", + "Rpc_Resp_EapSetCertificateAndKey", + "RpcRespEapSetCertificateAndKey", + "RpcRespEapSetCertificateAndKey", "", - sizeof(RpcRespEapSetIdentity), + sizeof(RpcRespEapSetCertificateAndKey), 1, - rpc__resp__eap_set_identity__field_descriptors, - rpc__resp__eap_set_identity__field_indices_by_name, - 1, rpc__resp__eap_set_identity__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_identity__init, + rpc__resp__eap_set_certificate_and_key__field_descriptors, + rpc__resp__eap_set_certificate_and_key__field_indices_by_name, + 1, rpc__resp__eap_set_certificate_and_key__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_certificate_and_key__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__eap_clear_identity__field_descriptors NULL -#define rpc__req__eap_clear_identity__field_indices_by_name NULL -#define rpc__req__eap_clear_identity__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_identity__descriptor = +#define rpc__req__eap_clear_certificate_and_key__field_descriptors NULL +#define rpc__req__eap_clear_certificate_and_key__field_indices_by_name NULL +#define rpc__req__eap_clear_certificate_and_key__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_clear_certificate_and_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearIdentity", - "RpcReqEapClearIdentity", - "RpcReqEapClearIdentity", + "Rpc_Req_EapClearCertificateAndKey", + "RpcReqEapClearCertificateAndKey", + "RpcReqEapClearCertificateAndKey", "", - sizeof(RpcReqEapClearIdentity), + sizeof(RpcReqEapClearCertificateAndKey), 0, - rpc__req__eap_clear_identity__field_descriptors, - rpc__req__eap_clear_identity__field_indices_by_name, - 0, rpc__req__eap_clear_identity__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_identity__init, + rpc__req__eap_clear_certificate_and_key__field_descriptors, + rpc__req__eap_clear_certificate_and_key__field_indices_by_name, + 0, rpc__req__eap_clear_certificate_and_key__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_clear_certificate_and_key__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_identity__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_clear_certificate_and_key__field_descriptors[1] = { { "resp", @@ -23326,88 +24778,75 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_clear_identity__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearIdentity, resp), + offsetof(RpcRespEapClearCertificateAndKey, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_identity__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_clear_certificate_and_key__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_identity__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_clear_certificate_and_key__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_identity__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_clear_certificate_and_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearIdentity", - "RpcRespEapClearIdentity", - "RpcRespEapClearIdentity", + "Rpc_Resp_EapClearCertificateAndKey", + "RpcRespEapClearCertificateAndKey", + "RpcRespEapClearCertificateAndKey", "", - sizeof(RpcRespEapClearIdentity), + sizeof(RpcRespEapClearCertificateAndKey), 1, - rpc__resp__eap_clear_identity__field_descriptors, - rpc__resp__eap_clear_identity__field_indices_by_name, - 1, rpc__resp__eap_clear_identity__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_identity__init, + rpc__resp__eap_clear_certificate_and_key__field_descriptors, + rpc__resp__eap_clear_certificate_and_key__field_indices_by_name, + 1, rpc__resp__eap_clear_certificate_and_key__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_clear_certificate_and_key__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_username__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_disable_time_check__field_descriptors[1] = { { - "username", + "disable", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetUsername, username), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "len", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetUsername, len), + offsetof(RpcReqEapSetDisableTimeCheck, disable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_username__field_indices_by_name[] = { - 1, /* field[1] = len */ - 0, /* field[0] = username */ +static const unsigned rpc__req__eap_set_disable_time_check__field_indices_by_name[] = { + 0, /* field[0] = disable */ }; -static const ProtobufCIntRange rpc__req__eap_set_username__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_disable_time_check__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_username__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_disable_time_check__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetUsername", - "RpcReqEapSetUsername", - "RpcReqEapSetUsername", + "Rpc_Req_EapSetDisableTimeCheck", + "RpcReqEapSetDisableTimeCheck", + "RpcReqEapSetDisableTimeCheck", "", - sizeof(RpcReqEapSetUsername), - 2, - rpc__req__eap_set_username__field_descriptors, - rpc__req__eap_set_username__field_indices_by_name, - 1, rpc__req__eap_set_username__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_username__init, + sizeof(RpcReqEapSetDisableTimeCheck), + 1, + rpc__req__eap_set_disable_time_check__field_descriptors, + rpc__req__eap_set_disable_time_check__field_indices_by_name, + 1, rpc__req__eap_set_disable_time_check__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_disable_time_check__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_username__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_disable_time_check__field_descriptors[1] = { { "resp", @@ -23415,200 +24854,220 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_username__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetUsername, resp), + offsetof(RpcRespEapSetDisableTimeCheck, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_username__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_disable_time_check__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_username__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_disable_time_check__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_username__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_disable_time_check__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetUsername", - "RpcRespEapSetUsername", - "RpcRespEapSetUsername", + "Rpc_Resp_EapSetDisableTimeCheck", + "RpcRespEapSetDisableTimeCheck", + "RpcRespEapSetDisableTimeCheck", "", - sizeof(RpcRespEapSetUsername), + sizeof(RpcRespEapSetDisableTimeCheck), 1, - rpc__resp__eap_set_username__field_descriptors, - rpc__resp__eap_set_username__field_indices_by_name, - 1, rpc__resp__eap_set_username__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_username__init, + rpc__resp__eap_set_disable_time_check__field_descriptors, + rpc__resp__eap_set_disable_time_check__field_indices_by_name, + 1, rpc__resp__eap_set_disable_time_check__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_disable_time_check__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__eap_get_disable_time_check__field_descriptors NULL +#define rpc__req__eap_get_disable_time_check__field_indices_by_name NULL +#define rpc__req__eap_get_disable_time_check__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__eap_get_disable_time_check__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_EapGetDisableTimeCheck", + "RpcReqEapGetDisableTimeCheck", + "RpcReqEapGetDisableTimeCheck", + "", + sizeof(RpcReqEapGetDisableTimeCheck), + 0, + rpc__req__eap_get_disable_time_check__field_descriptors, + rpc__req__eap_get_disable_time_check__field_indices_by_name, + 0, rpc__req__eap_get_disable_time_check__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_get_disable_time_check__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__eap_clear_username__field_descriptors NULL -#define rpc__req__eap_clear_username__field_indices_by_name NULL -#define rpc__req__eap_clear_username__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_username__descriptor = +static const ProtobufCFieldDescriptor rpc__resp__eap_get_disable_time_check__field_descriptors[2] = +{ + { + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespEapGetDisableTimeCheck, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disable", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcRespEapGetDisableTimeCheck, disable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__resp__eap_get_disable_time_check__field_indices_by_name[] = { + 1, /* field[1] = disable */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__eap_get_disable_time_check__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__eap_get_disable_time_check__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearUsername", - "RpcReqEapClearUsername", - "RpcReqEapClearUsername", + "Rpc_Resp_EapGetDisableTimeCheck", + "RpcRespEapGetDisableTimeCheck", + "RpcRespEapGetDisableTimeCheck", "", - sizeof(RpcReqEapClearUsername), - 0, - rpc__req__eap_clear_username__field_descriptors, - rpc__req__eap_clear_username__field_indices_by_name, - 0, rpc__req__eap_clear_username__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_username__init, + sizeof(RpcRespEapGetDisableTimeCheck), + 2, + rpc__resp__eap_get_disable_time_check__field_descriptors, + rpc__resp__eap_get_disable_time_check__field_indices_by_name, + 1, rpc__resp__eap_get_disable_time_check__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_get_disable_time_check__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_username__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_ttls_phase2_method__field_descriptors[1] = { { - "resp", + "type", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearUsername, resp), + offsetof(RpcReqEapSetTtlsPhase2Method, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_username__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_ttls_phase2_method__field_indices_by_name[] = { + 0, /* field[0] = type */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_username__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_ttls_phase2_method__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_username__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_ttls_phase2_method__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearUsername", - "RpcRespEapClearUsername", - "RpcRespEapClearUsername", + "Rpc_Req_EapSetTtlsPhase2Method", + "RpcReqEapSetTtlsPhase2Method", + "RpcReqEapSetTtlsPhase2Method", "", - sizeof(RpcRespEapClearUsername), + sizeof(RpcReqEapSetTtlsPhase2Method), 1, - rpc__resp__eap_clear_username__field_descriptors, - rpc__resp__eap_clear_username__field_indices_by_name, - 1, rpc__resp__eap_clear_username__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_username__init, + rpc__req__eap_set_ttls_phase2_method__field_descriptors, + rpc__req__eap_set_ttls_phase2_method__field_indices_by_name, + 1, rpc__req__eap_set_ttls_phase2_method__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_ttls_phase2_method__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_password__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_ttls_phase2_method__field_descriptors[1] = { { - "password", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetPassword, password), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "len", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetPassword, len), + offsetof(RpcRespEapSetTtlsPhase2Method, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_password__field_indices_by_name[] = { - 1, /* field[1] = len */ - 0, /* field[0] = password */ +static const unsigned rpc__resp__eap_set_ttls_phase2_method__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_ttls_phase2_method__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_password__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_ttls_phase2_method__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetPassword", - "RpcReqEapSetPassword", - "RpcReqEapSetPassword", + "Rpc_Resp_EapSetTtlsPhase2Method", + "RpcRespEapSetTtlsPhase2Method", + "RpcRespEapSetTtlsPhase2Method", "", - sizeof(RpcReqEapSetPassword), - 2, - rpc__req__eap_set_password__field_descriptors, - rpc__req__eap_set_password__field_indices_by_name, - 1, rpc__req__eap_set_password__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_password__init, + sizeof(RpcRespEapSetTtlsPhase2Method), + 1, + rpc__resp__eap_set_ttls_phase2_method__field_descriptors, + rpc__resp__eap_set_ttls_phase2_method__field_indices_by_name, + 1, rpc__resp__eap_set_ttls_phase2_method__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_ttls_phase2_method__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_password__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_suiteb192bit_certification__field_descriptors[1] = { { - "resp", + "enable", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetPassword, resp), + offsetof(RpcReqEapSetSuiteb192bitCertification, enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_password__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_suiteb192bit_certification__field_indices_by_name[] = { + 0, /* field[0] = enable */ }; -static const ProtobufCIntRange rpc__resp__eap_set_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_suiteb192bit_certification__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_password__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_suiteb192bit_certification__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetPassword", - "RpcRespEapSetPassword", - "RpcRespEapSetPassword", + "Rpc_Req_EapSetSuiteb192bitCertification", + "RpcReqEapSetSuiteb192bitCertification", + "RpcReqEapSetSuiteb192bitCertification", "", - sizeof(RpcRespEapSetPassword), + sizeof(RpcReqEapSetSuiteb192bitCertification), 1, - rpc__resp__eap_set_password__field_descriptors, - rpc__resp__eap_set_password__field_indices_by_name, - 1, rpc__resp__eap_set_password__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_password__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__eap_clear_password__field_descriptors NULL -#define rpc__req__eap_clear_password__field_indices_by_name NULL -#define rpc__req__eap_clear_password__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_password__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearPassword", - "RpcReqEapClearPassword", - "RpcReqEapClearPassword", - "", - sizeof(RpcReqEapClearPassword), - 0, - rpc__req__eap_clear_password__field_descriptors, - rpc__req__eap_clear_password__field_indices_by_name, - 0, rpc__req__eap_clear_password__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_password__init, + rpc__req__eap_set_suiteb192bit_certification__field_descriptors, + rpc__req__eap_set_suiteb192bit_certification__field_indices_by_name, + 1, rpc__req__eap_set_suiteb192bit_certification__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_suiteb192bit_certification__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_password__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_suiteb192bit_certification__field_descriptors[1] = { { "resp", @@ -23616,88 +25075,88 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_clear_password__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearPassword, resp), + offsetof(RpcRespEapSetSuiteb192bitCertification, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_password__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_suiteb192bit_certification__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_suiteb192bit_certification__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_password__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_suiteb192bit_certification__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearPassword", - "RpcRespEapClearPassword", - "RpcRespEapClearPassword", + "Rpc_Resp_EapSetSuiteb192bitCertification", + "RpcRespEapSetSuiteb192bitCertification", + "RpcRespEapSetSuiteb192bitCertification", "", - sizeof(RpcRespEapClearPassword), + sizeof(RpcRespEapSetSuiteb192bitCertification), 1, - rpc__resp__eap_clear_password__field_descriptors, - rpc__resp__eap_clear_password__field_indices_by_name, - 1, rpc__resp__eap_clear_password__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_password__init, + rpc__resp__eap_set_suiteb192bit_certification__field_descriptors, + rpc__resp__eap_set_suiteb192bit_certification__field_indices_by_name, + 1, rpc__resp__eap_set_suiteb192bit_certification__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_suiteb192bit_certification__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_new_password__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_pac_file__field_descriptors[2] = { { - "new_password", + "pac_file", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetNewPassword, new_password), + offsetof(RpcReqEapSetPacFile, pac_file), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "len", + "pac_file_len", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetNewPassword, len), + offsetof(RpcReqEapSetPacFile, pac_file_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_new_password__field_indices_by_name[] = { - 1, /* field[1] = len */ - 0, /* field[0] = new_password */ +static const unsigned rpc__req__eap_set_pac_file__field_indices_by_name[] = { + 0, /* field[0] = pac_file */ + 1, /* field[1] = pac_file_len */ }; -static const ProtobufCIntRange rpc__req__eap_set_new_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_pac_file__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_new_password__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_pac_file__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetNewPassword", - "RpcReqEapSetNewPassword", - "RpcReqEapSetNewPassword", + "Rpc_Req_EapSetPacFile", + "RpcReqEapSetPacFile", + "RpcReqEapSetPacFile", "", - sizeof(RpcReqEapSetNewPassword), + sizeof(RpcReqEapSetPacFile), 2, - rpc__req__eap_set_new_password__field_descriptors, - rpc__req__eap_set_new_password__field_indices_by_name, - 1, rpc__req__eap_set_new_password__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_new_password__init, + rpc__req__eap_set_pac_file__field_descriptors, + rpc__req__eap_set_pac_file__field_indices_by_name, + 1, rpc__req__eap_set_pac_file__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_pac_file__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_new_password__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_pac_file__field_descriptors[1] = { { "resp", @@ -23705,200 +25164,151 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_new_password__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetNewPassword, resp), + offsetof(RpcRespEapSetPacFile, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_new_password__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_set_pac_file__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_new_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_pac_file__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_new_password__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_pac_file__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetNewPassword", - "RpcRespEapSetNewPassword", - "RpcRespEapSetNewPassword", + "Rpc_Resp_EapSetPacFile", + "RpcRespEapSetPacFile", + "RpcRespEapSetPacFile", "", - sizeof(RpcRespEapSetNewPassword), + sizeof(RpcRespEapSetPacFile), 1, - rpc__resp__eap_set_new_password__field_descriptors, - rpc__resp__eap_set_new_password__field_indices_by_name, - 1, rpc__resp__eap_set_new_password__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_new_password__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__eap_clear_new_password__field_descriptors NULL -#define rpc__req__eap_clear_new_password__field_indices_by_name NULL -#define rpc__req__eap_clear_new_password__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_new_password__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearNewPassword", - "RpcReqEapClearNewPassword", - "RpcReqEapClearNewPassword", - "", - sizeof(RpcReqEapClearNewPassword), - 0, - rpc__req__eap_clear_new_password__field_descriptors, - rpc__req__eap_clear_new_password__field_indices_by_name, - 0, rpc__req__eap_clear_new_password__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_new_password__init, + rpc__resp__eap_set_pac_file__field_descriptors, + rpc__resp__eap_set_pac_file__field_indices_by_name, + 1, rpc__resp__eap_set_pac_file__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_pac_file__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_new_password__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_fast_params__field_descriptors[1] = { { - "resp", + "eap_fast_config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearNewPassword, resp), - NULL, + offsetof(RpcReqEapSetFastParams, eap_fast_config), + &eap_fast_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_new_password__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_fast_params__field_indices_by_name[] = { + 0, /* field[0] = eap_fast_config */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_new_password__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_fast_params__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_new_password__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_fast_params__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearNewPassword", - "RpcRespEapClearNewPassword", - "RpcRespEapClearNewPassword", + "Rpc_Req_EapSetFastParams", + "RpcReqEapSetFastParams", + "RpcReqEapSetFastParams", "", - sizeof(RpcRespEapClearNewPassword), + sizeof(RpcReqEapSetFastParams), 1, - rpc__resp__eap_clear_new_password__field_descriptors, - rpc__resp__eap_clear_new_password__field_indices_by_name, - 1, rpc__resp__eap_clear_new_password__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_new_password__init, + rpc__req__eap_set_fast_params__field_descriptors, + rpc__req__eap_set_fast_params__field_indices_by_name, + 1, rpc__req__eap_set_fast_params__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_fast_params__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_ca_cert__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_fast_params__field_descriptors[1] = { { - "ca_cert", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCaCert, ca_cert), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ca_cert_len", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCaCert, ca_cert_len), + offsetof(RpcRespEapSetFastParams, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_ca_cert__field_indices_by_name[] = { - 0, /* field[0] = ca_cert */ - 1, /* field[1] = ca_cert_len */ +static const unsigned rpc__resp__eap_set_fast_params__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_ca_cert__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_fast_params__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_ca_cert__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_fast_params__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetCaCert", - "RpcReqEapSetCaCert", - "RpcReqEapSetCaCert", + "Rpc_Resp_EapSetFastParams", + "RpcRespEapSetFastParams", + "RpcRespEapSetFastParams", "", - sizeof(RpcReqEapSetCaCert), - 2, - rpc__req__eap_set_ca_cert__field_descriptors, - rpc__req__eap_set_ca_cert__field_indices_by_name, - 1, rpc__req__eap_set_ca_cert__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_ca_cert__init, + sizeof(RpcRespEapSetFastParams), + 1, + rpc__resp__eap_set_fast_params__field_descriptors, + rpc__resp__eap_set_fast_params__field_indices_by_name, + 1, rpc__resp__eap_set_fast_params__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_fast_params__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_ca_cert__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_use_default_cert_bundle__field_descriptors[1] = { { - "resp", + "use_default_bundle", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetCaCert, resp), + offsetof(RpcReqEapUseDefaultCertBundle, use_default_bundle), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_ca_cert__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_use_default_cert_bundle__field_indices_by_name[] = { + 0, /* field[0] = use_default_bundle */ }; -static const ProtobufCIntRange rpc__resp__eap_set_ca_cert__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_use_default_cert_bundle__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_ca_cert__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_use_default_cert_bundle__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetCaCert", - "RpcRespEapSetCaCert", - "RpcRespEapSetCaCert", + "Rpc_Req_EapUseDefaultCertBundle", + "RpcReqEapUseDefaultCertBundle", + "RpcReqEapUseDefaultCertBundle", "", - sizeof(RpcRespEapSetCaCert), + sizeof(RpcReqEapUseDefaultCertBundle), 1, - rpc__resp__eap_set_ca_cert__field_descriptors, - rpc__resp__eap_set_ca_cert__field_indices_by_name, - 1, rpc__resp__eap_set_ca_cert__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_ca_cert__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__eap_clear_ca_cert__field_descriptors NULL -#define rpc__req__eap_clear_ca_cert__field_indices_by_name NULL -#define rpc__req__eap_clear_ca_cert__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_ca_cert__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearCaCert", - "RpcReqEapClearCaCert", - "RpcReqEapClearCaCert", - "", - sizeof(RpcReqEapClearCaCert), - 0, - rpc__req__eap_clear_ca_cert__field_descriptors, - rpc__req__eap_clear_ca_cert__field_indices_by_name, - 0, rpc__req__eap_clear_ca_cert__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_ca_cert__init, + rpc__req__eap_use_default_cert_bundle__field_descriptors, + rpc__req__eap_use_default_cert_bundle__field_indices_by_name, + 1, rpc__req__eap_use_default_cert_bundle__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_use_default_cert_bundle__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_ca_cert__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_use_default_cert_bundle__field_descriptors[1] = { { "resp", @@ -23906,140 +25316,75 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_clear_ca_cert__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearCaCert, resp), + offsetof(RpcRespEapUseDefaultCertBundle, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_ca_cert__field_indices_by_name[] = { +static const unsigned rpc__resp__eap_use_default_cert_bundle__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_ca_cert__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_use_default_cert_bundle__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_ca_cert__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_use_default_cert_bundle__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearCaCert", - "RpcRespEapClearCaCert", - "RpcRespEapClearCaCert", + "Rpc_Resp_EapUseDefaultCertBundle", + "RpcRespEapUseDefaultCertBundle", + "RpcRespEapUseDefaultCertBundle", "", - sizeof(RpcRespEapClearCaCert), + sizeof(RpcRespEapUseDefaultCertBundle), 1, - rpc__resp__eap_clear_ca_cert__field_descriptors, - rpc__resp__eap_clear_ca_cert__field_indices_by_name, - 1, rpc__resp__eap_clear_ca_cert__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_ca_cert__init, + rpc__resp__eap_use_default_cert_bundle__field_descriptors, + rpc__resp__eap_use_default_cert_bundle__field_indices_by_name, + 1, rpc__resp__eap_use_default_cert_bundle__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_use_default_cert_bundle__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_certificate_and_key__field_descriptors[6] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_okc_support__field_descriptors[1] = { { - "client_cert", + "enable", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, client_cert), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "client_cert_len", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, client_cert_len), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "private_key", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, private_key), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "private_key_len", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, private_key_len), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "private_key_password", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, private_key_password), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "private_key_passwd_len", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetCertificateAndKey, private_key_passwd_len), + offsetof(RpcReqWifiSetOkcSupport, enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_certificate_and_key__field_indices_by_name[] = { - 0, /* field[0] = client_cert */ - 1, /* field[1] = client_cert_len */ - 2, /* field[2] = private_key */ - 3, /* field[3] = private_key_len */ - 5, /* field[5] = private_key_passwd_len */ - 4, /* field[4] = private_key_password */ +static const unsigned rpc__req__wifi_set_okc_support__field_indices_by_name[] = { + 0, /* field[0] = enable */ }; -static const ProtobufCIntRange rpc__req__eap_set_certificate_and_key__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_okc_support__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_certificate_and_key__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_okc_support__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetCertificateAndKey", - "RpcReqEapSetCertificateAndKey", - "RpcReqEapSetCertificateAndKey", - "", - sizeof(RpcReqEapSetCertificateAndKey), - 6, - rpc__req__eap_set_certificate_and_key__field_descriptors, - rpc__req__eap_set_certificate_and_key__field_indices_by_name, - 1, rpc__req__eap_set_certificate_and_key__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_certificate_and_key__init, + "Rpc_Req_WifiSetOkcSupport", + "RpcReqWifiSetOkcSupport", + "RpcReqWifiSetOkcSupport", + "", + sizeof(RpcReqWifiSetOkcSupport), + 1, + rpc__req__wifi_set_okc_support__field_descriptors, + rpc__req__wifi_set_okc_support__field_indices_by_name, + 1, rpc__req__wifi_set_okc_support__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_okc_support__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_certificate_and_key__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_okc_support__field_descriptors[1] = { { "resp", @@ -24047,187 +25392,151 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_certificate_and_key__fi PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetCertificateAndKey, resp), + offsetof(RpcRespWifiSetOkcSupport, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_certificate_and_key__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_okc_support__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_certificate_and_key__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_okc_support__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_certificate_and_key__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_okc_support__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetCertificateAndKey", - "RpcRespEapSetCertificateAndKey", - "RpcRespEapSetCertificateAndKey", + "Rpc_Resp_WifiSetOkcSupport", + "RpcRespWifiSetOkcSupport", + "RpcRespWifiSetOkcSupport", "", - sizeof(RpcRespEapSetCertificateAndKey), + sizeof(RpcRespWifiSetOkcSupport), 1, - rpc__resp__eap_set_certificate_and_key__field_descriptors, - rpc__resp__eap_set_certificate_and_key__field_indices_by_name, - 1, rpc__resp__eap_set_certificate_and_key__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_certificate_and_key__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__eap_clear_certificate_and_key__field_descriptors NULL -#define rpc__req__eap_clear_certificate_and_key__field_indices_by_name NULL -#define rpc__req__eap_clear_certificate_and_key__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_clear_certificate_and_key__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapClearCertificateAndKey", - "RpcReqEapClearCertificateAndKey", - "RpcReqEapClearCertificateAndKey", - "", - sizeof(RpcReqEapClearCertificateAndKey), - 0, - rpc__req__eap_clear_certificate_and_key__field_descriptors, - rpc__req__eap_clear_certificate_and_key__field_indices_by_name, - 0, rpc__req__eap_clear_certificate_and_key__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_clear_certificate_and_key__init, + rpc__resp__wifi_set_okc_support__field_descriptors, + rpc__resp__wifi_set_okc_support__field_indices_by_name, + 1, rpc__resp__wifi_set_okc_support__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_okc_support__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_clear_certificate_and_key__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_domain_name__field_descriptors[1] = { { - "resp", + "domain_name", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespEapClearCertificateAndKey, resp), + offsetof(RpcReqEapSetDomainName, domain_name), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_clear_certificate_and_key__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_domain_name__field_indices_by_name[] = { + 0, /* field[0] = domain_name */ }; -static const ProtobufCIntRange rpc__resp__eap_clear_certificate_and_key__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_domain_name__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_clear_certificate_and_key__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_domain_name__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapClearCertificateAndKey", - "RpcRespEapClearCertificateAndKey", - "RpcRespEapClearCertificateAndKey", + "Rpc_Req_EapSetDomainName", + "RpcReqEapSetDomainName", + "RpcReqEapSetDomainName", "", - sizeof(RpcRespEapClearCertificateAndKey), + sizeof(RpcReqEapSetDomainName), 1, - rpc__resp__eap_clear_certificate_and_key__field_descriptors, - rpc__resp__eap_clear_certificate_and_key__field_indices_by_name, - 1, rpc__resp__eap_clear_certificate_and_key__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_clear_certificate_and_key__init, + rpc__req__eap_set_domain_name__field_descriptors, + rpc__req__eap_set_domain_name__field_indices_by_name, + 1, rpc__req__eap_set_domain_name__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_domain_name__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_disable_time_check__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_domain_name__field_descriptors[1] = { { - "disable", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetDisableTimeCheck, disable), + offsetof(RpcRespEapSetDomainName, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_disable_time_check__field_indices_by_name[] = { - 0, /* field[0] = disable */ +static const unsigned rpc__resp__eap_set_domain_name__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_disable_time_check__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_domain_name__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_disable_time_check__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_domain_name__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetDisableTimeCheck", - "RpcReqEapSetDisableTimeCheck", - "RpcReqEapSetDisableTimeCheck", + "Rpc_Resp_EapSetDomainName", + "RpcRespEapSetDomainName", + "RpcRespEapSetDomainName", "", - sizeof(RpcReqEapSetDisableTimeCheck), + sizeof(RpcRespEapSetDomainName), 1, - rpc__req__eap_set_disable_time_check__field_descriptors, - rpc__req__eap_set_disable_time_check__field_indices_by_name, - 1, rpc__req__eap_set_disable_time_check__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_disable_time_check__init, + rpc__resp__eap_set_domain_name__field_descriptors, + rpc__resp__eap_set_domain_name__field_indices_by_name, + 1, rpc__resp__eap_set_domain_name__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_domain_name__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_disable_time_check__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__eap_set_eap_methods__field_descriptors[1] = { { - "resp", + "methods", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetDisableTimeCheck, resp), + offsetof(RpcReqEapSetEapMethods, methods), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_disable_time_check__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__eap_set_eap_methods__field_indices_by_name[] = { + 0, /* field[0] = methods */ }; -static const ProtobufCIntRange rpc__resp__eap_set_disable_time_check__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__eap_set_eap_methods__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_disable_time_check__descriptor = +const ProtobufCMessageDescriptor rpc__req__eap_set_eap_methods__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetDisableTimeCheck", - "RpcRespEapSetDisableTimeCheck", - "RpcRespEapSetDisableTimeCheck", + "Rpc_Req_EapSetEapMethods", + "RpcReqEapSetEapMethods", + "RpcReqEapSetEapMethods", "", - sizeof(RpcRespEapSetDisableTimeCheck), + sizeof(RpcReqEapSetEapMethods), 1, - rpc__resp__eap_set_disable_time_check__field_descriptors, - rpc__resp__eap_set_disable_time_check__field_indices_by_name, - 1, rpc__resp__eap_set_disable_time_check__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_disable_time_check__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__eap_get_disable_time_check__field_descriptors NULL -#define rpc__req__eap_get_disable_time_check__field_indices_by_name NULL -#define rpc__req__eap_get_disable_time_check__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__eap_get_disable_time_check__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapGetDisableTimeCheck", - "RpcReqEapGetDisableTimeCheck", - "RpcReqEapGetDisableTimeCheck", - "", - sizeof(RpcReqEapGetDisableTimeCheck), - 0, - rpc__req__eap_get_disable_time_check__field_descriptors, - rpc__req__eap_get_disable_time_check__field_indices_by_name, - 0, rpc__req__eap_get_disable_time_check__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_get_disable_time_check__init, + rpc__req__eap_set_eap_methods__field_descriptors, + rpc__req__eap_set_eap_methods__field_indices_by_name, + 1, rpc__req__eap_set_eap_methods__number_ranges, + (ProtobufCMessageInit) rpc__req__eap_set_eap_methods__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_get_disable_time_check__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__eap_set_eap_methods__field_descriptors[1] = { { "resp", @@ -24235,88 +25544,88 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_get_disable_time_check__fie PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapGetDisableTimeCheck, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "disable", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(RpcRespEapGetDisableTimeCheck, disable), + offsetof(RpcRespEapSetEapMethods, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_get_disable_time_check__field_indices_by_name[] = { - 1, /* field[1] = disable */ +static const unsigned rpc__resp__eap_set_eap_methods__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_get_disable_time_check__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__eap_set_eap_methods__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_get_disable_time_check__descriptor = +const ProtobufCMessageDescriptor rpc__resp__eap_set_eap_methods__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapGetDisableTimeCheck", - "RpcRespEapGetDisableTimeCheck", - "RpcRespEapGetDisableTimeCheck", + "Rpc_Resp_EapSetEapMethods", + "RpcRespEapSetEapMethods", + "RpcRespEapSetEapMethods", "", - sizeof(RpcRespEapGetDisableTimeCheck), - 2, - rpc__resp__eap_get_disable_time_check__field_descriptors, - rpc__resp__eap_get_disable_time_check__field_indices_by_name, - 1, rpc__resp__eap_get_disable_time_check__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_get_disable_time_check__init, + sizeof(RpcRespEapSetEapMethods), + 1, + rpc__resp__eap_set_eap_methods__field_descriptors, + rpc__resp__eap_set_eap_methods__field_indices_by_name, + 1, rpc__resp__eap_set_eap_methods__number_ranges, + (ProtobufCMessageInit) rpc__resp__eap_set_eap_methods__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_ttls_phase2_method__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__supp_dpp_uri_ready__field_descriptors[2] = { { - "type", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetTtlsPhase2Method, type), + offsetof(RpcEventSuppDppUriReady, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "qrcode", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcEventSuppDppUriReady, qrcode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_ttls_phase2_method__field_indices_by_name[] = { - 0, /* field[0] = type */ +static const unsigned rpc__event__supp_dpp_uri_ready__field_indices_by_name[] = { + 1, /* field[1] = qrcode */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_ttls_phase2_method__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__supp_dpp_uri_ready__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_ttls_phase2_method__descriptor = +const ProtobufCMessageDescriptor rpc__event__supp_dpp_uri_ready__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetTtlsPhase2Method", - "RpcReqEapSetTtlsPhase2Method", - "RpcReqEapSetTtlsPhase2Method", + "Rpc_Event_SuppDppUriReady", + "RpcEventSuppDppUriReady", + "RpcEventSuppDppUriReady", "", - sizeof(RpcReqEapSetTtlsPhase2Method), - 1, - rpc__req__eap_set_ttls_phase2_method__field_descriptors, - rpc__req__eap_set_ttls_phase2_method__field_indices_by_name, - 1, rpc__req__eap_set_ttls_phase2_method__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_ttls_phase2_method__init, + sizeof(RpcEventSuppDppUriReady), + 2, + rpc__event__supp_dpp_uri_ready__field_descriptors, + rpc__event__supp_dpp_uri_ready__field_indices_by_name, + 1, rpc__event__supp_dpp_uri_ready__number_ranges, + (ProtobufCMessageInit) rpc__event__supp_dpp_uri_ready__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_ttls_phase2_method__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__supp_dpp_cfg_recvd__field_descriptors[2] = { { "resp", @@ -24324,75 +25633,101 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_ttls_phase2_method__fie PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetTtlsPhase2Method, resp), + offsetof(RpcEventSuppDppCfgRecvd, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "cfg", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcEventSuppDppCfgRecvd, cfg), + &wifi_config__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; -static const unsigned rpc__resp__eap_set_ttls_phase2_method__field_indices_by_name[] = { +static const unsigned rpc__event__supp_dpp_cfg_recvd__field_indices_by_name[] = { + 1, /* field[1] = cfg */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_ttls_phase2_method__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__supp_dpp_cfg_recvd__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_ttls_phase2_method__descriptor = +const ProtobufCMessageDescriptor rpc__event__supp_dpp_cfg_recvd__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetTtlsPhase2Method", - "RpcRespEapSetTtlsPhase2Method", - "RpcRespEapSetTtlsPhase2Method", + "Rpc_Event_SuppDppCfgRecvd", + "RpcEventSuppDppCfgRecvd", + "RpcEventSuppDppCfgRecvd", "", - sizeof(RpcRespEapSetTtlsPhase2Method), - 1, - rpc__resp__eap_set_ttls_phase2_method__field_descriptors, - rpc__resp__eap_set_ttls_phase2_method__field_indices_by_name, - 1, rpc__resp__eap_set_ttls_phase2_method__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_ttls_phase2_method__init, + sizeof(RpcEventSuppDppCfgRecvd), + 2, + rpc__event__supp_dpp_cfg_recvd__field_descriptors, + rpc__event__supp_dpp_cfg_recvd__field_indices_by_name, + 1, rpc__event__supp_dpp_cfg_recvd__number_ranges, + (ProtobufCMessageInit) rpc__event__supp_dpp_cfg_recvd__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_suiteb192bit_certification__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__supp_dpp_fail__field_descriptors[2] = { { - "enable", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetSuiteb192bitCertification, enable), + offsetof(RpcEventSuppDppFail, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reason", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcEventSuppDppFail, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_suiteb192bit_certification__field_indices_by_name[] = { - 0, /* field[0] = enable */ +static const unsigned rpc__event__supp_dpp_fail__field_indices_by_name[] = { + 1, /* field[1] = reason */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_suiteb192bit_certification__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__supp_dpp_fail__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_suiteb192bit_certification__descriptor = +const ProtobufCMessageDescriptor rpc__event__supp_dpp_fail__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetSuiteb192bitCertification", - "RpcReqEapSetSuiteb192bitCertification", - "RpcReqEapSetSuiteb192bitCertification", + "Rpc_Event_SuppDppFail", + "RpcEventSuppDppFail", + "RpcEventSuppDppFail", "", - sizeof(RpcReqEapSetSuiteb192bitCertification), - 1, - rpc__req__eap_set_suiteb192bit_certification__field_descriptors, - rpc__req__eap_set_suiteb192bit_certification__field_indices_by_name, - 1, rpc__req__eap_set_suiteb192bit_certification__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_suiteb192bit_certification__init, + sizeof(RpcEventSuppDppFail), + 2, + rpc__event__supp_dpp_fail__field_descriptors, + rpc__event__supp_dpp_fail__field_indices_by_name, + 1, rpc__event__supp_dpp_fail__number_ranges, + (ProtobufCMessageInit) rpc__event__supp_dpp_fail__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_suiteb192bit_certification__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_uri_ready__field_descriptors[2] = { { "resp", @@ -24400,88 +25735,101 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_suiteb192bit_certificat PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetSuiteb192bitCertification, resp), + offsetof(RpcEventWifiDppUriReady, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "qrcode", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcEventWifiDppUriReady, qrcode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_suiteb192bit_certification__field_indices_by_name[] = { +static const unsigned rpc__event__wifi_dpp_uri_ready__field_indices_by_name[] = { + 1, /* field[1] = qrcode */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_suiteb192bit_certification__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__wifi_dpp_uri_ready__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_suiteb192bit_certification__descriptor = +const ProtobufCMessageDescriptor rpc__event__wifi_dpp_uri_ready__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetSuiteb192bitCertification", - "RpcRespEapSetSuiteb192bitCertification", - "RpcRespEapSetSuiteb192bitCertification", + "Rpc_Event_WifiDppUriReady", + "RpcEventWifiDppUriReady", + "RpcEventWifiDppUriReady", "", - sizeof(RpcRespEapSetSuiteb192bitCertification), - 1, - rpc__resp__eap_set_suiteb192bit_certification__field_descriptors, - rpc__resp__eap_set_suiteb192bit_certification__field_indices_by_name, - 1, rpc__resp__eap_set_suiteb192bit_certification__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_suiteb192bit_certification__init, + sizeof(RpcEventWifiDppUriReady), + 2, + rpc__event__wifi_dpp_uri_ready__field_descriptors, + rpc__event__wifi_dpp_uri_ready__field_indices_by_name, + 1, rpc__event__wifi_dpp_uri_ready__number_ranges, + (ProtobufCMessageInit) rpc__event__wifi_dpp_uri_ready__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_pac_file__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_cfg_recvd__field_descriptors[2] = { { - "pac_file", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetPacFile, pac_file), + offsetof(RpcEventWifiDppCfgRecvd, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "pac_file_len", + "cfg", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetPacFile, pac_file_len), - NULL, + offsetof(RpcEventWifiDppCfgRecvd, cfg), + &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_pac_file__field_indices_by_name[] = { - 0, /* field[0] = pac_file */ - 1, /* field[1] = pac_file_len */ +static const unsigned rpc__event__wifi_dpp_cfg_recvd__field_indices_by_name[] = { + 1, /* field[1] = cfg */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_pac_file__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__wifi_dpp_cfg_recvd__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_pac_file__descriptor = +const ProtobufCMessageDescriptor rpc__event__wifi_dpp_cfg_recvd__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetPacFile", - "RpcReqEapSetPacFile", - "RpcReqEapSetPacFile", + "Rpc_Event_WifiDppCfgRecvd", + "RpcEventWifiDppCfgRecvd", + "RpcEventWifiDppCfgRecvd", "", - sizeof(RpcReqEapSetPacFile), + sizeof(RpcEventWifiDppCfgRecvd), 2, - rpc__req__eap_set_pac_file__field_descriptors, - rpc__req__eap_set_pac_file__field_indices_by_name, - 1, rpc__req__eap_set_pac_file__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_pac_file__init, + rpc__event__wifi_dpp_cfg_recvd__field_descriptors, + rpc__event__wifi_dpp_cfg_recvd__field_indices_by_name, + 1, rpc__event__wifi_dpp_cfg_recvd__number_ranges, + (ProtobufCMessageInit) rpc__event__wifi_dpp_cfg_recvd__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_pac_file__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_fail__field_descriptors[2] = { { "resp", @@ -24489,151 +25837,178 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_set_pac_file__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetPacFile, resp), + offsetof(RpcEventWifiDppFail, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reason", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcEventWifiDppFail, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_pac_file__field_indices_by_name[] = { +static const unsigned rpc__event__wifi_dpp_fail__field_indices_by_name[] = { + 1, /* field[1] = reason */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_set_pac_file__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__wifi_dpp_fail__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_pac_file__descriptor = +const ProtobufCMessageDescriptor rpc__event__wifi_dpp_fail__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetPacFile", - "RpcRespEapSetPacFile", - "RpcRespEapSetPacFile", + "Rpc_Event_WifiDppFail", + "RpcEventWifiDppFail", + "RpcEventWifiDppFail", "", - sizeof(RpcRespEapSetPacFile), - 1, - rpc__resp__eap_set_pac_file__field_descriptors, - rpc__resp__eap_set_pac_file__field_indices_by_name, - 1, rpc__resp__eap_set_pac_file__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_pac_file__init, + sizeof(RpcEventWifiDppFail), + 2, + rpc__event__wifi_dpp_fail__field_descriptors, + rpc__event__wifi_dpp_fail__field_indices_by_name, + 1, rpc__event__wifi_dpp_fail__number_ranges, + (ProtobufCMessageInit) rpc__event__wifi_dpp_fail__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_fast_params__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__gpio_config__field_descriptors[5] = { { - "eap_fast_config", + "pin_bit_mask", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetFastParams, eap_fast_config), - &eap_fast_config__descriptor, + offsetof(RpcGpioConfig, pin_bit_mask), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mode", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_ENUM, + 0, /* quantifier_offset */ + offsetof(RpcGpioConfig, mode), + &rpc__gpio_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__eap_set_fast_params__field_indices_by_name[] = { - 0, /* field[0] = eap_fast_config */ -}; -static const ProtobufCIntRange rpc__req__eap_set_fast_params__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__eap_set_fast_params__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetFastParams", - "RpcReqEapSetFastParams", - "RpcReqEapSetFastParams", - "", - sizeof(RpcReqEapSetFastParams), - 1, - rpc__req__eap_set_fast_params__field_descriptors, - rpc__req__eap_set_fast_params__field_indices_by_name, - 1, rpc__req__eap_set_fast_params__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_fast_params__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_fast_params__field_descriptors[1] = -{ { - "resp", - 1, + "pull_up_en", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcGpioConfig, pull_up_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pull_down_en", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcGpioConfig, pull_down_en), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "intr_type", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetFastParams, resp), + offsetof(RpcGpioConfig, intr_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_fast_params__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__gpio_config__field_indices_by_name[] = { + 4, /* field[4] = intr_type */ + 1, /* field[1] = mode */ + 0, /* field[0] = pin_bit_mask */ + 3, /* field[3] = pull_down_en */ + 2, /* field[2] = pull_up_en */ }; -static const ProtobufCIntRange rpc__resp__eap_set_fast_params__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__gpio_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 5 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_fast_params__descriptor = +const ProtobufCMessageDescriptor rpc__gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetFastParams", - "RpcRespEapSetFastParams", - "RpcRespEapSetFastParams", + "Rpc_GpioConfig", + "RpcGpioConfig", + "RpcGpioConfig", "", - sizeof(RpcRespEapSetFastParams), - 1, - rpc__resp__eap_set_fast_params__field_descriptors, - rpc__resp__eap_set_fast_params__field_indices_by_name, - 1, rpc__resp__eap_set_fast_params__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_fast_params__init, + sizeof(RpcGpioConfig), + 5, + rpc__gpio_config__field_descriptors, + rpc__gpio_config__field_indices_by_name, + 1, rpc__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_use_default_cert_bundle__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__gpio_config__field_descriptors[1] = { { - "use_default_bundle", + "config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqEapUseDefaultCertBundle, use_default_bundle), - NULL, + offsetof(RpcReqGpioConfig, config), + &rpc__gpio_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_use_default_cert_bundle__field_indices_by_name[] = { - 0, /* field[0] = use_default_bundle */ +static const unsigned rpc__req__gpio_config__field_indices_by_name[] = { + 0, /* field[0] = config */ }; -static const ProtobufCIntRange rpc__req__eap_use_default_cert_bundle__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_use_default_cert_bundle__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapUseDefaultCertBundle", - "RpcReqEapUseDefaultCertBundle", - "RpcReqEapUseDefaultCertBundle", + "Rpc_Req_GpioConfig", + "RpcReqGpioConfig", + "RpcReqGpioConfig", "", - sizeof(RpcReqEapUseDefaultCertBundle), + sizeof(RpcReqGpioConfig), 1, - rpc__req__eap_use_default_cert_bundle__field_descriptors, - rpc__req__eap_use_default_cert_bundle__field_indices_by_name, - 1, rpc__req__eap_use_default_cert_bundle__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_use_default_cert_bundle__init, + rpc__req__gpio_config__field_descriptors, + rpc__req__gpio_config__field_indices_by_name, + 1, rpc__req__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_use_default_cert_bundle__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_config__field_descriptors[1] = { { "resp", @@ -24641,75 +26016,75 @@ static const ProtobufCFieldDescriptor rpc__resp__eap_use_default_cert_bundle__fi PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapUseDefaultCertBundle, resp), + offsetof(RpcRespGpioConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_use_default_cert_bundle__field_indices_by_name[] = { +static const unsigned rpc__resp__gpio_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__eap_use_default_cert_bundle__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_use_default_cert_bundle__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapUseDefaultCertBundle", - "RpcRespEapUseDefaultCertBundle", - "RpcRespEapUseDefaultCertBundle", + "Rpc_Resp_GpioConfig", + "RpcRespGpioConfig", + "RpcRespGpioConfig", "", - sizeof(RpcRespEapUseDefaultCertBundle), + sizeof(RpcRespGpioConfig), 1, - rpc__resp__eap_use_default_cert_bundle__field_descriptors, - rpc__resp__eap_use_default_cert_bundle__field_indices_by_name, - 1, rpc__resp__eap_use_default_cert_bundle__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_use_default_cert_bundle__init, + rpc__resp__gpio_config__field_descriptors, + rpc__resp__gpio_config__field_indices_by_name, + 1, rpc__resp__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_okc_support__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__gpio_reset__field_descriptors[1] = { { - "enable", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetOkcSupport, enable), + offsetof(RpcReqGpioReset, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_okc_support__field_indices_by_name[] = { - 0, /* field[0] = enable */ +static const unsigned rpc__req__gpio_reset__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ }; -static const ProtobufCIntRange rpc__req__wifi_set_okc_support__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_reset__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_okc_support__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_reset__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetOkcSupport", - "RpcReqWifiSetOkcSupport", - "RpcReqWifiSetOkcSupport", + "Rpc_Req_GpioReset", + "RpcReqGpioReset", + "RpcReqGpioReset", "", - sizeof(RpcReqWifiSetOkcSupport), + sizeof(RpcReqGpioReset), 1, - rpc__req__wifi_set_okc_support__field_descriptors, - rpc__req__wifi_set_okc_support__field_indices_by_name, - 1, rpc__req__wifi_set_okc_support__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_okc_support__init, + rpc__req__gpio_reset__field_descriptors, + rpc__req__gpio_reset__field_indices_by_name, + 1, rpc__req__gpio_reset__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_reset__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_okc_support__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_reset_pin__field_descriptors[1] = { { "resp", @@ -24717,189 +26092,164 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_okc_support__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetOkcSupport, resp), + offsetof(RpcRespGpioResetPin, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_okc_support__field_indices_by_name[] = { +static const unsigned rpc__resp__gpio_reset_pin__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_okc_support__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_reset_pin__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_okc_support__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_reset_pin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetOkcSupport", - "RpcRespWifiSetOkcSupport", - "RpcRespWifiSetOkcSupport", + "Rpc_Resp_GpioResetPin", + "RpcRespGpioResetPin", + "RpcRespGpioResetPin", "", - sizeof(RpcRespWifiSetOkcSupport), + sizeof(RpcRespGpioResetPin), 1, - rpc__resp__wifi_set_okc_support__field_descriptors, - rpc__resp__wifi_set_okc_support__field_indices_by_name, - 1, rpc__resp__wifi_set_okc_support__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_okc_support__init, + rpc__resp__gpio_reset_pin__field_descriptors, + rpc__resp__gpio_reset_pin__field_indices_by_name, + 1, rpc__resp__gpio_reset_pin__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_reset_pin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_domain_name__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_level__field_descriptors[2] = { { - "domain_name", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetDomainName, domain_name), + offsetof(RpcReqGpioSetLevel, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__eap_set_domain_name__field_indices_by_name[] = { - 0, /* field[0] = domain_name */ -}; -static const ProtobufCIntRange rpc__req__eap_set_domain_name__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__eap_set_domain_name__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetDomainName", - "RpcReqEapSetDomainName", - "RpcReqEapSetDomainName", - "", - sizeof(RpcReqEapSetDomainName), - 1, - rpc__req__eap_set_domain_name__field_descriptors, - rpc__req__eap_set_domain_name__field_indices_by_name, - 1, rpc__req__eap_set_domain_name__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_domain_name__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_domain_name__field_descriptors[1] = -{ { - "resp", - 1, + "level", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetDomainName, resp), + offsetof(RpcReqGpioSetLevel, level), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_domain_name__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__gpio_set_level__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = level */ }; -static const ProtobufCIntRange rpc__resp__eap_set_domain_name__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_set_level__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_domain_name__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_set_level__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetDomainName", - "RpcRespEapSetDomainName", - "RpcRespEapSetDomainName", + "Rpc_Req_GpioSetLevel", + "RpcReqGpioSetLevel", + "RpcReqGpioSetLevel", "", - sizeof(RpcRespEapSetDomainName), - 1, - rpc__resp__eap_set_domain_name__field_descriptors, - rpc__resp__eap_set_domain_name__field_indices_by_name, - 1, rpc__resp__eap_set_domain_name__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_domain_name__init, + sizeof(RpcReqGpioSetLevel), + 2, + rpc__req__gpio_set_level__field_descriptors, + rpc__req__gpio_set_level__field_indices_by_name, + 1, rpc__req__gpio_set_level__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_level__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__eap_set_eap_methods__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_level__field_descriptors[1] = { { - "methods", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqEapSetEapMethods, methods), + offsetof(RpcRespGpioSetLevel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__eap_set_eap_methods__field_indices_by_name[] = { - 0, /* field[0] = methods */ +static const unsigned rpc__resp__gpio_set_level__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__eap_set_eap_methods__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_set_level__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__eap_set_eap_methods__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_set_level__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_EapSetEapMethods", - "RpcReqEapSetEapMethods", - "RpcReqEapSetEapMethods", + "Rpc_Resp_GpioSetLevel", + "RpcRespGpioSetLevel", + "RpcRespGpioSetLevel", "", - sizeof(RpcReqEapSetEapMethods), + sizeof(RpcRespGpioSetLevel), 1, - rpc__req__eap_set_eap_methods__field_descriptors, - rpc__req__eap_set_eap_methods__field_indices_by_name, - 1, rpc__req__eap_set_eap_methods__number_ranges, - (ProtobufCMessageInit) rpc__req__eap_set_eap_methods__init, + rpc__resp__gpio_set_level__field_descriptors, + rpc__resp__gpio_set_level__field_indices_by_name, + 1, rpc__resp__gpio_set_level__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_level__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__eap_set_eap_methods__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__gpio_get_level__field_descriptors[1] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespEapSetEapMethods, resp), + offsetof(RpcReqGpioGetLevel, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__eap_set_eap_methods__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__gpio_get_level__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ }; -static const ProtobufCIntRange rpc__resp__eap_set_eap_methods__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_get_level__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__eap_set_eap_methods__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_get_level__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_EapSetEapMethods", - "RpcRespEapSetEapMethods", - "RpcRespEapSetEapMethods", + "Rpc_Req_GpioGetLevel", + "RpcReqGpioGetLevel", + "RpcReqGpioGetLevel", "", - sizeof(RpcRespEapSetEapMethods), + sizeof(RpcReqGpioGetLevel), 1, - rpc__resp__eap_set_eap_methods__field_descriptors, - rpc__resp__eap_set_eap_methods__field_indices_by_name, - 1, rpc__resp__eap_set_eap_methods__number_ranges, - (ProtobufCMessageInit) rpc__resp__eap_set_eap_methods__init, + rpc__req__gpio_get_level__field_descriptors, + rpc__req__gpio_get_level__field_indices_by_name, + 1, rpc__req__gpio_get_level__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_get_level__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__supp_dpp_uri_ready__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_get_level__field_descriptors[2] = { { "resp", @@ -24907,254 +26257,266 @@ static const ProtobufCFieldDescriptor rpc__event__supp_dpp_uri_ready__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppUriReady, resp), + offsetof(RpcRespGpioGetLevel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "qrcode", + "level", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppUriReady, qrcode), + offsetof(RpcRespGpioGetLevel, level), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__supp_dpp_uri_ready__field_indices_by_name[] = { - 1, /* field[1] = qrcode */ +static const unsigned rpc__resp__gpio_get_level__field_indices_by_name[] = { + 1, /* field[1] = level */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__supp_dpp_uri_ready__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_get_level__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__supp_dpp_uri_ready__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_get_level__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_SuppDppUriReady", - "RpcEventSuppDppUriReady", - "RpcEventSuppDppUriReady", + "Rpc_Resp_GpioGetLevel", + "RpcRespGpioGetLevel", + "RpcRespGpioGetLevel", "", - sizeof(RpcEventSuppDppUriReady), + sizeof(RpcRespGpioGetLevel), 2, - rpc__event__supp_dpp_uri_ready__field_descriptors, - rpc__event__supp_dpp_uri_ready__field_indices_by_name, - 1, rpc__event__supp_dpp_uri_ready__number_ranges, - (ProtobufCMessageInit) rpc__event__supp_dpp_uri_ready__init, + rpc__resp__gpio_get_level__field_descriptors, + rpc__resp__gpio_get_level__field_indices_by_name, + 1, rpc__resp__gpio_get_level__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_get_level__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__supp_dpp_cfg_recvd__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_direction__field_descriptors[2] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppCfgRecvd, resp), + offsetof(RpcReqGpioSetDirection, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "cfg", + "mode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppCfgRecvd, cfg), - &wifi_config__descriptor, + offsetof(RpcReqGpioSetDirection, mode), + &rpc__gpio_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__supp_dpp_cfg_recvd__field_indices_by_name[] = { - 1, /* field[1] = cfg */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__gpio_set_direction__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = mode */ }; -static const ProtobufCIntRange rpc__event__supp_dpp_cfg_recvd__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_set_direction__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__supp_dpp_cfg_recvd__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_set_direction__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_SuppDppCfgRecvd", - "RpcEventSuppDppCfgRecvd", - "RpcEventSuppDppCfgRecvd", + "Rpc_Req_GpioSetDirection", + "RpcReqGpioSetDirection", + "RpcReqGpioSetDirection", "", - sizeof(RpcEventSuppDppCfgRecvd), - 2, - rpc__event__supp_dpp_cfg_recvd__field_descriptors, - rpc__event__supp_dpp_cfg_recvd__field_indices_by_name, - 1, rpc__event__supp_dpp_cfg_recvd__number_ranges, - (ProtobufCMessageInit) rpc__event__supp_dpp_cfg_recvd__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__event__supp_dpp_fail__field_descriptors[2] = -{ - { - "resp", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppFail, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, + sizeof(RpcReqGpioSetDirection), + 2, + rpc__req__gpio_set_direction__field_descriptors, + rpc__req__gpio_set_direction__field_indices_by_name, + 1, rpc__req__gpio_set_direction__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_direction__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_direction__field_descriptors[1] = +{ { - "reason", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventSuppDppFail, reason), + offsetof(RpcRespGpioSetDirection, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__supp_dpp_fail__field_indices_by_name[] = { - 1, /* field[1] = reason */ +static const unsigned rpc__resp__gpio_set_direction__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__supp_dpp_fail__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_set_direction__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__supp_dpp_fail__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_set_direction__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_SuppDppFail", - "RpcEventSuppDppFail", - "RpcEventSuppDppFail", + "Rpc_Resp_GpioSetDirection", + "RpcRespGpioSetDirection", + "RpcRespGpioSetDirection", "", - sizeof(RpcEventSuppDppFail), - 2, - rpc__event__supp_dpp_fail__field_descriptors, - rpc__event__supp_dpp_fail__field_indices_by_name, - 1, rpc__event__supp_dpp_fail__number_ranges, - (ProtobufCMessageInit) rpc__event__supp_dpp_fail__init, + sizeof(RpcRespGpioSetDirection), + 1, + rpc__resp__gpio_set_direction__field_descriptors, + rpc__resp__gpio_set_direction__field_indices_by_name, + 1, rpc__resp__gpio_set_direction__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_direction__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_uri_ready__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__gpio_input_enable__field_descriptors[1] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppUriReady, resp), + offsetof(RpcReqGpioInputEnable, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__gpio_input_enable__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ +}; +static const ProtobufCIntRange rpc__req__gpio_input_enable__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__gpio_input_enable__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GpioInputEnable", + "RpcReqGpioInputEnable", + "RpcReqGpioInputEnable", + "", + sizeof(RpcReqGpioInputEnable), + 1, + rpc__req__gpio_input_enable__field_descriptors, + rpc__req__gpio_input_enable__field_indices_by_name, + 1, rpc__req__gpio_input_enable__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_input_enable__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_input_enable__field_descriptors[1] = +{ { - "qrcode", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppUriReady, qrcode), + offsetof(RpcRespGpioInputEnable, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__wifi_dpp_uri_ready__field_indices_by_name[] = { - 1, /* field[1] = qrcode */ +static const unsigned rpc__resp__gpio_input_enable__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__wifi_dpp_uri_ready__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_input_enable__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__wifi_dpp_uri_ready__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_input_enable__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_WifiDppUriReady", - "RpcEventWifiDppUriReady", - "RpcEventWifiDppUriReady", + "Rpc_Resp_GpioInputEnable", + "RpcRespGpioInputEnable", + "RpcRespGpioInputEnable", "", - sizeof(RpcEventWifiDppUriReady), - 2, - rpc__event__wifi_dpp_uri_ready__field_descriptors, - rpc__event__wifi_dpp_uri_ready__field_indices_by_name, - 1, rpc__event__wifi_dpp_uri_ready__number_ranges, - (ProtobufCMessageInit) rpc__event__wifi_dpp_uri_ready__init, + sizeof(RpcRespGpioInputEnable), + 1, + rpc__resp__gpio_input_enable__field_descriptors, + rpc__resp__gpio_input_enable__field_indices_by_name, + 1, rpc__resp__gpio_input_enable__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_input_enable__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_cfg_recvd__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_pull_mode__field_descriptors[2] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppCfgRecvd, resp), + offsetof(RpcReqGpioSetPullMode, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "cfg", + "pull", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppCfgRecvd, cfg), - &wifi_config__descriptor, + offsetof(RpcReqGpioSetPullMode, pull), + &rpc__gpio_pull_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__wifi_dpp_cfg_recvd__field_indices_by_name[] = { - 1, /* field[1] = cfg */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__gpio_set_pull_mode__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = pull */ }; -static const ProtobufCIntRange rpc__event__wifi_dpp_cfg_recvd__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_set_pull_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__wifi_dpp_cfg_recvd__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_set_pull_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_WifiDppCfgRecvd", - "RpcEventWifiDppCfgRecvd", - "RpcEventWifiDppCfgRecvd", + "Rpc_Req_GpioSetPullMode", + "RpcReqGpioSetPullMode", + "RpcReqGpioSetPullMode", "", - sizeof(RpcEventWifiDppCfgRecvd), + sizeof(RpcReqGpioSetPullMode), 2, - rpc__event__wifi_dpp_cfg_recvd__field_descriptors, - rpc__event__wifi_dpp_cfg_recvd__field_indices_by_name, - 1, rpc__event__wifi_dpp_cfg_recvd__number_ranges, - (ProtobufCMessageInit) rpc__event__wifi_dpp_cfg_recvd__init, + rpc__req__gpio_set_pull_mode__field_descriptors, + rpc__req__gpio_set_pull_mode__field_indices_by_name, + 1, rpc__req__gpio_set_pull_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_pull_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_fail__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_pull_mode__field_descriptors[1] = { { "resp", @@ -25162,50 +26524,37 @@ static const ProtobufCFieldDescriptor rpc__event__wifi_dpp_fail__field_descripto PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppFail, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reason", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcEventWifiDppFail, reason), + offsetof(RpcRespGpioSetPullMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__wifi_dpp_fail__field_indices_by_name[] = { - 1, /* field[1] = reason */ +static const unsigned rpc__resp__gpio_set_pull_mode__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__wifi_dpp_fail__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_set_pull_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__wifi_dpp_fail__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_set_pull_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_WifiDppFail", - "RpcEventWifiDppFail", - "RpcEventWifiDppFail", + "Rpc_Resp_GpioSetPullMode", + "RpcRespGpioSetPullMode", + "RpcRespGpioSetPullMode", "", - sizeof(RpcEventWifiDppFail), - 2, - rpc__event__wifi_dpp_fail__field_descriptors, - rpc__event__wifi_dpp_fail__field_indices_by_name, - 1, rpc__event__wifi_dpp_fail__number_ranges, - (ProtobufCMessageInit) rpc__event__wifi_dpp_fail__init, + sizeof(RpcRespGpioSetPullMode), + 1, + rpc__resp__gpio_set_pull_mode__field_descriptors, + rpc__resp__gpio_set_pull_mode__field_indices_by_name, + 1, rpc__resp__gpio_set_pull_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_pull_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__field_descriptors[220] = +static const ProtobufCFieldDescriptor rpc__field_descriptors[234] = { { "msg_type", @@ -26431,6 +27780,90 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[220] = 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "req_gpio_config", + 388, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_config), + &rpc__req__gpio_config__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_reset", + 389, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_reset), + &rpc__req__gpio_reset__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_level", + 390, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_level), + &rpc__req__gpio_set_level__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_get_level", + 391, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_get_level), + &rpc__req__gpio_get_level__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_direction", + 392, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_direction), + &rpc__req__gpio_set_direction__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_input_enable", + 393, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_input_enable), + &rpc__req__gpio_input_enable__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_pull_mode", + 394, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_pull_mode), + &rpc__req__gpio_set_pull_mode__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, { "resp_get_mac_address", 513, @@ -27619,6 +29052,90 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[220] = 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "resp_gpio_config", + 644, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_config), + &rpc__resp__gpio_config__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_reset", + 645, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_reset), + &rpc__resp__gpio_reset_pin__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_level", + 646, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_level), + &rpc__resp__gpio_set_level__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_get_level", + 647, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_get_level), + &rpc__resp__gpio_get_level__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_direction", + 648, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_direction), + &rpc__resp__gpio_set_direction__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_input_enable", + 649, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_input_enable), + &rpc__resp__gpio_input_enable__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_pull_mode", + 650, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_pull_mode), + &rpc__resp__gpio_set_pull_mode__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, { "event_esp_init", 769, @@ -27849,25 +29366,25 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[220] = }, }; static const unsigned rpc__field_indices_by_name[] = { - 203, /* field[203] = event_ap_sta_connected */ - 204, /* field[204] = event_ap_sta_disconnected */ - 209, /* field[209] = event_dhcp_dns */ - 201, /* field[201] = event_esp_init */ - 202, /* field[202] = event_heartbeat */ - 207, /* field[207] = event_sta_connected */ - 208, /* field[208] = event_sta_disconnected */ - 213, /* field[213] = event_sta_itwt_probe */ - 210, /* field[210] = event_sta_itwt_setup */ - 212, /* field[212] = event_sta_itwt_suspend */ - 211, /* field[211] = event_sta_itwt_teardown */ - 206, /* field[206] = event_sta_scan_done */ - 215, /* field[215] = event_supp_dpp_cfg_recvd */ - 216, /* field[216] = event_supp_dpp_fail */ - 214, /* field[214] = event_supp_dpp_uri_ready */ - 218, /* field[218] = event_wifi_dpp_cfg_recvd */ - 219, /* field[219] = event_wifi_dpp_fail */ - 217, /* field[217] = event_wifi_dpp_uri_ready */ - 205, /* field[205] = event_wifi_event_no_args */ + 217, /* field[217] = event_ap_sta_connected */ + 218, /* field[218] = event_ap_sta_disconnected */ + 223, /* field[223] = event_dhcp_dns */ + 215, /* field[215] = event_esp_init */ + 216, /* field[216] = event_heartbeat */ + 221, /* field[221] = event_sta_connected */ + 222, /* field[222] = event_sta_disconnected */ + 227, /* field[227] = event_sta_itwt_probe */ + 224, /* field[224] = event_sta_itwt_setup */ + 226, /* field[226] = event_sta_itwt_suspend */ + 225, /* field[225] = event_sta_itwt_teardown */ + 220, /* field[220] = event_sta_scan_done */ + 229, /* field[229] = event_supp_dpp_cfg_recvd */ + 230, /* field[230] = event_supp_dpp_fail */ + 228, /* field[228] = event_supp_dpp_uri_ready */ + 232, /* field[232] = event_wifi_dpp_cfg_recvd */ + 233, /* field[233] = event_wifi_dpp_fail */ + 231, /* field[231] = event_wifi_dpp_uri_ready */ + 219, /* field[219] = event_wifi_event_no_args */ 1, /* field[1] = msg_id */ 0, /* field[0] = msg_type */ 20, /* field[20] = req_config_heartbeat */ @@ -27898,6 +29415,13 @@ static const unsigned rpc__field_indices_by_name[] = { 3, /* field[3] = req_get_mac_address */ 19, /* field[19] = req_get_wifi_max_tx_power */ 5, /* field[5] = req_get_wifi_mode */ + 102, /* field[102] = req_gpio_config */ + 105, /* field[105] = req_gpio_get_level */ + 107, /* field[107] = req_gpio_input_enable */ + 103, /* field[103] = req_gpio_reset */ + 106, /* field[106] = req_gpio_set_direction */ + 104, /* field[104] = req_gpio_set_level */ + 108, /* field[108] = req_gpio_set_pull_mode */ 100, /* field[100] = req_iface_mac_addr_len_get */ 99, /* field[99] = req_iface_mac_addr_set_get */ 12, /* field[12] = req_ota_activate */ @@ -27969,105 +29493,112 @@ static const unsigned rpc__field_indices_by_name[] = { 68, /* field[68] = req_wifi_sta_twt_config */ 23, /* field[23] = req_wifi_start */ 24, /* field[24] = req_wifi_stop */ - 119, /* field[119] = resp_config_heartbeat */ - 185, /* field[185] = resp_eap_clear_ca_cert */ - 187, /* field[187] = resp_eap_clear_certificate_and_key */ - 177, /* field[177] = resp_eap_clear_identity */ - 183, /* field[183] = resp_eap_clear_new_password */ - 181, /* field[181] = resp_eap_clear_password */ - 179, /* field[179] = resp_eap_clear_username */ - 188, /* field[188] = resp_eap_get_disable_time_check */ - 184, /* field[184] = resp_eap_set_ca_cert */ - 186, /* field[186] = resp_eap_set_certificate_and_key */ - 196, /* field[196] = resp_eap_set_disable_time_check */ - 195, /* field[195] = resp_eap_set_domain_name */ - 197, /* field[197] = resp_eap_set_eap_methods */ - 192, /* field[192] = resp_eap_set_fast_params */ - 176, /* field[176] = resp_eap_set_identity */ - 182, /* field[182] = resp_eap_set_new_password */ - 191, /* field[191] = resp_eap_set_pac_file */ - 180, /* field[180] = resp_eap_set_password */ - 190, /* field[190] = resp_eap_set_suiteb_certification */ - 189, /* field[189] = resp_eap_set_ttls_phase2_method */ - 178, /* field[178] = resp_eap_set_username */ - 193, /* field[193] = resp_eap_use_default_cert_bundle */ - 200, /* field[200] = resp_feature_control */ - 163, /* field[163] = resp_get_coprocessor_fwversion */ - 166, /* field[166] = resp_get_dhcp_dns */ - 102, /* field[102] = resp_get_mac_address */ - 118, /* field[118] = resp_get_wifi_max_tx_power */ - 104, /* field[104] = resp_get_wifi_mode */ - 199, /* field[199] = resp_iface_mac_addr_len_get */ - 198, /* field[198] = resp_iface_mac_addr_set_get */ - 111, /* field[111] = resp_ota_activate */ - 114, /* field[114] = resp_ota_begin */ - 116, /* field[116] = resp_ota_end */ - 115, /* field[115] = resp_ota_write */ - 165, /* field[165] = resp_set_dhcp_dns */ - 103, /* field[103] = resp_set_mac_address */ - 117, /* field[117] = resp_set_wifi_max_tx_power */ - 105, /* field[105] = resp_set_wifi_mode */ - 108, /* field[108] = resp_supp_dpp_bootstrap_gen */ - 107, /* field[107] = resp_supp_dpp_deinit */ - 106, /* field[106] = resp_supp_dpp_init */ - 109, /* field[109] = resp_supp_dpp_start_listen */ - 110, /* field[110] = resp_supp_dpp_stop_listen */ - 146, /* field[146] = resp_wifi_ap_get_sta_aid */ - 145, /* field[145] = resp_wifi_ap_get_sta_list */ - 132, /* field[132] = resp_wifi_clear_ap_list */ - 134, /* field[134] = resp_wifi_clear_fast_connect */ - 124, /* field[124] = resp_wifi_connect */ - 135, /* field[135] = resp_wifi_deauth_sta */ - 121, /* field[121] = resp_wifi_deinit */ - 125, /* field[125] = resp_wifi_disconnect */ - 160, /* field[160] = resp_wifi_get_band */ - 162, /* field[162] = resp_wifi_get_bandmode */ - 140, /* field[140] = resp_wifi_get_bandwidth */ - 158, /* field[158] = resp_wifi_get_bandwidths */ - 142, /* field[142] = resp_wifi_get_channel */ - 127, /* field[127] = resp_wifi_get_config */ - 144, /* field[144] = resp_wifi_get_country */ - 151, /* field[151] = resp_wifi_get_country_code */ - 149, /* field[149] = resp_wifi_get_inactive_time */ - 138, /* field[138] = resp_wifi_get_protocol */ - 156, /* field[156] = resp_wifi_get_protocols */ - 113, /* field[113] = resp_wifi_get_ps */ - 120, /* field[120] = resp_wifi_init */ - 133, /* field[133] = resp_wifi_restore */ - 130, /* field[130] = resp_wifi_scan_get_ap_num */ - 164, /* field[164] = resp_wifi_scan_get_ap_record */ - 131, /* field[131] = resp_wifi_scan_get_ap_records */ - 128, /* field[128] = resp_wifi_scan_start */ - 129, /* field[129] = resp_wifi_scan_stop */ - 159, /* field[159] = resp_wifi_set_band */ - 161, /* field[161] = resp_wifi_set_bandmode */ - 139, /* field[139] = resp_wifi_set_bandwidth */ - 157, /* field[157] = resp_wifi_set_bandwidths */ - 141, /* field[141] = resp_wifi_set_channel */ - 126, /* field[126] = resp_wifi_set_config */ - 143, /* field[143] = resp_wifi_set_country */ - 150, /* field[150] = resp_wifi_set_country_code */ - 148, /* field[148] = resp_wifi_set_inactive_time */ - 194, /* field[194] = resp_wifi_set_okc_support */ - 137, /* field[137] = resp_wifi_set_protocol */ - 155, /* field[155] = resp_wifi_set_protocols */ - 112, /* field[112] = resp_wifi_set_ps */ - 147, /* field[147] = resp_wifi_set_storage */ - 175, /* field[175] = resp_wifi_sta_enterprise_disable */ - 174, /* field[174] = resp_wifi_sta_enterprise_enable */ - 152, /* field[152] = resp_wifi_sta_get_aid */ - 136, /* field[136] = resp_wifi_sta_get_ap_info */ - 153, /* field[153] = resp_wifi_sta_get_negotiated_phymode */ - 154, /* field[154] = resp_wifi_sta_get_rssi */ - 171, /* field[171] = resp_wifi_sta_itwt_get_flow_id_status */ - 172, /* field[172] = resp_wifi_sta_itwt_send_probe_req */ - 173, /* field[173] = resp_wifi_sta_itwt_set_target_wake_time_offset */ - 168, /* field[168] = resp_wifi_sta_itwt_setup */ - 170, /* field[170] = resp_wifi_sta_itwt_suspend */ - 169, /* field[169] = resp_wifi_sta_itwt_teardown */ - 167, /* field[167] = resp_wifi_sta_twt_config */ - 122, /* field[122] = resp_wifi_start */ - 123, /* field[123] = resp_wifi_stop */ + 126, /* field[126] = resp_config_heartbeat */ + 192, /* field[192] = resp_eap_clear_ca_cert */ + 194, /* field[194] = resp_eap_clear_certificate_and_key */ + 184, /* field[184] = resp_eap_clear_identity */ + 190, /* field[190] = resp_eap_clear_new_password */ + 188, /* field[188] = resp_eap_clear_password */ + 186, /* field[186] = resp_eap_clear_username */ + 195, /* field[195] = resp_eap_get_disable_time_check */ + 191, /* field[191] = resp_eap_set_ca_cert */ + 193, /* field[193] = resp_eap_set_certificate_and_key */ + 203, /* field[203] = resp_eap_set_disable_time_check */ + 202, /* field[202] = resp_eap_set_domain_name */ + 204, /* field[204] = resp_eap_set_eap_methods */ + 199, /* field[199] = resp_eap_set_fast_params */ + 183, /* field[183] = resp_eap_set_identity */ + 189, /* field[189] = resp_eap_set_new_password */ + 198, /* field[198] = resp_eap_set_pac_file */ + 187, /* field[187] = resp_eap_set_password */ + 197, /* field[197] = resp_eap_set_suiteb_certification */ + 196, /* field[196] = resp_eap_set_ttls_phase2_method */ + 185, /* field[185] = resp_eap_set_username */ + 200, /* field[200] = resp_eap_use_default_cert_bundle */ + 207, /* field[207] = resp_feature_control */ + 170, /* field[170] = resp_get_coprocessor_fwversion */ + 173, /* field[173] = resp_get_dhcp_dns */ + 109, /* field[109] = resp_get_mac_address */ + 125, /* field[125] = resp_get_wifi_max_tx_power */ + 111, /* field[111] = resp_get_wifi_mode */ + 208, /* field[208] = resp_gpio_config */ + 211, /* field[211] = resp_gpio_get_level */ + 213, /* field[213] = resp_gpio_input_enable */ + 209, /* field[209] = resp_gpio_reset */ + 212, /* field[212] = resp_gpio_set_direction */ + 210, /* field[210] = resp_gpio_set_level */ + 214, /* field[214] = resp_gpio_set_pull_mode */ + 206, /* field[206] = resp_iface_mac_addr_len_get */ + 205, /* field[205] = resp_iface_mac_addr_set_get */ + 118, /* field[118] = resp_ota_activate */ + 121, /* field[121] = resp_ota_begin */ + 123, /* field[123] = resp_ota_end */ + 122, /* field[122] = resp_ota_write */ + 172, /* field[172] = resp_set_dhcp_dns */ + 110, /* field[110] = resp_set_mac_address */ + 124, /* field[124] = resp_set_wifi_max_tx_power */ + 112, /* field[112] = resp_set_wifi_mode */ + 115, /* field[115] = resp_supp_dpp_bootstrap_gen */ + 114, /* field[114] = resp_supp_dpp_deinit */ + 113, /* field[113] = resp_supp_dpp_init */ + 116, /* field[116] = resp_supp_dpp_start_listen */ + 117, /* field[117] = resp_supp_dpp_stop_listen */ + 153, /* field[153] = resp_wifi_ap_get_sta_aid */ + 152, /* field[152] = resp_wifi_ap_get_sta_list */ + 139, /* field[139] = resp_wifi_clear_ap_list */ + 141, /* field[141] = resp_wifi_clear_fast_connect */ + 131, /* field[131] = resp_wifi_connect */ + 142, /* field[142] = resp_wifi_deauth_sta */ + 128, /* field[128] = resp_wifi_deinit */ + 132, /* field[132] = resp_wifi_disconnect */ + 167, /* field[167] = resp_wifi_get_band */ + 169, /* field[169] = resp_wifi_get_bandmode */ + 147, /* field[147] = resp_wifi_get_bandwidth */ + 165, /* field[165] = resp_wifi_get_bandwidths */ + 149, /* field[149] = resp_wifi_get_channel */ + 134, /* field[134] = resp_wifi_get_config */ + 151, /* field[151] = resp_wifi_get_country */ + 158, /* field[158] = resp_wifi_get_country_code */ + 156, /* field[156] = resp_wifi_get_inactive_time */ + 145, /* field[145] = resp_wifi_get_protocol */ + 163, /* field[163] = resp_wifi_get_protocols */ + 120, /* field[120] = resp_wifi_get_ps */ + 127, /* field[127] = resp_wifi_init */ + 140, /* field[140] = resp_wifi_restore */ + 137, /* field[137] = resp_wifi_scan_get_ap_num */ + 171, /* field[171] = resp_wifi_scan_get_ap_record */ + 138, /* field[138] = resp_wifi_scan_get_ap_records */ + 135, /* field[135] = resp_wifi_scan_start */ + 136, /* field[136] = resp_wifi_scan_stop */ + 166, /* field[166] = resp_wifi_set_band */ + 168, /* field[168] = resp_wifi_set_bandmode */ + 146, /* field[146] = resp_wifi_set_bandwidth */ + 164, /* field[164] = resp_wifi_set_bandwidths */ + 148, /* field[148] = resp_wifi_set_channel */ + 133, /* field[133] = resp_wifi_set_config */ + 150, /* field[150] = resp_wifi_set_country */ + 157, /* field[157] = resp_wifi_set_country_code */ + 155, /* field[155] = resp_wifi_set_inactive_time */ + 201, /* field[201] = resp_wifi_set_okc_support */ + 144, /* field[144] = resp_wifi_set_protocol */ + 162, /* field[162] = resp_wifi_set_protocols */ + 119, /* field[119] = resp_wifi_set_ps */ + 154, /* field[154] = resp_wifi_set_storage */ + 182, /* field[182] = resp_wifi_sta_enterprise_disable */ + 181, /* field[181] = resp_wifi_sta_enterprise_enable */ + 159, /* field[159] = resp_wifi_sta_get_aid */ + 143, /* field[143] = resp_wifi_sta_get_ap_info */ + 160, /* field[160] = resp_wifi_sta_get_negotiated_phymode */ + 161, /* field[161] = resp_wifi_sta_get_rssi */ + 178, /* field[178] = resp_wifi_sta_itwt_get_flow_id_status */ + 179, /* field[179] = resp_wifi_sta_itwt_send_probe_req */ + 180, /* field[180] = resp_wifi_sta_itwt_set_target_wake_time_offset */ + 175, /* field[175] = resp_wifi_sta_itwt_setup */ + 177, /* field[177] = resp_wifi_sta_itwt_suspend */ + 176, /* field[176] = resp_wifi_sta_itwt_teardown */ + 174, /* field[174] = resp_wifi_sta_twt_config */ + 129, /* field[129] = resp_wifi_start */ + 130, /* field[130] = resp_wifi_stop */ 2, /* field[2] = uid */ }; static const ProtobufCIntRange rpc__number_ranges[18 + 1] = @@ -28081,16 +29612,16 @@ static const ProtobufCIntRange rpc__number_ranges[18 + 1] = { 334, 51 }, { 338, 53 }, { 341, 55 }, - { 513, 102 }, - { 526, 112 }, - { 553, 137 }, - { 567, 145 }, - { 581, 148 }, - { 590, 150 }, - { 594, 152 }, - { 597, 154 }, - { 769, 201 }, - { 0, 220 } + { 513, 109 }, + { 526, 119 }, + { 553, 144 }, + { 567, 152 }, + { 581, 155 }, + { 590, 157 }, + { 594, 159 }, + { 597, 161 }, + { 769, 215 }, + { 0, 234 } }; const ProtobufCMessageDescriptor rpc__descriptor = { @@ -28100,7 +29631,7 @@ const ProtobufCMessageDescriptor rpc__descriptor = "Rpc", "", sizeof(Rpc), - 220, + 234, rpc__field_descriptors, rpc__field_indices_by_name, 18, rpc__number_ranges, @@ -28367,7 +29898,7 @@ const ProtobufCEnumDescriptor rpc_feature_option__descriptor = rpc_feature_option__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCEnumValue rpc_id__enum_values_by_number[278] = +static const ProtobufCEnumValue rpc_id__enum_values_by_number[292] = { { "MsgId_Invalid", "RPC_ID__MsgId_Invalid", 0 }, { "Req_Base", "RPC_ID__Req_Base", 256 }, @@ -28497,7 +30028,14 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[278] = { "Req_IfaceMacAddrSetGet", "RPC_ID__Req_IfaceMacAddrSetGet", 385 }, { "Req_IfaceMacAddrLenGet", "RPC_ID__Req_IfaceMacAddrLenGet", 386 }, { "Req_FeatureControl", "RPC_ID__Req_FeatureControl", 387 }, - { "Req_Max", "RPC_ID__Req_Max", 388 }, + { "Req_GpioConfig", "RPC_ID__Req_GpioConfig", 388 }, + { "Req_GpioResetPin", "RPC_ID__Req_GpioResetPin", 389 }, + { "Req_GpioSetLevel", "RPC_ID__Req_GpioSetLevel", 390 }, + { "Req_GpioGetLevel", "RPC_ID__Req_GpioGetLevel", 391 }, + { "Req_GpioSetDirection", "RPC_ID__Req_GpioSetDirection", 392 }, + { "Req_GpioInputEnable", "RPC_ID__Req_GpioInputEnable", 393 }, + { "Req_GpioSetPullMode", "RPC_ID__Req_GpioSetPullMode", 394 }, + { "Req_Max", "RPC_ID__Req_Max", 395 }, { "Resp_Base", "RPC_ID__Resp_Base", 512 }, { "Resp_GetMACAddress", "RPC_ID__Resp_GetMACAddress", 513 }, { "Resp_SetMacAddress", "RPC_ID__Resp_SetMacAddress", 514 }, @@ -28625,7 +30163,14 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[278] = { "Resp_IfaceMacAddrSetGet", "RPC_ID__Resp_IfaceMacAddrSetGet", 641 }, { "Resp_IfaceMacAddrLenGet", "RPC_ID__Resp_IfaceMacAddrLenGet", 642 }, { "Resp_FeatureControl", "RPC_ID__Resp_FeatureControl", 643 }, - { "Resp_Max", "RPC_ID__Resp_Max", 644 }, + { "Resp_GpioConfig", "RPC_ID__Resp_GpioConfig", 644 }, + { "Resp_GpioResetPin", "RPC_ID__Resp_GpioResetPin", 645 }, + { "Resp_GpioSetLevel", "RPC_ID__Resp_GpioSetLevel", 646 }, + { "Resp_GpioGetLevel", "RPC_ID__Resp_GpioGetLevel", 647 }, + { "Resp_GpioSetDirection", "RPC_ID__Resp_GpioSetDirection", 648 }, + { "Resp_GpioInputEnable", "RPC_ID__Resp_GpioInputEnable", 649 }, + { "Resp_GpioSetPullMode", "RPC_ID__Resp_GpioSetPullMode", 650 }, + { "Resp_Max", "RPC_ID__Resp_Max", 651 }, { "Event_Base", "RPC_ID__Event_Base", 768 }, { "Event_ESPInit", "RPC_ID__Event_ESPInit", 769 }, { "Event_Heartbeat", "RPC_ID__Event_Heartbeat", 770 }, @@ -28649,31 +30194,31 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[278] = { "Event_Max", "RPC_ID__Event_Max", 788 }, }; static const ProtobufCIntRange rpc_id__value_ranges[] = { -{0, 0},{256, 1},{270, 12},{297, 37},{512, 129},{526, 140},{553, 165},{768, 257},{0, 278} -}; -static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[278] = -{ - { "Event_AP_StaConnected", 260 }, - { "Event_AP_StaDisconnected", 261 }, - { "Event_Base", 257 }, - { "Event_DhcpDnsStatus", 266 }, - { "Event_ESPInit", 258 }, - { "Event_Heartbeat", 259 }, - { "Event_Max", 277 }, - { "Event_StaConnected", 264 }, - { "Event_StaDisconnected", 265 }, - { "Event_StaItwtProbe", 270 }, - { "Event_StaItwtSetup", 267 }, - { "Event_StaItwtSuspend", 269 }, - { "Event_StaItwtTeardown", 268 }, - { "Event_StaScanDone", 263 }, - { "Event_SuppDppCfgRecvd", 272 }, - { "Event_SuppDppFail", 273 }, - { "Event_SuppDppUriReady", 271 }, - { "Event_WifiDppCfgRecvd", 275 }, - { "Event_WifiDppFail", 276 }, - { "Event_WifiDppUriReady", 274 }, - { "Event_WifiEventNoArgs", 262 }, +{0, 0},{256, 1},{270, 12},{297, 37},{512, 136},{526, 147},{553, 172},{768, 271},{0, 292} +}; +static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[292] = +{ + { "Event_AP_StaConnected", 274 }, + { "Event_AP_StaDisconnected", 275 }, + { "Event_Base", 271 }, + { "Event_DhcpDnsStatus", 280 }, + { "Event_ESPInit", 272 }, + { "Event_Heartbeat", 273 }, + { "Event_Max", 291 }, + { "Event_StaConnected", 278 }, + { "Event_StaDisconnected", 279 }, + { "Event_StaItwtProbe", 284 }, + { "Event_StaItwtSetup", 281 }, + { "Event_StaItwtSuspend", 283 }, + { "Event_StaItwtTeardown", 282 }, + { "Event_StaScanDone", 277 }, + { "Event_SuppDppCfgRecvd", 286 }, + { "Event_SuppDppFail", 287 }, + { "Event_SuppDppUriReady", 285 }, + { "Event_WifiDppCfgRecvd", 289 }, + { "Event_WifiDppFail", 290 }, + { "Event_WifiDppUriReady", 288 }, + { "Event_WifiEventNoArgs", 276 }, { "MsgId_Invalid", 0 }, { "Req_Base", 1 }, { "Req_ConfigHeartbeat", 19 }, @@ -28703,9 +30248,16 @@ static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[278] = { "Req_GetDhcpDnsStatus", 93 }, { "Req_GetMACAddress", 2 }, { "Req_GetWifiMode", 4 }, + { "Req_GpioConfig", 128 }, + { "Req_GpioGetLevel", 131 }, + { "Req_GpioInputEnable", 133 }, + { "Req_GpioResetPin", 129 }, + { "Req_GpioSetDirection", 132 }, + { "Req_GpioSetLevel", 130 }, + { "Req_GpioSetPullMode", 134 }, { "Req_IfaceMacAddrLenGet", 126 }, { "Req_IfaceMacAddrSetGet", 125 }, - { "Req_Max", 128 }, + { "Req_Max", 135 }, { "Req_OTAActivate", 11 }, { "Req_OTABegin", 14 }, { "Req_OTAEnd", 16 }, @@ -28803,134 +30355,141 @@ static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[278] = { "Req_WifiStart", 22 }, { "Req_WifiStatisDump", 67 }, { "Req_WifiStop", 23 }, - { "Resp_Base", 129 }, - { "Resp_ConfigHeartbeat", 147 }, - { "Resp_EapClearCaCert", 240 }, - { "Resp_EapClearCertificateAndKey", 242 }, - { "Resp_EapClearIdentity", 232 }, - { "Resp_EapClearNewPassword", 238 }, - { "Resp_EapClearPassword", 236 }, - { "Resp_EapClearUsername", 234 }, - { "Resp_EapGetDisableTimeCheck", 243 }, - { "Resp_EapSetCaCert", 239 }, - { "Resp_EapSetCertificateAndKey", 241 }, - { "Resp_EapSetDisableTimeCheck", 251 }, - { "Resp_EapSetDomainName", 250 }, - { "Resp_EapSetEapMethods", 252 }, - { "Resp_EapSetFastParams", 247 }, - { "Resp_EapSetIdentity", 231 }, - { "Resp_EapSetNewPassword", 237 }, - { "Resp_EapSetPacFile", 246 }, - { "Resp_EapSetPassword", 235 }, - { "Resp_EapSetSuitebCertification", 245 }, - { "Resp_EapSetTtlsPhase2Method", 244 }, - { "Resp_EapSetUsername", 233 }, - { "Resp_EapUseDefaultCertBundle", 248 }, - { "Resp_FeatureControl", 255 }, - { "Resp_GetCoprocessorFwVersion", 218 }, - { "Resp_GetDhcpDnsStatus", 221 }, - { "Resp_GetMACAddress", 130 }, - { "Resp_GetWifiMode", 132 }, - { "Resp_IfaceMacAddrLenGet", 254 }, - { "Resp_IfaceMacAddrSetGet", 253 }, - { "Resp_Max", 256 }, - { "Resp_OTAActivate", 139 }, - { "Resp_OTABegin", 142 }, - { "Resp_OTAEnd", 144 }, - { "Resp_OTAWrite", 143 }, - { "Resp_SetDhcpDnsStatus", 220 }, - { "Resp_SetMacAddress", 131 }, - { "Resp_SetWifiMode", 133 }, - { "Resp_SuppDppBootstrapGen", 136 }, - { "Resp_SuppDppDeinit", 135 }, - { "Resp_SuppDppInit", 134 }, - { "Resp_SuppDppStartListen", 137 }, - { "Resp_SuppDppStopListen", 138 }, - { "Resp_Wifi80211Tx", 185 }, - { "Resp_WifiApGetStaAid", 180 }, - { "Resp_WifiApGetStaList", 179 }, - { "Resp_WifiClearApList", 160 }, - { "Resp_WifiClearFastConnect", 162 }, - { "Resp_WifiConfig11bRate", 200 }, - { "Resp_WifiConfig80211TxRate", 204 }, - { "Resp_WifiConnect", 152 }, - { "Resp_WifiConnectionlessModuleSetWakeInterval", 201 }, - { "Resp_WifiDeauthSta", 163 }, - { "Resp_WifiDeinit", 149 }, - { "Resp_WifiDisablePmfConfig", 205 }, - { "Resp_WifiDisconnect", 153 }, - { "Resp_WifiFtmEndSession", 198 }, - { "Resp_WifiFtmInitiateSession", 197 }, - { "Resp_WifiFtmRespSetOffset", 199 }, - { "Resp_WifiGetAnt", 191 }, - { "Resp_WifiGetAntGpio", 189 }, - { "Resp_WifiGetBand", 215 }, - { "Resp_WifiGetBandMode", 217 }, - { "Resp_WifiGetBandwidth", 168 }, - { "Resp_WifiGetBandwidths", 213 }, - { "Resp_WifiGetChannel", 170 }, - { "Resp_WifiGetConfig", 155 }, - { "Resp_WifiGetCountry", 172 }, - { "Resp_WifiGetCountryCode", 203 }, - { "Resp_WifiGetEventMask", 184 }, - { "Resp_WifiGetInactiveTime", 194 }, - { "Resp_WifiGetMaxTxPower", 146 }, - { "Resp_WifiGetPromiscuous", 174 }, - { "Resp_WifiGetPromiscuousCtrlFilter", 178 }, - { "Resp_WifiGetPromiscuousFilter", 176 }, - { "Resp_WifiGetProtocol", 166 }, - { "Resp_WifiGetProtocols", 211 }, - { "Resp_WifiGetPs", 141 }, - { "Resp_WifiGetTsfTime", 192 }, - { "Resp_WifiInit", 148 }, - { "Resp_WifiRestore", 161 }, - { "Resp_WifiScanGetApNum", 158 }, - { "Resp_WifiScanGetApRecord", 219 }, - { "Resp_WifiScanGetApRecords", 159 }, - { "Resp_WifiScanStart", 156 }, - { "Resp_WifiScanStop", 157 }, - { "Resp_WifiSetAnt", 190 }, - { "Resp_WifiSetAntGpio", 188 }, - { "Resp_WifiSetBand", 214 }, - { "Resp_WifiSetBandMode", 216 }, - { "Resp_WifiSetBandwidth", 167 }, - { "Resp_WifiSetBandwidths", 212 }, - { "Resp_WifiSetChannel", 169 }, - { "Resp_WifiSetConfig", 154 }, - { "Resp_WifiSetCountry", 171 }, - { "Resp_WifiSetCountryCode", 202 }, - { "Resp_WifiSetCsi", 187 }, - { "Resp_WifiSetCsiConfig", 186 }, - { "Resp_WifiSetDynamicCs", 208 }, - { "Resp_WifiSetEventMask", 183 }, - { "Resp_WifiSetInactiveTime", 193 }, - { "Resp_WifiSetMaxTxPower", 145 }, - { "Resp_WifiSetOkcSupport", 249 }, - { "Resp_WifiSetPromiscuous", 173 }, - { "Resp_WifiSetPromiscuousCtrlFilter", 177 }, - { "Resp_WifiSetPromiscuousFilter", 175 }, - { "Resp_WifiSetProtocol", 165 }, - { "Resp_WifiSetProtocols", 210 }, - { "Resp_WifiSetPs", 140 }, - { "Resp_WifiSetRssiThreshold", 196 }, - { "Resp_WifiSetStorage", 181 }, - { "Resp_WifiSetVendorIe", 182 }, - { "Resp_WifiStaEnterpriseDisable", 230 }, - { "Resp_WifiStaEnterpriseEnable", 229 }, - { "Resp_WifiStaGetAid", 206 }, - { "Resp_WifiStaGetApInfo", 164 }, - { "Resp_WifiStaGetNegotiatedPhymode", 207 }, - { "Resp_WifiStaGetRssi", 209 }, - { "Resp_WifiStaItwtGetFlowIdStatus", 226 }, - { "Resp_WifiStaItwtSendProbeReq", 227 }, - { "Resp_WifiStaItwtSetTargetWakeTimeOffset", 228 }, - { "Resp_WifiStaItwtSetup", 223 }, - { "Resp_WifiStaItwtSuspend", 225 }, - { "Resp_WifiStaItwtTeardown", 224 }, - { "Resp_WifiStaTwtConfig", 222 }, - { "Resp_WifiStart", 150 }, - { "Resp_WifiStatisDump", 195 }, - { "Resp_WifiStop", 151 }, + { "Resp_Base", 136 }, + { "Resp_ConfigHeartbeat", 154 }, + { "Resp_EapClearCaCert", 247 }, + { "Resp_EapClearCertificateAndKey", 249 }, + { "Resp_EapClearIdentity", 239 }, + { "Resp_EapClearNewPassword", 245 }, + { "Resp_EapClearPassword", 243 }, + { "Resp_EapClearUsername", 241 }, + { "Resp_EapGetDisableTimeCheck", 250 }, + { "Resp_EapSetCaCert", 246 }, + { "Resp_EapSetCertificateAndKey", 248 }, + { "Resp_EapSetDisableTimeCheck", 258 }, + { "Resp_EapSetDomainName", 257 }, + { "Resp_EapSetEapMethods", 259 }, + { "Resp_EapSetFastParams", 254 }, + { "Resp_EapSetIdentity", 238 }, + { "Resp_EapSetNewPassword", 244 }, + { "Resp_EapSetPacFile", 253 }, + { "Resp_EapSetPassword", 242 }, + { "Resp_EapSetSuitebCertification", 252 }, + { "Resp_EapSetTtlsPhase2Method", 251 }, + { "Resp_EapSetUsername", 240 }, + { "Resp_EapUseDefaultCertBundle", 255 }, + { "Resp_FeatureControl", 262 }, + { "Resp_GetCoprocessorFwVersion", 225 }, + { "Resp_GetDhcpDnsStatus", 228 }, + { "Resp_GetMACAddress", 137 }, + { "Resp_GetWifiMode", 139 }, + { "Resp_GpioConfig", 263 }, + { "Resp_GpioGetLevel", 266 }, + { "Resp_GpioInputEnable", 268 }, + { "Resp_GpioResetPin", 264 }, + { "Resp_GpioSetDirection", 267 }, + { "Resp_GpioSetLevel", 265 }, + { "Resp_GpioSetPullMode", 269 }, + { "Resp_IfaceMacAddrLenGet", 261 }, + { "Resp_IfaceMacAddrSetGet", 260 }, + { "Resp_Max", 270 }, + { "Resp_OTAActivate", 146 }, + { "Resp_OTABegin", 149 }, + { "Resp_OTAEnd", 151 }, + { "Resp_OTAWrite", 150 }, + { "Resp_SetDhcpDnsStatus", 227 }, + { "Resp_SetMacAddress", 138 }, + { "Resp_SetWifiMode", 140 }, + { "Resp_SuppDppBootstrapGen", 143 }, + { "Resp_SuppDppDeinit", 142 }, + { "Resp_SuppDppInit", 141 }, + { "Resp_SuppDppStartListen", 144 }, + { "Resp_SuppDppStopListen", 145 }, + { "Resp_Wifi80211Tx", 192 }, + { "Resp_WifiApGetStaAid", 187 }, + { "Resp_WifiApGetStaList", 186 }, + { "Resp_WifiClearApList", 167 }, + { "Resp_WifiClearFastConnect", 169 }, + { "Resp_WifiConfig11bRate", 207 }, + { "Resp_WifiConfig80211TxRate", 211 }, + { "Resp_WifiConnect", 159 }, + { "Resp_WifiConnectionlessModuleSetWakeInterval", 208 }, + { "Resp_WifiDeauthSta", 170 }, + { "Resp_WifiDeinit", 156 }, + { "Resp_WifiDisablePmfConfig", 212 }, + { "Resp_WifiDisconnect", 160 }, + { "Resp_WifiFtmEndSession", 205 }, + { "Resp_WifiFtmInitiateSession", 204 }, + { "Resp_WifiFtmRespSetOffset", 206 }, + { "Resp_WifiGetAnt", 198 }, + { "Resp_WifiGetAntGpio", 196 }, + { "Resp_WifiGetBand", 222 }, + { "Resp_WifiGetBandMode", 224 }, + { "Resp_WifiGetBandwidth", 175 }, + { "Resp_WifiGetBandwidths", 220 }, + { "Resp_WifiGetChannel", 177 }, + { "Resp_WifiGetConfig", 162 }, + { "Resp_WifiGetCountry", 179 }, + { "Resp_WifiGetCountryCode", 210 }, + { "Resp_WifiGetEventMask", 191 }, + { "Resp_WifiGetInactiveTime", 201 }, + { "Resp_WifiGetMaxTxPower", 153 }, + { "Resp_WifiGetPromiscuous", 181 }, + { "Resp_WifiGetPromiscuousCtrlFilter", 185 }, + { "Resp_WifiGetPromiscuousFilter", 183 }, + { "Resp_WifiGetProtocol", 173 }, + { "Resp_WifiGetProtocols", 218 }, + { "Resp_WifiGetPs", 148 }, + { "Resp_WifiGetTsfTime", 199 }, + { "Resp_WifiInit", 155 }, + { "Resp_WifiRestore", 168 }, + { "Resp_WifiScanGetApNum", 165 }, + { "Resp_WifiScanGetApRecord", 226 }, + { "Resp_WifiScanGetApRecords", 166 }, + { "Resp_WifiScanStart", 163 }, + { "Resp_WifiScanStop", 164 }, + { "Resp_WifiSetAnt", 197 }, + { "Resp_WifiSetAntGpio", 195 }, + { "Resp_WifiSetBand", 221 }, + { "Resp_WifiSetBandMode", 223 }, + { "Resp_WifiSetBandwidth", 174 }, + { "Resp_WifiSetBandwidths", 219 }, + { "Resp_WifiSetChannel", 176 }, + { "Resp_WifiSetConfig", 161 }, + { "Resp_WifiSetCountry", 178 }, + { "Resp_WifiSetCountryCode", 209 }, + { "Resp_WifiSetCsi", 194 }, + { "Resp_WifiSetCsiConfig", 193 }, + { "Resp_WifiSetDynamicCs", 215 }, + { "Resp_WifiSetEventMask", 190 }, + { "Resp_WifiSetInactiveTime", 200 }, + { "Resp_WifiSetMaxTxPower", 152 }, + { "Resp_WifiSetOkcSupport", 256 }, + { "Resp_WifiSetPromiscuous", 180 }, + { "Resp_WifiSetPromiscuousCtrlFilter", 184 }, + { "Resp_WifiSetPromiscuousFilter", 182 }, + { "Resp_WifiSetProtocol", 172 }, + { "Resp_WifiSetProtocols", 217 }, + { "Resp_WifiSetPs", 147 }, + { "Resp_WifiSetRssiThreshold", 203 }, + { "Resp_WifiSetStorage", 188 }, + { "Resp_WifiSetVendorIe", 189 }, + { "Resp_WifiStaEnterpriseDisable", 237 }, + { "Resp_WifiStaEnterpriseEnable", 236 }, + { "Resp_WifiStaGetAid", 213 }, + { "Resp_WifiStaGetApInfo", 171 }, + { "Resp_WifiStaGetNegotiatedPhymode", 214 }, + { "Resp_WifiStaGetRssi", 216 }, + { "Resp_WifiStaItwtGetFlowIdStatus", 233 }, + { "Resp_WifiStaItwtSendProbeReq", 234 }, + { "Resp_WifiStaItwtSetTargetWakeTimeOffset", 235 }, + { "Resp_WifiStaItwtSetup", 230 }, + { "Resp_WifiStaItwtSuspend", 232 }, + { "Resp_WifiStaItwtTeardown", 231 }, + { "Resp_WifiStaTwtConfig", 229 }, + { "Resp_WifiStart", 157 }, + { "Resp_WifiStatisDump", 202 }, + { "Resp_WifiStop", 158 }, }; const ProtobufCEnumDescriptor rpc_id__descriptor = { @@ -28939,11 +30498,73 @@ const ProtobufCEnumDescriptor rpc_id__descriptor = "RpcId", "RpcId", "", - 278, + 292, rpc_id__enum_values_by_number, - 278, + 292, rpc_id__enum_values_by_name, 8, rpc_id__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; +static const ProtobufCEnumValue rpc__gpio_mode__enum_values_by_number[4] = +{ + { "GPIO_MODE_DISABLE", "RPC__GPIO_MODE__GPIO_MODE_DISABLE", 0 }, + { "GPIO_MODE_INPUT", "RPC__GPIO_MODE__GPIO_MODE_INPUT", 1 }, + { "GPIO_MODE_OUTPUT", "RPC__GPIO_MODE__GPIO_MODE_OUTPUT", 2 }, + { "GPIO_MODE_INPUT_OUTPUT", "RPC__GPIO_MODE__GPIO_MODE_INPUT_OUTPUT", 3 }, +}; +static const ProtobufCIntRange rpc__gpio_mode__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex rpc__gpio_mode__enum_values_by_name[4] = +{ + { "GPIO_MODE_DISABLE", 0 }, + { "GPIO_MODE_INPUT", 1 }, + { "GPIO_MODE_INPUT_OUTPUT", 3 }, + { "GPIO_MODE_OUTPUT", 2 }, +}; +const ProtobufCEnumDescriptor rpc__gpio_mode__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "Rpc_GpioMode", + "Rpc_GpioMode", + "RpcGpioMode", + "", + 4, + rpc__gpio_mode__enum_values_by_number, + 4, + rpc__gpio_mode__enum_values_by_name, + 1, + rpc__gpio_mode__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue rpc__gpio_pull_mode__enum_values_by_number[3] = +{ + { "GPIO_PULL_NONE", "RPC__GPIO_PULL_MODE__GPIO_PULL_NONE", 0 }, + { "GPIO_PULL_UP", "RPC__GPIO_PULL_MODE__GPIO_PULL_UP", 1 }, + { "GPIO_PULL_DOWN", "RPC__GPIO_PULL_MODE__GPIO_PULL_DOWN", 2 }, +}; +static const ProtobufCIntRange rpc__gpio_pull_mode__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex rpc__gpio_pull_mode__enum_values_by_name[3] = +{ + { "GPIO_PULL_DOWN", 2 }, + { "GPIO_PULL_NONE", 0 }, + { "GPIO_PULL_UP", 1 }, +}; +const ProtobufCEnumDescriptor rpc__gpio_pull_mode__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "Rpc_GpioPullMode", + "Rpc_GpioPullMode", + "RpcGpioPullMode", + "", + 3, + rpc__gpio_pull_mode__enum_values_by_number, + 3, + rpc__gpio_pull_mode__enum_values_by_name, + 1, + rpc__gpio_pull_mode__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; diff --git a/common/proto/esp_hosted_rpc.pb-c.h b/common/proto/esp_hosted_rpc.pb-c.h index e12f4ed..860ef68 100644 --- a/common/proto/esp_hosted_rpc.pb-c.h +++ b/common/proto/esp_hosted_rpc.pb-c.h @@ -280,6 +280,21 @@ typedef struct RpcEventSuppDppFail RpcEventSuppDppFail; typedef struct RpcEventWifiDppUriReady RpcEventWifiDppUriReady; typedef struct RpcEventWifiDppCfgRecvd RpcEventWifiDppCfgRecvd; typedef struct RpcEventWifiDppFail RpcEventWifiDppFail; +typedef struct RpcGpioConfig RpcGpioConfig; +typedef struct RpcReqGpioConfig RpcReqGpioConfig; +typedef struct RpcRespGpioConfig RpcRespGpioConfig; +typedef struct RpcReqGpioReset RpcReqGpioReset; +typedef struct RpcRespGpioResetPin RpcRespGpioResetPin; +typedef struct RpcReqGpioSetLevel RpcReqGpioSetLevel; +typedef struct RpcRespGpioSetLevel RpcRespGpioSetLevel; +typedef struct RpcReqGpioGetLevel RpcReqGpioGetLevel; +typedef struct RpcRespGpioGetLevel RpcRespGpioGetLevel; +typedef struct RpcReqGpioSetDirection RpcReqGpioSetDirection; +typedef struct RpcRespGpioSetDirection RpcRespGpioSetDirection; +typedef struct RpcReqGpioInputEnable RpcReqGpioInputEnable; +typedef struct RpcRespGpioInputEnable RpcRespGpioInputEnable; +typedef struct RpcReqGpioSetPullMode RpcReqGpioSetPullMode; +typedef struct RpcRespGpioSetPullMode RpcRespGpioSetPullMode; typedef struct Rpc Rpc; @@ -901,14 +916,42 @@ typedef enum _RpcId { *0x183 */ RPC_ID__Req_FeatureControl = 387, + /* + * 0x184 + */ + RPC_ID__Req_GpioConfig = 388, + /* + * 0x185 + */ + RPC_ID__Req_GpioResetPin = 389, + /* + * 0x186 + */ + RPC_ID__Req_GpioSetLevel = 390, + /* + * 0x187 + */ + RPC_ID__Req_GpioGetLevel = 391, + /* + * 0x188 + */ + RPC_ID__Req_GpioSetDirection = 392, + /* + * 0x189 + */ + RPC_ID__Req_GpioInputEnable = 393, + /* + * 0x18A + */ + RPC_ID__Req_GpioSetPullMode = 394, /* * Add new control path command response before Req_Max * and update Req_Max */ /* - *0x184 + *0x18B */ - RPC_ID__Req_Max = 388, + RPC_ID__Req_Max = 395, /* ** Response Msgs * */ @@ -1058,11 +1101,18 @@ typedef enum _RpcId { RPC_ID__Resp_IfaceMacAddrSetGet = 641, RPC_ID__Resp_IfaceMacAddrLenGet = 642, RPC_ID__Resp_FeatureControl = 643, + RPC_ID__Resp_GpioConfig = 644, + RPC_ID__Resp_GpioResetPin = 645, + RPC_ID__Resp_GpioSetLevel = 646, + RPC_ID__Resp_GpioGetLevel = 647, + RPC_ID__Resp_GpioSetDirection = 648, + RPC_ID__Resp_GpioInputEnable = 649, + RPC_ID__Resp_GpioSetPullMode = 650, /* * Add new control path command response before Resp_Max * and update Resp_Max */ - RPC_ID__Resp_Max = 644, + RPC_ID__Resp_Max = 651, /* ** Event Msgs * */ @@ -1099,6 +1149,19 @@ typedef enum _RpcId { RPC_ID__Event_Max = 788 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC_ID) } RpcId; +typedef enum _RpcGpioMode { + RPC__GPIO_MODE__GPIO_MODE_DISABLE = 0, + RPC__GPIO_MODE__GPIO_MODE_INPUT = 1, + RPC__GPIO_MODE__GPIO_MODE_OUTPUT = 2, + RPC__GPIO_MODE__GPIO_MODE_INPUT_OUTPUT = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC__GPIO_MODE) +} RpcGpioMode; +typedef enum _RpcGpioPullMode { + RPC__GPIO_PULL_MODE__GPIO_PULL_NONE = 0, + RPC__GPIO_PULL_MODE__GPIO_PULL_UP = 1, + RPC__GPIO_PULL_MODE__GPIO_PULL_DOWN = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC__GPIO_PULL_MODE) +} RpcGpioPullMode; /* --- messages --- */ @@ -4820,6 +4883,167 @@ struct RpcEventWifiDppFail , 0, 0 } +struct RpcGpioConfig +{ + ProtobufCMessage base; + uint64_t pin_bit_mask; + RpcGpioMode mode; + protobuf_c_boolean pull_up_en; + protobuf_c_boolean pull_down_en; + int32_t intr_type; +}; +#define RPC__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__gpio_config__descriptor) \ + , 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE, 0, 0, 0 } + + +struct RpcReqGpioConfig +{ + ProtobufCMessage base; + RpcGpioConfig *config; +}; +#define RPC__REQ__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_config__descriptor) \ + , NULL } + + +struct RpcRespGpioConfig +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_config__descriptor) \ + , 0 } + + +struct RpcReqGpioReset +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_RESET__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_reset__descriptor) \ + , 0 } + + +struct RpcRespGpioResetPin +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_RESET_PIN__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_reset_pin__descriptor) \ + , 0 } + + +struct RpcReqGpioSetLevel +{ + ProtobufCMessage base; + int32_t gpio_num; + /* + * 0 or 1 + */ + uint32_t level; +}; +#define RPC__REQ__GPIO_SET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_level__descriptor) \ + , 0, 0 } + + +struct RpcRespGpioSetLevel +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_level__descriptor) \ + , 0 } + + +struct RpcReqGpioGetLevel +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_GET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_get_level__descriptor) \ + , 0 } + + +struct RpcRespGpioGetLevel +{ + ProtobufCMessage base; + int32_t resp; + uint32_t level; +}; +#define RPC__RESP__GPIO_GET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_get_level__descriptor) \ + , 0, 0 } + + +struct RpcReqGpioSetDirection +{ + ProtobufCMessage base; + int32_t gpio_num; + RpcGpioMode mode; +}; +#define RPC__REQ__GPIO_SET_DIRECTION__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_direction__descriptor) \ + , 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE } + + +struct RpcRespGpioSetDirection +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_DIRECTION__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_direction__descriptor) \ + , 0 } + + +struct RpcReqGpioInputEnable +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_INPUT_ENABLE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_input_enable__descriptor) \ + , 0 } + + +struct RpcRespGpioInputEnable +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_INPUT_ENABLE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_input_enable__descriptor) \ + , 0 } + + +struct RpcReqGpioSetPullMode +{ + ProtobufCMessage base; + int32_t gpio_num; + RpcGpioPullMode pull; +}; +#define RPC__REQ__GPIO_SET_PULL_MODE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_pull_mode__descriptor) \ + , 0, RPC__GPIO_PULL_MODE__GPIO_PULL_NONE } + + +struct RpcRespGpioSetPullMode +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_PULL_MODE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_pull_mode__descriptor) \ + , 0 } + + typedef enum { RPC__PAYLOAD__NOT_SET = 0, RPC__PAYLOAD_REQ_GET_MAC_ADDRESS = 257, @@ -4921,6 +5145,13 @@ typedef enum { RPC__PAYLOAD_REQ_IFACE_MAC_ADDR_SET_GET = 385, RPC__PAYLOAD_REQ_IFACE_MAC_ADDR_LEN_GET = 386, RPC__PAYLOAD_REQ_FEATURE_CONTROL = 387, + RPC__PAYLOAD_REQ_GPIO_CONFIG = 388, + RPC__PAYLOAD_REQ_GPIO_RESET = 389, + RPC__PAYLOAD_REQ_GPIO_SET_LEVEL = 390, + RPC__PAYLOAD_REQ_GPIO_GET_LEVEL = 391, + RPC__PAYLOAD_REQ_GPIO_SET_DIRECTION = 392, + RPC__PAYLOAD_REQ_GPIO_INPUT_ENABLE = 393, + RPC__PAYLOAD_REQ_GPIO_SET_PULL_MODE = 394, RPC__PAYLOAD_RESP_GET_MAC_ADDRESS = 513, RPC__PAYLOAD_RESP_SET_MAC_ADDRESS = 514, RPC__PAYLOAD_RESP_GET_WIFI_MODE = 515, @@ -5020,6 +5251,13 @@ typedef enum { RPC__PAYLOAD_RESP_IFACE_MAC_ADDR_SET_GET = 641, RPC__PAYLOAD_RESP_IFACE_MAC_ADDR_LEN_GET = 642, RPC__PAYLOAD_RESP_FEATURE_CONTROL = 643, + RPC__PAYLOAD_RESP_GPIO_CONFIG = 644, + RPC__PAYLOAD_RESP_GPIO_RESET = 645, + RPC__PAYLOAD_RESP_GPIO_SET_LEVEL = 646, + RPC__PAYLOAD_RESP_GPIO_GET_LEVEL = 647, + RPC__PAYLOAD_RESP_GPIO_SET_DIRECTION = 648, + RPC__PAYLOAD_RESP_GPIO_INPUT_ENABLE = 649, + RPC__PAYLOAD_RESP_GPIO_SET_PULL_MODE = 650, RPC__PAYLOAD_EVENT_ESP_INIT = 769, RPC__PAYLOAD_EVENT_HEARTBEAT = 770, RPC__PAYLOAD_EVENT_AP_STA_CONNECTED = 771, @@ -5166,6 +5404,13 @@ struct Rpc RpcReqIfaceMacAddrSetGet *req_iface_mac_addr_set_get; RpcReqIfaceMacAddrLenGet *req_iface_mac_addr_len_get; RpcReqFeatureControl *req_feature_control; + RpcReqGpioConfig *req_gpio_config; + RpcReqGpioReset *req_gpio_reset; + RpcReqGpioSetLevel *req_gpio_set_level; + RpcReqGpioGetLevel *req_gpio_get_level; + RpcReqGpioSetDirection *req_gpio_set_direction; + RpcReqGpioInputEnable *req_gpio_input_enable; + RpcReqGpioSetPullMode *req_gpio_set_pull_mode; /* ** Responses * */ @@ -5274,6 +5519,13 @@ struct Rpc RpcRespIfaceMacAddrSetGet *resp_iface_mac_addr_set_get; RpcRespIfaceMacAddrLenGet *resp_iface_mac_addr_len_get; RpcRespFeatureControl *resp_feature_control; + RpcRespGpioConfig *resp_gpio_config; + RpcRespGpioResetPin *resp_gpio_reset; + RpcRespGpioSetLevel *resp_gpio_set_level; + RpcRespGpioGetLevel *resp_gpio_get_level; + RpcRespGpioSetDirection *resp_gpio_set_direction; + RpcRespGpioInputEnable *resp_gpio_input_enable; + RpcRespGpioSetPullMode *resp_gpio_set_pull_mode; /* ** Notifications * */ @@ -10338,6 +10590,291 @@ RpcEventWifiDppFail * void rpc__event__wifi_dpp_fail__free_unpacked (RpcEventWifiDppFail *message, ProtobufCAllocator *allocator); +/* RpcGpioConfig methods */ +void rpc__gpio_config__init + (RpcGpioConfig *message); +size_t rpc__gpio_config__get_packed_size + (const RpcGpioConfig *message); +size_t rpc__gpio_config__pack + (const RpcGpioConfig *message, + uint8_t *out); +size_t rpc__gpio_config__pack_to_buffer + (const RpcGpioConfig *message, + ProtobufCBuffer *buffer); +RpcGpioConfig * + rpc__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__gpio_config__free_unpacked + (RpcGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioConfig methods */ +void rpc__req__gpio_config__init + (RpcReqGpioConfig *message); +size_t rpc__req__gpio_config__get_packed_size + (const RpcReqGpioConfig *message); +size_t rpc__req__gpio_config__pack + (const RpcReqGpioConfig *message, + uint8_t *out); +size_t rpc__req__gpio_config__pack_to_buffer + (const RpcReqGpioConfig *message, + ProtobufCBuffer *buffer); +RpcReqGpioConfig * + rpc__req__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_config__free_unpacked + (RpcReqGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioConfig methods */ +void rpc__resp__gpio_config__init + (RpcRespGpioConfig *message); +size_t rpc__resp__gpio_config__get_packed_size + (const RpcRespGpioConfig *message); +size_t rpc__resp__gpio_config__pack + (const RpcRespGpioConfig *message, + uint8_t *out); +size_t rpc__resp__gpio_config__pack_to_buffer + (const RpcRespGpioConfig *message, + ProtobufCBuffer *buffer); +RpcRespGpioConfig * + rpc__resp__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_config__free_unpacked + (RpcRespGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioReset methods */ +void rpc__req__gpio_reset__init + (RpcReqGpioReset *message); +size_t rpc__req__gpio_reset__get_packed_size + (const RpcReqGpioReset *message); +size_t rpc__req__gpio_reset__pack + (const RpcReqGpioReset *message, + uint8_t *out); +size_t rpc__req__gpio_reset__pack_to_buffer + (const RpcReqGpioReset *message, + ProtobufCBuffer *buffer); +RpcReqGpioReset * + rpc__req__gpio_reset__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_reset__free_unpacked + (RpcReqGpioReset *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioResetPin methods */ +void rpc__resp__gpio_reset_pin__init + (RpcRespGpioResetPin *message); +size_t rpc__resp__gpio_reset_pin__get_packed_size + (const RpcRespGpioResetPin *message); +size_t rpc__resp__gpio_reset_pin__pack + (const RpcRespGpioResetPin *message, + uint8_t *out); +size_t rpc__resp__gpio_reset_pin__pack_to_buffer + (const RpcRespGpioResetPin *message, + ProtobufCBuffer *buffer); +RpcRespGpioResetPin * + rpc__resp__gpio_reset_pin__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_reset_pin__free_unpacked + (RpcRespGpioResetPin *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetLevel methods */ +void rpc__req__gpio_set_level__init + (RpcReqGpioSetLevel *message); +size_t rpc__req__gpio_set_level__get_packed_size + (const RpcReqGpioSetLevel *message); +size_t rpc__req__gpio_set_level__pack + (const RpcReqGpioSetLevel *message, + uint8_t *out); +size_t rpc__req__gpio_set_level__pack_to_buffer + (const RpcReqGpioSetLevel *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetLevel * + rpc__req__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_level__free_unpacked + (RpcReqGpioSetLevel *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetLevel methods */ +void rpc__resp__gpio_set_level__init + (RpcRespGpioSetLevel *message); +size_t rpc__resp__gpio_set_level__get_packed_size + (const RpcRespGpioSetLevel *message); +size_t rpc__resp__gpio_set_level__pack + (const RpcRespGpioSetLevel *message, + uint8_t *out); +size_t rpc__resp__gpio_set_level__pack_to_buffer + (const RpcRespGpioSetLevel *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetLevel * + rpc__resp__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_level__free_unpacked + (RpcRespGpioSetLevel *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioGetLevel methods */ +void rpc__req__gpio_get_level__init + (RpcReqGpioGetLevel *message); +size_t rpc__req__gpio_get_level__get_packed_size + (const RpcReqGpioGetLevel *message); +size_t rpc__req__gpio_get_level__pack + (const RpcReqGpioGetLevel *message, + uint8_t *out); +size_t rpc__req__gpio_get_level__pack_to_buffer + (const RpcReqGpioGetLevel *message, + ProtobufCBuffer *buffer); +RpcReqGpioGetLevel * + rpc__req__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_get_level__free_unpacked + (RpcReqGpioGetLevel *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioGetLevel methods */ +void rpc__resp__gpio_get_level__init + (RpcRespGpioGetLevel *message); +size_t rpc__resp__gpio_get_level__get_packed_size + (const RpcRespGpioGetLevel *message); +size_t rpc__resp__gpio_get_level__pack + (const RpcRespGpioGetLevel *message, + uint8_t *out); +size_t rpc__resp__gpio_get_level__pack_to_buffer + (const RpcRespGpioGetLevel *message, + ProtobufCBuffer *buffer); +RpcRespGpioGetLevel * + rpc__resp__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_get_level__free_unpacked + (RpcRespGpioGetLevel *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetDirection methods */ +void rpc__req__gpio_set_direction__init + (RpcReqGpioSetDirection *message); +size_t rpc__req__gpio_set_direction__get_packed_size + (const RpcReqGpioSetDirection *message); +size_t rpc__req__gpio_set_direction__pack + (const RpcReqGpioSetDirection *message, + uint8_t *out); +size_t rpc__req__gpio_set_direction__pack_to_buffer + (const RpcReqGpioSetDirection *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetDirection * + rpc__req__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_direction__free_unpacked + (RpcReqGpioSetDirection *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetDirection methods */ +void rpc__resp__gpio_set_direction__init + (RpcRespGpioSetDirection *message); +size_t rpc__resp__gpio_set_direction__get_packed_size + (const RpcRespGpioSetDirection *message); +size_t rpc__resp__gpio_set_direction__pack + (const RpcRespGpioSetDirection *message, + uint8_t *out); +size_t rpc__resp__gpio_set_direction__pack_to_buffer + (const RpcRespGpioSetDirection *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetDirection * + rpc__resp__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_direction__free_unpacked + (RpcRespGpioSetDirection *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioInputEnable methods */ +void rpc__req__gpio_input_enable__init + (RpcReqGpioInputEnable *message); +size_t rpc__req__gpio_input_enable__get_packed_size + (const RpcReqGpioInputEnable *message); +size_t rpc__req__gpio_input_enable__pack + (const RpcReqGpioInputEnable *message, + uint8_t *out); +size_t rpc__req__gpio_input_enable__pack_to_buffer + (const RpcReqGpioInputEnable *message, + ProtobufCBuffer *buffer); +RpcReqGpioInputEnable * + rpc__req__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_input_enable__free_unpacked + (RpcReqGpioInputEnable *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioInputEnable methods */ +void rpc__resp__gpio_input_enable__init + (RpcRespGpioInputEnable *message); +size_t rpc__resp__gpio_input_enable__get_packed_size + (const RpcRespGpioInputEnable *message); +size_t rpc__resp__gpio_input_enable__pack + (const RpcRespGpioInputEnable *message, + uint8_t *out); +size_t rpc__resp__gpio_input_enable__pack_to_buffer + (const RpcRespGpioInputEnable *message, + ProtobufCBuffer *buffer); +RpcRespGpioInputEnable * + rpc__resp__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_input_enable__free_unpacked + (RpcRespGpioInputEnable *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetPullMode methods */ +void rpc__req__gpio_set_pull_mode__init + (RpcReqGpioSetPullMode *message); +size_t rpc__req__gpio_set_pull_mode__get_packed_size + (const RpcReqGpioSetPullMode *message); +size_t rpc__req__gpio_set_pull_mode__pack + (const RpcReqGpioSetPullMode *message, + uint8_t *out); +size_t rpc__req__gpio_set_pull_mode__pack_to_buffer + (const RpcReqGpioSetPullMode *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetPullMode * + rpc__req__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_pull_mode__free_unpacked + (RpcReqGpioSetPullMode *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetPullMode methods */ +void rpc__resp__gpio_set_pull_mode__init + (RpcRespGpioSetPullMode *message); +size_t rpc__resp__gpio_set_pull_mode__get_packed_size + (const RpcRespGpioSetPullMode *message); +size_t rpc__resp__gpio_set_pull_mode__pack + (const RpcRespGpioSetPullMode *message, + uint8_t *out); +size_t rpc__resp__gpio_set_pull_mode__pack_to_buffer + (const RpcRespGpioSetPullMode *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetPullMode * + rpc__resp__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_pull_mode__free_unpacked + (RpcRespGpioSetPullMode *message, + ProtobufCAllocator *allocator); /* Rpc methods */ void rpc__init (Rpc *message); @@ -11154,6 +11691,51 @@ typedef void (*RpcEventWifiDppCfgRecvd_Closure) typedef void (*RpcEventWifiDppFail_Closure) (const RpcEventWifiDppFail *message, void *closure_data); +typedef void (*RpcGpioConfig_Closure) + (const RpcGpioConfig *message, + void *closure_data); +typedef void (*RpcReqGpioConfig_Closure) + (const RpcReqGpioConfig *message, + void *closure_data); +typedef void (*RpcRespGpioConfig_Closure) + (const RpcRespGpioConfig *message, + void *closure_data); +typedef void (*RpcReqGpioReset_Closure) + (const RpcReqGpioReset *message, + void *closure_data); +typedef void (*RpcRespGpioResetPin_Closure) + (const RpcRespGpioResetPin *message, + void *closure_data); +typedef void (*RpcReqGpioSetLevel_Closure) + (const RpcReqGpioSetLevel *message, + void *closure_data); +typedef void (*RpcRespGpioSetLevel_Closure) + (const RpcRespGpioSetLevel *message, + void *closure_data); +typedef void (*RpcReqGpioGetLevel_Closure) + (const RpcReqGpioGetLevel *message, + void *closure_data); +typedef void (*RpcRespGpioGetLevel_Closure) + (const RpcRespGpioGetLevel *message, + void *closure_data); +typedef void (*RpcReqGpioSetDirection_Closure) + (const RpcReqGpioSetDirection *message, + void *closure_data); +typedef void (*RpcRespGpioSetDirection_Closure) + (const RpcRespGpioSetDirection *message, + void *closure_data); +typedef void (*RpcReqGpioInputEnable_Closure) + (const RpcReqGpioInputEnable *message, + void *closure_data); +typedef void (*RpcRespGpioInputEnable_Closure) + (const RpcRespGpioInputEnable *message, + void *closure_data); +typedef void (*RpcReqGpioSetPullMode_Closure) + (const RpcReqGpioSetPullMode *message, + void *closure_data); +typedef void (*RpcRespGpioSetPullMode_Closure) + (const RpcRespGpioSetPullMode *message, + void *closure_data); typedef void (*Rpc_Closure) (const Rpc *message, void *closure_data); @@ -11172,6 +11754,8 @@ extern const ProtobufCEnumDescriptor rpc_feature__descriptor; extern const ProtobufCEnumDescriptor rpc_feature_command__descriptor; extern const ProtobufCEnumDescriptor rpc_feature_option__descriptor; extern const ProtobufCEnumDescriptor rpc_id__descriptor; +extern const ProtobufCEnumDescriptor rpc__gpio_mode__descriptor; +extern const ProtobufCEnumDescriptor rpc__gpio_pull_mode__descriptor; extern const ProtobufCMessageDescriptor wifi_init_config__descriptor; extern const ProtobufCMessageDescriptor wifi_country__descriptor; extern const ProtobufCMessageDescriptor wifi_active_scan_time__descriptor; @@ -11437,6 +12021,21 @@ extern const ProtobufCMessageDescriptor rpc__event__supp_dpp_fail__descriptor; extern const ProtobufCMessageDescriptor rpc__event__wifi_dpp_uri_ready__descriptor; extern const ProtobufCMessageDescriptor rpc__event__wifi_dpp_cfg_recvd__descriptor; extern const ProtobufCMessageDescriptor rpc__event__wifi_dpp_fail__descriptor; +extern const ProtobufCMessageDescriptor rpc__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_reset__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_reset_pin__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_get_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_get_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_direction__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_direction__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_input_enable__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_input_enable__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_pull_mode__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_pull_mode__descriptor; extern const ProtobufCMessageDescriptor rpc__descriptor; PROTOBUF_C__END_DECLS diff --git a/common/proto/esp_hosted_rpc.proto b/common/proto/esp_hosted_rpc.proto index 969fc73..c7c7966 100644 --- a/common/proto/esp_hosted_rpc.proto +++ b/common/proto/esp_hosted_rpc.proto @@ -1,2167 +1,2273 @@ -/* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD */ -/* SPDX-License-Identifier: Apache-2.0 */ - -syntax = "proto3"; - -enum Rpc_WifiBw { - BW_Invalid = 0; - HT20 = 1; - HT40 = 2; -} - -enum Rpc_WifiPowerSave { - PS_Invalid = 0; - MIN_MODEM = 1; - MAX_MODEM = 2; -} - -enum Rpc_WifiSecProt { - Open = 0; - WEP = 1; - WPA_PSK = 2; - WPA2_PSK = 3; - WPA_WPA2_PSK = 4; - WPA2_ENTERPRISE = 5; - WPA3_PSK = 6; - WPA2_WPA3_PSK = 7; -} - -/* enums for Control path */ -enum Rpc_Status { - Connected = 0; - Not_Connected = 1; - No_AP_Found = 2; - Connection_Fail = 3; - Invalid_Argument = 4; - Out_Of_Range = 5; -} - - -enum RpcType { -MsgType_Invalid = 0; - Req = 1; - Resp = 2; - Event = 3; - MsgType_Max = 4; -} - -enum RpcFeature { - Feature_None = 0; - // Bluetooth (BT) Feature - Feature_Bluetooth = 1; - // add additional features here -} - -enum RpcFeatureCommand { - Feature_Command_None = 0; - // Bluetooth (BT) Feature Commands - Feature_Command_BT_Init = 1; - Feature_Command_BT_Deinit = 2; - Feature_Command_BT_Enable = 3; - Feature_Command_BT_Disable = 4; - // add additional feature commands here -} - -enum RpcFeatureOption { - Feature_Option_None = 0; - // Bluetooth (BT) Feature Options - Feature_Option_BT_Deinit_Release_Memory = 1; // release memory when deinit BT - // add additional feature options here -} - -enum RpcId { - MsgId_Invalid = 0; - - /** Request Msgs **/ - Req_Base = 256; //0x100 - - Req_GetMACAddress = 257; //0x101 - Req_SetMacAddress = 258; //0x102 - Req_GetWifiMode = 259; //0x103 - Req_SetWifiMode = 260; //0x104 - - Req_SuppDppInit = 261; //0x105 - Req_SuppDppDeinit = 262; //0x106 - Req_SuppDppBootstrapGen = 263; //0x107 - Req_SuppDppStartListen = 264; //0x108 - Req_SuppDppStopListen = 265; //0x109 - - //Req_SetSoftAPVendorSpecificIE = 266; //0x10a - //Req_StartSoftAP = 267; //0x10b - //Req_GetSoftAPConnectedSTAList = 268; //0x10c - //Req_StopSoftAP = 269; //0x10d - Req_OTAActivate = 266; //0x112 - - Req_WifiSetPs = 270; //0x10e - Req_WifiGetPs = 271; //0x10f - - Req_OTABegin = 272; //0x110 - Req_OTAWrite = 273; //0x111 - Req_OTAEnd = 274; //0x112 - - Req_WifiSetMaxTxPower = 275; //0x113 - Req_WifiGetMaxTxPower = 276; //0x114 - - Req_ConfigHeartbeat = 277; //0x115 - - Req_WifiInit = 278; //0x116 - Req_WifiDeinit = 279; //0x117 - Req_WifiStart = 280; //0x118 - Req_WifiStop = 281; //0x119 - Req_WifiConnect = 282; //0x11a - Req_WifiDisconnect = 283; //0x11b - Req_WifiSetConfig = 284; //0x11c - Req_WifiGetConfig = 285; //0x11d - - Req_WifiScanStart = 286; //0x11e - Req_WifiScanStop = 287; //0x11f - Req_WifiScanGetApNum = 288; //0x120 - Req_WifiScanGetApRecords = 289; //0x121 - Req_WifiClearApList = 290; //0x122 - - Req_WifiRestore = 291; //0x123 - Req_WifiClearFastConnect = 292; //0x124 - Req_WifiDeauthSta = 293; //0x125 - Req_WifiStaGetApInfo = 294; //0x126 - //Req_WifiSetPs = 295; //0x127 - //Req_WifiGetPs = 296; //0x128 - Req_WifiSetProtocol = 297; //0x129 - Req_WifiGetProtocol = 298; //0x12a - Req_WifiSetBandwidth = 299; //0x12b - Req_WifiGetBandwidth = 300; //0x12c - Req_WifiSetChannel = 301; //0x12d - Req_WifiGetChannel = 302; //0x12e - Req_WifiSetCountry = 303; //0x12f - Req_WifiGetCountry = 304; //0x130 - -// Req_WifiSetPromiscuousRxCb = 305; //0x131 - Req_WifiSetPromiscuous = 305; //0x131 - Req_WifiGetPromiscuous = 306; //0x132 - Req_WifiSetPromiscuousFilter = 307; //0x133 - Req_WifiGetPromiscuousFilter = 308; //0x134 - Req_WifiSetPromiscuousCtrlFilter = 309; //0x135 - Req_WifiGetPromiscuousCtrlFilter = 310; //0x136 - - Req_WifiApGetStaList = 311; //0x137 - Req_WifiApGetStaAid = 312; //0x138 - Req_WifiSetStorage = 313; //0x139 - Req_WifiSetVendorIe = 314; //0x13a -// Req_WifiSetVendorIeCb = 315; //0x13b - Req_WifiSetEventMask = 315; //0x13b - Req_WifiGetEventMask = 316; //0x13c - Req_Wifi80211Tx = 317; //0x13d - -// Req_WifiSetCsiRxCb = 318; //0x13e - Req_WifiSetCsiConfig = 318; //0x13e - Req_WifiSetCsi = 319; //0x13f - - Req_WifiSetAntGpio = 320; //0x140 - Req_WifiGetAntGpio = 321; //0x141 - Req_WifiSetAnt = 322; //0x142 - Req_WifiGetAnt = 323; //0x143 - - Req_WifiGetTsfTime = 324; //0x144 - Req_WifiSetInactiveTime = 325; //0x145 - Req_WifiGetInactiveTime = 326; //0x146 - Req_WifiStatisDump = 327; //0x147 - Req_WifiSetRssiThreshold = 328; //0x148 - - Req_WifiFtmInitiateSession = 329; //0x149 - Req_WifiFtmEndSession = 330; //0x14a - Req_WifiFtmRespSetOffset = 331; //0x14b - - Req_WifiConfig11bRate = 332; //0x14c - Req_WifiConnectionlessModuleSetWakeInterval = 333; //0x14d - Req_WifiSetCountryCode = 334; //0x14e - Req_WifiGetCountryCode = 335; //0x14f - Req_WifiConfig80211TxRate = 336; //0x150 - Req_WifiDisablePmfConfig = 337; //0x151 - Req_WifiStaGetAid = 338; //0x152 - Req_WifiStaGetNegotiatedPhymode = 339; //0x153 - Req_WifiSetDynamicCs = 340; //0x154 - Req_WifiStaGetRssi = 341; //0x155 - - Req_WifiSetProtocols = 342; //0x156 - Req_WifiGetProtocols = 343; //0x157 - Req_WifiSetBandwidths = 344; //0x158 - Req_WifiGetBandwidths = 345; //0x159 - - Req_WifiSetBand = 346; //0x15a - Req_WifiGetBand = 347; //0x15b - Req_WifiSetBandMode = 348; //0x15c - Req_WifiGetBandMode = 349; //0x15d - - Req_GetCoprocessorFwVersion = 350; //0x15e - - Req_WifiScanGetApRecord = 351; //0x15f - - Req_SetDhcpDnsStatus = 352; //0x160 - Req_GetDhcpDnsStatus = 353; //0x161 - - Req_WifiStaTwtConfig = 354; //0x162 - Req_WifiStaItwtSetup = 355; //0x163 - Req_WifiStaItwtTeardown = 356; //0x164 - Req_WifiStaItwtSuspend = 357; //0x165 - Req_WifiStaItwtGetFlowIdStatus = 358; //0x166 - Req_WifiStaItwtSendProbeReq = 359; //0x167 - Req_WifiStaItwtSetTargetWakeTimeOffset = 360; //0x168 - - Req_WifiStaEnterpriseEnable = 361; //0x169 - Req_WifiStaEnterpriseDisable = 362; //0x16A - Req_EapSetIdentity = 363; //0x16B - Req_EapClearIdentity = 364; //0x16C - Req_EapSetUsername = 365; //0x16D - Req_EapClearUsername = 366; //0x16E - Req_EapSetPassword = 367; //0x16F - Req_EapClearPassword = 368; //0x170 - Req_EapSetNewPassword = 369; //0x171 - Req_EapClearNewPassword = 370; //0x172 - Req_EapSetCaCert = 371; //0x173 - Req_EapClearCaCert = 372; //0x174 - Req_EapSetCertificateAndKey = 373; //0x175 - Req_EapClearCertificateAndKey = 374; //0x176 - Req_EapGetDisableTimeCheck = 375; //0x177 - Req_EapSetTtlsPhase2Method = 376; //0x178 - Req_EapSetSuitebCertification = 377; //0x179 - Req_EapSetPacFile = 378; //0x17A - Req_EapSetFastParams = 379; //0x17B - Req_EapUseDefaultCertBundle = 380; //0x17C - Req_WifiSetOkcSupport = 381; //0x17D - Req_EapSetDomainName = 382; //0x17E - Req_EapSetDisableTimeCheck = 383; //0x17F - Req_EapSetEapMethods = 384; //0x180 - - Req_IfaceMacAddrSetGet = 385; //0x181 - Req_IfaceMacAddrLenGet = 386; //0x182 - - /* Common RPC to handle simple feature control with one optional parameter - * Supported Features: - * - BT Init/Deinit/Enable/Disable - */ - Req_FeatureControl = 387; //0x183 - - /* Add new control path command response before Req_Max - * and update Req_Max */ - Req_Max = 388; //0x184 - - /** Response Msgs **/ - Resp_Base = 512; - - Resp_GetMACAddress = 513; - Resp_SetMacAddress = 514; - Resp_GetWifiMode = 515; - Resp_SetWifiMode = 516; - - Resp_SuppDppInit = 517; - Resp_SuppDppDeinit = 518; - Resp_SuppDppBootstrapGen = 519; - Resp_SuppDppStartListen = 520; - Resp_SuppDppStopListen = 521; - - //Resp_SetSoftAPVendorSpecificIE = 522; - //Resp_StartSoftAP = 523; - //Resp_GetSoftAPConnectedSTAList = 524; - //Resp_StopSoftAP = 525; - Resp_OTAActivate = 522; - - Resp_WifiSetPs = 526; - Resp_WifiGetPs = 527; - - Resp_OTABegin = 528; - Resp_OTAWrite = 529; - Resp_OTAEnd = 530; - - Resp_WifiSetMaxTxPower = 531; - Resp_WifiGetMaxTxPower = 532; - - Resp_ConfigHeartbeat = 533; - - Resp_WifiInit = 534; - Resp_WifiDeinit = 535; - Resp_WifiStart = 536; - Resp_WifiStop = 537; - Resp_WifiConnect = 538; - Resp_WifiDisconnect = 539; - Resp_WifiSetConfig = 540; - Resp_WifiGetConfig = 541; - - Resp_WifiScanStart = 542; - Resp_WifiScanStop = 543; - Resp_WifiScanGetApNum = 544; - Resp_WifiScanGetApRecords = 545; - Resp_WifiClearApList = 546; - - Resp_WifiRestore = 547; - Resp_WifiClearFastConnect = 548; - Resp_WifiDeauthSta = 549; - Resp_WifiStaGetApInfo = 550; - //Resp_WifiSetPs = 551; - //Resp_WifiGetPs = 552; - Resp_WifiSetProtocol = 553; - Resp_WifiGetProtocol = 554; - Resp_WifiSetBandwidth = 555; - Resp_WifiGetBandwidth = 556; - Resp_WifiSetChannel = 557; - Resp_WifiGetChannel = 558; - Resp_WifiSetCountry = 559; - Resp_WifiGetCountry = 560; - -// Resp_WifiSetPromiscuousRxCb = 561; - Resp_WifiSetPromiscuous = 561; - Resp_WifiGetPromiscuous = 562; - Resp_WifiSetPromiscuousFilter = 563; - Resp_WifiGetPromiscuousFilter = 564; - Resp_WifiSetPromiscuousCtrlFilter = 565; - Resp_WifiGetPromiscuousCtrlFilter = 566; - - Resp_WifiApGetStaList = 567; - Resp_WifiApGetStaAid = 568; - Resp_WifiSetStorage = 569; - Resp_WifiSetVendorIe = 570; -// Resp_WifiSetVendorIeCb = 571; - Resp_WifiSetEventMask = 571; - Resp_WifiGetEventMask = 572; - Resp_Wifi80211Tx = 573; - -// Resp_WifiSetCsiRxCb = 573; - Resp_WifiSetCsiConfig = 574; - Resp_WifiSetCsi = 575; - - Resp_WifiSetAntGpio = 576; - Resp_WifiGetAntGpio = 577; - Resp_WifiSetAnt = 578; - Resp_WifiGetAnt = 579; - - Resp_WifiGetTsfTime = 580; - Resp_WifiSetInactiveTime = 581; - Resp_WifiGetInactiveTime = 582; - Resp_WifiStatisDump = 583; - Resp_WifiSetRssiThreshold = 584; - - Resp_WifiFtmInitiateSession = 585; - Resp_WifiFtmEndSession = 586; - Resp_WifiFtmRespSetOffset = 587; - - Resp_WifiConfig11bRate = 588; - Resp_WifiConnectionlessModuleSetWakeInterval = 589; - Resp_WifiSetCountryCode = 590; - Resp_WifiGetCountryCode = 591; - Resp_WifiConfig80211TxRate = 592; - Resp_WifiDisablePmfConfig = 593; - Resp_WifiStaGetAid = 594; - Resp_WifiStaGetNegotiatedPhymode = 595; - Resp_WifiSetDynamicCs = 596; - Resp_WifiStaGetRssi = 597; - - Resp_WifiSetProtocols = 598; - Resp_WifiGetProtocols = 599; - Resp_WifiSetBandwidths = 600; - Resp_WifiGetBandwidths = 601; - - Resp_WifiSetBand = 602; - Resp_WifiGetBand = 603; - Resp_WifiSetBandMode = 604; - Resp_WifiGetBandMode = 605; - - Resp_GetCoprocessorFwVersion = 606; - - Resp_WifiScanGetApRecord = 607; - - Resp_SetDhcpDnsStatus = 608; - Resp_GetDhcpDnsStatus = 609; - - Resp_WifiStaTwtConfig = 610; - Resp_WifiStaItwtSetup = 611; - Resp_WifiStaItwtTeardown = 612; - Resp_WifiStaItwtSuspend = 613; - Resp_WifiStaItwtGetFlowIdStatus = 614; - Resp_WifiStaItwtSendProbeReq = 615; - Resp_WifiStaItwtSetTargetWakeTimeOffset = 616; - - Resp_WifiStaEnterpriseEnable = 617; - Resp_WifiStaEnterpriseDisable = 618; - Resp_EapSetIdentity = 619; - Resp_EapClearIdentity = 620; - Resp_EapSetUsername = 621; - Resp_EapClearUsername = 622; - Resp_EapSetPassword = 623; - Resp_EapClearPassword = 624; - Resp_EapSetNewPassword = 625; - Resp_EapClearNewPassword = 626; - Resp_EapSetCaCert = 627; - Resp_EapClearCaCert = 628; - Resp_EapSetCertificateAndKey = 629; - Resp_EapClearCertificateAndKey = 630; - Resp_EapGetDisableTimeCheck = 631; - Resp_EapSetTtlsPhase2Method = 632; - Resp_EapSetSuitebCertification = 633; - Resp_EapSetPacFile = 634; - Resp_EapSetFastParams = 635; - Resp_EapUseDefaultCertBundle = 636; - Resp_WifiSetOkcSupport = 637; - Resp_EapSetDomainName = 638; - Resp_EapSetDisableTimeCheck = 639; - Resp_EapSetEapMethods = 640; - - Resp_IfaceMacAddrSetGet = 641; - Resp_IfaceMacAddrLenGet = 642; - Resp_FeatureControl = 643; - - /* Add new control path command response before Resp_Max - * and update Resp_Max */ - Resp_Max = 644; - - /** Event Msgs **/ - Event_Base = 768; - Event_ESPInit = 769; - Event_Heartbeat = 770; - Event_AP_StaConnected = 771; - Event_AP_StaDisconnected = 772; - Event_WifiEventNoArgs = 773; - Event_StaScanDone = 774; - Event_StaConnected = 775; - Event_StaDisconnected = 776; - Event_DhcpDnsStatus = 777; - - Event_StaItwtSetup = 778; - Event_StaItwtTeardown = 779; - Event_StaItwtSuspend = 780; - Event_StaItwtProbe = 781; - - // Supplicant DPP Events received by dpp callback on host - Event_SuppDppUriReady = 782; - Event_SuppDppCfgRecvd = 783; - Event_SuppDppFail = 784; - // Wifi DPP Events - Event_WifiDppUriReady = 785; - Event_WifiDppCfgRecvd = 786; - Event_WifiDppFail = 787; - - /* Add new control path command notification before Event_Max - * and update Event_Max */ - Event_Max = 788; -} - -message wifi_init_config { - int32 static_rx_buf_num = 1; /**< WiFi static RX buffer number */ - int32 dynamic_rx_buf_num = 2; /**< WiFi dynamic RX buffer number */ - int32 tx_buf_type = 3; /**< WiFi TX buffer type */ - int32 static_tx_buf_num = 4; /**< WiFi static TX buffer number */ - int32 dynamic_tx_buf_num = 5; /**< WiFi dynamic TX buffer number */ - int32 cache_tx_buf_num = 6; /**< WiFi TX cache buffer number */ - int32 csi_enable = 7; /**< WiFi channel state information enable flag */ - int32 ampdu_rx_enable = 8; /**< WiFi AMPDU RX feature enable flag */ - int32 ampdu_tx_enable = 9; /**< WiFi AMPDU TX feature enable flag */ - int32 amsdu_tx_enable = 10; /**< WiFi AMSDU TX feature enable flag */ - int32 nvs_enable = 11; /**< WiFi NVS flash enable flag */ - int32 nano_enable = 12; /**< Nano option for printf/scan family enable flag */ - int32 rx_ba_win = 13; /**< WiFi Block Ack RX window size */ - int32 wifi_task_core_id = 14; /**< WiFi Task Core ID */ - int32 beacon_max_len = 15; /**< WiFi softAP maximum length of the beacon */ - int32 mgmt_sbuf_num = 16; /**< WiFi management short buffer number, the minimum value is 6, the maximum value is 32 */ - uint64 feature_caps = 17; /**< Enables additional WiFi features and capabilities */ - bool sta_disconnected_pm = 18; /**< WiFi Power Management for station at disconnected status */ - int32 espnow_max_encrypt_num = 19; /**< Maximum encrypt number of peers supported by espnow */ - int32 magic = 20; /**< WiFi init magic number, it should be the last field */ - int32 rx_mgmt_buf_type = 21; /**< WiFi RX MGMT buffer type */ - int32 rx_mgmt_buf_num = 22; /**< WiFi RX MGMT buffer number */ - int32 tx_hetb_queue_num = 23; /**< WiFi TX HE TB QUEUE number for STA HE TB PPDU transmission */ - int32 dump_hesigb_enable = 24; /**< enable dump sigb field */ -} - -message wifi_country { - bytes cc = 1; /**< country code string of 3 chars*/ - uint32 schan = 2; /**< start channel */ - uint32 nchan = 3; /**< total channel number */ - int32 max_tx_power = 4; /**< This field is used for getting WiFi maximum transmitting power, - call esp_wifi_set_max_tx_power to set the maximum transmitting power. */ - int32 policy = 5; /**< country policy */ -} - - -message wifi_active_scan_time { - uint32 min = 1; /**< minimum active scan time per channel, units: millisecond */ - uint32 max = 2; /**< maximum active scan time per channel, units: millisecond, values above 1500ms may - cause station to disconnect from AP and are not recommended. */ -} ; - -message wifi_scan_time { - wifi_active_scan_time active = 1; /**< active scan time per channel, units: millisecond. */ - uint32 passive = 2; /**< passive scan time per channel, units: millisecond, values above 1500ms may - cause station to disconnect from AP and are not recommended. */ -} - -message wifi_scan_channel_bitmap { - uint32 ghz_2_channels = 1; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */ - uint32 ghz_5_channels = 2; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */ -} - -message wifi_scan_config { - bytes ssid = 1; /**< SSID of AP 33char*/ - bytes bssid = 2; /**< MAC address of AP 6char */ - uint32 channel = 3; /**< channel, scan the specific channel */ - bool show_hidden = 4; /**< enable to scan AP whose SSID is hidden */ - int32 scan_type = 5; /**< scan type, active or passive */ - wifi_scan_time scan_time = 6; /**< scan time per channel */ - uint32 home_chan_dwell_time = 7; /**< time spent at home channel between scanning consecutive channels.*/ - wifi_scan_channel_bitmap channel_bitmap = 8; /**< Channel bitmap for setting specific channels to be scanned. - Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap. - Also, note that only allowed channels configured by wifi_country_t can be scanned. */ -} - -message wifi_he_ap_info { - //uint8_t bss_color:6; /**< an unsigned integer whose value is the BSS Color of the BSS corresponding to the AP */ - //uint8_t partial_bss_color:1; /**< indicate if an AID assignment rule based on the BSS color */ - //uint8_t bss_color_disabled:1; /**< indicate if the use of BSS color is disabled */ - uint32 bitmask = 1; /* Manually have to parse for above bits */ - uint32 bssid_index = 2; /**< in M-BSSID set, identifies the nontransmitted BSSID */ -} - -message wifi_ap_record { - bytes bssid = 1; /**< MAC address of AP 6char */ - bytes ssid = 2; /**< SSID of AP 33char */ - uint32 primary = 3; /**< channel of AP */ - int32 second = 4; /**< secondary channel of AP */ - int32 rssi = 5; /**< signal strength of AP */ - int32 authmode = 6; /**< authmode of AP */ - int32 pairwise_cipher = 7; /**< pairwise cipher of AP */ - int32 group_cipher = 8; /**< group cipher of AP */ - int32 ant = 9; /**< antenna used to receive beacon from AP */ - //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ - //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ - //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ - //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ - //uint32_t wps:1; /**< bit: 4 flag to identify if WPS is supported or not */ - //uint32_t ftm_responder:1; /**< bit: 5 flag to identify if FTM is supported in responder mode */ - //uint32_t ftm_initiator:1; /**< bit: 6 flag to identify if FTM is supported in initiator mode */ - //uint32_t reserved:25; /**< bit: 7..31 reserved */ - uint32 bitmask = 10; /* Manually have to parse for above bits */ - - wifi_country country = 11; /**< country information of AP */ - wifi_he_ap_info he_ap = 12; - uint32 bandwidth = 13; /**< For AP 20 MHz this value is set to 1. For AP 40 MHz this value is set to 2. - For AP 80 MHz this value is set to 3. For AP 160MHz this value is set to 4. - For AP 80+80MHz this value is set to 5*/ - uint32 vht_ch_freq1 = 14; /**< This fields are used only AP bandwidth is 80 and 160 MHz, to transmit the center channel - frequency of the BSS. For AP bandwidth is 80 + 80 MHz, it is the center channel frequency - of the lower frequency segment.*/ - uint32 vht_ch_freq2 = 15; /**< This fields are used only AP bandwidth is 80 + 80 MHz, and is used to transmit the center - channel frequency of the second segment. */ -} - -message wifi_scan_threshold { - int32 rssi = 1; /**< The minimum rssi to accept in the fast scan mode */ - int32 authmode = 2; /**< The weakest authmode to accept in the fast scan mode -Note: Incase this value is not set and password is set as per WPA2 standards(password len >= 8), -it will be defaulted to WPA2 and device won't connect to deprecated WEP/WPA networks. -Please set authmode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks */ - uint32 rssi_5g_adjustment = 3; /**< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection. */ -} - -message wifi_pmf_config { - bool capable = 1; /**< Deprecated variable. Device will always connect in PMF mode if other device also advertizes PMF capability. */ - bool required = 2; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */ -} - -message wifi_bss_max_idle_config { - uint32 period = 1; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature */ - bool protected_keep_alive = 2; /**< Requires clients to use protected keep alive frames for BSS Max Idle period */ -} - -message wifi_ap_config { - bytes ssid = 1; /**< SSID of ESP32 soft-AP. If ssid_len field is 0, this must be a Null terminated string. Otherwise, length is set according to ssid_len. 32 char*/ - bytes password = 2; /**< Password of ESP32 soft-AP. 64 char*/ - uint32 ssid_len = 3; /**< Optional length of SSID field. */ - uint32 channel = 4; /**< Channel of ESP32 soft-AP */ - int32 authmode = 5; /**< Auth mode of ESP32 soft-AP. Do not support AUTH_WEP in soft-AP mode */ - uint32 ssid_hidden = 6; /**< Broadcast SSID or not, default 0, broadcast the SSID */ - uint32 max_connection = 7; /**< Max number of stations allowed to connect in */ - uint32 beacon_interval = 8; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */ - int32 pairwise_cipher = 9; /**< pairwise cipher of SoftAP, group cipher will be derived using this. - cipher values are valid starting from WIFI_CIPHER_TYPE_TKIP, enum values before that will be considered as invalid and default cipher suites(TKIP+CCMP) will be used. - Valid cipher suites in softAP mode are WIFI_CIPHER_TYPE_TKIP, WIFI_CIPHER_TYPE_CCMP and WIFI_CIPHER_TYPE_TKIP_CCMP. */ - bool ftm_responder = 10; /**< Enable FTM Responder mode */ - wifi_pmf_config pmf_cfg = 11; /**< Configuration for Protected Management Frame */ - int32 sae_pwe_h2e = 12; /**< Configuration for SAE PWE derivation method */ - uint32 csa_count = 13; /**< Channel Switch Announcement Count. Notify the station that the channel will switch after the csa_count beacon intervals. Default value: 3 */ - uint32 dtim_period = 14; /**< Dtim period of soft-AP. Range: 1 ~ 10. Default value: 1 */ - uint32 transition_disable = 15; /**< Whether to enable transition disable feature */ - uint32 sae_ext = 16; /**< Enable SAE EXT feature. SOC_GCMP_SUPPORT is required for this feature. */ - wifi_bss_max_idle_config bss_max_idle_cfg = 17; /**< Configuration for bss max idle, effective if CONFIG_WIFI_BSS_MAX_IDLE_SUPPORT is enabled */ - uint32 gtk_rekey_interval = 18; /**< GTK rekeying interval in seconds. If set to 0, GTK rekeying is disabled. Range: 60 ~ 65535 including 0. */ -} - -message wifi_sta_config { - bytes ssid = 1; /**< SSID of target AP. 32char */ - bytes password = 2; /**< Password of target AP. 64char */ - int32 scan_method = 3; /**< do all channel scan or fast scan */ - bool bssid_set = 4; /**< whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0, - and it needs to be 1 only when users need to check the MAC address of the AP.*/ - bytes bssid = 5; /**< MAC address of target AP 6char */ - uint32 channel = 6; /**< channel of target AP. Set to 1~13 to scan starting from the specified channel - before connecting to AP. If the channel of AP is unknown, set it to 0.*/ - uint32 listen_interval = 7; /**< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. -Units: AP beacon intervals. Defaults to 3 if set to 0. */ - int32 sort_method = 8; /**< sort the connect AP in the list by rssi or security mode */ - wifi_scan_threshold threshold = 9; /**< When sort_method is set, only APs which have an auth mode that is more secure - than the selected auth mode and a signal stronger than the minimum RSSI will be used. */ - wifi_pmf_config pmf_cfg = 10; /**< Configuration for Protected Management Frame. Will be advertized in RSN Capabilities in RSN IE. */ - //uint32_t rm_enabled:1; /**< Whether Radio Measurements are enabled for the connection */ - //uint32_t btm_enabled:1; /**< Whether BSS Transition Management is enabled for the connection */ - //uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */ - //uint32_t ft_enabled:1; /**< Whether FT is enabled for the connection */ - //uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */ - //uint32_t transition_disable:1; /**< Whether to enable transition disable feature */ - //uint32_t reserved:26; /**< Reserved for future feature set */ - uint32 bitmask = 11; - int32 sae_pwe_h2e = 12; /**< Whether SAE hash to element is enabled */ - uint32 failure_retry_cnt = 13; /**< Number of connection retries station will do before moving to next AP. - scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. - Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ - //uint32_t he_dcm_set:1; /**< Whether DCM max.constellation for transmission and reception is set. */ - //uint32_t he_dcm_max_constellation_tx:2; /**< Indicate the max.constellation for DCM in TB PPDU the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ - //uint32_t he_dcm_max_constellation_rx:2; /**< Indicate the max.constellation for DCM in both Data field and HE-SIG-B field the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ - //uint32_t he_mcs9_enabled:1; /**< Whether to support HE-MCS 0 to 9. The default value is 0. */ - //uint32_t he_su_beamformee_disabled:1; /**< Whether to disable support for operation as an SU beamformee. */ - //uint32_t he_trig_su_bmforming_feedback_disabled:1; /**< Whether to disable support the transmission of SU feedback in an HE TB sounding sequence. */ - //uint32_t he_trig_mu_bmforming_partial_feedback_disabled:1; /**< Whether to disable support the transmission of partial-bandwidth MU feedback in an HE TB sounding sequence. */ - // uint32_t he_trig_cqi_feedback_disabled:1; /**< Whether to disable support the transmission of CQI feedback in an HE TB sounding sequence. */ - // uint32_t vht_su_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT SU beamformee. */ - // uint32_t vht_mu_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT MU beamformee. */ - // uint32_t vht_mcs8_enabled: 1; /**< Whether to support VHT-MCS8. The default value is 0. */ - // uint32_t he_reserved:19; /**< Reserved for future feature set */ - uint32 he_bitmask = 14; - bytes sae_h2e_identifier = 15; /**< Password identifier for H2E. this needs to be null terminated string. SAE_H2E_IDENTIFIER_LEN chars */ - uint32 sae_pk_mode = 16; /**< Configuration for SAE-PK (Public Key) Authentication method */ -} - -message wifi_config { - oneof u { - wifi_ap_config ap = 1; /**< configuration of AP */ - wifi_sta_config sta = 2; /**< configuration of STA */ - } -} - -message wifi_sta_info { - bytes mac = 1; /**< mac address 6 char */ - int32 rssi = 2; /**< current average rssi of sta connected */ - //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ - //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ - //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ - //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ - //uint32_t phy_11x:1; /**< bit: 4 flag to identify identify if 11ax mode is enabled or not */ - //uint32_t is_mesh_child:1; /**< bit: 5 flag to identify mesh child */ - //uint32_t reserved:26; /**< bit: 6..31 reserved */ - uint32 bitmask = 3; -} - -message wifi_sta_list { - repeated wifi_sta_info sta = 1; /**< station list */ - int32 num = 2; /**< number of stations in the list (other entries are invalid) */ -} - -//message vendor_ie_data { -// uint32 element_id = 1; /**< Should be set to WIFI_VENDOR_IE_ELEMENT_ID (0xDD) */ -// uint32 length = 2; /**< Length of all bytes in the element data following this field. Minimum 4. */ -// bytes vendor_oui = 3; /**< Vendor identifier (OUI). 3 chars */ -// uint32 vendor_oui_type = 4; /**< Vendor-specific OUI type. */ -// bytes payload = 5; /**< Payload. Length is equal to value in 'length' field, minus 4. Note: Variable size */ -//} - -message wifi_pkt_rx_ctrl { - int32 rssi = 1; /**< 8bits Received Signal Strength Indicator(RSSI) of packet. unit: dBm */ - uint32 rate = 2; /**< 5bits PHY rate encoding of the packet. Only valid for non HT(11bg) packet */ - //uint32 :1; /**< reserved */ - uint32 sig_mode = 3; /**< 2bits 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */ - //uint32 :16; /**< reserved */ - uint32 mcs = 4; /**< 7bits Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */ - uint32 cwb = 5; /**< 1bit Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */ - //uint32 :16; /**< reserved */ - uint32 smoothing = 6; /**< 1bit reserved */ - uint32 not_sounding = 7; /**< 1bit reserved */ - //uint32 :1; /**< reserved */ - uint32 aggregation = 8; /**< 1bit Aggregation. 0: MPDU packet; 1: AMPDU packet */ - uint32 stbc = 9; /**< 2bits Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */ - uint32 fec_coding = 10; /**< 1bit Flag is set for 11n packets which are LDPC */ - uint32 sgi = 11; /**< 1bit Short Guide Interval(SGI). 0: Long GI; 1: Short GI */ - int32 noise_floor = 12; /**< 8bits noise floor of Radio Frequency Module(RF). unit: dBm*/ - uint32 ampdu_cnt = 13; /**< 8bits ampdu cnt */ - uint32 channel = 14; /**< 4bits primary channel on which this packet is received */ - uint32 secondary_channel = 15; /**< 4bits secondary channel on which this packet is received. 0: none; 1: above; 2: below */ - //uint32 :8; /**< reserved */ - uint32 timestamp = 16; /**< 32bit timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */ - //uint32 :32; /**< reserved */ - //unsigned :32; /**< reserved */ - //unsigned :31; /**< reserved */ - uint32 ant = 17; /**< 1bit antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */ - uint32 sig_len = 18; /**< 12bits length of packet including Frame Check Sequence(FCS) */ - //unsigned :12; /**< reserved */ - uint32 rx_state = 19; /**< 8bits state of the packet. 0: no error; others: error numbers which are not public */ -} - -message wifi_promiscuous_pkt { - wifi_pkt_rx_ctrl rx_ctrl = 1; /**< metadata header */ - bytes payload = 2; /**< Note: variable length. Data or management payload. Length of payload is described by rx_ctrl.sig_len. Type of content determined by packet type argument of callback. */ -} - -message wifi_promiscuous_filter { - uint32 filter_mask = 1; /**< OR of one or more filter values WIFI_PROMIS_FILTER_* */ -} - -message wifi_csi_config { - bool lltf_en = 1; /**< enable to receive legacy long training field(lltf) data. Default enabled */ - bool htltf_en = 2; /**< enable to receive HT long training field(htltf) data. Default enabled */ - bool stbc_htltf2_en = 3; /**< enable to receive space time block code HT long training field(stbc-htltf2) data. Default enabled */ - bool ltf_merge_en = 4; /**< enable to generate htlft data by averaging lltf and ht_ltf data when receiving HT packet. Otherwise, use ht_ltf data directly. Default enabled */ - bool channel_filter_en = 5; /**< enable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier. Default enabled */ - bool manu_scale = 6; /**< manually scale the CSI data by left shifting or automatically scale the CSI data. - If set true, please set the shift bits. false: automatically. true: manually. Default false */ - uint32 shift = 7; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */ -} - -message wifi_csi_info { - wifi_pkt_rx_ctrl rx_ctrl = 1; /**< received packet radio metadata header of the CSI data */ - bytes mac = 2; /**< 6bits source MAC address of the CSI data */ - bytes dmac = 3; /**< 6bits destination MAC address of the CSI data */ - bool first_word_invalid = 4; /**< first four bytes of the CSI data is invalid or not */ - bytes buf = 5; /**< Note: variable length. buffer of CSI data */ - uint32 len = 6; /**< length of CSI data */ -} - -message wifi_ant_gpio { - uint32 gpio_select = 1; /**< 1bit Whether this GPIO is connected to external antenna switch */ - uint32 gpio_num = 2; /**< 7bits The GPIO number that connects to external antenna switch */ -} - -message wifi_ant_gpio_config { - repeated wifi_ant_gpio gpio_cfgs = 1; /**< The configurations of GPIOs that connect to external antenna switch */ -} - -message wifi_ant_config { - int32 rx_ant_mode = 1; /**< WiFi antenna mode for receiving */ - int32 rx_ant_default = 2; /**< Default antenna mode for receiving, it's ignored if rx_ant_mode is not WIFI_ANT_MODE_AUTO */ - int32 tx_ant_mode = 3; /**< WiFi antenna mode for transmission, it can be set to WIFI_ANT_MODE_AUTO only if rx_ant_mode is set to WIFI_ANT_MODE_AUTO */ - uint32 enabled_ant0 = 4; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT0 */ - uint32 enabled_ant1 = 5; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT1 */ -} - -message wifi_action_tx_req { - int32 ifx = 1; /**< WiFi interface to send request to */ - bytes dest_mac = 2; /**< 6bits Destination MAC address */ - bool no_ack = 3; /**< Indicates no ack required */ - //TODO - //wifi_action_rx_cb_t rx_cb; /**< Rx Callback to receive any response */ - uint32 data_len = 4; /**< Length of the appended Data */ - bytes data = 5; /**< note: variable length. Appended Data payload */ -} - -message wifi_ftm_initiator_cfg { - bytes resp_mac = 1; /**< 6bits MAC address of the FTM Responder */ - uint32 channel = 2; /**< Primary channel of the FTM Responder */ - uint32 frm_count = 3; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */ - uint32 burst_period = 4; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */ -} - -message wifi_event_sta_scan_done { - uint32 status = 1; /**< status of scanning APs: 0 — success, 1 - failure */ - uint32 number = 2; /**< number of scan results */ - uint32 scan_id = 3; /**< scan sequence number, used for block scan */ -} - -message wifi_event_sta_connected { - bytes ssid = 1; /**< 32bytes SSID of connected AP */ - uint32 ssid_len = 2; /**< SSID length of connected AP */ - bytes bssid = 3; /**< 6bytes BSSID of connected AP*/ - uint32 channel = 4; /**< channel of connected AP*/ - int32 authmode = 5; /**< authentication mode used by AP*/ - int32 aid = 6; /**< authentication id assigned by the connected AP*/ -} - -message wifi_event_sta_disconnected { - bytes ssid = 1; /**< SSID of disconnected AP */ - uint32 ssid_len = 2; /**< SSID length of disconnected AP */ - bytes bssid = 3; /**< BSSID of disconnected AP */ - uint32 reason = 4; /**< reason of disconnection */ - int32 rssi = 5; /**< rssi of disconnection */ -} - -message wifi_event_sta_authmode_change { - int32 old_mode = 1; /**< the old auth mode of AP */ - int32 new_mode = 2; /**< the new auth mode of AP */ -} - -message wifi_event_sta_wps_er_pin { - bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ -} - -message ap_cred { - bytes ssid = 1; /**< 32bytes SSID of AP */ - bytes passphrase = 2; /**< 64bytes Passphrase for the AP */ -} - -message wifi_event_sta_wps_er_success { - uint32 ap_cred_cnt = 1; /**< Number of AP credentials received */ - repeated ap_cred ap_creds = 2; /**< All AP credentials received from WPS handshake */ -} - -/** Argument structure for WIFI_EVENT_AP_PROBEREQRECVED event */ -message wifi_event_ap_probe_req_rx { - int32 rssi = 1; /**< Received probe request signal strength */ - uint32 mac = 2; /**< MAC address of the station which send probe request */ -} - -/** Argument structure for WIFI_EVENT_STA_BSS_RSSI_LOW event */ -message wifi_event_bss_rssi_low { - int32 rssi = 1; /**< RSSI value of bss */ -} - -message wifi_ftm_report_entry { - uint32 dlog_token = 1; /* *< Dialog Token of the FTM frame */ - int32 rssi = 2; /* *< RSSI of the FTM frame received */ - uint32 rtt = 3; /* *< Round Trip Time in pSec with a peer */ - /* TODO: uint32 is supported by proto? */ - uint64 t1 = 4; /* *< Time of departure of FTM frame from FTM Responder in pSec */ - uint64 t2 = 5; /* *< Time of arrival of FTM frame at FTM Initiator in pSec */ - uint64 t3 = 6; /* *< Time of departure of ACK from FTM Initiator in pSec */ - uint64 t4 = 7; /* *< Time of arrival of ACK at FTM Responder in pSec */ -} - -message wifi_event_ftm_report { - bytes peer_mac = 1; /* *< 6bytes MAC address of the FTM Peer */ - int32 status = 2; /* *< Status of the FTM operation */ - uint32 rtt_raw = 3; /* *< Raw average Round-Trip-Time with peer in Nano-Seconds */ - uint32 rtt_est = 4; /* *< Estimated Round-Trip-Time with peer in Nano-Seconds */ - uint32 dist_est = 5; /* *< Estimated one-way distance in Centi-Meters */ - repeated wifi_ftm_report_entry ftm_report_data = 6; /* *< Note var len Pointer to FTM Report with multiple entries, should be freed after use */ - uint32 ftm_report_num_entries = 7; /* *< Number of entries in the FTM Report data */ -} - -message wifi_event_action_tx_status { - int32 ifx = 1; /**< WiFi interface to send request to */ - uint32 context = 2; /**< Context to identify the request */ - bytes da = 3; /**< 6bytes Destination MAC address */ - uint32 status = 4; /**< Status of the operation */ -} - -message wifi_event_roc_done { - uint32 context = 1; /**< Context to identify the request */ -} - -message wifi_event_ap_wps_rg_pin { - bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ -} - -message wifi_event_ap_wps_rg_fail_reason { - int32 reason = 1; /**< WPS failure reason wps_fail_reason_t */ - bytes peer_macaddr = 2; /**< 6bytes Enrollee mac address */ -} - -message wifi_event_ap_wps_rg_success { - bytes peer_macaddr = 1; /**< 6bytes Enrollee mac address */ -} - -message wifi_protocols { - uint32 ghz_2g = 1; /**< Represents 2.4 GHz protocol, support 802.11b or 802.11g or 802.11n or 802.11ax or LR mode */ - uint32 ghz_5g = 2; /**< Represents 5 GHz protocol, support 802.11a or 802.11n or 802.11ac or 802.11ax */ -} - -message wifi_bandwidths { - uint32 ghz_2g = 1; /* Represents 2.4 GHz bandwidth */ - uint32 ghz_5g = 2; /* Represents 5 GHz bandwidth */ -} - -message wifi_itwt_setup_config { - uint32 setup_cmd = 1; - // uint16_t trigger : 1; /**< 1: a trigger-enabled individual TWT, 0: a non-trigger-enabled individual TWT */ - // uint16_t flow_type : 1; /**< 0: an announced individual TWT, 1: an unannounced individual TWT */ - // uint16_t flow_id : 3; /**< When set up an individual TWT agreement, the flow id will be assigned by AP after a successful agreement setup. - // flow_id could be specified to a value in the range of [0, 7], but it might be changed by AP in the response. - // When change TWT parameters of the existing TWT agreement, flow_id should be an existing one. The value range is [0, 7]. */ - // uint16_t wake_invl_expn : 5; /**< Individual TWT Wake Interval Exponent. The value range is [0, 31]. */ - // uint16_t wake_duration_unit : 1; /**< Individual TWT Wake duration unit, 0: 256us 1: TU (TU = 1024us)*/ - // uint16_t reserved : 5; /**< bit: 11.15 reserved */ - uint32 bitmask_1 = 2; - uint32 min_wake_dura = 3; - uint32 wake_invl_mant = 4; - uint32 twt_id = 5; - uint32 timeout_time_ms = 6; -} - -message wifi_twt_config { - bool post_wakeup_event = 1; /**< post twt wakeup event */ - bool twt_enable_keep_alive = 2; /**< twt enable send qos null to keep alive */ -} - -/* internal supporting structures for Rpc */ -//message ScanResult { -// bytes bssid = 1; -// bytes ssid = 2; -// uint32 chnl = 3; -// int32 rssi = 4; -// int32 sec_prot = 5; -//} - -message ConnectedSTAList { - bytes mac = 1; - int32 rssi = 2; -} - -message eap_fast_config { - int32 fast_provisioning = 1; // Enable or disable Fast Provisioning in EAP-FAST (0 = disabled, 1 = enabled) - int32 fast_max_pac_list_len = 2; // Maximum length of the PAC (Protected Access Credential) list - bool fast_pac_format_binary = 3; // Set to true for binary format PAC, false for ASCII format PAC -} - -/* Control path structures */ -/** Req/Resp structure **/ -message Rpc_Req_GetMacAddress { - int32 mode = 1; -} - -message Rpc_Resp_GetMacAddress { - bytes mac = 1; - int32 resp = 2; -} - -message Rpc_Req_GetMode { -} - -message Rpc_Resp_GetMode { - int32 mode = 1; - int32 resp = 2; -} - -message Rpc_Req_SetMode { - int32 mode = 1; -} - -message Rpc_Resp_SetMode { - int32 resp = 1; -} - -message Rpc_Req_GetPs { -} - -message Rpc_Resp_GetPs { - int32 resp = 1; - int32 type = 2; -} - -message Rpc_Req_SetPs { - int32 type = 1; -} - -message Rpc_Resp_SetPs { - int32 resp = 1; -} - -message Rpc_Req_SetMacAddress { - bytes mac = 1; - int32 mode = 2; -} - -message Rpc_Resp_SetMacAddress { - int32 resp = 1; -} - -message Rpc_Req_OTABegin { -} - -message Rpc_Resp_OTABegin { - int32 resp = 1; -} - -message Rpc_Req_OTAWrite { - bytes ota_data = 1; -} - -message Rpc_Resp_OTAWrite { - int32 resp = 1; -} - -message Rpc_Req_OTAEnd { -} - -message Rpc_Resp_OTAEnd { - int32 resp = 1; -} - -message Rpc_Req_OTAActivate { -} - -message Rpc_Resp_OTAActivate { - int32 resp = 1; -} - -message Rpc_Req_WifiSetMaxTxPower { - int32 power = 1; -} - -message Rpc_Resp_WifiSetMaxTxPower { - int32 resp = 1; -} - -message Rpc_Req_WifiGetMaxTxPower { -} - -message Rpc_Resp_WifiGetMaxTxPower { - int32 power = 1; - int32 resp = 2; -} - -message Rpc_Req_ConfigHeartbeat { - bool enable = 1; - int32 duration = 2; -} - -message Rpc_Resp_ConfigHeartbeat { - int32 resp = 1; -} - -message Rpc_Req_WifiInit { - wifi_init_config cfg = 1; -} - -message Rpc_Resp_WifiInit { - int32 resp = 1; -} - -message Rpc_Req_WifiDeinit { -} - -message Rpc_Resp_WifiDeinit { - int32 resp = 1; -} - -message Rpc_Req_WifiSetConfig { - int32 iface = 1; - wifi_config cfg = 2; -} - -message Rpc_Resp_WifiSetConfig { - int32 resp = 1; -} - -message Rpc_Req_WifiGetConfig { - int32 iface = 1; -} - -message Rpc_Resp_WifiGetConfig { - int32 resp = 1; - int32 iface = 2; - wifi_config cfg = 3; -} - -message Rpc_Req_WifiConnect { -} - -message Rpc_Resp_WifiConnect { - int32 resp = 1; -} - -message Rpc_Req_WifiDisconnect { -} - -message Rpc_Resp_WifiDisconnect { - int32 resp = 1; -} - -message Rpc_Req_WifiStart { -} - -message Rpc_Resp_WifiStart { - int32 resp = 1; -} - -message Rpc_Req_WifiStop { -} - -message Rpc_Resp_WifiStop { - int32 resp = 1; -} - -message Rpc_Req_WifiScanStart { - wifi_scan_config config = 1; - bool block = 2; - int32 config_set = 3; -} - -message Rpc_Resp_WifiScanStart { - int32 resp = 1; -} - -message Rpc_Req_WifiScanStop { -} - -message Rpc_Resp_WifiScanStop { - int32 resp = 1; -} - -message Rpc_Req_WifiScanGetApNum { -} - -message Rpc_Resp_WifiScanGetApNum { - int32 resp = 1; - int32 number = 2; -} - -message Rpc_Req_WifiScanGetApRecords { - int32 number = 1; -} - -message Rpc_Resp_WifiScanGetApRecords { - int32 resp = 1; - int32 number = 2; - repeated wifi_ap_record ap_records = 3; -} - -message Rpc_Req_WifiScanGetApRecord { -} - -message Rpc_Resp_WifiScanGetApRecord { - int32 resp = 1; - wifi_ap_record ap_record = 2; -} - -message Rpc_Req_WifiClearApList { -} - -message Rpc_Resp_WifiClearApList { - int32 resp = 1; -} - -message Rpc_Req_WifiRestore { -} - -message Rpc_Resp_WifiRestore { - int32 resp = 1; -} - -message Rpc_Req_WifiClearFastConnect{ -} - -message Rpc_Resp_WifiClearFastConnect { - int32 resp = 1; -} - -message Rpc_Req_WifiDeauthSta { - int32 aid = 1; -} - -message Rpc_Resp_WifiDeauthSta { - int32 resp = 1; - int32 aid = 2; -} - -message Rpc_Req_WifiStaGetApInfo { -} - -message Rpc_Resp_WifiStaGetApInfo { - int32 resp = 1; - wifi_ap_record ap_record = 2; -} - -message Rpc_Req_WifiSetProtocol { - int32 ifx = 1; - int32 protocol_bitmap = 2; -} - -message Rpc_Resp_WifiSetProtocol { - int32 resp = 1; -} - -message Rpc_Req_WifiGetProtocol { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetProtocol { - int32 resp = 1; - int32 protocol_bitmap = 2; -} - -message Rpc_Req_WifiSetBandwidth { - int32 ifx = 1; - int32 bw = 2; -} - -message Rpc_Resp_WifiSetBandwidth { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBandwidth { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetBandwidth { - int32 resp = 1; - int32 bw = 2; -} - -message Rpc_Req_WifiSetChannel { - int32 primary = 1; - int32 second = 2; -} - -message Rpc_Resp_WifiSetChannel { - int32 resp = 1; -} - -message Rpc_Req_WifiGetChannel { -} - -message Rpc_Resp_WifiGetChannel { - int32 resp = 1; - int32 primary = 2; - int32 second = 3; -} - -message Rpc_Req_WifiSetStorage { - int32 storage = 1; -} - -message Rpc_Resp_WifiSetStorage { - int32 resp = 1; -} - -message Rpc_Req_WifiSetCountryCode { - bytes country = 1; - bool ieee80211d_enabled = 2; -} - -message Rpc_Resp_WifiSetCountryCode { - int32 resp = 1; -} - -message Rpc_Req_WifiGetCountryCode { -} - -message Rpc_Resp_WifiGetCountryCode { - int32 resp = 1; - bytes country = 2; -} - -message Rpc_Req_WifiSetCountry { - wifi_country country = 1; -} - -message Rpc_Resp_WifiSetCountry { - int32 resp = 1; -} - -message Rpc_Req_WifiGetCountry { -} - -message Rpc_Resp_WifiGetCountry { - int32 resp = 1; - wifi_country country = 2; -} - -message Rpc_Req_WifiApGetStaList { -} - -message Rpc_Resp_WifiApGetStaList { - int32 resp = 1; - wifi_sta_list sta_list = 2; -} - -message Rpc_Req_WifiApGetStaAid { - bytes mac = 1; -} - -message Rpc_Req_WifiStaGetNegotiatedPhymode { -} - -message Rpc_Resp_WifiStaGetNegotiatedPhymode { - int32 resp = 1; - uint32 phymode = 2; -} - -message Rpc_Resp_WifiApGetStaAid { - int32 resp = 1; - uint32 aid = 2; -} - -message Rpc_Req_WifiStaGetRssi { -} - -message Rpc_Resp_WifiStaGetRssi { - int32 resp = 1; - int32 rssi = 2; -} - -message Rpc_Req_WifiStaGetAid { -} - -message Rpc_Resp_WifiStaGetAid { - int32 resp = 1; - uint32 aid = 2; -} - -message Rpc_Req_WifiSetProtocols { - int32 ifx = 1; - wifi_protocols protocols = 2; -} - -message Rpc_Resp_WifiSetProtocols { - int32 resp = 1; - uint32 ifx = 2; -} - -message Rpc_Req_WifiGetProtocols { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetProtocols { - int32 resp = 1; - int32 ifx = 2; - wifi_protocols protocols = 3; -} - -message Rpc_Req_WifiSetBandwidths { - int32 ifx = 1; - wifi_bandwidths bandwidths = 2; -} - -message Rpc_Resp_WifiSetBandwidths { - int32 resp = 1; - int32 ifx = 2; -} - -message Rpc_Req_WifiGetBandwidths { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetBandwidths { - int32 resp = 1; - int32 ifx = 2; - wifi_bandwidths bandwidths = 3; -} - -message Rpc_Req_WifiSetBand { - uint32 band = 1; -} - -message Rpc_Resp_WifiSetBand { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBand { -} - -message Rpc_Resp_WifiGetBand { - int32 resp = 1; - uint32 band = 2; -} - -message Rpc_Req_WifiSetBandMode { - uint32 bandmode = 1; -} - -message Rpc_Resp_WifiSetBandMode { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBandMode { -} - -message Rpc_Resp_WifiGetBandMode { - int32 resp = 1; - uint32 bandmode = 2; -} - -message Rpc_Req_WifiSetInactiveTime { - uint32 ifx = 1; - uint32 sec = 2; -} - -message Rpc_Resp_WifiSetInactiveTime { - int32 resp = 1; -} - -message Rpc_Req_WifiGetInactiveTime { - uint32 ifx = 1; -} - -message Rpc_Resp_WifiGetInactiveTime { - int32 resp = 1; - uint32 sec = 2; -} - -message Rpc_Req_WifiStaItwtSetup { - wifi_itwt_setup_config setup_config = 1; -} - -message Rpc_Resp_WifiStaItwtSetup { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtTeardown { - int32 flow_id = 1; -} - -message Rpc_Resp_WifiStaItwtTeardown { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtSuspend { - int32 flow_id = 1; - int32 suspend_time_ms = 2; -} - -message Rpc_Resp_WifiStaItwtSuspend { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtGetFlowIdStatus { -} - -message Rpc_Resp_WifiStaItwtGetFlowIdStatus { - int32 resp = 1; - int32 flow_id_bitmap = 2; -} - -message Rpc_Req_WifiStaItwtSendProbeReq { - int32 timeout_ms = 1; -} - -message Rpc_Resp_WifiStaItwtSendProbeReq { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset { - int32 offset_us = 1; -} - -message Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset { - int32 resp = 1; -} - -message Rpc_Req_WifiStaTwtConfig { - wifi_twt_config config = 1; -} - -message Rpc_Resp_WifiStaTwtConfig { - int32 resp = 1; -} - -message Rpc_Req_GetCoprocessorFwVersion { -} - -message Rpc_Resp_GetCoprocessorFwVersion { - int32 resp = 1; - uint32 major1 = 2; - uint32 minor1 = 3; - uint32 patch1 = 4; -} - -message Rpc_Req_SetDhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; -} - -message Rpc_Resp_SetDhcpDnsStatus { - int32 resp = 1; -} - -message Rpc_Req_GetDhcpDnsStatus { - int32 iface = 1; -} - -message Rpc_Resp_GetDhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; - int32 resp = 10; -} - -message Rpc_Req_SuppDppInit { - bool cb = 1; // enables sending of Event_SuppDpp to host via callback -} - -message Rpc_Resp_SuppDppInit { - int32 resp = 1; -} - -message Rpc_Req_SuppDppDeinit { -} - -message Rpc_Resp_SuppDppDeinit { - int32 resp = 1; -} - -message Rpc_Req_SuppDppBootstrapGen { - bytes chan_list = 1; // DPP Bootstrapping listen channels separated by commas - int32 type = 2; // Bootstrap method type, only QR Code method is supported for now. - bytes key = 3; // (Optional) 32 byte Raw Private Key for generating a Bootstrapping Public Key - bytes info = 4; // (Optional) Ancillary Device Information like Serial Number -} - -message Rpc_Resp_SuppDppBootstrapGen { - int32 resp = 1; -} - -message Rpc_Req_SuppDppStartListen { -} - -message Rpc_Resp_SuppDppStartListen { - int32 resp = 1; -} - -message Rpc_Req_SuppDppStopListen { -} - -message Rpc_Resp_SuppDppStopListen { - int32 resp = 1; -} - -message Rpc_Req_IfaceMacAddrSetGet { - bool set = 1; - uint32 type = 2; - bytes mac = 3; // only valid for set -}; - -message Rpc_Resp_IfaceMacAddrSetGet { - int32 resp = 1; - bool set = 2; - uint32 type = 3; - bytes mac = 4; -}; - -message Rpc_Req_IfaceMacAddrLenGet { - uint32 type = 1; -}; - -message Rpc_Resp_IfaceMacAddrLenGet { - int32 resp = 1; - uint32 type = 2; - uint32 len = 3; -}; - -message Rpc_Req_FeatureControl { - RpcFeature feature = 1; - RpcFeatureCommand command = 2; - RpcFeatureOption option = 3; -}; - -message Rpc_Resp_FeatureControl { - int32 resp = 1; - RpcFeature feature = 2; - RpcFeatureCommand command = 3; - RpcFeatureOption option = 4; -}; - -/** Event structure **/ - -message Rpc_Event_WifiEventNoArgs { - int32 resp = 1; - int32 event_id = 2; -} - -message Rpc_Event_ESPInit { - bytes init_data = 1; -} - -message Rpc_Event_Heartbeat { - int32 hb_num = 1; -} - -message Rpc_Event_AP_StaDisconnected { - int32 resp = 1; - bytes mac = 2; - uint32 aid = 3; - bool is_mesh_child = 4; - uint32 reason = 5; -} - -message Rpc_Event_AP_StaConnected { - int32 resp = 1; - bytes mac = 2; - uint32 aid = 3; - bool is_mesh_child = 4; -} - -message Rpc_Event_StaScanDone { - int32 resp = 1; - wifi_event_sta_scan_done scan_done = 2; -} - -message Rpc_Event_StaConnected { - int32 resp = 1; - wifi_event_sta_connected sta_connected = 2; -} - -message Rpc_Event_StaDisconnected { - int32 resp = 1; - wifi_event_sta_disconnected sta_disconnected = 2; -} - -message Rpc_Event_DhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; - int32 resp = 10; -} - -message Rpc_Event_StaItwtSetup { - int32 resp = 1; - wifi_itwt_setup_config config = 2; - int32 status = 3; - uint32 reason = 4; - uint64 target_wake_time = 5; -} - -message Rpc_Event_StaItwtTeardown { - int32 resp = 1; - uint32 flow_id = 2; - uint32 status = 3; -} - -message Rpc_Event_StaItwtSuspend { - int32 resp = 1; - int32 status = 2; - uint32 flow_id_bitmap = 3; - repeated uint32 actual_suspend_time_ms = 4; // represents uint32_t actual_suspend_time_ms[] -} - -message Rpc_Event_StaItwtProbe { - int32 resp = 1; - int32 status = 2; - uint32 reason = 3; -} - -message Rpc_Req_WifiStaEnterpriseEnable { -} - -message Rpc_Resp_WifiStaEnterpriseEnable { - int32 resp = 1; -} - -message Rpc_Req_WifiStaEnterpriseDisable { -} - -message Rpc_Resp_WifiStaEnterpriseDisable { - int32 resp = 1; -} - -message Rpc_Req_EapSetIdentity { - bytes identity = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetIdentity { - int32 resp = 1; -} - -message Rpc_Req_EapClearIdentity { -} - -message Rpc_Resp_EapClearIdentity { - int32 resp = 1; -} - -message Rpc_Req_EapSetUsername { - bytes username = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetUsername { - int32 resp = 1; -} - -message Rpc_Req_EapClearUsername { -} - -message Rpc_Resp_EapClearUsername { - int32 resp = 1; -} - -message Rpc_Req_EapSetPassword { - bytes password = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetPassword { - int32 resp = 1; -} - -message Rpc_Req_EapClearPassword { -} - -message Rpc_Resp_EapClearPassword { - int32 resp = 1; -} - -message Rpc_Req_EapSetNewPassword { - bytes new_password = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetNewPassword { - int32 resp = 1; -} - -message Rpc_Req_EapClearNewPassword { -} - -message Rpc_Resp_EapClearNewPassword { - int32 resp = 1; -} - -message Rpc_Req_EapSetCaCert { - bytes ca_cert = 1; - int32 ca_cert_len = 2; -} - -message Rpc_Resp_EapSetCaCert { - int32 resp = 1; -} - -message Rpc_Req_EapClearCaCert { -} - -message Rpc_Resp_EapClearCaCert { - int32 resp = 1; -} - -message Rpc_Req_EapSetCertificateAndKey { - bytes client_cert = 1; - int32 client_cert_len = 2; - bytes private_key = 3; - int32 private_key_len = 4; - bytes private_key_password = 5; - int32 private_key_passwd_len = 6; -} - -message Rpc_Resp_EapSetCertificateAndKey { - int32 resp = 1; -} - -message Rpc_Req_EapClearCertificateAndKey { -} - -message Rpc_Resp_EapClearCertificateAndKey { - int32 resp = 1; -} - -message Rpc_Req_EapSetDisableTimeCheck { - bool disable = 1; -} - -message Rpc_Resp_EapSetDisableTimeCheck { - int32 resp = 1; -} - -message Rpc_Req_EapGetDisableTimeCheck { -} - -message Rpc_Resp_EapGetDisableTimeCheck { - int32 resp = 1; - bool disable = 2; -} - -message Rpc_Req_EapSetTtlsPhase2Method { - int32 type = 1; -} - -message Rpc_Resp_EapSetTtlsPhase2Method { - int32 resp = 1; -} - -message Rpc_Req_EapSetSuiteb192bitCertification { - bool enable = 1; -} - -message Rpc_Resp_EapSetSuiteb192bitCertification { - int32 resp = 1; -} - -message Rpc_Req_EapSetPacFile { - bytes pac_file = 1; - int32 pac_file_len = 2; -} - -message Rpc_Resp_EapSetPacFile { - int32 resp = 1; -} - -message Rpc_Req_EapSetFastParams { - eap_fast_config eap_fast_config = 1; -} - -message Rpc_Resp_EapSetFastParams { - int32 resp = 1; -} - -message Rpc_Req_EapUseDefaultCertBundle { - bool use_default_bundle = 1; -} - -message Rpc_Resp_EapUseDefaultCertBundle { - int32 resp = 1; -} - -message Rpc_Req_WifiSetOkcSupport { - bool enable = 1; -} - -message Rpc_Resp_WifiSetOkcSupport { - int32 resp = 1; -} - -message Rpc_Req_EapSetDomainName { - bytes domain_name = 1; -} - -message Rpc_Resp_EapSetDomainName { - int32 resp = 1; -} - -message Rpc_Req_EapSetEapMethods { - int32 methods = 1; -} - -message Rpc_Resp_EapSetEapMethods { - int32 resp = 1; -} - -message Rpc_Event_SuppDppUriReady { - int32 resp = 1; - bytes qrcode = 2; // QR Code to configure the enrollee -} - -message Rpc_Event_SuppDppCfgRecvd { - int32 resp = 1; - wifi_config cfg = 2; -} - -message Rpc_Event_SuppDppFail { - int32 resp = 1; - int32 reason = 2; // failure reason -} - -message Rpc_Event_WifiDppUriReady { - int32 resp = 1; - bytes qrcode = 2; // QR Code to configure the enrollee -} - -message Rpc_Event_WifiDppCfgRecvd { - int32 resp = 1; - wifi_config cfg = 2; -} - -message Rpc_Event_WifiDppFail { - int32 resp = 1; - int32 reason = 2; // failure reason -} - -message Rpc { - /* msg_type could be req, resp or Event */ - RpcType msg_type = 1; - - /* msg id */ - RpcId msg_id = 2; - - /* UID of message */ - uint32 uid = 3; - - /* union of all msg ids */ - oneof payload { - /** Requests **/ - Rpc_Req_GetMacAddress req_get_mac_address = 257; - Rpc_Req_SetMacAddress req_set_mac_address = 258; - Rpc_Req_GetMode req_get_wifi_mode = 259; - Rpc_Req_SetMode req_set_wifi_mode = 260; - - Rpc_Req_SuppDppInit req_supp_dpp_init = 261; - Rpc_Req_SuppDppDeinit req_supp_dpp_deinit = 262; - Rpc_Req_SuppDppBootstrapGen req_supp_dpp_bootstrap_gen = 263; - Rpc_Req_SuppDppStartListen req_supp_dpp_start_listen = 264; - Rpc_Req_SuppDppStopListen req_supp_dpp_stop_listen = 265; - - //Rpc_Req_StartSoftAP req_start_softap = 267; - //Rpc_Req_SoftAPConnectedSTA req_softap_connected_stas_list = 268; - //Rpc_Req_GetStatus req_stop_softap = 269; - Rpc_Req_OTAActivate req_ota_activate = 266; - - Rpc_Req_SetPs req_wifi_set_ps = 270; - Rpc_Req_GetPs req_wifi_get_ps = 271; - - Rpc_Req_OTABegin req_ota_begin = 272; - Rpc_Req_OTAWrite req_ota_write = 273; - Rpc_Req_OTAEnd req_ota_end = 274; - - Rpc_Req_WifiSetMaxTxPower req_set_wifi_max_tx_power = 275; - Rpc_Req_WifiGetMaxTxPower req_get_wifi_max_tx_power = 276; - Rpc_Req_ConfigHeartbeat req_config_heartbeat = 277; - - Rpc_Req_WifiInit req_wifi_init = 278; - Rpc_Req_WifiDeinit req_wifi_deinit = 279; - Rpc_Req_WifiStart req_wifi_start = 280; - Rpc_Req_WifiStop req_wifi_stop = 281; - Rpc_Req_WifiConnect req_wifi_connect = 282; - Rpc_Req_WifiDisconnect req_wifi_disconnect = 283; - Rpc_Req_WifiSetConfig req_wifi_set_config = 284; - Rpc_Req_WifiGetConfig req_wifi_get_config = 285; - - Rpc_Req_WifiScanStart req_wifi_scan_start = 286; - Rpc_Req_WifiScanStop req_wifi_scan_stop = 287; - Rpc_Req_WifiScanGetApNum req_wifi_scan_get_ap_num = 288; - Rpc_Req_WifiScanGetApRecords req_wifi_scan_get_ap_records = 289; - Rpc_Req_WifiClearApList req_wifi_clear_ap_list = 290; - - Rpc_Req_WifiRestore req_wifi_restore = 291; - Rpc_Req_WifiClearFastConnect req_wifi_clear_fast_connect = 292; - Rpc_Req_WifiDeauthSta req_wifi_deauth_sta = 293; - Rpc_Req_WifiStaGetApInfo req_wifi_sta_get_ap_info = 294; - - Rpc_Req_WifiSetProtocol req_wifi_set_protocol = 297; - Rpc_Req_WifiGetProtocol req_wifi_get_protocol = 298; - Rpc_Req_WifiSetBandwidth req_wifi_set_bandwidth = 299; - Rpc_Req_WifiGetBandwidth req_wifi_get_bandwidth = 300; - Rpc_Req_WifiSetChannel req_wifi_set_channel = 301; - Rpc_Req_WifiGetChannel req_wifi_get_channel = 302; - Rpc_Req_WifiSetCountry req_wifi_set_country = 303; - Rpc_Req_WifiGetCountry req_wifi_get_country = 304; - - Rpc_Req_WifiApGetStaList req_wifi_ap_get_sta_list = 311; - Rpc_Req_WifiApGetStaAid req_wifi_ap_get_sta_aid = 312; - Rpc_Req_WifiSetStorage req_wifi_set_storage = 313; - - Rpc_Req_WifiSetInactiveTime req_wifi_set_inactive_time = 325; - Rpc_Req_WifiGetInactiveTime req_wifi_get_inactive_time = 326; - - Rpc_Req_WifiSetCountryCode req_wifi_set_country_code = 334; - Rpc_Req_WifiGetCountryCode req_wifi_get_country_code = 335; - Rpc_Req_WifiStaGetAid req_wifi_sta_get_aid = 338; - Rpc_Req_WifiStaGetNegotiatedPhymode req_wifi_sta_get_negotiated_phymode = 339; - - Rpc_Req_WifiStaGetRssi req_wifi_sta_get_rssi = 341; - - Rpc_Req_WifiSetProtocols req_wifi_set_protocols = 342; - Rpc_Req_WifiGetProtocols req_wifi_get_protocols = 343; - Rpc_Req_WifiSetBandwidths req_wifi_set_bandwidths = 344; - Rpc_Req_WifiGetBandwidths req_wifi_get_bandwidths = 345; - - Rpc_Req_WifiSetBand req_wifi_set_band = 346; - Rpc_Req_WifiGetBand req_wifi_get_band = 347; - Rpc_Req_WifiSetBandMode req_wifi_set_bandmode = 348; - Rpc_Req_WifiGetBandMode req_wifi_get_bandmode = 349; - - Rpc_Req_GetCoprocessorFwVersion req_get_coprocessor_fwversion = 350; - - Rpc_Req_WifiScanGetApRecord req_wifi_scan_get_ap_record = 351; - - Rpc_Req_SetDhcpDnsStatus req_set_dhcp_dns = 352; - Rpc_Req_GetDhcpDnsStatus req_get_dhcp_dns = 353; - - Rpc_Req_WifiStaTwtConfig req_wifi_sta_twt_config = 354; - Rpc_Req_WifiStaItwtSetup req_wifi_sta_itwt_setup = 355; - Rpc_Req_WifiStaItwtTeardown req_wifi_sta_itwt_teardown = 356; - Rpc_Req_WifiStaItwtSuspend req_wifi_sta_itwt_suspend = 357; - Rpc_Req_WifiStaItwtGetFlowIdStatus req_wifi_sta_itwt_get_flow_id_status = 358; - Rpc_Req_WifiStaItwtSendProbeReq req_wifi_sta_itwt_send_probe_req = 359; - Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset req_wifi_sta_itwt_set_target_wake_time_offset = 360; - - Rpc_Req_WifiStaEnterpriseEnable req_wifi_sta_enterprise_enable = 361; - Rpc_Req_WifiStaEnterpriseDisable req_wifi_sta_enterprise_disable = 362; - Rpc_Req_EapSetIdentity req_eap_set_identity = 363; - Rpc_Req_EapClearIdentity req_eap_clear_identity = 364; - Rpc_Req_EapSetUsername req_eap_set_username = 365; - Rpc_Req_EapClearUsername req_eap_clear_username = 366; - Rpc_Req_EapSetPassword req_eap_set_password = 367; - Rpc_Req_EapClearPassword req_eap_clear_password = 368; - Rpc_Req_EapSetNewPassword req_eap_set_new_password = 369; - Rpc_Req_EapClearNewPassword req_eap_clear_new_password = 370; - Rpc_Req_EapSetCaCert req_eap_set_ca_cert = 371; - Rpc_Req_EapClearCaCert req_eap_clear_ca_cert = 372; - Rpc_Req_EapSetCertificateAndKey req_eap_set_certificate_and_key = 373; - Rpc_Req_EapClearCertificateAndKey req_eap_clear_certificate_and_key = 374; - Rpc_Req_EapGetDisableTimeCheck req_eap_get_disable_time_check = 375; - Rpc_Req_EapSetTtlsPhase2Method req_eap_set_ttls_phase2_method = 376; - Rpc_Req_EapSetSuiteb192bitCertification req_eap_set_suiteb_certification = 377; - Rpc_Req_EapSetPacFile req_eap_set_pac_file = 378; - Rpc_Req_EapSetFastParams req_eap_set_fast_params = 379; - Rpc_Req_EapUseDefaultCertBundle req_eap_use_default_cert_bundle = 380; - Rpc_Req_WifiSetOkcSupport req_wifi_set_okc_support = 381; - Rpc_Req_EapSetDomainName req_eap_set_domain_name = 382; - Rpc_Req_EapSetDisableTimeCheck req_eap_set_disable_time_check = 383; - Rpc_Req_EapSetEapMethods req_eap_set_eap_methods = 384; - - Rpc_Req_IfaceMacAddrSetGet req_iface_mac_addr_set_get = 385; - Rpc_Req_IfaceMacAddrLenGet req_iface_mac_addr_len_get = 386; - - Rpc_Req_FeatureControl req_feature_control = 387; - - /** Responses **/ - Rpc_Resp_GetMacAddress resp_get_mac_address = 513; - Rpc_Resp_SetMacAddress resp_set_mac_address = 514; - Rpc_Resp_GetMode resp_get_wifi_mode = 515; - Rpc_Resp_SetMode resp_set_wifi_mode = 516; - - Rpc_Resp_SuppDppInit resp_supp_dpp_init = 517; - Rpc_Resp_SuppDppDeinit resp_supp_dpp_deinit = 518; - Rpc_Resp_SuppDppBootstrapGen resp_supp_dpp_bootstrap_gen = 519; - Rpc_Resp_SuppDppStartListen resp_supp_dpp_start_listen = 520; - Rpc_Resp_SuppDppStopListen resp_supp_dpp_stop_listen = 521; - - //Rpc_Resp_SetSoftAPVendorSpecificIE resp_set_softap_vendor_specific_ie = 522; - //Rpc_Resp_StartSoftAP resp_start_softap = 523; - //Rpc_Resp_SoftAPConnectedSTA resp_softap_connected_stas_list = 524; - //Rpc_Resp_GetStatus resp_stop_softap = 525; - Rpc_Resp_OTAActivate resp_ota_activate = 522; - - Rpc_Resp_SetPs resp_wifi_set_ps = 526; - Rpc_Resp_GetPs resp_wifi_get_ps = 527; - - Rpc_Resp_OTABegin resp_ota_begin = 528; - Rpc_Resp_OTAWrite resp_ota_write = 529; - Rpc_Resp_OTAEnd resp_ota_end = 530; - Rpc_Resp_WifiSetMaxTxPower resp_set_wifi_max_tx_power = 531; - Rpc_Resp_WifiGetMaxTxPower resp_get_wifi_max_tx_power = 532; - Rpc_Resp_ConfigHeartbeat resp_config_heartbeat = 533; - - Rpc_Resp_WifiInit resp_wifi_init = 534; - Rpc_Resp_WifiDeinit resp_wifi_deinit = 535; - Rpc_Resp_WifiStart resp_wifi_start = 536; - Rpc_Resp_WifiStop resp_wifi_stop = 537; - Rpc_Resp_WifiConnect resp_wifi_connect = 538; - Rpc_Resp_WifiDisconnect resp_wifi_disconnect = 539; - Rpc_Resp_WifiSetConfig resp_wifi_set_config = 540; - Rpc_Resp_WifiGetConfig resp_wifi_get_config = 541; - - Rpc_Resp_WifiScanStart resp_wifi_scan_start = 542; - Rpc_Resp_WifiScanStop resp_wifi_scan_stop = 543; - Rpc_Resp_WifiScanGetApNum resp_wifi_scan_get_ap_num = 544; - Rpc_Resp_WifiScanGetApRecords resp_wifi_scan_get_ap_records = 545; - Rpc_Resp_WifiClearApList resp_wifi_clear_ap_list = 546; - - Rpc_Resp_WifiRestore resp_wifi_restore = 547; - Rpc_Resp_WifiClearFastConnect resp_wifi_clear_fast_connect = 548; - Rpc_Resp_WifiDeauthSta resp_wifi_deauth_sta = 549; - Rpc_Resp_WifiStaGetApInfo resp_wifi_sta_get_ap_info = 550; - - Rpc_Resp_WifiSetProtocol resp_wifi_set_protocol = 553; - Rpc_Resp_WifiGetProtocol resp_wifi_get_protocol = 554; - Rpc_Resp_WifiSetBandwidth resp_wifi_set_bandwidth = 555; - Rpc_Resp_WifiGetBandwidth resp_wifi_get_bandwidth = 556; - Rpc_Resp_WifiSetChannel resp_wifi_set_channel = 557; - Rpc_Resp_WifiGetChannel resp_wifi_get_channel = 558; - Rpc_Resp_WifiSetCountry resp_wifi_set_country = 559; - Rpc_Resp_WifiGetCountry resp_wifi_get_country = 560; - - Rpc_Resp_WifiApGetStaList resp_wifi_ap_get_sta_list = 567; - Rpc_Resp_WifiApGetStaAid resp_wifi_ap_get_sta_aid = 568; - Rpc_Resp_WifiSetStorage resp_wifi_set_storage = 569; - - Rpc_Resp_WifiSetInactiveTime resp_wifi_set_inactive_time = 581; - Rpc_Resp_WifiGetInactiveTime resp_wifi_get_inactive_time = 582; - - Rpc_Resp_WifiSetCountryCode resp_wifi_set_country_code = 590; - Rpc_Resp_WifiGetCountryCode resp_wifi_get_country_code = 591; - Rpc_Resp_WifiStaGetAid resp_wifi_sta_get_aid = 594; - Rpc_Resp_WifiStaGetNegotiatedPhymode resp_wifi_sta_get_negotiated_phymode = 595; - - Rpc_Resp_WifiStaGetRssi resp_wifi_sta_get_rssi = 597; - - Rpc_Resp_WifiSetProtocols resp_wifi_set_protocols = 598; - Rpc_Resp_WifiGetProtocols resp_wifi_get_protocols = 599; - Rpc_Resp_WifiSetBandwidths resp_wifi_set_bandwidths = 600; - Rpc_Resp_WifiGetBandwidths resp_wifi_get_bandwidths = 601; - - Rpc_Resp_WifiSetBand resp_wifi_set_band = 602; - Rpc_Resp_WifiGetBand resp_wifi_get_band = 603; - Rpc_Resp_WifiSetBandMode resp_wifi_set_bandmode = 604; - Rpc_Resp_WifiGetBandMode resp_wifi_get_bandmode = 605; - - Rpc_Resp_GetCoprocessorFwVersion resp_get_coprocessor_fwversion = 606; - - Rpc_Resp_WifiScanGetApRecord resp_wifi_scan_get_ap_record = 607; - - Rpc_Resp_SetDhcpDnsStatus resp_set_dhcp_dns = 608; - Rpc_Resp_GetDhcpDnsStatus resp_get_dhcp_dns = 609; - - Rpc_Resp_WifiStaTwtConfig resp_wifi_sta_twt_config = 610; - Rpc_Resp_WifiStaItwtSetup resp_wifi_sta_itwt_setup = 611; - Rpc_Resp_WifiStaItwtTeardown resp_wifi_sta_itwt_teardown = 612; - Rpc_Resp_WifiStaItwtSuspend resp_wifi_sta_itwt_suspend = 613; - Rpc_Resp_WifiStaItwtGetFlowIdStatus resp_wifi_sta_itwt_get_flow_id_status = 614; - Rpc_Resp_WifiStaItwtSendProbeReq resp_wifi_sta_itwt_send_probe_req = 615; - Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset resp_wifi_sta_itwt_set_target_wake_time_offset = 616; - - Rpc_Resp_WifiStaEnterpriseEnable resp_wifi_sta_enterprise_enable = 617; - Rpc_Resp_WifiStaEnterpriseDisable resp_wifi_sta_enterprise_disable = 618; - Rpc_Resp_EapSetIdentity resp_eap_set_identity = 619; - Rpc_Resp_EapClearIdentity resp_eap_clear_identity = 620; - Rpc_Resp_EapSetUsername resp_eap_set_username = 621; - Rpc_Resp_EapClearUsername resp_eap_clear_username = 622; - Rpc_Resp_EapSetPassword resp_eap_set_password = 623; - Rpc_Resp_EapClearPassword resp_eap_clear_password = 624; - Rpc_Resp_EapSetNewPassword resp_eap_set_new_password = 625; - Rpc_Resp_EapClearNewPassword resp_eap_clear_new_password = 626; - Rpc_Resp_EapSetCaCert resp_eap_set_ca_cert = 627; - Rpc_Resp_EapClearCaCert resp_eap_clear_ca_cert = 628; - Rpc_Resp_EapSetCertificateAndKey resp_eap_set_certificate_and_key = 629; - Rpc_Resp_EapClearCertificateAndKey resp_eap_clear_certificate_and_key = 630; - Rpc_Resp_EapGetDisableTimeCheck resp_eap_get_disable_time_check = 631; - Rpc_Resp_EapSetTtlsPhase2Method resp_eap_set_ttls_phase2_method = 632; - Rpc_Resp_EapSetSuiteb192bitCertification resp_eap_set_suiteb_certification = 633; - Rpc_Resp_EapSetPacFile resp_eap_set_pac_file = 634; - Rpc_Resp_EapSetFastParams resp_eap_set_fast_params = 635; - Rpc_Resp_EapUseDefaultCertBundle resp_eap_use_default_cert_bundle = 636; - Rpc_Resp_WifiSetOkcSupport resp_wifi_set_okc_support = 637; - Rpc_Resp_EapSetDomainName resp_eap_set_domain_name = 638; - Rpc_Resp_EapSetDisableTimeCheck resp_eap_set_disable_time_check = 639; - Rpc_Resp_EapSetEapMethods resp_eap_set_eap_methods = 640; - - Rpc_Resp_IfaceMacAddrSetGet resp_iface_mac_addr_set_get = 641; - Rpc_Resp_IfaceMacAddrLenGet resp_iface_mac_addr_len_get = 642; - - Rpc_Resp_FeatureControl resp_feature_control = 643; - - /** Notifications **/ - Rpc_Event_ESPInit event_esp_init = 769; - Rpc_Event_Heartbeat event_heartbeat = 770; - Rpc_Event_AP_StaConnected event_ap_sta_connected = 771; - Rpc_Event_AP_StaDisconnected event_ap_sta_disconnected = 772; - Rpc_Event_WifiEventNoArgs event_wifi_event_no_args = 773; - Rpc_Event_StaScanDone event_sta_scan_done = 774; - Rpc_Event_StaConnected event_sta_connected = 775; - Rpc_Event_StaDisconnected event_sta_disconnected = 776; - Rpc_Event_DhcpDnsStatus event_dhcp_dns = 777; - Rpc_Event_StaItwtSetup event_sta_itwt_setup = 778; - Rpc_Event_StaItwtTeardown event_sta_itwt_teardown = 779; - Rpc_Event_StaItwtSuspend event_sta_itwt_suspend = 780; - Rpc_Event_StaItwtProbe event_sta_itwt_probe = 781; - Rpc_Event_SuppDppUriReady event_supp_dpp_uri_ready = 782; - Rpc_Event_SuppDppCfgRecvd event_supp_dpp_cfg_recvd = 783; - Rpc_Event_SuppDppFail event_supp_dpp_fail = 784; - Rpc_Event_WifiDppUriReady event_wifi_dpp_uri_ready = 785; - Rpc_Event_WifiDppCfgRecvd event_wifi_dpp_cfg_recvd = 786; - Rpc_Event_WifiDppFail event_wifi_dpp_fail = 787; - } -} +/* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD */ +/* SPDX-License-Identifier: Apache-2.0 */ + +syntax = "proto3"; + +enum Rpc_WifiBw { + BW_Invalid = 0; + HT20 = 1; + HT40 = 2; +} + +enum Rpc_WifiPowerSave { + PS_Invalid = 0; + MIN_MODEM = 1; + MAX_MODEM = 2; +} + +enum Rpc_WifiSecProt { + Open = 0; + WEP = 1; + WPA_PSK = 2; + WPA2_PSK = 3; + WPA_WPA2_PSK = 4; + WPA2_ENTERPRISE = 5; + WPA3_PSK = 6; + WPA2_WPA3_PSK = 7; +} + +/* enums for Control path */ +enum Rpc_Status { + Connected = 0; + Not_Connected = 1; + No_AP_Found = 2; + Connection_Fail = 3; + Invalid_Argument = 4; + Out_Of_Range = 5; +} + + +enum RpcType { +MsgType_Invalid = 0; + Req = 1; + Resp = 2; + Event = 3; + MsgType_Max = 4; +} + +enum RpcFeature { + Feature_None = 0; + // Bluetooth (BT) Feature + Feature_Bluetooth = 1; + // add additional features here +} + +enum RpcFeatureCommand { + Feature_Command_None = 0; + // Bluetooth (BT) Feature Commands + Feature_Command_BT_Init = 1; + Feature_Command_BT_Deinit = 2; + Feature_Command_BT_Enable = 3; + Feature_Command_BT_Disable = 4; + // add additional feature commands here +} + +enum RpcFeatureOption { + Feature_Option_None = 0; + // Bluetooth (BT) Feature Options + Feature_Option_BT_Deinit_Release_Memory = 1; // release memory when deinit BT + // add additional feature options here +} + +enum RpcId { + MsgId_Invalid = 0; + + /** Request Msgs **/ + Req_Base = 256; //0x100 + + Req_GetMACAddress = 257; //0x101 + Req_SetMacAddress = 258; //0x102 + Req_GetWifiMode = 259; //0x103 + Req_SetWifiMode = 260; //0x104 + + Req_SuppDppInit = 261; //0x105 + Req_SuppDppDeinit = 262; //0x106 + Req_SuppDppBootstrapGen = 263; //0x107 + Req_SuppDppStartListen = 264; //0x108 + Req_SuppDppStopListen = 265; //0x109 + + //Req_SetSoftAPVendorSpecificIE = 266; //0x10a + //Req_StartSoftAP = 267; //0x10b + //Req_GetSoftAPConnectedSTAList = 268; //0x10c + //Req_StopSoftAP = 269; //0x10d + Req_OTAActivate = 266; //0x112 + + Req_WifiSetPs = 270; //0x10e + Req_WifiGetPs = 271; //0x10f + + Req_OTABegin = 272; //0x110 + Req_OTAWrite = 273; //0x111 + Req_OTAEnd = 274; //0x112 + + Req_WifiSetMaxTxPower = 275; //0x113 + Req_WifiGetMaxTxPower = 276; //0x114 + + Req_ConfigHeartbeat = 277; //0x115 + + Req_WifiInit = 278; //0x116 + Req_WifiDeinit = 279; //0x117 + Req_WifiStart = 280; //0x118 + Req_WifiStop = 281; //0x119 + Req_WifiConnect = 282; //0x11a + Req_WifiDisconnect = 283; //0x11b + Req_WifiSetConfig = 284; //0x11c + Req_WifiGetConfig = 285; //0x11d + + Req_WifiScanStart = 286; //0x11e + Req_WifiScanStop = 287; //0x11f + Req_WifiScanGetApNum = 288; //0x120 + Req_WifiScanGetApRecords = 289; //0x121 + Req_WifiClearApList = 290; //0x122 + + Req_WifiRestore = 291; //0x123 + Req_WifiClearFastConnect = 292; //0x124 + Req_WifiDeauthSta = 293; //0x125 + Req_WifiStaGetApInfo = 294; //0x126 + //Req_WifiSetPs = 295; //0x127 + //Req_WifiGetPs = 296; //0x128 + Req_WifiSetProtocol = 297; //0x129 + Req_WifiGetProtocol = 298; //0x12a + Req_WifiSetBandwidth = 299; //0x12b + Req_WifiGetBandwidth = 300; //0x12c + Req_WifiSetChannel = 301; //0x12d + Req_WifiGetChannel = 302; //0x12e + Req_WifiSetCountry = 303; //0x12f + Req_WifiGetCountry = 304; //0x130 + +// Req_WifiSetPromiscuousRxCb = 305; //0x131 + Req_WifiSetPromiscuous = 305; //0x131 + Req_WifiGetPromiscuous = 306; //0x132 + Req_WifiSetPromiscuousFilter = 307; //0x133 + Req_WifiGetPromiscuousFilter = 308; //0x134 + Req_WifiSetPromiscuousCtrlFilter = 309; //0x135 + Req_WifiGetPromiscuousCtrlFilter = 310; //0x136 + + Req_WifiApGetStaList = 311; //0x137 + Req_WifiApGetStaAid = 312; //0x138 + Req_WifiSetStorage = 313; //0x139 + Req_WifiSetVendorIe = 314; //0x13a +// Req_WifiSetVendorIeCb = 315; //0x13b + Req_WifiSetEventMask = 315; //0x13b + Req_WifiGetEventMask = 316; //0x13c + Req_Wifi80211Tx = 317; //0x13d + +// Req_WifiSetCsiRxCb = 318; //0x13e + Req_WifiSetCsiConfig = 318; //0x13e + Req_WifiSetCsi = 319; //0x13f + + Req_WifiSetAntGpio = 320; //0x140 + Req_WifiGetAntGpio = 321; //0x141 + Req_WifiSetAnt = 322; //0x142 + Req_WifiGetAnt = 323; //0x143 + + Req_WifiGetTsfTime = 324; //0x144 + Req_WifiSetInactiveTime = 325; //0x145 + Req_WifiGetInactiveTime = 326; //0x146 + Req_WifiStatisDump = 327; //0x147 + Req_WifiSetRssiThreshold = 328; //0x148 + + Req_WifiFtmInitiateSession = 329; //0x149 + Req_WifiFtmEndSession = 330; //0x14a + Req_WifiFtmRespSetOffset = 331; //0x14b + + Req_WifiConfig11bRate = 332; //0x14c + Req_WifiConnectionlessModuleSetWakeInterval = 333; //0x14d + Req_WifiSetCountryCode = 334; //0x14e + Req_WifiGetCountryCode = 335; //0x14f + Req_WifiConfig80211TxRate = 336; //0x150 + Req_WifiDisablePmfConfig = 337; //0x151 + Req_WifiStaGetAid = 338; //0x152 + Req_WifiStaGetNegotiatedPhymode = 339; //0x153 + Req_WifiSetDynamicCs = 340; //0x154 + Req_WifiStaGetRssi = 341; //0x155 + + Req_WifiSetProtocols = 342; //0x156 + Req_WifiGetProtocols = 343; //0x157 + Req_WifiSetBandwidths = 344; //0x158 + Req_WifiGetBandwidths = 345; //0x159 + + Req_WifiSetBand = 346; //0x15a + Req_WifiGetBand = 347; //0x15b + Req_WifiSetBandMode = 348; //0x15c + Req_WifiGetBandMode = 349; //0x15d + + Req_GetCoprocessorFwVersion = 350; //0x15e + + Req_WifiScanGetApRecord = 351; //0x15f + + Req_SetDhcpDnsStatus = 352; //0x160 + Req_GetDhcpDnsStatus = 353; //0x161 + + Req_WifiStaTwtConfig = 354; //0x162 + Req_WifiStaItwtSetup = 355; //0x163 + Req_WifiStaItwtTeardown = 356; //0x164 + Req_WifiStaItwtSuspend = 357; //0x165 + Req_WifiStaItwtGetFlowIdStatus = 358; //0x166 + Req_WifiStaItwtSendProbeReq = 359; //0x167 + Req_WifiStaItwtSetTargetWakeTimeOffset = 360; //0x168 + + Req_WifiStaEnterpriseEnable = 361; //0x169 + Req_WifiStaEnterpriseDisable = 362; //0x16A + Req_EapSetIdentity = 363; //0x16B + Req_EapClearIdentity = 364; //0x16C + Req_EapSetUsername = 365; //0x16D + Req_EapClearUsername = 366; //0x16E + Req_EapSetPassword = 367; //0x16F + Req_EapClearPassword = 368; //0x170 + Req_EapSetNewPassword = 369; //0x171 + Req_EapClearNewPassword = 370; //0x172 + Req_EapSetCaCert = 371; //0x173 + Req_EapClearCaCert = 372; //0x174 + Req_EapSetCertificateAndKey = 373; //0x175 + Req_EapClearCertificateAndKey = 374; //0x176 + Req_EapGetDisableTimeCheck = 375; //0x177 + Req_EapSetTtlsPhase2Method = 376; //0x178 + Req_EapSetSuitebCertification = 377; //0x179 + Req_EapSetPacFile = 378; //0x17A + Req_EapSetFastParams = 379; //0x17B + Req_EapUseDefaultCertBundle = 380; //0x17C + Req_WifiSetOkcSupport = 381; //0x17D + Req_EapSetDomainName = 382; //0x17E + Req_EapSetDisableTimeCheck = 383; //0x17F + Req_EapSetEapMethods = 384; //0x180 + + Req_IfaceMacAddrSetGet = 385; //0x181 + Req_IfaceMacAddrLenGet = 386; //0x182 + + /* Common RPC to handle simple feature control with one optional parameter + * Supported Features: + * - BT Init/Deinit/Enable/Disable + */ + Req_FeatureControl = 387; //0x183 + + Req_GpioConfig = 388; // 0x184 + Req_GpioResetPin = 389; // 0x185 + Req_GpioSetLevel = 390; // 0x186 + Req_GpioGetLevel = 391; // 0x187 + Req_GpioSetDirection = 392; // 0x188 + Req_GpioInputEnable = 393; // 0x189 + Req_GpioSetPullMode = 394; // 0x18A + + /* Add new control path command response before Req_Max + * and update Req_Max */ + Req_Max = 395; //0x18B + + /** Response Msgs **/ + Resp_Base = 512; + + Resp_GetMACAddress = 513; + Resp_SetMacAddress = 514; + Resp_GetWifiMode = 515; + Resp_SetWifiMode = 516; + + Resp_SuppDppInit = 517; + Resp_SuppDppDeinit = 518; + Resp_SuppDppBootstrapGen = 519; + Resp_SuppDppStartListen = 520; + Resp_SuppDppStopListen = 521; + + //Resp_SetSoftAPVendorSpecificIE = 522; + //Resp_StartSoftAP = 523; + //Resp_GetSoftAPConnectedSTAList = 524; + //Resp_StopSoftAP = 525; + Resp_OTAActivate = 522; + + Resp_WifiSetPs = 526; + Resp_WifiGetPs = 527; + + Resp_OTABegin = 528; + Resp_OTAWrite = 529; + Resp_OTAEnd = 530; + + Resp_WifiSetMaxTxPower = 531; + Resp_WifiGetMaxTxPower = 532; + + Resp_ConfigHeartbeat = 533; + + Resp_WifiInit = 534; + Resp_WifiDeinit = 535; + Resp_WifiStart = 536; + Resp_WifiStop = 537; + Resp_WifiConnect = 538; + Resp_WifiDisconnect = 539; + Resp_WifiSetConfig = 540; + Resp_WifiGetConfig = 541; + + Resp_WifiScanStart = 542; + Resp_WifiScanStop = 543; + Resp_WifiScanGetApNum = 544; + Resp_WifiScanGetApRecords = 545; + Resp_WifiClearApList = 546; + + Resp_WifiRestore = 547; + Resp_WifiClearFastConnect = 548; + Resp_WifiDeauthSta = 549; + Resp_WifiStaGetApInfo = 550; + //Resp_WifiSetPs = 551; + //Resp_WifiGetPs = 552; + Resp_WifiSetProtocol = 553; + Resp_WifiGetProtocol = 554; + Resp_WifiSetBandwidth = 555; + Resp_WifiGetBandwidth = 556; + Resp_WifiSetChannel = 557; + Resp_WifiGetChannel = 558; + Resp_WifiSetCountry = 559; + Resp_WifiGetCountry = 560; + +// Resp_WifiSetPromiscuousRxCb = 561; + Resp_WifiSetPromiscuous = 561; + Resp_WifiGetPromiscuous = 562; + Resp_WifiSetPromiscuousFilter = 563; + Resp_WifiGetPromiscuousFilter = 564; + Resp_WifiSetPromiscuousCtrlFilter = 565; + Resp_WifiGetPromiscuousCtrlFilter = 566; + + Resp_WifiApGetStaList = 567; + Resp_WifiApGetStaAid = 568; + Resp_WifiSetStorage = 569; + Resp_WifiSetVendorIe = 570; +// Resp_WifiSetVendorIeCb = 571; + Resp_WifiSetEventMask = 571; + Resp_WifiGetEventMask = 572; + Resp_Wifi80211Tx = 573; + +// Resp_WifiSetCsiRxCb = 573; + Resp_WifiSetCsiConfig = 574; + Resp_WifiSetCsi = 575; + + Resp_WifiSetAntGpio = 576; + Resp_WifiGetAntGpio = 577; + Resp_WifiSetAnt = 578; + Resp_WifiGetAnt = 579; + + Resp_WifiGetTsfTime = 580; + Resp_WifiSetInactiveTime = 581; + Resp_WifiGetInactiveTime = 582; + Resp_WifiStatisDump = 583; + Resp_WifiSetRssiThreshold = 584; + + Resp_WifiFtmInitiateSession = 585; + Resp_WifiFtmEndSession = 586; + Resp_WifiFtmRespSetOffset = 587; + + Resp_WifiConfig11bRate = 588; + Resp_WifiConnectionlessModuleSetWakeInterval = 589; + Resp_WifiSetCountryCode = 590; + Resp_WifiGetCountryCode = 591; + Resp_WifiConfig80211TxRate = 592; + Resp_WifiDisablePmfConfig = 593; + Resp_WifiStaGetAid = 594; + Resp_WifiStaGetNegotiatedPhymode = 595; + Resp_WifiSetDynamicCs = 596; + Resp_WifiStaGetRssi = 597; + + Resp_WifiSetProtocols = 598; + Resp_WifiGetProtocols = 599; + Resp_WifiSetBandwidths = 600; + Resp_WifiGetBandwidths = 601; + + Resp_WifiSetBand = 602; + Resp_WifiGetBand = 603; + Resp_WifiSetBandMode = 604; + Resp_WifiGetBandMode = 605; + + Resp_GetCoprocessorFwVersion = 606; + + Resp_WifiScanGetApRecord = 607; + + Resp_SetDhcpDnsStatus = 608; + Resp_GetDhcpDnsStatus = 609; + + Resp_WifiStaTwtConfig = 610; + Resp_WifiStaItwtSetup = 611; + Resp_WifiStaItwtTeardown = 612; + Resp_WifiStaItwtSuspend = 613; + Resp_WifiStaItwtGetFlowIdStatus = 614; + Resp_WifiStaItwtSendProbeReq = 615; + Resp_WifiStaItwtSetTargetWakeTimeOffset = 616; + + Resp_WifiStaEnterpriseEnable = 617; + Resp_WifiStaEnterpriseDisable = 618; + Resp_EapSetIdentity = 619; + Resp_EapClearIdentity = 620; + Resp_EapSetUsername = 621; + Resp_EapClearUsername = 622; + Resp_EapSetPassword = 623; + Resp_EapClearPassword = 624; + Resp_EapSetNewPassword = 625; + Resp_EapClearNewPassword = 626; + Resp_EapSetCaCert = 627; + Resp_EapClearCaCert = 628; + Resp_EapSetCertificateAndKey = 629; + Resp_EapClearCertificateAndKey = 630; + Resp_EapGetDisableTimeCheck = 631; + Resp_EapSetTtlsPhase2Method = 632; + Resp_EapSetSuitebCertification = 633; + Resp_EapSetPacFile = 634; + Resp_EapSetFastParams = 635; + Resp_EapUseDefaultCertBundle = 636; + Resp_WifiSetOkcSupport = 637; + Resp_EapSetDomainName = 638; + Resp_EapSetDisableTimeCheck = 639; + Resp_EapSetEapMethods = 640; + + Resp_IfaceMacAddrSetGet = 641; + Resp_IfaceMacAddrLenGet = 642; + Resp_FeatureControl = 643; + + Resp_GpioConfig = 644; + Resp_GpioResetPin = 645; + Resp_GpioSetLevel = 646; + Resp_GpioGetLevel = 647; + Resp_GpioSetDirection = 648; + Resp_GpioInputEnable = 649; + Resp_GpioSetPullMode = 650; + + /* Add new control path command response before Resp_Max + * and update Resp_Max */ + Resp_Max = 651; + + /** Event Msgs **/ + Event_Base = 768; + Event_ESPInit = 769; + Event_Heartbeat = 770; + Event_AP_StaConnected = 771; + Event_AP_StaDisconnected = 772; + Event_WifiEventNoArgs = 773; + Event_StaScanDone = 774; + Event_StaConnected = 775; + Event_StaDisconnected = 776; + Event_DhcpDnsStatus = 777; + + Event_StaItwtSetup = 778; + Event_StaItwtTeardown = 779; + Event_StaItwtSuspend = 780; + Event_StaItwtProbe = 781; + + // Supplicant DPP Events received by dpp callback on host + Event_SuppDppUriReady = 782; + Event_SuppDppCfgRecvd = 783; + Event_SuppDppFail = 784; + // Wifi DPP Events + Event_WifiDppUriReady = 785; + Event_WifiDppCfgRecvd = 786; + Event_WifiDppFail = 787; + + /* Add new control path command notification before Event_Max + * and update Event_Max */ + Event_Max = 788; +} + +message wifi_init_config { + int32 static_rx_buf_num = 1; /**< WiFi static RX buffer number */ + int32 dynamic_rx_buf_num = 2; /**< WiFi dynamic RX buffer number */ + int32 tx_buf_type = 3; /**< WiFi TX buffer type */ + int32 static_tx_buf_num = 4; /**< WiFi static TX buffer number */ + int32 dynamic_tx_buf_num = 5; /**< WiFi dynamic TX buffer number */ + int32 cache_tx_buf_num = 6; /**< WiFi TX cache buffer number */ + int32 csi_enable = 7; /**< WiFi channel state information enable flag */ + int32 ampdu_rx_enable = 8; /**< WiFi AMPDU RX feature enable flag */ + int32 ampdu_tx_enable = 9; /**< WiFi AMPDU TX feature enable flag */ + int32 amsdu_tx_enable = 10; /**< WiFi AMSDU TX feature enable flag */ + int32 nvs_enable = 11; /**< WiFi NVS flash enable flag */ + int32 nano_enable = 12; /**< Nano option for printf/scan family enable flag */ + int32 rx_ba_win = 13; /**< WiFi Block Ack RX window size */ + int32 wifi_task_core_id = 14; /**< WiFi Task Core ID */ + int32 beacon_max_len = 15; /**< WiFi softAP maximum length of the beacon */ + int32 mgmt_sbuf_num = 16; /**< WiFi management short buffer number, the minimum value is 6, the maximum value is 32 */ + uint64 feature_caps = 17; /**< Enables additional WiFi features and capabilities */ + bool sta_disconnected_pm = 18; /**< WiFi Power Management for station at disconnected status */ + int32 espnow_max_encrypt_num = 19; /**< Maximum encrypt number of peers supported by espnow */ + int32 magic = 20; /**< WiFi init magic number, it should be the last field */ + int32 rx_mgmt_buf_type = 21; /**< WiFi RX MGMT buffer type */ + int32 rx_mgmt_buf_num = 22; /**< WiFi RX MGMT buffer number */ + int32 tx_hetb_queue_num = 23; /**< WiFi TX HE TB QUEUE number for STA HE TB PPDU transmission */ + int32 dump_hesigb_enable = 24; /**< enable dump sigb field */ +} + +message wifi_country { + bytes cc = 1; /**< country code string of 3 chars*/ + uint32 schan = 2; /**< start channel */ + uint32 nchan = 3; /**< total channel number */ + int32 max_tx_power = 4; /**< This field is used for getting WiFi maximum transmitting power, + call esp_wifi_set_max_tx_power to set the maximum transmitting power. */ + int32 policy = 5; /**< country policy */ +} + + +message wifi_active_scan_time { + uint32 min = 1; /**< minimum active scan time per channel, units: millisecond */ + uint32 max = 2; /**< maximum active scan time per channel, units: millisecond, values above 1500ms may + cause station to disconnect from AP and are not recommended. */ +} ; + +message wifi_scan_time { + wifi_active_scan_time active = 1; /**< active scan time per channel, units: millisecond. */ + uint32 passive = 2; /**< passive scan time per channel, units: millisecond, values above 1500ms may + cause station to disconnect from AP and are not recommended. */ +} + +message wifi_scan_channel_bitmap { + uint32 ghz_2_channels = 1; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */ + uint32 ghz_5_channels = 2; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */ +} + +message wifi_scan_config { + bytes ssid = 1; /**< SSID of AP 33char*/ + bytes bssid = 2; /**< MAC address of AP 6char */ + uint32 channel = 3; /**< channel, scan the specific channel */ + bool show_hidden = 4; /**< enable to scan AP whose SSID is hidden */ + int32 scan_type = 5; /**< scan type, active or passive */ + wifi_scan_time scan_time = 6; /**< scan time per channel */ + uint32 home_chan_dwell_time = 7; /**< time spent at home channel between scanning consecutive channels.*/ + wifi_scan_channel_bitmap channel_bitmap = 8; /**< Channel bitmap for setting specific channels to be scanned. + Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap. + Also, note that only allowed channels configured by wifi_country_t can be scanned. */ +} + +message wifi_he_ap_info { + //uint8_t bss_color:6; /**< an unsigned integer whose value is the BSS Color of the BSS corresponding to the AP */ + //uint8_t partial_bss_color:1; /**< indicate if an AID assignment rule based on the BSS color */ + //uint8_t bss_color_disabled:1; /**< indicate if the use of BSS color is disabled */ + uint32 bitmask = 1; /* Manually have to parse for above bits */ + uint32 bssid_index = 2; /**< in M-BSSID set, identifies the nontransmitted BSSID */ +} + +message wifi_ap_record { + bytes bssid = 1; /**< MAC address of AP 6char */ + bytes ssid = 2; /**< SSID of AP 33char */ + uint32 primary = 3; /**< channel of AP */ + int32 second = 4; /**< secondary channel of AP */ + int32 rssi = 5; /**< signal strength of AP */ + int32 authmode = 6; /**< authmode of AP */ + int32 pairwise_cipher = 7; /**< pairwise cipher of AP */ + int32 group_cipher = 8; /**< group cipher of AP */ + int32 ant = 9; /**< antenna used to receive beacon from AP */ + //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ + //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ + //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ + //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ + //uint32_t wps:1; /**< bit: 4 flag to identify if WPS is supported or not */ + //uint32_t ftm_responder:1; /**< bit: 5 flag to identify if FTM is supported in responder mode */ + //uint32_t ftm_initiator:1; /**< bit: 6 flag to identify if FTM is supported in initiator mode */ + //uint32_t reserved:25; /**< bit: 7..31 reserved */ + uint32 bitmask = 10; /* Manually have to parse for above bits */ + + wifi_country country = 11; /**< country information of AP */ + wifi_he_ap_info he_ap = 12; + uint32 bandwidth = 13; /**< For AP 20 MHz this value is set to 1. For AP 40 MHz this value is set to 2. + For AP 80 MHz this value is set to 3. For AP 160MHz this value is set to 4. + For AP 80+80MHz this value is set to 5*/ + uint32 vht_ch_freq1 = 14; /**< This fields are used only AP bandwidth is 80 and 160 MHz, to transmit the center channel + frequency of the BSS. For AP bandwidth is 80 + 80 MHz, it is the center channel frequency + of the lower frequency segment.*/ + uint32 vht_ch_freq2 = 15; /**< This fields are used only AP bandwidth is 80 + 80 MHz, and is used to transmit the center + channel frequency of the second segment. */ +} + +message wifi_scan_threshold { + int32 rssi = 1; /**< The minimum rssi to accept in the fast scan mode */ + int32 authmode = 2; /**< The weakest authmode to accept in the fast scan mode +Note: Incase this value is not set and password is set as per WPA2 standards(password len >= 8), +it will be defaulted to WPA2 and device won't connect to deprecated WEP/WPA networks. +Please set authmode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks */ + uint32 rssi_5g_adjustment = 3; /**< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection. */ +} + +message wifi_pmf_config { + bool capable = 1; /**< Deprecated variable. Device will always connect in PMF mode if other device also advertizes PMF capability. */ + bool required = 2; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */ +} + +message wifi_bss_max_idle_config { + uint32 period = 1; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature */ + bool protected_keep_alive = 2; /**< Requires clients to use protected keep alive frames for BSS Max Idle period */ +} + +message wifi_ap_config { + bytes ssid = 1; /**< SSID of ESP32 soft-AP. If ssid_len field is 0, this must be a Null terminated string. Otherwise, length is set according to ssid_len. 32 char*/ + bytes password = 2; /**< Password of ESP32 soft-AP. 64 char*/ + uint32 ssid_len = 3; /**< Optional length of SSID field. */ + uint32 channel = 4; /**< Channel of ESP32 soft-AP */ + int32 authmode = 5; /**< Auth mode of ESP32 soft-AP. Do not support AUTH_WEP in soft-AP mode */ + uint32 ssid_hidden = 6; /**< Broadcast SSID or not, default 0, broadcast the SSID */ + uint32 max_connection = 7; /**< Max number of stations allowed to connect in */ + uint32 beacon_interval = 8; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */ + int32 pairwise_cipher = 9; /**< pairwise cipher of SoftAP, group cipher will be derived using this. + cipher values are valid starting from WIFI_CIPHER_TYPE_TKIP, enum values before that will be considered as invalid and default cipher suites(TKIP+CCMP) will be used. + Valid cipher suites in softAP mode are WIFI_CIPHER_TYPE_TKIP, WIFI_CIPHER_TYPE_CCMP and WIFI_CIPHER_TYPE_TKIP_CCMP. */ + bool ftm_responder = 10; /**< Enable FTM Responder mode */ + wifi_pmf_config pmf_cfg = 11; /**< Configuration for Protected Management Frame */ + int32 sae_pwe_h2e = 12; /**< Configuration for SAE PWE derivation method */ + uint32 csa_count = 13; /**< Channel Switch Announcement Count. Notify the station that the channel will switch after the csa_count beacon intervals. Default value: 3 */ + uint32 dtim_period = 14; /**< Dtim period of soft-AP. Range: 1 ~ 10. Default value: 1 */ + uint32 transition_disable = 15; /**< Whether to enable transition disable feature */ + uint32 sae_ext = 16; /**< Enable SAE EXT feature. SOC_GCMP_SUPPORT is required for this feature. */ + wifi_bss_max_idle_config bss_max_idle_cfg = 17; /**< Configuration for bss max idle, effective if CONFIG_WIFI_BSS_MAX_IDLE_SUPPORT is enabled */ + uint32 gtk_rekey_interval = 18; /**< GTK rekeying interval in seconds. If set to 0, GTK rekeying is disabled. Range: 60 ~ 65535 including 0. */ +} + +message wifi_sta_config { + bytes ssid = 1; /**< SSID of target AP. 32char */ + bytes password = 2; /**< Password of target AP. 64char */ + int32 scan_method = 3; /**< do all channel scan or fast scan */ + bool bssid_set = 4; /**< whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0, + and it needs to be 1 only when users need to check the MAC address of the AP.*/ + bytes bssid = 5; /**< MAC address of target AP 6char */ + uint32 channel = 6; /**< channel of target AP. Set to 1~13 to scan starting from the specified channel + before connecting to AP. If the channel of AP is unknown, set it to 0.*/ + uint32 listen_interval = 7; /**< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. +Units: AP beacon intervals. Defaults to 3 if set to 0. */ + int32 sort_method = 8; /**< sort the connect AP in the list by rssi or security mode */ + wifi_scan_threshold threshold = 9; /**< When sort_method is set, only APs which have an auth mode that is more secure + than the selected auth mode and a signal stronger than the minimum RSSI will be used. */ + wifi_pmf_config pmf_cfg = 10; /**< Configuration for Protected Management Frame. Will be advertized in RSN Capabilities in RSN IE. */ + //uint32_t rm_enabled:1; /**< Whether Radio Measurements are enabled for the connection */ + //uint32_t btm_enabled:1; /**< Whether BSS Transition Management is enabled for the connection */ + //uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */ + //uint32_t ft_enabled:1; /**< Whether FT is enabled for the connection */ + //uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */ + //uint32_t transition_disable:1; /**< Whether to enable transition disable feature */ + //uint32_t reserved:26; /**< Reserved for future feature set */ + uint32 bitmask = 11; + int32 sae_pwe_h2e = 12; /**< Whether SAE hash to element is enabled */ + uint32 failure_retry_cnt = 13; /**< Number of connection retries station will do before moving to next AP. + scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. + Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ + //uint32_t he_dcm_set:1; /**< Whether DCM max.constellation for transmission and reception is set. */ + //uint32_t he_dcm_max_constellation_tx:2; /**< Indicate the max.constellation for DCM in TB PPDU the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ + //uint32_t he_dcm_max_constellation_rx:2; /**< Indicate the max.constellation for DCM in both Data field and HE-SIG-B field the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ + //uint32_t he_mcs9_enabled:1; /**< Whether to support HE-MCS 0 to 9. The default value is 0. */ + //uint32_t he_su_beamformee_disabled:1; /**< Whether to disable support for operation as an SU beamformee. */ + //uint32_t he_trig_su_bmforming_feedback_disabled:1; /**< Whether to disable support the transmission of SU feedback in an HE TB sounding sequence. */ + //uint32_t he_trig_mu_bmforming_partial_feedback_disabled:1; /**< Whether to disable support the transmission of partial-bandwidth MU feedback in an HE TB sounding sequence. */ + // uint32_t he_trig_cqi_feedback_disabled:1; /**< Whether to disable support the transmission of CQI feedback in an HE TB sounding sequence. */ + // uint32_t vht_su_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT SU beamformee. */ + // uint32_t vht_mu_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT MU beamformee. */ + // uint32_t vht_mcs8_enabled: 1; /**< Whether to support VHT-MCS8. The default value is 0. */ + // uint32_t he_reserved:19; /**< Reserved for future feature set */ + uint32 he_bitmask = 14; + bytes sae_h2e_identifier = 15; /**< Password identifier for H2E. this needs to be null terminated string. SAE_H2E_IDENTIFIER_LEN chars */ + uint32 sae_pk_mode = 16; /**< Configuration for SAE-PK (Public Key) Authentication method */ +} + +message wifi_config { + oneof u { + wifi_ap_config ap = 1; /**< configuration of AP */ + wifi_sta_config sta = 2; /**< configuration of STA */ + } +} + +message wifi_sta_info { + bytes mac = 1; /**< mac address 6 char */ + int32 rssi = 2; /**< current average rssi of sta connected */ + //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ + //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ + //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ + //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ + //uint32_t phy_11x:1; /**< bit: 4 flag to identify identify if 11ax mode is enabled or not */ + //uint32_t is_mesh_child:1; /**< bit: 5 flag to identify mesh child */ + //uint32_t reserved:26; /**< bit: 6..31 reserved */ + uint32 bitmask = 3; +} + +message wifi_sta_list { + repeated wifi_sta_info sta = 1; /**< station list */ + int32 num = 2; /**< number of stations in the list (other entries are invalid) */ +} + +//message vendor_ie_data { +// uint32 element_id = 1; /**< Should be set to WIFI_VENDOR_IE_ELEMENT_ID (0xDD) */ +// uint32 length = 2; /**< Length of all bytes in the element data following this field. Minimum 4. */ +// bytes vendor_oui = 3; /**< Vendor identifier (OUI). 3 chars */ +// uint32 vendor_oui_type = 4; /**< Vendor-specific OUI type. */ +// bytes payload = 5; /**< Payload. Length is equal to value in 'length' field, minus 4. Note: Variable size */ +//} + +message wifi_pkt_rx_ctrl { + int32 rssi = 1; /**< 8bits Received Signal Strength Indicator(RSSI) of packet. unit: dBm */ + uint32 rate = 2; /**< 5bits PHY rate encoding of the packet. Only valid for non HT(11bg) packet */ + //uint32 :1; /**< reserved */ + uint32 sig_mode = 3; /**< 2bits 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */ + //uint32 :16; /**< reserved */ + uint32 mcs = 4; /**< 7bits Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */ + uint32 cwb = 5; /**< 1bit Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */ + //uint32 :16; /**< reserved */ + uint32 smoothing = 6; /**< 1bit reserved */ + uint32 not_sounding = 7; /**< 1bit reserved */ + //uint32 :1; /**< reserved */ + uint32 aggregation = 8; /**< 1bit Aggregation. 0: MPDU packet; 1: AMPDU packet */ + uint32 stbc = 9; /**< 2bits Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */ + uint32 fec_coding = 10; /**< 1bit Flag is set for 11n packets which are LDPC */ + uint32 sgi = 11; /**< 1bit Short Guide Interval(SGI). 0: Long GI; 1: Short GI */ + int32 noise_floor = 12; /**< 8bits noise floor of Radio Frequency Module(RF). unit: dBm*/ + uint32 ampdu_cnt = 13; /**< 8bits ampdu cnt */ + uint32 channel = 14; /**< 4bits primary channel on which this packet is received */ + uint32 secondary_channel = 15; /**< 4bits secondary channel on which this packet is received. 0: none; 1: above; 2: below */ + //uint32 :8; /**< reserved */ + uint32 timestamp = 16; /**< 32bit timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */ + //uint32 :32; /**< reserved */ + //unsigned :32; /**< reserved */ + //unsigned :31; /**< reserved */ + uint32 ant = 17; /**< 1bit antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */ + uint32 sig_len = 18; /**< 12bits length of packet including Frame Check Sequence(FCS) */ + //unsigned :12; /**< reserved */ + uint32 rx_state = 19; /**< 8bits state of the packet. 0: no error; others: error numbers which are not public */ +} + +message wifi_promiscuous_pkt { + wifi_pkt_rx_ctrl rx_ctrl = 1; /**< metadata header */ + bytes payload = 2; /**< Note: variable length. Data or management payload. Length of payload is described by rx_ctrl.sig_len. Type of content determined by packet type argument of callback. */ +} + +message wifi_promiscuous_filter { + uint32 filter_mask = 1; /**< OR of one or more filter values WIFI_PROMIS_FILTER_* */ +} + +message wifi_csi_config { + bool lltf_en = 1; /**< enable to receive legacy long training field(lltf) data. Default enabled */ + bool htltf_en = 2; /**< enable to receive HT long training field(htltf) data. Default enabled */ + bool stbc_htltf2_en = 3; /**< enable to receive space time block code HT long training field(stbc-htltf2) data. Default enabled */ + bool ltf_merge_en = 4; /**< enable to generate htlft data by averaging lltf and ht_ltf data when receiving HT packet. Otherwise, use ht_ltf data directly. Default enabled */ + bool channel_filter_en = 5; /**< enable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier. Default enabled */ + bool manu_scale = 6; /**< manually scale the CSI data by left shifting or automatically scale the CSI data. + If set true, please set the shift bits. false: automatically. true: manually. Default false */ + uint32 shift = 7; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */ +} + +message wifi_csi_info { + wifi_pkt_rx_ctrl rx_ctrl = 1; /**< received packet radio metadata header of the CSI data */ + bytes mac = 2; /**< 6bits source MAC address of the CSI data */ + bytes dmac = 3; /**< 6bits destination MAC address of the CSI data */ + bool first_word_invalid = 4; /**< first four bytes of the CSI data is invalid or not */ + bytes buf = 5; /**< Note: variable length. buffer of CSI data */ + uint32 len = 6; /**< length of CSI data */ +} + +message wifi_ant_gpio { + uint32 gpio_select = 1; /**< 1bit Whether this GPIO is connected to external antenna switch */ + uint32 gpio_num = 2; /**< 7bits The GPIO number that connects to external antenna switch */ +} + +message wifi_ant_gpio_config { + repeated wifi_ant_gpio gpio_cfgs = 1; /**< The configurations of GPIOs that connect to external antenna switch */ +} + +message wifi_ant_config { + int32 rx_ant_mode = 1; /**< WiFi antenna mode for receiving */ + int32 rx_ant_default = 2; /**< Default antenna mode for receiving, it's ignored if rx_ant_mode is not WIFI_ANT_MODE_AUTO */ + int32 tx_ant_mode = 3; /**< WiFi antenna mode for transmission, it can be set to WIFI_ANT_MODE_AUTO only if rx_ant_mode is set to WIFI_ANT_MODE_AUTO */ + uint32 enabled_ant0 = 4; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT0 */ + uint32 enabled_ant1 = 5; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT1 */ +} + +message wifi_action_tx_req { + int32 ifx = 1; /**< WiFi interface to send request to */ + bytes dest_mac = 2; /**< 6bits Destination MAC address */ + bool no_ack = 3; /**< Indicates no ack required */ + //TODO + //wifi_action_rx_cb_t rx_cb; /**< Rx Callback to receive any response */ + uint32 data_len = 4; /**< Length of the appended Data */ + bytes data = 5; /**< note: variable length. Appended Data payload */ +} + +message wifi_ftm_initiator_cfg { + bytes resp_mac = 1; /**< 6bits MAC address of the FTM Responder */ + uint32 channel = 2; /**< Primary channel of the FTM Responder */ + uint32 frm_count = 3; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */ + uint32 burst_period = 4; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */ +} + +message wifi_event_sta_scan_done { + uint32 status = 1; /**< status of scanning APs: 0 — success, 1 - failure */ + uint32 number = 2; /**< number of scan results */ + uint32 scan_id = 3; /**< scan sequence number, used for block scan */ +} + +message wifi_event_sta_connected { + bytes ssid = 1; /**< 32bytes SSID of connected AP */ + uint32 ssid_len = 2; /**< SSID length of connected AP */ + bytes bssid = 3; /**< 6bytes BSSID of connected AP*/ + uint32 channel = 4; /**< channel of connected AP*/ + int32 authmode = 5; /**< authentication mode used by AP*/ + int32 aid = 6; /**< authentication id assigned by the connected AP*/ +} + +message wifi_event_sta_disconnected { + bytes ssid = 1; /**< SSID of disconnected AP */ + uint32 ssid_len = 2; /**< SSID length of disconnected AP */ + bytes bssid = 3; /**< BSSID of disconnected AP */ + uint32 reason = 4; /**< reason of disconnection */ + int32 rssi = 5; /**< rssi of disconnection */ +} + +message wifi_event_sta_authmode_change { + int32 old_mode = 1; /**< the old auth mode of AP */ + int32 new_mode = 2; /**< the new auth mode of AP */ +} + +message wifi_event_sta_wps_er_pin { + bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ +} + +message ap_cred { + bytes ssid = 1; /**< 32bytes SSID of AP */ + bytes passphrase = 2; /**< 64bytes Passphrase for the AP */ +} + +message wifi_event_sta_wps_er_success { + uint32 ap_cred_cnt = 1; /**< Number of AP credentials received */ + repeated ap_cred ap_creds = 2; /**< All AP credentials received from WPS handshake */ +} + +/** Argument structure for WIFI_EVENT_AP_PROBEREQRECVED event */ +message wifi_event_ap_probe_req_rx { + int32 rssi = 1; /**< Received probe request signal strength */ + uint32 mac = 2; /**< MAC address of the station which send probe request */ +} + +/** Argument structure for WIFI_EVENT_STA_BSS_RSSI_LOW event */ +message wifi_event_bss_rssi_low { + int32 rssi = 1; /**< RSSI value of bss */ +} + +message wifi_ftm_report_entry { + uint32 dlog_token = 1; /* *< Dialog Token of the FTM frame */ + int32 rssi = 2; /* *< RSSI of the FTM frame received */ + uint32 rtt = 3; /* *< Round Trip Time in pSec with a peer */ + /* TODO: uint32 is supported by proto? */ + uint64 t1 = 4; /* *< Time of departure of FTM frame from FTM Responder in pSec */ + uint64 t2 = 5; /* *< Time of arrival of FTM frame at FTM Initiator in pSec */ + uint64 t3 = 6; /* *< Time of departure of ACK from FTM Initiator in pSec */ + uint64 t4 = 7; /* *< Time of arrival of ACK at FTM Responder in pSec */ +} + +message wifi_event_ftm_report { + bytes peer_mac = 1; /* *< 6bytes MAC address of the FTM Peer */ + int32 status = 2; /* *< Status of the FTM operation */ + uint32 rtt_raw = 3; /* *< Raw average Round-Trip-Time with peer in Nano-Seconds */ + uint32 rtt_est = 4; /* *< Estimated Round-Trip-Time with peer in Nano-Seconds */ + uint32 dist_est = 5; /* *< Estimated one-way distance in Centi-Meters */ + repeated wifi_ftm_report_entry ftm_report_data = 6; /* *< Note var len Pointer to FTM Report with multiple entries, should be freed after use */ + uint32 ftm_report_num_entries = 7; /* *< Number of entries in the FTM Report data */ +} + +message wifi_event_action_tx_status { + int32 ifx = 1; /**< WiFi interface to send request to */ + uint32 context = 2; /**< Context to identify the request */ + bytes da = 3; /**< 6bytes Destination MAC address */ + uint32 status = 4; /**< Status of the operation */ +} + +message wifi_event_roc_done { + uint32 context = 1; /**< Context to identify the request */ +} + +message wifi_event_ap_wps_rg_pin { + bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ +} + +message wifi_event_ap_wps_rg_fail_reason { + int32 reason = 1; /**< WPS failure reason wps_fail_reason_t */ + bytes peer_macaddr = 2; /**< 6bytes Enrollee mac address */ +} + +message wifi_event_ap_wps_rg_success { + bytes peer_macaddr = 1; /**< 6bytes Enrollee mac address */ +} + +message wifi_protocols { + uint32 ghz_2g = 1; /**< Represents 2.4 GHz protocol, support 802.11b or 802.11g or 802.11n or 802.11ax or LR mode */ + uint32 ghz_5g = 2; /**< Represents 5 GHz protocol, support 802.11a or 802.11n or 802.11ac or 802.11ax */ +} + +message wifi_bandwidths { + uint32 ghz_2g = 1; /* Represents 2.4 GHz bandwidth */ + uint32 ghz_5g = 2; /* Represents 5 GHz bandwidth */ +} + +message wifi_itwt_setup_config { + uint32 setup_cmd = 1; + // uint16_t trigger : 1; /**< 1: a trigger-enabled individual TWT, 0: a non-trigger-enabled individual TWT */ + // uint16_t flow_type : 1; /**< 0: an announced individual TWT, 1: an unannounced individual TWT */ + // uint16_t flow_id : 3; /**< When set up an individual TWT agreement, the flow id will be assigned by AP after a successful agreement setup. + // flow_id could be specified to a value in the range of [0, 7], but it might be changed by AP in the response. + // When change TWT parameters of the existing TWT agreement, flow_id should be an existing one. The value range is [0, 7]. */ + // uint16_t wake_invl_expn : 5; /**< Individual TWT Wake Interval Exponent. The value range is [0, 31]. */ + // uint16_t wake_duration_unit : 1; /**< Individual TWT Wake duration unit, 0: 256us 1: TU (TU = 1024us)*/ + // uint16_t reserved : 5; /**< bit: 11.15 reserved */ + uint32 bitmask_1 = 2; + uint32 min_wake_dura = 3; + uint32 wake_invl_mant = 4; + uint32 twt_id = 5; + uint32 timeout_time_ms = 6; +} + +message wifi_twt_config { + bool post_wakeup_event = 1; /**< post twt wakeup event */ + bool twt_enable_keep_alive = 2; /**< twt enable send qos null to keep alive */ +} + +/* internal supporting structures for Rpc */ +//message ScanResult { +// bytes bssid = 1; +// bytes ssid = 2; +// uint32 chnl = 3; +// int32 rssi = 4; +// int32 sec_prot = 5; +//} + +message ConnectedSTAList { + bytes mac = 1; + int32 rssi = 2; +} + +message eap_fast_config { + int32 fast_provisioning = 1; // Enable or disable Fast Provisioning in EAP-FAST (0 = disabled, 1 = enabled) + int32 fast_max_pac_list_len = 2; // Maximum length of the PAC (Protected Access Credential) list + bool fast_pac_format_binary = 3; // Set to true for binary format PAC, false for ASCII format PAC +} + +/* Control path structures */ +/** Req/Resp structure **/ +message Rpc_Req_GetMacAddress { + int32 mode = 1; +} + +message Rpc_Resp_GetMacAddress { + bytes mac = 1; + int32 resp = 2; +} + +message Rpc_Req_GetMode { +} + +message Rpc_Resp_GetMode { + int32 mode = 1; + int32 resp = 2; +} + +message Rpc_Req_SetMode { + int32 mode = 1; +} + +message Rpc_Resp_SetMode { + int32 resp = 1; +} + +message Rpc_Req_GetPs { +} + +message Rpc_Resp_GetPs { + int32 resp = 1; + int32 type = 2; +} + +message Rpc_Req_SetPs { + int32 type = 1; +} + +message Rpc_Resp_SetPs { + int32 resp = 1; +} + +message Rpc_Req_SetMacAddress { + bytes mac = 1; + int32 mode = 2; +} + +message Rpc_Resp_SetMacAddress { + int32 resp = 1; +} + +message Rpc_Req_OTABegin { +} + +message Rpc_Resp_OTABegin { + int32 resp = 1; +} + +message Rpc_Req_OTAWrite { + bytes ota_data = 1; +} + +message Rpc_Resp_OTAWrite { + int32 resp = 1; +} + +message Rpc_Req_OTAEnd { +} + +message Rpc_Resp_OTAEnd { + int32 resp = 1; +} + +message Rpc_Req_OTAActivate { +} + +message Rpc_Resp_OTAActivate { + int32 resp = 1; +} + +message Rpc_Req_WifiSetMaxTxPower { + int32 power = 1; +} + +message Rpc_Resp_WifiSetMaxTxPower { + int32 resp = 1; +} + +message Rpc_Req_WifiGetMaxTxPower { +} + +message Rpc_Resp_WifiGetMaxTxPower { + int32 power = 1; + int32 resp = 2; +} + +message Rpc_Req_ConfigHeartbeat { + bool enable = 1; + int32 duration = 2; +} + +message Rpc_Resp_ConfigHeartbeat { + int32 resp = 1; +} + +message Rpc_Req_WifiInit { + wifi_init_config cfg = 1; +} + +message Rpc_Resp_WifiInit { + int32 resp = 1; +} + +message Rpc_Req_WifiDeinit { +} + +message Rpc_Resp_WifiDeinit { + int32 resp = 1; +} + +message Rpc_Req_WifiSetConfig { + int32 iface = 1; + wifi_config cfg = 2; +} + +message Rpc_Resp_WifiSetConfig { + int32 resp = 1; +} + +message Rpc_Req_WifiGetConfig { + int32 iface = 1; +} + +message Rpc_Resp_WifiGetConfig { + int32 resp = 1; + int32 iface = 2; + wifi_config cfg = 3; +} + +message Rpc_Req_WifiConnect { +} + +message Rpc_Resp_WifiConnect { + int32 resp = 1; +} + +message Rpc_Req_WifiDisconnect { +} + +message Rpc_Resp_WifiDisconnect { + int32 resp = 1; +} + +message Rpc_Req_WifiStart { +} + +message Rpc_Resp_WifiStart { + int32 resp = 1; +} + +message Rpc_Req_WifiStop { +} + +message Rpc_Resp_WifiStop { + int32 resp = 1; +} + +message Rpc_Req_WifiScanStart { + wifi_scan_config config = 1; + bool block = 2; + int32 config_set = 3; +} + +message Rpc_Resp_WifiScanStart { + int32 resp = 1; +} + +message Rpc_Req_WifiScanStop { +} + +message Rpc_Resp_WifiScanStop { + int32 resp = 1; +} + +message Rpc_Req_WifiScanGetApNum { +} + +message Rpc_Resp_WifiScanGetApNum { + int32 resp = 1; + int32 number = 2; +} + +message Rpc_Req_WifiScanGetApRecords { + int32 number = 1; +} + +message Rpc_Resp_WifiScanGetApRecords { + int32 resp = 1; + int32 number = 2; + repeated wifi_ap_record ap_records = 3; +} + +message Rpc_Req_WifiScanGetApRecord { +} + +message Rpc_Resp_WifiScanGetApRecord { + int32 resp = 1; + wifi_ap_record ap_record = 2; +} + +message Rpc_Req_WifiClearApList { +} + +message Rpc_Resp_WifiClearApList { + int32 resp = 1; +} + +message Rpc_Req_WifiRestore { +} + +message Rpc_Resp_WifiRestore { + int32 resp = 1; +} + +message Rpc_Req_WifiClearFastConnect{ +} + +message Rpc_Resp_WifiClearFastConnect { + int32 resp = 1; +} + +message Rpc_Req_WifiDeauthSta { + int32 aid = 1; +} + +message Rpc_Resp_WifiDeauthSta { + int32 resp = 1; + int32 aid = 2; +} + +message Rpc_Req_WifiStaGetApInfo { +} + +message Rpc_Resp_WifiStaGetApInfo { + int32 resp = 1; + wifi_ap_record ap_record = 2; +} + +message Rpc_Req_WifiSetProtocol { + int32 ifx = 1; + int32 protocol_bitmap = 2; +} + +message Rpc_Resp_WifiSetProtocol { + int32 resp = 1; +} + +message Rpc_Req_WifiGetProtocol { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetProtocol { + int32 resp = 1; + int32 protocol_bitmap = 2; +} + +message Rpc_Req_WifiSetBandwidth { + int32 ifx = 1; + int32 bw = 2; +} + +message Rpc_Resp_WifiSetBandwidth { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBandwidth { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetBandwidth { + int32 resp = 1; + int32 bw = 2; +} + +message Rpc_Req_WifiSetChannel { + int32 primary = 1; + int32 second = 2; +} + +message Rpc_Resp_WifiSetChannel { + int32 resp = 1; +} + +message Rpc_Req_WifiGetChannel { +} + +message Rpc_Resp_WifiGetChannel { + int32 resp = 1; + int32 primary = 2; + int32 second = 3; +} + +message Rpc_Req_WifiSetStorage { + int32 storage = 1; +} + +message Rpc_Resp_WifiSetStorage { + int32 resp = 1; +} + +message Rpc_Req_WifiSetCountryCode { + bytes country = 1; + bool ieee80211d_enabled = 2; +} + +message Rpc_Resp_WifiSetCountryCode { + int32 resp = 1; +} + +message Rpc_Req_WifiGetCountryCode { +} + +message Rpc_Resp_WifiGetCountryCode { + int32 resp = 1; + bytes country = 2; +} + +message Rpc_Req_WifiSetCountry { + wifi_country country = 1; +} + +message Rpc_Resp_WifiSetCountry { + int32 resp = 1; +} + +message Rpc_Req_WifiGetCountry { +} + +message Rpc_Resp_WifiGetCountry { + int32 resp = 1; + wifi_country country = 2; +} + +message Rpc_Req_WifiApGetStaList { +} + +message Rpc_Resp_WifiApGetStaList { + int32 resp = 1; + wifi_sta_list sta_list = 2; +} + +message Rpc_Req_WifiApGetStaAid { + bytes mac = 1; +} + +message Rpc_Req_WifiStaGetNegotiatedPhymode { +} + +message Rpc_Resp_WifiStaGetNegotiatedPhymode { + int32 resp = 1; + uint32 phymode = 2; +} + +message Rpc_Resp_WifiApGetStaAid { + int32 resp = 1; + uint32 aid = 2; +} + +message Rpc_Req_WifiStaGetRssi { +} + +message Rpc_Resp_WifiStaGetRssi { + int32 resp = 1; + int32 rssi = 2; +} + +message Rpc_Req_WifiStaGetAid { +} + +message Rpc_Resp_WifiStaGetAid { + int32 resp = 1; + uint32 aid = 2; +} + +message Rpc_Req_WifiSetProtocols { + int32 ifx = 1; + wifi_protocols protocols = 2; +} + +message Rpc_Resp_WifiSetProtocols { + int32 resp = 1; + uint32 ifx = 2; +} + +message Rpc_Req_WifiGetProtocols { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetProtocols { + int32 resp = 1; + int32 ifx = 2; + wifi_protocols protocols = 3; +} + +message Rpc_Req_WifiSetBandwidths { + int32 ifx = 1; + wifi_bandwidths bandwidths = 2; +} + +message Rpc_Resp_WifiSetBandwidths { + int32 resp = 1; + int32 ifx = 2; +} + +message Rpc_Req_WifiGetBandwidths { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetBandwidths { + int32 resp = 1; + int32 ifx = 2; + wifi_bandwidths bandwidths = 3; +} + +message Rpc_Req_WifiSetBand { + uint32 band = 1; +} + +message Rpc_Resp_WifiSetBand { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBand { +} + +message Rpc_Resp_WifiGetBand { + int32 resp = 1; + uint32 band = 2; +} + +message Rpc_Req_WifiSetBandMode { + uint32 bandmode = 1; +} + +message Rpc_Resp_WifiSetBandMode { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBandMode { +} + +message Rpc_Resp_WifiGetBandMode { + int32 resp = 1; + uint32 bandmode = 2; +} + +message Rpc_Req_WifiSetInactiveTime { + uint32 ifx = 1; + uint32 sec = 2; +} + +message Rpc_Resp_WifiSetInactiveTime { + int32 resp = 1; +} + +message Rpc_Req_WifiGetInactiveTime { + uint32 ifx = 1; +} + +message Rpc_Resp_WifiGetInactiveTime { + int32 resp = 1; + uint32 sec = 2; +} + +message Rpc_Req_WifiStaItwtSetup { + wifi_itwt_setup_config setup_config = 1; +} + +message Rpc_Resp_WifiStaItwtSetup { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtTeardown { + int32 flow_id = 1; +} + +message Rpc_Resp_WifiStaItwtTeardown { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtSuspend { + int32 flow_id = 1; + int32 suspend_time_ms = 2; +} + +message Rpc_Resp_WifiStaItwtSuspend { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtGetFlowIdStatus { +} + +message Rpc_Resp_WifiStaItwtGetFlowIdStatus { + int32 resp = 1; + int32 flow_id_bitmap = 2; +} + +message Rpc_Req_WifiStaItwtSendProbeReq { + int32 timeout_ms = 1; +} + +message Rpc_Resp_WifiStaItwtSendProbeReq { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset { + int32 offset_us = 1; +} + +message Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset { + int32 resp = 1; +} + +message Rpc_Req_WifiStaTwtConfig { + wifi_twt_config config = 1; +} + +message Rpc_Resp_WifiStaTwtConfig { + int32 resp = 1; +} + +message Rpc_Req_GetCoprocessorFwVersion { +} + +message Rpc_Resp_GetCoprocessorFwVersion { + int32 resp = 1; + uint32 major1 = 2; + uint32 minor1 = 3; + uint32 patch1 = 4; +} + +message Rpc_Req_SetDhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; +} + +message Rpc_Resp_SetDhcpDnsStatus { + int32 resp = 1; +} + +message Rpc_Req_GetDhcpDnsStatus { + int32 iface = 1; +} + +message Rpc_Resp_GetDhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; + int32 resp = 10; +} + +message Rpc_Req_SuppDppInit { + bool cb = 1; // enables sending of Event_SuppDpp to host via callback +} + +message Rpc_Resp_SuppDppInit { + int32 resp = 1; +} + +message Rpc_Req_SuppDppDeinit { +} + +message Rpc_Resp_SuppDppDeinit { + int32 resp = 1; +} + +message Rpc_Req_SuppDppBootstrapGen { + bytes chan_list = 1; // DPP Bootstrapping listen channels separated by commas + int32 type = 2; // Bootstrap method type, only QR Code method is supported for now. + bytes key = 3; // (Optional) 32 byte Raw Private Key for generating a Bootstrapping Public Key + bytes info = 4; // (Optional) Ancillary Device Information like Serial Number +} + +message Rpc_Resp_SuppDppBootstrapGen { + int32 resp = 1; +} + +message Rpc_Req_SuppDppStartListen { +} + +message Rpc_Resp_SuppDppStartListen { + int32 resp = 1; +} + +message Rpc_Req_SuppDppStopListen { +} + +message Rpc_Resp_SuppDppStopListen { + int32 resp = 1; +} + +message Rpc_Req_IfaceMacAddrSetGet { + bool set = 1; + uint32 type = 2; + bytes mac = 3; // only valid for set +}; + +message Rpc_Resp_IfaceMacAddrSetGet { + int32 resp = 1; + bool set = 2; + uint32 type = 3; + bytes mac = 4; +}; + +message Rpc_Req_IfaceMacAddrLenGet { + uint32 type = 1; +}; + +message Rpc_Resp_IfaceMacAddrLenGet { + int32 resp = 1; + uint32 type = 2; + uint32 len = 3; +}; + +message Rpc_Req_FeatureControl { + RpcFeature feature = 1; + RpcFeatureCommand command = 2; + RpcFeatureOption option = 3; +}; + +message Rpc_Resp_FeatureControl { + int32 resp = 1; + RpcFeature feature = 2; + RpcFeatureCommand command = 3; + RpcFeatureOption option = 4; +}; + +/** Event structure **/ + +message Rpc_Event_WifiEventNoArgs { + int32 resp = 1; + int32 event_id = 2; +} + +message Rpc_Event_ESPInit { + bytes init_data = 1; +} + +message Rpc_Event_Heartbeat { + int32 hb_num = 1; +} + +message Rpc_Event_AP_StaDisconnected { + int32 resp = 1; + bytes mac = 2; + uint32 aid = 3; + bool is_mesh_child = 4; + uint32 reason = 5; +} + +message Rpc_Event_AP_StaConnected { + int32 resp = 1; + bytes mac = 2; + uint32 aid = 3; + bool is_mesh_child = 4; +} + +message Rpc_Event_StaScanDone { + int32 resp = 1; + wifi_event_sta_scan_done scan_done = 2; +} + +message Rpc_Event_StaConnected { + int32 resp = 1; + wifi_event_sta_connected sta_connected = 2; +} + +message Rpc_Event_StaDisconnected { + int32 resp = 1; + wifi_event_sta_disconnected sta_disconnected = 2; +} + +message Rpc_Event_DhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; + int32 resp = 10; +} + +message Rpc_Event_StaItwtSetup { + int32 resp = 1; + wifi_itwt_setup_config config = 2; + int32 status = 3; + uint32 reason = 4; + uint64 target_wake_time = 5; +} + +message Rpc_Event_StaItwtTeardown { + int32 resp = 1; + uint32 flow_id = 2; + uint32 status = 3; +} + +message Rpc_Event_StaItwtSuspend { + int32 resp = 1; + int32 status = 2; + uint32 flow_id_bitmap = 3; + repeated uint32 actual_suspend_time_ms = 4; // represents uint32_t actual_suspend_time_ms[] +} + +message Rpc_Event_StaItwtProbe { + int32 resp = 1; + int32 status = 2; + uint32 reason = 3; +} + +message Rpc_Req_WifiStaEnterpriseEnable { +} + +message Rpc_Resp_WifiStaEnterpriseEnable { + int32 resp = 1; +} + +message Rpc_Req_WifiStaEnterpriseDisable { +} + +message Rpc_Resp_WifiStaEnterpriseDisable { + int32 resp = 1; +} + +message Rpc_Req_EapSetIdentity { + bytes identity = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetIdentity { + int32 resp = 1; +} + +message Rpc_Req_EapClearIdentity { +} + +message Rpc_Resp_EapClearIdentity { + int32 resp = 1; +} + +message Rpc_Req_EapSetUsername { + bytes username = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetUsername { + int32 resp = 1; +} + +message Rpc_Req_EapClearUsername { +} + +message Rpc_Resp_EapClearUsername { + int32 resp = 1; +} + +message Rpc_Req_EapSetPassword { + bytes password = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetPassword { + int32 resp = 1; +} + +message Rpc_Req_EapClearPassword { +} + +message Rpc_Resp_EapClearPassword { + int32 resp = 1; +} + +message Rpc_Req_EapSetNewPassword { + bytes new_password = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetNewPassword { + int32 resp = 1; +} + +message Rpc_Req_EapClearNewPassword { +} + +message Rpc_Resp_EapClearNewPassword { + int32 resp = 1; +} + +message Rpc_Req_EapSetCaCert { + bytes ca_cert = 1; + int32 ca_cert_len = 2; +} + +message Rpc_Resp_EapSetCaCert { + int32 resp = 1; +} + +message Rpc_Req_EapClearCaCert { +} + +message Rpc_Resp_EapClearCaCert { + int32 resp = 1; +} + +message Rpc_Req_EapSetCertificateAndKey { + bytes client_cert = 1; + int32 client_cert_len = 2; + bytes private_key = 3; + int32 private_key_len = 4; + bytes private_key_password = 5; + int32 private_key_passwd_len = 6; +} + +message Rpc_Resp_EapSetCertificateAndKey { + int32 resp = 1; +} + +message Rpc_Req_EapClearCertificateAndKey { +} + +message Rpc_Resp_EapClearCertificateAndKey { + int32 resp = 1; +} + +message Rpc_Req_EapSetDisableTimeCheck { + bool disable = 1; +} + +message Rpc_Resp_EapSetDisableTimeCheck { + int32 resp = 1; +} + +message Rpc_Req_EapGetDisableTimeCheck { +} + +message Rpc_Resp_EapGetDisableTimeCheck { + int32 resp = 1; + bool disable = 2; +} + +message Rpc_Req_EapSetTtlsPhase2Method { + int32 type = 1; +} + +message Rpc_Resp_EapSetTtlsPhase2Method { + int32 resp = 1; +} + +message Rpc_Req_EapSetSuiteb192bitCertification { + bool enable = 1; +} + +message Rpc_Resp_EapSetSuiteb192bitCertification { + int32 resp = 1; +} + +message Rpc_Req_EapSetPacFile { + bytes pac_file = 1; + int32 pac_file_len = 2; +} + +message Rpc_Resp_EapSetPacFile { + int32 resp = 1; +} + +message Rpc_Req_EapSetFastParams { + eap_fast_config eap_fast_config = 1; +} + +message Rpc_Resp_EapSetFastParams { + int32 resp = 1; +} + +message Rpc_Req_EapUseDefaultCertBundle { + bool use_default_bundle = 1; +} + +message Rpc_Resp_EapUseDefaultCertBundle { + int32 resp = 1; +} + +message Rpc_Req_WifiSetOkcSupport { + bool enable = 1; +} + +message Rpc_Resp_WifiSetOkcSupport { + int32 resp = 1; +} + +message Rpc_Req_EapSetDomainName { + bytes domain_name = 1; +} + +message Rpc_Resp_EapSetDomainName { + int32 resp = 1; +} + +message Rpc_Req_EapSetEapMethods { + int32 methods = 1; +} + +message Rpc_Resp_EapSetEapMethods { + int32 resp = 1; +} + +message Rpc_Event_SuppDppUriReady { + int32 resp = 1; + bytes qrcode = 2; // QR Code to configure the enrollee +} + +message Rpc_Event_SuppDppCfgRecvd { + int32 resp = 1; + wifi_config cfg = 2; +} + +message Rpc_Event_SuppDppFail { + int32 resp = 1; + int32 reason = 2; // failure reason +} + +message Rpc_Event_WifiDppUriReady { + int32 resp = 1; + bytes qrcode = 2; // QR Code to configure the enrollee +} + +message Rpc_Event_WifiDppCfgRecvd { + int32 resp = 1; + wifi_config cfg = 2; +} + +message Rpc_Event_WifiDppFail { + int32 resp = 1; + int32 reason = 2; // failure reason +} + +enum Rpc_GpioMode { + GPIO_MODE_DISABLE = 0; + GPIO_MODE_INPUT = 1; + GPIO_MODE_OUTPUT = 2; + GPIO_MODE_INPUT_OUTPUT = 3; +} + +enum Rpc_GpioPullMode { + GPIO_PULL_NONE = 0; + GPIO_PULL_UP = 1; + GPIO_PULL_DOWN = 2; +} + +message Rpc_GpioConfig { + uint64 pin_bit_mask = 1; + Rpc_GpioMode mode = 2; + bool pull_up_en = 3; + bool pull_down_en = 4; + int32 intr_type = 5; +} + +message Rpc_Req_GpioConfig { + Rpc_GpioConfig config = 1; +} +message Rpc_Resp_GpioConfig { + int32 resp = 1; +} + +message Rpc_Req_GpioReset { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioResetPin { + int32 resp = 1; +} + +message Rpc_Req_GpioSetLevel { + int32 gpio_num = 1; + uint32 level = 2; // 0 or 1 +} +message Rpc_Resp_GpioSetLevel { + int32 resp = 1; +} + +message Rpc_Req_GpioGetLevel { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioGetLevel { + int32 resp = 1; + uint32 level = 2; +} + +message Rpc_Req_GpioSetDirection { + int32 gpio_num = 1; + Rpc_GpioMode mode = 2; +} +message Rpc_Resp_GpioSetDirection { + int32 resp = 1; +} + +message Rpc_Req_GpioInputEnable { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioInputEnable { + int32 resp = 1; +} + +message Rpc_Req_GpioSetPullMode { + int32 gpio_num = 1; + Rpc_GpioPullMode pull = 2; +} +message Rpc_Resp_GpioSetPullMode { + int32 resp = 1; +} + +message Rpc { + /* msg_type could be req, resp or Event */ + RpcType msg_type = 1; + + /* msg id */ + RpcId msg_id = 2; + + /* UID of message */ + uint32 uid = 3; + + /* union of all msg ids */ + oneof payload { + /** Requests **/ + Rpc_Req_GetMacAddress req_get_mac_address = 257; + Rpc_Req_SetMacAddress req_set_mac_address = 258; + Rpc_Req_GetMode req_get_wifi_mode = 259; + Rpc_Req_SetMode req_set_wifi_mode = 260; + + Rpc_Req_SuppDppInit req_supp_dpp_init = 261; + Rpc_Req_SuppDppDeinit req_supp_dpp_deinit = 262; + Rpc_Req_SuppDppBootstrapGen req_supp_dpp_bootstrap_gen = 263; + Rpc_Req_SuppDppStartListen req_supp_dpp_start_listen = 264; + Rpc_Req_SuppDppStopListen req_supp_dpp_stop_listen = 265; + + //Rpc_Req_StartSoftAP req_start_softap = 267; + //Rpc_Req_SoftAPConnectedSTA req_softap_connected_stas_list = 268; + //Rpc_Req_GetStatus req_stop_softap = 269; + Rpc_Req_OTAActivate req_ota_activate = 266; + + Rpc_Req_SetPs req_wifi_set_ps = 270; + Rpc_Req_GetPs req_wifi_get_ps = 271; + + Rpc_Req_OTABegin req_ota_begin = 272; + Rpc_Req_OTAWrite req_ota_write = 273; + Rpc_Req_OTAEnd req_ota_end = 274; + + Rpc_Req_WifiSetMaxTxPower req_set_wifi_max_tx_power = 275; + Rpc_Req_WifiGetMaxTxPower req_get_wifi_max_tx_power = 276; + Rpc_Req_ConfigHeartbeat req_config_heartbeat = 277; + + Rpc_Req_WifiInit req_wifi_init = 278; + Rpc_Req_WifiDeinit req_wifi_deinit = 279; + Rpc_Req_WifiStart req_wifi_start = 280; + Rpc_Req_WifiStop req_wifi_stop = 281; + Rpc_Req_WifiConnect req_wifi_connect = 282; + Rpc_Req_WifiDisconnect req_wifi_disconnect = 283; + Rpc_Req_WifiSetConfig req_wifi_set_config = 284; + Rpc_Req_WifiGetConfig req_wifi_get_config = 285; + + Rpc_Req_WifiScanStart req_wifi_scan_start = 286; + Rpc_Req_WifiScanStop req_wifi_scan_stop = 287; + Rpc_Req_WifiScanGetApNum req_wifi_scan_get_ap_num = 288; + Rpc_Req_WifiScanGetApRecords req_wifi_scan_get_ap_records = 289; + Rpc_Req_WifiClearApList req_wifi_clear_ap_list = 290; + + Rpc_Req_WifiRestore req_wifi_restore = 291; + Rpc_Req_WifiClearFastConnect req_wifi_clear_fast_connect = 292; + Rpc_Req_WifiDeauthSta req_wifi_deauth_sta = 293; + Rpc_Req_WifiStaGetApInfo req_wifi_sta_get_ap_info = 294; + + Rpc_Req_WifiSetProtocol req_wifi_set_protocol = 297; + Rpc_Req_WifiGetProtocol req_wifi_get_protocol = 298; + Rpc_Req_WifiSetBandwidth req_wifi_set_bandwidth = 299; + Rpc_Req_WifiGetBandwidth req_wifi_get_bandwidth = 300; + Rpc_Req_WifiSetChannel req_wifi_set_channel = 301; + Rpc_Req_WifiGetChannel req_wifi_get_channel = 302; + Rpc_Req_WifiSetCountry req_wifi_set_country = 303; + Rpc_Req_WifiGetCountry req_wifi_get_country = 304; + + Rpc_Req_WifiApGetStaList req_wifi_ap_get_sta_list = 311; + Rpc_Req_WifiApGetStaAid req_wifi_ap_get_sta_aid = 312; + Rpc_Req_WifiSetStorage req_wifi_set_storage = 313; + + Rpc_Req_WifiSetInactiveTime req_wifi_set_inactive_time = 325; + Rpc_Req_WifiGetInactiveTime req_wifi_get_inactive_time = 326; + + Rpc_Req_WifiSetCountryCode req_wifi_set_country_code = 334; + Rpc_Req_WifiGetCountryCode req_wifi_get_country_code = 335; + Rpc_Req_WifiStaGetAid req_wifi_sta_get_aid = 338; + Rpc_Req_WifiStaGetNegotiatedPhymode req_wifi_sta_get_negotiated_phymode = 339; + + Rpc_Req_WifiStaGetRssi req_wifi_sta_get_rssi = 341; + + Rpc_Req_WifiSetProtocols req_wifi_set_protocols = 342; + Rpc_Req_WifiGetProtocols req_wifi_get_protocols = 343; + Rpc_Req_WifiSetBandwidths req_wifi_set_bandwidths = 344; + Rpc_Req_WifiGetBandwidths req_wifi_get_bandwidths = 345; + + Rpc_Req_WifiSetBand req_wifi_set_band = 346; + Rpc_Req_WifiGetBand req_wifi_get_band = 347; + Rpc_Req_WifiSetBandMode req_wifi_set_bandmode = 348; + Rpc_Req_WifiGetBandMode req_wifi_get_bandmode = 349; + + Rpc_Req_GetCoprocessorFwVersion req_get_coprocessor_fwversion = 350; + + Rpc_Req_WifiScanGetApRecord req_wifi_scan_get_ap_record = 351; + + Rpc_Req_SetDhcpDnsStatus req_set_dhcp_dns = 352; + Rpc_Req_GetDhcpDnsStatus req_get_dhcp_dns = 353; + + Rpc_Req_WifiStaTwtConfig req_wifi_sta_twt_config = 354; + Rpc_Req_WifiStaItwtSetup req_wifi_sta_itwt_setup = 355; + Rpc_Req_WifiStaItwtTeardown req_wifi_sta_itwt_teardown = 356; + Rpc_Req_WifiStaItwtSuspend req_wifi_sta_itwt_suspend = 357; + Rpc_Req_WifiStaItwtGetFlowIdStatus req_wifi_sta_itwt_get_flow_id_status = 358; + Rpc_Req_WifiStaItwtSendProbeReq req_wifi_sta_itwt_send_probe_req = 359; + Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset req_wifi_sta_itwt_set_target_wake_time_offset = 360; + + Rpc_Req_WifiStaEnterpriseEnable req_wifi_sta_enterprise_enable = 361; + Rpc_Req_WifiStaEnterpriseDisable req_wifi_sta_enterprise_disable = 362; + Rpc_Req_EapSetIdentity req_eap_set_identity = 363; + Rpc_Req_EapClearIdentity req_eap_clear_identity = 364; + Rpc_Req_EapSetUsername req_eap_set_username = 365; + Rpc_Req_EapClearUsername req_eap_clear_username = 366; + Rpc_Req_EapSetPassword req_eap_set_password = 367; + Rpc_Req_EapClearPassword req_eap_clear_password = 368; + Rpc_Req_EapSetNewPassword req_eap_set_new_password = 369; + Rpc_Req_EapClearNewPassword req_eap_clear_new_password = 370; + Rpc_Req_EapSetCaCert req_eap_set_ca_cert = 371; + Rpc_Req_EapClearCaCert req_eap_clear_ca_cert = 372; + Rpc_Req_EapSetCertificateAndKey req_eap_set_certificate_and_key = 373; + Rpc_Req_EapClearCertificateAndKey req_eap_clear_certificate_and_key = 374; + Rpc_Req_EapGetDisableTimeCheck req_eap_get_disable_time_check = 375; + Rpc_Req_EapSetTtlsPhase2Method req_eap_set_ttls_phase2_method = 376; + Rpc_Req_EapSetSuiteb192bitCertification req_eap_set_suiteb_certification = 377; + Rpc_Req_EapSetPacFile req_eap_set_pac_file = 378; + Rpc_Req_EapSetFastParams req_eap_set_fast_params = 379; + Rpc_Req_EapUseDefaultCertBundle req_eap_use_default_cert_bundle = 380; + Rpc_Req_WifiSetOkcSupport req_wifi_set_okc_support = 381; + Rpc_Req_EapSetDomainName req_eap_set_domain_name = 382; + Rpc_Req_EapSetDisableTimeCheck req_eap_set_disable_time_check = 383; + Rpc_Req_EapSetEapMethods req_eap_set_eap_methods = 384; + + Rpc_Req_IfaceMacAddrSetGet req_iface_mac_addr_set_get = 385; + Rpc_Req_IfaceMacAddrLenGet req_iface_mac_addr_len_get = 386; + + Rpc_Req_FeatureControl req_feature_control = 387; + + Rpc_Req_GpioConfig req_gpio_config = 388; + Rpc_Req_GpioReset req_gpio_reset = 389; + Rpc_Req_GpioSetLevel req_gpio_set_level = 390; + Rpc_Req_GpioGetLevel req_gpio_get_level = 391; + Rpc_Req_GpioSetDirection req_gpio_set_direction = 392; + Rpc_Req_GpioInputEnable req_gpio_input_enable = 393; + Rpc_Req_GpioSetPullMode req_gpio_set_pull_mode = 394; + + /** Responses **/ + Rpc_Resp_GetMacAddress resp_get_mac_address = 513; + Rpc_Resp_SetMacAddress resp_set_mac_address = 514; + Rpc_Resp_GetMode resp_get_wifi_mode = 515; + Rpc_Resp_SetMode resp_set_wifi_mode = 516; + + Rpc_Resp_SuppDppInit resp_supp_dpp_init = 517; + Rpc_Resp_SuppDppDeinit resp_supp_dpp_deinit = 518; + Rpc_Resp_SuppDppBootstrapGen resp_supp_dpp_bootstrap_gen = 519; + Rpc_Resp_SuppDppStartListen resp_supp_dpp_start_listen = 520; + Rpc_Resp_SuppDppStopListen resp_supp_dpp_stop_listen = 521; + + //Rpc_Resp_SetSoftAPVendorSpecificIE resp_set_softap_vendor_specific_ie = 522; + //Rpc_Resp_StartSoftAP resp_start_softap = 523; + //Rpc_Resp_SoftAPConnectedSTA resp_softap_connected_stas_list = 524; + //Rpc_Resp_GetStatus resp_stop_softap = 525; + Rpc_Resp_OTAActivate resp_ota_activate = 522; + + Rpc_Resp_SetPs resp_wifi_set_ps = 526; + Rpc_Resp_GetPs resp_wifi_get_ps = 527; + + Rpc_Resp_OTABegin resp_ota_begin = 528; + Rpc_Resp_OTAWrite resp_ota_write = 529; + Rpc_Resp_OTAEnd resp_ota_end = 530; + Rpc_Resp_WifiSetMaxTxPower resp_set_wifi_max_tx_power = 531; + Rpc_Resp_WifiGetMaxTxPower resp_get_wifi_max_tx_power = 532; + Rpc_Resp_ConfigHeartbeat resp_config_heartbeat = 533; + + Rpc_Resp_WifiInit resp_wifi_init = 534; + Rpc_Resp_WifiDeinit resp_wifi_deinit = 535; + Rpc_Resp_WifiStart resp_wifi_start = 536; + Rpc_Resp_WifiStop resp_wifi_stop = 537; + Rpc_Resp_WifiConnect resp_wifi_connect = 538; + Rpc_Resp_WifiDisconnect resp_wifi_disconnect = 539; + Rpc_Resp_WifiSetConfig resp_wifi_set_config = 540; + Rpc_Resp_WifiGetConfig resp_wifi_get_config = 541; + + Rpc_Resp_WifiScanStart resp_wifi_scan_start = 542; + Rpc_Resp_WifiScanStop resp_wifi_scan_stop = 543; + Rpc_Resp_WifiScanGetApNum resp_wifi_scan_get_ap_num = 544; + Rpc_Resp_WifiScanGetApRecords resp_wifi_scan_get_ap_records = 545; + Rpc_Resp_WifiClearApList resp_wifi_clear_ap_list = 546; + + Rpc_Resp_WifiRestore resp_wifi_restore = 547; + Rpc_Resp_WifiClearFastConnect resp_wifi_clear_fast_connect = 548; + Rpc_Resp_WifiDeauthSta resp_wifi_deauth_sta = 549; + Rpc_Resp_WifiStaGetApInfo resp_wifi_sta_get_ap_info = 550; + + Rpc_Resp_WifiSetProtocol resp_wifi_set_protocol = 553; + Rpc_Resp_WifiGetProtocol resp_wifi_get_protocol = 554; + Rpc_Resp_WifiSetBandwidth resp_wifi_set_bandwidth = 555; + Rpc_Resp_WifiGetBandwidth resp_wifi_get_bandwidth = 556; + Rpc_Resp_WifiSetChannel resp_wifi_set_channel = 557; + Rpc_Resp_WifiGetChannel resp_wifi_get_channel = 558; + Rpc_Resp_WifiSetCountry resp_wifi_set_country = 559; + Rpc_Resp_WifiGetCountry resp_wifi_get_country = 560; + + Rpc_Resp_WifiApGetStaList resp_wifi_ap_get_sta_list = 567; + Rpc_Resp_WifiApGetStaAid resp_wifi_ap_get_sta_aid = 568; + Rpc_Resp_WifiSetStorage resp_wifi_set_storage = 569; + + Rpc_Resp_WifiSetInactiveTime resp_wifi_set_inactive_time = 581; + Rpc_Resp_WifiGetInactiveTime resp_wifi_get_inactive_time = 582; + + Rpc_Resp_WifiSetCountryCode resp_wifi_set_country_code = 590; + Rpc_Resp_WifiGetCountryCode resp_wifi_get_country_code = 591; + Rpc_Resp_WifiStaGetAid resp_wifi_sta_get_aid = 594; + Rpc_Resp_WifiStaGetNegotiatedPhymode resp_wifi_sta_get_negotiated_phymode = 595; + + Rpc_Resp_WifiStaGetRssi resp_wifi_sta_get_rssi = 597; + + Rpc_Resp_WifiSetProtocols resp_wifi_set_protocols = 598; + Rpc_Resp_WifiGetProtocols resp_wifi_get_protocols = 599; + Rpc_Resp_WifiSetBandwidths resp_wifi_set_bandwidths = 600; + Rpc_Resp_WifiGetBandwidths resp_wifi_get_bandwidths = 601; + + Rpc_Resp_WifiSetBand resp_wifi_set_band = 602; + Rpc_Resp_WifiGetBand resp_wifi_get_band = 603; + Rpc_Resp_WifiSetBandMode resp_wifi_set_bandmode = 604; + Rpc_Resp_WifiGetBandMode resp_wifi_get_bandmode = 605; + + Rpc_Resp_GetCoprocessorFwVersion resp_get_coprocessor_fwversion = 606; + + Rpc_Resp_WifiScanGetApRecord resp_wifi_scan_get_ap_record = 607; + + Rpc_Resp_SetDhcpDnsStatus resp_set_dhcp_dns = 608; + Rpc_Resp_GetDhcpDnsStatus resp_get_dhcp_dns = 609; + + Rpc_Resp_WifiStaTwtConfig resp_wifi_sta_twt_config = 610; + Rpc_Resp_WifiStaItwtSetup resp_wifi_sta_itwt_setup = 611; + Rpc_Resp_WifiStaItwtTeardown resp_wifi_sta_itwt_teardown = 612; + Rpc_Resp_WifiStaItwtSuspend resp_wifi_sta_itwt_suspend = 613; + Rpc_Resp_WifiStaItwtGetFlowIdStatus resp_wifi_sta_itwt_get_flow_id_status = 614; + Rpc_Resp_WifiStaItwtSendProbeReq resp_wifi_sta_itwt_send_probe_req = 615; + Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset resp_wifi_sta_itwt_set_target_wake_time_offset = 616; + + Rpc_Resp_WifiStaEnterpriseEnable resp_wifi_sta_enterprise_enable = 617; + Rpc_Resp_WifiStaEnterpriseDisable resp_wifi_sta_enterprise_disable = 618; + Rpc_Resp_EapSetIdentity resp_eap_set_identity = 619; + Rpc_Resp_EapClearIdentity resp_eap_clear_identity = 620; + Rpc_Resp_EapSetUsername resp_eap_set_username = 621; + Rpc_Resp_EapClearUsername resp_eap_clear_username = 622; + Rpc_Resp_EapSetPassword resp_eap_set_password = 623; + Rpc_Resp_EapClearPassword resp_eap_clear_password = 624; + Rpc_Resp_EapSetNewPassword resp_eap_set_new_password = 625; + Rpc_Resp_EapClearNewPassword resp_eap_clear_new_password = 626; + Rpc_Resp_EapSetCaCert resp_eap_set_ca_cert = 627; + Rpc_Resp_EapClearCaCert resp_eap_clear_ca_cert = 628; + Rpc_Resp_EapSetCertificateAndKey resp_eap_set_certificate_and_key = 629; + Rpc_Resp_EapClearCertificateAndKey resp_eap_clear_certificate_and_key = 630; + Rpc_Resp_EapGetDisableTimeCheck resp_eap_get_disable_time_check = 631; + Rpc_Resp_EapSetTtlsPhase2Method resp_eap_set_ttls_phase2_method = 632; + Rpc_Resp_EapSetSuiteb192bitCertification resp_eap_set_suiteb_certification = 633; + Rpc_Resp_EapSetPacFile resp_eap_set_pac_file = 634; + Rpc_Resp_EapSetFastParams resp_eap_set_fast_params = 635; + Rpc_Resp_EapUseDefaultCertBundle resp_eap_use_default_cert_bundle = 636; + Rpc_Resp_WifiSetOkcSupport resp_wifi_set_okc_support = 637; + Rpc_Resp_EapSetDomainName resp_eap_set_domain_name = 638; + Rpc_Resp_EapSetDisableTimeCheck resp_eap_set_disable_time_check = 639; + Rpc_Resp_EapSetEapMethods resp_eap_set_eap_methods = 640; + + Rpc_Resp_IfaceMacAddrSetGet resp_iface_mac_addr_set_get = 641; + Rpc_Resp_IfaceMacAddrLenGet resp_iface_mac_addr_len_get = 642; + + Rpc_Resp_FeatureControl resp_feature_control = 643; + + Rpc_Resp_GpioConfig resp_gpio_config = 644; + Rpc_Resp_GpioResetPin resp_gpio_reset = 645; + Rpc_Resp_GpioSetLevel resp_gpio_set_level = 646; + Rpc_Resp_GpioGetLevel resp_gpio_get_level = 647; + Rpc_Resp_GpioSetDirection resp_gpio_set_direction = 648; + Rpc_Resp_GpioInputEnable resp_gpio_input_enable = 649; + Rpc_Resp_GpioSetPullMode resp_gpio_set_pull_mode = 650; + + /** Notifications **/ + Rpc_Event_ESPInit event_esp_init = 769; + Rpc_Event_Heartbeat event_heartbeat = 770; + Rpc_Event_AP_StaConnected event_ap_sta_connected = 771; + Rpc_Event_AP_StaDisconnected event_ap_sta_disconnected = 772; + Rpc_Event_WifiEventNoArgs event_wifi_event_no_args = 773; + Rpc_Event_StaScanDone event_sta_scan_done = 774; + Rpc_Event_StaConnected event_sta_connected = 775; + Rpc_Event_StaDisconnected event_sta_disconnected = 776; + Rpc_Event_DhcpDnsStatus event_dhcp_dns = 777; + Rpc_Event_StaItwtSetup event_sta_itwt_setup = 778; + Rpc_Event_StaItwtTeardown event_sta_itwt_teardown = 779; + Rpc_Event_StaItwtSuspend event_sta_itwt_suspend = 780; + Rpc_Event_StaItwtProbe event_sta_itwt_probe = 781; + Rpc_Event_SuppDppUriReady event_supp_dpp_uri_ready = 782; + Rpc_Event_SuppDppCfgRecvd event_supp_dpp_cfg_recvd = 783; + Rpc_Event_SuppDppFail event_supp_dpp_fail = 784; + Rpc_Event_WifiDppUriReady event_wifi_dpp_uri_ready = 785; + Rpc_Event_WifiDppCfgRecvd event_wifi_dpp_cfg_recvd = 786; + Rpc_Event_WifiDppFail event_wifi_dpp_fail = 787; + } +} diff --git a/host/api/include/esp_hosted_gpio.h b/host/api/include/esp_hosted_gpio.h new file mode 100644 index 0000000..03e0216 --- /dev/null +++ b/host/api/include/esp_hosted_gpio.h @@ -0,0 +1,33 @@ +/* APIs to do control GPIOs of the co-processor + * + * Note: This API is platform dependent + * + * Source for the API should be in host/port//... + * + */ + +#ifndef __ESP_HOSTED_GPIO_H__ +#define __ESP_HOSTED_GPIO_H__ + + +#include "esp_err.h" + +typedef struct +{ + uint64_t pin_bit_mask; /*!< GPIO pin: set with bit mask, each bit maps to a GPIO */ + uint32_t mode; /*!< GPIO mode: set input/output mode */ + uint32_t pull_up_en; /*!< GPIO pull-up */ + uint32_t pull_down_en; /*!< GPIO pull-down */ + uint32_t intr_type; /*!< GPIO interrupt type */ + +} esp_hosted_gpio_config_t; + +esp_err_t esp_hosted_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig); +esp_err_t esp_hosted_gpio_reset_pin(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_level(uint32_t gpio_num, uint32_t level); +int esp_hosted_gpio_get_level(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_direction(uint32_t gpio_num, uint32_t mode); +esp_err_t esp_hosted_gpio_input_enable(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull); + +#endif /*__ESP_HOSTED_GPIO_H__*/ diff --git a/host/drivers/rpc/core/rpc_req.c b/host/drivers/rpc/core/rpc_req.c index 9a29422..80f3013 100644 --- a/host/drivers/rpc/core/rpc_req.c +++ b/host/drivers/rpc/core/rpc_req.c @@ -818,6 +818,57 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) RPC_REQ_COPY_BYTES(p_c->info, (uint8_t *)p_a->info, str_len + 1); } break; +#endif +#if H_ENABLE_GPIO_CONTROL + } case RPC_ID__Req_GpioConfig: { + RPC_ALLOC_ASSIGN(RpcReqGpioConfig, req_gpio_config, + rpc__req__gpio_config__init); + RPC_ALLOC_ELEMENT(RpcGpioConfig, req_payload->config, rpc__gpio_config__init); + + req_payload->config->pin_bit_mask = app_req->u.gpio_config.pin_bit_mask; + req_payload->config->intr_type = app_req->u.gpio_config.intr_type; + req_payload->config->mode = app_req->u.gpio_config.mode; + req_payload->config->pull_up_en = app_req->u.gpio_config.pull_up_en; + req_payload->config->pull_down_en = app_req->u.gpio_config.pull_down_en; + break; + } case RPC_ID__Req_GpioResetPin: { + RPC_ALLOC_ASSIGN(RpcReqGpioReset, req_gpio_reset, + rpc__req__gpio_reset__init); + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetLevel: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetLevel, req_gpio_set_level, + rpc__req__gpio_set_level__init); + + req_payload->gpio_num = app_req->u.gpio_set_level.gpio_num; + req_payload->level = app_req->u.gpio_set_level.level; + break; + } case RPC_ID__Req_GpioGetLevel: { + RPC_ALLOC_ASSIGN(RpcReqGpioGetLevel, req_gpio_get_level, + rpc__req__gpio_get_level__init); + + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetDirection: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetDirection, req_gpio_set_direction, + rpc__req__gpio_set_direction__init); + + req_payload->gpio_num = app_req->u.gpio_set_direction.gpio_num; + req_payload->mode = app_req->u.gpio_set_direction.mode; + break; + } case RPC_ID__Req_GpioInputEnable: { + RPC_ALLOC_ASSIGN(RpcReqGpioInputEnable, req_gpio_input_enable, + rpc__req__gpio_input_enable__init); + + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetPullMode: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetPullMode, req_gpio_set_pull_mode, + rpc__req__gpio_set_pull_mode__init); + + req_payload->gpio_num = app_req->u.gpio_set_pull_mode.gpio_num; + req_payload->pull = app_req->u.gpio_set_pull_mode.pull_mode; + break; #endif } default: { *failure_status = RPC_ERR_UNSUPPORTED_MSG; diff --git a/host/drivers/rpc/core/rpc_rsp.c b/host/drivers/rpc/core/rpc_rsp.c index 3ac6d60..06b6a27 100644 --- a/host/drivers/rpc/core/rpc_rsp.c +++ b/host/drivers/rpc/core/rpc_rsp.c @@ -761,6 +761,37 @@ int rpc_parse_rsp(Rpc *rpc_msg, ctrl_cmd_t *app_resp) RPC_ERR_IN_RESP(resp_supp_dpp_stop_listen); break; #endif +#if H_ENABLE_GPIO_CONTROL + } case RPC_ID__Resp_GpioConfig: { + RPC_FAIL_ON_NULL(resp_gpio_config); + RPC_ERR_IN_RESP(resp_gpio_config); + break; + } case RPC_ID__Resp_GpioResetPin: { + RPC_FAIL_ON_NULL(resp_gpio_reset); + RPC_ERR_IN_RESP(resp_gpio_reset); + break; + } case RPC_ID__Resp_GpioSetLevel: { + RPC_FAIL_ON_NULL(resp_gpio_set_level); + RPC_ERR_IN_RESP(resp_gpio_set_level); + break; + } case RPC_ID__Resp_GpioGetLevel: { + RPC_FAIL_ON_NULL(resp_gpio_get_level); + RPC_ERR_IN_RESP(resp_gpio_get_level); + app_resp->u.gpio_get_level = rpc_msg->resp_gpio_get_level->level; + break; + } case RPC_ID__Resp_GpioSetDirection: { + RPC_FAIL_ON_NULL(resp_gpio_set_direction); + RPC_ERR_IN_RESP(resp_gpio_set_direction); + break; + } case RPC_ID__Resp_GpioInputEnable: { + RPC_FAIL_ON_NULL(resp_gpio_input_enable); + RPC_ERR_IN_RESP(resp_gpio_input_enable); + break; + } case RPC_ID__Resp_GpioSetPullMode: { + RPC_FAIL_ON_NULL(resp_gpio_set_pull_mode); + RPC_ERR_IN_RESP(resp_gpio_set_pull_mode); + break; +#endif // H_ENABLE_GPIO_CONTROL } default: { ESP_LOGE(TAG, "Unsupported rpc Resp[%u]", rpc_msg->msg_id); goto fail_parse_rpc_msg; diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.c b/host/drivers/rpc/slaveif/rpc_slave_if.c index 340c8aa..9884bc4 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.c +++ b/host/drivers/rpc/slaveif/rpc_slave_if.c @@ -648,3 +648,46 @@ ctrl_cmd_t * rpc_slaveif_supp_dpp_stop_listen(ctrl_cmd_t *req) RPC_DECODE_RSP_IF_NOT_ASYNC(); } #endif +#if H_ENABLE_GPIO_CONTROL +ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioConfig); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_reset_pin(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioResetPin); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_level(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetLevel); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_get_level(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioGetLevel); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_direction(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetDirection); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_input_enable(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioInputEnable); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetPullMode); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} +#endif //H_ENABLE_GPIO_CONTROL diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.h b/host/drivers/rpc/slaveif/rpc_slave_if.h index d328dd3..8388e56 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.h +++ b/host/drivers/rpc/slaveif/rpc_slave_if.h @@ -14,6 +14,7 @@ #include "esp_mac.h" #include "esp_wifi_types.h" #include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #if H_WIFI_ENTERPRISE_SUPPORT #include "esp_eap_client.h" @@ -335,6 +336,34 @@ typedef struct { } rpc_eap_domain_name_t; #endif +#if H_ENABLE_GPIO_CONTROL +typedef struct { + uint64_t pin_bit_mask; /*!< GPIO pin: set with bit mask, each bit maps to a GPIO */ + uint32_t mode; /*!< GPIO mode: set input/output mode */ + uint32_t pull_up_en; /*!< GPIO pull-up */ + uint32_t pull_down_en; /*!< GPIO pull-down */ + uint32_t intr_type; /*!< GPIO interrupt type */ +//#if SOC_GPIO_SUPPORT_PIN_HYS_FILTER +// uint32_t hys_ctrl_mode; /*!< GPIO hysteresis: hysteresis filter on slope input */ +//#endif +} rpc_gpio_config_t; + +typedef struct { + uint32_t gpio_num; + uint32_t level; +} rpc_gpio_set_level_t; + +typedef struct { + uint32_t gpio_num; + uint32_t mode; +} rpc_gpio_set_direction_t; + +typedef struct { + uint32_t gpio_num; + uint32_t pull_mode; +} rpc_gpio_set_pull_mode_t; +#endif + typedef struct Ctrl_cmd_t { /* msg type could be 1. req 2. resp 3. notification */ uint8_t msg_type; @@ -505,6 +534,19 @@ typedef struct Ctrl_cmd_t { supp_wifi_event_dpp_config_received_t e_dpp_config_received; supp_wifi_event_dpp_failed_t e_dpp_failed; +#endif +#if H_ENABLE_GPIO_CONTROL + rpc_gpio_config_t gpio_config; + + uint32_t gpio_num; + + rpc_gpio_set_level_t gpio_set_level; + + int gpio_get_level; + + rpc_gpio_set_direction_t gpio_set_direction; + + rpc_gpio_set_pull_mode_t gpio_set_pull_mode; #endif }u; @@ -764,6 +806,15 @@ ctrl_cmd_t * rpc_slaveif_supp_dpp_bootstrap_gen(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_supp_dpp_start_listen(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_supp_dpp_stop_listen(ctrl_cmd_t *req); #endif +#if H_ENABLE_GPIO_CONTROL +ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_reset_pin(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_level(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_get_level(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_direction(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_input_enable(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req); +#endif #ifdef __cplusplus } #endif diff --git a/host/drivers/rpc/wrap/rpc_wrap.c b/host/drivers/rpc/wrap/rpc_wrap.c index f4bad2d..6fc76a2 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.c +++ b/host/drivers/rpc/wrap/rpc_wrap.c @@ -13,6 +13,7 @@ #include "esp_hosted_rpc.h" #include "esp_log.h" #include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #include "port_esp_hosted_host_os.h" #include "esp_hosted_transport.h" #include "port_esp_hosted_host_log.h" @@ -691,7 +692,17 @@ int rpc_rsp_callback(ctrl_cmd_t * app_resp) case RPC_ID__Resp_SuppDppStartListen: case RPC_ID__Resp_SuppDppStopListen: #endif - case RPC_ID__Resp_GetCoprocessorFwVersion: { +#if H_ENABLE_GPIO_CONTROL + case RPC_ID__Resp_GetCoprocessorFwVersion: + case RPC_ID__Resp_GpioConfig: + case RPC_ID__Resp_GpioResetPin: + case RPC_ID__Resp_GpioSetLevel: + case RPC_ID__Resp_GpioGetLevel: + case RPC_ID__Resp_GpioSetDirection: + case RPC_ID__Resp_GpioInputEnable: + case RPC_ID__Resp_GpioSetPullMode: +#endif + { /* Intended fallthrough */ break; } default: { @@ -2387,3 +2398,103 @@ static esp_err_t rpc_iface_feature_control(rcp_feature_control_t *feature_contro return rpc_rsp_callback(resp); } + +#if H_ENABLE_GPIO_CONTROL +esp_err_t rpc_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + if (!pGPIOConfig) + return FAILURE; + + req->u.gpio_config.pin_bit_mask = pGPIOConfig->pin_bit_mask; + req->u.gpio_config.mode = pGPIOConfig->mode; + req->u.gpio_config.pull_up_en = pGPIOConfig->pull_up_en; + req->u.gpio_config.pull_down_en = pGPIOConfig->pull_down_en; + req->u.gpio_config.intr_type = pGPIOConfig->intr_type; + + resp = rpc_slaveif_gpio_config(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_reset(uint32_t gpio_num) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_reset_pin(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_level(uint32_t gpio_num, uint32_t level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_level.gpio_num = gpio_num; + req->u.gpio_set_level.level = level; + + resp = rpc_slaveif_gpio_set_level(req); + return rpc_rsp_callback(resp); +} + +int rpc_gpio_get_level(uint32_t gpio_num, int *level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_get_level(req); + + if (resp && resp->resp_event_status == SUCCESS) { + *level = resp->u.gpio_get_level; + } + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_direction(uint32_t gpio_num, uint32_t mode) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_direction.gpio_num = gpio_num; + req->u.gpio_set_direction.mode = mode; + + resp = rpc_slaveif_gpio_set_direction(req); + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_input_enable(uint32_t gpio_num) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_input_enable(req); + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull_mode) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_pull_mode.gpio_num = gpio_num; + req->u.gpio_set_pull_mode.pull_mode = pull_mode; + + resp = rpc_slaveif_gpio_set_pull_mode(req); + return rpc_rsp_callback(resp); +} +#endif diff --git a/host/drivers/rpc/wrap/rpc_wrap.h b/host/drivers/rpc/wrap/rpc_wrap.h index cb386d9..4159e53 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.h +++ b/host/drivers/rpc/wrap/rpc_wrap.h @@ -15,6 +15,7 @@ extern "C" { /** Includes **/ #include "esp_wifi.h" #include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #include "esp_mac.h" #include "esp_hosted_api_types.h" @@ -24,7 +25,9 @@ extern "C" { #if H_DPP_SUPPORT #include "esp_dpp.h" #endif - +#if H_ENABLE_GPIO_CONTROL +#include "esp_hosted_gpio.h" +#endif /** Exported variables **/ /** Inline functions **/ @@ -170,6 +173,15 @@ esp_err_t rpc_supp_dpp_bootstrap_gen(const char *chan_list, esp_err_t rpc_supp_dpp_start_listen(void); esp_err_t rpc_supp_dpp_stop_listen(void); #endif +#if H_ENABLE_GPIO_CONTROL +esp_err_t rpc_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig); +esp_err_t rpc_gpio_reset_pin(uint32_t gpio_num); +esp_err_t rpc_gpio_set_level(uint32_t gpio_num, uint32_t level); +int rpc_gpio_get_level(uint32_t gpio_num, int *level); +esp_err_t rpc_gpio_set_direction(uint32_t gpio_num, uint32_t mode); +esp_err_t rpc_gpio_input_enable(uint32_t gpio_num); +esp_err_t rpc_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull); +#endif #ifdef __cplusplus } diff --git a/host/port/esp/freertos/include/port_esp_hosted_host_config.h b/host/port/esp/freertos/include/port_esp_hosted_host_config.h index 82ecdc3..94bf070 100644 --- a/host/port/esp/freertos/include/port_esp_hosted_host_config.h +++ b/host/port/esp/freertos/include/port_esp_hosted_host_config.h @@ -570,4 +570,10 @@ enum { esp_err_t esp_hosted_set_default_config(void); bool esp_hosted_is_config_valid(void); +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_CONTROL +#define H_ENABLE_GPIO_CONTROL 1 +#else +#define H_ENABLE_GPIO_CONTROL 0 +#endif + #endif /*__ESP_HOSTED_CONFIG_H__*/ diff --git a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c new file mode 100644 index 0000000..25b8e8b --- /dev/null +++ b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c @@ -0,0 +1,52 @@ +/* + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include "esp_log.h" + +#include "rpc_wrap.h" +#include "port_esp_hosted_host_config.h" + +#if H_ENABLE_GPIO_CONTROL +#include "esp_hosted_gpio.h" + +esp_err_t esp_hosted_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig) +{ + return rpc_gpio_config(pGPIOConfig); +} + +esp_err_t esp_hosted_gpio_reset_pin(uint32_t gpio_num) +{ + return rpc_gpio_reset_pin(gpio_num); +} + +esp_err_t esp_hosted_gpio_set_level(uint32_t gpio_num, uint32_t level) +{ + return rpc_gpio_set_level(gpio_num, level); +} + +int esp_hosted_gpio_get_level(uint32_t gpio_num) +{ + int level = 0; + rpc_gpio_get_level(gpio_num, &level); + return level; +} + +esp_err_t esp_hosted_gpio_set_direction(uint32_t gpio_num, uint32_t mode) +{ + return rpc_gpio_set_direction(gpio_num, mode); +} + +esp_err_t esp_hosted_gpio_input_enable(uint32_t gpio_num) +{ + return rpc_gpio_input_enable(gpio_num); +} + +esp_err_t esp_hosted_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull) +{ + return rpc_gpio_set_pull_mode(gpio_num, pull); +} + +#endif // H_ENABLE_GPIO_CONTROL diff --git a/slave/main/CMakeLists.txt b/slave/main/CMakeLists.txt index e98e064..147735a 100644 --- a/slave/main/CMakeLists.txt +++ b/slave/main/CMakeLists.txt @@ -16,6 +16,7 @@ set(COMPONENT_SRCS "mempool_ll.c" "host_power_save.c" "lwip_filter.c" + "transport_gpio_pin_guard.c" ) set(COMPONENT_ADD_INCLUDEDIRS diff --git a/slave/main/Kconfig.projbuild b/slave/main/Kconfig.projbuild index cf8ee9e..383b8d6 100644 --- a/slave/main/Kconfig.projbuild +++ b/slave/main/Kconfig.projbuild @@ -664,8 +664,7 @@ menu "Example Configuration" default ESP_SPI_GPIO_RESET if ESP_SPI_HOST_INTERFACE default ESP_SDIO_GPIO_RESET if ESP_SDIO_HOST_INTERFACE default ESP_SPI_HD_GPIO_RESET if ESP_SPI_HD_HOST_INTERFACE - default ESP_UART_GPIO_RESET if ESP_UART_HOST_INTERFACE - + default ESP_UART_GPIO_RESET if ESP_UART_HOST_INTERFACE endmenu # HCI UART menu for ESP32-C3/S3 @@ -1126,6 +1125,13 @@ menu "Example Configuration" This can be useful for testing and development purposes where a known Wi-Fi setup is required. + config ESP_HOSTED_ENABLE_GPIO_RPC + bool "Enable GPIO control on SLAVE (host can control slave GPIOs)" + default n + help + Enable RPC methods that allow the HOST MCU to configure and control + GPIOs on the SLAVE. Leave disabled unless you really need it. + Access to GPIOs used by the transport (SPI/SDIO/SPI-HD/UART) are always blocked. menu "Wi-Fi default config (pre-provisioning)" depends on ESP_HOSTED_USE_EXAMPLE_WIFI_PRE_PROVISION_CONFIG diff --git a/slave/main/slave_control.c b/slave/main/slave_control.c index 3b9381d..e7f0a30 100644 --- a/slave/main/slave_control.c +++ b/slave/main/slave_control.c @@ -22,6 +22,11 @@ #include "slave_bt.h" #include "esp_hosted_coprocessor_fw_ver.h" +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC +#include "driver/gpio.h" +#include "transport_gpio_pin_guard.h" +#endif + #if H_DPP_SUPPORT #include "esp_dpp.h" #endif @@ -3598,6 +3603,168 @@ static esp_err_t req_supp_dpp_stop_listen(Rpc *req, Rpc *resp, void *priv_data) } #endif +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC +static esp_err_t req_gpio_config(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioConfig, resp_gpio_config, + RpcReqGpioConfig, req_gpio_config, + rpc__resp__gpio_config__init); + + gpio_config_t config; + + config.mode = req_payload->config->mode; + config.pull_up_en = req_payload->config->pull_up_en; + config.pull_down_en = req_payload->config->pull_down_en; + config.intr_type = req_payload->config->intr_type; + config.pin_bit_mask = req_payload->config->pin_bit_mask; + + for (int pin = 0; pin < GPIO_NUM_MAX; ++pin) { + if (config.pin_bit_mask & (1ULL << pin)) { + if (!transport_gpio_pin_guard_is_eligible((gpio_num_t)pin)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", pin);; + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + } + } + + RPC_RET_FAIL_IF(gpio_config(&config)); + + return ESP_OK; +} + +static esp_err_t req_gpio_reset(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioResetPin, resp_gpio_reset, + RpcReqGpioReset, req_gpio_reset, + rpc__resp__gpio_reset_pin__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + RPC_RET_FAIL_IF(gpio_reset_pin(gpio_num)); + + return ESP_OK; +} + +static esp_err_t req_gpio_set_level(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetLevel, resp_gpio_set_level, + RpcReqGpioSetLevel, req_gpio_set_level, + rpc__resp__gpio_set_level__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + uint32_t level; + level = req_payload->level; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + RPC_RET_FAIL_IF(gpio_set_level(gpio_num, level)); + + return ESP_OK; +} + +static esp_err_t req_gpio_get_level(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioGetLevel, resp_gpio_get_level, + RpcReqGpioGetLevel, req_gpio_get_level, + rpc__resp__gpio_get_level__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + int level = gpio_get_level(gpio_num); + + resp_payload->level = level; + + return ESP_OK; +} + +static esp_err_t req_gpio_set_direction(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetDirection, resp_gpio_set_direction, + RpcReqGpioSetDirection, req_gpio_set_direction, + rpc__resp__gpio_set_direction__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + gpio_mode_t mode; + mode = req_payload->mode; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + RPC_RET_FAIL_IF(gpio_set_direction(gpio_num, mode)); + + return ESP_OK; +} + +static esp_err_t req_gpio_input_enable(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioInputEnable, resp_gpio_input_enable, + RpcReqGpioInputEnable, req_gpio_input_enable, + rpc__resp__gpio_input_enable__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + RPC_RET_FAIL_IF(gpio_input_enable(gpio_num)); + + return ESP_OK; +} + +static esp_err_t req_gpio_set_pull_mode(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetPullMode, resp_gpio_set_pull_mode, + RpcReqGpioSetPullMode, req_gpio_set_pull_mode, + rpc__resp__gpio_set_pull_mode__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + gpio_pull_mode_t pull_mode; + pull_mode = req_payload->pull; + + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + + RPC_RET_FAIL_IF(gpio_set_pull_mode(gpio_num, pull_mode)); + + return ESP_OK; +} +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC + static esp_rpc_req_t req_table[] = { { .req_num = RPC_ID__Req_GetMACAddress , @@ -4015,12 +4182,42 @@ static esp_rpc_req_t req_table[] = { .req_num = RPC_ID__Req_FeatureControl, .command_handler = req_feature_control }, +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC + { + .req_num = RPC_ID__Req_GpioConfig, + .command_handler = req_gpio_config + }, + { + .req_num = RPC_ID__Req_GpioResetPin, + .command_handler = req_gpio_reset + }, + { + .req_num = RPC_ID__Req_GpioSetLevel, + .command_handler = req_gpio_set_level + }, + { + .req_num = RPC_ID__Req_GpioGetLevel, + .command_handler = req_gpio_get_level + }, + { + .req_num = RPC_ID__Req_GpioSetDirection, + .command_handler = req_gpio_set_direction + }, + { + .req_num = RPC_ID__Req_GpioInputEnable, + .command_handler = req_gpio_input_enable + }, + { + .req_num = RPC_ID__Req_GpioSetPullMode, + .command_handler = req_gpio_set_pull_mode + }, +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC }; static int lookup_req_handler(int req_id) { - for (int i = 0; i < sizeof(req_table)/sizeof(esp_rpc_req_t); i++) { + for (int i = 0; i < sizeof(req_table)/sizeof(esp_rpc_req_t); i++) { if (req_table[i].req_num == req_id) { return i; } diff --git a/slave/main/transport_gpio_pin_guard.c b/slave/main/transport_gpio_pin_guard.c new file mode 100644 index 0000000..d781b31 --- /dev/null +++ b/slave/main/transport_gpio_pin_guard.c @@ -0,0 +1,71 @@ +#include "sdkconfig.h" + +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC +#include "transport_gpio_pin_guard.h" + +static inline void add_pin(uint64_t *mask, int pin) +{ + if (pin >= 0 && pin < GPIO_NUM_MAX) { + *mask |= (1ULL << pin); + } +} + +static uint64_t get_reserved_pin_mask(void) +{ + static bool initialized = false; + static uint64_t mask = 0; + + if (initialized) return mask; + initialized = true; + + /* ---------- SDIO ---------- */ +#ifdef CONFIG_ESP_SDIO_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SDIO_PIN_CMD); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_CLK); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D0); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D1); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D2); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D3); +#endif + + /* ---------- SPI (full duplex) ---------- */ +#ifdef CONFIG_ESP_SPI_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SPI_GPIO_MOSI); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_MISO); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_CLK); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_CS); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_HANDSHAKE); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_DATA_READY); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_RESET); +#endif + + /* ---------- SPI (half duplex) ---------- */ +#ifdef CONFIG_ESP_SPI_HD_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_CS); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_CLK); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D0); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D1); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D2); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D3); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_DATA_READY); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_RESET); +#endif + + /* ---------- UART ---------- */ +#ifdef CONFIG_ESP_UART_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_UART_PIN_TX); + add_pin(&mask, CONFIG_ESP_UART_PIN_RX); + add_pin(&mask, CONFIG_ESP_UART_GPIO_RESET); +#endif + + return mask; +} + +uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin) +{ + if (pin < 0 || pin >= GPIO_NUM_MAX) return false; + uint64_t reserved = get_reserved_pin_mask(); + return ((reserved & (1ULL << pin)) == 0); +} + +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC diff --git a/slave/main/transport_gpio_pin_guard.h b/slave/main/transport_gpio_pin_guard.h new file mode 100644 index 0000000..3b473d7 --- /dev/null +++ b/slave/main/transport_gpio_pin_guard.h @@ -0,0 +1,19 @@ +#pragma once + +#include +#include "sdkconfig.h" + +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC + +#include "driver/gpio.h" + +/** + * @brief Check if a GPIO pin is free for general use. + * + * @param pin GPIO number to test + * @return true Pin is free (eligible for GPIO) + * false Pin is reserved by a host transport interface + */ +uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin); + +#endif