Re: [Madwifi-devel] disable retransmission if certain condition is satisfied
Status: Beta
Brought to you by:
otaku
From: Florian H. <fh...@em...> - 2008-09-08 14:28:31
|
On Sunday 07 September 2008 23:26:00 Chen Qian wrote: > Dear friends, > > I am currently working on a research project. I plan to let the sender > disable retransmission if certain conditions are satisfied, to improve the > overall throughput. > > I understand part of openHAL is actually closed with binary code. Thus I > wonder whether I can implement my idea in madwifi (and HAL), and where the > retrx control code segment is. I am reading the code and trying to figure > it out. But if someone can provide me suggestions, I will greatly > appreciate it. > > Sincerely, > Chen I guess, it comes all together in ah.h Have a look at ath_hal_setuptxdesc() and the interface to the HAL: HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_desc *, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txTries0, u_int keyIx, u_int antMode, u_int flags, u_int rtsctsRate, u_int rtsctsDuration, u_int compicvLen, u_int compivLen, u_int comp); Maybe it's enough when you set txTries0 to zero and ignore HAL_TXERR_XRETRY in ath_tx_processq() Regards, Ignaz |