Change of CWmin value in libertas USB8388

Dan Williams dcbw at redhat.com
Tue Oct 14 11:11:48 EDT 2008


On Tue, 2008-10-14 at 14:48 +0530, Anadi Mishra wrote:
> Okay that was my mistake...........this card supports only
> fullmac..........can you please elaborate on the WMM point or point me
> to some document which will help?

The card actually supports softmac operation through the use of the thin
libertas firmware you can get from the OLPC project.

The usb8388 is _normally_ fullmac, but the libertas fullmac firmware has
WMM capability, it's just not turned on and isn't fully implemented in
the current driver.

The reason I'm talking about WMM is that the only references I can find
to cwmin and cwmax are in conjunction with WMM, thus I believe you need
to enable and use WMM before you can start tweaking these values.

Dan

> Thanks.
> 
> 
> On Tue, Oct 14, 2008 at 9:48 AM, Anadi Mishra <reachanadi at gmail.com> wrote:
> > On Tue, Oct 14, 2008 at 12:30 AM, Dan Williams <dcbw at redhat.com> wrote:
> >> On Mon, 2008-10-13 at 18:20 +0530, Anadi Mishra wrote:
> >>> On Mon, Oct 13, 2008 at 5:27 PM, Dan Williams <dcbw at redhat.com> wrote:
> >>> > On Mon, 2008-10-13 at 16:08 +0530, Anadi Mishra wrote:
> >>> >> Hi Dan,
> >>> >>             I am using libertas USB8388 for my work where I need to
> >>> >> modify the CWmin values based on some parameters like rssi(which will
> >>> >> be obtained from the driver).
> >>> >>             How can I do it. I found that the CW values are set in
> >>> >>
> >>> >> linux/net/mac80211/mlme.c ::   ieee80211_sta_def_wmm_params(struct
> >>> >> net_device *dev,       struct ieee80211_sta_bss *bss,int ibss)
> >>> >>
> >>> >> Do i need to change this code or writing a kernel module will do ?
> >>> >> Any help would be great.Thanks.
> >>> >
> >>> > Are you using the libertas driver, or the libertas_tf driver?
> >>> >
> >>> > Dan
> >>> >
> >>> >
> >>> I am using libertas driver.
> >>
> >> Ok, then nothing in linux/net/mac80211/* is going to help you, because
> >> that's for the softmac cards (like atheros, broadcom, intel, etc) that
> >> do most of the processing on the host CPU.
> >>
> >> The Libertas 8x8x cards with standard firmware are "fullmac" where most
> >> of the work is done on the libertas device's CPU instead, and thus they
> >> don't use the mac80211 stack.
> >
> > Okay that makes things clear, but can I use the "libertas_tf"
> > firmware & driver
> > on the same card and then play with MAC params without much trouble?
> > Currently when I use "iwpriv"  it says "no private ioctls".
> >
> > Do some other cards support such a feature? Which one do you
> > suggest(Atheros with Madwifi??).
> >
> >>
> >> The current libertas driver doesn't yet support WMM at this time.  The
> >> code wouldn't be really hard to do since it's existed for a while in
> >> various forms, but the core issues would be:
> >>
> >> 1) turning WMM on/off in the firmware
> >> 2) Implementing multiple queues, though we should use the new 2.6.27
> >> generic multiqueue infrastructure if at all possible
> >> 3) parsing WMM IEs from the beacons and setting internal values based on
> >> those beacon values
> >
> > Didn't quite get this point. Why do we need WMM in my  case?
> >>
> >> Dan
> >>
> >>
> >
> >
> >
> > --
> > Thanks and Regards,
> > Anadi Mishra,
> > Mumbai,
> > 9987388960.
> >
> 
> 
> 




More information about the libertas-dev mailing list