linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Michael Wu <flamingice@sourmilk.net>, linux-wireless@vger.kernel.org
Subject: mac80211: What is get_sequence_counter?
Date: Fri, 5 Oct 2007 15:56:27 +0200	[thread overview]
Message-ID: <200710051556.27401.mb@bu3sch.de> (raw)

What is the get_sequence_counter callback for?

	/* For devices that have internal sequence counters, allow 802.11
	 * code to access the current value of a counter */
	int (*get_sequence_counter)(struct ieee80211_hw *hw,
				    u8* addr, u8 keyidx, u8 txrx,
				    u32* iv32, u16* iv16);

It doesn't seem to be used in current mac80211 code.
It seems that this is to fetch the current initial values.
Is that correct?
Who is supposed to use this callback? If it's unused, let's remove
it please. The documentation for it sucks anyway. :)

-- 
Greetings Michael.

             reply	other threads:[~2007-10-05 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 13:56 Michael Buesch [this message]
2007-10-05 14:03 ` mac80211: What is get_sequence_counter? Johannes Berg
2007-10-05 14:06   ` Michael Buesch
2007-10-05 14:24     ` Johannes Berg
2007-10-09  9:12     ` Johannes Berg
2007-10-09 13:52       ` Michael Buesch

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=200710051556.27401.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=flamingice@sourmilk.net \
    --cc=johannes@sipsolutions.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;
as well as URLs for NNTP newsgroup(s).