CN102468883A - Speed regulation method for sending aggregation frame by 802.11n - Google Patents
Speed regulation method for sending aggregation frame by 802.11n Download PDFInfo
- Publication number
- CN102468883A CN102468883A CN2010105468240A CN201010546824A CN102468883A CN 102468883 A CN102468883 A CN 102468883A CN 2010105468240 A CN2010105468240 A CN 2010105468240A CN 201010546824 A CN201010546824 A CN 201010546824A CN 102468883 A CN102468883 A CN 102468883A
- Authority
- CN
- China
- Prior art keywords
- speed
- frame
- issues
- transmission
- aggregate
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000002776 aggregation Effects 0.000 title abstract description 6
- 238000004220 aggregation Methods 0.000 title abstract description 6
- 230000005540 biological transmission Effects 0.000 claims abstract description 62
- 230000009467 reduction Effects 0.000 claims abstract description 26
- 108700026140 MAC combination Proteins 0.000 claims description 13
- 230000001105 regulatory effect Effects 0.000 claims description 9
- 238000006116 polymerization reaction Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention provides a speed regulation method for transmitting an aggregation frame by 802.11n, which comprises a method for determining the transmission failure times of AMPDU, a method for retransmitting and reducing the speed and a method for driving the speed regulation. A proper sending rate can be found by temporarily setting a cycle of the three steps of the highest sending rate, the speed reduction retransmission and the speed adjustment, and the sending rate is converged to the optimal rate after a plurality of cycles. The invention combines the method of hardware automatic speed reduction and software speed regulation, has simple realization mode and small resource cost, and can quickly find the optimal speed when the aggregation frame is started to be sent and the channel quality is changed.
Description
Technical field
The present invention relates to the WLAN field,, be specially adapted in the realization with the WLAN network interface card of the high-throughput of hardware achieve frame polymerizable functional and access point chip as a kind of aggregate frame speed regulating method of flexible practicality.
Background technology
In order to improve the channel utilization of wireless network, 802.11 international standards have adopted techniques of frame aggregation.Techniques of frame aggregation increases progressively a plurality of MAC protocol frames (hereinafter to be referred as MPDU) exactly according to sequence number sequential polymerization becomes an aggregate frame (hereinafter to be referred as AMPDU), and MPDU is called the subframe of AMPDU.If do not receive acknowledgement frame BA, then all subframes are sent failure among the AMPDU behind the transmission AMPDU, and MAC need retransmit and send the subframe of failing; If receive BA, then MAC can remove the subframe of BA successful respond, continues to retransmit the subframe of not replying.
In the design of the wireless network card of usb host interface and access point chip, the function that MPDU aggregates into AMPDU realizes with hardware.For the achieve frame polymerization, a very big frame buffer is arranged on the sheet, be used for storing driver to be issued to the MPDU on the sheet through USB interface, also have the frame buffer controller, be used for the read-write of control frame buffer, and aggregate into AMPDU to MPDU.Driving is confirmed transmission rate for each subframe, and is issued to together in the frame buffer on the sheet with MPDU.
Wireless device in more abominable air traffic channel work adopts than higher speed transmission AMPDU, and probability of successful is smaller.In order to improve probability of successful, equipment will send the number of times reduction transmission rate of failure according to frame.Equipment has sent AMPDU; If do not receive acknowledgement frame BA; Then the frame buffer controller is packaged into new AMPDU to the MPDU that sends failure together with the MPDU that just has been issued to frame buffer and retransmits, and the speed of re-transmission is definite according to the initialization speed of bust this number of times and MPDU.Because the bust this number of times of the MPDU among the AMPDU is different, thus need to propose the bust this number of times that a kind of method is confirmed AMPDU, and confirm to retransmit the method for reduction of speed.Reduction of speed sends successfully or the result that fails need inform driving, drives according to sending result and transmission rate to carry out speed governing.The present invention proposes the speed regulating method of a kind of AMPDU of flexible practicality, comprise the method for the method of the bust this number of times of confirming AMPDU, the method that retransmits reduction of speed and driving speed governing.
Summary of the invention
The present invention proposes the speed regulating method of a kind of AMPDU of flexible practicality, comprise the method for the method of the bust this number of times of confirming AMPDU, the method that retransmits reduction of speed and driving speed governing.
In the design of the WLAN chip of usb host interface, the function of frame aggregation realizes with hardware.Frame buffer controller achieve frame polymerizable functional, in order to realize retransmitting reduction of speed, the frame buffer controller need safeguard that is sent a frequency of failure for each MPDU.Performing step is following:
1) each MPDU that issues from USB interface sends the frequency of failure and is initialized as 0;
2) send behind the AMPDU if do not receive BA, then the transmission frequency of failure of each subframe increases progressively 1 among the AMPDU.
3) send behind the AMPDU if receive BA, then remove the subframe of the BA successful respond in the frame buffer controller, BA does not have the re-transmission frequency of failure of the subframe of successful respond to increase progressively 1.
Subframe in the aggregate frame possibly comprise the MPDU that has just issued from USB interface and send the MPDU that aggregate frame does not have successful respond before.The bust this number of times of the MPDU that has just issued from USB interface is 0, does not have bust this number of times >=1 of the MPDU of successful respond before.Driving the speed that issues for each subframe in the aggregate frame also maybe be different.The bust this number of times of regulation AMPDU of the present invention equals the bust this number of times of first subframe, and the driving that the speed that the driving of AMPDU issues equals first subframe issues speed.
MAC carries out reduction of speed according to the transmission frequency of failure of AMPDU, and the speed of reduction of speed can be by drive controlling.For the automatic reduction of speed function that realizes can joining flexibly, MAC need define the transmission rate collection register rate_bitmap that retransmits control register retry_ctrl and AMPDU support.Performing step is following:
1) driving is configured to two natural number fail_times and fall_level among the Retry_ctrl, fail_times back of the every transmission failure of expression MAC transmission rate reduction of speed fall_level shelves; Be configured to rate_bitmap to the transmission rate collection of the AMPDU of chip support.
2) if the transmission frequency of failure of aggregate frame less than fail_times, then transmission rate equals to drive the speed that issues; If more than or equal to fail_times, but less than 2*fail_times, then transmission rate is fallen the fall_level shelves than the speed of drive arrangements; With this recursion;
3) transmission rate reduction of speed reduction of speed no longer behind the minimum speed limit, transmission rate equals minimum speed limit;
Result and transmission rate that the AMPDU reduction of speed sends are informed driving, drive through the probability of success of each transmission rate in statistics a period of time to carry out speed governing.Performing step is following:
1) probability of success of each transmission rate in statistics a period of time, the speed that probability is the highest is optimal rate;
2) if the probability of success that issues speed greater than certain threshold value high_limit, then transmission rate is heightened, up to transferring to high tap position;
3) if the probability of success that issues speed less than certain threshold value low_limit, then transmission rate is reduced to optimal rate;
4) constant if the probability of success that issues speed between low_limit and high_limit, then issues speed.
The method of automatic reduction of speed of hardware of the present invention and software speed governing is simple and practical, when channel quality changes, can search best transmission rate fast.
Description of drawings
Dotted line in the accompanying drawing is divided and is driven and hardware, is to drive the function of accomplishing above, is the function that hardware is accomplished below.Generate_MPDU is the framing module of MAC protocol frame, and Select_rate is that MPDU selects to issue speed, and the transmission rate of the AMPDU that returns according to hardware with send the result and carry out speed governing.The MPDU and the speed thereof of driving and generating are issued to hardware through USB_interface.
Frame_buffer_controller safeguards the stored information and the control information of frame among the Frame_buffer, and the MPDU memory allocated space, the polymerization of accomplishing MPDU, the control that issue for USB_interface retransmit reduction of speed etc.The MPDU and the control information thereof that issue from USB_interface are saved in the Frame_buffer; The speed that aggregates into first subframe of output behind the AMPDU is given the fall_rate module, and the fall_rate module is according to the speed of first subframe and the speed of bust this number of times calculating AMPDU.
AMPDU possibly receive BA after sending, and also possibly not receive BA.Whether MAC receives that the information that reaches among the BA returns fail_counter to BA, and fail_counter is according to the transmission frequency of failure of the every frame MPDU of BA information calculations that returns, as the foundation of the rate selection of next frame AMPDU.Frame_buffer_controller returns the select_rate module to the relevant information of the transmission rate of AMPDU and BA reception through USB_interface, and select_rate issues speed according to the information updating of returning.
Embodiment
When block transmission mechanism is set up in driving, confirm the speed regulating method of AMPDU, and be issued to the fall_rate functional module in the hardware to parameter f ail_times, fall_level and rate_bitmap through USB interface.When driving issues MPDU, for each MPDU distributes a transmission rate.Just set up block transmission mechanism, when beginning to send AMPDU, driving can't be foreseen and adopt which transmission rate probability of successful maximum, and general Select_rate can distribute high transmission rate for polymerisable MPDU.
MPDU and transmission rate are issued in the frame buffer in the hardware through USB interface; Frame buffer controller polymerization MPDU generates AMPDU; The driving of AMPDU issues the driving that speed equals first subframe and issues speed, so AMPDU adopts to drive and issues speed and send when just having set up block transmission mechanism.
Result according to the AMPDU that returns sends does not have the transmission frequency of failure of the MPDU of successful respond to progressively increase 1 after the transmission.The frame buffer controller do not have the MPDU of successful respond with just when USB interface issues MPDU aggregate into AMPDU once more, the speed of AMPDU is according to sending the transmission of frequency of failure reduction of speed.The method of reduction of speed is every transmission failure fail_times time, and transmission rate issues reduction of speed fall_level shelves on the basis of speed in driving, up to reducing to minimum speed limit.
Return the result that AMPDU sends once more, fail_counter upgrades the transmission frequency of failure of the MPDU that does not have successful respond once more, and frame buffer is polymerization once more, and AMPDU reduction of speed once more sends.Send repeatedly according to the method described above, if channel quality is bad, the speed of AMPDU can reduce fast, up to reducing to proper transmission rate.
Behind each transmission AMPDU, hardware all returns to driving to the response result of BA, drives the probability of success through each speed in statistics a period of time.If it is lower to issue the probability of success of speed, then the Select_rate reduction issues speed, selects the issue speed of the highest speed of the probability of success as subsequent frame; If the probability of success is very high, then raising issues speed; If it is constant that the probability of success in suitable scope, then issues speed.
Through a circulation of above-mentioned tentative flank speed, reduction of speed re-transmission, three steps of adjustment speed, just can find proper transmission rate, transmission rate will converge on iptimum speed after the several cycles.Through above-mentioned method, when beginning to send aggregate frame and channel quality change, can find iptimum speed fast.
Claims (4)
1. a 802.11n sends the speed regulating method of aggregate frame, the speed that it is characterized in that sending aggregate frame by the automatic reduction of speed of MAC with drive the mode that speed governing combines and confirm that step is following:
(1) MAC protocol frame and transmission rate are issued in the frame buffer in the hardware through USB interface, and frame buffer controller polymerization MAC protocol frame generates aggregate frame and sends;
(2) result who sends according to the aggregate frame of returning; There is not the transmission frequency of failure of the MAC protocol frame of successful respond to progressively increase 1 after the transmission; The frame buffer controller aggregates into aggregate frame to MAC protocol frame that does not have successful respond and the MAC protocol frame that just issues from USB interface once more, and the speed of aggregate frame is sent according to sending frequency of failure reduction of speed;
(3) hardware returns the result that aggregate frame is sent once more; Renewal does not have the transmission frequency of failure of the MAC protocol frame of successful respond; Frame buffer controller polymerization does not once more have the MAC protocol frame of successful respond and the MAC protocol frame that has just issued from USB interface; Aggregate frame reduction of speed is once more sent, and sends repeatedly according to (2)-(3) step, up to reducing to suitable transmission rate;
(4) send aggregate frame at every turn after; Hardware all returns to driving to the response result of acknowledgement frame; Drive the probability of success of each speed in statistics a period of time; If it is lower to issue the probability of success of speed, then reduce the speed that issues of aggregate frame, select the issue speed of the highest speed of the probability of success as follow-up aggregate frame; If the probability of success is very high, then raising issues speed; If it is constant that the probability of success in suitable scope, then issues speed.
2. a kind of 802.11n as claimed in claim 1 sends the speed regulating method of aggregate frame, it is characterized in that the frame buffer controller safeguards the transmission frequency of failure of each subframe in the aggregate frame, and every frame MAC protocol frame sends the frequency of failure and is initialized as 0 when USB interface issues; Every transmission is not once received successful respond, and the transmission frequency of failure of subframe progressively increases 1; Drive when beginning to send to each MAC protocol frame distributes high transmission rate, the number of times of the every transmission failure of MAC protocol frame regulation, transmission rate issues the speed that reduces regulation on the basis of speed in driving, up to reducing to minimum speed limit.
3. a kind of 802.11n as claimed in claim 1 sends the speed regulating method of aggregate frame; It is characterized in that the transmission frequency of failure of aggregate frame equals the transmission frequency of failure of aggregate frame first subframe, the driving of aggregate frame issues the driving that speed equals aggregate frame first subframe and issues speed.
4. a kind of 802.11n as claimed in claim 1 sends the speed regulating method of aggregate frame, it is characterized in that the transmission rate of MAC transmission aggregate frame and transmission result inform driving, drives and utilizes the speed speed governing of returning, and performing step is following:
(1) probability of success of each transmission rate in statistics a period of time, the speed that the probability of success is the highest is optimal rate;
(2) if the probability of success that issues speed greater than high threshold, then transmission rate is heightened, up to transferring to high tap position;
(3) if the probability of success that issues speed less than lowest threshold, then transmission rate is reduced to optimal rate;
(4) constant if the probability of success that issues speed between lowest threshold and high threshold, then issues speed;
(5) drive the speed that issues that speed is decided to be subsequent frame that issues after upgrading.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105468240A CN102468883A (en) | 2010-11-16 | 2010-11-16 | Speed regulation method for sending aggregation frame by 802.11n |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105468240A CN102468883A (en) | 2010-11-16 | 2010-11-16 | Speed regulation method for sending aggregation frame by 802.11n |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102468883A true CN102468883A (en) | 2012-05-23 |
Family
ID=46072116
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010105468240A Pending CN102468883A (en) | 2010-11-16 | 2010-11-16 | Speed regulation method for sending aggregation frame by 802.11n |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102468883A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102970118A (en) * | 2012-12-04 | 2013-03-13 | 福建星网锐捷网络有限公司 | Transmission control protocol acknowledgement (TCP ACK) message processing method and device and wireless network equipment |
| CN103986564A (en) * | 2014-05-09 | 2014-08-13 | 北京奇天揽胜科技有限公司 | Message transmitting method and device for wireless local area network |
| CN105338576A (en) * | 2014-08-01 | 2016-02-17 | 展讯通信(上海)有限公司 | Method and device for controlling transmission rate of physical layer |
| CN113225608A (en) * | 2021-03-16 | 2021-08-06 | 浙江大华技术股份有限公司 | Video transmission method, device, equipment and storage medium based on wireless network |
| CN115396950A (en) * | 2022-08-29 | 2022-11-25 | 北京奕斯伟计算技术股份有限公司 | Wireless communication device, system and data aggregation method |
| CN120723689A (en) * | 2025-08-29 | 2025-09-30 | 深圳市鼎阳科技股份有限公司 | SPI bus communication method and device for measuring instrument, SPI interface |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101069379A (en) * | 2005-09-29 | 2007-11-07 | 株式会社东芝 | Retransmission management of wireless communication apparatus |
| CN101150501A (en) * | 2007-10-31 | 2008-03-26 | 广州市新邮通信设备有限公司 | Self-adapted adjustment method for network speed in radio bandwidth access network |
| US20100232452A1 (en) * | 2004-01-09 | 2010-09-16 | Kabushiki Kaisha Toshiba | Communication apparatus, communication method, and communication system |
-
2010
- 2010-11-16 CN CN2010105468240A patent/CN102468883A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100232452A1 (en) * | 2004-01-09 | 2010-09-16 | Kabushiki Kaisha Toshiba | Communication apparatus, communication method, and communication system |
| CN101069379A (en) * | 2005-09-29 | 2007-11-07 | 株式会社东芝 | Retransmission management of wireless communication apparatus |
| CN101150501A (en) * | 2007-10-31 | 2008-03-26 | 广州市新邮通信设备有限公司 | Self-adapted adjustment method for network speed in radio bandwidth access network |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102970118A (en) * | 2012-12-04 | 2013-03-13 | 福建星网锐捷网络有限公司 | Transmission control protocol acknowledgement (TCP ACK) message processing method and device and wireless network equipment |
| CN102970118B (en) * | 2012-12-04 | 2015-06-17 | 福建星网锐捷网络有限公司 | Transmission control protocol acknowledgement (TCP ACK) message processing method and device and wireless network equipment |
| CN103986564A (en) * | 2014-05-09 | 2014-08-13 | 北京奇天揽胜科技有限公司 | Message transmitting method and device for wireless local area network |
| CN105338576A (en) * | 2014-08-01 | 2016-02-17 | 展讯通信(上海)有限公司 | Method and device for controlling transmission rate of physical layer |
| CN105338576B (en) * | 2014-08-01 | 2019-03-29 | 展讯通信(上海)有限公司 | The control method and device of the transmission rate of physical layer |
| CN113225608A (en) * | 2021-03-16 | 2021-08-06 | 浙江大华技术股份有限公司 | Video transmission method, device, equipment and storage medium based on wireless network |
| CN115396950A (en) * | 2022-08-29 | 2022-11-25 | 北京奕斯伟计算技术股份有限公司 | Wireless communication device, system and data aggregation method |
| CN120723689A (en) * | 2025-08-29 | 2025-09-30 | 深圳市鼎阳科技股份有限公司 | SPI bus communication method and device for measuring instrument, SPI interface |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102468883A (en) | Speed regulation method for sending aggregation frame by 802.11n | |
| US8908498B2 (en) | Buffer space allocation method and device | |
| CN107241164B (en) | Method and device for processing repeated transmission of radio bearer | |
| CN100576955C (en) | A terminal operation method and device based on a relative command of a non-serving base station | |
| JP6194422B2 (en) | Method for transmitting uplink control information, user apparatus and base station | |
| CN1567736A (en) | A method for improving transmission efficiency of wireless network channel | |
| EP2200209A1 (en) | Method and apparatus for improving hybrid automatic repeat request procedure in the transition of transmission time interval bundling in a wireless communication system | |
| CN102271034B (en) | Long term evolution (LTE) uplink hybrid automatic repeat request (HARQ) control method | |
| US20230300743A1 (en) | Indication information validation method and apparatus, terminal, and readable storage medium | |
| CN110034901A (en) | The generation method of hybrid automatic repeat request code book, user equipment, medium | |
| JP2010165350A (en) | Downstream device service latency reporting for power management | |
| CN103457707B (en) | A kind of data transmission method, Apparatus and system | |
| CN101720538A (en) | Method and apparatus for H-ARQ process memory management | |
| US20160037552A1 (en) | Method and apparatus to adapt the number of harq processes in a distributed network topology | |
| EP1583274A1 (en) | Method of stall identification and recovery | |
| CN116743317B (en) | Data transmission method based on universal chip interconnection standard | |
| CN1575026A (en) | Time scheduling with stop-and-wait arq process | |
| CN101944983A (en) | Be used for method and system in communication network transmission and receiving management message | |
| IL270775B2 (en) | Data indicating method and related products | |
| CN104349475A (en) | TDD-FDD (time division duplex-frequency division duplex) cross-carrier scheduling method and device | |
| CN106793110B (en) | Data transmission method and base station | |
| CN105813142B (en) | A method, device and system for sending data frame | |
| CN116886247B (en) | Baud rate self-adaption method and device based on UART communication, UART system and medium | |
| CN105323043A (en) | Method and device for communication based on unauthorized frequency band | |
| EP2477437A1 (en) | Method and device for operating and managing memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120523 |