Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PROTOCOL ENGINE FOR PROCESSING DATA IN A WIRELESS TRANSMIT/RECEIVE UNIT
Document Type and Number:
WIPO Patent Application WO/2007/005381
Kind Code:
A3
Abstract:
A protocol engine (PE) (210) for processing data within a protocol stack in a wireless transmit/receive unit (WTRU) is disclosed. The protocol stack executes decision and control operations. The data processing and re-formatting which was performed in a conventional protocol stack is removed from the protocol stack and performed by the PE. The protocol stack issues a control word for processing data and the PE processes the data based on the control word. Preferably, the WTRU includes a shared memory (220) and a second memory (221). The shared memory (220) is used as a data block place holder to transfer the data amongst processing entities. For transmit processing, the PE retrieves source data from the second memory and processes the data while moving the data to the shared memory (220) based on the control word. For receive processing, the PE retrieves received data from the shared memory (220) and processes it while moving the data to the second memory (221).

Inventors:
HEPLER EDWARD L (US)
GAZDA ROBERT G (US)
REZNIK ALEXANDER (US)
Application Number:
PCT/US2006/024843
Publication Date:
April 16, 2009
Filing Date:
June 27, 2006
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INTERDIGITAL TECH CORP (US)
HEPLER EDWARD L (US)
GAZDA ROBERT G (US)
REZNIK ALEXANDER (US)
International Classes:
H04J11/00; H04L49/901; H04W88/02
Foreign References:
US20070060142A12007-03-15
US20060021447A12006-02-02
Other References:
See also references of EP 1897256A4
Attorney, Agent or Firm:
BALLARINI, Robert, J. (P.C.United Plaza, Suite 1600,30 South 17th Stree, Philadelphia Pennsylvania, US)
Download PDF:
Claims:
CLAIMS What is claimed is:

1. A wireless transmit/receive unit (WTRU) comprising: a protocol stack configured to execute a control function, the protocol stack issuing a control word for processing data; and a protocol engine configured to process the data based on the control word.

2. The WTRU of claim 1 wherein the protocol stack is a non-access stratum (NAS) protocol stack.

3. The WTRU of claim 1 wherein the protocol stack is an access stratum (AS) protocol stack.

4. The WTRU of claim 3 wherein the protocol stack includes a radio resource control (RRC) layer processor, a medium access control (MAC) layer processor, a radio link control (RLC) layer processor and a physical (PHY) layer processor.

5. The WTRU of claim 4 wherein the control word specifies parameters for at least one of radio access bearer (RAB) establishment and maintenance, serving radio network subsystem (SRNS) relocation, radio link control (RLC) delivery protocols, medium access control (MAC) transport format selection, MAC reordering queue processing, high speed uplink packet access (HSUPA) scheduling and rate calculation, enhanced dedicated channel (E-DCH) transport format combination (E-TFC) restriction and selection, and dedicated channel MAC (MAC-d) flow multiplexing.

6. The WTRU of claim 5 wherein the protocol engine is configured to perform at least one of packet data convergence protocol (PDCP) Internet protocol (IP) header compression and decompression, RLC service data unit (SDU)/protocol data unit (PDU) segmentation and concatenation, RLC header

insertion, MAC header insertion, RLC header extraction and interpretation, and MAC header extraction and interpolation.

7. The WTRU of claim 1 wherein the protocol engine is configured to generate a packet comprising a header, a body and padding based on the control word.

8. The WTRU of claim 7 wherein the protocol engine is configured to include specific data in the packet as the padding.

9. The WTRU of claim 8 wherein the specific data is a watermark.

10. The WTRU of claim 1 wherein the protocol engine is configured to extract a specific portion of a received packet.

11. The WTRU of claim 10 wherein the protocol engine is configured to extract a padding of the received packet.

12. The WTRU of claim 10 wherein the protocol engine is configured to parse the body of the received packet into a plurality of parsed packets.

13. The WTRU of claim 1 wherein the protocol engine is configured to perform ciphering and deciphering on the data.

14. The WTRU of claim 1 further comprising: a shared memory for storing the data, the shared memory being accessible by protocol stack processors; and a second memory, whereby the protocol engine processes the data while moving the data between the shared memory and the second memory based on the control word.

15. The WTRU of claim 14 wherein the shared memory is a static random access memory (SRAM).

16. The WTRU of claim 14 wherein the second memory is one of dynamic random access memory (DRAM) and a synchronous DRAM (SDRAM).

17. The WTRU of claim 14 wherein the protocol engine is configured to decompose a medium access control (MAC) protocol data unit (PDU) into a plurality of MAC service data units (SDUs) and concatenate the MAC SDUs to an SDU based on the control word.

18. The WTRU of claim 17 wherein the protocol engine retrieves the MAC PDU from the shared memory according to the control word.

19. The WTRU of claim 18 wherein the protocol engine places the MAC SDUs and the SDU in the second memory.

20. The WTRU of claim 14 wherein the protocol engine is configured to gather service data unit (SDU) data, a medium access control (MAC) header and a radio link control (RLC) header and generate a MAC protocol data unit (PDU) by merging the SDU data and the MAC header, the RLC header and padding.

21. The WTRU of claim 20 wherein the SDU data, the MAC header and the RLC header are placed in the second memory.

22. The WTRU of claim 21 wherein the MAC PDU is placed in the shared memory.

