提交 479b962f 编写于 作者: M maoyufeng

Support trunk verison for hisi driver nl8011

Signed-off-by: Nmaoyufeng <maoyufeng3@huawei.com>
上级 de9e690b
......@@ -402,6 +402,9 @@ ohos_shared_library("wpa") {
if ("${CONFIG_HISI}" == "true") {
sources += [ "$WPA_ROOT_DIR/wpa_supplicant_lib/driver_nl80211_hisi.c" ]
cflags += [ "-DCONFIG_DRIVER_NL80211_HISI" ]
if (use_musl) {
cflags += [ "-DCONFIG_DRIVER_NL80211_HISI_TRUNK" ]
}
}
configs = [ ":wpa_warnings" ]
......
......@@ -69,9 +69,15 @@ typedef int int32;
typedef unsigned long long uint64;
typedef struct wifi_priv_cmd {
int total_len;
int used_len;
char buf[MAX_PRIV_CMD_SIZE];
#ifdef CONFIG_DRIVER_NL80211_HISI_TRUNK
char buf[MAX_PRIV_CMD_SIZE];
int total_len;
int use_len;
#else
int total_len;
int used_len;
char buf[MAX_PRIV_CMD_SIZE];
#endif
} wifi_priv_cmd;
typedef struct
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册