Changeset 27187
- Timestamp:
- 2011-06-15T23:16:38+02:00 (7 years ago)
- Location:
- trunk/package/mac80211/patches
- Files:
-
- 1 added
- 52 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package/mac80211/patches/001-disable_b44.patch
r26912 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -3 14,8 +314,8 @@ endif #CONFIG_SSB3 @@ -327,8 +327,8 @@ endif #CONFIG_SSB 4 4 5 5 CONFIG_P54_PCI=m -
trunk/package/mac80211/patches/002-disable_rfkill.patch
r27071 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ - 74,7 +74,7 @@ endif # build check3 @@ -87,7 +87,7 @@ endif # build check 4 4 endif # kernel Makefile check 5 5 … … 10 10 ifeq ($(CONFIG_MAC80211),y) 11 11 $(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 @@ -6 22,10 +622,10 @@ endif #CONFIG_COMPAT_KERNEL_2712 @@ -635,10 +635,10 @@ endif #CONFIG_COMPAT_KERNEL_2_6_27 13 13 # We need the backported rfkill module on kernel < 2.6.31. 14 14 # In more recent kernel versions use the in kernel rfkill module. 15 ifdef CONFIG_COMPAT_KERNEL_ 3115 ifdef CONFIG_COMPAT_KERNEL_2_6_31 16 16 -CONFIG_RFKILL_BACKPORT=m 17 17 +# CONFIG_RFKILL_BACKPORT=m … … 22 22 -CONFIG_RFKILL_BACKPORT_INPUT=y 23 23 +# CONFIG_RFKILL_BACKPORT_INPUT=y 24 endif #CONFIG_COMPAT_KERNEL_ 3124 endif #CONFIG_COMPAT_KERNEL_2_6_31 25 25 26 26 --- a/include/linux/rfkill.h -
trunk/package/mac80211/patches/003-disable_bt.patch
r23061 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ - 96,8 +96,8 @@ ifndef CONFIG_COMPAT_KERNEL_273 @@ -109,8 +109,8 @@ ifndef CONFIG_COMPAT_KERNEL_2_6_27 4 4 ifeq ($(CONFIG_BT),y) 5 5 # we'll ignore compiling bluetooth … … 10 10 +# CONFIG_COMPAT_BLUETOOTH_MODULES=m 11 11 endif 12 endif #CONFIG_COMPAT_KERNEL_2 712 endif #CONFIG_COMPAT_KERNEL_2_6_27 13 13 -
trunk/package/mac80211/patches/005-disable_ssb_build.patch
r27071 r27187 20 20 include $(KLIB_BUILD)/.config 21 21 endif 22 @@ - 298,19 +297,18 @@ CONFIG_IPW2200_QOS=y22 @@ -311,19 +310,18 @@ CONFIG_IPW2200_QOS=y 23 23 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface 24 24 endif #CONFIG_WIRELESS_EXT … … 52 52 CONFIG_P54_PCI=m 53 53 54 @@ -5 11,7 +509,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv54 @@ -524,7 +522,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv 55 55 56 56 ifdef CONFIG_MMC -
trunk/package/mac80211/patches/007-remove_misc_drivers.patch
r27071 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ - 199,7 +199,7 @@ $(warning "WARNING: CONFIG_CFG80211_WEXT3 @@ -212,7 +212,7 @@ $(warning "WARNING: CONFIG_CFG80211_WEXT 4 4 endif #CONFIG_WIRELESS_EXT 5 5 … … 10 10 11 11 # mac80211 test driver 12 @@ -3 40,13 +340,13 @@ endif #CONFIG_CRC_ITU_T12 @@ -353,13 +353,13 @@ endif #CONFIG_CRC_ITU_T 13 13 CONFIG_MWL8K=m 14 14 … … 20 20 +# CONFIG_ATL2=m 21 21 +# CONFIG_ATL1E=m 22 ifdef CONFIG_COMPAT_KERNEL_2 722 ifdef CONFIG_COMPAT_KERNEL_2_6_27 23 23 -CONFIG_ATL1C=n 24 24 +# CONFIG_ATL1C=n 25 else #CONFIG_COMPAT_KERNEL_2 725 else #CONFIG_COMPAT_KERNEL_2_6_27 26 26 -CONFIG_ATL1C=m 27 27 +# CONFIG_ATL1C=m 28 endif #CONFIG_COMPAT_KERNEL_2 728 endif #CONFIG_COMPAT_KERNEL_2_6_27 29 29 30 30 ifdef CONFIG_WIRELESS_EXT 31 @@ -4 06,21 +406,21 @@ endif #CONFIG_COMPAT_KERNEL_2931 @@ -419,21 +419,21 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29 32 32 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER 33 33 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add 34 ifdef CONFIG_COMPAT_KERNEL_2 934 ifdef CONFIG_COMPAT_KERNEL_2_6_29 35 35 -CONFIG_USB_COMPAT_USBNET=n 36 36 -CONFIG_USB_NET_COMPAT_RNDIS_HOST=n … … 41 41 +# CONFIG_USB_NET_COMPAT_RNDIS_WLAN=n 42 42 +# CONFIG_USB_NET_COMPAT_CDCETHER=n 43 else #CONFIG_COMPAT_KERNEL_2 943 else #CONFIG_COMPAT_KERNEL_2_6_29 44 44 -CONFIG_USB_COMPAT_USBNET=m 45 45 +# CONFIG_USB_COMPAT_USBNET=m … … 58 58 -CONFIG_USB_NET_COMPAT_CDCETHER=m 59 59 +# CONFIG_USB_NET_COMPAT_CDCETHER=m 60 endif #CONFIG_COMPAT_KERNEL_2 960 endif #CONFIG_COMPAT_KERNEL_2_6_29 61 61 62 62 -
trunk/package/mac80211/patches/009-remove_mac80211_module_dependence.patch
r23061 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ - 42,23 +42,6 @@ $(error "ERROR: Your 2.6.27 kernel has C3 @@ -50,23 +50,6 @@ $(error "ERROR: Your 2.6.27 kernel has C 4 4 endif 5 5 endif … … 16 16 -# In kernel 2.6.32 both attributes were removed. 17 17 -# 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) 19 19 -ifeq ($(CONFIG_MAC80211),) 20 20 -$(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.") … … 24 24 ifneq ($(KERNELRELEASE),) # This prevents a warning 25 25 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 10 10 include $(KLIB_BUILD)/.config 11 11 endif 12 @@ -2 32,7 +232,7 @@ CONFIG_B43=m12 @@ -245,7 +245,7 @@ CONFIG_B43=m 13 13 CONFIG_B43_HWRNG=y 14 14 CONFIG_B43_PCI_AUTOSELECT=y -
trunk/package/mac80211/patches/011-no_sdio.patch
r27071 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ - 492,7 +492,7 @@ endif #CONFIG_SPI_MASTER end of SPI driv3 @@ -505,7 +505,7 @@ endif #CONFIG_SPI_MASTER end of SPI driv 4 4 5 5 ifdef CONFIG_MMC -
trunk/package/mac80211/patches/013-disable_b43_nphy.patch
r26912 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -2 38,7 +238,7 @@ ifdef CONFIG_MAC80211_LEDS3 @@ -251,7 +251,7 @@ ifdef CONFIG_MAC80211_LEDS 4 4 CONFIG_B43_LEDS=y 5 5 endif #CONFIG_MAC80211_LEDS -
trunk/package/mac80211/patches/015-remove-rt2x00-options.patch
r27071 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -3 02,7 +302,7 @@ CONFIG_RTL8180=m3 @@ -315,7 +315,7 @@ CONFIG_RTL8180=m 4 4 5 5 CONFIG_ADM8211=m … … 10 10 CONFIG_RT2500PCI=m 11 11 ifdef CONFIG_CRC_CCITT 12 @@ -4 41,7 +441,7 @@ CONFIG_RT2800USB_RT33XX=y12 @@ -454,7 +454,7 @@ CONFIG_RT2800USB_RT33XX=y 13 13 # CONFIG_RT2800USB_RT53XX=y 14 14 CONFIG_RT2800USB_UNKNOWN=y -
trunk/package/mac80211/patches/016-remove_pid_algo.patch
r26744 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -1 11,7 +111,7 @@ CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y3 @@ -124,7 +124,7 @@ CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y 4 4 # This is the one used by our compat-wireless net/mac80211/rate.c 5 5 # in case you have and old kernel which is overriding this to pid. -
trunk/package/mac80211/patches/017-remove_ath9k_rc.patch
r26912 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -2 05,7 +205,7 @@ CONFIG_ATH9K_COMMON=m3 @@ -218,7 +218,7 @@ CONFIG_ATH9K_COMMON=m 4 4 # as default once we get minstrel properly tested and blessed by 5 5 # our systems engineering team. CCK rates also need to be used -
trunk/package/mac80211/patches/019-remove_ath5k_pci_option.patch
r26912 r27187 1 1 --- a/config.mk 2 2 +++ b/config.mk 3 @@ -2 10,7 +210,7 @@ CONFIG_ATH9K_COMMON=m3 @@ -223,7 +223,7 @@ CONFIG_ATH9K_COMMON=m 4 4 # PCI Drivers 5 5 ifdef CONFIG_PCI -
trunk/package/mac80211/patches/110-disable_usb_compat.patch
r27071 r27187 34 34 --- a/config.mk 35 35 +++ b/config.mk 36 @@ -4 27,7 +427,7 @@ endif #CONFIG_COMPAT_KERNEL_2936 @@ -440,7 +440,7 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29 37 37 # This activates a threading fix for usb urb. 38 38 # this is mainline commit: b3e670443b7fb8a2d29831b62b44a039c283e351 -
trunk/package/mac80211/patches/300-pending_work.patch
r27071 r27187 103 103 snprintf(tmp, sizeof(tmp) - 1, "txq_fifo[%i] empty: ", i); 104 104 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 106 106 else 107 107 TX_STAT_INC(qnum, a_completed); … … 140 140 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 141 141 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 143 143 bf_next = bf->bf_next; 144 144 … … 150 150 151 151 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 153 153 } 154 154 } … … 220 220 struct ath_buf *bf, *lastbf; 221 221 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, 223 223 memset(&ts, 0, sizeof(ts)); 224 224 INIT_LIST_HEAD(&bf_head); … … 858 858 { 859 859 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 861 861 break; 862 862 ieee80211_mesh_rx_queued_mgmt(sdata, skb); -
trunk/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch
r26912 r27187 9 9 10 10 #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 12 12 common->macaddr[2 * i] = eeval >> 8; 13 13 common->macaddr[2 * i + 1] = eeval & 0xff; -
trunk/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
r26744 r27187 1 1 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c 2 2 +++ 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 4 4 goto end; 5 5 } -
trunk/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
r27024 r27187 1 1 --- a/drivers/net/wireless/ath/ath5k/reset.c 2 2 +++ 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, 4 4 tsf_lo = 0; 5 5 mode = 0; … … 9 9 * Sanity check for fast flag 10 10 * 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, 12 12 */ 13 13 if (fast && (ah->ah_radio != AR5K_RF2413) && -
trunk/package/mac80211/patches/511-ath9k_increase_bcbuf.patch
r27071 r27187 12 12 --- a/drivers/net/wireless/ath/ath9k/hw.c 13 13 +++ 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 15 15 { 16 16 int i; -
trunk/package/mac80211/patches/530-ath9k_noise_dbm_fixup.patch
r27071 r27187 59 59 --- a/drivers/net/wireless/ath/ath9k/main.c 60 60 +++ 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 62 62 63 63 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.c2 index 1be7c8b..05c2ba2 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -5 51,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 6 4 case AR_SREV_VERSION_9287: 7 5 case AR_SREV_VERSION_9271: … … 11 9 case AR_SREV_VERSION_9340: 12 10 break; 13 @@ -5 61,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 14 12 return -EOPNOTSUPP; 15 13 } … … 21 19 22 20 ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID); 23 @@ -25 74,6 +2576,7 @@ static struct {21 @@ -2584,6 +2586,7 @@ static struct { 24 22 { AR_SREV_VERSION_9287, "9287" }, 25 23 { AR_SREV_VERSION_9271, "9271" }, … … 29 27 }; 30 28 31 diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h32 index c18ee99..a483388 10064433 29 --- a/drivers/net/wireless/ath/ath9k/reg.h 34 30 +++ 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.h2 index 4b157c5..9f23451 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.h 4 2 +++ 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.c2 index 05c2ba2..ade8655 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -25 1,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 6 4 case AR5416_AR9100_DEVID: 7 5 ah->hw_version.macVersion = AR_SREV_VERSION_9100; … … 19 17 ah->hw_version.macVersion = AR_SREV_VERSION_9340; 20 18 val = REG_READ(ah, AR_SREV); 21 diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h22 index 9f23451..8d9ac49 10064423 19 --- a/drivers/net/wireless/ath/ath9k/hw.h 24 20 +++ b/drivers/net/wireless/ath/ath9k/hw.h … … 31 27 32 28 struct ath_bus_ops { 33 diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c34 index 45c585a..c2defa2 10064435 29 --- a/drivers/net/wireless/ath/ath9k/init.c 36 30 +++ b/drivers/net/wireless/ath/ath9k/init.c 37 @@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, s truct ath_softc *sc, u16 subsysid,31 @@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, s 38 32 sc->sc_ah->gpio_val = pdata->gpio_val; 39 33 sc->sc_ah->led_pin = pdata->led_pin; … … 43 37 44 38 common = ath9k_hw_common(ah); 45 diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h46 index 60a7c49..c207607 10064447 39 --- a/include/linux/ath9k_platform.h 48 40 +++ b/include/linux/ath9k_platform.h … … 55 47 56 48 #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.c2 index 5b49cd0..0b36fcf 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ahb.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ahb.c 5 @@ -27,6 +27,10 @@ static const struct platform_device_id a th9k_platform_id_table[] = {3 @@ -27,6 +27,10 @@ static const struct platform_device_id a 6 4 .driver_data = AR5416_AR9100_DEVID, 7 5 }, -
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.h2 new file mode 1006443 index 0000000..95933334 1 --- /dev/null 5 2 +++ b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h … … 1308 1305 + 1309 1306 +#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.h1311 new file mode 1006441312 index 0000000..968ccc21313 1307 --- /dev/null 1314 1308 +++ 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.c2 index 392bf0f..dc0ad4a 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c … … 127 125 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_PRE], NULL, 0, 0); 128 126 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.c130 index 892c48b..48893f1 100644131 127 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 132 128 +++ 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 134 130 REG_WRITE_ARRAY(&ah->iniModesAdditional, 135 131 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.c2 index dc0ad4a..264a7ea 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 5 @@ -328,7 +328,17 @@ static void ar9003_tx_gain_table_apply(s truct ath_hw *ah)3 @@ -328,7 +328,17 @@ static void ar9003_tx_gain_table_apply(s 6 4 switch (ar9003_hw_get_tx_gain_idx(ah)) { 7 5 case 0: … … 22 20 ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 23 21 ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 24 @@ -345,7 +355,17 @@ static void ar9003_tx_gain_table_apply(s truct ath_hw *ah)22 @@ -345,7 +355,17 @@ static void ar9003_tx_gain_table_apply(s 25 23 5); 26 24 break; … … 41 39 ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 42 40 ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 43 @@ -362,7 +382,17 @@ static void ar9003_tx_gain_table_apply(s truct ath_hw *ah)41 @@ -362,7 +382,17 @@ static void ar9003_tx_gain_table_apply(s 44 42 5); 45 43 break; … … 60 58 ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 61 59 ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0), 62 @@ -379,7 +409,17 @@ static void ar9003_tx_gain_table_apply(s truct ath_hw *ah)60 @@ -379,7 +409,17 @@ static void ar9003_tx_gain_table_apply(s 63 61 5); 64 62 break; … … 79 77 ar9340Modes_lowest_ob_db_tx_gain_table_1p0, 80 78 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.c2 index 264a7ea..8efdec2 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c 5 @@ -443,7 +443,17 @@ static void ar9003_rx_gain_table_apply(s truct ath_hw *ah)3 @@ -443,7 +443,17 @@ static void ar9003_rx_gain_table_apply(s 6 4 switch (ar9003_hw_get_rx_gain_idx(ah)) { 7 5 case 0: … … 22 20 ar9340Common_rx_gain_table_1p0, 23 21 ARRAY_SIZE(ar9340Common_rx_gain_table_1p0), 24 @@ -460,7 +470,17 @@ static void ar9003_rx_gain_table_apply(s truct ath_hw *ah)22 @@ -460,7 +470,17 @@ static void ar9003_rx_gain_table_apply(s 25 23 2); 26 24 break; … … 41 39 ar9340Common_wo_xlna_rx_gain_table_1p0, 42 40 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.c2 index ade8655..826ed5d 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -7 33,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 6 4 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, 7 5 AR_CH0_BB_DPLL2_PLL_PWD, 0x0); … … 43 41 u32 regval, pll2_divint, pll2_divfrac, refdiv; 44 42 45 @@ -7 74,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 46 44 47 45 REG_WRITE(ah, AR_RTC_PLL_CONTROL, pll); … … 52 50 53 51 /* 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.c2 index 826ed5d..f53a3bf 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -6 15,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 6 4 else 7 5 ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); … … 15 13 common->state = ATH_HW_INITIALIZED; 16 14 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.c2 index f53a3bf..6315e7d 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -20 30,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 6 4 7 5 if (AR_SREV_9300_20_OR_LATER(ah)) { … … 12 10 13 11 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.c2 index 48893f1..2df72cb 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ 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_ 6 4 * is out-of-band and can be ignored. 7 5 */ … … 12 10 IS_CHAN_2GHZ(chan)); 13 11 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_ 15 13 16 14 for (i = 0; i < max_spur_cnts; i++) { … … 21 19 IS_CHAN_2GHZ(chan)) - synth_freq; 22 20 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.c2 index 2df72cb..1194eeb 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ 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 6 4 u32 chan_frac; 7 5 … … 12 10 } else { 13 11 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.c2 index 1194eeb..a0ca1eb 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ 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 6 4 freq = centers.synth_center; 7 5 -
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.c2 index 6315e7d..a35af90 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -1 592,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 6 4 REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 7 5 } … … 12 10 else 13 11 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.c2 index 729534c..6021186 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 5 @@ -3795,7 +3795,7 @@ static void ath9k_hw_ar9300_set_board_va lues(struct ath_hw *ah,3 @@ -3795,7 +3795,7 @@ static void ath9k_hw_ar9300_set_board_va 6 4 ar9003_hw_ant_ctrl_apply(ah, IS_CHAN_2GHZ(chan)); 7 5 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.c2 index 6021186..dd09cae 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 5 @@ -3797,7 +3797,7 @@ static void ath9k_hw_ar9300_set_board_va lues(struct ath_hw *ah,3 @@ -3797,7 +3797,7 @@ static void ath9k_hw_ar9300_set_board_va 6 4 ar9003_hw_atten_apply(ah, chan); 7 5 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.c2 index dd09cae..d7741d2 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 5 @@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_interna l(struct ath_hw *ah,3 @@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_interna 6 4 read = ar9300_read_eeprom; 7 5 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.c2 index d7741d2..b3351f6 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 5 @@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_app ly(struct ath_hw *ah, bool is2ghz)3 @@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_app 6 4 { 7 5 int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz); … … 12 10 else { 13 11 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.c2 index a0ca1eb..eb18b63 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 5 @@ -1089,7 +1089,10 @@ static void ar9003_hw_set_nf_limits(stru ct ath_hw *ah)3 @@ -1089,7 +1089,10 @@ static void ar9003_hw_set_nf_limits(stru 6 4 { 7 5 ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ; … … 15 13 ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ; 16 14 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.h18 index 443090d..d259278 10064419 15 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h 20 16 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h … … 28 24 * AGC Field Definitions 29 25 */ 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.c2 index a35af90..323b6ab 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -20 72,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 6 4 } 7 5 … … 12 10 /* 13 11 * 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.c2 index c2defa2..5ffabb9 1006443 1 --- a/drivers/net/wireless/ath/ath9k/init.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/init.c 5 @@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_soft c *sc,3 @@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_soft 6 4 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; 7 5 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.c2 index 07e35e5..d0af2f2 1006443 1 --- a/drivers/net/wireless/ath/ath9k/recv.c 4 2 +++ 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_ 6 4 result = true; 7 5 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.c2 index eb18b63..b9f0b27 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 5 @@ -1214,8 +1214,14 @@ static void ar9003_hw_antdiv_comb_conf_g et(struct ath_hw *ah,3 @@ -1214,8 +1214,14 @@ static void ar9003_hw_antdiv_comb_conf_g 6 4 AR_PHY_9485_ANT_DIV_ALT_LNACONF_S; 7 5 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.c2 index d0af2f2..99f55b3 1006443 1 --- a/drivers/net/wireless/ath/ath9k/recv.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/recv.c 5 @@ -107 6,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 6 4 antcomb->rssi_lna1 = main_rssi_avg; 7 5 … … 49 47 antcomb->first_quick_scan_conf = 50 48 ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2; 51 @@ -132 5,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 52 50 /* Adjust the fast_div_bias based on main and alt lna conf */ 53 51 switch ((ant_conf->main_lna_conf << 4) | … … 102 100 break; 103 101 default: 104 @@ -13 68,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 105 103 /* Adjust the fast_div_bias based on main and alt_lna_conf */ 106 104 switch ((ant_conf->main_lna_conf << 4) | … … 129 127 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 130 128 ant_conf->fast_div_bias = 0x1; 131 @@ -139 2,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 132 130 ant_conf->main_gaintb = 0; 133 131 ant_conf->alt_gaintb = 0; … … 144 142 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 145 143 ant_conf->fast_div_bias = 0x1; 146 @@ -140 6,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 147 145 ant_conf->main_gaintb = 0; 148 146 ant_conf->alt_gaintb = 0; … … 153 151 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 154 152 ant_conf->fast_div_bias = 0x1; 155 @@ -141 5,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 156 154 ant_conf->main_gaintb = 0; 157 155 ant_conf->alt_gaintb = 0; … … 168 166 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) 169 167 ant_conf->fast_div_bias = 0x1; 170 @@ -14 29,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 171 169 ant_conf->main_gaintb = 0; 172 170 ant_conf->alt_gaintb = 0; … … 189 187 ant_conf->main_gaintb = 0; 190 188 ant_conf->alt_gaintb = 0; 191 @@ -144 7,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 192 190 default: 193 191 break; … … 199 197 200 198 /* 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.c2 index 99f55b3..80bb04f 1006443 1 --- a/drivers/net/wireless/ath/ath9k/recv.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/recv.c 5 @@ -136 4,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 6 4 default: 7 5 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.c2 index b9f0b27..d9117bd 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 5 @@ -1215,7 +1215,10 @@ static void ar9003_hw_antdiv_comb_conf_g et(struct ath_hw *ah,3 @@ -1215,7 +1215,10 @@ static void ar9003_hw_antdiv_comb_conf_g 6 4 antconf->fast_div_bias = (regval & AR_PHY_9485_ANT_FAST_DIV_BIAS) >> 7 5 AR_PHY_9485_ANT_FAST_DIV_BIAS_S; … … 15 13 antconf->div_group = 2; 16 14 } 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.h2 index d259278..9eb3aa2 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h 4 2 +++ 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.c2 index b3351f6..ffdfa6d 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 5 @@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(str uct ath_hw *ah, bool is2ghz)3 @@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(str 6 4 } 7 5 } -
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.c2 index ffdfa6d..963dc9b 1006443 1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 4 2 +++ 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 6 4 ath9k_hw_ar9300_get_eeprom(ah, EEP_INTERNAL_REGULATOR); 7 5 … … 12 10 13 11 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 15 13 if (!is_pmu_set(ah, AR_PHY_PMU2, reg_pmu_set)) 16 14 return; … … 40 38 REG_WRITE(ah, AR_PHY_PMU1, reg_pmu_set); 41 39 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 43 41 AR_RTC_REG_CONTROL1_SWREG_PROGRAM); 44 42 } -
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.c2 index 323b6ab..5d373fc 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -11 61,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 6 4 rst_flags |= AR_RTC_RC_MAC_COLD; 7 5 } … … 45 43 46 44 REGWRITE_BUFFER_FLUSH(ah); 47 diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h48 index 8d9ac49..f29a806 10064449 45 --- a/drivers/net/wireless/ath/ath9k/hw.h 50 46 +++ b/drivers/net/wireless/ath/ath9k/hw.h … … 57 53 58 54 struct ath_bus_ops { 59 diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c60 index 5ffabb9..f517649 10064461 55 --- a/drivers/net/wireless/ath/ath9k/init.c 62 56 +++ b/drivers/net/wireless/ath/ath9k/init.c 63 @@ -576,6 +576,7 @@ static int ath9k_init_softc(u16 devid, s truct ath_softc *sc, u16 subsysid,57 @@ -576,6 +576,7 @@ static int ath9k_init_softc(u16 devid, s 64 58 sc->sc_ah->led_pin = pdata->led_pin; 65 59 ah->is_clk_25mhz = pdata->is_clk_25mhz; … … 69 63 70 64 common = ath9k_hw_common(ah); 71 diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h72 index c207607..6e3f54f 10064473 65 --- a/include/linux/ath9k_platform.h 74 66 +++ 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.c2 index 5d373fc..8cbcf12 1006443 1 --- a/drivers/net/wireless/ath/ath9k/hw.c 4 2 +++ b/drivers/net/wireless/ath/ath9k/hw.c 5 @@ -6 44,6 +644,7 @@ int ath9k_hw_init(struct ath_hw *ah)3 @@ -653,6 +653,7 @@ int ath9k_hw_init(struct ath_hw *ah) 6 4 case AR2427_DEVID_PCIE: 7 5 case AR9300_DEVID_PCIE: … … 11 9 break; 12 10 default: 13
Note: See TracChangeset
for help on using the changeset viewer.