From: Steve Brown Date: Thu, 27 Jan 2011 17:17:35 -0500 Subject: [ath9k-devel] [RFC 0/2] ath9k: Support beacons with multiple intervals Message-ID: <1296166655.27551.69.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 This was tested on three routers and a client station with compat-wireless 2011-01-24. The test setup was: router 1: bridged mp (test1) & ethernet, with ethernet connected to internet. router 2: bridged mp (test1) & mp (test2). router 3: bridged mp (test2) & ap There was a station connected to the ap on router 3. The client can ping sites on the internet. The timing of the ap and mp beacons was verified with Wireshark. With this patch, an mp calls ath_beacon_config_ap, not ath_beacon_config_adhoc. One of the problems with handling mp as adhoc is that the beacons are always assigned to slot 0. This effectively limits one mp per phy. The only differences seem to be the SC_OP_TSF_RESET stuff and the register values in hw.c at ath9k_hw_set_operating_mode, neither of which mean much without doc on the chipset. I've left some instrumentation in the RFC to make it easier to verify, but will remove it when I post a final patch. Lastly, I'm puzzled why all the members of the mesh reconfigure their beacons whenever a new station joins. Steve