* question about cfg80211_inform_bss()
@ 2009-10-06 12:18 Holger Schurig
2009-10-06 17:42 ` Dave
0 siblings, 1 reply; 2+ messages in thread
From: Holger Schurig @ 2009-10-06 12:18 UTC (permalink / raw)
To: linux-wireless
Hi !
I did implement the cfg80211 scan command in libertas. Now I'm
about to submit the results back to cfg80211. AFAIK I have to
use cfg80211_inform_bss() for this.
There's just one subtle problem here:
I tell the firmware of libertas card to scan on some channels,
e.g. on 4 channels at a time. The firmware does this, and then
sends me back a scan response. This scan response may contain
any number of APs, from different channels. I don't know which
BSS entry belongs to which channel --- unless I parse the
also-supplied IE.
However, cfg80211_inform_bss() want's a channel. And it wants the
IEs as well. A presume it scans those IEs, too. So do we need to
parse the IEs twice?
--
http://www.holgerschurig.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question about cfg80211_inform_bss()
2009-10-06 12:18 question about cfg80211_inform_bss() Holger Schurig
@ 2009-10-06 17:42 ` Dave
0 siblings, 0 replies; 2+ messages in thread
From: Dave @ 2009-10-06 17:42 UTC (permalink / raw)
To: Holger Schurig; +Cc: linux-wireless
Holger Schurig wrote:
> However, cfg80211_inform_bss() want's a channel. And it wants the
> IEs as well. A presume it scans those IEs, too. So do we need to
> parse the IEs twice?
That is what orinoco does.
It's slightly worse for non-WPA firmware on orinoco. They supply ssid
and supported rates in a structure, and don't give access to the
original IEs - so the driver has to reconstruct the approporiate IE as
best it can, so cfg80211 can export them (all in orinoco/scan.c).
Dave.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-06 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 12:18 question about cfg80211_inform_bss() Holger Schurig
2009-10-06 17:42 ` Dave
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.