update wifi_native/client/hdi_client/hdi_interface/wifi_hdi_wpa_p2p_impl.c.

Signed-off-by: xionglei <xionglei3@huawei.com>
This commit is contained in:
xionglei 2024-11-04 06:56:43 +00:00 committed by Gitee
parent 50c294bab1
commit 7ad92eaf56
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -20,12 +20,14 @@
#include "stub_collector.h"
#include "wifi_native_define.h"
#undef LOG_TAG
#define LOG_TAG "WifiHdiWpaP2pImpl"
#define REPLY_BUF_LENGTH (1024)
#define BUFF_SIZE 256
#define P2P_RANDOM_MAC_FLAG "p2p_device_random_mac_addr=1\n"
#define PERSISENT_MAC_LEN 55
#define PERSISENT_MAC_STRING "p2p_device_persistent_mac_addr"
#define P2P_SUPPLICANT_PATH CONFIG_ROOR_DIR"/wpa_supplicant/p2p_supplicant.conf"
typedef struct HdiP2pWpaNetworkField {
P2pGroupConfigType field;