The invention provides a method and
system for realizing
wireless communication. The method comprises: related work, with a high real-time
performance requirement, of a low-level protocol of a communication
system is realized based on real-
time extension (RTX), wherein the related work includes related work of a
physical layer protocol and a
physical layer convergence protocol layer state
machine; relates work, with a low real-time
performance requirement, of a high-level protocol of a communication
system is realized based on windows, wherein the related work includes related work of an
MAC layer protocol and a
network layer protocol; and a
shared memory and an event body are established, so that information synchronization and interaction between the low-level protocol of the communication system and the high-level protocol of the communication system are realized. According to the technical scheme, the real-
time extension characteristic of the RTX is fully utilized; and the real-time performance and stability of the
wireless communication system based on the Windows system can be enhanced substantially.