In association with heise online

02 July 2009, 12:44

Kernel Log - Coming in 2.6.31 - Part 1: New Wi-Fi drivers and other network-related changes

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Kernel Log Penguin

Thorsten Leemhuis

Linux 2.6.31 will be IEEE 802.15.4 capable and will include a new Wi-Fi driver for Intel chips. Developers have also added support for recent Ralink Wi-Fi components and revamped the Rfkill framework. The Wi-fi stack and drivers are now better able to use newer power saving technologies.

With the release of the first pre-release version of Linux 2.6.31, the kernel hackers last week brought the merge window to a close, heralding an end to the adoption of major changes in the main development line of the next kernel version. Kernel hackers generally restrict themselves to introducing minor changes only into the main development tree during the second phase of the development cycle, so as to fix as many existing bugs as possible and avoid introducing new ones.

Kernel Log can now, therefore, launch its "Coming in 2.6.31" series and is dedicating the first article to major changes relating to Linux' network support. Further articles in the Kernel Log series will be published on The H over the next few weeks, building up to a detailed description of all the major changes planned for 2.6.31 for the various functional areas within the Linux kernel, up until Linus Torvalds releases Linux kernel 2.6.31 in late August or early September. For other articles on 2.6.31 and links to the rest of the "Coming in 2.6.31" series, see The H's Kernel Log - 2.6.31 Tracking page.

Wirelessly happy

This time around, there are again many Wi-Fi related changes. The iwmc3200wifi Wi-Fi driver for Intel's Wireless Multicomm 802.11 is one new addition to the kernel. The driver is not yet fully mature, however, as it does not yet support operation as an access point or data transfer using 802.11n. No information on the 802.11agn chip, a 'full MAC' chip expected in a few weeks to months, is currently available from the Intel website. Chips of this type appear, to the operating system, like normal network chips, but are able to deal with many tasks themselves using their built-in firmware – the 'soft MAC' chips commonly found in today's netbooks and laptops leave more of the work to the drivers and Wi-Fi stack.

The kernel developers have added support for data transfer using 802.11n to the basic infrastructure of the rt2x00 family of drivers for driving various Ralink Wi-Fi chips. Changes adding support for Ralink's RT2770, RT2870 and RT3070 USB Wi-Fi chips have also moved into the kernel. This code is, however, far from mature, with the commit comments listing a number of major problems, for which reason users may be better served by the staging drivers for these chips and the vendor's own drivers.

Re-revamped, IEEE 802.15.4

Hot on the heels of the first complete revamp in 2.6.27 comes a new 'rewrite' of the Rfkill framework, which deals with the slide switch or keyboard shortcut for switching Wi-Fi or Bluetooth off and on usually found on laptops. This is aimed at improving the interaction between hardware, kernel and userspace programs such as NetworkManager, and fixing numerous problems in this area.

As the rewrite was largely driven by one of the main Wi-Fi driver developers and further major improvements to the code were made during peer review, it is to be hoped that this may be the last major revision to the Rfkill framework for the time being. Nevertheless, a few teething troubles with the new code are to be expected.

Developed primarily by developers working for Siemens, support for the IEEE 802.15.4 data transfer protocol for Personal Area Networks (WPAN) has also now found its way into the main Linux development tree (e.g. 1, 2, 3, 4, documentation).

Pending

There have been numerous changes to the Wi-Fi drivers in the staging area, where drivers which do not yet meet the requisite quality standards are collected for further development. The rtl8192su driver for similarly named Realtek Wi-Fi chips is one new addition, and is joined by the vt6655 driver for the eponymous VIA chip range (e.g. 1, 2).

Developers have also merged parts of the three staging drivers for Ralink's RT2770, RT2870 and RT3070 Wi-Fi chipsets, substantially reducing the amount of code in the staging area. In the long term, however, this work is probably irrelevant, as the standard rt2x00 Ralink driver should eventually also deal with these chips, with the result that the staging drivers may simply be abandoned. Kernel developers have now taken the first steps along this route with their changes to the rt2x00 driver.

Network hardware and packet filtering

One new arrival is the cnic driver for Broadcom's NetXtremeII series Gigabit Ethernet cards. Thanks to a number of changes to the bnx2 driver for Broadcom chips, Broadcom hardware now takes care of much of the iSCSI work itself, thereby reducing CPU load ("iSCSI offload").

Another new arrival is the int51x1 driver for Intellon's USB-connected 14 Mbit/s INT51x1 and INT5200 chips, used by devices for transferring data via the power grid (power line communication/PLC), such as develo's dLAN.

Thanks to passive OS fingerprinting, the Netfilter code can now partially detect the operating system deployed on the system from which network packets originate and can then subject packets to operating system-specific rule sets. The OSF project website includes example usages and links to a fingerprint collection. There is also a short LWN.net article with background information on the technology.

In Brief

The changes described above are just some of the more significant of those recently undertaken by kernel hackers in the networking field. Among the other changes are:

LAN:

  • A new arrival is a network driver for Texas Instruments' DaVinci Ethernet Media Access Controller.
  • The e1000e driver can now talk to Intel's 82577 and 82578 Gigabit LAN chips.
  • There have been a number of changes to the e100 driver aimed at improving support for older Intel network chips, which had been worse with the e100 driver than with the recently removed eepro100 driver.

Wi-Fi:

  • The kernel now includes the wl12xx driver for Texas Instruments' wl1251 and wl1271 Wi-Fi chips, used primarily in embedded systems.
  • Various changes improve support for power saving features offered by newer Wi-Fi chips, in drivers such as iwlwifi and in the MAC80211 Wi-Fi stack (e.g. 1, 2, 3, 4).

Miscellaneous:

  • Support for an XHFC embedded solution from Speech Design has been added to the mISDN subsystem.

Minor gems

Many less major, but in no way insignificant, changes can be found in the list below. The numerous links in the list below and text above lead directly to the relevant changes in the main Linux development tree web interface. The commit comments and the patches themselves provide extensive further information on changes. A brief overview of the major network-related changes and patches can also be found in the git pull requests from the network subsystem maintainer (1, 2, 3, 4, 5).

LAN:

Wi-Fi:

Wi-Fi, Rfkill:

ISDN:

Miscellaneous:

For other articles on 2.6.31 and links to the rest of the "Coming in 2.6.31" series, see The H's Kernel Log - 2.6.31 Tracking page.

(djwm)

Print Version | Send by email | Permalink: http://h-online.com/-742309
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit