<div> </div>
<div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">hi,<br><br>I am working in a R&D project, time driven switiching network, goal is to forward IP packet with respect to time (UTC) along with destination IP address [1].
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Its wireless extension, I was interested, objective is to control over sending beacon frame from AP.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">I know, this work is much more hardware depended and lower MAC layer of 802.11, time synchronization functionality (TSF). Without much knowledge, I started work with madwifi and I implemented (customized) the idea but because of close code of HAL (hardware abstraction layer) from atheros, I could not do following stuff.
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Idea is simple: beacon frame is sending according to TSF chipset timer, host linux kernel is getting another timer, through time-driven network,
<span style="mso-spacerun: yes"> </span>there may be some drift between two timer. <span style="mso-spacerun: yes"> </span>if the drift cross some threshold (say 1 msec), adjust beacon sending time. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">In my implementation, I was able to restart beacon sending but I got a problem, Probably because of close routine :</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> 1.<span style="mso-spacerun: yes"> </span>it was reseting TSF timer, means it starts with zero again.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<ol style="MARGIN-TOP: 0in" type="1" start="2">
<li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"><span style="FONT-FAMILY: Arial">to initialize hardware beacon state, I had to give beacon interval in TU unit, but in my research, I needed to send beacon millisecond (ms) unit interval
<span style="mso-spacerun: yes"> </span></span></li></ol>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">( 1 TU = 1.024 ms<span style="mso-spacerun: yes"> </span>~ 100 ms = 97.65625 TU ) <span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes">
</span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">I cannot put non-integer value as beacon interval</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">I want to try with HostAP driver and ultimately port to some embedded box</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">My question, is it possible to overcome above two problems without having any code (or microcontroller) from vendor?</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"> -</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">/dipankar</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"></span> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial">[1] <a href="http://ip-flow.dit.unitn.it/">http://ip-flow.dit.unitn.it/</a> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: Arial"></span> </p></div>