diff --git a/services/wifi_standard/ipc_framework/cRPC/src/server.c b/services/wifi_standard/ipc_framework/cRPC/src/server.c index c30e29d64471540ff68288e54a359f02a63609cb..97e425812d55eb561876d805f931aeafe48ddb57 100644 --- a/services/wifi_standard/ipc_framework/cRPC/src/server.c +++ b/services/wifi_standard/ipc_framework/cRPC/src/server.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -199,7 +199,7 @@ int RunRpcLoop(RpcServer *server) EventLoop *loop = server->loop; while (!loop->stop) { BeforeLoop(server); - int retval = epoll_wait(loop->epfd, loop->epEvents, loop->setSize, 1); /* wait 1ms */ + int retval = epoll_wait(loop->epfd, loop->epEvents, loop->setSize, -1); for (int i = 0; i < retval; ++i) { struct epoll_event *e = loop->epEvents + i; int fd = e->data.fd; diff --git a/services/wifi_standard/wifi_hal/etc/init/p2p_supplicant.conf b/services/wifi_standard/wifi_hal/etc/init/p2p_supplicant.conf index 37ceb0401886e60729f919a76cfd89ef960cb9d3..e7df5673a6343982f2018d30f231aaca32a6d08a 100755 --- a/services/wifi_standard/wifi_hal/etc/init/p2p_supplicant.conf +++ b/services/wifi_standard/wifi_hal/etc/init/p2p_supplicant.conf @@ -24,3 +24,5 @@ p2p_go_intent=0 persistent_reconnect=1 serial_number=0123456789ABCDEF p2p_ssid_postfix=-ohos +p2p_go_ht40=1 +p2p_go_vht=1