Showing posts with label atheros. Show all posts
Showing posts with label atheros. Show all posts

Friday, February 3, 2012

Bluetooth That Will Make You Cry

Question: What happens when you put 40 Bluetooth devices in simultaneous operation within 800 sq. feet of each other?

Answer: This...

Spectrum Analysis Capture of 40 Simultaneous Bluetooth Devices

Now think about this on your own: Can you spot the Wi-Fi going on at the same time? No, you say that you can't? Why not? (Please provide your answers in the comments section for this post)

Here's an image of the "baseline" Wi-Fi activity prior to the Bluetooth activity in the same environment. I bet you can spot the Wi-Fi in this one. There's a typical enterprise deployment with APs on channels 1, 6, and 11, plus an iperf performance measurement currently going on across channel 6.



What's Going On Here?
This is a capture of 40 Honeywell Xenon 1902 cordless Bluetooth area-imaging barcode scanners operating at the same time. These units are used in retail environments at checkout registers to provide faster scan rates, ease of mobility, and overall a faster checkout process for customers. The "area-imaging" implies reading of 2D barcodes such as QR codes and such.

Honeywell Xenon 1920 Area-Imaging Cordless Barcode Scanners

Bluetooth is becoming the default communication method for cordless barcode scanners by almost every manufacturer. I did a bit of research on it, and only 2 out of 8 manufacturers of cordless barcode scanners support an alternative to Bluetooth (one used Wi-Fi and another used narrowband at 433 or 910 MHz). But every single one of them provide a Bluetooth option, and it is typically the more prominently displayed option on their websites. I also received information from a good friend, Joel Barrett, that indicates manufacturers are all moving to Bluetooth scanners and support for other options will be phased out. So, if I wanted to choose a different option I could probably get one now, but support would be short-lived and I'd end up having to switch to Bluetooth anyways. Might as well bite the bullet now and figure out how to deploy these in my environment to co-exist [relatively] peacefully with my Wi-Fi network.

Performance Impact
These units are rated as a Class 2 Bluetooth transmitter, meaning they should have a maximum power output of 2.5mW and an estimated range of 10 meters. Sounds nice and low, and one would expect minimal impact to Wi-Fi. But the reality can be far different!

It's important to understand the different impact that Bluetooth can have in an enterprise environment than in a consumer environment. The deployment scenarios can be dramatically different, and a high concentration of Bluetooth devices in a small area directly correlates to decreased performance. Sure, the typical duty cycle of a single Bluetooth device is small. But as Bluetooth device density increases so does Wi-Fi performance impact due to increased CCA busy detection by Wi-Fi devices and increased frame corruption when Bluetooth can't avoid APs on multiple channels. Even if Bluetooth version 1.2 and later capable devices are used that implement adaptive frequency hopping, they cannot avoid interfering with Wi-Fi access points spread out across the entire 2.4GHz frequency band.

In executing Wi-Fi performance testing with these Bluetooth devices our team ran multiple scenarios, changing Bluetooth power levels, pairing status, and scan rates. What we came away with also varied dramatically based on these settings. Our baseline was an 802.11g network with 20 Mbps throughput. The environment is an open-air retail setting at the front register checkout lanes.


Clearly, despite being rated as a Class 2 Bluetooth device, the RF signal was carrying quite far. Luckily, Honeywell has done a good job providing management tools to customize the radio performance of their barcode scanners. By adjusting the power level down we were able to minimize the impacted area as well as the impact to the Wi-Fi network.

