linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] mac80211: better definition of mactime
@ 2008-02-15  7:01 Bruno Randolf
  2008-02-15  7:01 ` [PATCH 2/3] mac80211: move function ieee80211_sta_join_ibss() Bruno Randolf
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Bruno Randolf @ 2008-02-15  7:01 UTC (permalink / raw)
  To: ath5k-devel
  Cc: mcgrof, jirislaby, mickflemm, linux-wireless, linville, johannes,
	flamingice, jbenc

define mactime as the time when the first data symbol arrived at the HW. the
old definition was questionable because 802.11 defines timestamp only for
beacon and probe response frames, and there it means the timestamp field.

a stricter definition of mactime is necessary for correct merging of IBSS.

note that it is up to the driver to convert whatever its hardware returns to
this definition. unfortunately we don't know for example when atheros hardware
takes its rx timestamp exactly :(

Signed-off-by: Bruno Randolf <bruno@thinktube.com>
---

 include/net/mac80211.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 460da54..1b807f4 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -295,7 +295,8 @@ enum mac80211_rx_flags {
  * The low-level driver should provide this information (the subset
  * supported by hardware) to the 802.11 code with each received
  * frame.
- * @mactime: MAC timestamp as defined by 802.11
+ * @mactime: value in microseconds of the 64-bit Time Synchronization Function
+ * 	(TSF) timer when the first data symbol (MPDU) arrived at the hardware.
  * @band: the active band when this frame was received
  * @freq: frequency the radio was tuned to when receiving this frame, in MHz
  * @ssi: signal strength when receiving this frame


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH 0/3] IBSS merge final resend
@ 2008-02-18  2:20 Bruno Randolf
  2008-02-18  2:21 ` [PATCH 2/3] mac80211: move function ieee80211_sta_join_ibss() Bruno Randolf
  0 siblings, 1 reply; 13+ messages in thread
From: Bruno Randolf @ 2008-02-18  2:20 UTC (permalink / raw)
  To: ath5k-devel
  Cc: mcgrof, jirislaby, mickflemm, linux-wireless, linville, johannes,
	flamingice, jbenc

The following series implements IBSS merging.

it is based on wireless-2.6 everything. 

bruno

---

Bruno Randolf (3):
      mac80211: enable IBSS merging
      mac80211: move function ieee80211_sta_join_ibss()
      mac80211: better definition of mactime


 include/net/mac80211.h       |    6 -
 net/mac80211/ieee80211_sta.c |  407 +++++++++++++++++++++++-------------------
 net/mac80211/rx.c            |    5 -
 3 files changed, 228 insertions(+), 190 deletions(-)

-- 


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

end of thread, other threads:[~2008-02-18 11:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15  7:01 [PATCH 1/3] mac80211: better definition of mactime Bruno Randolf
2008-02-15  7:01 ` [PATCH 2/3] mac80211: move function ieee80211_sta_join_ibss() Bruno Randolf
2008-02-15 12:52   ` Johannes Berg
2008-02-15  7:02 ` [PATCH 3/3] mac80211: enable IBSS merging Bruno Randolf
2008-02-15 15:09   ` Johannes Berg
2008-02-16  2:29     ` [PATCH] " Bruno Randolf
2008-02-17  9:11       ` Johannes Berg
2008-02-18  1:42         ` bruno randolf
2008-02-18 11:15           ` Johannes Berg
2008-02-18  2:03         ` bruno randolf
2008-02-18 11:16           ` Johannes Berg
2008-02-15 12:52 ` [PATCH 1/3] mac80211: better definition of mactime Johannes Berg
  -- strict thread matches above, loose matches on Subject: below --
2008-02-18  2:20 [PATCH 0/3] IBSS merge final resend Bruno Randolf
2008-02-18  2:21 ` [PATCH 2/3] mac80211: move function ieee80211_sta_join_ibss() Bruno Randolf

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