Skip to contentSkip to conversation

Problems with RTL8187 USB device

PATCH In review Larry Finger 6 participants 17 messages Feb 26, 2008 – Apr 7, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

After the BCM4311 that is built-in on my laptop failed, I bought a USB wi-fi device to use until I get my laptop fixed. Based on suggestions from the wireless mailing list, I bought one with an RTL8187 chip. Naturally, I am having problems getting it working.

First of all, the device works with Windows - thus it is OK.

The device is manufactured by "Level 1". The FCC ID is NDD9573160714 and it has the identifying code of WNC-0301USB07091001070-V5.

The output of 'lsusb -v' for this device when run as root is

Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8187
  bcdDevice            2.00
  iManufacturer           1 Manufacturer_Realtek
  iProduct                2 RTL8187B_WLAN_Adapter
  iSerial                 3 00e04c000001
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 81
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Wireless Network Card
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 9
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 RTL8187B_WLAN_Adapter
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0a EP 10 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0b EP 11 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0c EP 12 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0

bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)

Using kernel 2.6.25-rc3 from Linus's tree, the following appear in dmesg output:

usb 1-6: new high speed USB device using ehci_hcd and address 2 usb 1-6: configuration #1 chosen from 1 choice
phy0: Selected rate control algorithm 'pid'
phy0: hwaddr 00:11:6b:3e:c2:79, rtl8187 V0 + rtl8225
usbcore: registered new interface driver rtl8187
udev: renamed network interface wlan0 to eth2
phy0: RF Calibration Failed! 0 in rtl8225_rf_init

The wireless device appears in the iwconfig and ifconfig lists, but no scan data are received.

When I try to use the device with a kernel from the 'everything' branch of Linville's tree, the machine crashes with a blinking caps lock key indicating a kernel panic. I have not succeeded in capturing a netconsole dump for this situation.

What additional information besides the netconsole dump would be useful in sorting out these problems?

Thanks,

Larry

#1 lore raw
Quoted 4 lines · Larry Finger

After the BCM4311 that is built-in on my laptop failed, I bought a USB wi-fi device to use until I get my laptop fixed. Based on suggestions from the wireless mailing list, I bought one with an RTL8187 chip. Naturally, I am having problems getting it working.

Quoted 8 lines

First of all, the device works with Windows - thus it is OK.

The device is manufactured by "Level 1". The FCC ID is NDD9573160714 and it has the identifying code of WNC-0301USB07091001070-V5.

The output of 'lsusb -v' for this device when run as root is

Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp.

This looks like it should be supported by the rtl8187 driver.

<snip>

Quoted 1 line

iProduct 2 RTL8187B_WLAN_Adapter

<snip>

Quoted 1 line
        bEndpointAddress     0x83  EP 3 IN

<snip>

But these bits look like it is actually an rtl8187b, which is not supported by the driver. I didn't know that there where some 'b' devices using the same USB ID as the non-b devices -- crappy vendor's strike again. I'm not sure what to do about that one.

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

John

Signature · 2 lines
John W. Linville
[email protected]
#2 lore raw
Quoted 37 lines · John W. Linville
Quoted 4 lines · Larry Finger

After the BCM4311 that is built-in on my laptop failed, I bought a USB wi-fi device to use until I get my laptop fixed. Based on suggestions from the wireless mailing list, I bought one with an RTL8187 chip. Naturally, I am having problems getting it working.

Quoted 9 lines

First of all, the device works with Windows - thus it is OK.

The device is manufactured by "Level 1". The FCC ID is NDD9573160714 and it has the identifying code of WNC-0301USB07091001070-V5.

The output of 'lsusb -v' for this device when run as root is

Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp.

This looks like it should be supported by the rtl8187 driver.

<snip>

Quoted 2 lines

iProduct 2 RTL8187B_WLAN_Adapter

<snip>

Quoted 2 lines
        bEndpointAddress     0x83  EP 3 IN

<snip>

But these bits look like it is actually an rtl8187b, which is not supported by the driver. I didn't know that there where some 'b' devices using the same USB ID as the non-b devices -- crappy vendor's strike again. I'm not sure what to do about that one.

Quoted 8 lines

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

Thanks for the info.

If I can give you any help with the patch, please let me know. In about another week, I will be forced to use Windows to access the Internet (Yuck!!).

