All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Cameron <quozl@laptop.org>
To: Olivier Langlois <olivier@trillion01.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [ISSUE] rtl8192ce appears to interfere with ALSA playback
Date: Mon, 27 Jan 2014 17:54:12 +1100	[thread overview]
Message-ID: <20140127065412.GA25313@us.netrek.org> (raw)
In-Reply-To: <1390804323.2436.172.camel@Wailaba2>

On Mon, Jan 27, 2014 at 01:32:03AM -0500, Olivier Langlois wrote:
> Here is the sequence of events that I have traced that seem to cause my
> audio playback underrun.
> 
> 1. wpa_supplicant send a start_scan request to the nl80211 driver
> 2. mac80211 module call rtl_op_config with IEEE80211_CONF_CHANGE_IDLE
> 3.   rtl_ips_nic_on is called which disable local irqs
> 4.     rtl92c_phy_set_rf_power_state() is called
> 5.       rtl_ps_enable_nic() is called and enable interrupts on the
> device
> 6.   as soon as local irqs are reenabled before exiting rtl_ips_nic_on,
> a RX interrupt is handled and _rtl_pci_interrupt appears to be taking
> about 340 ms to process the interrupt.

Good data.  This discovery now points more firmly at the wireless
driver as a contributing cause.

You might further diagnose this by tracing the timing of the interrupt
handler, to see if it is something the handler calls that causes the
delay, or if it is device access that does it.

-- 
James Cameron
http://quozl.linux.org.au/

  reply	other threads:[~2014-01-27  6:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15  6:37 [ISSUE] rtl8192ce appears to interfere with ALSA playback Olivier Langlois
2014-01-15 17:01 ` Larry Finger
2014-01-16  5:25   ` Olivier Langlois
2014-01-16  5:55     ` James Cameron
2014-01-23  8:13       ` Olivier Langlois
2014-01-23  8:13         ` Olivier Langlois
2014-01-23  8:51         ` [alsa-devel] " Takashi Iwai
2014-01-23  8:51           ` Takashi Iwai
2014-01-23 16:15           ` LANGLOIS Olivier PIS -EXT
2014-01-23 16:15             ` [alsa-devel] " LANGLOIS Olivier PIS -EXT
2014-01-23 16:21             ` LANGLOIS Olivier PIS -EXT
2014-01-23 16:28               ` Takashi Iwai
2014-01-23 16:36                 ` LANGLOIS Olivier PIS -EXT
2014-01-23 16:40                   ` Takashi Iwai
2014-01-23 16:50                     ` LANGLOIS Olivier PIS -EXT
2014-01-23 16:52                       ` Takashi Iwai
     [not found]             ` <89F8E4011FD7234ABFE48744E300CBC206BCE732-mYYER/oPuzr5ytm4Ncodt1/tZ8AoKt9cLnY5E4hWTkheoWH0uzbU5w@public.gmane.org>
2014-01-23 16:29               ` [alsa-devel] " Takashi Iwai
2014-01-23 16:29                 ` Takashi Iwai
     [not found]                 ` <s5h1tzyu0em.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-01-24  5:32                   ` Olivier Langlois
2014-01-24  5:32                     ` Olivier Langlois
2014-01-27  6:32   ` Olivier Langlois
2014-01-27  6:54     ` James Cameron [this message]
2014-01-27  7:08       ` Olivier Langlois

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140127065412.GA25313@us.netrek.org \
    --to=quozl@laptop.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=olivier@trillion01.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.