Bug 215223 - iwconfig essid for a bcm43xx device resets rate
Summary: iwconfig essid for a bcm43xx device resets rate
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John W. Linville
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-12 16:21 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-29 19:32:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ifcfg-wlan0 (280 bytes, text/plain)
2006-11-12 16:21 UTC, Ville Skyttä
no flags Details

Description Ville Skyttä 2006-11-12 16:21:26 UTC
kernel-2.6.18-1.2798.fc6.x86_64
initscripts-8.45.5-1.x86_64
wireless-tools-28-1.fc6.x86_64

No idea if this is a bcm43xx, initscripts or iwconfig issue, but the 'iwconfig
$DEVICE essid "$ESSID"' line at end of
/etc/sysconfig/network-scripts/ifup-wireless always resets the rate of my
BCM4306 PCI card (wlan0, ESSID set to a specific value) to 11M, no matter what
RATE is set to in /etc/sysconfig/network-scripts/ifup-wlan0.

There are significant differences between 11M and 18M (approximately 1.9MB/s and
2.8MB/s downstream) on my system, and 48M produces even a bit better average
performance (2.9MB/s downstream), so I'd like the device to use one of the
better rates.

For now, I'm working around this by explicitly resetting the rate to the
configured value with this scriptlet in /sbin/ifup-local, and things work as
expected:

---

#!/bin/sh

if [ "$1" = "wlan0" ] ; then
    . /etc/sysconfig/network-scripts/"ifcfg-$1"
    if [ -n "$RATE" ] ; then
        iwconfig "$1" rate $RATE
    fi
fi

---

ifcfg-wlan0 attached.  NetworkManager is not in use.  WEP is.

Comment 1 Ville Skyttä 2006-11-12 16:21:26 UTC
Created attachment 140994 [details]
ifcfg-wlan0

Comment 2 John W. Linville 2006-11-29 19:32:33 UTC
This is the results of a hack introduced to compensate for our inability to 
handle backing-down to lower rates.  When the new wireless infrastructure is 
merged upstream, things will be better.  For now, we have to live with this 
hack.


Note You need to log in before you can comment on or make changes to this bug.