Return-path: Received: from icf.org.ru ([91.193.237.1]:49183 "EHLO icf.org.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752790Ab3BUBXn (ORCPT ); Wed, 20 Feb 2013 20:23:43 -0500 Date: Thu, 21 Feb 2013 05:23:35 +0400 (MSK) From: Georgiewskiy Yuriy To: Yeoh Chun-Yeow cc: devel@lists.open80211s.org, Adrian Chadd , ath9k-devel@lists.ath9k.org, Sujith Manoharan , linux-wireless@vger.kernel.org, Simon Wunderlich Subject: Re: [ath9k-devel] improve operational ANI in Mesh mode In-Reply-To: Message-ID: (sfid-20130221_022347_998498_E52CD169) References: <20130219134028.GA26332@pandem0nium> <20771.50338.434076.484711@gargle.gargle.HOWL> <20771.51233.248133.141840@gargle.gargle.HOWL> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1050998036-362496608-1361409815=:21536" Sender: linux-wireless-owner@vger.kernel.org List-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1050998036-362496608-1361409815=:21536 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT On 2013-02-21 09:08 +0800, Yeoh Chun-Yeow wrote Georgiewskiy Yuriy: YC>All the mesh nodes will generate its own beacon same as IBSS. Adrian YC>has mentioned that mode that supports multiple sources of beacons YC>should be disabled the ANI. Perhaps, someone can comment on this why. yes, but according to this there seems unnided check in ath9k_process_rssi for modes: if (!rx_stats->is_mybeacon || ((ah->opmode != NL80211_IFTYPE_STATION) && (ah->opmode != NL80211_IFTYPE_ADHOC))) return; currently is_mybeacon true only in station mode, it set by this code: if (ieee80211_is_beacon(hdr->frame_control)) { RX_STAT_INC(rx_beacons); if (!is_zero_ether_addr(common->curbssid) && ether_addr_equal(hdr->addr3, common->curbssid)) rs.is_mybeacon = true; else rs.is_mybeacon = false; } else rs.is_mybeacon = false; as i understand correctly common->curbssid exists only in client mode. C ????????? With Best Regards ???????????? ????. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 ???? +7 4872 711143 fax +7 4872 711143 ???????? ??? "?? ?? ??????" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost@icf.org.ru JID: GHhost@icf.org.ru YG129-RIPE YG129-RIPE ---1050998036-362496608-1361409815=:21536--