From: Holger Schurig <hs4233@mail.mn-solutions.de>
To: linux-wireless@vger.kernel.org
Subject: Questions about cfg80211's cfg80211_connect_params->crypto settings
Date: Mon, 26 Oct 2009 09:47:48 +0100 [thread overview]
Message-ID: <200910260947.48365.hs4233@mail.mn-solutions.de> (raw)
Hi,
I'm a but confused about what fields in "struct
cfg80211_connect_params" (now abbreviated as sme->)
are relevant for me.
sme->private
------------
Right now, my lbs_cfg_connect() code just tests
sme->crypto.cipher_group. It doesn't check or use sme->privacy.
and sme-> crypto.wpa_versions like they are redundant. Is this
correct?
Empirical it migth be correct, because I can successfully connect
to APs, but if "privacy" is redundant, should I prepare a patch
to get rid of it?
What is this? And how should my driver react to it's settings?
sme->crypto.wpa_versions
------------------------
Again I seems to be ok to ignore this variable and just check
sme->crypto.cipher_group. In practice this seems to work, but is
it correct?
What is this, what is the intented use of it? May I prepare a
patch to get rid of it?
sme->crypto.n_ciphers_pairwise, sme->crypto.ciphers_pairwise
------------------------------------------------------------
The same for sme->crypto.n_ciphers_pairwise. It is always 0 zero
for the WEP case and always 1 for the WPA/WPA2 case, so isn't it
redundant either? lbs_cfg_connect() ignores this, maybe it's
not needed at .connect() time anyway?
But what is it really, what is the intended use?
sme->crypto.n_akm_suites, sme->crypto.akm_suites
------------------------------------------------
In cfg80211.h, the kdoc help text for sme->crypo.akm_suites is
just "AKM suites" or "number of AKM suites", which keeps me as
confused as before.
What is this? And how should my driver react to it's settings?
--
http://www.holgerschurig.de
next reply other threads:[~2009-10-26 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 8:47 Holger Schurig [this message]
2009-10-26 9:22 ` Questions about cfg80211's cfg80211_connect_params->crypto settings Johannes Berg
2009-10-26 12:11 ` Holger Schurig
2009-10-26 12:22 ` Johannes Berg
2009-10-26 12:59 ` Holger Schurig
2009-10-26 13:03 ` Johannes Berg
2009-10-26 19:57 ` Dan Williams
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=200910260947.48365.hs4233@mail.mn-solutions.de \
--to=hs4233@mail.mn-solutions.de \
--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