On Mon, 07 Feb 2000, you wrote:
> While playing around with hdlcdrv I came across two problems:
> 
>   Before arbitration was called by driver and when higher level decided to
> transmit driver immediately keyed PTT. Now driver and DDI have separate
> timers which results in DDI deciding to transmit BUT driver keying PTT
> with some delay when driver gets its own interrupt.
>   In case of BayCom serial driver its interrupt is called in 10ms
> intervals. So in the worst case we might have abt. 10ms delay before
> actually keying PTT. I'm not sure how big issue that is but we are
> needlesly increasing collision probability.
>   So question is how big issue that is .. (ie. whether we should implement
> some downcall from hdlc to hw-driver to start TX)
>   I put some printk in ser12fdx driver to see how often that happens ..

Does this mean that now each driver using hdlcdrv has to do its own
arbitration?  This seems like a backward move if this is the case.

> 
>   Second problem is what should driver do when it receives new data
> while sending txtail. Since new ax25 is designed that driver just sends
> what it gets from higher level it seems obvious it should send new data
> and restart txtail. But shouldn't there be some flag so that does not
> happen ?

If its sending txtail then the transmission is complete - thats it. The new
data has to wait!! At least thats what I think is relevant. Consider higher
speed interfaces using this code and full duplex implementations as well before
changing too much.

Have you by any chance done anything about the fact that the MTU is hard coded
in hdlcdrv and hence full of potential lost packets for all the drivers that
use it? See my ideas from 20th January in the "Can't get packet length over 338
bytes when using SCC card." thread

-- 

73 de Robin. G8ECJ                      Hub manager gb7ipd

NTS: G8ECJ@GB7TVG.#42.GBR.EU            AmprNet:   [EMAIL PROTECTED]
Internet: [EMAIL PROTECTED]     http://www.gb7ipd.freeserve.co.uk/
Shack: (+44) 1628 533311                Fax:  (+44) 1628 850165
Club pages (g4xyw modem etc) at http://www.tvipug.freeserve.co.uk

Reply via email to