From 112924dd6429e27b461a7e769c1f61a7669856b4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 18 Dec 2011 22:17:34 +0000 Subject: ath9k: fix some issues in the btcoex disable patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29564 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../mac80211/patches/571-ath9k_btcoex_optional.patch | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'package/mac80211/patches') diff --git a/package/mac80211/patches/571-ath9k_btcoex_optional.patch b/package/mac80211/patches/571-ath9k_btcoex_optional.patch index 53448880af..c73ad1a4f3 100644 --- a/package/mac80211/patches/571-ath9k_btcoex_optional.patch +++ b/package/mac80211/patches/571-ath9k_btcoex_optional.patch @@ -29,11 +29,9 @@ }; struct ath9k_hw_capabilities { ---- a/drivers/net/wireless/ath/ath9k/btcoex.h -+++ b/drivers/net/wireless/ath/ath9k/btcoex.h -@@ -98,6 +98,16 @@ struct ath_btcoex_hw { - u32 wlan_weight[AR9300_NUM_WLAN_WEIGHTS]; - }; +@@ -1229,6 +1233,16 @@ void ar9003_mci_sync_bt_state(struct ath + void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr, + u32 *rx_msg_intr); +#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT +static inline enum ath_btcoex_scheme @@ -45,9 +43,9 @@ +#define ath9k_hw_get_btcoex_scheme(...) ATH_BTCOEX_CFG_NONE +#endif + - void ath9k_hw_btcoex_init_2wire(struct ath_hw *ah); - void ath9k_hw_btcoex_init_3wire(struct ath_hw *ah); - void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum); + #define ATH9K_CLOCK_RATE_CCK 22 + #define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 + #define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -411,7 +411,7 @@ static int ath9k_init_btcoex(struct ath_ @@ -221,7 +219,7 @@ { struct ath_btcoex *btcoex = &priv->btcoex; -+ if (ath9k_hw_get_btcoex_scheme(ah) == ATH_BTCOEX_CFG_NONE) ++ if (ath9k_hw_get_btcoex_scheme(priv->ah) == ATH_BTCOEX_CFG_NONE) + return; + btcoex->btcoex_period = ATH_BTCOEX_DEF_BT_PERIOD; @@ -241,7 +239,7 @@ */ void ath_htc_cancel_btcoex_work(struct ath9k_htc_priv *priv) { -+ if (ath9k_hw_get_btcoex_scheme(ah) == ATH_BTCOEX_CFG_NONE) ++ if (ath9k_hw_get_btcoex_scheme(priv->ah) == ATH_BTCOEX_CFG_NONE) + return; + cancel_delayed_work_sync(&priv->coex_period_work); -- cgit v1.2.3 =chaos_calmer&id=19c76be50dee5aaf5ddd8a938e818b3288d742df'>commitdiffstats
path: root/target/linux/x86/geos/target.mk
blob: 7e4670212a01b62fb23139e5ea916411cea01429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
BOARDNAME:=Traverse Geos
FEATURES:=squashfs ext4 pci usb gpio
DEFAULT_PACKAGES += \
            kmod-crypto-hw-geode kmod-crypto-ocf \
            kmod-gpio-cs5535-new kmod-gpio-nsc \
            kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
            kmod-cs5536 \
            kmod-hwmon-core kmod-hwmon-lm90 \
            kmod-8139cp kmod-solos-pci kmod-sched \
            kmod-i2c-core kmod-i2c-gpio \
            kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
            kmod-i2c-scx200-acb \
            kmod-usb-core kmod-usb2 kmod-usb-ohci \
            kmod-cfg80211 kmod-mac80211 \
            kmod-mppe kmod-pppoa kmod-pppol2tp \
            kmod-ath5k kmod-ath9k \
            kmod-leds-gpio kmod-input-gpio-keys-polled \
            kmod-button-hotplug \
            kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
            kmod-ledtrig-netdev \
            kmod-cpu-msr \
            soloscli linux-atm br2684ctl ppp-mod-pppoa pppdump pppstats \
            hwclock wpad flashrom tc
LINUX_VERSION:=3.8.13
CS5535_MASK:=0x0E000048

CPU_TYPE := geode

define Target/Description
    Build firmware images for Traverse Geos board
endef

define KernelPackage/gpio-cs5535-new/install
     sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535-new
endef