Holger Schurig | 1 Oct 09:57
Picon
Favicon

Re: [PATCH]: nl80211: report age of scan results

> If anyone gets interested enough in trying to figure out whether
> scan results are from the time after the last scan (more exactly than 
> just guessing based on age), he/she can add that later and probably
> using something like a sequence number for scan requests, etc.

Hmm, what would a scan-sequence help in the case when mac80211 updates
a BSS because of a received beacon?

E.g.:

scan trigger, seq 5:
  find AP 'XXX', signal -50
  find AP 'YYY', signal -60
scan trigger, seq 6:
  find AP 'ZZZ', signal -55
normal operation:
  beacon for 'YYY' comes in, signal -45
scan-dump:
  get 'XXX', signal -50, seq 5
  get 'ZZZ', signal -55, seq 6
  get 'YYY', signal -45, but with which seq?

--

-- 
http://www.holgerschurig.de
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Jouni Malinen | 1 Oct 14:40
Picon

Re: [PATCH]: nl80211: report age of scan results

On Thu, Oct 01, 2009 at 09:57:31AM +0200, Holger Schurig wrote:
> Hmm, what would a scan-sequence help in the case when mac80211 updates
> a BSS because of a received beacon?

I have been most interested in knowing whether the result was after the
scan request or not; not necessarily receiving during the scan request
itself.

> scan trigger, seq 5:
>   find AP 'XXX', signal -50
>   find AP 'YYY', signal -60
> scan trigger, seq 6:
>   find AP 'ZZZ', signal -55
> normal operation:
>   beacon for 'YYY' comes in, signal -45
> scan-dump:
>   get 'XXX', signal -50, seq 5
>   get 'ZZZ', signal -55, seq 6
>   get 'YYY', signal -45, but with which seq?

seq 6 based on the earlier discussion. However, there would be an option
to increment the sequence number whenever a scan is terminated, i.e.,
the move to normal operation would move to seq 7 and 'YYY' would
actually show up with seq 7 here. The scan trigger command would return
the sequence number for that particular scan (6 for the second one), so
it would be possible to notice the difference between ZZZ and YYY.

--

-- 
Jouni Malinen                                            PGP id EFC895FA
--
(Continue reading)


Gmane