Wifi 802.11n Support in Linux Vladimir Botka, PhD‏ Software Developer‏ SUSE LINUX GmbH

Slides:



Advertisements
Similar presentations
What's new in OOo 2.3 Finn Blucher Project Support Engineer
Advertisements

December 29, 2013 Willem Bagchus Master CNE, CLP, MCP Senior SE, Senior Trainer GWAVA Reload.
Reduce Cost & Complexity Partner logo here Presenters Name (16pt) Presenters Title (14pt) Company/ (14pt) Manage and Deploy Applications using Virtualization.
Nsure ™ Audit Essentials Rick Meredith Software Engineer Novell, Inc. Jaime Brimhall Software Engineer Novell, Inc.
How to Successfully Cluster GroupWise Gregg A. Hinchman Consultant, Hinchman Consulting Ed Hanley Senior Consultant, Novell.
SAN Design Considerations Hylton Leigh Senior Consultant Novell Consulting, UK Stuart Thompson Senior Consultant Novell Consulting, UK.
How to Implement a Cluster of Clusters Atiq Adamjee Senior Architect Novell, Inc. Brad Rupp Software Engineer Novell, Inc.
Upgrading to Novell ® SecureLogin 3.5 Rod Tietjen,
DIR-835A1 Wireless N750 Dual-Band Router Wireless & Router Product Div. July 2011 D-Link WRPD.
August 20, 2006 Delivering Low Latency With IB SUSE ® Linux Enterprise Real Time Moiz Kohari Suse Labs Director Real-Time Systems.
Document Management with GroupWise ® Gregg Hinchman Consultant Hinchman Consulting Jerry Winkel Novell Escalation Engineer.
Nsure ™ Audit: Instrumenting Custom Applications Rick Meredith Jason Arrington Nsure Audit Engineering Novell, Inc.
Implementing Novell iChain ® at the City of Los Angeles Adam Loughran Senior Systems Engineer, Novell Robert Gillette IS Development Manager, City of Los.
Benefits of a SUSE ® Subscription Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Configuring Identity Manager 2 (formerly DirXML ® ) for JDBC (w/DirXML) Jason Elsberry Software Engineer
Implementing DirXML ® Stylesheets David Wagstaff
Novell Nsure TM Identity Manager 2 andGroupWise Provisioning Art Purcell, GroupWise ® Engineering, David Holbrook, DirXML Engineering,
Case Study: DirXML Implementation at Waste Management Rick Wagner Systems Engineer Novell, Inc.
Successful GroupWise Clustering, Part 1 Gregg A. Hinchman Ed Hanley Novell Inc.
April 30, 2007 openSUSE.org Build Service a short introduction Moiz Kohari VP Engineering.
The Art of Business Continuance Brad Rupp WG Storage Engineering Novell Gregg A. Hinchman Consultant Hinchman Consulting.
Novell ® BrainShare ® A Hands-on Approach to Implementing an Effective Retention Solution with Novell GroupWise and GWArchive Greg Smith, Director.
How to Successfully Cluster GroupWise ® Gregg A. Hinchman Consultant, Hinchman Consulting Ed Hanley Senior Consultant, Novell.
Kevin James Prototype Systems Devloper Novell Inc. Freddy Kaiser Technical Directory, Enterprise Solutions Novell Inc. BUS172 - Case Study: Extended Provisioning.
Retention for GroupWise Angela Williams - Channel Sales Manager Jeff Stratford - President Nexic, Inc.
Beginning Programming with the Novell GroupWise ® Object API Glade Monson Developer Services, Novell Inc.
January 8, 2009 Business Continuity Cluster Always Running Gregg A. Hinchman Consultant Hinchman Consulting
Strong Authentication to any Application Using SecureLogin and NMAS TM Scott Kiester and John Jolly Software Engineer Novell, Inc.
Securing GroupWise ® end-to-end with SSL Mike Bills ATT Engineer, Novell Inc.
Wireless Networks Standards and Protocols & x Standards and x refers to a family of specifications developed by the IEEE for.
Securing Legacy Applications with exteNd Composer and Novell iChain Kirk Noren Application Services Specialist Novell, Inc.
DIR-857 HD Media Router 3000 Sales Guide Wireless & Router Product Div. July 2011 D-Link WRPD.
Configuring Novell GroupWise ® on SuSE LINUX Randy Brown GroupWise Dedicated Support Engineer, Novell Inc. Matt Preston GroupWise Support.
May 1, 2007 Novell ® Infiniband and Virtualization VM -IB project Patrick Mullaney.
DIR-826L Wireless N600 Gigabit Cloud Router Sales Guide WRPD Jan 25 th, 2012 D-LINK HQ.
Introducing Novell ® Identity Manager 4 Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
가상화 기반의 Workload 관리솔루션 : FORGE PlateSpin Virtualization and Workload Management 나영관 한국노벨 /
SUSE ® Linux Enterprise High Availability Extension.
Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc.
WorkloadIQ ™ The intelligent way to build, secure, manage and measure workloads across physical, virtual and cloud environments Your Name Here Your Title.
IDC Says, "Don't Move To The Cloud" Richard Whitehead Director, Intelligent Workload Management August, 2010 Ben Goodman Principal.
The Linux I 2 C Subsystem Jean Delvare Suse L3 Support
Novell ® IT Consulting Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
SUSE ® Linux Enterprise Desktop in a One-To-One 21st Century Classroom Alex Inman Director of Technology Whitfield School
What's new in openSUSE 11.2? Andreas Jaeger Director openSUSE Novell.
Novell ® Technical Training Field / Sales Presentation Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Introduction to SUSE Studio Tim Serong Senior Clustering Engineer OPS Engineering, Novell Inc.
Patrick Hynes Solutions Director | Novell Endpoint Management | Overview of.... ZENworks 11.
OES11 / SLES11 Feature Competitive Novell Confidential.
Clarity and Compromise First steps of DM/MD unification Neil Brown Kernel Engineer
GStreamer in OpenOffice.org? Cédric Bosdonnat, Radek Doulík.
Forrester and Novell Novell ® Identity Manager 4 Webcast I Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Novell ® VBA Interoperability roundup Noel Power OpenOffice developer
Novell ® Demo Systems Portal Update Doc Hodges Novell Demo Systems
DHP-600AV / DHP-601AV Powerline AV2 Gigabit Adapter Powerline AV2 Starter Kit Sales Guide WRPD, Mar 2013 D-Link Confidential.
From Source Code to Packages and even whole distributions By Cool Person From openSUSE.
UI-Facelift of the YaST Partitioner Module Martin Schmidkunz Arvin Schnell Katařina Machálková Status: 16th June 2008.
Enterprise Linux Servers Solution Overview Kerry Kim Enterprise Linux Servers Solution Manager.
From Source Code to Packages for Various Distributions Andreas Jaeger Program Manager openSUSE
UI-Facelift of the YaST Partitioner Module Martin Schmidkunz Status: 13th February 2008.
SUSE Studio: Building distributions By Cool Person From openSUSE.
The Community role in openSUSE life-cycle Dinar Valeev Community member.
From Source Code to Packages for Various Distributions
Redesign of AppArmor Modules in YaST
<Insert Picture Here>
Presentation transcript:

Wifi n Support in Linux Vladimir Botka, PhD‏ Software Developer‏ SUSE LINUX GmbH

IEEE Std n ®  October 2009 IEEE approved and published the n  High throughput extension to the standard  Wireless adapters can achieve throughput up to 300 Mbps  Physical layer data rates of 600 Mbps

Overview Features Implementation Deployment Troubleshooting

Features

Overview of Features Physical layer diversity techniques Channel bonding Frame aggregation

Overview of Features user space applications nl80211 | cfg80211 | wext mac wifi driver physical layer

Features Physical Layer Diversity Techniques Radio is sending and receiving with multiple antennas Multiple-input and multiple-output (MIMO) Spatial multiplexing Maximum Ratio Combining (MRC) Improved Signal to Noise Ratio (SNR)

Features Physical Layer Diversity Techniques

Features Channel Bonding Single channel is 20MHz in width Two bonded channels are 40MHz wide Both in 2.4GHz and 5GHz spectrum Limited number of non-overlapping channels in the 2.4GHz band (1,6,11)

Features Channel Bonding Channels in 2.4 GHz band with 22MHz bandwidth b/g/n Only channels 1,6,11 without overlap ChannelFrequency (MHz)

Features Channel Bonding

Channels in 5 GHz band with 20/40MHz bandwidth a/n 40 channels in the frequency range 4915 – 5825 (Mhz) Many different restrictions Countries apply their own rules

Features Frame Aggregation Media Access Control (MAC) Transmit more data frames with “Block ACK” Burst Reduced overhead

Features Frame Aggregation

Features Summary 600Mbit/s physical transfer rate More antennas Max. 4 spatial streams using a 40MHz-wide channel Preferably in 5GHz band

Implementation

