Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Jiri Benc
On Sat, 6 May 2006 14:00:58 +0200, Ivo van Doorn wrote: In rt2x00 the config() handler schedules all configuration changes by using a workqueue, this is required since several configuration changes in rt2x00 need sleeping and for USB devices all register access requires sleeping. And the

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Jiri Benc
On Wed, 10 May 2006 00:01:16 +0200, Ivo van Doorn wrote: Basicly the dscape stack is performing active scanning while the device is down, but during the active scan it is sending packets out, or at least attempting to do so. Besides the question if active scanning is preferred over passive

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Ivo van Doorn
On Wednesday 10 May 2006 00:36, Michael Wu wrote: On Tuesday 09 May 2006 18:01, Ivo van Doorn wrote: A user on the forums Olivier Cornu (added to the CC list) has done some investigation into the scanning behaviour of the dscape stack. Basicly the dscape stack is performing active scanning

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Ivo van Doorn
On Wednesday 10 May 2006 12:42, Jiri Benc wrote: On Sat, 6 May 2006 14:00:58 +0200, Ivo van Doorn wrote: In rt2x00 the config() handler schedules all configuration changes by using a workqueue, this is required since several configuration changes in rt2x00 need sleeping and for USB

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Jiri Benc
On Wed, 10 May 2006 15:37:11 +0200, Ivo van Doorn wrote: True, I agree here. But when rt2x00 was using the ipw stack a much requested feature from users was to be able to perform scanning while interface was down. (The requests did not specify if it they wanted passive or active scanning)

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Ivo van Doorn
On Wednesday 10 May 2006 12:52, Jiri Benc wrote: On Wed, 10 May 2006 00:01:16 +0200, Ivo van Doorn wrote: Basicly the dscape stack is performing active scanning while the device is down, but during the active scan it is sending packets out, or at least attempting to do so. Besides the

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Jiri Benc
On Wed, 10 May 2006 15:53:48 +0200, Ivo van Doorn wrote: I think the problem is what the dscape exactly expects the driver to do when add_interface() is called by the stack. When that call has finished, does the stack expects the radio to be enabled, or should it instruct the driver to enable

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-10 Thread Jouni Malinen
On Wed, May 10, 2006 at 03:53:48PM +0200, Ivo van Doorn wrote: I think the problem is what the dscape exactly expects the driver to do when add_interface() is called by the stack. When that call has finished, does the stack expects the radio to be enabled, or should it instruct the driver to

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-09 Thread Ivo van Doorn
While working on the rt2x00 driver, I keep hitting against some problems with scanning. Basicly the dscape stack handles scanning in 2 ways, through the passive_scan() handler in the ieee80211_hw structure, and by calling the config() handler in the ieee80211_hw stucture. The usage of the

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-09 Thread Michael Wu
On Tuesday 09 May 2006 18:01, Ivo van Doorn wrote: A user on the forums Olivier Cornu (added to the CC list) has done some investigation into the scanning behaviour of the dscape stack. Basicly the dscape stack is performing active scanning while the device is down, but during the active scan

Re: Dscape ieee80211: enabling/disabling the radio

2006-05-09 Thread Olivier
2006/5/10, Michael Wu [EMAIL PROTECTED]: On Tuesday 09 May 2006 18:01, Ivo van Doorn wrote: A user on the forums Olivier Cornu (added to the CC list) has done some investigation into the scanning behaviour of the dscape stack. Basicly the dscape stack is performing active scanning while the