What made our situation even more challenging was the desire to deploy VoWiFi around the same time as the cordless barcode scanners in the same environment. Our preference is to use voice handsets that support 5GHz frequency bands, but that may not be possible due to other business considerations on device capabilities and application support (we're still evaluating solutions). So, we ran 2.4GHz voice tests that showed an average 20% frame loss rate when the Bluetooth scanners operated at 10% (0.25mW) and an unacceptable user experience. When the power level was reduced to 1% (0.025mW) the frame loss was much lower and no perceptible voice quality issues could be observed by end-users.

Ultimately, we were able to find a compromise that allowed the use of these cordless barcode scanners while minimizing impact to the Wi-Fi network.

Deployment Considerations
Here are some considerations when deploying Bluetooth in an enterprise environment:
  • Device Selection
    Select Bluetooth devices that are configurable and easy to provision. The device should support modification of all of the settings listed below, and keep those configuration settings across reboots. If a device is factory-reset or the battery dies, it should be able easy to re-apply the custom configuration settings by staff in the field with minimal training and effort.

    Recommendation - Purchase "enterprise-class" Bluetooth devices that allow custom configuration.

  • Device Density
    In general, the more Bluetooth devices operating in a confined area, the more impact to the Wi-Fi network. Pretty simple. Each individual Bluetooth device has minimal impact due to very low duty cycle (airtime used), but as more and more devices are added it linearly increases interference and decreases Wi-Fi performance.

    Recommendation - Minimize Bluetooth device density as much as possible.

  • Power Level
    The Bluetooth transmission power level, especially in dense deployments, can have a dramatic effect on the impact to a Wi-Fi network. In our testing, reducing power levels from 100% (2.5mW) down to 1% (0.025mW) significantly reduced the impact to the Wi-Fi network, and the range provided was still adequate to meet our business needs.

    Recommendation - Reduce Bluetooth transmission power to the lowest setting that still allows reliable functionality for a given deployment scenario.

  • Bluetooth Pairing
    The pairing status of a Bluetooth device can determine how actively the device transmits. A paired device usually transmits much less frequently than an unpaired one. Unpaired devices may constantly search for a base station or partner, often times transmitting very frequently in what many manufacturers call "distress mode". Honeywell also provides a configurable scan timer that adjusts how long an unpaired device will search for its partner. We adjusted this setting down to 3 cycles instead of infinite. It will also scan whenever the trigger is pulled. This minimizes interference in the worst-case scenario that the device gets unpaired.

    Recommendation - Establish sound operational practices to ensure Bluetooth devices remain paired at all times. Additionally, adjust scanning timers down to a reasonable level from defaults.

  • Know Your Environment
    Bluetooth impact will also vary based on the environmental characteristics in which it is deployed. In my situation the impact was significant because an "open-air" environment. But that may not be the case in an office with many more walls and obstacles that prevent RF signal propagation. Also, know your Wi-Fi client device capabilities and applications. If you only use data applications like web surfing and file transfer, Bluetooth may not be a big risk. But if you use real-time applications like voice or streaming video, then it could cause usability issues.

    Recommendation - Understand how Bluetooth impact will vary based on the facility characteristics and applications deployed on the Wi-Fi network.

  • Migrate Wi-Fi to 5GHz
    If you can't mitigate the performance issues with Bluetooth or any other source of interference in the 2.4GHz spectrum, move your clients over to 5GHz. This one is easy to understand, but can be difficult to achieve in practice. Consider the influx of mobile devices that only operate using a single-radio 2.4GHz chipset. What applications will be used on those devices, and what is the implied or defined service level agreement between the network team and business teams?

    Recommendation - Use band steering techniques or different WLAN configurations on the Wi-Fi network to move 5GHz capable clients over to this band.

Andrew's Take
The delivery of business capabilities will always trump non-functional technology requirements (unless your business is technology). As IT professionals we must understand and accept this. Instead of saying "no" to solutions that go against best practices, work to understand the business request and develop a solution that delivers what the business needs. This requires compromise on your part, not every solution can be 100% the best technology. Often times, the best technical solution is NOT the best business solution.

Network administrators should be aware of initiatives to use Bluetooth client devices within their environments. They do not need to block use of these devices outright, but do need to perform proper performance analysis and modify Bluetooth configuration settings to minimize impact to the Wi-Fi network.

This type of scenario also highlights why I prefer to deploy wireless access points with integrated spectrum analysis in my environment. Day-to-day operation of this network requires "always-on" visibility into non-Wi-Fi sources of interference so that I can baseline, trend, and report on network performance. It's also why I prefer a dedicated SpecAn chipset in APs, and am skeptical of 1st-generation Atheros-based solutions that cannot perform concurrent spectrum analysis while serving Wi-Fi clients. They require a dedicated RF / Spectrum mode of operation and have to be taken out of service. I hear that's changing and Atheros solutions can now provide that "always-on" capability, but have yet to see one hands-on or test vendor claims.

Cheers,
Andrew

Thursday, June 2, 2011

Wi-Fi Article Round-Up: 2011/06/02

A recap of Wi-Fi related articles from around the interwebs. As always, for a complete list of articles check out my shared article feed from Google Reader.

My Stuff:
Industry Wi-Fi Articles:
Techie Wi-Fi Articles:
  • Sam Clements busted out some Linux kung-fu on Cisco networking equipment to resurrect an NM-AIR-WLC6 from death. He reminds us just how useful some basic Linux skills can be as a swiss-army knife for many occasions as an IT professional. And that "dd" is our friend :)
  • The guys at MetaGeek give practical advice on building a spectrum analysis report with their Chanalyzer Pro Report Builder. Remember, include only the appropriate amount of data and graphs to get your point across. Too much data can be self-destructive!
  • Aerohive released HiveOS 4.0, which includes enhanced support for Mobile Internet Devices (MIDs), spectrum analysis based on the Atheros chipsets, and Partner Admin which enables managed service provider cloud NMS control for customer deployments. See reviews by Chris Lyttle and Marcus Burton.
  • PC Pro (a UK based magazine) researched What's Killing Your Wi-Fi? This article is full of so many mistakes, mis-conceptions, and flat-out wrong advice, that I would caution anyone reading it to dismiss most of what it says. From getting the unlicensed frequency ranges wrong, describing co-channel interference of other Wi-Fi networks minimal compared to non-Wi-Fi interference, to coming dangerously close to advising users to leave their networks unsecured for performance gains, PC Pro shows very poor journalism. I also would like to know what "wireless industry experts" they "canvassed", because they don't site any sources (other than generically) and their facts are incomplete or wrong in many cases.