Larry

#3 lore raw
Quoted 4 lines · Larry Finger

If I can give you any help with the patch, please let me know. In about another week, I will be forced to use Windows to access the Internet (Yuck!!).

Since the previous message, I have made some progress. I downloaded the Realtek driver for the RTL8187b and modified it to build under 2.6.25-rcX. It will report nearby AP's and associate even though the signal is weak. It fails authentication as it enters some false WEP key no matter what encryption is used.

I figured out how to make using Windows palatable. I installed VirtualBox under Windows and created an openSUSE 10.3 virtual machine. I can use Windows to connect to the wi-fi network, and then the virtual machine bridges through to the Internet. It is a lot ad-hoc, but it works. This kludge will work until I can get my laptop repaired.

Larry

#4 lore raw
In reply to John W. Linville
Quoted 6 lines · John W. Linville

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

What's the current status of this patch? Thanx

#5 lore raw
Quoted 10 lines · Daniel Gimpelevich
Quoted 6 lines · John W. Linville

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

What's the current status of this patch? Thanx

Well?

#6 lore raw
Quoted 8 lines · Daniel Gimpelevich
Quoted 6 lines · Daniel Gimpelevich
Quoted 4 lines · John W. Linville

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

What's the current status of this patch? Thanx

Well?

Same as before -- sorry.

Signature · 2 lines
John W. Linville
[email protected]
#7 lore raw
Quoted 9 lines · John W. Linville
Quoted 8 lines · Daniel Gimpelevich
Quoted 6 lines · Daniel Gimpelevich
Quoted 4 lines · John W. Linville

As for rtl8187b support in general, I've been looking at porting support for those devices form the vendor-provided driver. But the patch is incomplete ATM -- hopefully soon, depending on events. :-(

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I'm sorry you are caught in the middle. I'll try to get that b support patch done soon -- hopefully we can get something working for you then.

What's the current status of this patch? Thanx

Well?

Same as before -- sorry.

Any hope of posting the incomplete patch you have so far, for a possible group effort?

#8 lore raw

PATCH 1/1 rtl8187b work in progress...

No idea if it even compiles...

---
 drivers/net/wireless/rtl8187.h     |   20 ++++-
 drivers/net/wireless/rtl8187_dev.c |  161 +++++++++++++++++++++++-------------
 2 files changed, 123 insertions(+), 58 deletions(-)
drivers/net/wireless/rtl8187.h +18 -2
index 076d88b..4c297d1 100644
@@ -50,15 +50,29 @@ struct rtl8187_tx_info {
 	struct ieee80211_hw *dev;
 };
 
