summaryrefslogtreecommitdiff
path: root/multitech/recipes
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2013-02-06 16:28:02 -0600
committerJesse Gilles <jgilles@multitech.com>2013-02-06 16:28:02 -0600
commitb33041c401b7a9445a0ebfad06165b819f12ca36 (patch)
tree12d3783331a718e1a3b84b2ee45edbaa4745f44c /multitech/recipes
parent2c90905f0a6ee951c92353d792142cc7d0716ed0 (diff)
parent37a410282653ad5c567d23861ebe6afcf7675c5c (diff)
Merge commit '37a410282653ad5c567d23861ebe6afcf7675c5c'
Diffstat (limited to 'multitech/recipes')
-rw-r--r--multitech/recipes/at91bootstrap/at91bootstrap-2.13/memory_bus_1.8v.patch (renamed from multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg/memory_bus_1.8v.patch)0
-rw-r--r--multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg-pcie-dk/defconfig91
-rw-r--r--multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend5
-rw-r--r--multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/fstab9
-rw-r--r--multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/profile34
-rw-r--r--multitech/recipes/bluez/bluez4.inc80
-rw-r--r--multitech/recipes/bluez/bluez4_4.98.bb20
-rwxr-xr-xmultitech/recipes/bluez/files/bluetooth.init35
-rw-r--r--multitech/recipes/compat-wireless/compat-wireless-stable.inc22
-rw-r--r--multitech/recipes/compat-wireless/files/wl12xx_sdio.patch51
-rw-r--r--multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_R4SP2.bb25
-rw-r--r--multitech/recipes/hostap/hostap-daemon-1.0.inc26
-rw-r--r--multitech/recipes/hostap/hostap-daemon-1.0/defconfig145
-rw-r--r--multitech/recipes/hostap/hostap-daemon-1.0/hostapd.conf1127
-rw-r--r--multitech/recipes/hostap/hostap-daemon-1.0/init37
-rw-r--r--multitech/recipes/hostap/hostap-daemon_1.0.bb18
-rw-r--r--multitech/recipes/images/corecdp-mtpcie-dk-image.bb14
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.32.3-at25.patch37
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.32.3-atmel_spi.patch12
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.32.3-option-telit.patch23
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.35.14-at91-gpio-pullup.patch43
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.35.14-option-zte.patch12
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.38-sierra-1.7.40.patch1556
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.39.4-at91-mci-clock-debug.patch14
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.39.4-at91sam9260-reset.patch26
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/linux-2.6.39.4-mmc-core-maxclock.patch28
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/mt100eocg-pcie-dk/defconfig2295
-rw-r--r--multitech/recipes/linux/linux-2.6.39.4/mt100eocg-pcie-dk/linux-2.6.39.4-mach-at91-mt100eocg-pcie-dk.patch406
-rw-r--r--multitech/recipes/linux/linux_2.6.39.4.bb29
-rw-r--r--multitech/recipes/multitech/mts-io/mt100eocg-pcie-dk/mts-io.init25
-rwxr-xr-xmultitech/recipes/multitech/mts-io/mt100eocg-pcie-dk/radio-reset-h516
-rw-r--r--multitech/recipes/multitech/mts-io/mts-io-pcieh5.patch226
-rw-r--r--multitech/recipes/multitech/mts-io_0.5.1.bb4
-rw-r--r--multitech/recipes/ti/ti-wifi-utils_git.bbappend3
-rw-r--r--multitech/recipes/u-boot/u-boot-1.3.4/mt100eocg-pcie-dk/fw_env.config7
-rw-r--r--multitech/recipes/u-boot/u-boot-1.3.4/mt100eocg-pcie-dk/u-boot-1.3.4-mts.patch3298
-rw-r--r--multitech/recipes/u-boot/u-boot_1.3.4.bb12
-rw-r--r--multitech/recipes/udev/udev-165/mt100eocg-pcie-dk/corecdp.rules54
-rw-r--r--multitech/recipes/udev/udev_165.bbappend2
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware/LICENCE151
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware/TIInit_7.6.15.btsbin0 -> 11108 bytes
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware/wl1271-fw-2.binbin0 -> 273880 bytes
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware/wl1271-fw-ap.binbin0 -> 272784 bytes
-rwxr-xr-xmultitech/recipes/wl12xx-firmware/wl12xx-firmware/wl1271-fw-multirole-plt.binbin0 -> 267688 bytes
-rwxr-xr-xmultitech/recipes/wl12xx-firmware/wl12xx-firmware/wl1271-fw-multirole-roc.binbin0 -> 280460 bytes
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware/wl1271-nvs.binbin0 -> 912 bytes
-rw-r--r--multitech/recipes/wl12xx-firmware/wl12xx-firmware_1.0.bb20
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0.inc94
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/99_wpa_supplicant1
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/defaults-sane8
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/defconfig409
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/wpa-supplicant.sh85
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/wpa_supplicant.conf690
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant-1.0/wpa_supplicant.conf-sane7
-rw-r--r--multitech/recipes/wpa-supplicant/wpa-supplicant_1.0.bb6
55 files changed, 11326 insertions, 12 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg/memory_bus_1.8v.patch b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/memory_bus_1.8v.patch
index 045f255..045f255 100644
--- a/multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg/memory_bus_1.8v.patch
+++ b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/memory_bus_1.8v.patch
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg-pcie-dk/defconfig b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg-pcie-dk/defconfig
new file mode 100644
index 0000000..8338b3d
--- /dev/null
+++ b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/mt100eocg-pcie-dk/defconfig
@@ -0,0 +1,91 @@
+#
+# Automatically generated make config: don't edit
+# Tue Jan 12 22:00:36 2010
+#
+HAVE_DOT_CONFIG=y
+CONFIG_BOARDNAME="at91sam9g20nf"
+# CONFIG_AT91SAM9260EK is not set
+# CONFIG_AT91SAM9261EK is not set
+# CONFIG_AT91SAM9263EK is not set
+# CONFIG_AT91SAM9RLEK is not set
+# CONFIG_AT91SAM9XEEK is not set
+# CONFIG_AT91SAM9G10EK is not set
+CONFIG_AT91SAM9G20EK=y
+# CONFIG_AT91SAM9G45EK is not set
+# CONFIG_AT91SAM9G45EKES is not set
+# CONFIG_AT91SAM9M10EK is not set
+# CONFIG_AT91CAP9ADK is not set
+# CONFIG_AT91CAP9STK is not set
+# CONFIG_AFEB9260 is not set
+CONFIG_CHIP="AT91SAM9G20"
+CONFIG_BOARD="at91sam9g20ek"
+CONFIG_MACH_TYPE="0x658"
+CONFIG_LINK_ADDR="0x000000"
+CONFIG_TOP_OF_MEMORY="0x301000"
+CONFIG_BOOTSTRAP_MAXSIZE="13000"
+# CONFIG_CRYSTAL_12_000MHZ is not set
+# CONFIG_CRYSTAL_16_000MHZ is not set
+# CONFIG_CRYSTAL_16_36766MHZ is not set
+CONFIG_CRYSTAL_18_432MHZ=y
+ALLOW_CRYSTAL_18_432MHZ=y
+CONFIG_CRYSTAL="CRYSTAL_18_432MHZ"
+# CONFIG_CPU_CLK_166MHZ is not set
+# CONFIG_CPU_CLK_180MHZ is not set
+# CONFIG_CPU_CLK_200MHZ is not set
+# CONFIG_CPU_CLK_240MHZ is not set
+# CONFIG_CPU_CLK_266MHZ is not set
+CONFIG_CPU_CLK_400MHZ=y
+ALLOW_CPU_CLK_400MHZ=y
+# DISABLE_CPU_CLK_240MHZ is not set
+# CONFIG_BUS_SPEED_83MHZ is not set
+# CONFIG_BUS_SPEED_90MHZ is not set
+# CONFIG_BUS_SPEED_100MHZ is not set
+CONFIG_BUS_SPEED_133MHZ=y
+
+#
+# Memory selection
+#
+CONFIG_SDRAM=y
+# CONFIG_SDDRC is not set
+# CONFIG_DDR2 is not set
+ALLOW_DATAFLASH=y
+# ALLOW_FLASH is not set
+ALLOW_NANDFLASH=y
+# ALLOW_SDCARD is not set
+# ALLOW_PSRAM is not set
+# ALLOW_SDRAM_16BIT is not set
+# CONFIG_RAM_32MB is not set
+CONFIG_RAM_64MB=y
+# CONFIG_RAM_128MB is not set
+# CONFIG_RAM_256MB is not set
+# CONFIG_DATAFLASH is not set
+# CONFIG_FLASH is not set
+CONFIG_NANDFLASH=y
+# CONFIG_SDCARD is not set
+CONFIG_MEMORY="nandflash"
+ALLOW_DATAFLASH_RECOVERY=y
+ALLOW_BOOT_FROM_DATAFLASH_CS0=y
+ALLOW_BOOT_FROM_DATAFLASH_CS1=y
+DATAFLASHCARD_ON_CS0=y
+
+#
+# NAND Flash configuration
+#
+# CONFIG_NANDFLASH_SMALL_BLOCKS is not set
+CONFIG_PROJECT="nandflash"
+CONFIG_LOAD_UBOOT=y
+# CONFIG_LOAD_64KB is not set
+# CONFIG_LOAD_1MB is not set
+# CONFIG_LOAD_4MB is not set
+CONFIG_IMG_ADDRESS="0x00020000"
+CONFIG_IMG_SIZE="0x00040000"
+CONFIG_JUMP_ADDR="0x23F00000"
+CONFIG_APP_CHECK=y
+# CONFIG_LONG_TEST is not set
+CONFIG_DEBUG=y
+CONFIG_VERBOSE=y
+CONFIG_HW_INIT=y
+# CONFIG_USER_HW_INIT is not set
+# CONFIG_THUMB is not set
+CONFIG_SX_AT91=y
+CONFIG_RAW_AT91=y
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend b/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend
index 2bd3fd8..9b78b06 100644
--- a/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend
+++ b/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend
@@ -1,7 +1,7 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-PR .= ".corecdp3"
+PR .= ".corecdp4"
SRC_URI += "file://defconfig \
file://nand_ids_toshiba.patch \
@@ -11,3 +11,6 @@ SRC_URI += "file://defconfig \
# run memory bus at 1.8v for mt100eocg
SRC_URI_append_mt100eocg = " file://memory_bus_1.8v.patch"
AT91BOOTSTRAP_FLAGS_append_mt100eocg = " -DCONFIG_USER_EBI_1V8"
+
+SRC_URI_append_mt100eocg-pcie-dk = " file://memory_bus_1.8v.patch"
+AT91BOOTSTRAP_FLAGS_append_mt100eocg-pcie-dk = " -DCONFIG_USER_EBI_1V8"
diff --git a/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/fstab b/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/fstab
new file mode 100644
index 0000000..da00b50
--- /dev/null
+++ b/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/fstab
@@ -0,0 +1,9 @@
+rootfs / auto defaults 1 1
+proc /proc proc defaults 0 0
+devpts /dev/pts devpts mode=0620,gid=5 0 0
+usbfs /proc/bus/usb usbfs defaults 0 0
+tmpfs /var/volatile tmpfs defaults 0 0
+tmpfs /dev/shm tmpfs mode=0777 0 0
+tmpfs /media/ram tmpfs defaults 0 0
+
+/dev/mtdblock6 /var/config jffs2 defaults 0 0
diff --git a/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/profile b/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/profile
new file mode 100644
index 0000000..0879251
--- /dev/null
+++ b/multitech/recipes/base-files/base-files/mt100eocg-pcie-dk/profile
@@ -0,0 +1,34 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+PATH="/usr/local/bin:/usr/bin:/bin"
+EDITOR="/bin/vi" # needed for packages like cron
+test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc.
+
+if [ ! -e /etc/localtime ]; then
+ TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html
+ # for an explanation of how to set this to your local timezone.
+ export TZ
+fi
+
+if [ "`id -u`" -eq 0 ]; then
+ PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
+fi
+if [ "$PS1" ]; then
+# works for bash and ash (no other shells known to be in use here)
+ PS1='\$ '
+fi
+
+if [ -d /etc/profile.d ]; then
+ for i in /etc/profile.d/*.sh; do
+ if [ -r $i ]; then
+ . $i
+ fi
+ done
+ unset i
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
+
+umask 022
+
diff --git a/multitech/recipes/bluez/bluez4.inc b/multitech/recipes/bluez/bluez4.inc
new file mode 100644
index 0000000..60e0242
--- /dev/null
+++ b/multitech/recipes/bluez/bluez4.inc
@@ -0,0 +1,80 @@
+DESCRIPTION = "Linux Bluetooth Stack Userland V4"
+HOMEPAGE = "http://www.bluez.org"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2/LGPLv2.1"
+#DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
+DEPENDS = "virtual/libusb0 dbus-glib"
+INC_PR = "r10"
+
+FILESPATHBASE .= ":${OETREE}/openembedded/recipes/bluez"
+
+# temporary solution until bug 5176 is properly fixed
+PROVIDES += "bluez-utils bluez-libs bluez-utils-dbus"
+RPROVIDES_bluez4 += "bluez-utils bluez-libs bluez-utils-dbus"
+RPROVIDES_bluez4-dev = "bluez-libs-dev"
+
+SRC_URI = "\
+ http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz \
+ file://fix-dfutool-usb-declaration-mismatch.patch \
+ file://bluetooth.conf \
+"
+
+SRC_URI_append_mt100eocg-pcie-dk = "file://bluetooth.init"
+
+S = "${WORKDIR}/bluez-${PV}"
+
+inherit autotools update-rc.d
+
+EXTRA_OECONF = "\
+ --enable-debug \
+ --disable-gstreamer \
+ --disable-alsa \
+ --enable-usb \
+ --enable-netlink \
+ --enable-tools \
+ --enable-bccmd \
+ --disable-hid2hci \
+ --enable-dfutool \
+ --enable-hidd \
+ --enable-pand \
+ --enable-dund \
+ --disable-cups \
+ --enable-test \
+ --enable-manpages \
+ --enable-configfiles \
+ --enable-initscripts \
+ --disable-pcmciarules \
+"
+
+do_install_append() {
+ install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
+ install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
+ install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
+ # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
+ install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
+}
+
+do_install_append_mt100eocg-pcie-dk() {
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/bluetooth.init ${D}${sysconfdir}/init.d/bluetooth
+}
+
+INITSCRIPT_NAME = "bluetooth"
+INITSCRIPT_PARAMS = "defaults 23 19"
+
+#PACKAGES =+ "gst-plugin-bluez libasound-module-bluez"
+
+#FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
+#FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa/bluetooth.conf"
+FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev"
+FILES_${PN}-dev += "\
+ ${libdir}/bluetooth/plugins/*.la \
+ ${libdir}/alsa-lib/*.la \
+ ${libdir}/gstreamer-0.10/*.la \
+"
+
+FILES_${PN}-dbg += "\
+ ${libdir}/bluetooth/plugins/.debug \
+ ${libdir}/*/.debug \
+"
diff --git a/multitech/recipes/bluez/bluez4_4.98.bb b/multitech/recipes/bluez/bluez4_4.98.bb
new file mode 100644
index 0000000..6d1b4df
--- /dev/null
+++ b/multitech/recipes/bluez/bluez4_4.98.bb
@@ -0,0 +1,20 @@
+require bluez4.inc
+
+SRC_URI[md5sum] = "362864b716950baa04797de735fc237b"
+SRC_URI[sha256sum] = "9a5b655bada7c7a1921cb3bac83b8a32bbe49893e4c7a1377cdc1b0d35f7d233"
+
+#DEPENDS += "libsndfile1"
+
+PR = "${INC_PR}.0"
+
+# Not all distros have a recent enough udev
+BTUDEV = " --disable-udevrules"
+BTUDEV_angstrom = " --enable-udevrules"
+BTUDEV_corecdp = " --enable-udevrules"
+BTUDEV_shr = " --enable-udevrules"
+
+EXTRA_OECONF += "${BTUDEV}"
+
+FILES_${PN}-dbg += "\
+ ${base_libdir}/*/.debug \
+"
diff --git a/multitech/recipes/bluez/files/bluetooth.init b/multitech/recipes/bluez/files/bluetooth.init
new file mode 100755
index 0000000..58318c3
--- /dev/null
+++ b/multitech/recipes/bluez/files/bluetooth.init
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+bt_start()
+{
+ echo "Enabling bluetooth..."
+ mts-io-sysfs store bt-enabled 0
+ usleep 200000
+ mts-io-sysfs store bt-enabled 1
+ sleep 1
+ echo "Setting up bluetooth device..."
+ hciattach /dev/bt texas
+}
+
+bt_stop() {
+ echo "Disabling bluetooth..."
+ killall hciattach
+ mts-io-sysfs store bt-enabled 0
+}
+
+case "$1" in
+ start)
+ bt_start
+ ;;
+ stop)
+ bt_stop
+ ;;
+ restart)
+ bt_stop
+ bt_start
+ ;;
+ *)
+ echo "Usage $0: start|stop|restart"
+ exit 1
+ ;;
+esac
diff --git a/multitech/recipes/compat-wireless/compat-wireless-stable.inc b/multitech/recipes/compat-wireless/compat-wireless-stable.inc
new file mode 100644
index 0000000..f7e78d3
--- /dev/null
+++ b/multitech/recipes/compat-wireless/compat-wireless-stable.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "Latest wireless drivers"
+HOMEPAGE = "http://wireless.kernel.org/en/users/Download"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+RDEPENDS = "wireless-tools"
+PR = "r0"
+
+
+S = "${WORKDIR}/compat-wireless-${COMPAT_WIRELESS_VERSION}"
+
+inherit module
+
+EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
+
+do_configure_append() {
+ sed -i "s#@./scripts/update-initramfs## " Makefile
+}
+
+do_install() {
+ oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules
+}
+
diff --git a/multitech/recipes/compat-wireless/files/wl12xx_sdio.patch b/multitech/recipes/compat-wireless/files/wl12xx_sdio.patch
new file mode 100644
index 0000000..9db2a03
--- /dev/null
+++ b/multitech/recipes/compat-wireless/files/wl12xx_sdio.patch
@@ -0,0 +1,51 @@
+--- a/drivers/net/wireless/wl12xx/sdio.c 2011-12-20 06:20:19.000000000 -0600
++++ b/drivers/net/wireless/wl12xx/sdio.c 2012-06-20 12:51:18.000000000 -0500
+@@ -169,6 +169,10 @@
+ struct sdio_func *func = wl_to_func(wl);
+ int ret;
+
++ // MTPCIE:
++ if (wl->set_power)
++ wl->set_power(1);
++
+ /* If enabled, tell runtime PM not to power off the card */
+ if (pm_runtime_enabled(&func->dev)) {
+ ret = pm_runtime_get_sync(&func->dev);
+@@ -193,6 +197,10 @@
+ struct sdio_func *func = wl_to_func(wl);
+ int ret;
+
++ // MTPCIE:
++ if (wl->set_power)
++ wl->set_power(0);
++
+ sdio_disable_func(func);
+ sdio_release_host(func);
+
+@@ -265,14 +273,18 @@
+ wl->irq = wlan_data->irq;
+ if (wl->ref_clock < 0)
+ wl->ref_clock = wlan_data->board_ref_clock;
+- if (wl->tcxo_clock < 0)
+- wl->tcxo_clock = wlan_data->board_tcxo_clock;
+- wl->platform_quirks = wlan_data->platform_quirks;
+-
+- if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ)
+- irqflags = IRQF_TRIGGER_RISING;
+- else
+- irqflags = IRQF_TRIGGER_HIGH | IRQF_ONESHOT;
++ // MTPCIE:
++ if (wlan_data->set_power)
++ wl->set_power = wlan_data->set_power;
++
++ //if (wl->tcxo_clock < 0)
++ // wl->tcxo_clock = wlan_data->board_tcxo_clock;
++ //wl->platform_quirks = wlan_data->platform_quirks;
++
++ //if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ)
++ irqflags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING;
++ //else
++ // irqflags = IRQF_TRIGGER_HIGH | IRQF_ONESHOT;
+
+ ret = request_threaded_irq(wl->irq, wl1271_hardirq, wl1271_irq,
+ irqflags,
diff --git a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_R4SP2.bb b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_R4SP2.bb
new file mode 100644
index 0000000..50906f4
--- /dev/null
+++ b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_R4SP2.bb
@@ -0,0 +1,25 @@
+include compat-wireless-stable.inc
+
+SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/768/5331/ti-compat-wireless-wl12xx-r4-12-12-20.tar.gz \
+ http://processors.wiki.ti.com/images/2/23/R4_SP2_Patches.zip;name=r4sp2 \
+ file://${WORKDIR}/0004-added-driver-version.patch \
+ file://${WORKDIR}/0005-wl12xx-don-t-allow-scans-in-AP-mode.patch \
+ file://${WORKDIR}/0006-wl12xx-handle-idle-changes-per-interface.patch \
+ file://${WORKDIR}/0007-wl12xx-prevent-double-idle-on-off-transitions.patch \
+ file://${WORKDIR}/0008-wl12xx-remove-warning-message-during-IBSS-Tx.patch \
+ file://${WORKDIR}/0012-mac80211-set-upasd-queues-and-max-sp-only-on-sta-addition.patch \
+ file://${WORKDIR}/0013-wl12xx-Make-sure-HW-is-available-in-sched-scan-ops.patch \
+ file://wl12xx_sdio.patch \
+ "
+
+S = "${WORKDIR}/compat-wireless"
+
+SRC_URI[md5sum] = "89fa40e0ece490cf73920a71df1c3558"
+SRC_URI[sha256sum] = "752b53b09e9ae168a4a7f32ad009bb2b8b245c152f65ace1edc51a1ef8bba59f"
+SRC_URI[r4sp2.md5sum] = "2524ae356e5fe528da977dfe19f20b32"
+SRC_URI[r4sp2.sha256sum] = "72936b852465ba98a72cdfa66bdb49aff66d1a42080514e000211aac078a4b24"
+
+do_configure() {
+ cd ${S}
+ ./scripts/driver-select wl12xx
+}
diff --git a/multitech/recipes/hostap/hostap-daemon-1.0.inc b/multitech/recipes/hostap/hostap-daemon-1.0.inc
new file mode 100644
index 0000000..b0b6a44
--- /dev/null
+++ b/multitech/recipes/hostap/hostap-daemon-1.0.inc
@@ -0,0 +1,26 @@
+HOMEPAGE = "http://hostap.epitest.fi"
+SECTION = "kernel/userland"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "libnl openssl"
+
+inherit update-rc.d
+INITSCRIPT_NAME=hostapd
+
+do_configure() {
+ install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+}
+
+do_compile() {
+ make
+}
+
+do_install() {
+ install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
+ install -m 0644 ${WORKDIR}/hostapd.conf ${D}${sysconfdir}
+ install -m 0755 ${S}/hostapd ${D}${sbindir}
+ install -m 0755 ${S}/hostapd_cli ${D}${sbindir}
+ install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
+}
+
+CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
diff --git a/multitech/recipes/hostap/hostap-daemon-1.0/defconfig b/multitech/recipes/hostap/hostap-daemon-1.0/defconfig
new file mode 100644
index 0000000..1f3c6f4
--- /dev/null
+++ b/multitech/recipes/hostap/hostap-daemon-1.0/defconfig
@@ -0,0 +1,145 @@
+# Example hostapd build time configuration
+#
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cass, these lines should use += in order not
+# to override previous values of the variables.
+
+# Driver interface for Host AP driver
+CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for wired authenticator
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+#CONFIG_DRIVER_MADWIFI=y
+#CFLAGS += -I../../madwifi # change to the madwifi source directory
+
+# Driver interface for Prism54 driver
+CONFIG_DRIVER_PRISM54=y
+
+# Driver interface for drivers using the nl80211 kernel interface
+CONFIG_DRIVER_NL80211=y
+CONFIG_LIBNL20=y
+# driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
+# shipped with your distribution yet. If that is the case, you need to build
+# newer libnl version and point the hostapd build to use it.
+#LIBNL=/usr/src/libnl
+#CFLAGS += -I$(LIBNL)/include
+#LIBS += -L$(LIBNL)/lib
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
+#LIBS += -L/usr/local/lib
+
+# Driver interface for no driver (e.g., RADIUS server only)
+#CONFIG_DRIVER_NONE=y
+
+# IEEE 802.11F/IAPP
+CONFIG_IAPP=y
+
+# WPA2/IEEE 802.11i RSN pre-authentication
+CONFIG_RSN_PREAUTH=y
+
+# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
+CONFIG_PEERKEY=y
+
+# IEEE 802.11w (management frame protection)
+# This version is an experimental implementation based on IEEE 802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.
+# Driver support is also needed for IEEE 802.11w.
+#CONFIG_IEEE80211W=y
+
+# Integrated EAP server
+CONFIG_EAP=y
+
+# EAP-MD5 for the integrated EAP server
+CONFIG_EAP_MD5=y
+
+# EAP-TLS for the integrated EAP server
+CONFIG_EAP_TLS=y
+
+# EAP-MSCHAPv2 for the integrated EAP server
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-PEAP for the integrated EAP server
+CONFIG_EAP_PEAP=y
+
+# EAP-GTC for the integrated EAP server
+CONFIG_EAP_GTC=y
+
+# EAP-TTLS for the integrated EAP server
+CONFIG_EAP_TTLS=y
+
+# EAP-SIM for the integrated EAP server
+#CONFIG_EAP_SIM=y
+
+# EAP-AKA for the integrated EAP server
+#CONFIG_EAP_AKA=y
+
+# EAP-AKA' for the integrated EAP server
+# This requires CONFIG_EAP_AKA to be enabled, too.
+#CONFIG_EAP_AKA_PRIME=y
+
+# EAP-PAX for the integrated EAP server
+#CONFIG_EAP_PAX=y
+
+# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# EAP-SAKE for the integrated EAP server
+#CONFIG_EAP_SAKE=y
+
+# EAP-GPSK for the integrated EAP server
+#CONFIG_EAP_GPSK=y
+# Include support for optional SHA256 cipher suite in EAP-GPSK
+#CONFIG_EAP_GPSK_SHA256=y
+
+# EAP-FAST for the integrated EAP server
+# Not