23. The WTRU of claim 20 wherein the protocol engine is configured to perform ciphering while generating the MAC PDU.

24. The WTRU of claim 1 wherein the protocol engine is configured to extract a bit field from a data stream using a stream extraction function.

25. The WTRU of claim 1 wherein the protocol engine is configured to insert a bit field into a data stream using a stream insertion function.

26. The WTRU of claim 1 wherein the protocol engine comprises two separate processors, one for transmit processing and the other for receive processing.

27. A protocol engine for processing data in accordance with a control word issued by a protocol stack in a wireless transmit/receive unit (WTRU), the protocol engine comprising: at least one input for receiving the control word from the protocol stack; and a processor configured to construct a data packet for transmission from source data and reformat a received data packet for receive processing in accordance with the control word.

28. The protocol engine of claim 27 wherein the processor is configured to extract a bit field from a data stream using a stream extraction function.

29. The protocol engine of claim 27 wherein the processor is configured to insert a bit field into a data stream using a stream insertion function.

30. The protocol engine of claim 27 wherein the processor retrieves the source data from a second memory and places the constructed data packet in a shared memory in accordance with the control word.

31. The protocol engine of claim 27 wherein the processor retrieves the received data packet from a shared memory and places the reformatted data packet in a second memory in accordance with the control word.

32. The protocol engine of claim 30 wherein the shared memory is a static random access memory (SRAM) and the second memory is one of dynamic random access memory (DRAM) and a synchronous DRAM (SDRAM).

33. In a wireless transmit/receive unit (WTRU) including a protocol engine and a protocol stack, the protocol engine performing data processing and re-formatting operations and the protocol stack performing decision and control operations, a method for processing data with the protocol engine in the WTRU, the method comprising: the protocol engine receiving a control word from the protocol stack; and the protocol engine either constructing a data packet from source data or reformatting a received data packet for receive processing in accordance with the control word.

34. The method of claim 33 wherein the protocol engine retrieves the source data from a second memory and places the constructed data packet in a shared memory in accordance with the control word.

35. The method of claim 33 wherein the processor retrieves the received data packet from a shared memory and places the reformatted data packet in a second memory in accordance with the control word.

36. The method of claim 33 wherein the protocol engine extracts a bit field from a data stream to reformat the received data packet using a stream extraction function.

37. The method of claim 33 wherein the protocol engine inserts a bit field into a data stream to construct the data packet using a stream insertion function.

38. The method of claim 33 wherein the protocol stack is a non-access stratum (NAS) protocol stack.

39. The method of claim 33 wherein the protocol stack is an access stratum (AS) protocol stack.

40. The method of claim 39 wherein the protocol stack includes a radio resource control (RRC) layer processor, a medium access control (MAC) layer processor, a radio link control (RLC) layer processor and a physical (PHY) layer processor.

41. The method of claim 40 wherein the control word specifies parameters for at least one of radio access bearer (RAB) establishment and maintenance, serving radio network subsystem (SRNS) relocation, radio link control (RLC) delivery protocols, medium access control (MAC) transport format selection, MAC reordering queue processing, high speed uplink packet access (HSUPA) scheduling and rate calculation, enhanced dedicated channel (E-DCH) transport format combination (E-TFC) restriction and selection, and dedicated channel MAC (MAC-d) flow multiplexing.

42. The method of claim 41 wherein the protocol engine is configured to perform at least one of packet data convergence protocol (PDCP) Internet protocol (IP) header compression and decompression, RLC service data unit (SDU)/protocol data unit (PDU) segmentation and concatenation, RLC header insertion, MAC header insertion, RLC header extraction and interpretation, and MAC header extraction and interpolation.

43. The method of claim 33 wherein the protocol engine is configured to generate a packet comprising a header, a body and padding based on the control word.

44. The method of claim 43 wherein the protocol engine is configured to include specific data in the packet as the padding.

45. The method of claim 44 wherein the specific data is a watermark.

46. The method of claim 33 further comprising: the protocol engine performing ciphering on the transmit PDU and deciphering on the received PDU.

47. An integrated circuit (IC) comprising: a protocol stack configured to execute a control function, the protocol stack issuing a control word for processing data; and a protocol engine configured to process the data based on the control word.

Description:

[0001] PROTOCOL ENGINE FOR PROCESSING DATA

IN A WIRELESS TRANSMIT/RECEIVE UNIT

[0002] FIELD OF INVENTION

[0003] The present invention is related to processing data in a wireless transmit/receive unit (WTRU), (i.e., a mobile station). More particularly, the present invention is related to a protocol engine (PE) for processing data in a

WTRU.

[0004] BACKGROUND

[0005] A protocol stack in a wireless communication system, such as a universal mobile telecommunications system (UMTS) frequency division duplex (FDD) system, is a collection of inter-related system components. The protocol stack takes data, (application data or network data), re-formats and packetizes it for transmission over an air interface, and re-builds the data on the receive side of the air interface. The protocol stack is also responsible for control, configuration and maintenance of air interface parameters. For example, the protocol stack controls the parameters related to data rate, physical channel configuration, timing, in-sequence delivery of data, and the like. [0006] As an example, the access stratum (AS) portion 100 of the UMTS

