Skip to content
Snippets Groups Projects
Commit 327f57d4 authored by Anjan Chanda's avatar Anjan Chanda Committed by Jakob Olsson
Browse files

update dependency to libwifi-7.so

parent 6f974f77
No related branches found
No related tags found
1 merge request!190Acx/libwifi 7
Pipeline #79427 failed
...@@ -19,7 +19,7 @@ function exec_cmd() ...@@ -19,7 +19,7 @@ function exec_cmd()
exec_cmd apt update exec_cmd apt update
exec_cmd apt install -y iproute2 exec_cmd apt install -y iproute2
# libwifi-6.so + libeasy.so # libeasy.so
cd /opt/dev cd /opt/dev
rm -fr easy-soc-libs rm -fr easy-soc-libs
mkdir -p /usr/include/easy mkdir -p /usr/include/easy
...@@ -28,20 +28,6 @@ cd easy-soc-libs/libeasy ...@@ -28,20 +28,6 @@ cd easy-soc-libs/libeasy
exec_cmd make CFLAGS+="-I/usr/include/libnl3" exec_cmd make CFLAGS+="-I/usr/include/libnl3"
exec_cmd cp -a libeasy*.so* /usr/lib exec_cmd cp -a libeasy*.so* /usr/lib
exec_cmd cp -a easy.h event.h utils.h if_utils.h debug.h hlist.h /usr/include/easy/ exec_cmd cp -a easy.h event.h utils.h if_utils.h debug.h hlist.h /usr/include/easy/
cd ../libwifi
exec_cmd make WIFI_TYPE="TEST"
exec_cmd cp wifi.h /usr/include/
exec_cmd cp -a libwifi-6*.so* /usr/lib
# wifimngr
cd /opt/dev
rm -fr wifimngr
exec_cmd git clone -b devel https://dev.iopsys.eu/iopsys/wifimngr.git
cd wifimngr
#exec_cmd ./gitlab-ci/install-dependencies.sh
exec_cmd ./gitlab-ci/setup.sh
exec_cmd make
exec_cmd cp wifimngr /usr/sbin/
# ieee1905 + map.so # ieee1905 + map.so
cd /opt/dev cd /opt/dev
...@@ -71,13 +57,6 @@ exec_cmd cp -a extensions/map/easymesh.h /usr/include/ ...@@ -71,13 +57,6 @@ exec_cmd cp -a extensions/map/easymesh.h /usr/include/
ldconfig ldconfig
## mapagent
#cd /opt/dev
#rm -fr map-agent
#exec_cmd git clone -b devel https://dev.iopsys.eu/iopsys/map-agent.git
#cd map-agent/src
#exec_cmd make
#exec_cmd cp mapagent /usr/sbin/
# #
## tap.sh library ## tap.sh library
#cd /opt/dev #cd /opt/dev
......
...@@ -111,7 +111,7 @@ struct radio_policy { ...@@ -111,7 +111,7 @@ struct radio_policy {
bool include_sta_stats; /* sta stats in AP metric response */ bool include_sta_stats; /* sta stats in AP metric response */
bool include_sta_metric; /* sta metric in AP metric response */ bool include_sta_metric; /* sta metric in AP metric response */
#if (EASYMESH_VERSION > 2) #if (EASYMESH_VERSION > 2)
bool include_wifi6_sta_status; /* wifi-6 sta status report in AP metric responce */ bool include_wifi6_sta_status; /* wifi6 sta status report in AP metric responce */
#endif #endif
struct list_head list; /* link to next policy */ struct list_head list; /* link to next policy */
......
...@@ -2,7 +2,7 @@ CC = gcc ...@@ -2,7 +2,7 @@ CC = gcc
MAPCNTLR_LIB_DIR ?= $(shell dirname $(PWD)) MAPCNTLR_LIB_DIR ?= $(shell dirname $(PWD))
MAPCNTLR_LIB = -L$(MAPCNTLR_LIB_DIR) -lmapcontroller MAPCNTLR_LIB = -L$(MAPCNTLR_LIB_DIR) -lmapcontroller
CMOCKA_LIB = -l cmocka CMOCKA_LIB = -l cmocka
LIBS = $(MAPCNTLR_LIB) $(CMOCKA_LIB) -lwifi-6 -pthread -luci -lubus -lubox -ljson-c -lblobmsg_json -lnl-genl-3 -lnl-3 -ljson-validator -ljson-schema-validator -ljson-editor LIBS = $(MAPCNTLR_LIB) $(CMOCKA_LIB) -pthread -luci -lubus -lubox -ljson-c -lblobmsg_json -lnl-genl-3 -lnl-3 -ljson-validator -ljson-schema-validator -ljson-editor
LIBS += -rdynamic -ldl LIBS += -rdynamic -ldl
LIBS += -lmaputils LIBS += -lmaputils
CFLAGS = -g -Wall -I../../src/core -I../../src/utils CFLAGS = -g -Wall -I../../src/core -I../../src/utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment