Deltaco Wireless PCI LAN Adapter is an affordable WLAN NIC (12,50 € in Finland). It is based on Realtek RTL8185L chip and is recognized by Ubuntu Lucid with the kernel module "rtl8180". However, the link quality is poor, around 15/100.
This driver specific problem can solved by using the kernel module "r8185b" provided by Realtek. In my case the link quality increased 500%... being now around 75/100.
- Download the driver package.
- Unpack .tar.gz: tar xzvf rtl8185*.tar.gz
- Change current directory to rtl8185: cd rtl8185*/rtl8185
- Use your favourite text editor to comment out or remove the line 2065 in a file r8180_core.c:
// rdtsc_rtl(prism_hdr[5], prism_hdr[4]);
for avoiding the compile time error "implicit declaration of function ‘rdtsc_rtl’". - Compile the module: make
- Install the module: sudo make install
- Add the module "rtl8180" to blacklist: echo "blacklist rtl8180" | sudo tee /etc/modprobe.d/blacklist-rtl8180.conf
- Reboot the machine.