FDD protocol stack is shown in Figure 1. As shown in Figure 1, the UMTS AS 100 includes radio resource control (RRC) 102, radio access bearer management (RABMVpacket data convergence protocol (PDCP) 104, broadcast/multicast control (BMC) 106, radio link control (RLC) 108 and medium access control (MAC) 110.

[0007] The RRC 102 performs initial cell selection and reselection

(mobility), establishment, maintenance and release of RRC (signaling) connections with the UMTS terrestrial radio access network (UTRAN), establishment, maintenance and release of radio bearers, transport channels (TrCH) and physical channels, (i.e. configuration of the WTRU Layer 2 and Layer 1 based on UTRAN commands), including a control of high speed downlink

packet access (HSDPA) and high speed uplink packet access (HSUPA) channels, and measurement reporting.

[0008] The RABM/PDCP 104 performs IP header compression in accordance with Internet Engineering Task Force (IETF) request for comments (RFC) 2507 and RFC 3095, lossless serving radio network controller (SRNC) relocation, management of NS API/packet data protocol (PDP) context mappings to radio access bearer (RAB) channels, including quality of service (QoS) management and RAB re-establishment, (i.e., RABM functions). [0009] The BMC 106 performs delivery of cell broadcast messages to the non-access stratum (NAS) (i.e., upper layers), cell broadcast schedule evaluation, and configuration of cell broadcasting services (CBS) for discontinuous reception. [0010] The RLC 108 performs translation of application data units, (i.e., service data units (SDUs)), between air interface efficient transport blocks, (i.e., protocol data units (PDUs)), in both the control and data planes, (i.e. segmentation and concatenation), network configurable retransmission, and ordered delivery of data units based on a specific mode, (i.e., an acknowledged mode (AM), unacknowledged mode (UM), and transparent mode (TM)). [0011] The MAC 110 performs mapping of logical channels to transport channels, selecting the appropriate uplink transport format combinations based on instantaneous data rates within the WTRU, prioritization of transport channels within the WTRU, implementation of MAC-e/es protocols (HSUPA), and implementation of the MAC-hs protocols (HSPDA) including MAC-hs reordering queues, MAC-hs PDU multiplexing, or the like. Implementation of the MAC-e/es protocols includes processing of scheduling grants, buffer occupancy calculation, rate request mechanisms, transport formation combination (TFC) recovery and elimination, and MAC-e/es PDU construction.

[0012] A physical layer (PHY) 112 abstracts the specific implementation of the UMTS Layer 1 from the UMTS AS stack, allowing the stack to be easily ported to alternative UMTS Layer 1 implementations.

[0013] Conventional implementations of the protocol stack are all-software implementations running on standard processors and standard real-time

operating systems. As wireless communication standards evolve to support ever higher data rates, the requirements placed on the protocol stack software increase. With the emergence of high data rate services, (such as HSDPA, HSUPA, mobile broadcast multicast services (MBMS)), implementation of the protocol stack in software on standard processors will require a significant amount of computing power. The power requirements of such standard processors become a prohibitive drain on the power consumption of the battery- powered devices and are not viable. Accordingly, alternate methods of implementation of the protocol stack must be sought.

[0014] SUMMARY

[0015] The present invention is related to a PE for processing data within a protocol stack in a WTRU. The protocol stack executes decision and control operations. The data processing and re-formatting operation which was performed in a conventional protocol stack is removed from the protocol stack and performed by the PE. The protocol stack issues a control word for processing data and the PE processes the data based on the control word. Preferably, the WTRU includes a shared memory and a second memory. The shared memory is used as a data block place holder to transfer the data amongst processing entities. For transmit processing, the PE retrieves source data from the second memory and processes the data while moving the data to the shared memory based on the control word. For receive processing, the PE retrieves received data from the shared memory and processes it while moving the data to the second memory. As an alternative, two separate PEs, one for transmit processing and the other for receive processing may be used.

[0016] BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 shows a conventional UMTS AS protocol stack.

[0018] Figure 2 is a block diagram of the overall system architecture of a

WTRU including a PE in accordance with the present invention.

[0019] Figure 3 shows an implementation of the PE in the downlink in accordance with the present invention.

[0020] Figure 4 shows an implementation of the PE in the uplink in accordance with the present invention.

[0021] Figure 5 is a block diagram of a UMTS AS protocol stack including a

PE in accordance with the present invention.

[0022] Figure 6 shows a process for PDU decomposition in downlink processing in the PE in accordance with the present invention.

[0023] Figure 7 shows a process for PDU generation in uplink processing in the PE in accordance with the present invention.

[0024] Figure 8 shows a process for PDU decomposition in downlink processing in the PE in greater detail in accordance with the present invention.

[0025] Figures 9A and 9B show operation of a stream extract function in accordance with the present invention.

[0026] Figures 1OA and 1OB show operation of a stream insert function in accordance with the present invention.

[0027] Figure 11 is a flow diagram of a process for receive processing in accordance with the present invention.

[0028] Figure 12 is a flow diagram of a process for transmit processing in accordance with the present invention.

[0029] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0030] When referred to hereafter, the terminology "WTRU" includes but is not limited to a user equipment (UE), a mobile station, a laptop, a personal data assistant (PDA), a fixed or mobile subscriber unit, a pager, a base station, a Node-B, a site controller, an access point or any other type of device capable of operating in a wireless environment.

[0031] The features of the present invention may be incorporated into an integrated circuit (IC) or be configured in a circuit comprising a multitude of interconnecting components.

