tA wrote:Yes I see your point. However (well its just an impression of Linux illiterate) wouldn't it be possible to move some network trafficking under RT conditions, since RTAI squeezes itself in between hardware and the original OS kernel layer?
RTAI doesn't place itself between the hardware and OS kernel, it replaces the scheduler and some other components, integrating itself into the kernel itself (think metastasizing). A hypervisor (Xen, etc.) inserts itself as a shim between an unmodified kernel and the hardware.
RTnet (a sibling project of RTAI) is an attempt at using RTAI to produce hard real-time networking, but requires a dedicated ethernet segment that only RTnet devices can talk on and only supports a very narrow spectrum of copper ethernet interfaces - no wireless. RTAI may be able to give you (again, very rough) control over the latency of the networking stack, but only by starving or providing it with CPU time - hard real-time networking requires a dedicated, purpose-written stack from copper to layer 7 with a supporting RT scheduler. That doesn't even start to deal with the latencies and transmission issues on the relatively (as compared with copper/fiber ethernet) unreliable 2.4GHz band.
There are lots of things to say and ask here, but I think the simplest is this: why? Of all the ways to induce rather reliable delays why did you choose to go the most hard-core route that makes even the grungiest embedded engineer shudder? Simply deciding you're going to go for hard packet timings isn't a very trivial decision.