Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:53251 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbbIRJIA (ORCPT ); Fri, 18 Sep 2015 05:08:00 -0400 Message-ID: <1442567277.2168.7.camel@sipsolutions.net> (sfid-20150918_110805_664486_283E5058) Subject: Re: [PATCHv2] mac80211: Copy tx'ed beacons to monitor mode From: Johannes Berg To: Helmut Schaa , linux-wireless@vger.kernel.org Cc: nbd@openwrt.org Date: Fri, 18 Sep 2015 11:07:57 +0200 In-Reply-To: <1441784792-8847-1-git-send-email-helmut.schaa@googlemail.com> (sfid-20150909_094823_520248_88378E64) References: <1441193011-2040-2-git-send-email-helmut.schaa@googlemail.com> <1441784792-8847-1-git-send-email-helmut.schaa@googlemail.com> (sfid-20150909_094823_520248_88378E64) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2015-09-09 at 09:46 +0200, 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. > > Also add a HW flag IEEE80211_HW_BEACON_TX_STATUS that can be used by > drivers to indicate that they report TX status for beacons. > Applied. johannes