[0032] In accordance with the present invention, a PE is provided within the protocol stack in a WTRU. Conventional protocol stack operations can be divided into two categories: 1) decision and control operations, and 2) data moving and re-formatting operations. Decision and control operations are involved in radio link maintenance, control and configuration. These operations are typically complex decision making processes and require significant flexibility in design and implementation. However, decision and control operations do not use significant processing power of standard processors. Data moving and reformatting operations are involved in moving data between protocol stack components and re-formatting of data during the process. While the data moving and re-formatting operations are highly straightforward involving few decision points, these operations require significant processing power and the processing power increases as the data rate increases. The PE handles the data moving and re-formatting operations and those data moving and re-formatting operations are removed from the conventional protocol stack.

[0033] The PE is implemented by a simple, (low complexity, low power consumption), programmable processor that interprets headers of a received data packet on the receive side and generates headers of a transmit data packet on the transmit side. The PE is enhanced with instructions that optimize the extraction and insertion of bit fields from a stream of received or generated bits, which will be explained in detail hereinafter. The data stream is preferably maintained in a shared memory. The PE is an enhancement for controlling the datapath that is disclosed in a co-pending U.S. Patent Application No. 10/878,729 filed on June 28, 2004, which is incorporated herein by reference.

[0034] Hereinafter, the UMTS AS will be used as an example. However, the present invention is applicable to any other protocol stack, including an AS in a network side, a non-access stratum (NAS) in the WTRU and the network side, as well as any other wireless communication standards including, but not limited to, global standards for mobile communication (GSM), global packet radio services (GPRS), enhanced data rate for GSM evolution (EDGE), CDMA2000 and IEEE 802. xx, or the like.

[0035] Figure 2 is a block diagram of overall system architecture of a

WTRU 200 including a PE 210 in accordance with the present invention. The WTRU 200 preferably includes a shared memory 220 to reduce the number of memory instances. Numerous physical layer entities and processors access the shared memory 220 via a shared memory arbiter (SMA) 221 to use as a data block place holder to transfer data amongst the processing entities. By using a single shared memory 220, the die size of an application specific integrated circuit (ASIC) is reduced. Typically, a very fast memory, (such as a static random access memory (SRAM)) is used for the shared memory 220. [0036] The WTRU 200 also includes a second memory 222 available to the processing entities, (such as MAC-d 232, MAC-hs 234, MAC-e 236, RLC 238 or RABM/PDCP 240), to store large amounts of data. The second memory 222 may be implemented by an external, commercially available dynamic random access memory (DRAM) or synchronous DRAM (SDRAM). For example, the second memory 222 may be used for reordering queues and other buffers for storage of data being processed for applications.

[0037] The PE 210 is configured to move data between the shared memory

220 and the second memory 222 and re-format the data while moving the data. Data within the protocol stack is usually transferred in the form of a data packet, (i.e., an SDU or a PDU). The PDUs and SDUs include a header, a body and an optional padding. The header contains all the necessary information about the packet format. The padding is an optional field containing no data of value used to bring the packet length to some required length.

[0038] For transmitting a data packet, the protocol stack, (e.g., MAC-d 232,

MAC-hs 234, MAC-e 236, RLC 238, RRC 239, or RABM/PDCP 240), sends a control word describing the requirements for data packet construction to the PE 210. The control word includes information for the PE 210 to determine (directly or via pointers) the location of source data in the second memory 222. The PE 210 retrieves the source data from the second memory 222 based on the control word and generates a PDU including a header, a body and padding (if necessary). The PE 210 then places the PDU in the shared memory 220 according to the

control word. The PDU is then processed by a transmit frame hardware 246 and a transmit chip rate hardware 248 for transmission. Optionally, the PE 210 may be instructed to pad the packet with a specific data stream which is included in the control word either directly or indirectly (via a pointer). The optional padding may be watermarking information for security purposes. [0039] For receiving a data packet, received data is processed by receive chip rate hardware 242 and receive frame hardware 244. The processed data, (i.e., a received packet), is placed in the shared memory 220. The PE 210 receives a control word from the protocol stack and retrieves the packet from the shared memory 220. The PE 210 extracts a header from the packet and interprets the header. The PE 210 then performs segmentation of the packet and generates, and places, an SDU in a location in the second memory according to a control word from the protocol stack. The header is passed to the protocol stack either as a whole or with information extracted from it as per the control word. The padding is discarded. Optionally, if other information (such as watermark information) is included in the padding, the padding would be extracted, either as is, or partially, and placed in the location of the memory specified in the control word.

[0040] Figures 3 and 4 show implementation of the PE 210 in the downlink and uplink, respectively, in accordance with the present invention. As stated above, the protocol stack 310 performs control operations and the PE 210 performs data processing and re-formatting operations. Control operations performed by the protocol stack 310 include, but are not limited to, RABM RAB establishment and maintenance, (i.e., tear-down and re-establishment of an RAB), PDCP SRNS relocation, RLC delivery protocols including in-sequence delivery (RLC AM and UM) and RLC PDU recovery protocols (RLC-AM), MAC TF selection (MAC-d, MAC-c, MAC-e/es), and MAC reordering queue processing (MAC-hs).

[0041] Data processing and re-formatting operations performed by the PE

210 include, but are not limited to, PDPC IP header compression and decompression, RLC SDU/PDU segmentation and concatenation, RLC header