Overview of Implementation kernel.org linuxwireless.org New core mac80211 and cfg80211 components In-kernel nl80211 configuration interface nl80211 user-space applications

Implementation Hardware Physical layer (PHY) is implemented in the adapter Firmware delivered by the producer

Implementation kernel.org Source code development trees linux/kernel/git/pub/scm wireless-testing - On-going wireless integration tree iwlwifi - Intel Wireless WiFi Link driver net/wireless driver/net/wireless

Implementation wireless-testing linuxwireless.org mac80211subsystem for SoftMAC wireless devices cfg80211 new Linux wireless configuration API nl80211 new netlink interface public header

Implementation cfg80211 Driver for wifi adapter can use cfg80211 operation callbacks and fill in the wiphy struct to store the device capabilities Bridges userspace and drivers

Implementation nl80211 user-space applications Intended to replace Wireless-Extensions used by iw – manipulate configuration of wireless devices crda – central regulatory domain agent hostapd – AP implentation with authentication wpa_supplicant (with -Dnl80211)

Deployment

Overview of Deployment iw utility to manipulate and configure wireless devices crda central regulatory domain agent wireless regulatory database changes to the configuration of openSUSE

Deployment iw utility Can show and manipulate objects phy – physical layer of the device dev – network interface reg – regulatory database settings

Deployment iw utility can show/manipulate physical layer # iw phy Frequencies: * 2412 MHz [1] (15.0 dBm) * 2417 MHz [2] (15.0 dBm) * 2422 MHz [3] (15.0 dBm) * 2427 MHz [4] (15.0 dBm) * 2432 MHz [5] (15.0 dBm) * 2437 MHz [6] (15.0 dBm) * 2442 MHz [7] (15.0 dBm) * 2447 MHz [8] (15.0 dBm) * 2452 MHz [9] (15.0 dBm) * 2457 MHz [10] (15.0 dBm) * 2462 MHz [11] (15.0 dBm) * 2467 MHz [12] (15.0 dBm) (passive scanning, no IBSS) * 2472 MHz [13] (15.0 dBm) (passive scanning, no IBSS)

Deployment iw utility can manipulate devices # iw dev phy#0 Interface wlan0 ifindex 3 type managed

Deployment iw utility can manipulate regulatory settings # iw reg set DE # iw reg get country DE: ( ), (N/A, 20) ( ), (N/A, 20), NO-OUTDOOR, DFS ( ), (N/A, 26), NO-OUTDOOR, DFS

Deployment crda central regulatory domain agent intended to be used by udev scripts triggered by the wireless kernel subsystem regulatory domain is read by crda from the regulatory.bin file > cat /lib/udev/rules.d/85-regulatory.rules KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/sbin/crda"

Deployment wireless regulatory database wireless-regdb.rpm Provides regulatory.bin file wireless.kernel.org/download/wireless-regdb/ Integrity of regulatory file is ensured by signing

Deployment changes to the configuration of openSUSE /etc/sysconfig/network/config WIRELESS_WPA_DRIVER='wext' by default will be replaced with WIRELESS_WPA_DRIVER='nl80211' for wlan drivers that are nl80211 ready WIRELESS_REGULATORY_DOMAIN='' Yast2 network changes

Deployment summary of changes in the user-space g-standard n-standard iwconfig iw wpa_supplicant -D wext wpa_supplicant -D nl80211 crda wireless-regdb

Troubleshooting

Overview of Troubleshooting NetworkManager, wpa_supplicant, ifup/ifdown Interface setup to sniff the packets wireshark bugzilla.novell.com

Troubleshooting NetworkManager, wpa_supplicant, ifup/ifdown en.opensuse.org/SDB:Tracking_down_wireless_problems Try to reduce the complexity and localize the problem /var/log/NetworkManager /var/log/wpa_supplicant /var/log/messages

Troubleshooting Set debug options Wlan driver options > modinfo iwlagn | grep parm Set debug option > cat /etc/modprobe.d/50-iwlagn.conf options iwlagn debug=0xffffffff

Troubleshooting Interface setup to sniff the packets > iw dev wlan0 del > iw phy phy0 interface add mon0 type monitor > iw dev mon0 info > ifconfig mon0 up > tcpdump -i mon0 -w dump

Troubleshooting wireshark wireshark.rpm > wireshark dump

Troubleshooting bugzilla.novell.com openSUSE bug reports can be posted to bugzilla.novell.com

Have Fun !

Unpublished Work of Novell, Inc. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for Novell products remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.