Other IT Related Articles:
  • Riverbed unleashes the fury on competitors paying for so-called "independent lab testing", which is arguably skewed to shed favorable light on the sponsoring vendor's products. I think we've all read these types of reports, and most of us are smart enough to see through them. However, it's unfortunate that some customers will never know better, and take these reports at face value. Matthew Norwood also recently called out the need to study vendor solutions and be careful who you trust prior to making decisions. Bravo Riverbed and Matthew!
  • My good friend, Nate Lee, covered ARP Spoofing / Man-in-the-Middle attacks, DHCP Snooping, and Dynamic ARP Inspection security controls on wired switches. This is a great intro to these network security features that all organizations should consider implementing on edge access switches. This must be his way of showing me how secure his network can be after I've heckled him for years about how my Wi-Fi network was much more secure than his wired network :)
  • Stephen Foskett gave the low-down on what Tech Field Day is all about, and I am super jealous about the Fenway Park visit during Tech Field Day 6 in Boston next week. I know it's virtualization focused, but I soooo want to be there!
  • FCC Commissioner Mignon Clyburn visited my hometown of Omaha, NE and spoke about broadband availability being so much more than just access to the Internet. The Internet is already a necessity for almost everyone to function in today's society. She spoke of the issues of physical broadband availability, adoption, and important access provided by local libraries, schools, employers, friends and families. Also of critical importance, especially in rural America, is access to distance learning programs for children and students (something which I am proud to have worked on at my time early in my career with a local NE school district).
Comic for the Week:
Take a break, with a Geek Meditation Session (courtesy of AllThingsD, via @travis_schlafke)


Cheers (and happy reading!),
Andrew

Friday, February 11, 2011

Article Round-Up: 02/11/2011

Here are a collection of Wi-Fi related articles that I have found useful, interesting, or enlightening. As always, for a complete list of articles check out my shared article feed from Google Reader.