insertion, MAC header insertion (MAC-d, MAC-c, and MAC-e/es), RLC header extraction and interpretation, and MAC header extraction, interpolation and processing (MAC-d, MAC-c and MAC-hs).

[0042] As shown in Figures 3 and 4, the PE 210 performs data plane operations while moving data to and from the shared memory 220 in accordance with the control word from the protocol stack 310, (such as IP header compression/decompression, RLC SDU/PDU segmentation/concatenation, MAC header insertion/extraction, and MAC-hs queue maintenance, or the like). These operations will be described in greater detail with respect to Figures 5-lOB. [0043] Figure 5 is a block diagram of a UMTS AS protocol stack 500 including a PE 210 in accordance with the present invention. The UMTS AS protocol stack 500 includes an RRC layer 510, an RABM/PDCP layer 512, an RLC layer 514, a MAC layer 516, and a PE 210. The MAC layer 516 includes MAC-c 522, MAC-d 524, MAC-hs 526 and MAC-e/es 528. Figure 5 shows HSUPA operations with the PE 210 as an example. All HSUPA control functions are executed within the UMTS AS protocol stack 500, (i.e., the RRC layer 510, RABM/PDCP layer 512, RLC layer 514 and MAC layer 516), while data processing is performed by the PE 210.

[0044] The RRC 510 configures the RLC layer 514, the MAC layer 516 and the physical layer 518 by sending configuration, reconfiguration and reset signals. With respect to HSUPA, the RRC layer 510 processes HSUPA capability reporting from WTRUs, configures MAC-d flows over enhanced dedicated channel (E-DCH), controls HSUPA activation and deactivation, and configures physical channels and the MAC-e/es 528 for HSUPA.

[0045] The MAC-e/es 528 performs HSUPA scheduling and rate calculation, E-DCH transport format combination (E-TFC) restriction and selection, MAC-d flow multiplexing, or the like, and sends control parameters to the PE 210. The RLC 514 also sends control parameters to the PE 210 regarding in-sequence delivery and retransmission control.

[0046] Upon receipt of the control parameters from the MAC-e/es 528 and the RLC 514, the PE 210 processes the dedicated control channel (DCCH) data

and dedicated traffic channel (DTCH) data received from the RLC 514. The processing includes RLC PDU construction of MAC SDUs from SDUs received from the RLC 514 via the DCCH and DTCH, (i.e., SDU to PDU segmentation and RLC header insertion), and construction of MAC-e/es PDUs from the MAC SDUs, (i.e., MAC-e/es header insertion), based on control parameters received from the MAC-e/es 528. The PE 210 also schedules PDU specific timers. The PE 210 generates the MAC-e/es PDUs and moves the MAC-e/es PDUs to the shared memory 220 for transmit processing by the physical layer 518. [0047] Figure 6 shows a process for PDU decomposition for downlink processing in the PE 210 in accordance with the present invention. In the downlink processing, the PE 210 performs two operations: PDU decomposition and SDU generation. Received MAC-hs PDUs 612, (i.e., transport blocks), delivered from the physical layer via transport channels are placed in the shared memory 220. The HSDPA channel data is delivered every 2 ms while dedicated channel (DCH) data is delivered at 10ms, 20ms or 40ms intervals. The data stored in the shared memory 220 must be removed as quickly as possible to limit the size of the shared memory 220.

[0048] The PE 210 retrieves the MAC-hs PDUs 612 from the shared memory 220 and moves them to the second memory 222 while decomposing the MAC-hs PDUs 612 into a plurality of MAC SDUs 614. The protocol stack interprets the MAC-hs header and sets up the PE 210 per MAC SDU 614. The PE 210 may perform ciphering while moving the MAC-hs PDUs 612. After decomposition based on the control word, the PE 210 places the decomposed MAC SDUs 614 in the second memory 222 in locations designated by the control word. The MAC SDUs 614 may not have arrived in proper sequence. When enough contiguous MAC SDUs 614 have arrived, the PE 210 performs reordering of the MAC SDUs 614 and concatenates the MAC SDUs 614 into an SDU 616 and places the generated SDU 616 in a location of the second memory 222 according to the control word.

[0049] Figure 7 shows a process for PDU generation for uplink processing in the PE 210 in accordance with the present invention. The protocol stack

creates a MAC header 718 and an RLC header 720 and sends a control word to the PE 210, as shown in Figures 3 and 4. The control word contains necessary information for generating a MAC PDU 730 including a pointer to SDU data 710, (i.e., a header 712, SDUs 714, a status 716), in the second memory 222. The PE 210 gathers the SDU data 710 and generates a MAC PDU 730 by merging the SDU data 710, the MAC header 718, the RLC header 720 and padding 722, (if necessary). The PE 210 then places the generated MAC PDU 730 in the shared memory 220 according to the control word. The PE 210 may perform ciphering while generating the MAC PDU 730, if needed.

[0050] Figure 8 shows a process for PDU decomposition in downlink processing in the PE in a greater detail in accordance with the present invention. The top row represents the shared memory 220 having 32-bit words. The second row represents a MAC-hs PDU 810, (i.e., a transport block). The MAC-hs PDU 810 is placed in the shared memory 220 after physical layer processing. The MAC-hs PDU 810 includes a MAC-hs header 812 and a plurality of MAC-hs SDUs 814. Up to 70 MAC-hs SDUs 814 may be contained in a single MAC-hs PDU 810. Each MAC-hs SDU 814, which is a MAC-d PDU, includes a MAC header 822 (optional) and a MAC SDU 824. The MAC SDU 824 includes an RLC header 826 and a data payload 828. The MAC header 822 and the RLC header 826 include bit fields that need to be extracted. The PE 210 extracts the MAC-hs header 812, the MAC header 822 and the RLC header 826 from the shared memory 220 and moves the data payload 828 from the shared memory 220 to the second memory 222 while decomposing it into a plurality of MAC SDUs 814. Deciphering may be performed, if needed.

