David S. Miller
d98cae64e4
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
...
Conflicts:
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/xen-netback/netback.c
net/batman-adv/bat_iv_ogm.c
net/wireless/nl80211.c
The ath9k Kconfig conflict was a change of a Kconfig option name right
next to the deletion of another option.
The xen-netback conflict was overlapping changes involving the
handling of the notify list in xen_netbk_rx_action().
Batman conflict resolution provided by Antonio Quartulli, basically
keep everything in both conflict hunks.
The nl80211 conflict is a little more involved. In 'net' we added a
dynamic memory allocation to nl80211_dump_wiphy() to fix a race that
Linus reported. Meanwhile in 'net-next' the handlers were converted
to use pre and post doit handlers which use a flag to determine
whether to hold the RTNL mutex around the operation.
However, the dump handlers to not use this logic. Instead they have
to explicitly do the locking. There were apparent bugs in the
conversion of nl80211_dump_wiphy() in that we were not dropping the
RTNL mutex in all the return paths, and it seems we very much should
be doing so. So I fixed that whilst handling the overlapping changes.
To simplify the initial returns, I take the RTNL mutex after we try
to allocate 'tb'.
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-06-19 16:49:39 -07:00
Stanislaw Gruszka
8c8d2017ba
rt2800: fix RT5390 & RT3290 TX power settings regression
...
My change:
commit cee2c7315f
Author: Stanislaw Gruszka <sgruszka@redhat.com >
Date: Fri Oct 5 13:44:09 2012 +0200
rt2800: use BBP_R1 for setting tx power
unfortunately does not work well with RT5390 and RT3290 chips as they
require different temperature compensation TX power settings (TSSI
tuning). Since that commit make wireless connection very unstable on
those chips, restore previous behavior to fix regression. Once we
implement proper TSSI tuning on 5390/3290 we can restore back setting
TX power by BBP_R1 register for those chips.
Reported-and-tested-by: Mike Romberg <mike-romberg@comcast.net >
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-06-12 14:24:23 -04:00
Stanislaw Gruszka
32ef8f4992
rt2800: move 53xx specific bbp initialization
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:21 -04:00
Stanislaw Gruszka
6addb24eef
rt2800: move 3290 specific bbp initialization
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:21 -04:00
Stanislaw Gruszka
c2da5273ae
rt2800: move 3352 specific bbp initialization
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:21 -04:00
Stanislaw Gruszka
5df1ff3a22
rt2800: initialize BBP_R108 on proper subroutines
...
Create helper function and move initialization to subroutines.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:20 -04:00
Stanislaw Gruszka
b7feb9ba64
rt2800: initialize BBP_R104 on 3352 subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:20 -04:00
Stanislaw Gruszka
7291714099
rt2800: initialize BBP_R134 & BBP_R135 on 53xx subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:20 -04:00
Stanislaw Gruszka
f2b6777cb6
rt2800: initialize BBP_R128 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:19 -04:00
Stanislaw Gruszka
46b90d3216
rt2800: initialize BBP_R120 on 3352 subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:19 -04:00
Stanislaw Gruszka
f867085ede
rt2800: initialize BBP_R106 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:18 -04:00
Stanislaw Gruszka
49d611186a
rt2800: initialize BBP_R105 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:18 -04:00
Stanislaw Gruszka
1ad4408a1e
rt2800: initialize BBP_R104 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:18 -04:00
Stanislaw Gruszka
672d118898
rt2800: initialize BBP_R103 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:17 -04:00
Stanislaw Gruszka
90fed53561
rt2800: move initialization of BBP_95 & BBP_98 to 53xx subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:17 -04:00
Stanislaw Gruszka
b4e121d1d2
rt2800: initialize BBP_R92 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:16 -04:00
Stanislaw Gruszka
7af987420e
rt2800: initialize BBP_R91 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:16 -04:00
Stanislaw Gruszka
9400fa8745
rt2800: initialize BBP_R88 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:16 -04:00
Stanislaw Gruszka
aef9f38b8d
rt2800: initialize BBP_R86 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:15 -04:00
Stanislaw Gruszka
3c20a1229d
rt2800: initialize BBP_R84 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:15 -04:00
Stanislaw Gruszka
885f241436
rt2800: initialize BBP_R83 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:14 -04:00
Stanislaw Gruszka
fa1e34243f
rt2800: initialize BBP_R82 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:14 -04:00
Stanislaw Gruszka
43f535e2f9
rt2800: initialize BBP_R74 - BBP_R80 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:14 -04:00
Stanislaw Gruszka
8d97be3864
rt2800: initialize BBP_R70 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:13 -04:00
Stanislaw Gruszka
72ffe1426b
rt2800: initialize BBP_R69 - BBP_R77 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:13 -04:00
Stanislaw Gruszka
59dcabb5c1
rt2800: initialize BBP_R68 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:13 -04:00
Stanislaw Gruszka
e379de1297
rt2800: initialize BBP_R65 & BBP_R66 on all subroutines (except 5592)
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:12 -04:00
Stanislaw Gruszka
3420f79753
rt2800: initialize BBP_R47 on 3352 subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:12 -04:00
Stanislaw Gruszka
b2f8e0bd26
rt2800: initialize BBP_R31 on proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:11 -04:00
Stanislaw Gruszka
c322357352
rt2800: move rt2800_bbp4_mac_if_ctrl to proper subroutines
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:11 -04:00
Stanislaw Gruszka
29f3a58b90
rt2800: move 3352 bbp specific code
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:11 -04:00
Stanislaw Gruszka
dae62957ff
rt2800: add rt2800_init_bbp_305x_soc subroutine
...
New routine for SOC specific BBP initialization, empty for now.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:10 -04:00
Stanislaw Gruszka
39ab3e8b45
rt2800: prepare for rt2800_init_bbp spit
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:10 -04:00
Stanislaw Gruszka
a1ef50398d
rt2800: make rt2800_init_bbp return void
...
This function can not fail, we always return 0.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-24 13:18:09 -04:00
Gabor Juhos
0879f87508
rt2x00: rt2800lib: use rt2x00dev->bcn->winfo_size
...
The beacon data queue is initialized already when
the rt2800_clear_beacon_register() function is called.
Fetch the size of the TXWI descriptor from that
instead of using the winfo_size field of the data
queue descriptor.
The two values are the same, and the use of the
rt2x00dev->bcn->winfo_size value allows us to
get rid of a superfluous pointer dereference.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-05-22 15:05:31 -04:00
Joe Perches
ec9c498991
rt2x00: Use more current logging styles, shrink object size
...
Reduce object space ~2% using more current logging styles.
Neaten and simplify logging macros.
Use wiphy_<level> where appropriate.
Coalesce formats.
Convert ERROR/WARNING/INFO macros to rt2x00_<level>
Convert EEPROM to rt2x00_eeprom_dbg
Convert PROBE_ERROR to rt2x00_probe_err
Convert DEBUG to rt2x00_dbg
Convert EEPROM to rt2x00_eeprom_dbg
$ size drivers/net/wireless/rt2x00/built-in.o*
text data bss dec hex filename
245639 71696 69584 386919 5e767 drivers/net/wireless/rt2x00/built-in.o.new
240609 70096 68944 379649 5cb01 drivers/net/wireless/rt2x00/built-in.o.new.nodyndbg
240609 70096 68944 379649 5cb01 drivers/net/wireless/rt2x00/built-in.o.new.no_rt2x00_debug
249198 70096 70352 389646 5f20e drivers/net/wireless/rt2x00/built-in.o.old
249198 70096 70352 389646 5f20e drivers/net/wireless/rt2x00/built-in.o.old.nodyndbg
244222 70096 69712 384030 5dc1e drivers/net/wireless/rt2x00/built-in.o.old.no_rt2x00_debug
Signed-off-by: Joe Perches <joe@perches.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:26 -04:00
Gabor Juhos
624708b85e
rt2x00: rt2800lib: rename rt2800_init_bbb_early to rt2800_init_bbp_early
...
The function is used for BBP register initialization,
fix the typo in the function name to reflect that.
The patch contains no functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:26 -04:00
Stanislaw Gruszka
557985ae34
rt2800: nulify all last words of TXWI
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:20 -04:00
Stanislaw Gruszka
f0bda57104
rt2x00: provide separate information about TXWI & RXWI sizes
...
On new 2800 hardware sizes of TXWI & RXIW can be different than TXD
& RXD sizes, so we need to difference between them. Let's define
winfo_size as size of in buffer descriptor (TXWI & RXWI), and desc_size
of as size of additional descriptor - in separate DMA coherent buffer
for PCI hardware (TXD & RXD) and yet another in buffer descriptor for
USB hardware (TXINFO & RXINFO).
Change is rt2x00 wild, but should affect only 2800 driver.
Patch also fix beaconing for 5592usb AP mode.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:20 -04:00
Stanislaw Gruszka
074f25295b
rt2800: cleanup rt2800_init_rfcsr
...
This procedure is simple switch now and return no error any longer.
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:19 -04:00
Stanislaw Gruszka
da8064c2cf
rt2800: add rt2800_normal_mode_setup_3xxx subroutine
...
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:19 -04:00
Stanislaw Gruszka
d9517f2f08
rt2800: add rt2800_led_open_drain_enable subroutine
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:18 -04:00
Stanislaw Gruszka
5de5a1f4d2
rt2800: move RF_R27 setup to individual rfcsr init subroutines
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:18 -04:00
Stanislaw Gruszka
c5b3c3500f
rt2800: add rt2800_rx_filter_calibration procedure
...
Add procedure for both bands filter calibration and use it on individual
chipset init rfcsr subroutines.
Remove "Set back to initial state" code for 3290 since vendor driver
DPO_RT3290_LinuxSTA_V2600_20120508 does not include it.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:18 -04:00
Stanislaw Gruszka
87d91db9d0
rt2800: move RFCSR6_R2 & LDO_CFG0 setup to 3572 specific rfcsr init
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:17 -04:00
Stanislaw Gruszka
2971e66f20
rt2800: move GPIO_SWITCH setup to 3390 specific rfcsr init
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:17 -04:00
Stanislaw Gruszka
c9a221b24a
rt2800: move 30xx common rf init code
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:16 -04:00
Stanislaw Gruszka
f9cdcbb133
rt2800: move RFCSR29_RSSI_GAIN to 3290 specific rfcsr init
...
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:16 -04:00
Stanislaw Gruszka
ce94ede923
rt2800: move rf init calibration code
...
Add separate function for rf init calibration code and use it
on all init rf subroutines.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:16 -04:00
Stanislaw Gruszka
f7df8fe527
rt2800: merge 5xxx normal mode setup
...
Merge code which program the same registes at the end of rfcsr
initialization for 5592, 5392 and 5390 chips.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-04-22 15:20:15 -04:00