Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: wireless <linux-wireless@vger.kernel.org>
Subject: Re: Question about mac80211 callback
Date: Mon, 23 Nov 2009 10:38:10 +0100	[thread overview]
Message-ID: <1258969090.7094.133.camel@johannes.local> (raw)
In-Reply-To: <4B09EF44.3050804@lwfinger.net>

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

Larry,

> I tried to figure this out from the code, but I kept getting lost.
> 
> When a computer goes into hibernation, which of the mac80211 callback routines
> are called, and which ones on the following resume? 

mac80211 will be called via cfg80211, and will run __ieee80211_suspend()
which calls a whole bunch of driver things. This is _before_ the
driver's suspend() callback runs.

Then, after the driver's resume() callback runs, we go into
ieee80211_reconfig() in mac80211.

You can find the interaction with the PM subsystem in
net/wireless/sysfs.c.

> The problem arises due to
> the problem in Bug #14267. 

Wrong bug number?

johannes


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

      reply	other threads:[~2009-11-23  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23  2:11 Question about mac80211 callback Larry Finger
2009-11-23  9:38 ` Johannes Berg [this message]

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=1258969090.7094.133.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox