mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
8c03dc962f
db3934d2f740 scripts/netifd-wireless.sh: properly fix WPA3 Enterprise support Support the following values for the different WPA3 Enterprise modes: - wpa3-mixed: WPA3 Enterprise transitional mode This supports EAP with both SHA1 and SHA-256, with optional MFP - wpa3: WPA3 Enterprise only mode This supports only SHA256 with mandatory MFP - wpa3-192: WPA3 Enterprise with mandatory 192 bit support This uses only GCMP-256 ciphers Disable 192 bit support and GCMP-256 ciphers for the regular "wpa3" mode. It seems that even leaving in optional 192 bit support breaks auth on some clients, including iOS devices. Signed-off-by: Felix Fietkau <nbd@nbd.name>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=netifd
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git
|
|
PKG_SOURCE_DATE:=2023-08-31
|
|
PKG_SOURCE_VERSION:=db3934d2f740bdfe8537933741f71b439a109422
|
|
PKG_MIRROR_HASH:=3fade75e70e7d0f926515f5bdac46bcd196a595ae024c16fc3c5aad65bb07777
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
PKG_LICENSE_FILES:=
|
|
|
|
PKG_BUILD_FLAGS:=lto
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/netifd
|
|
SECTION:=base
|
|
CATEGORY:=Base system
|
|
DEPENDS:=+libuci +libnl-tiny +libubus +ubus +ubusd +jshn +libubox
|
|
TITLE:=OpenWrt Network Interface Configuration Daemon
|
|
endef
|
|
|
|
define Package/netifd/conffiles
|
|
/etc/udhcpc.user
|
|
/etc/udhcpc.user.d/
|
|
endef
|
|
|
|
TARGET_CFLAGS += \
|
|
-I$(STAGING_DIR)/usr/include/libnl-tiny \
|
|
-I$(STAGING_DIR)/usr/include
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DLIBNL_LIBS=-lnl-tiny \
|
|
-DDEBUG=1
|
|
|
|
define Package/netifd/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netifd $(1)/sbin/
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/etc/udhcpc.user.d/
|
|
$(CP) $(PKG_BUILD_DIR)/scripts/* $(1)/lib/netifd/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,netifd))
|