Ad-Hoc mode on rt73usb and power save

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5168

johnsonzjo

21-01-2009 15:50:14

Hello,
I have an rt73usb wireless nic. I can set it to work in Ad-Hoc mode with "iwconfig wlan0 mode Ad-Hoc". My question is about
power save mode and ATIMS

1) First, does the rt73usb wireless drivers support power save ?
I am using the latest wireless-testing git tree, and as far as I understood, it **does** support power save in software.

2) In case it it so, I checked and saw that the
DRIVER_REQUIRE_ATIM_QUEUE flags is not set for this device
(simply by adding a printk in the and of rt73usb_probe_hw() method).
So, can the device driver still work as it should in power save mode (when it operates in Ad-Hoc mode). ?

Or is the DRIVER_REQUIRE_ATIM_QUEUE flag ***not a must*** for getting buffered packets for this client when it is awakened ?

Can anybody please elaborate a bit about rt73usb Power Save mode when operating in Ad-Hoc , ATIM and the DRIVER_REQUIRE_ATIM_QUEUE flag of this driver?

Rgs,
Andy

IvD

21-01-2009 18:49:04

You are absolutely right, ATIM queue is not supported in rt73usb, and I am not sure how to correctly implement this. I have not investigated this issue thoroughly due to lack of time, so anybody with suggestions on how to implement proper support (preferebly with mentioning how the Ralink driver handles it) is most welcome to share his knowledge. )

cristi.falcas

04-02-2009 12:57:22

I have a card that is using the rt73usb module

Bus 004 Device 002 ID 148f2573 Ralink Technology, Corp.

i have the module loaded

lsmod | grep rt
rt73usb 25604 0
rt2x00usb 12288 1 rt73usb
rt2x00lib 29568 2 rt73usb,rt2x00usb

But when i try to put the card in ad-hoc mode it gives me an error

iwconfig wlan0 mode Ad-Hoc
Error for wireless request "Set Mode" (8B06)
SET failed on device wlan0 ; Operation not supported.

Here is the module version

modinfo rt73usb
filename /lib/modules/2.6.28-gentoo-r1/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
license GPL
firmware rt73.bin
description Ralink RT73 USB Wireless LAN driver.
version 2.2.1
author http//rt2x00.serialmonkey.com
srcversion F2EE065EAFEA721C1A04F49

I can only put the card in managed mode.

Any thoughts?

IvD

04-02-2009 13:00:03

1) Why do you reply to a topic which does not describe the same problem as you have? If you have a different problem then other people, then create a new topic.
2) Use the search button before you ask questions
3) Read IMPORTANT READ BEFORE POSTING!!![/url3o1mczat]
4) If you followed the above steps, you would have found the solution to the problem. Small hint you are changing the working mode while the interface is up.