Changeset 27187


Ignore:
Timestamp:
2011-06-15T23:16:38+02:00 (7 years ago)
Author:
hauke
Message:

package/mac80211: Add linux 3.0 compatibility

Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

Location:
trunk/package/mac80211/patches
Files:
1 added
52 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/001-disable_b44.patch

    r26912 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -314,8 +314,8 @@ endif #CONFIG_SSB 
     3@@ -327,8 +327,8 @@ endif #CONFIG_SSB 
    44  
    55 CONFIG_P54_PCI=m 
  • trunk/package/mac80211/patches/002-disable_rfkill.patch

    r27071 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -74,7 +74,7 @@ endif # build check 
     3@@ -87,7 +87,7 @@ endif # build check 
    44 endif # kernel Makefile check 
    55  
     
    1010 ifeq ($(CONFIG_MAC80211),y) 
    1111 $(error "ERROR: you have MAC80211 compiled into the kernel, CONFIG_MAC80211=y, as such you cannot replace its mac80211 driver. You need this set to CONFIG_MAC80211=m. If you are using Fedora upgrade your kernel as later version should this set as modular. For further information on Fedora see https://bugzilla.redhat.com/show_bug.cgi?id=470143. If you are using your own kernel recompile it and make mac80211 modular") 
    12 @@ -622,10 +622,10 @@ endif #CONFIG_COMPAT_KERNEL_27 
     12@@ -635,10 +635,10 @@ endif #CONFIG_COMPAT_KERNEL_2_6_27 
    1313 # We need the backported rfkill module on kernel < 2.6.31. 
    1414 # In more recent kernel versions use the in kernel rfkill module. 
    15  ifdef CONFIG_COMPAT_KERNEL_31 
     15 ifdef CONFIG_COMPAT_KERNEL_2_6_31 
    1616-CONFIG_RFKILL_BACKPORT=m 
    1717+# CONFIG_RFKILL_BACKPORT=m 
     
    2222-CONFIG_RFKILL_BACKPORT_INPUT=y 
    2323+# CONFIG_RFKILL_BACKPORT_INPUT=y 
    24  endif #CONFIG_COMPAT_KERNEL_31 
     24 endif #CONFIG_COMPAT_KERNEL_2_6_31 
    2525  
    2626--- a/include/linux/rfkill.h 
  • trunk/package/mac80211/patches/003-disable_bt.patch

    r23061 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -96,8 +96,8 @@ ifndef CONFIG_COMPAT_KERNEL_27 
     3@@ -109,8 +109,8 @@ ifndef CONFIG_COMPAT_KERNEL_2_6_27 
    44 ifeq ($(CONFIG_BT),y) 
    55 # we'll ignore compiling bluetooth 
     
    1010+# CONFIG_COMPAT_BLUETOOTH_MODULES=m 
    1111 endif 
    12  endif #CONFIG_COMPAT_KERNEL_27 
     12 endif #CONFIG_COMPAT_KERNEL_2_6_27 
    1313  
  • trunk/package/mac80211/patches/005-disable_ssb_build.patch

    r27071 r27187  
    2020 include $(KLIB_BUILD)/.config 
    2121 endif 
    22 @@ -298,19 +297,18 @@ CONFIG_IPW2200_QOS=y 
     22@@ -311,19 +310,18 @@ CONFIG_IPW2200_QOS=y 
    2323 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface 
    2424 endif #CONFIG_WIRELESS_EXT 
     
    5252 CONFIG_P54_PCI=m 
    5353  
    54 @@ -511,7 +509,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv 
     54@@ -524,7 +522,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv 
    5555  
    5656 ifdef CONFIG_MMC 
  • trunk/package/mac80211/patches/007-remove_misc_drivers.patch

    r27071 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -199,7 +199,7 @@ $(warning "WARNING: CONFIG_CFG80211_WEXT 
     3@@ -212,7 +212,7 @@ $(warning "WARNING: CONFIG_CFG80211_WEXT 
    44 endif #CONFIG_WIRELESS_EXT 
    55  
     
    1010  
    1111 # mac80211 test driver 
    12 @@ -340,13 +340,13 @@ endif #CONFIG_CRC_ITU_T 
     12@@ -353,13 +353,13 @@ endif #CONFIG_CRC_ITU_T 
    1313 CONFIG_MWL8K=m 
    1414  
     
    2020+# CONFIG_ATL2=m 
    2121+# CONFIG_ATL1E=m 
    22  ifdef CONFIG_COMPAT_KERNEL_27 
     22 ifdef CONFIG_COMPAT_KERNEL_2_6_27 
    2323-CONFIG_ATL1C=n 
    2424+# CONFIG_ATL1C=n 
    25  else #CONFIG_COMPAT_KERNEL_27 
     25 else #CONFIG_COMPAT_KERNEL_2_6_27 
    2626-CONFIG_ATL1C=m 
    2727+# CONFIG_ATL1C=m 
    28  endif #CONFIG_COMPAT_KERNEL_27 
     28 endif #CONFIG_COMPAT_KERNEL_2_6_27 
    2929  
    3030 ifdef CONFIG_WIRELESS_EXT 
    31 @@ -406,21 +406,21 @@ endif #CONFIG_COMPAT_KERNEL_29 
     31@@ -419,21 +419,21 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29 
    3232 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER 
    3333 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add 
    34  ifdef CONFIG_COMPAT_KERNEL_29 
     34 ifdef CONFIG_COMPAT_KERNEL_2_6_29 
    3535-CONFIG_USB_COMPAT_USBNET=n 
    3636-CONFIG_USB_NET_COMPAT_RNDIS_HOST=n 
     
    4141+# CONFIG_USB_NET_COMPAT_RNDIS_WLAN=n 
    4242+# CONFIG_USB_NET_COMPAT_CDCETHER=n 
    43  else #CONFIG_COMPAT_KERNEL_29 
     43 else #CONFIG_COMPAT_KERNEL_2_6_29 
    4444-CONFIG_USB_COMPAT_USBNET=m 
    4545+# CONFIG_USB_COMPAT_USBNET=m 
     
    5858-CONFIG_USB_NET_COMPAT_CDCETHER=m 
    5959+# CONFIG_USB_NET_COMPAT_CDCETHER=m 
    60  endif #CONFIG_COMPAT_KERNEL_29 
     60 endif #CONFIG_COMPAT_KERNEL_2_6_29 
    6161  
    6262  
  • trunk/package/mac80211/patches/009-remove_mac80211_module_dependence.patch

    r23061 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -42,23 +42,6 @@ $(error "ERROR: Your 2.6.27 kernel has C 
     3@@ -50,23 +50,6 @@ $(error "ERROR: Your 2.6.27 kernel has C 
    44 endif 
    55 endif 
     
    1616-# In kernel 2.6.32 both attributes were removed. 
    1717-# 
    18 -ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 27 -a $(KERNEL_SUBLEVEL) -le 31 && echo yes),yes) 
     18-ifeq ($(shell test $(KERNEL_VERSION) -eq 2 -a $(KERNEL_SUBLEVEL) -ge 27 -a $(KERNEL_SUBLEVEL) -le 31 && echo yes),yes) 
    1919-ifeq ($(CONFIG_MAC80211),) 
    2020-$(error "ERROR: Your >=2.6.27 and <= 2.6.31 kernel has CONFIG_MAC80211 disabled, you should have it CONFIG_MAC80211=m if you want to use this thing.") 
     
    2424 ifneq ($(KERNELRELEASE),) # This prevents a warning 
    2525  
    26  ifeq ($(CONFIG_NET_SCHED),) 
     26 # We will warn when you don't have MQ support or NET_SCHED enabled. 
  • trunk/package/mac80211/patches/010-no_pcmcia.patch

    r26912 r27187  
    1010 include $(KLIB_BUILD)/.config 
    1111 endif 
    12 @@ -232,7 +232,7 @@ CONFIG_B43=m 
     12@@ -245,7 +245,7 @@ CONFIG_B43=m 
    1313 CONFIG_B43_HWRNG=y 
    1414 CONFIG_B43_PCI_AUTOSELECT=y 
  • trunk/package/mac80211/patches/011-no_sdio.patch

    r27071 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -492,7 +492,7 @@ endif #CONFIG_SPI_MASTER end of SPI driv 
     3@@ -505,7 +505,7 @@ endif #CONFIG_SPI_MASTER end of SPI driv 
    44  
    55 ifdef CONFIG_MMC 
  • trunk/package/mac80211/patches/013-disable_b43_nphy.patch

    r26912 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -238,7 +238,7 @@ ifdef CONFIG_MAC80211_LEDS 
     3@@ -251,7 +251,7 @@ ifdef CONFIG_MAC80211_LEDS 
    44 CONFIG_B43_LEDS=y 
    55 endif #CONFIG_MAC80211_LEDS 
  • trunk/package/mac80211/patches/015-remove-rt2x00-options.patch

    r27071 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -302,7 +302,7 @@ CONFIG_RTL8180=m 
     3@@ -315,7 +315,7 @@ CONFIG_RTL8180=m 
    44  
    55 CONFIG_ADM8211=m 
     
    1010 CONFIG_RT2500PCI=m 
    1111 ifdef CONFIG_CRC_CCITT 
    12 @@ -441,7 +441,7 @@ CONFIG_RT2800USB_RT33XX=y 
     12@@ -454,7 +454,7 @@ CONFIG_RT2800USB_RT33XX=y 
    1313 # CONFIG_RT2800USB_RT53XX=y 
    1414 CONFIG_RT2800USB_UNKNOWN=y 
  • trunk/package/mac80211/patches/016-remove_pid_algo.patch

    r26744 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -111,7 +111,7 @@ CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y 
     3@@ -124,7 +124,7 @@ CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y 
    44 # This is the one used by our compat-wireless net/mac80211/rate.c 
    55 # in case you have and old kernel which is overriding this to pid. 
  • trunk/package/mac80211/patches/017-remove_ath9k_rc.patch

    r26912 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -205,7 +205,7 @@ CONFIG_ATH9K_COMMON=m 
     3@@ -218,7 +218,7 @@ CONFIG_ATH9K_COMMON=m 
    44 # as default once we get minstrel properly tested and blessed by 
    55 # our systems engineering team. CCK rates also need to be used 
  • trunk/package/mac80211/patches/019-remove_ath5k_pci_option.patch

    r26912 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -210,7 +210,7 @@ CONFIG_ATH9K_COMMON=m 
     3@@ -223,7 +223,7 @@ CONFIG_ATH9K_COMMON=m 
    44 # PCI Drivers 
    55 ifdef CONFIG_PCI 
  • trunk/package/mac80211/patches/110-disable_usb_compat.patch

    r27071 r27187  
    3434--- a/config.mk 
    3535+++ b/config.mk 
    36 @@ -427,7 +427,7 @@ endif #CONFIG_COMPAT_KERNEL_29 
     36@@ -440,7 +440,7 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29 
    3737 # This activates a threading fix for usb urb. 
    3838 # this is mainline commit: b3e670443b7fb8a2d29831b62b44a039c283e351 
  • trunk/package/mac80211/patches/300-pending_work.patch

    r27071 r27187  
    103103                snprintf(tmp, sizeof(tmp) - 1, "txq_fifo[%i] empty: ", i); 
    104104                PRQLE(tmp, txq_fifo[i]); 
    105 @@ -807,7 +807,10 @@ void ath_debug_stat_tx(struct ath_softc  
     105@@ -807,7 +807,10 @@ void ath_debug_stat_tx(struct ath_softc 
    106106                else 
    107107                        TX_STAT_INC(qnum, a_completed); 
     
    140140 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 
    141141                             struct ath_tx_status *ts, int nframes, int nbad, 
    142 @@ -377,8 +377,7 @@ static void ath_tx_complete_aggr(struct  
     142@@ -377,8 +377,7 @@ static void ath_tx_complete_aggr(struct 
    143143                        bf_next = bf->bf_next; 
    144144  
     
    150150  
    151151                        ath_tx_rc_status(sc, bf, ts, 1, 1, 0, false); 
    152 @@ -463,20 +462,14 @@ static void ath_tx_complete_aggr(struct  
     152@@ -463,20 +462,14 @@ static void ath_tx_complete_aggr(struct 
    153153                        } 
    154154                } 
     
    220220        struct ath_buf *bf, *lastbf; 
    221221        struct list_head bf_head; 
    222 @@ -1170,93 +1157,63 @@ void ath_draintxq(struct ath_softc *sc,  
     222@@ -1170,93 +1157,63 @@ void ath_draintxq(struct ath_softc *sc, 
    223223        memset(&ts, 0, sizeof(ts)); 
    224224        INIT_LIST_HEAD(&bf_head); 
     
    858858 { 
    859859        struct ieee80211_sub_if_data *sdata = 
    860 @@ -822,6 +863,9 @@ static void ieee80211_iface_work(struct  
     860@@ -822,6 +863,9 @@ static void ieee80211_iface_work(struct 
    861861                                break; 
    862862                        ieee80211_mesh_rx_queued_mgmt(sdata, skb); 
  • trunk/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch

    r26912 r27187  
    99  
    1010 #include "hw.h" 
    11 @@ -434,8 +435,16 @@ static int ath9k_hw_init_macaddr(struct  
     11@@ -434,8 +435,16 @@ static int ath9k_hw_init_macaddr(struct 
    1212                common->macaddr[2 * i] = eeval >> 8; 
    1313                common->macaddr[2 * i + 1] = eeval & 0xff; 
  • trunk/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch

    r26744 r27187  
    11--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c 
    22+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c 
    3 @@ -97,13 +97,8 @@ ath5k_add_interface(struct ieee80211_hw  
     3@@ -97,13 +97,8 @@ ath5k_add_interface(struct ieee80211_hw 
    44                goto end; 
    55        } 
  • trunk/package/mac80211/patches/430-ath5k_disable_fast_cc.patch

    r27024 r27187  
    11--- a/drivers/net/wireless/ath/ath5k/reset.c 
    22+++ b/drivers/net/wireless/ath/ath5k/reset.c 
    3 @@ -1035,6 +1035,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,  
     3@@ -1035,6 +1035,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, 
    44        tsf_lo = 0; 
    55        mode = 0; 
     
    99         * Sanity check for fast flag 
    1010         * Fast channel change only available 
    11 @@ -1042,6 +1043,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,  
     11@@ -1042,6 +1043,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, 
    1212         */ 
    1313        if (fast && (ah->ah_radio != AR5K_RF2413) && 
  • trunk/package/mac80211/patches/511-ath9k_increase_bcbuf.patch

    r27071 r27187  
    1212--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1313+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    14 @@ -355,8 +355,8 @@ static void ath9k_hw_init_config(struct  
     14@@ -355,8 +355,8 @@ static void ath9k_hw_init_config(struct 
    1515 { 
    1616        int i; 
  • trunk/package/mac80211/patches/530-ath9k_noise_dbm_fixup.patch

    r27071 r27187  
    5959--- a/drivers/net/wireless/ath/ath9k/main.c 
    6060+++ b/drivers/net/wireless/ath/ath9k/main.c 
    61 @@ -163,7 +163,7 @@ static void ath_update_survey_nf(struct  
     61@@ -163,7 +163,7 @@ static void ath_update_survey_nf(struct 
    6262  
    6363        if (chan->noisefloor) { 
  • trunk/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 1be7c8b..05c2ba2 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -551,6 +551,7 @@ static int __ath9k_hw_init(struct ath_hw *ah) 
     3@@ -560,6 +560,7 @@ static int __ath9k_hw_init(struct ath_hw 
    64        case AR_SREV_VERSION_9287: 
    75        case AR_SREV_VERSION_9271: 
     
    119        case AR_SREV_VERSION_9340: 
    1210                break; 
    13 @@ -561,7 +562,8 @@ static int __ath9k_hw_init(struct ath_hw *ah) 
     11@@ -570,7 +571,8 @@ static int __ath9k_hw_init(struct ath_hw 
    1412                return -EOPNOTSUPP; 
    1513        } 
     
    2119  
    2220        ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID); 
    23 @@ -2574,6 +2576,7 @@ static struct { 
     21@@ -2584,6 +2586,7 @@ static struct { 
    2422        { AR_SREV_VERSION_9287,         "9287" }, 
    2523        { AR_SREV_VERSION_9271,         "9271" }, 
     
    2927 }; 
    3028  
    31 diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h 
    32 index c18ee99..a483388 100644 
    3329--- a/drivers/net/wireless/ath/ath9k/reg.h 
    3430+++ b/drivers/net/wireless/ath/ath9k/reg.h 
  • trunk/package/mac80211/patches/541-ath9k-define-device-id-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h 
    2 index 4b157c5..9f23451 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.h 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.h 
  • trunk/package/mac80211/patches/542-ath9k-add-MAC-revision-detection-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 05c2ba2..ade8655 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -251,6 +251,15 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah) 
     3@@ -252,6 +252,15 @@ static void ath9k_hw_read_revisions(stru 
    64        case AR5416_AR9100_DEVID: 
    75                ah->hw_version.macVersion = AR_SREV_VERSION_9100; 
     
    1917                ah->hw_version.macVersion = AR_SREV_VERSION_9340; 
    2018                val = REG_READ(ah, AR_SREV); 
    21 diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h 
    22 index 9f23451..8d9ac49 100644 
    2319--- a/drivers/net/wireless/ath/ath9k/hw.h 
    2420+++ b/drivers/net/wireless/ath/ath9k/hw.h 
     
    3127  
    3228 struct ath_bus_ops { 
    33 diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c 
    34 index 45c585a..c2defa2 100644 
    3529--- a/drivers/net/wireless/ath/ath9k/init.c 
    3630+++ b/drivers/net/wireless/ath/ath9k/init.c 
    37 @@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid, 
     31@@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, s 
    3832                sc->sc_ah->gpio_val = pdata->gpio_val; 
    3933                sc->sc_ah->led_pin = pdata->led_pin; 
     
    4337  
    4438        common = ath9k_hw_common(ah); 
    45 diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h 
    46 index 60a7c49..c207607 100644 
    4739--- a/include/linux/ath9k_platform.h 
    4840+++ b/include/linux/ath9k_platform.h 
     
    5547  
    5648 #endif /* _LINUX_ATH9K_PLATFORM_H */ 
    57  
  • trunk/package/mac80211/patches/543-ath9k-add-platform-device-id-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c 
    2 index 5b49cd0..0b36fcf 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ahb.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ahb.c 
    5 @@ -27,6 +27,10 @@ static const struct platform_device_id ath9k_platform_id_table[] = { 
     3@@ -27,6 +27,10 @@ static const struct platform_device_id a 
    64                .driver_data = AR5416_AR9100_DEVID, 
    75        }, 
  • trunk/package/mac80211/patches/544-ath9k-add-AR9330-initvals.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h 
    2 new file mode 100644 
    3 index 0000000..9593333 
    41--- /dev/null 
    52+++ b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h 
     
    13081305+ 
    13091306+#endif /* INITVALS_9330_1P1_H */ 
    1310 diff --git a/drivers/net/wireless/ath/ath9k/ar9330_1p2_initvals.h b/drivers/net/wireless/ath/ath9k/ar9330_1p2_initvals.h 
    1311 new file mode 100644 
    1312 index 0000000..968ccc2 
    13131307--- /dev/null 
    13141308+++ b/drivers/net/wireless/ath/ath9k/ar9330_1p2_initvals.h 
  • trunk/package/mac80211/patches/545-ath9k-initialize-mode-registers-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    2 index 392bf0f..dc0ad4a 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
     
    127125                INIT_INI_ARRAY(&ah->iniMac[ATH_INI_PRE], NULL, 0, 0); 
    128126                INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], 
    129 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    130 index 892c48b..48893f1 100644 
    131127--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    132128+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    133 @@ -659,6 +659,9 @@ static int ar9003_hw_process_ini(struct ath_hw *ah, 
     129@@ -659,6 +659,9 @@ static int ar9003_hw_process_ini(struct 
    134130                REG_WRITE_ARRAY(&ah->iniModesAdditional, 
    135131                                modesIndex, regWrites); 
  • trunk/package/mac80211/patches/546-ath9k-initialize-tx-gain-table-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    2 index dc0ad4a..264a7ea 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    5 @@ -328,7 +328,17 @@ static void ar9003_tx_gain_table_apply(struct ath_hw *ah) 
     3@@ -328,7 +328,17 @@ static void ar9003_tx_gain_table_apply(s 
    64        switch (ar9003_hw_get_tx_gain_idx(ah)) { 
    75        case 0: 
     
    2220                                        ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 
    2321                                       ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 
    24 @@ -345,7 +355,17 @@ static void ar9003_tx_gain_table_apply(struct ath_hw *ah) 
     22@@ -345,7 +355,17 @@ static void ar9003_tx_gain_table_apply(s 
    2523                                       5); 
    2624                break; 
     
    4139                                        ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 
    4240                                       ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 
    43 @@ -362,7 +382,17 @@ static void ar9003_tx_gain_table_apply(struct ath_hw *ah) 
     41@@ -362,7 +382,17 @@ static void ar9003_tx_gain_table_apply(s 
    4442                                       5); 
    4543                break; 
     
    6058                                        ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 
    6159                                       ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 
    62 @@ -379,7 +409,17 @@ static void ar9003_tx_gain_table_apply(struct ath_hw *ah) 
     60@@ -379,7 +409,17 @@ static void ar9003_tx_gain_table_apply(s 
    6361                                       5); 
    6462                break; 
     
    7977                                        ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 
    8078                                       ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 
    81  
  • trunk/package/mac80211/patches/547-ath9k-initialize-rx-gain-table-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    2 index 264a7ea..8efdec2 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 
    5 @@ -443,7 +443,17 @@ static void ar9003_rx_gain_table_apply(struct ath_hw *ah) 
     3@@ -443,7 +443,17 @@ static void ar9003_rx_gain_table_apply(s 
    64        switch (ar9003_hw_get_rx_gain_idx(ah)) { 
    75        case 0: 
     
    2220                                       ar9340Common_rx_gain_table_1p0, 
    2321                                       ARRAY_SIZE(ar9340Common_rx_gain_table_1p0), 
    24 @@ -460,7 +470,17 @@ static void ar9003_rx_gain_table_apply(struct ath_hw *ah) 
     22@@ -460,7 +470,17 @@ static void ar9003_rx_gain_table_apply(s 
    2523                                       2); 
    2624                break; 
     
    4139                                       ar9340Common_wo_xlna_rx_gain_table_1p0, 
    4240                                       ARRAY_SIZE(ar9340Common_wo_xlna_rx_gain_table_1p0), 
    43  
  • trunk/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index ade8655..826ed5d 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -733,6 +733,39 @@ static void ath9k_hw_init_pll(struct ath_hw *ah, 
     3@@ -742,6 +742,39 @@ static void ath9k_hw_init_pll(struct ath 
    64                REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, 
    75                              AR_CH0_BB_DPLL2_PLL_PWD, 0x0); 
     
    4341                u32 regval, pll2_divint, pll2_divfrac, refdiv; 
    4442  
    45 @@ -774,7 +807,7 @@ static void ath9k_hw_init_pll(struct ath_hw *ah, 
     43@@ -783,7 +816,7 @@ static void ath9k_hw_init_pll(struct ath 
    4644  
    4745        REG_WRITE(ah, AR_RTC_PLL_CONTROL, pll); 
     
    5250  
    5351        /* Switch the core clock for ar9271 to 117Mhz */ 
    54  
  • trunk/package/mac80211/patches/549-ath9k-use-different-BB-watchdog-timeout-value-for-AR.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 826ed5d..f53a3bf 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -615,7 +615,10 @@ static int __ath9k_hw_init(struct ath_hw *ah) 
     3@@ -624,7 +624,10 @@ static int __ath9k_hw_init(struct ath_hw 
    64        else 
    75                ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); 
     
    1513        common->state = ATH_HW_INITIALIZED; 
    1614  
    17  
  • trunk/package/mac80211/patches/550-ath9k-don-t-enable-LDPC-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index f53a3bf..6315e7d 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -2030,7 +2030,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) 
     3@@ -2040,7 +2040,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
    64  
    75        if (AR_SREV_9300_20_OR_LATER(ah)) { 
     
    1210  
    1311                pCap->rx_hp_qdepth = ATH9K_HW_RX_HP_QDEPTH; 
    14  
  • trunk/package/mac80211/patches/551-ath9k-read-spur-frequency-information-from-eeprom-fo.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index 48893f1..2df72cb 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -168,7 +168,7 @@ static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah, 
     3@@ -168,7 +168,7 @@ static void ar9003_hw_spur_mitigate_mrc_ 
    64         * is out-of-band and can be ignored. 
    75         */ 
     
    1210                                                         IS_CHAN_2GHZ(chan)); 
    1311                if (spur_fbin_ptr[0] == 0) /* No spur */ 
    14 @@ -193,7 +193,7 @@ static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah, 
     12@@ -193,7 +193,7 @@ static void ar9003_hw_spur_mitigate_mrc_ 
    1513  
    1614        for (i = 0; i < max_spur_cnts; i++) { 
     
    2119                                        IS_CHAN_2GHZ(chan)) - synth_freq; 
    2220                else 
    23  
  • trunk/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index 2df72cb..1194eeb 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -104,7 +104,7 @@ static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) 
     3@@ -104,7 +104,7 @@ static int ar9003_hw_set_channel(struct 
    64                        u32 chan_frac; 
    75  
     
    1210                } else { 
    1311                        channelSel = CHANSEL_5G(freq); 
    14  
  • trunk/package/mac80211/patches/553-ath9k-configure-RF-channel-frequency-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index 1194eeb..a0ca1eb 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -75,7 +75,19 @@ static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) 
     3@@ -75,7 +75,19 @@ static int ar9003_hw_set_channel(struct 
    64        freq = centers.synth_center; 
    75  
  • trunk/package/mac80211/patches/554-ath9k-enable-TX-RX-data-byte-swap-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 6315e7d..a35af90 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -1592,7 +1592,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, 
     3@@ -1602,7 +1602,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    64                                REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 
    75                } 
     
    1210                else 
    1311                        REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 
    14  
  • trunk/package/mac80211/patches/555-ath9k-skip-internal-regulator-configuration-for-AR93.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index 729534c..6021186 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3795,7 +3795,7 @@ static void ath9k_hw_ar9300_set_board_values(struct ath_hw *ah, 
     3@@ -3795,7 +3795,7 @@ static void ath9k_hw_ar9300_set_board_va 
    64        ar9003_hw_ant_ctrl_apply(ah, IS_CHAN_2GHZ(chan)); 
    75        ar9003_hw_drive_strength_apply(ah); 
  • trunk/package/mac80211/patches/556-ath9k-enable-tuning-capacitance-configuration-for-AR.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index 6021186..dd09cae 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3797,7 +3797,7 @@ static void ath9k_hw_ar9300_set_board_values(struct ath_hw *ah, 
     3@@ -3797,7 +3797,7 @@ static void ath9k_hw_ar9300_set_board_va 
    64        ar9003_hw_atten_apply(ah, chan); 
    75        if (!AR_SREV_9330(ah) && !AR_SREV_9340(ah)) 
  • trunk/package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index dd09cae..d7741d2 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_internal(struct ath_hw *ah, 
     3@@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_interna 
    64        read = ar9300_read_eeprom; 
    75        if (AR_SREV_9485(ah)) 
  • trunk/package/mac80211/patches/558-ath9k-configure-xpa-bias-level-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index d7741d2..b3351f6 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz) 
     3@@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_app 
    64 { 
    75        int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz); 
     
    1210        else { 
    1311                REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias); 
    14  
  • trunk/package/mac80211/patches/559-ath9k-set-NF-limits-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index a0ca1eb..eb18b63 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -1089,7 +1089,10 @@ static void ar9003_hw_set_nf_limits(struct ath_hw *ah) 
     3@@ -1089,7 +1089,10 @@ static void ar9003_hw_set_nf_limits(stru 
    64 { 
    75        ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ; 
     
    1513        ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ; 
    1614        ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9300_5GHZ; 
    17 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
    18 index 443090d..d259278 100644 
    1915--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
    2016+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
     
    2824  * AGC Field Definitions 
    2925  */ 
    30  
  • trunk/package/mac80211/patches/560-ath9k-enable-antenna-diversity-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index a35af90..323b6ab 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -2072,7 +2072,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) 
     3@@ -2082,7 +2082,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
    64        } 
    75  
     
    1210                /* 
    1311                 * enable the diversity-combining algorithm only when 
    14  
  • trunk/package/mac80211/patches/561-ath9k-use-correct-max_streams-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c 
    2 index c2defa2..5ffabb9 100644 
    31--- a/drivers/net/wireless/ath/ath9k/init.c 
    42+++ b/drivers/net/wireless/ath/ath9k/init.c 
    5 @@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_softc *sc, 
     3@@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_soft 
    64        ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; 
    75        ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; 
  • trunk/package/mac80211/patches/562-ath9k-add-a-missing-case-statement-to-ath_ant_div_co.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c 
    2 index 07e35e5..d0af2f2 100644 
    31--- a/drivers/net/wireless/ath/ath9k/recv.c 
    42+++ b/drivers/net/wireless/ath/ath9k/recv.c 
    5 @@ -39,6 +39,7 @@ static inline bool ath_ant_div_comb_alt_check(u8 div_group, int alt_ratio, 
     3@@ -39,6 +39,7 @@ static inline bool ath_ant_div_comb_alt_ 
    64                        result = true; 
    75                break; 
  • trunk/package/mac80211/patches/563-ath9k-fix-antenna-diversity-configuration-for-non-AR.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index eb18b63..b9f0b27 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -1214,8 +1214,14 @@ static void ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah, 
     3@@ -1214,8 +1214,14 @@ static void ar9003_hw_antdiv_comb_conf_g 
    64                                 AR_PHY_9485_ANT_DIV_ALT_LNACONF_S; 
    75        antconf->fast_div_bias = (regval & AR_PHY_9485_ANT_FAST_DIV_BIAS) >> 
  • trunk/package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c 
    2 index d0af2f2..99f55b3 100644 
    31--- a/drivers/net/wireless/ath/ath9k/recv.c 
    42+++ b/drivers/net/wireless/ath/ath9k/recv.c 
    5 @@ -1076,39 +1076,39 @@ static void ath_lnaconf_alt_good_scan(struct ath_ant_comb *antcomb, 
     3@@ -1078,39 +1078,39 @@ static void ath_lnaconf_alt_good_scan(st 
    64                antcomb->rssi_lna1 = main_rssi_avg; 
    75  
     
    4947                antcomb->first_quick_scan_conf = 
    5048                        ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2; 
    51 @@ -1325,40 +1325,40 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     49@@ -1327,40 +1327,40 @@ static void ath_ant_div_conf_fast_divbia 
    5250                /* Adjust the fast_div_bias based on main and alt lna conf */ 
    5351                switch ((ant_conf->main_lna_conf << 4) | 
     
    102100                        break; 
    103101                default: 
    104 @@ -1368,22 +1368,22 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     102@@ -1370,22 +1370,22 @@ static void ath_ant_div_conf_fast_divbia 
    105103                /* Adjust the fast_div_bias based on main and alt_lna_conf */ 
    106104                switch ((ant_conf->main_lna_conf << 4) | 
     
    129127                                (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 
    130128                                ant_conf->fast_div_bias = 0x1; 
    131 @@ -1392,12 +1392,12 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     129@@ -1394,12 +1394,12 @@ static void ath_ant_div_conf_fast_divbia 
    132130                        ant_conf->main_gaintb = 0; 
    133131                        ant_conf->alt_gaintb = 0; 
     
    144142                                (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 
    145143                                ant_conf->fast_div_bias = 0x1; 
    146 @@ -1406,7 +1406,7 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     144@@ -1408,7 +1408,7 @@ static void ath_ant_div_conf_fast_divbia 
    147145                        ant_conf->main_gaintb = 0; 
    148146                        ant_conf->alt_gaintb = 0; 
     
    153151                                (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 
    154152                                ant_conf->fast_div_bias = 0x1; 
    155 @@ -1415,12 +1415,12 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     153@@ -1417,12 +1417,12 @@ static void ath_ant_div_conf_fast_divbia 
    156154                        ant_conf->main_gaintb = 0; 
    157155                        ant_conf->alt_gaintb = 0; 
     
    168166                                (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 
    169167                                ant_conf->fast_div_bias = 0x1; 
    170 @@ -1429,17 +1429,17 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     168@@ -1431,17 +1431,17 @@ static void ath_ant_div_conf_fast_divbia 
    171169                        ant_conf->main_gaintb = 0; 
    172170                        ant_conf->alt_gaintb = 0; 
     
    189187                        ant_conf->main_gaintb = 0; 
    190188                        ant_conf->alt_gaintb = 0; 
    191 @@ -1447,9 +1447,7 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     189@@ -1449,9 +1449,7 @@ static void ath_ant_div_conf_fast_divbia 
    192190                default: 
    193191                        break; 
     
    199197  
    200198 /* Antenna diversity and combining */ 
    201  
  • trunk/package/mac80211/patches/565-ath9k-add-fast_div_bias-configuration-for-diversity-.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c 
    2 index 99f55b3..80bb04f 100644 
    31--- a/drivers/net/wireless/ath/ath9k/recv.c 
    42+++ b/drivers/net/wireless/ath/ath9k/recv.c 
    5 @@ -1364,6 +1364,89 @@ static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf, 
     3@@ -1366,6 +1366,89 @@ static void ath_ant_div_conf_fast_divbia 
    64                default: 
    75                        break; 
  • trunk/package/mac80211/patches/566-ath9k-set-diversity-group-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2 index b9f0b27..d9117bd 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    5 @@ -1215,7 +1215,10 @@ static void ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah, 
     3@@ -1215,7 +1215,10 @@ static void ar9003_hw_antdiv_comb_conf_g 
    64        antconf->fast_div_bias = (regval & AR_PHY_9485_ANT_FAST_DIV_BIAS) >> 
    75                                  AR_PHY_9485_ANT_FAST_DIV_BIAS_S; 
     
    1513                antconf->div_group = 2; 
    1614        } else { 
    17  
  • trunk/package/mac80211/patches/567-ath9k-fix-few-register-offsets-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
    2 index d259278..9eb3aa2 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h 
  • trunk/package/mac80211/patches/568-ath9k-configure-diversity-based-on-eeprom-contents-f.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index b3351f6..ffdfa6d 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz) 
     3@@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(str 
    64                } 
    75        } 
  • trunk/package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    2 index ffdfa6d..963dc9b 100644 
    31--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    42+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 
    5 @@ -3712,7 +3712,7 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) 
     3@@ -3712,7 +3712,7 @@ static void ar9003_hw_internal_regulator 
    64                ath9k_hw_ar9300_get_eeprom(ah, EEP_INTERNAL_REGULATOR); 
    75  
     
    1210  
    1311                        reg_pmu_set = REG_READ(ah, AR_PHY_PMU2) & ~AR_PHY_PMU2_PGM; 
    14 @@ -3720,9 +3720,24 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) 
     12@@ -3720,9 +3720,24 @@ static void ar9003_hw_internal_regulator 
    1513                        if (!is_pmu_set(ah, AR_PHY_PMU2, reg_pmu_set)) 
    1614                                return; 
     
    4038                        REG_WRITE(ah, AR_PHY_PMU1, reg_pmu_set); 
    4139                        if (!is_pmu_set(ah, AR_PHY_PMU1, reg_pmu_set)) 
    42 @@ -3753,7 +3768,7 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) 
     40@@ -3753,7 +3768,7 @@ static void ar9003_hw_internal_regulator 
    4341                                           AR_RTC_REG_CONTROL1_SWREG_PROGRAM); 
    4442                } 
  • trunk/package/mac80211/patches/570-ath9k-add-external_reset-callback-to-ath9k_platfom_d.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 323b6ab..5d373fc 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -1161,6 +1161,41 @@ static bool ath9k_hw_set_reset(struct ath_hw *ah, int type) 
     3@@ -1170,6 +1170,41 @@ static bool ath9k_hw_set_reset(struct at 
    64                        rst_flags |= AR_RTC_RC_MAC_COLD; 
    75        } 
     
    4543  
    4644        REGWRITE_BUFFER_FLUSH(ah); 
    47 diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h 
    48 index 8d9ac49..f29a806 100644 
    4945--- a/drivers/net/wireless/ath/ath9k/hw.h 
    5046+++ b/drivers/net/wireless/ath/ath9k/hw.h 
     
    5753  
    5854 struct ath_bus_ops { 
    59 diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c 
    60 index 5ffabb9..f517649 100644 
    6155--- a/drivers/net/wireless/ath/ath9k/init.c 
    6256+++ b/drivers/net/wireless/ath/ath9k/init.c 
    63 @@ -576,6 +576,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid, 
     57@@ -576,6 +576,7 @@ static int ath9k_init_softc(u16 devid, s 
    6458                sc->sc_ah->led_pin = pdata->led_pin; 
    6559                ah->is_clk_25mhz = pdata->is_clk_25mhz; 
     
    6963  
    7064        common = ath9k_hw_common(ah); 
    71 diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h 
    72 index c207607..6e3f54f 100644 
    7365--- a/include/linux/ath9k_platform.h 
    7466+++ b/include/linux/ath9k_platform.h 
  • trunk/package/mac80211/patches/571-ath9k-enable-support-for-AR9330.patch

    r27084 r27187  
    1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c 
    2 index 5d373fc..8cbcf12 100644 
    31--- a/drivers/net/wireless/ath/ath9k/hw.c 
    42+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    5 @@ -644,6 +644,7 @@ int ath9k_hw_init(struct ath_hw *ah) 
     3@@ -653,6 +653,7 @@ int ath9k_hw_init(struct ath_hw *ah) 
    64        case AR2427_DEVID_PCIE: 
    75        case AR9300_DEVID_PCIE: 
     
    119                break; 
    1210        default: 
    13  
Note: See TracChangeset for help on using the changeset viewer.