- 29 Jan, 2009 1 commit
-
-
Larry Finger authored
After reports of poor performance, a review of the latest vendor driver (rtl8187_linux_26.1025.0328.2007) for RTL8187L devices was undertaken. A difference was found in the code used to index the OFDM power tables. When the Linux driver was changed, my unit works at a much greater range than before. I think this fixes Bugzilla #12380 and has been tested by at least two other users. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Martín Ernesto Barreyro <barreyromartin@gmail.com> Cc: Stable <stable@kernel.org> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 25 Nov, 2008 1 commit
-
-
Herton Ronaldo Krzesinski authored
Add conf_tx callback and use it to configure tx queues of 8187L/8187B. Tested-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 21 Nov, 2008 1 commit
-
-
Larry Finger authored
This change improves the maintainability of these drivers. No functionality is changed. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 10 Nov, 2008 6 commits
-
-
Larry Finger authored
The latest vendor driver (rtl8187B_linux_26.1036.0708.2008) has a different CCK power setting code as compared with the Linux driver. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Piter Punk <piterpk@terra.com.br> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Larry Finger authored
Each of the primary write routines, rtl8187_write_phy(), rtl8225_write_bitbang(), and rtl8225_write_8051() all conclude with an msleep() command. Testing shows that these are not needed. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Larry Finger authored
Routine rtl8225_write() calls either rtl8225_write_bitbang() or rtl8225_write_8051(), both of which end with an msleep() command. As a result, a rtl8225_write() immediately followed by an msleep() is not needed. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Larry Finger authored
Routine rtl8225_write_phy_cck() calls rtl8225_write_phy(), which concludes with a sleep of 1 msec; therefore a call to rtl8225_write_phy_cck() immediately followed by an msleep(1) is not needed. Signed-off-by:
Larry Finger <Larry.Finger@larry.finger> Tested-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Larry Finger authored
Routine rtl8225_write_phy_ofdm() calls rtl8225_write_phy(), which concludes with a sleep of 1 msec; therefore a call to rtl8225_write_phy_ofdm() immediately followed by an msleep(1) is not needed. Signed-off-by:
Larry Finger <Larry.Finger@larry.finger> Tested-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Larry Finger authored
The rtl8187 driver contains 3 sleep statements that are longer than a second. Testing has shown no bad effects when they are removed. Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Tested-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 31 Oct, 2008 1 commit
-
-
Herton Ronaldo Krzesinski authored
This change adds short slot handling for 8187B variant of rtl8187 chips. Some things to note about changes done: * Values used are chosen to met 802.11-2007 spec. This raised a question about SIFS value used with 8187L: 0x22 (34) doesn't match any spec value. For now just don't change 8187L, but is something to be looked at. * On 8187B, the location of EIFS register is at the same place as BRSR+1 of struct rtl818x_csr. Unfortunately there is no clean way to accomodate 8187B differences currently, just use address of BRSR+1 and comment about it. The same thing happens for Ack timeout register, that is on CARRIER_SENSE_COUNTER location of 8187L. The eifs and ack timeout values are in units of 4us. All these registers information was gathered from references being the vendor gpl driver and 8180 datasheet, unfortunately there is no information about this on 8187B datasheet. Also the ack timeout value was inspired by the same calculation as done on rt2x00. Signed-off-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 14 Jul, 2008 1 commit
-
-
Herton Ronaldo Krzesinski authored
For RTL8187B it seems we need special values too for ANAPARAM*_OFF values (and not use RTL8187 ones). The ANAPARAM*_OFF values used are the stock ones read from the hardware after a cold boot. Signed-off-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 08 Jul, 2008 1 commit
-
-
Hin-Tak Leung authored
Signed-off-by:
Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by:
Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by:
Hin-Tak Leung <htl10@users.sourceforge.net> Signed-off-by:
Pavel Roskin <proski@gnu.org> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 29 Feb, 2008 1 commit
-
-
Johannes Berg authored
This patch creates new cfg80211 wiphy API for channel and bitrate registration and converts mac80211 and drivers to the new API. The old mac80211 API is completely ripped out. All drivers (except ath5k) are updated to the new API, in many cases I expect that optimisations can be done. Along with the regulatory code I've also ripped out the IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED flag, I believe it to be unnecessary if the hardware simply gives us whatever channels it wants to support and we then enable/disable them as required, which is pretty much required for travelling. Additionally, the patch adds proper "basic" rate handling for STA mode interface, AP mode interface will have to have new API added to allow userspace to set the basic rate set, currently it'll be empty... However, the basic rate handling will need to be moved to the BSS conf stuff. I do expect there to be bugs in this, especially wrt. transmit power handling where I'm basically clueless about how it should work. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 28 Jan, 2008 3 commits
-
-
Michael Wu authored
This patch adds a mac80211 based wireless driver for the rtl8180 and rtl8185 PCI wireless cards. Also included are some rtl8187 changes required due to the relationship between that driver and this one. Michael Wu is primarily responsible for the initial driver and rtl8185 support. Andreas Merello provided the additional rtl8180 support. Thanks to Jukka Ruohonen for the donating a rtl8185 card! It was very helpful for the rtl8225z2 code. The Signed-off-by information below is collected from the individual patches submitted to wireless-2.6 before merging this driver upstream. Signed-off-by:
Andrea Merello <andreamrl@tiscali.it> Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
Pavel Roskin <proski@gnu.org> Signed-off-by:
Michael Wu <flamingice@sourmilk.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
John W. Linville authored
This reverts commit e4128a54d790658ab265c915e5da9153ff74af97. On Sunday 02 December 2007 17:17:51 Michael Wu wrote: > CCK and OFDM power levels are stored in adjacent bytes, not nibbles. > This turns out to be true only for rtl8180. On rtl8187, power levels are indeed stored in nibbles, so this patch is wrong. Please revert this patch. Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Andrea Merello authored
CCK and OFDM power levels are stored in adjacent bytes, not nibbles. Signed-off-by:
Michael Wu <flamingice@sourmilk.net> Signed-off-by:
Andrea Merello <andreamrl@tiscali.it> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 10 Jul, 2007 1 commit
-
-
Michael Wu authored
I failed to notice that a u16 was being passed to the hardware. This fixes it. Thanks to Kasper F. Brandt for finding this! Signed-off-by:
Michael Wu <flamingice@sourmilk.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 09 Jul, 2007 2 commits
-
-
John W. Linville authored
Add top-of-file comment blocks to rtl818x headers and attribute origin of magic values to original r8187 driver. Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Michael Wu authored
This patch adds a mac80211 based wireless driver for the rtl8187 USB wireless card. Signed-off-by:
Michael Wu <flamingice@sourmilk.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-