[0051] The data in the shared memory 220 is indicated by a stream pointer.

The pointer is automatically updated after data extraction, moving or insertion operations. For example, before moving the data payload 828, the stream pointer indicates the location A in the shared memory 220. After the PE 210 moves the data payload 828 the stream pointer indicates the location B in the shared memory 220.

[0052] It should be noted that Figure 8 illustrates downlink processing of

HSDPA channel data as an example. However, the present invention is applicable to both the downlink and uplink and to any other type of channel data, such as dedicated channel data, HSUPA channel data, or the like. [0053] Figures 9A and 9B show an operation of a stream_extract (n) function in accordance with the present invention. After definition of "input stream pointer", the PE extracts 1 to 32 bits from an input stream and updates a stream pointer. Figure 9A shows the case of 9-bit extraction from a single word, and Figure 9B shows the case of 5-bit extraction from two words. The stream_extract (n) function returns 1 to 32 bits from the data stream in the shared memory.

[0054] Figures 1OA and 1OB show an operation of a stream_insert (d,n) function in accordance with the present invention. After definition of "output stream pointer", the PE inserts 1 to 32 bits into an output stream and updates the stream pointer. Figure 1OA shows the case of 9-bit insertion in a single word, and Figure 1OB shows the case of 5-bit insertion over two words. The stream_insert (d,n) function inserts 1 to 32 bits to the data stream in the shared memory. The data stream is pointed by the pointer and the pointer is updated after insertion.

[0055] Figure 11 is a flow diagram of a process 1100 for receive processing in accordance with the present invention. The process 1100 is explained with reference to Figures 6, 8, 9A and 9B as well. The PE 210 receives a signal from a host indicating that a receive data block, (e.g., MAC-hs PDUs 612, 810), is available for disassembly (step 1102). The signal includes the address of the data block in the shared memory 220. The PE 210 executes stream_extract instructions to access bit fields in the source stream in the shared memory 220 (step 1104). Each stream_extract instruction returns the requested number of bits from the source stream into a specified register. The stream pointer is updated to point to the bit after the field that has just been extracted as shown in Figures 9A and 9B. The PE 210 interprets the bit fields of the MAC-hs header

812 from the source stream (step 1106). As the MAC-hs header 812 is interpreted, information about the MAC-hs SDUs 814 that will follow is collected. [0056] When the MAC-hs header 812 has been read, the source stream pointer should be pointing at the first bit of the first MAC header 822. The PE 210 continues to extract, and interpret, the MAC header 822 and the RLC header 826 using the stream_extract instructions. When the RLC header 826 has been interpreted, the source stream pointer should be pointing at the first bit of the data payload 828 of the first MAC SDU 824.

[0057] The PE 210 is now ready to process the data payload 828. The PE

210 starts pushing the data 828 through a datapath, (i.e., generate MAC SDUs while moving the data payload 828 to the second memory 222), (step 1108). The data 828 may be pushed through a ciphering logic, if so configured. The resulting data is merged into a data write buffer and written to the appropriate destination address space in the second memory 222.

[0058] The PE 210 receives a signal from a host indicating that enough

MAC SDUs 614, 824 have been received and an SDU 616 can be created (step 1110). The PE 210 accesses a control word created by the protocol stack, (i.e., L2/3), that identifies the source addresses of the blocks to be merged. Each address includes the starting bit address and a length in the second memory 222. The control word also includes a destination address in the second memory 222. The PE 210 takes data indicated by the source addresses and merges them into a data write buffer (step 1112). The merged data is then written to the appropriate destination address space in the second memory 222. The PE 210 continues to add data payload until all of the sources have been processed and the entire SDU 616 is created.

[0059] Figure 12 is a flow diagram of a process 1200 for transmit processing in accordance with the present invention. The process 1200 is explained with reference to Figures 7, 8, 1OA and 1OB as well. The PE 210 receives a signal from a host indicating that data is ready to be formatted into transport block sets, (i.e., MAC PDUs) (step 1202). Using information from the protocol stack (L2/3), the PE 210 generates header fields, (i.e., MAC header 718

and RLC header 720), for the data to be translated (step 1204). For each field in the header, the PE 210 performs stream_insert instructions. The stream-insert instruction presents data and a bit length. Since the PE 210 is a programmable processor, it can keep track of block numbers, or the like using its own resources

(e.g., registers, memory, or the like). The PE 210 performs appropriate shift and merge operations to place the specified number of bits into the outgoing bit stream. The PE 210 continues to use the stream_insert instructions until the complete headers are created. When the headers 718, 720 are complete, the outgoing stream pointer should be pointing to the next available bit position as shown in Figures 1OA and 1OB.

[0060] For the data payload, (i.e., SDU data 710), using information from

L2/3, the PE 210 takes data from the source stream in the second memory 222 and, if so configured, may push it through the ciphering logic (step 1206). The

