The embodiments of the invention provide a
wireless protocol stack and a realization method thereof. The
wireless protocol stack comprises an
application layer protocol stack, a core protocol stack and a
physical layer, wherein the core protocol stack comprises a host protocol stack and a controller, the controller comprises a
link layer, and the
link layer comprises such functional modules as a management module, a control module, a public module, a debugging module and a driving module; and the host protocol stack and the controller are connected through a
host controller interface. The method comprises the following steps: obtaining task data of the
wireless protocol stack; according to identification information in the task data, determining an execution function or an execution module of the task data; and
processing the task data by use of the determined execution function or the determined execution module. According to the embodiments of the invention, through performing effective and reasonable module division on the
link layer, information interaction between
software function modules is carried out based on a self-defined
interaction interface, and since the scheduling strategy of the task data is realized without relying on a specific
operating system, the wireless protocol stack and be transplanted to any operating systems.