Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-09 Thread Bernhard Schmidt
On Tuesday 08 February 2011 10:52:53 Bernhard Schmidt wrote: > I've combined both patches (see attachment), if I get an ACK from both > of you I'll try get this into the tree ASAP. Committed, thanks! -- Bernhard ___ freebsd-net@freebsd.org mailing list

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-08 Thread PseudoCylon
- Original Message > From: Bernhard Schmidt > To: PseudoCylon ; Alexander Zagrebin > > Cc: freebsd-net@freebsd.org > Sent: Tue, February 8, 2011 2:52:53 AM > Subject: Re: if_run in hostap mode: issue with stations in the power save mode > > > > >

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-08 Thread Alexander Zagrebin
Hi! On 08.02.2011 10:52:53 +0100, Bernhard Schmidt wrote: > I've combined both patches (see attachment), if I get an ACK from both > of you I'll try get this into the tree ASAP. The resulted patch works fine for me. Big thanks for your help! Waiting for the 802.11n support... :) -- Alexander

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-08 Thread Bernhard Schmidt
On Tuesday, February 08, 2011 02:18:30 PseudoCylon wrote: > - Original Message > > > From: Bernhard Schmidt > > To: PseudoCylon > > Cc: Alexander Zagrebin ; freebsd-net@freebsd.org > > Sent: Sun, February 6, 2011 3:42:43 AM > > Subject: Re: if_run in

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-08 Thread Bernhard Schmidt
On Tuesday, February 08, 2011 09:24:29 Alexander Zagrebin wrote: > Hi! > > On 07.02.2011 09:11:02 +0100, Bernhard Schmidt wrote: > > For example, if you call 'ifconfig wlan0 ssid ' the new > > ssid is passed over using a IOCTL. It would be interesting to know > > what function in net80211 are call

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-08 Thread Alexander Zagrebin
Hi! On 07.02.2011 09:11:02 +0100, Bernhard Schmidt wrote: > For example, if you call 'ifconfig wlan0 ssid ' the new ssid is > passed over using a IOCTL. It would be interesting to know what function > in net80211 are called regarding beacon updates and which of those call > into the run driver

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-07 Thread PseudoCylon
- Original Message > From: Bernhard Schmidt > To: PseudoCylon > Cc: Alexander Zagrebin ; freebsd-net@freebsd.org > Sent: Sun, February 6, 2011 3:42:43 AM > Subject: Re: if_run in hostap mode: issue with stations in the power save mode Afaik iwn(4) doesn't use P

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-07 Thread Bernhard Schmidt
On Monday, February 07, 2011 07:10:01 Alexander Zagrebin wrote: > Hi! > > On 06.02.2011 11:32:40 +0100, Bernhard Schmidt wrote: > > > I had the doubts about ability to change or hide/unhide the SSID, > > > but it works too. It seems that after `ifconfig wlan0 ssid ...` > > > or `ifconfig wlan0 (hi

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-06 Thread Alexander Zagrebin
Hi! On 06.02.2011 11:32:40 +0100, Bernhard Schmidt wrote: > > I had the doubts about ability to change or hide/unhide the SSID, but > > it works too. It seems that after `ifconfig wlan0 ssid ...` or > > `ifconfig wlan0 (hidessid|-hidessid)` the following occurs: > > 1. run_newstate() is called >

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-06 Thread Bernhard Schmidt
On Friday 04 February 2011 23:33:40 Alexander Zagrebin wrote: > Hi! > > On 04.02.2011 09:51:34 +0100, Bernhard Schmidt wrote: > > On Friday 04 February 2011 07:08:08 Alexander Zagrebin wrote: > > > I'm using an Ralink RT2870 based adapter (run(4) driver) in the > > > hostap mode. and I've noticed

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-06 Thread Bernhard Schmidt
On Saturday 05 February 2011 05:45:59 PseudoCylon wrote: > - Original Message > > > From: Bernhard Schmidt > > To: Alexander Zagrebin > > Cc: freebsd-net@freebsd.org; PseudoCylon > > Sent: Fri, February 4, 2011 5:14:17 AM > > Subject: Re: if_run in

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-06 Thread Bernhard Schmidt
On Saturday 05 February 2011 00:06:15 Alexander Zagrebin wrote: > Hi! > > On 04.02.2011 13:14:17 +0100, Bernhard Schmidt wrote: > > > Also I have to note, that it seems that other wlan drivers can > > > has this problem too: only ral's and ath's code uses > > > ieee80211_beacon_update(). > > > >

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread PseudoCylon
- Original Message > From: Bernhard Schmidt > To: Alexander Zagrebin > Cc: freebsd-net@freebsd.org; PseudoCylon > Sent: Fri, February 4, 2011 5:14:17 AM > Subject: Re: if_run in hostap mode: issue with stations in the power save mode > > On Friday 04 February 20

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread Alexander Zagrebin
Hi! On 04.02.2011 13:14:17 +0100, Bernhard Schmidt wrote: > > Also I have to note, that it seems that other wlan drivers can has > > this problem too: only ral's and ath's code uses > > ieee80211_beacon_update(). > > Yeah, true. > > > Also, I've found a kern/124753. One of > > replies contains

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread Alexander Zagrebin
Hi! On 04.02.2011 09:51:34 +0100, Bernhard Schmidt wrote: > On Friday 04 February 2011 07:08:08 Alexander Zagrebin wrote: > > I'm using an Ralink RT2870 based adapter (run(4) driver) in the > > hostap mode. and I've noticed that if_run doesn't support stations > > working in the power save mode (

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread Bernhard Schmidt
On Friday 04 February 2011 12:40:21 Alexander Zagrebin wrote: > Hi! > > On 04.02.2011 09:51:34 +0100, Bernhard Schmidt wrote: > > On Friday 04 February 2011 07:08:08 Alexander Zagrebin wrote: > > > I'm using an Ralink RT2870 based adapter (run(4) driver) in the > > > hostap mode. and I've noticed

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread Alexander Zagrebin
Hi! On 04.02.2011 09:51:34 +0100, Bernhard Schmidt wrote: > On Friday 04 February 2011 07:08:08 Alexander Zagrebin wrote: > > I'm using an Ralink RT2870 based adapter (run(4) driver) in the > > hostap mode. and I've noticed that if_run doesn't support stations > > working in the power save mode (

Re: if_run in hostap mode: issue with stations in the power save mode

2011-02-04 Thread Bernhard Schmidt
On Friday 04 February 2011 07:08:08 Alexander Zagrebin wrote: > I'm using an Ralink RT2870 based adapter (run(4) driver) in the > hostap mode. and I've noticed that if_run doesn't support stations > working in the power save mode (PSM). The reason is in lack of the > TIM in beacons. The attached pa

if_run in hostap mode: issue with stations in the power save mode

2011-02-03 Thread Alexander Zagrebin
I'm using an Ralink RT2870 based adapter (run(4) driver) in the hostap mode. and I've noticed that if_run doesn't support stations working in the power save mode (PSM). The reason is in lack of the TIM in beacons. The attached patch adds this functionality and completely fixes this issue. Despite t