PE 210 merges the resulting data into the data write buffer and writes it in the appropriate destination address in the shared memory 220 (step 1208). The PE

210 continues to add header information, (via stream_insert instructions), and add data payload until the entire packet 730 is created.

[0061] Embodiments.

[0062] 1. A WTRU comprising a protocol stack configured to execute a control function, the protocol stack issuing a control word for processing data.

[0063] 2. The WTRU of embodiment 1 further comprising a protocol engine configured to process the data based on the control word.

[0064] 3. The WTRU as in any embodiments 1-2, wherein the protocol stack is an NAS protocol stack.

[0065] 4. The WTRU as in any embodiments 1-2, wherein the protocol stack is an AS protocol stack.

[0066] 5. The WTRU of embodiment 4 wherein the protocol stack includes at least one of an RRC layer processor, a MAC layer processor, an RLC layer processor and a physical layer processor.

[0067] 6. The WTRU as in any embodiments 1-5, wherein the control word specifies parameters for RAB establishment and maintenance.

[0068] 7. The WTRU as in any embodiments 1-6, wherein the control word specifies parameters for SRNS relocation.

[0069] 8. The WTRU as in any embodiments 1-7, wherein the control word specifies parameters for RLC delivery protocols.

[0070] 9. The WTRU as in any embodiments 1-8, wherein the control word specifies parameters for MAC transport format selection.

[0071] 10. The WTRU as in any embodiments 1-9, wherein the control word specifies parameters for MAC reordering queue processing.

[0072] 11. The WTRU as in any embodiments 1-10, wherein the control word specifies parameters for HSUPA scheduling and rate calculation

[0073] 12. The WTRU as in any embodiments 1-11, wherein the control word specifies parameters for E-TFC restriction and selection.

[0074] 13. The WTRU as in any embodiments 1-12, wherein the control word specifies parameters for MAC-d flow multiplexing.

[0075] 14. The WTRU as in any embodiments 2-13, wherein the protocol engine is configured to perform PDCP IP header compression and decompression.

[0076] 15. The WTRU as in any embodiments 2-14, wherein the protocol engine is configured to perform RLC SDU/PDU segmentation and concatenation.

[0077] 16. The WTRU as in any embodiments 2-15, wherein the protocol engine is configured to perform RLC header insertion.

[0078] 17. The WTRU as in any embodiments 2-16, wherein the protocol engine is configured to perform MAC header insertion.

[0079] 18. The WTRU as in any embodiments 2-17, wherein the protocol engine is configured to perform RLC header extraction and interpretation.

[0080] 19. The WTRU as in any embodiments 2-18, wherein the protocol engine is configured to perform MAC header extraction and interpolation.

[0081] 20. The WTRU as in any embodiments 2-19, wherein the protocol engine is configured to generate a packet comprising a header, a body and padding based on the control word.

[0082] 21. The WTRU as in any embodiments 2-20, wherein the protocol engine is configured to include specific data in the packet as a padding

[0083] 22. The WTRU of embodiment 21 wherein the specific data is a watermark.

[0084] 23. The WTRU as in any embodiment 2-22, wherein the protocol engine is configured to extract a specific portion of a received packet.

[0085] 24. The WTRU of embodiment 23 wherein the protocol engine is configured to extract a padding of the received packet.

[0086] 25. The WTRU as in any embodiments 2-24, wherein the protocol engine is configured to parse a body of a received packet into a plurality of parsed packets.

[0087] 26. The WTRU as in any embodiments 2-25, wherein the protocol engine is configured to perform ciphering and deciphering on the data.

[0088] 27. The WTRU as in any embodiments 2-26, further comprising a shared memory for storing the data, the shared memory being accessible by protocol stack processors.

[0089] 28. The WTRU of embodiment 27 further comprising a second memory, whereby the protocol engine processes the data while moving the data between the shared memory and the second memory based on the control word.

[0090] 29. The WTRU as in any embodiments 27-28, wherein the shared memory is an SRAM.

[0091] 30. The WTRU as in any embodiments 28-29, wherein the second memory is one of a DRAM and an SDRAM.

[0092] 31. The WTRU as in any embodiments 2-30, wherein the protocol engine is configured to decompose a MAC PDU into a plurality of MAC SDUs and concatenate the MAC SDUs to an SDU based on the control word.

[0093] 32. The WTRU as in any embodiments 27-31, wherein the protocol engine retrieves the MAC PDU from the shared memory according to the control word.

[0094] 33. The WTRU as in any embodiments 28-32, wherein the protocol engine places the MAC SDUs and the SDU in the second memory.

[0095] 34. The WTRU as in any embodiments 2-33, wherein the protocol engine is configured to gather SDU data, a MAC header and an RLC header and

generate a MAC PDU by merging the SDU data and the MAC header, the RLC header and padding.

[0096] 35. The WTRU of embodiment 34 wherein the SDU data, the

MAC header and the RLC header are placed in the second memory.

[0097] 36. The WTRU of embodiment 34 wherein the MAC PDU is placed in the shared memory.

[0098] 37. The WTRU as in any embodiments 2-36, wherein the protocol engine is configured to perform ciphering while generating the MAC PDU.

[0099] 38. The WTRU as in any embodiments 2-37, wherein the protocol engine is configured to extract a bit field from a data stream using a stream extraction function.

[00100] 39. The WTRU as in any embodiments 2-38, wherein the protocol engine is configured to insert a bit field into a data stream using a stream insertion function.

