linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Making sense of cfg80211_scan_request.n_ssids
@ 2011-08-02 17:35 Daniel Drake
  2011-08-02 22:10 ` Pavel Roskin
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Drake @ 2011-08-02 17:35 UTC (permalink / raw)
  To: linux-wireless

Hi,

I'm looking at libertas scanning code, and I'm wondering exactly what
the cfg80211_scan_request.n_ssids field is supposed to mean.

I would guess that it is supposed to indicate how many SSIDs should be
explicitly scanned for. However, this doesn't seem to be the case.

  iwlist eth0 scan essid test
  iw dev eth0 scan ssid test

Both of those commands result in libertas being called with
cfg80211_scan_request with n_ssids=1 and the "test" SSID present in
cfg80211_scan_request.ssids[0], as expected.


  iwlist eth0 scan
  iw dev eth0 scan

Both of those commands result in libertas being called with
cfg80211_scan_request with n_ssids=1 and a zero-length SSID present in
cfg80211_scan_request.ssids[0].
Is this a bug? I would expect it to be passed n_ssids=0 in this case.

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-09  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02 17:35 Making sense of cfg80211_scan_request.n_ssids Daniel Drake
2011-08-02 22:10 ` Pavel Roskin
2011-08-08  8:37   ` Johannes Berg
2011-08-09  9:36     ` Luciano Coelho
2011-08-09  9:40       ` Johannes Berg
2011-08-09  9:42         ` Luciano Coelho

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).