[go: up one dir, main page]

CN102572936B - Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame - Google Patents

Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame Download PDF

Info

Publication number
CN102572936B
CN102572936B CN201010612131.7A CN201010612131A CN102572936B CN 102572936 B CN102572936 B CN 102572936B CN 201010612131 A CN201010612131 A CN 201010612131A CN 102572936 B CN102572936 B CN 102572936B
Authority
CN
China
Prior art keywords
frame
msdu
polymerization
mpdu
buffering area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010612131.7A
Other languages
Chinese (zh)
Other versions
CN102572936A (en
Inventor
曹淋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201010612131.7A priority Critical patent/CN102572936B/en
Publication of CN102572936A publication Critical patent/CN102572936A/en
Application granted granted Critical
Publication of CN102572936B publication Critical patent/CN102572936B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提出一种无线聚合帧的发送处理方法,包括以下步骤:协议发送处理单元将发送装置当前所有待发送的MSDU帧依次进行协议上的处理;然后对所有处理后的待发送的MSDU帧进行判断,根据判断结果不同执行不同的操作,如果判断当前所有待发送的MSDU帧为多个,则根据标准聚合帧中可包括的MSDU帧数目,分离出多条MSDU子链,并在每条子链头部添加一个用于负载聚合帧的MPDU帧,然后把每条子链分别存入当前可用的空闲缓冲区中;通过建立并启动DMA传输事务,把当前缓冲区中的每一条MSDU子链中的多个MSDU帧拷贝到子链头部的MPDU帧中;在收到聚合完成消息后,协议发送处理单元依次将缓冲区中完成聚合的MPDU帧交给MAC发送单元进行发送。本发明在MAC硬件不支持聚合的情况下,通过硬件DMA控制器完成对多个MSDU帧聚合的拷贝,提高MPDU帧的发送处理效率,并且保证了发送数据帧的顺序。

The present invention proposes a method for sending and processing wireless aggregation frames, which includes the following steps: the protocol sending processing unit performs protocol processing on all MSDU frames currently to be sent by the sending device in sequence; and then performs protocol processing on all processed MSDU frames to be sent Judgment, perform different operations according to different judgment results. If it is judged that there are multiple MSDU frames to be sent, multiple MSDU sub-chains are separated according to the number of MSDU frames that can be included in the standard aggregation frame, and each sub-chain Add an MPDU frame for the load aggregation frame at the head, and then store each sub-chain in the currently available free buffer; by establishing and starting a DMA transfer transaction, transfer the data in each MSDU sub-chain in the current buffer Multiple MSDU frames are copied to the MPDU frame at the head of the sub-chain; after receiving the aggregation completion message, the protocol sending processing unit sequentially hands over the aggregated MPDU frames in the buffer to the MAC sending unit for sending. In the case that the MAC hardware does not support the aggregation, the invention completes the copy of the aggregation of multiple MSDU frames through the hardware DMA controller, improves the sending processing efficiency of the MPDU frame, and ensures the order of sending data frames.

Description

A kind of transmission processing method and dispensing device of wireless aggregation frame
Technical field
The present invention relates to wireless LAN communication field, relate in particular to a kind of transmission processing method and related device of wireless aggregation frame.
Background technology
In order to increase the transmission rate of WLAN (wireless local area network) (WLAN), IEEE802.11 working group has set up 802.11n task groups to be devoted to this.802.11n standard has all adopted a lot of measures in physical layer and MAC layer.802.11n standard has introduced in physical layer the technology that OFDM (OFDM) combines with multiple-input, multiple-output (MIMO), and the use of this technology lays the foundation for realizing high-speed transfer, becomes the high-performance physical layer standard of (Physics is called for short PHY).In the basic mac-layer protocol of 802.11n, can obtain liberally medium in order to ensure each website and use chance and avoid conflict as far as possible, use a series of controlling mechanisms; These mechanism have also been brought fixed overhead in improving systematic function, and these expenses have limited the raising of throughput of system, and MAC layer is by adopting techniques of frame aggregation effectively to improve throughput of system.
Multiple Frames that are in the nature of frame aggregation mechanism share a MAC head, have simplified the structure of frame, have removed the interFrameGap between protocol frame and competition time in the past, thereby have improved the throughput of MAC layer.The A-MSDU technology that 802.11n agreement provides, requires MAC layer user to be required to multiple load frames MSDU(MAC protocol Data Units of its transmission) composition a load aggregation frame A-MSDU transmit, to improve efficiency of transmission.According to standard, a corresponding MPDU frame of user load frame MSDU (MPDU, Medium Access Control (MAC) Service Data Unit), and MPDU frame is in the time of transmission, requires recipient to send a corresponding acknowledgement frame (ACK) to confirm transmission success.When multiple user load frame MSDU are reconfigured as after an A-MSDU load aggregation frame, due to the only corresponding MPDU of A-MSDU, then reduce the number of acknowledgement frame, thus expense reduced, reach the object that improves efficiency of transmission.
Conventionally, the hardware components of MAC layer is only responsible for the transmission of MPDU message to receive, and is common MSDU frame or A-MSDU aggregate frame without what be concerned about the carrying of MPDU message.But, for MAC layer software section, must be concerned about the content format of MPDU message carrying.Because before sending and construct MPDU message, MAC layer software must be responsible for the MSDU frame aggregation of quantification to form A-MSDU aggregate frame together.So in the enforcement of A-MSDU polymerization technique, can relate to the copy of MSDU frame, in the time sending, multiple MSDU frames be merged into an aggregate frame by copy.Clearly, if these copy functions are completed by software, expense is quite large so, wishes thereby offset A-MSDU the efficiency of transmission of bringing, and simultaneously, current most of MAC hardware are not supported the polymerization to MSDU frame
Summary of the invention
The object of the invention is, a kind of transmission processing method and corresponding intrument of wireless aggregation frame is provided, in the situation that MAC hardware is not supported polymerization, complete efficiently the transmission of aggregate frame.
To achieve these goals, the invention provides a kind of transmission processing method of wireless aggregation frame, comprising:
Current dispensing device all Medium Access Control (MAC) Protocol Data Unit MSDU frames to be sent are carried out successively the processing in agreement by A, agreement transmission processing unit;
B, then agreement transmission processing unit judges all MSDU frames to be sent after treatment, if judge that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a Medium Access Control (MAC) Service Data Unit MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head;
C, receiving that polymerization completes after message, agreement transmission processing unit is given MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively and is sent, simultaneously for needing the subchain of polymerization to set up in buffering area and starting DMA transmission transaction.
Concrete, in described step B, agreement transmission processing unit judges all MSDU frames to be sent after treatment,
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf.
Concrete, apply in the time of initialization described buffering area, can be divided into multiple subregions, the corresponding data frame queue of every sub regions and a polymerization mark.
In described step B, depositing this single MPDU frame in current available freebuf refers to, agreement transmission processing unit is searched in buffering area, when in buffering area, last,, not for the Frame queue in empty subregion is the queue of depositing single MPDU frame, deposits this MPDU frame in this MPDU frame queue; Otherwise directly this MPDU frame is deposited in the Frame queue in the subregion of current sky, and the polymerization that this queue is set is masked as.
In described step C, receiving that polymerization completes after message, MPDU frame in the Frame queue of the subregion that agreement transmission processing unit has been masked as polymerization is successively given MAC transmitting element and is sent, and sets up and start DMA transmission transaction for polymerization is masked as uncompleted Frame queue.
Another object of the present invention provides a kind of dispensing device of aggregate frame, comprising:
Buffering area, the MPDU frame sending for storing MAC transmitting element to be given;
Agreement transmission processing unit, for the current all MSDU frames to be sent of dispensing device are carried out to the processing in agreement successively, and then when judging that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head;
Polymerization DMA controlled processing unit, for complete agreement transmission processing unit set up DMA transmission transaction, and after transmission transaction completes polymerization notification protocol transmission processing unit;
Described agreement transmission processing unit also for, receive having depolymerized when message of polymerization DMA controlled processing unit, giving MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively sends, simultaneously for needing in buffering area the subchain of polymerization to set up and starting DMA transmission transaction, thereby will in buffering area, need the multiple MSDU frames in the subchain of polymerization to copy in the MPDU frame of subchain head.
Concrete, described agreement transmission processing unit is also for making the following judgment and carry out corresponding operating,
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf.
Concrete, apply in the time of initialization described buffering area, can be divided into multiple subregions, the corresponding data frame queue of every sub regions and a polymerization mark.
Concrete, described polymerization DMA controlled processing unit comprises that polymerization dma controller subelement and polymerization DMA complete handling procedure subelement,
Described polymerization dma controller subelement, the DMA transmission transaction of setting up for completing agreement transmission processing unit; And after completing for the DMA transmission transaction all, complete handling procedure subelement by down trigger polymerization DMA and carry out corresponding program;
Described polymerization DMA completes handling procedure subelement, has been masked as for the polymerization of Frame queue that the corresponding subregion in buffering area is set, then sends polymerization and completes message to agreement transmission processing unit.
Concrete, described agreement transmission processing unit in the present invention also for, receiving that polymerization completes after message, single MSDU frame in the Frame queue of the subregion that release polymerization has been masked as, and after giving MAC transmitting element by the MPDU frame in the Frame queue of this subregion and sending, empty this subregion.
To sum up, the in the situation that the present invention not supporting polymerization at MAC hardware, complete the copy to multiple MSDU frame aggregations by hardware dma controller, improve the transmission processing efficiency of MPDU frame, and guaranteed to send the order of Frame.
Accompanying drawing explanation
Fig. 1 is the flow chart of the transmission processing embodiment of the method for wireless aggregation frame of the present invention.
Fig. 2 is the dispensing device structural representation of wireless aggregation frame of the present invention.
Fig. 3 is the structural representation of the dispensing device embodiment of wireless aggregation frame of the present invention.
Fig. 4 is the structural representation of the buffering area of the dispensing device of wireless aggregation frame of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Referring to Fig. 1, be the flow chart of the transmission processing embodiment of the method for wireless aggregation frame provided by the invention, its concrete steps are:
Current dispensing device all MSDU frames to be sent are carried out successively the processing in agreement by step 101, agreement transmission processing unit;
In this step, the MSDU that dispensing device generally sends needs is stored in MSDU transmit queue, then sends the message informing agreement transmission processing unit of joining the team; Agreement transmission processing unit receives joining the team after message of MSDU frame, takes out all MSDU frames from MSDU transmit queue, carries out the relevant treatment in MSDU agreement.
Step 102, agreement transmission processing unit judge all MSDU frames to be sent after treatment, and carry out different operations according to judged result difference:
If judge that sub-step 1021 judges that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head.
If judge sub-step 1022 judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send; In this sub-step, because current buffering area is empty, the current MSDU frame that does not need to wait for polymerization is described, does not exist congestedly, do not have the order-preserving problem that sends frame simultaneously, can directly give MAC transmitting element by current single MPDU frame and send.
If judge sub-step 1023 judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf; In this sub-step, because current buffering area is not empty, illustrate and need the MSDU of polymerization frame queuing up, may there is network congestion in explanation, so in order to guarantee the sequence of Frame, current single MPDU frame sequential need to be put into buffering area and queue up for queue or the freebuf of depositing single MPDU frame.
Step 103, receiving that polymerization completes after message, agreement transmission processing unit is given MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively and is sent, simultaneously for needing the subchain of polymerization to set up in buffering area and starting DMA transmission transaction.
In another embodiment of the present invention, will be divided into multiple subregions for the buffering area of depositing MPDU frame temporarily, the corresponding data frame queue of every sub regions and a polymerization mark.Frame queue is used for storing single MPDU frame or waits for the MPDU frame of polymerization, and polymerization mark can be divided into and not complete two types.When Frame queue stores be continuous N PDU single frames time, the polymerization of this queue has been masked as, and claims that this Frame queue is MPDU frame queue; What deposit in when Frame queue is while waiting for the MPDU frame of polymerization, the polymerization of this queue has been masked as, this Frame queue is called aggregate frame queue, once the MSDU frame in simultaneously aggregate frame queue has all copied to after the MPDU frame of queue stem, the polymerization mark of this queue become and this queue in single MSDU frame can be deleted.
In the agreement transmission processing unit of dispensing device, to dispensing device, the current all MSDU frames that send that need carry out after the processing in agreement, start all MSDU frames to be sent after treatment to judge, according to the different operation of the different execution of judged result, be specially:
If judge that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a MPDU frame for load aggregation frame at every strip chain head, then in buffering area, search idle subregion, and current MSDU subchain is joined respectively successively in the Frame queue of different idle subregions, and the polymerization that this Frame queue is set has been masked as; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the MSDU subchain of Frame queue in first subregion in current buffering area are copied in the MPDU frame of subchain head;
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
If judge current all to be sent be only single MSDU frame, and current buffering area is not empty, in buffering area, search, when in buffering area, last,, not for the Frame queue in empty subregion is MPDU frame queue, deposits this MPDU frame in this MPDU frame queue; Otherwise directly this MPDU frame is deposited in the Frame queue in the subregion of current sky, and the polymerization that this queue is set is masked as.
After DMA transmission transaction completes, generally can send out polymerization and complete message to agreement transmission processing unit, agreement transmission processing unit; Receiving that polymerization completes after message, the MSDU frame in the Frame queue of the subregion that the release polymerization of agreement transmission processing unit has been masked as, and the MPDU frame in the Frame queue of this subregion is given after MAC transmitting element, empty this subregion.Be masked as uncompleted subregion if found polymerization, stop MPDU frame to give MAC transmitting element, set up and start multiple DMA transmission transactions, thereby the MSDU frame in Frame queue corresponding current subregion is copied in the MPDU frame in Frame queue head successively.
The present invention also provides a kind of device embodiment that implements above-mentioned wireless aggregation frame transmission processing method, and as shown in Figure 2, this dispensing device comprises:
Buffering area, the MPDU frame sending for storing MAC transmitting element to be given;
Agreement transmission processing unit, for the current all MPDU frames to be sent of dispensing device are carried out to the processing in agreement successively, and then judges current all MPDU frames to be sent after treatment, carries out different operations according to judged result difference:
Judge when current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head;
Judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
Judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf;
Polymerization DMA controlled processing unit, for complete agreement transmission processing unit set up DMA transmission transaction, and after transmission transaction completes polymerization notification protocol transmission processing unit;
Described agreement transmission processing unit also for, when the polymerization of receiving polymerization DMA controlled processing unit completes message, giving MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively sends, simultaneously for needing in buffering area the subchain of polymerization to set up and starting DMA transmission transaction, thereby will in buffering area, need the multiple MSDU frames in the subchain of polymerization to copy in the MPDU frame of subchain head.
Referring to Fig. 3, be the embodiment of the dispensing device of wireless aggregation frame provided by the invention, comprise the buffering area of the MPDU frame for storing MAC transmitting element transmission to be given, Fig. 4 is the structural representation of the buffering area of the embodiment of the present invention; Receiving system of the present invention also comprises for current MSDU frame to be sent is carried out processing in agreement, and then all MSDU frames after treatment are judged, carries out the agreement reception & disposal unit of different operating according to the difference of judged result.Also comprise the DMA transmission transaction of setting up for completing agreement transmission processing unit, and after transmission transaction completes polymerization the polymerization DMA controlled processing unit of notification protocol transmission processing unit.
In the present embodiment, polymerization DMA controlled processing unit comprises polymerization dma controller subelement, the DMA transmission transaction of setting up for completing agreement transmission processing unit; And after completing for the DMA transmission transaction all, complete handling procedure subelement by down trigger polymerization DMA and carry out corresponding program; Also comprise that polymerization DMA completes handling procedure subelement, be masked as for the polymerization of Frame queue that the corresponding subregion in buffering area is set, then send polymerization and complete message to agreement transmission processing unit.
For the more deep the present invention that understands, the detailed process that the existing dispensing device with regard to this inventive embodiments is implemented transmission processing method of the present invention is elaborated, and in the present embodiment, is defined as follows parameter:
MPDU-SUB-SIZE represents the number of subregion in buffering area,
The position of the subregion that MPDU-AMSDU-IDEX represents to carry out polymerization in buffering area,
The position of the subregion that MPDU-MPDU-IDEX represents to deposit MPDU frame in buffering area,
MPDU-EMPTY-IDEX represents the position of idle subregion in buffering area,
In the each sub regions in buffering area, the polymerization mark of Frame queue has two value: Done and Undone, and wherein Done represents that converging operationJu Hecaozuo completes, and Undone represents that converging operationJu Hecaozuo does not complete.
The MSDU that first dispensing device sends needs is stored in MSDU transmit queue, then sends the message informing agreement transmission processing unit of joining the team; Agreement transmission processing unit completes after the protocol processes of current all MSDU frames to be sent, detect and whether need to carry out converging operationJu Hecaozuo, and carry out converging operationJu Hecaozuo in the time of needs converging operationJu Hecaozuo after, aggregate frame is given to MAC transmitting element and send, so the concrete operations that agreement transmission processing unit is carried out are referring to following steps A01-A03:
Steps A 01: whether the inquiry of agreement transmission processing unit has polymerization to complete message, if not, carry out inquiry and the operation of steps A 02, otherwise whether the position MPDU-AMSDU-IDEX of the subregion that further polymerization is being carried out in judgement in buffering area equals the idle subregion position MPDU-EMPTY-IDEX in buffering area, if, return to inquiry and the operation of proceeding this steps A 01, otherwise whether the polymerization mark that further judges the corresponding subregion of MPDU-AMSDU-IDEX is Done, if, take out the MPDU frame in Frame queue in subregion, give successively MAC transmission processing unit, empty this subregion, and MPDU-AMSDU-IDEX=(MPDU-AMSDU-IDEX+1 is set) mod MSDU-SUB-SIZE, and return to this A01 step, otherwise enter the operation of steps A 03,
Steps A 02: whether agreement transmission processing unit inquiry has the MSDU message of joining the team, if not, perform step inquiry and the operation of A01, otherwise from MSDU transmit queue, take out all MSDU frames to be sent, and successively MSDU frame is wherein carried out to the processing in agreement, complete after the processing of all MSDU frames to be sent, start MSDU frame after treatment to make the following judgment and carry out corresponding operation, until all MSDU frames are completed to judgement and respective operations, then enter inquiry and the operation of steps A 01:
If current all MSDU frames to be sent are only a MSDU, and MPDU-AMSDU-IDEX equals MSDU-EMPTY-IDEX, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element and sends; Return to this determining step;
If current all MSDU frames to be sent are only a MSDU, and MPDU-AMSDU-IDEX is not equal to MSDU-EMPTY-IDEX, this MSDU frame is encapsulated as to single MPDU frame; Then, if MPDU-MPDU-IDEX is not equal to MPDU-EMPTY-IDEX, MPDU message is put into the afterbody of the Frame queue of the corresponding subregion of MPDU-MPDU-IDEX, returned to this determining step; Otherwise, if (MPDU-EMPTY-IDEX+1) mod MPDU-SUB-SIZE equals MPDU-AMSDU-IDEX, abandon this MPDU frame, otherwise MPDU-EMPTY-IDEX=(MPDU-EMPTY-IDEX+1 is set) mod MPDU-SUB-SIZE, MPDU message is put into the Frame queue of the corresponding empty subregion of MPDU-MPDU-IDEX, the polymerization that subregion is set is masked as Done, returns to this determining step;
If current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate a MSDU subchain, and add the MPDU frame of a load aggregation frame at this MSDU subchain head, then whether judgement (MPDU-EMPTY-IDEX+1) mod MPDU-SUB-SIZE equals MPDU-AMSDU-IDEX, if it is abandon current MPDU subchain, return to this determining step, otherwise current MSDU subchain is stored in the Frame queue of the idle subregion that MPDU-EMPTY-IDEX is corresponding, and the polymerization that the queue of subregion Frame is set is masked as Undone, MPDU-EMPTY-IDEX=(MPDU-EMPTY-IDEX+1) mod MPDU-SUB-SIZE, MPDU-MPDU-IDEX=MPDU-EMPTY-IDEX, if before adding MSDU subchain, MPDU-AMSDU-IDEX equals MPDU-EMPTY-IDEX, sets up and starts multiple DMA transmission transactions, the content of multiple MSDU frames in corresponding MSDU child list is copied to the MPDU frame place of MSDU subchain head, return to this determining step.
Steps A 03, agreement transmission processing unit is set up and is started after multiple DMA transmission transactions, and agreement transmission processing unit enters inquiry and the operation of steps A 02; Polymerization dma controller unit carry on an agreement transmission processing unit set up DMA transmission transaction, the MSDU frame in the Frame queue of corresponding subregion is copied in the MPDU frame of head; After all DMA transmission transactions complete, polymerization dma controller unit completes handling procedure unit by down trigger polymerization DMA and carries out; Polymerization DMA completes after the trigger notice that handling procedure unit obtains polymerization dma controller unit, and the polymerization that first subregion that in buffering area, MPDU-AMSDU-IDEX is corresponding is set is masked as Done, then sends polymerization and completes message to agreement transmission processing unit.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. a transmission processing method for wireless aggregation frame, is characterized in that, comprises the steps:
Current dispensing device all Medium Access Control (MAC) Protocol Data Unit MSDU frames to be sent are carried out successively the processing in agreement by A, agreement transmission processing unit;
B, then agreement transmission processing unit judges all MSDU frames to be sent after treatment, if judge that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a Medium Access Control (MAC) Service Data Unit MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head;
C, receiving that polymerization completes after message, agreement transmission processing unit is given MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively and is sent, simultaneously for needing the subchain of polymerization to set up in buffering area and starting DMA transmission transaction.
2. the transmission processing method of wireless aggregation frame as claimed in claim 1, is characterized in that, in described step B, agreement transmission processing unit judges all MSDU frames to be sent after treatment,
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf.
3. the transmission processing method of wireless aggregation frame as claimed in claim 2, is characterized in that, apply in the time of initialization described buffering area, can be divided into multiple subregions, the corresponding data frame queue of every sub regions and a polymerization mark.
4. the transmission processing method of wireless aggregation frame as claimed in claim 3, it is characterized in that, in described step B, depositing this single MPDU frame in current available freebuf refers to, agreement transmission processing unit is searched in buffering area, when in buffering area, last,, not for the Frame queue in empty subregion is for depositing the queue of single MPDU frame, deposits this MPDU frame in this MPDU frame queue; Otherwise directly this MPDU frame is deposited in the Frame queue in the subregion of current sky, and the polymerization that this queue is set is masked as.
5. the transmission processing method of wireless aggregation frame as claimed in claim 3, it is characterized in that, in described step C, receiving that polymerization completes after message, MPDU frame in the Frame queue of the subregion that agreement transmission processing unit has been masked as polymerization is successively given MAC transmitting element and is sent, and sets up and start DMA transmission transaction for polymerization is masked as uncompleted Frame queue.
6. a dispensing device for wireless aggregation frame, is characterized in that, comprising:
Buffering area, the MPDU frame sending for storing MAC transmitting element to be given;
Agreement transmission processing unit, for the current all MSDU frames to be sent of dispensing device are carried out to the processing in agreement successively, and then when judging that current all MSDU frames to be sent are multiple, according to the MSDU frame number that can comprise in standard polymerization frame, isolate many MSDU subchains, and add a MPDU frame for load aggregation frame at every strip chain head, then every subchain is deposited in respectively in current available freebuf; If buffering area is empty before this adds subchain, sets up and start DMA transmission transaction, so that the multiple MSDU frames in the Article 1 MSDU subchain in current buffering area are copied in the MPDU frame of subchain head;
Polymerization DMA controlled processing unit, for complete agreement transmission processing unit set up DMA transmission transaction, and after transmission transaction completes polymerization notification protocol transmission processing unit;
Described agreement transmission processing unit also for, when the polymerization of receiving polymerization DMA controlled processing unit completes message, giving MAC transmitting element by the MPDU frame that completes polymerization in buffering area successively sends, simultaneously for needing in buffering area the subchain of polymerization to set up and starting DMA transmission transaction, thereby will in buffering area, need the multiple MSDU frames in the subchain of polymerization to copy in the MPDU frame of subchain head.
7. the dispensing device of wireless aggregation frame as claimed in claim 6, is characterized in that, described agreement transmission processing unit is also for making the following judgment and carry out corresponding operating,
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as after single MPDU frame, gives MAC transmitting element to send;
If judge current all to be sent be only single MSDU frame, and current buffering area be sky, this MSDU frame is encapsulated as to single MPDU frame, and this single MPDU frame is deposited in current available freebuf.
8. the dispensing device of wireless aggregation frame as described in claim 6 or 7, is characterized in that, apply in the time of initialization described buffering area, can be divided into multiple subregions, the corresponding data frame queue of every sub regions and a polymerization mark.
9. the dispensing device of wireless aggregation frame as claimed in claim 8, is characterized in that, described polymerization DMA controlled processing unit comprises that polymerization dma controller subelement and polymerization DMA complete handling procedure subelement,
Described polymerization dma controller subelement, the DMA transmission transaction of setting up for completing agreement transmission processing unit; And after completing for the DMA transmission transaction all, complete handling procedure subelement by down trigger polymerization DMA and carry out corresponding program;
Described polymerization DMA completes handling procedure subelement, has been masked as for the polymerization of Frame queue that the corresponding subregion in buffering area is set, then sends polymerization and completes message to agreement transmission processing unit.
10. the dispensing device of wireless aggregation frame as claimed in claim 8, it is characterized in that, described agreement transmission processing unit also for, receiving that polymerization completes after message, single MSDU frame in the Frame queue of the subregion that release polymerization has been masked as, and after giving MAC transmitting element by the MPDU frame in the Frame queue of this subregion and sending, empty this subregion.
CN201010612131.7A 2010-12-29 2010-12-29 Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame Expired - Fee Related CN102572936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010612131.7A CN102572936B (en) 2010-12-29 2010-12-29 Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010612131.7A CN102572936B (en) 2010-12-29 2010-12-29 Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame

Publications (2)

Publication Number Publication Date
CN102572936A CN102572936A (en) 2012-07-11
CN102572936B true CN102572936B (en) 2014-06-18

Family

ID=46417128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010612131.7A Expired - Fee Related CN102572936B (en) 2010-12-29 2010-12-29 Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame

Country Status (1)

Country Link
CN (1) CN102572936B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796490B (en) * 2015-05-07 2018-10-12 浪潮电子信息产业股份有限公司 Synchronous data message transmission method
CN109996343B (en) * 2017-12-29 2022-04-29 华为技术有限公司 Multi-channel hybrid transmission method and device in wireless local area network
CN115225711A (en) * 2022-06-01 2022-10-21 裕太微(上海)电子有限公司 Ethernet equipment of high-efficient transmission
CN115396950A (en) * 2022-08-29 2022-11-25 北京奕斯伟计算技术股份有限公司 Wireless communication device, system and data aggregation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898912A (en) * 2004-09-10 2007-01-17 三菱电机株式会社 Method and system for aggregating frames to be transmitted over channel in wireless network
CN101073243A (en) * 2004-12-14 2007-11-14 松下电器产业株式会社 Wireless communication apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7760629B2 (en) * 2007-09-04 2010-07-20 Cisco Technology, Inc. Aggregate data frame generation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898912A (en) * 2004-09-10 2007-01-17 三菱电机株式会社 Method and system for aggregating frames to be transmitted over channel in wireless network
CN101073243A (en) * 2004-12-14 2007-11-14 松下电器产业株式会社 Wireless communication apparatus

Also Published As

Publication number Publication date
CN102572936A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN104244324B (en) Transmission of radio links method and system
CN101411134B (en) Memory management for high speed media access control
JP5521257B2 (en) Group resource allocation for wireless communication
RU2009143674A (en) BASE STATION, MOBILE STATION, COMMUNICATION SYSTEM, TRANSMISSION METHOD AND RE-ORDERING METHOD
CN107623954A (en) Radio communication device and wireless communications method
CN101657029B (en) Method and terminal for sending terminal polymerization media access control protocol data unit frames
EP2183890B1 (en) Aggregate data frame generation
CN107787009B (en) Congestion processing method, device and system
CN102572936B (en) Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame
JP2005311920A5 (en)
JP2005006340A5 (en)
JP2023517081A (en) Communication method and device
CN103974339B (en) A kind of method and apparatus of data buffer storage
CN102547847B (en) Reception processing method and reception device for wireless aggregation frame
CN104506279B (en) For the up-downgoing method for parallel processing under RLC AM patterns in LTE
CN105307207B (en) Method for data transmission in wireless networking device and wireless networking device
CN103814602B (en) The apparatus and method of transmission service while for supporting the data based on Multi net voting
TW202308364A (en) Wireless communication device and data processing method
WO2008080308A1 (en) A wireless transmission method, device and system
US20210243135A1 (en) Techniques for Avoiding Collisions Among Communications Packets by Using Shared Transmission Queue
CN109274467A (en) Data retransmission processing method, RLC entity and MAC entity
TW201029395A (en) Method and apparatus for forwarding packets
CN101909283B (en) M2M (Machine-to-Machine) platform and method for sharing load downloaded with in high capacity
CN109688085B (en) Transmission control protocol proxy method, storage medium and server
CN101222294B (en) Method and apparatus for handling reset in a wireless communications system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: No. 1, No. 288 building, 610041 floor, Maipu Sichuan province Chengdu Tianfu Avenue, 17 floor

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041, 17 floor, maple building, 1 building, 288 Tianfu street, Chengdu, Sichuan.

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140618