[00101] 40. The WTRU as in any embodiments 2-39, wherein the protocol engine comprises two separate processors, one for transmit processing and the other for receive processing.

[00102] 41. A protocol engine for processing data in accordance with a control word issued by a protocol stack in a WTRU

[00103] 42. The protocol engine of embodiment 41 comprising at least one input for receiving the control word from the protocol stack.

[00104] 43. The protocol engine of embodiment 42 comprising a processor configured to construct a data packet for transmission from source data and reformat a received data packet for receive processing in accordance with the control word.

[00105] 44. The protocol engine of embodiment 43 wherein the processor is configured to extract a bit field from a data stream using a stream extraction function.

[00106] 45. The protocol engine as in any embodiments 43-44, wherein the processor is configured to insert a bit field into a data stream using a stream insertion function.

[00107] 46. The protocol engine as in any embodiments 43-45, wherein the processor retrieves the source data from a second memory and places the constructed data packet in a shared memory in accordance with the control word.

[00108] 47. The protocol engine as in any embodiments 43-46, wherein the processor retrieves the received data packet from a shared memory and places the reformatted data packet in a second memory in accordance with the control word.

[00109] 48. The protocol engine of embodiment 47 wherein the shared memory is an SRAM and the second memory is one of a DRAM and an SDRAM.

[00110] 49. A method for processing data in a WTRU which includes a protocol engine which performs data processing and re-formatting operations and a protocol stack which performs decision and control operations.

[00111] 50. The method of embodiment 49 comprising the protocol engine receiving a control word from the protocol stack.

[00112] 51. The method of embodiment 50 comprising the protocol engine either constructing a data packet from source data or reformatting a received data packet for receive processing in accordance with the control word.

[00113] 52. The method as in any embodiments 50-51, wherein the protocol engine retrieves the source data from a second memory and places the constructed data packet in a shared memory in accordance with the control word.

[00114] 53. The method as in any embodiments 50-52, wherein the processor retrieves the received data packet from a shared memory and places the reformatted data packet in a second memory in accordance with the control word.

[00115] 54. The method as in any embodiments 49-53, wherein the protocol engine extracts a bit field from a data stream to reformat the received data packet using a stream extraction function.

[00116] 55. The method as in any embodiments 49-54, wherein the protocol engine inserts a bit field into a data stream to construct the data packet using a stream insertion function.

[00117] 56. The method as in any embodiments 49-55, wherein the protocol stack is an NAS protocol stack.

[00118] 57. The method as in any embodiments 49-55, wherein the protocol stack is an AS protocol stack.

[00119] 58. The method as in any embodiments 49-57, wherein the protocol stack includes at least one of an RRC layer processor, a MAC layer processor, an RLC layer processor and a physical layer processor.

[00120] 59. The method as in any embodiments 50-58, wherein the control word specifies parameters for RAB establishment and maintenance.

[00121] 60. The method as in any embodiments 50-59, wherein the control word specifies parameters for SRNS relocation.

[00122] 61. The method as in any embodiments 50-60, wherein the control word specifies parameters for RLC delivery protocols.

[00123] 62. The method as in any embodiments 50-61, wherein the control word specifies parameters for MAC transport format selection.

[00124] 63. The method as in any embodiments 50-62, wherein the control word specifies parameters for MAC reordering queue processing.

[00125] 64. The method as in any embodiments 50-63, wherein the control word specifies parameters for HSUPA scheduling and rate calculation.

[00126] 65. The method as in any embodiments 50-64, wherein the control word specifies parameters for E-TFC restriction and selection.

[00127] 66. The method as in any embodiments 50-65, wherein the control word specifies parameters for MAC-d flow multiplexing.

[00128] 67. The method as in any embodiments 49-66, wherein the protocol engine is configured to perform PDCP IP header compression and decompression.

[00129] 68. The method as in any embodiments 49-67, wherein the protocol engine is configured to perform RLC SDU/PDU segmentation and concatenation.

[00130] 69. The method as in any embodiments 49-68, wherein the protocol engine is configured to perform RLC header insertion.

[00131] 70. The method as in any embodiments 49-69, wherein the protocol engine is configured to perform MAC header insertion.

[00132] 71. The method as in any embodiments 49-70, wherein the protocol engine is configured to perform RLC header extraction and interpretation.

[00133] 72. The method as in any embodiments 49-71, wherein the protocol engine is configured to perform MAC header extraction and interpolation.

[00134] 73. The method as in any embodiments 50-72, wherein the protocol engine is configured to generate a packet comprising a header, a body and padding based on the control word.

[00135] 74. The method as in any embodiments 49-73, wherein the protocol engine is configured to include specific data in the packet as the padding

[00136] 75. The method of embodiment 74 wherein the specific data is a watermark.

[00137] 76. The method as in any embodiments 49-75, further comprising the protocol engine performing ciphering on the transmit PDU and deciphering on the received PDU.

[00138] 77. An IC comprising a protocol stack configured to execute a control function, the protocol stack issuing a control word for processing data.

[00139] 78. An IC of embodiment 77 further comprising a protocol engine configured to process the data based on the control word.

[00140] Although the features and elements of the present invention are described in the preferred embodiments in particular combinations, each feature or element can be used alone without the other features and elements of the preferred embodiments or in various combinations with or without other features and elements of the present invention.