<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Greetings,<br>
<br>
I am a graduate student doing research in wireless networking, I am now
implementing a routing as well as reliable transport protocol for
multi-hop communication in sensor network back-bones (using IEEE802.11
card as the radio). To reduce control overhead, I would like to use the
feedback from MAC layer to decide whether a packet is successfully
received by the intended receiver or not (via the ACK from the
receiver) at each routing hop. <br>
<br>
After looking through the file "hostap_hw.c" and the "PRISM Driver
Programmers Manual", I found that the events TX and TXEXC are used to
signal the status of packet delivery. Yet I am not sure about some
detailed semantics of TX and TXEXC, as well as the implementation of
the hostap driver. So here are my questions: <br>
<ul>
  <li>Would TX be signaled only if the ACK is received by the sender? <br>
  </li>
  <li>Would TX and TXEXC be signaled for broadcast packets, considering
the fact that there is no ACK for broadcasting? <br>
  </li>
  <li>In hostap_hw.c, function prism2_tx_ev(...) does not generate any
event as prism2_txexc(...) does. I wonder if I could use
wireless_send_event(...) to send an event to the user-space for TX?
Would this cause any problem in practice? <br>
  </li>
  <li>Is there a way to associate, in an user-space program, a TX or a
TXEXC event with the corresponding packet? (I am sending a short UDP
message via wlan0, so that there is no message segmentation and each
message is carried in one MAC packet.)</li>
</ul>
Any suggestions and help regarding the above issues would be greatly
appreciated. (I am quite new to the network stack implentation of
Linux, so the above questions may look irrational, in which case please
forgive my ignorance.)<br>
<br>
Thanks a lot for your time and have a good weekend (despite my long
email <span class="moz-smiley-s1"><span> :-) </span></span>),<br>
<br>
Hongwei<br>
<br>
</body>
</html>