My Stuff
General Wi-Fi Articles
Retail Wi-Fi / Mobility Articles
  • JCPenney is integrating iPads in-store for increased customer influence.
  • Nordstrom sees their business evolving from customer-focused to customer-driven by excelling at e-commerce, multi-channel, and improved customer experience in-store through Wi-Fi.
  • InformationWeek talked about how Location Based Services are driving customer store visits and influencing purchase decisions. LBS will evolve from GPS style navigation and check-ins to in-store product search and promotions over RFID and Wi-Fi. Be prepared.
  • While we're on LBS, check out NearBuy's Micro-Location Solution.
Comic for the Week!


Dilbert.com


Cheers (and happy reading)!
Andrew

Saturday, January 8, 2011

Articles Worth Reading: 01/08/2011

Here are a collection of articles from the past week that I have found useful, interesting, or enlightening. As always, for a complete list of articles check out my shared article feed from Google Reader.


This week was packed with Wi-Fi related news, thanks largely in part to CES. Here's some of the best.


2011 tech priorities: How to take your enterprise Wi-Fi network to the next level
"With 802.11n, enterprise Wi-Fi networks are shifting from convenient to critical. They’re becoming the preferred and primary network access for users – which means IT groups have to rethink how they deploy, secure, manage and run the wireless LAN."


Blueprint for multimedia-grade Wi-Fi arrives 
"A new cross-industry group has defined a basic blueprint for creating a multimedia-grade Wi-Fi network. The document, available now, is a first step toward what the group hopes could eventually result in an independent entity using it to test and certify a minimum level of 802.11n performance under a consistent set of conditions"


2011 tech priorities: Are you ready to shake things up?
"We've identified six key areas where IT can help reshape the business and equip employees to do their jobs more efficiently and effectively. Are you ready to act?"


Eye-Fi Direct Mode Beams Photos From Your Camera to Your Mobile Device—Without Needing a Wi-Fi Network
"Eye-Fi's magical wireless memory cards beam photos from your camera to your computer over Wi-Fi, but soon they'll be able to transfer images from your camera to your mobile device as well—except without requiring a regular Wi-Fi network."


make-way-for-generation-y: Personal Finance News from Yahoo! Finance

"Technology Is in Their DNA
The single most important difference between Gen Y and earlier generations: The Millennials' familiarity with technology. Gen Y cut its teeth on computers and digital media."



Cisco Blog » Blog Archive » 8 Ways to Improve Wireless Service
"Make sure your wireless LAN can support the growing number of mobile devices and the increase in complex data traffic"


Qualcomm Buys Atheros - Wi-Fi Networking News
"Qualcomm's purchase of Atheros makes perfect sense, as it gives the company an instant strong position in Wi-Fi, Bluetooth, and other related technologies"


Aruba Announces Wi-Fi Solution for In-Store Mobile Marketing | TradingMarkets.com
"Aruba Networks (NASDAQ: ARUN | PowerRating) today announced a new Wi-Fi Solution for in-store mobile marketing, developed in partnership with Digby and Nearbuy Systems, that enables retailers to provide highly-personalized and differentiated customer interactions."
*Disclosure - I have worked with both Aruba and NearBuy and seen parts of this solution. I must say, NearBuy's solution is fairly unique and innovative, using Wi-Fi location tracking in the infrastructure coupled with video camera data to refine accuracy.


Wi-Fi is Leading-Edge Technology in 2011 | News & Opinion | PCMag.com
"We want Wi-Fi and we want it in everything. A new report from the Wi-Fi Alliance and Wakefield Research shows the demand for Wi-Fi is exploding with no end in sight."


Consumer Wi-Fi on the Rise, Spilling Into the Workplace - www.wi-fiplanet.com
"Many of the use cases driving Wi-Fi Direct - wireless photo sharing, multi-user gaming, video streaming - are consumer-oriented. However, employers are likely to find many interesting business use cases."


WPA Cracked? Unlikely, Despite Headlines - Wi-Fi Networking News
"A German security researcher snagged some great headlines today, but I suspect the impact is modest"


Cheers (and happy reading),
Andrew