-struct rtl8187_tx_hdr {
-	__le32 flags;
+/* Tx flags are common between rtl8187 and rtl8187b */
 #define RTL8187_TX_FLAG_NO_ENCRYPT	(1 << 15)
 #define RTL8187_TX_FLAG_MORE_FRAG	(1 << 17)
 #define RTL8187_TX_FLAG_CTS		(1 << 18)
 #define RTL8187_TX_FLAG_RTS		(1 << 23)
+
+struct rtl8187_tx_hdr {
+	__le32 flags;
+	__le16 rts_duration;
+	__le16 len;
+	__le32 retry;
+} __attribute__((packed));
+
+struct rtl8187b_tx_hdr {
+	__le32 flags;
 	__le16 rts_duration;
 	__le16 len;
+	__le32 unused_1;
+	__le16 tx_duration;
+	__le16 unused_2;
+	__le32 unused_3;
 	__le32 retry;
+	__le32 unused_4[2];
 } __attribute__((packed));
 
 struct rtl8187_priv {
@@ -76,6 +90,8 @@ struct rtl8187_priv {
 	u32 rx_conf;
 	u16 txpwr_base;
 	u8 asic_rev;
+	u8 is_rtl8187b;
+	/* reorder this? */
 	struct sk_buff_head rx_queue;
 };
 
drivers/net/wireless/rtl8187_dev.c +105 -56

239 lines not on this page · raw message

Signature · 1 line
1.5.3.3
#16 lore raw
In reply to Daniel Gimpelevich
Quoted 2 lines · Daniel Gimpelevich

Any hope of posting the incomplete patch you have so far, for a possible group effort?

I have a RTL8187b device (0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter). I'm ready to test any patches on kernels with most debugging options enabled. And I know how to sparse :-)

There is a patched driver for Intel's ieee80211 here:
http://www.datanorth.net/~cuervo/rtl8187b/

All that's needed is to port the changes to mac80211. It shouldn't be hard.

Signature · 2 lines
Regards,
Pavel Roskin
#9 lore raw

Re: [PATCH] rtl8187b work in progress...

In reply to John W. Linville

Em Tuesday 01 April 2008 15:24:28 John W. Linville escreveu:

Quoted 3 lines

No idea if it even compiles...

Hi,

Thanks John for posting the patch, I was also playing with merging 8187b sources from realtek into kernel. The patch below I did before you posted your patch, that's why there are differences. Also I don't know some things yet, and I can have made errors. For example, didn't knew what to do for tx_duration until now, but I saw you used ieee80211_generic_frame_duration, but will not work yet as there is no priv->vif. Looking at your patch also I saw I missed to set dev->extra_tx_headroom properly, I fixed mine too (I was getting an oops today because of it, and now I saw your patch and it helped to see my error :) ). Here is what I did until now, it's against 2.6.24 plus "fix RTS/CTS-less transmit" backported (was testing this change), I'm posting here too, hope it helps you and others, I'll try to continue the work too and see if I can finally make it work (builds fine, but still doesn't work). Be aware that the patch has some ugliness/duplication as was work in progress too :) (and placed comments in some places to help me remember some things etc.)

rtl8187_rtl8225.h renamed from rtl8187_rtl8225.h.orig +5 -1
@@ -24,7 +24,11 @@ void rtl8225_write(struct ieee80211_hw *
 u16  rtl8225_read(struct ieee80211_hw *, u8 addr);
 
 void rtl8225_rf_init(struct ieee80211_hw *);
-void rtl8225z2_rf_init(struct ieee80211_hw *);
+void rtl8225z2_8187_rf_init(struct ieee80211_hw *);
+void rtl8225z2_8187b_rf_init(struct ieee80211_hw *);
+void rtl8225_rf_set_tx_power(struct ieee80211_hw *, int);
+void rtl8225z2_8187_rf_set_tx_power(struct ieee80211_hw *, int);
+void rtl8225z2_8187b_rf_set_tx_power(struct ieee80211_hw *, int);
 void rtl8225_rf_stop(struct ieee80211_hw *);
 void rtl8225_rf_set_channel(struct ieee80211_hw *, int);
 
rtl818x.h renamed from rtl818x.h.orig +89 -78

214 lines not on this page · raw message

rtl8187_dev.c renamed from rtl8187_dev.c.orig +399 -46

567 lines not on this page · raw message

rtl8187.h renamed from rtl8187.h.orig +69 -17

166 lines not on this page · raw message

rtl8187_rtl8225.c renamed from rtl8187_rtl8225.c.orig +278 -10

340 lines not on this page · raw message

--
[]'s
Herton

#10 lore raw

Re: [PATCH] rtl8187b work in progress...

Em Tuesday 01 April 2008 21:09:57 Herton Ronaldo Krzesinski escreveu:

Quoted 12 lines

Em Tuesday 01 April 2008 15:24:28 John W. Linville escreveu:

rtl8187_dev.c renamed from rtl8187_dev.c.orig +3 -1
@@ -432,10 +688,24 @@ static int rtl8187_start(struct ieee8021
 	u32 reg;
 	int ret;
 
-	ret = rtl8187_init_hw(dev);
+	ret = (priv->hw_type == RTL8187) ? rtl8187_init_hw(dev) :
+					   rtl8187b_init_hw(dev);
+	//ret = rtl8187_init_hw(dev);
 	if (ret)
 		return ret;
 

rtl8187_dev.c static int rtl8187_start(struct ieee8021 · line 706

Quoted 10 lines
rtl8187_dev.c renamed from rtl8187_dev.c.orig +10 -0
+	if (priv->hw_type == RTL8187B) {
+		rtl818x_iowrite32(priv, &priv->map->TX_CONF,
+				  RTL818X_TX_CONF_DURPROCMODE |
+				  RTL818X_TX_CONF_DISREQQSIZE |
+				  RTL818X_TX_CONF_MAXDMA_2048 |
+				  (7 << 8) | 7); //TODO: define, short-long retry limit
+		reg = rtl818x_ioread8(priv, &priv->map->MSR);
+		reg |= RTL818X_MSR_ENEDCA;
+		rtl818x_iowrite8(priv, &priv->map->MSR, reg);
+		return 0;
                ^^^

Now that I removed this return (obviously wrong heh) It seems to work ok :), the rtl8187b I have here at least now successfuly scans for aps/receive data, later I'll do more testing/improvements.

Signature · 2 lines
[]'s
Herton
#15 lore raw

Re: [PATCH] rtl8187b work in progress...

In reply to John W. Linville
Quoted 1 line · John W. Linville

No idea if it even compiles...

Sorry for delay. Thanks for the code! It needs some minor changes to compile:

drivers/net/wireless/rtl8187.h +7 -0
index 4c297d1..35c6486 100644
@@ -50,6 +50,13 @@ struct rtl8187_tx_info {
 	struct ieee80211_hw *dev;
 };
 
+enum {
+	DEVICE_RTL8187,
+	DEVICE_RTL8187B
+};
+
+#define RTL818X_MSR_ENEDCA		(1 << 4)
+
 /* Tx flags are common between rtl8187 and rtl8187b */
 #define RTL8187_TX_FLAG_NO_ENCRYPT	(1 << 15)
 #define RTL8187_TX_FLAG_MORE_FRAG	(1 << 17)
drivers/net/wireless/rtl8187_dev.c +1 -1
index ec7f80b..b1b2548 100644
@@ -224,7 +224,7 @@ static int rtl8187_tx(struct ieee80211_hw *dev, struct sk_buff *skb,
 	info->urb = urb;
 	info->dev = dev;
 	usb_fill_bulk_urb(urb, priv->udev, usb_sndbulkpipe(priv->udev, 2),
-			  priv->is_rtl8187b ? hdr_b : hdr,
+			  priv->is_rtl8187b ? (void *)hdr_b : (void *)hdr,
 			  skb->len, rtl8187_tx_cb, skb);
 	usb_submit_urb(urb, GFP_ATOMIC);
 

Plus there are spurious messages about uninitialized hdr and hdr_b in rtl8187_tx(). Perhaps a cleaner solution would be to use a union or separate functions to populate the header, but that's details. sparse doesn't report anything serious.

Anyway, the module loads fine:

rtl8187 1-1:1.0: usb_probe_interface
rtl8187 1-1:1.0: usb_probe_interface - got id
phy2: Selected rate control algorithm 'pid'
phy2: hwaddr 00:14:d1:45:a9:0b, rtl8187 V0 + rtl8225
usbcore: registered new interface driver rtl8187

But if I bring the interface up, it takes a lot of time, and I get this in the kernel log:

phy2: RF Calibration Failed! 0

Scanning causes immediate kernel panic in ieee80211_generic_frame_duration(), which is called from rtl8187_tx(). Sorry, no time to capture the backtrace now, but it's the code added by you.

Signature · 2 lines
Regards,
Pavel Roskin
#11 lore raw

Re: [PATCH] rtl8187b work in progress...

In reply to Herton Ronaldo Krzesinski
Quoted 5 lines · Herton Ronaldo Krzesinski

Review

Quoted 1 line
(quoted diff) +1 -0
+		return 0;
                ^^^

Now that I removed this return (obviously wrong heh) It seems to work ok :), the rtl8187b I have here at least now successfuly scans for aps/receive data, later I'll do more testing/improvements.

Patching the latest linux-wireless with it is not fun, too many rejects :-(

Considering that compat-wireless brings the goodness of the current driver to the users of all recent kernels, may I humbly suggest that linux-wireless is used for development?

Signature · 2 lines
Regards,
Pavel Roskin
#12 lore raw

Re: [PATCH] rtl8187b work in progress...

Em Friday 04 April 2008 00:33:23 Pavel Roskin escreveu:

Quoted 8 lines · Herton Ronaldo Krzesinski
Quoted 6 lines

Review

Quoted 1 line
(quoted diff) +1 -0
+		return 0;
                ^^^

Now that I removed this return (obviously wrong heh) It seems to work ok :), the rtl8187b I have here at least now successfuly scans for aps/receive data, later I'll do more testing/improvements.

Quoted 6 lines

Patching the latest linux-wireless with it is not fun, too many rejects :-(

Considering that compat-wireless brings the goodness of the current driver to the users of all recent kernels, may I humbly suggest that linux-wireless is used for development?

Yes, I will later do a patch against linux-wireless, I only posted it as a work in progress. But before I post an updated patch I want to fix it first to use changes made by John (like not duplicating the functions etc.) and there is another fundamental problem that I must first fix: it works and scans for aps, but for some reason I don't get authentication from access point (while normal 8187 gets data with IEEE80211_STYPE_AUTH in 8187b for some reason don't...).

--
[]'s
Herton

#13 lore raw

Re: [PATCH] rtl8187b work in progress...

Quoted 7 lines · Herton Ronaldo Krzesinski

Yes, I will later do a patch against linux-wireless, I only posted it as a work in progress. But before I post an updated patch I want to fix it first to use changes made by John (like not duplicating the functions etc.) and there is another fundamental problem that I must first fix: it works and scans for aps, but for some reason I don't get authentication from access point (while normal 8187 gets data with IEEE80211_STYPE_AUTH in 8187b for some reason don't...).

It may be useful to check if the AP is sending that packet. If it does, I would check the rate and the channel and compare them to the packets the driver can receive. I would also check the driver with another AP. If it's indeed on the receiving side of the driver, a crosscheck against the softmac driver could be helpful.

Good luck fixing it, but if it still doesn't work, I'd like to see your patch posted anyway.

Signature · 2 lines
Regards,
Pavel Roskin
#14 lore raw

Re: [PATCH] rtl8187b work in progress...

Em Friday 04 April 2008 12:17:56 Pavel Roskin escreveu:

Quoted 9 lines · Herton Ronaldo Krzesinski
Quoted 7 lines

Yes, I will later do a patch against linux-wireless, I only posted it as a work in progress. But before I post an updated patch I want to fix it first to use changes made by John (like not duplicating the functions etc.) and there is another fundamental problem that I must first fix: it works and scans for aps, but for some reason I don't get authentication from access point (while normal 8187 gets data with IEEE80211_STYPE_AUTH in 8187b for some reason don't...).

Quoted 8 lines

It may be useful to check if the AP is sending that packet. If it does, I would check the rate and the channel and compare them to the packets the driver can receive. I would also check the driver with another AP. If it's indeed on the receiving side of the driver, a crosscheck against the softmac driver could be helpful.

Good luck fixing it, but if it still doesn't work, I'd like to see your patch posted anyway.

I finally made it work \o/, I missed that for rtl8187b you must choose another endpoint for usb_sndbulkpipe in tx code. Soon I'll make a proper patch and cleanups (alongside with more checks, removing debugging I placed etc.), for now just the latest patch just to show latest updates, I still need to integrate with John's patch and cleanup and do it against linux-wireless git repository:

rtl8187_rtl8225.h renamed from rtl8187_rtl8225.h.orig +5 -1
@@ -24,7 +24,11 @@ void rtl8225_write(struct ieee80211_hw *
 u16  rtl8225_read(struct ieee80211_hw *, u8 addr);
 
 void rtl8225_rf_init(struct ieee80211_hw *);
-void rtl8225z2_rf_init(struct ieee80211_hw *);
+void rtl8225z2_8187_rf_init(struct ieee80211_hw *);
+void rtl8225z2_8187b_rf_init(struct ieee80211_hw *);
+void rtl8225_rf_set_tx_power(struct ieee80211_hw *, int);
+void rtl8225z2_8187_rf_set_tx_power(struct ieee80211_hw *, int);
+void rtl8225z2_8187b_rf_set_tx_power(struct ieee80211_hw *, int);
 void rtl8225_rf_stop(struct ieee80211_hw *);
 void rtl8225_rf_set_channel(struct ieee80211_hw *, int);
 
rtl818x.h renamed from rtl818x.h.orig +91 -78

216 lines not on this page · raw message

rtl8187_dev.c renamed from rtl8187_dev.c.orig +453 -54

697 lines not on this page · raw message

rtl8187.h renamed from rtl8187.h.orig +69 -17

166 lines not on this page · raw message

rtl8187_rtl8225.c renamed from rtl8187_rtl8225.c.orig +331 -10

393 lines not on this page · raw message

Signature · 2 lines
[]'s
Herton