linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] fine timing measurement
@ 2015-12-07 21:04 Johannes Berg
  2015-12-07 21:04 ` [PATCH 1/4] nl80211: Use specific attributes in nl80211_parse_random_mac Johannes Berg
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johannes Berg @ 2015-12-07 21:04 UTC (permalink / raw)
  To: linux-wireless; +Cc: Beni Lev, Anatol Pomozov

As we've discussed with a number of people already, here's our current
work to add fine timing measurement support. Most of the work is really
done by the firmware, so this just defines the API.

We've gone back and forth over this, and I guess one thing that might
need explaining is the decision to only allow aborting a measurement by
closing a socket. The reasoning behind this was that (a) it needs to be
supported anyway, if the application crashes, and forcing it that way
makes the code path more tested; (b) if you wanted to reuse a socket
for this and other things, eventually you'd make your code more complex
because you'd have to handle events while waiting for the ACK message
for a command - but in most testing it'll work if you forget, and then
randomly lose some events every once a while ... forcing a new socket
also prevents that issue.

Please send comments :)

johannes


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

end of thread, other threads:[~2015-12-07 21:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 21:04 [PATCH 0/4] fine timing measurement Johannes Berg
2015-12-07 21:04 ` [PATCH 1/4] nl80211: Use specific attributes in nl80211_parse_random_mac Johannes Berg
2015-12-07 21:04 ` [PATCH 2/4] nl80211: add fine timing measurement support Johannes Berg
2015-12-07 21:04 ` [PATCH 3/4] ieee80211: add FTM Parameters IE and extended capability Johannes Berg
2015-12-07 21:04 ` [PATCH 4/4] mac80211: add FTM request/response/abort Johannes Berg

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