/* frame_after - is frame a after frame b  */
static int frame_after(u16 a, u16 b)
/* frame_after - is frame a after frame b  */
static int frame_after(u16 a, u16 b)
{
	return ((HOST_FRAME_MASK + a - b) & HOST_FRAME_MASK) <
	    (HOST_FRAME_MASK / 2);
}