A personal computer's (PC) microprocessor is used to provide both the physical layer (PHY) and media access control (MAC) processing functions required to implement a wireless local area network (WLAN) adapter. This technique uses the microprocessor within the personal computer to pre-compute the time critical PHY waveforms required to respond to received packets. For instance, the acknowledge (ACK) waveform required to respond to a received WLAN packet is pre-computed and stored in the PC memory. Upon receipt of a valid packet, the samples of the ACK waveform are transferred from the PC memory to a digital to analog converter (DAC). The DAC generates the transmit waveform required for the radio modulator. By pre-computing the transmit waveform samples, the required loading on the PC microprocessor is reduced during time critical periods.
|
0. 19. A host computer comprising:
a memory; and
a central processing unit (CPU) configured to:
make a determination that the transmitter address of a received packet is not in an index of known addresses;
in response to making the determination, generate a set of control frames for the transmitter address;
generate a transmit waveform for each control frame in the set of control frames; and
store the generated transmit waveforms in the memory.
1. A method for the reduction of transmit processing in response to a received packet in a communications system comprising:
generating a plurality of transmit control frames for responding to received packets;
generating transmit waveform samples from the generated plurality of transmit control frames;
storing the transmit waveform samples in buffer memory;
receiving a packet;
determining a transmit waveform sample associated with the received packet; and
transmitting the determined transmit waveform sample.
12. A method for the reduction of transmit processing in response to a received packet in a communications system comprising the steps of:
maintaining in memory a plurality of transmit waveform samples;
generating new transmit waveform samples in response to detection of new transmit addresses in the system;
saving the new transmit waveform samples to the memory;
indexing the memory based on receiving a specific transmit address in a received packet;
determining an appropriate transmit waveform sample from the indexed memory; and
transmitting the appropriate transmit waveform sample.
0. 18. A host computer comprising:
means for pre-computing a transmit waveform; and
means for transmitting, the pre-computed transmit waveform in response to receiving a packet, wherein the means for pre-computing the transmit waveform comprise means for generating a transmit waveform for each control frame in the set of control frames, the means comprising:
means for generating a first set of frames comprising a request to send (RTS) control frame, a clear to send (CTS) control frame, an acknowledge (ACK) control frame, a PS-Poll control frame, and a CF-End control frame, wherein a receive address for each frame in the first set of frames comprises a transmitter address of a received packet;
for each frame in the first set of frames, means for generating a second set of frames comprising a frame with a power management bit set to a 1 and a frame with the power management bit set to a 0; and
for each frame in the second set of frames, means for generating a third set of frames comprising a frame for each of one or more data rates.
2. A method as in
4. A method as in
5. A method as in
6. A method as in
14. A method as in
0. 20. The host computer of claim 19, wherein the CPU configured to generate the set of control frames comprises the CPU configured to:
generate a first set of frames comprising a request to send (RTS) control frame, a clear to send (CTS) control frame, an acknowledge (ACK) control frame, a PS-Poll control frame, and a CF-End control frame, wherein a receive address for each frame in the first set of frames comprises the transmitter address of the received packet;
for each frame in the first set of frames, generate a second set of frames comprising a frame with a power management bit set to a 1 and a frame with the power management bit set to a 0; and
for each frame in the second set of frames, generate a third set of frames comprising a frame for each of one or more data rates.
|
This invention relates to electronic communications systems and more particularly to a system for enabling a computer to transmit and receive information over a packet based wireless communications link. This invention claims the benefit of priority to U.S. Provisional Patent Application No. 60/383,045 filed May 24, 2002.
The host microprocessor of personal computers has been used to provide the signal processing functions required to implement wire line analog communications functions for some time. The MODEM functions required to implement exiting wire line standards were historically implemented in software running on dedicated signal processors on the modem hardware. With the advent of more and more powerful personal computers it became possible to implement much of the processing software on the host processor within the PC. Using the host processor instead of dedicated signal processors greatly reduces the cost of the MODEM hardware. If the host processor is powerful enough, the impact on other application running on the host is relatively small when MODEM processing is performed.
The advent of small low cost radios and small portable notebook computers has spurred the recent growth of wireless local area networks (WLAN). These networks are high bandwidth (>1 Mb/s) half duplex packet networks, which contrast with the wire line networks, which are relatively low bandwidth (<56 kb/s), full duplex, and circuit switched. The same cost savings gained in the wire line network adapters by moving the MODEM functions from dedicated hardware to the PC host processor is theoretically possible with WLAN adapters. However, the bit rates and thus the amount of processing required for WLAN adapters is much higher than that of the wire line adapters. On the surface it would appear that the processing required by the WLAN adapter would make the load on the PC host microprocessor prohibitive.
There are several features of the WLAN waveforms and protocol, which can be exploited to allow the host processor in a PC to perform the MODEM functions without significant impact to other applications running on the host processor. First, the WLAN protocol is half duplex, which dictates the host processor is never required to process both transmit and receive waveforms simultaneously. Second, the WLAN protocol is packet based, which means the host processor is not required to process data in a continuous fashion. Third, since the protocol is packet based, every packet is proceeded by a preamble. The preambles can be used to trigger the host processor to perform MODEM processing only when valid packets arrive at the receiver.
Because the WLAN protocol is half duplex much of the time critical processing required in the implementation is the response to valid received packets with a positive acknowledgement (ACK) or other control message. In hardware implementations, the ACK waveform and other control messages are regenerated each time a valid packet is received or the control message is to be sent. The waveform is regenerated even though much of the waveform samples required to generate an ACK is the same each time a packet is received. Similarly, in the case of other control messages much of the frame format is identical for each of the control messages to be sent and thus can be pre-computed and stored in memory.
A primary objective of the present invention is to provide a technique for enabling a personal computer to transmit and receive information over a packet based wireless communications link at very low cost by using the personal computers central processing unit (CPU) to perform most of the communications link processing.
A secondary objective is to use the personal computers CPU to provide the processing for the packet based wireless communications link in such a way as to minimize the processing load on the CPU so that it can be used simultaneously for both wireless packet data and other desktop applications.
The present invention utilizes the fact that much of the WLAN control frame formats required in the protocol contain data that does not change or changes very slowly. Because these frame formats contain data that does not change very often, the base band waveform required to send the frame formats does not change. This allows the base band waveform samples to be pre-computed, stored in memory and then sent to the transmitter when needed. By storing the waveform ahead of time, the computations required by the host CPU during the time critical period right after a valid packet reception can be reduced. One such control frame of particular interest is an ACK frame. Upon receipt of a valid data frame, the WLAN protocol requires that an ACK frame be sent within 10-20 microseconds (us). Because of the tight timeline for transmitting the ACK after a valid packet receipt, having the ACK pre-computed and stored in memory allows a software based WLAN adapter to provide the ACK in the necessary timeline.
Before explaining the disclosed embodiment of the present invention in detail it is to be understood that the invention is not limited in its application to the details of the particular arrangement shown since the invention is capable of other embodiments. Also, the terminology used herein is for the purpose of description and not of limitation.
Wireless Local Area Networks (WLAN) such as that standardized in IEEE 802.11, were designed to provide un-tethered access to information sources such as the Internet and enterprise file systems. The WLAN allows standard Internet protocol (IP) traffic to be transmitted using RF frequencies eliminating the need for a “hardwired” Ethernet connection common on “wired” local area networks (LAN). Just as in wired networks, the physical interface to the network is implemented on what is known as a “network adapter” or just “adapter”. In prior art, the WLAN service was provided to the applications (file managers, Internet browsers, etc.) running on a computers host CPU via four components.
The first component is a software device driver allowing the application on the host CPU to access the WLAN service through a common interface such as a TCP protocol stack. The software driver provides the interface between the TCP protocol stack and the media access control functions (MAC), which are specific to the WLAN.
The MAC function provides the support protocol required to transport the IP traffic or packets over the wireless medium. The MAC provides data rate and error control as well as congestion management. The MAC also provides the interface between the software driver and the physical layer modulation and demodulation (MODEM) functions. In prior art the MAC function was implemented on a dedicated processor located on the WLAN adapter.
The MODEM provides the mapping of the payload data (IP packets) and control data to a form more conducive to wireless transmission and reception. The modulation functions in prior art would include scrambling, interleaving, puncturing, encoding, mapping, and filtering of bits onto the channel. The demodulation functions in prior art would include filtering, de-mapping of bits from the channel, decoding, de-interleaving and de-scrambling. In prior art the MODEM functions were provided via dedicated hardware on the WLAN adapter.
The final function required for implementation of a WLAN adapter is the radio. The radio is used to translate the base-band waveform generated and used by the MODEM up and down to RF frequencies. In prior art the radio functions were provided via dedicated hardware on the WLAN adapter.
The remaining MODEM functions (203b) on the WLAN adapter are automatic gain control (AGC), preamble detection, timing generation, and waveform identification. The AGC function provides control over the receive amplifiers (202a) to maintain the correct analog signal level into the ADCs (203a). Since this function requires near continuous supervision it must remain an autonomous function of the WLAN adapter. The preamble detection function serves two purposes in prior art WLAN adapters. First, the preamble detector is used to start demodulation processing. Second, the pre-amble detector is used by the transmitter to sense the availability of the wireless access medium. If the preamble detection function does not detect a valid preamble there is no need to perform demodulation processing. Similarly, if valid preambles are being detected there is no need to perform transmit processing since the wireless medium is being used. This fact allows the host CPU to run autonomously from the WLAN adapter unless valid preambles are being detected indicating that there are data packets arriving at the receiver. The waveform identification function works in conjunction with the pre-amble detection to filter out packets that are not of interest to this adapter based on data rate, modulation type etc. Once the preamble detection function detects valid packets, which require demodulation and MAC processing, the host CPU can be interrupted to provide the necessary processing.
The WLAN protocol dictates that the response to several different packet types must occur in 10-20 us. For a software based WLAN adapter this requires that transmit processing must occur within several microseconds of the end of a valid receive packet. The current invention exploits the static or near static nature of the transmit frame formats to reduce transmit processing required to respond to valid frames or packets. What follows is a detailed description of the specific frame formats as specified by the IEEE 802.11 wireless standard and the fields which are in fact static during a packet exchange sequence.
The frame control segment (301a) contains a protocol revision number (301aa), which is fixed and does not change. The type field (301ab) and the subtype field (301ac) in the frame control segment define which type of frame is being transmitted. The present invention pertains to those types transmitted in response to reception of specific packets. In those cases the type field (301ab) is fixed indicating a control frame and the subtype field is one of six values. Those values are shown in Table 1.
TABLE 1
Control Frame Sub Types
Subtype Field Value
Control Frame Type
1010
Power Save (PS)-Poll
1011
Request To Send (RTS)
1100
Clear To Send (CTS)
1101
Acknowledgement (ACK)
1110
Contention-Free (CF)-End
1111
CF-End + CF-Ack
The To DS (301ad), From DS (301ae), More Frag (301af), and Retry (301ag) fields are all set to 0 for control frames. The power management field (301ah) can be either 0 or 1 but is fixed for a frame exchange sequence. The More Data field (301ai) is used to indicate to an adapter in power save mode that another packet has been buffered for transmission and it should remain in receive mode and not return to power save mode. For all control frames the More Data field (301ai) is set to 0. The last two fields of the frame control segment (301a) are the WEP field (301aj) and the Order field (301ak) which are both 0 for control frames.
The Duration ID field (301b) of the MAC header (301) represents the duration in microseconds remaining in the current packet exchange. This field is used by the various adapters on the network to determine when the current exchange is over even though they may not be engaged in the exchange or can only hear part of the exchange. Use of this field minimizes the number of collisions on the network. In prior art hardware implementations of the WLAN adapters, this field is updated on each packet transmission by those involved in the packet exchange. Those adapters not involved in the exchange only monitor this field. The four address fields (301c,d,e,g) are used to specify the source address (SA), destination address (DA), transmitting station address (TA), receiving station address (RA) and the basic service set identifier (BSSID). In control frames only RA, TA, and or BSSID are ever specified. The transmitting address is the address of the adapter generating the control frame and thus is known. The RA and BSSID can change and may be different for each control message that must be generated in response to a valid receive packet. In the case of RA and or BSSID the present invention relies on the fact that there are a finite number of RA and the BSSID on the WLAN. Over time the RA's and BSSID can be learned and used to generate a set of control message types for each RA or BSSID.
The frame body (302) is of 0 length for control frame. The frame check sequence (FCS) (303) is a check word computed based on the other data in the frame.
The present invention relies on the fact that the other data in the frame is fixed and thus the FCS can be pre-computed.
The present invention learns the RA's on the network over time using a procedure as outlined for the RTS control frame, and generates two CTS frames for each RA. This allows the present invention to respond quickly with a CTS control frame by selecting the appropriate stored frame based on the received address (RA) and the current power management mode.
The present invention monitors the network traffic for different values of RA (901d) and BSSID (901e). Over time, the present invention builds a table for each RA and BSSID on the network using the procedure outlined for the RTS control frame. Given the RA and BSSID, the present invention computes two CF-End+CF-ACK control frames for each RA and BSSID, one with the power management bit set to 0 and one with power management bit set to 1. Once the power management bit is set, the FCS (903) can be calculated for the frame.
It should be understood by those skilled in the art that the techniques outlined in the above embodiment are not limited to IEEE 802.11 WLAN adapters. Similar techniques can be applied to other wireless packet data standards as well. Blue tooth, IEEE 802.15, as well as newer cellular WAN packet data standards all could be implemented using similar techniques and the host CPU of a personal computer.
While the invention has been described, disclosed, illustrated and shown in various terms of certain embodiments or modifications which it has presumed in practice, the scope of the invention is not intended to be, nor should it be deemed to be, limited thereby and such other modifications or embodiments as may be suggested by the teachings herein are particularly reserved especially as they fall within the breadth and scope of the claims here appended.
Schultz, Richard Douglas, Nelson, George Rodney
Patent | Priority | Assignee | Title |
8537685, | Jan 12 2010 | Samsung Electronics Co., Ltd. | Apparatus and method for performing congestion control in a communication system |
Patent | Priority | Assignee | Title |
7117156, | Apr 19 1999 | AT&T Properties, LLC; AT&T INTELLECTUAL PROPERTY II, L P | Method and apparatus for performing packet loss or frame erasure concealment |
7706269, | Mar 22 2002 | Nokia Technologies Oy | Method, system and device for controlling a transmission window size |
20020089927, | |||
20030169713, | |||
20060007848, | |||
20080259792, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 16 2008 | CONEXANT, INC | XOCYST TRANSFER AG L L C | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023609 | /0133 | |
Sep 11 2009 | Intellectual Ventures I LLC | (assignment on the face of the patent) | / | |||
Jul 18 2011 | XOCYST TRANSFER AG L L C | Intellectual Ventures I LLC | MERGER SEE DOCUMENT FOR DETAILS | 026637 | /0603 |
Date | Maintenance Fee Events |
Feb 25 2015 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Feb 14 2019 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Apr 24 2015 | 4 years fee payment window open |
Oct 24 2015 | 6 months grace period start (w surcharge) |
Apr 24 2016 | patent expiry (for year 4) |
Apr 24 2018 | 2 years to revive unintentionally abandoned end. (for year 4) |
Apr 24 2019 | 8 years fee payment window open |
Oct 24 2019 | 6 months grace period start (w surcharge) |
Apr 24 2020 | patent expiry (for year 8) |
Apr 24 2022 | 2 years to revive unintentionally abandoned end. (for year 8) |
Apr 24 2023 | 12 years fee payment window open |
Oct 24 2023 | 6 months grace period start (w surcharge) |
Apr 24 2024 | patent expiry (for year 12) |
Apr 24 2026 | 2 years to revive unintentionally abandoned end. (for year 12) |