Return-path: Received: from arrakis.dune.hu ([78.24.191.176]:55306 "EHLO arrakis.dune.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753101AbbIAOE0 (ORCPT ); Tue, 1 Sep 2015 10:04:26 -0400 Subject: Re: [RFC 2/2] mac80211: Copy tx'ed beacons to monitor mode To: Helmut Schaa , linux-wireless@vger.kernel.org References: <1441102364-32516-1-git-send-email-helmut.schaa@googlemail.com> <1441102364-32516-3-git-send-email-helmut.schaa@googlemail.com> Cc: johannes@sipsolutions.net From: Felix Fietkau Message-ID: <55E5B065.8050107@openwrt.org> (sfid-20150901_160432_067836_E9072911) Date: Tue, 1 Sep 2015 16:04:21 +0200 MIME-Version: 1.0 In-Reply-To: <1441102364-32516-3-git-send-email-helmut.schaa@googlemail.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 2015-09-01 12:12, Helmut Schaa wrote: > When debugging wireless powersave issues on the AP side it's quite helpful > to see our own beacons that are transmitted by the hardware/driver. However, > this is not that easy since beacons don't pass through the regular TX queues. > > Preferably drivers would call ieee80211_tx_status also for tx'ed beacons > but that's not always possible. Hence, just send a copy of each beacon > generated by ieee80211_beacon_get_tim to monitor devices when they are > getting fetched by the driver. How about also adding a hw flag to allow drivers to indicate that they submit tx status for beacons. - Felix