Skip to content

Commit

Permalink
ipq-wifi: remove packaged BDF-s for MikroTik devices
Browse files Browse the repository at this point in the history
Since we now provide the BDF-s for MikroTik IPQ40xx devices on the fly,
there is noneed to include package and ship them like we do now.

This also resolves the performance issues that happen as MikroTik
changes the boards and ships them under the same revision but they
actually ship with and require a different BDF.

Signed-off-by: Robert Marko <robimarko@gmail.com>
  • Loading branch information
robimarko authored and hauke committed May 19, 2022
1 parent 4d4462c commit ab141a6
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 14 deletions.
8 changes: 0 additions & 8 deletions package/firmware/ipq-wifi/Makefile
Expand Up @@ -32,10 +32,6 @@ ALLWIFIBOARDS:= \
glinet_gl-b2200 \
glinet_gl-s1300 \
linksys_ea8300 \
mikrotik_cap-ac \
mikrotik_hap-ac2 \
mikrotik_hap-ac3 \
mikrotik_sxtsq-5-ac \
p2w_r619ac \
qxwlan_e2600ac-c1 \
qxwlan_e2600ac-c2 \
Expand Down Expand Up @@ -107,10 +103,6 @@ $(eval $(call generate-ipq-wifi-package,glinet_gl-ap1300,GL.iNet GL-AP1300))
$(eval $(call generate-ipq-wifi-package,glinet_gl-b2200,GL.iNet GL-B2200))
$(eval $(call generate-ipq-wifi-package,glinet_gl-s1300,GL.iNet GL-S1300))
$(eval $(call generate-ipq-wifi-package,linksys_ea8300,Linksys EA8300))
$(eval $(call generate-ipq-wifi-package,mikrotik_cap-ac,Mikrotik cAP ac))
$(eval $(call generate-ipq-wifi-package,mikrotik_hap-ac2,Mikrotik hAP ac2))
$(eval $(call generate-ipq-wifi-package,mikrotik_hap-ac3,Mikrotik hAP ac3))
$(eval $(call generate-ipq-wifi-package,mikrotik_sxtsq-5-ac,MikroTik SXTsq 5 ac))
$(eval $(call generate-ipq-wifi-package,p2w_r619ac,P&W R619AC))
$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c1,Qxwlan E2600AC C1))
$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c2,Qxwlan E2600AC C2))
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 4 additions & 6 deletions target/linux/ipq40xx/image/mikrotik.mk
Expand Up @@ -24,17 +24,15 @@ define Device/mikrotik_cap-ac
$(call Device/mikrotik_nor)
DEVICE_MODEL := cAP ac
SOC := qcom-ipq4018
DEVICE_PACKAGES := ipq-wifi-mikrotik_cap-ac -kmod-ath10k-ct \
kmod-ath10k-ct-smallbuffers
DEVICE_PACKAGES := -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
endef
TARGET_DEVICES += mikrotik_cap-ac

define Device/mikrotik_hap-ac2
$(call Device/mikrotik_nor)
DEVICE_MODEL := hAP ac2
SOC := qcom-ipq4018
DEVICE_PACKAGES := ipq-wifi-mikrotik_hap-ac2 -kmod-ath10k-ct \
kmod-ath10k-ct-smallbuffers
DEVICE_PACKAGES := -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
endef
TARGET_DEVICES += mikrotik_hap-ac2

Expand All @@ -45,7 +43,7 @@ define Device/mikrotik_hap-ac3
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_UBIFS_OPTS = -m $$(PAGESIZE) -e 124KiB -c $$(PAGESIZE) -x none
DEVICE_PACKAGES := kmod-ledtrig-gpio ipq-wifi-mikrotik_hap-ac3
DEVICE_PACKAGES := kmod-ledtrig-gpio
endef
TARGET_DEVICES += mikrotik_hap-ac3

Expand All @@ -61,6 +59,6 @@ define Device/mikrotik_sxtsq-5-ac
$(call Device/mikrotik_nor)
DEVICE_MODEL := SXTsq 5 ac (RBSXTsqG-5acD)
SOC := qcom-ipq4018
DEVICE_PACKAGES := ipq-wifi-mikrotik_sxtsq-5-ac rssileds
DEVICE_PACKAGES := rssileds
endef
TARGET_DEVICES += mikrotik_sxtsq-5-ac

0 comments on commit ab141a6

Please sign in to comment.