From: Steve Brown Date: Sun, 03 Jul 2011 11:30:25 -0400 Subject: [ath9k-devel] [RFC/RFT] ath9k: support for multiple beacon intervals In-Reply-To: References: <1309299148.14951.29.camel@mythtv.ewol.com> <1309353727.14951.44.camel@mythtv.ewol.com> Message-ID: <1309707025.14951.154.camel@mythtv.ewol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Thu, 2011-06-30 at 01:15 +0800, Adrian Chadd wrote: > On 29 June 2011 21:22, Steve Brown wrote: > > On Wed, 2011-06-29 at 09:31 +0800, Adrian Chadd wrote: > >> Is mesh+ap on the same interface currently supported? > >> > > > > No, only with this patch. AP beacon interval is 100 while MESH is 1000. > > The current code uses the same interval for all beacons. > > Even with your patch, is it still intended to be a supported setup? Yes, Mesh Access Point support was the motivation for the patch. > > Eg, what's supposed to happen with TSF adjustment in mesh mode? Are > the TSF's being bumped based on received TSFs from other mesh nodes? > If so, are your AP mode TSFs drifting because of this? Could this > impact eg (dynamic) power saving mode support on STAs that are synched > to the AP TSF? 802.11s doesn't seem to require tsf sync among the members of the mesh. Further, I can't find any code that implements mesh tsf sync. It looks like tsf sync is done in hardware when using adhoc style beacons, but not when using ap style beacons. Many drivers, including rt2800, b43, rtlwifi and FreeBSD's ath, which you mentioned, use ap style beaconing. So, I don't see how adding mesh beacons will interfere with the ap beacons going out on schedule. In my testing, wireshark also verified that all the beacons went out when they were supposed to. I hope this explanation addresses your concern. Steve