1#
2# Copyright (c) 2013 The Linux Foundation. All rights reserved.
3#
4
5define Profile/QSDK_Open
6	NAME:=Qualcomm-Atheros SDK Open Profile
7	PACKAGES:=luci uhttpd kmod-usb-core kmod-usb2 kmod-usb-storage -kmod-ath5k \
8	  kmod-ipt-nathelper-extra luci-app-upnp tftp-hpa sysstat igmpproxy kmod-ipt-nathelper-rtsp \
9	  kmod-fs-msdos kmod-fs-ntfs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
10	  luci-app-ddns ddns-scripts kmod-ipv6 iwinfo luci-app-qos \
11	  quagga quagga-ripd quagga-zebra quagga-watchquagga rp-pppoe-relay \
12	  -dnsmasq dnsmasq-dhcpv6 radvd wide-dhcpv6-client \
13	  -wpad-mini hostapd hostapd-utils wpa-supplicant wpa-cli wireless-tools
14endef
15
16define Profile/QSDK_Open/Description
17	QSDK Open package set configuration.
18	This profile includes only open source packages and provides basic Wi-Fi router features using the QCA upstream Linux Wi-Fi driver. It supports:
19	-Bridging and routing networking
20	-LuCI web configuration interface
21	-Integrated 11abgn support using the ath9k driver
22endef
23$(eval $(call Profile,QSDK_Open))
24
25define Profile/QSDK_Retail
26	NAME:=Qualcomm-Atheros SDK Retail Profile
27	PACKAGES:=luci uhttpd kmod-ipt-nathelper-extra luci-app-upnp \
28	  kmod-usb-core kmod-usb2 kmod-usb-storage kmod-fs-msdos kmod-fs-ntfs kmod-fs-vfat \
29	  kmod-nls-cp437 kmod-nls-iso8859-1 tftp-hpa sysstat igmpproxy kmod-ipt-nathelper-rtsp \
30	  kmod-ipv6 luci-app-qos kmod-art2-4.9-scorpion qca-spectral \
31	  quagga quagga-ripd quagga-zebra quagga-watchquagga rp-pppoe-relay \
32	  kmod-qca-wifi qca-hostap qca-hostapd-cli qca-wpa-cli qca-wpa-supplicant \
33	  -dnsmasq dnsmasq-dhcpv6 radvd wide-dhcpv6-client \
34	  luci-app-ddns ddns-scripts qca-legacy-uboot-ap135 qca-legacy-uboot-db12x \
35	  -kmod-ath9k -kmod-ath5k -kmod-ath -wpad-mini hyfi
36endef
37
38define Profile/QSDK_Retail/Description
39	QSDK Retail package set configuration.
40	This profile provides basic Wi-Fi router features using the QCA proprietary Wi-Fi driver. It supports:
41	-Bridging and routing networking
42	-LuCI web configuration interface
43	-Integrated 11abgn/ac support using the proprietary qca-wifi driver
44endef
45$(eval $(call Profile,QSDK_Retail))
46
47define Profile/QSDK_Carrier
48	# based on retail profile
49	$(Profile/QSDK_Retail)
50	NAME:=Qualcomm-Atheros SDK Carrier Profile
51	PACKAGES+=streamboost hyfi
52endef
53
54define Profile/QSDK_Carrier/Description
55	QSDK Enterprise package set configuration.
56endef
57$(eval $(call Profile,QSDK_Carrier))
58
59define Profile/QSDK_Enterprise
60	# based on carrier profile
61	$(Profile/QSDK_Carrier)
62	NAME:=Qualcomm-Atheros SDK Enterprise Profile
63	PACKAGES+=kmod-ipsec kmod-ipsec4 kmod-ipsec6 ipsec-tools
64endef
65
66define Profile/QSDK_Enterprise/Description
67	QSDK Enterprise package set configuration.
68endef
69$(eval $(call Profile,QSDK_Enterprise))
70
71define Profile/Factory/Default
72	PACKAGES:=-dropbear -firewall -ppp -wpad-mini alsa -luci-theme-openwrt \
73		-kmod-ath9k -kmod-ath5k -kmod-ath -hostapd -wpa-supplicant \
74		-hostapd-utils kmod-usb-core kmod-usb2 kmod-usb-storage \
75		kmod-nls-cp437 kmod-nls-iso8859-1 tftp-hpa dumpregs \
76		kmod-fs-msdos kmod-fs-ntfs kmod-fs-vfat avahi-daemon
77endef
78
79define Profile/Factory/Description/Default
80	Qualcomm-Atheros Factory package set configuration
81	This profile provides the package set required to run factory focus
82	tools. In supports the following:
83	- ART2 (customized for a certain chip)
84	- USB tools
85endef
86
87define Profile/Factory_Wasp
88	NAME:=Qualcomm-Atheros Factory Profile for Wasp chipset
89	$(call Profile/Factory/Default)
90	PACKAGES+=kmod-art2-wasp qca-romboot-cus227
91endef
92
93define Profile/Factory_Wasp/Description
94	$(call Profile/Factory/Description/Default)
95	This profile contains the ART2 build for Wasp based platform
96endef
97$(eval $(call Profile,Factory_Wasp))
98