The present invention relates generally to computer networks, and more specifically to wireless networks.
Wireless networks typically include mobile stations and access points. A mobile station may “associate” with an access point (referred to herein as the “current access point”) to communicate with other devices on the network. Mobile stations may move about while access points are typically stationary. If a mobile station moves around in an area covered by multiple access points, the mobile station may “disassociate” from the current access point and associate with another. The process of disassociation and association may be repeated any number of times, as the mobile station moves about.
In order to decide whether or not to disassociate from the current access point or associate with a different access point, a mobile station may periodically communicate with a variety of access points, including access points other than the current access point. When a mobile station communicates with access points other than the current access point, the data throughput between the mobile station and the current access point may suffer.
In the following detailed description, reference is made to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It is to be understood that the various embodiments of the invention, although different, are not necessarily mutually exclusive. For example, a particular feature, structure, or characteristic described herein in connection with one embodiment may be implemented within other embodiments without departing from the spirit and scope of the invention. In addition, it is to be understood that the location or arrangement of individual elements within each disclosed embodiment may be modified without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims, appropriately interpreted, along with the full range of equivalents to which the claims are entitled. In the drawings, like numerals refer to the same or similar functionality throughout the several views.
Mobile station 102 is shown communicating with access point 110 using signal 112, access point 120 using signal 122, and access point 130 using signal 132. Mobile station 102 may associate with one of the access points for data communications, and may also communicate with other access points to decide if it should end the current association and associate with another access point. For example, mobile station 102 may be associated with access point 110. When a current association exists between mobile station 102 and access point 110, signal 112 allows data to be communicated between mobile station 102 and access point 110.
Mobile station 102 may periodically “roam,” or “attempt to roam.” As used herein, the terms “roam” and “attempt to roam” refer to the actions taken by a mobile station when deciding whether to end a current association (“disassociate”) and make a new association with a different access point. In some instances, roaming occurs when a mobile station performs a scan of available access points and decides to disassociate with the current access point and re-associate with a different access point. In other instances, an attempt to roam occurs when a mobile station performs a scan of available access points, and does not disassociate with the current access point. This may occur when the mobile station scans to see if a “better” access point is available, and decides to maintain the current association rather than disassociate with the current access point.
Roaming, or attempting to roam, may reduce the data throughput of the current association. For example, if mobile station 102 attempts to roam to check the availability of access points 120 and 130, the data throughput of the current association with access point 110 may be reduced.
Mobile station 102 includes roaming timer 104. A roaming timer, as defined herein, is a timer that may be used to put off an attempt to roam based on various criteria. For example, if the current association is perceived to be of “high quality,” roaming timer 104 may be set to a relatively large value, and any roaming attempts by mobile station 102 may be delayed, or “put off,” in time until the timer expires. In some embodiments, the timer may be repeatedly set or reset to continually delay any attempts to roam, or to force an attempt to roam immediately. Further, the roaming timer may be set to any value based on any criteria. The type or amount of criteria used to the set the timer should not be considered a limitation of the present invention.
Roaming timer 104 may be implemented using any of many different mechanisms. For example, roaming timer 104 may be a hardware timer or a software timer. In some embodiments, multiple hardware timers are utilized, where each is set to either the same or different values. In other embodiments, multiple software timers are utilized, where each is set to either the same or different values. A roaming attempt may occur when one of the multiple timers times out, or when all of the multiple timers times out.
The perceived quality of a current association may be defined by any parameter, metric, or combination of parameters or metrics. Various embodiments using different parameters and metrics are described below with reference to the remaining figures.
Method 200 is shown beginning at block 210 in which a first metric is compared to a first threshold; and in block 220, a timer is conditionally set to a first value. The timer referred to in block 220 operates as a roaming timer, such as roaming timer 104 (
Utilizing a roaming timer to put off a roaming attempt may be useful in many different operational scenarios. For example, if during a current association with an access point, a mobile station enjoys a “high quality” connection, periodic attempts to roam may not be the most efficient use of the mobile station's resources. On the other hand, if a mobile station has a lower quality connection, the interval between roaming attempts may be modified to make more efficient use of the mobile station's resources.
In block 230, a second metric is compared to a second threshold, and in block 240, the timer is conditionally set to a second value. Various embodiments of the present invention are not limited to two metrics, two thresholds, and two timer values as shown in
In block 250, an attempt to roam is made when the timer expires. In some embodiments, the timer runs in the “background.” For example, in embodiments that include a hardware timer, the hardware may be adapted to decrement a counter every clock cycle or every N clock cycles. The counter may perform as a roaming timer when loaded with a timer value, and the counter is decremented in the background. In other embodiments that include a hardware timer, the counter is only decremented when enabled, and various method embodiments of the present invention not only set the timer, but also enable and disable the timer. When the timer times out, the roaming attempt may be initiated in one of many different ways. For example, the hardware timer may cause a processor interrupt, or may set a bit in a status register. The present invention is not limited in this respect.
In embodiments that include a software timer, the software timer may be implemented as a software counter that is decremented in the background. For example, a software routine may be scheduled to run every second, or every 100 milliseconds, and each time the software routine runs, it may decrement the counter that functions as the roaming timer. Further, the software counter may be enabled or disabled in support of the operation of the roaming timer. The interval between successive decrement operations of the counter is not a limitation of the present invention.
In some embodiments, method 200 may be performed periodically. For example, method 200 may run every second or every ten seconds in a mobile station, such as mobile station 102 (
Method 300 is shown beginning at block 305 in which a first metric is compared to a threshold. The metric includes a determination of how many “beacons” have been missed. In some embodiments, a beacon is a packet or frame periodically transmitted by an access point. If many beacons have been missed by a mobile station, this may be indicative of a poor quality connection between the mobile station and the access point. As shown in
The attempt to roam at 310 may be performed by resetting a roaming timer, or by performing an attempt to roam regardless of the state of the roaming timer. The number of missed beacons used as a threshold in block 305 may be set to any threshold. In some embodiments, if more than 50% of beacons are missed, an attempt to roam is performed at block 310. In other embodiments, if more than 60% of beacons are missed, an attempt to roam is performed at block 310. The particular threshold used in block 305 is not a limitation of the present invention.
At 315, a percentage of “retries” is checked, and if it is not high, then method 200 ends with a determination to not attempt roaming at block 320. A “retry” corresponds to a packet or frame that is retransmitted because of a previously unsuccessful attempt at transmission. The percentage of retries represents a metric that can be either gathered or calculated, and the number to which the percentage is compared represents a threshold. The actual percentage used as a threshold is not a limitation of the present invention.
The remaining decision blocks (325, 335, and 345) compare a metric against a threshold, and conditionally enter one of four states (330, 340, 350, or 360) depending on the outcome of the decisions. Although three decision blocks and four states are shown, any number of decision blocks and states may be implemented without departing from the scope of the present invention.
Decision block 325 compares a current data rate to a threshold. In some embodiments, the threshold is the lowest data rate available. For example, in some embodiments, the mobile station will reduce the data rate as the distance to the access point increases, or as the received signal strength decreases. If the current data rate corresponds to the lowest rate available, then if the signal degrades further, the mobile station may be forced to disassociate. If the current rate is low, then method 300 enters STATE A (block 330) where the roaming timer is set to 10 seconds.
Block 330 is referred to as a “state” in part because, if in subsequent invocations of method 300, STATE A is re-entered, then the timer is not necessarily set to 10 seconds again. For example, assuming that method 300 is performed once a second, and each time it is performed block 330 is reached, the first time block 330 is reached, STATE A will be entered, and the roaming timer will be set to 10 seconds. The second time block 330 is reached, the roaming timer will not be set, because STATE A has remained the active state. In this example, method 300 will be performed 10 times, block 330 will be reached each time, the roaming timer will expire, and an attempt to roam will be performed.
If, in method 300, decision block 335 is reached, an average received signal strength indicator (RSSI) is compared against a threshold. In block 335, the RSSI is the metric, and the “current rate threshold” is the threshold to which the metric is compared. If the average RSSI is less than the current rate threshold, then block 340 is reached, and if the current state is not STATE B, STATE B is entered, and the roaming timer is set to two minutes. If block 340 was reached the last time that method 300 was performed, then the current state remains STATE B, and the timer is not necessarily set. If block 340 is reached each time method 300 is performed over a two minute period, the timer will expire, and an attempt to roam will be performed.
An example of a “current rate threshold” is shown in
Referring now back to
If in block 345, the average RSSI is not below the good threshold, then block 360 is reached, and if the current state is not STATE D, STATE D is entered, and the roaming timer is set to fifteen minutes. If block 360 was reached the last time that method 300 was performed, then the current state remains STATE D, and the timer is not necessarily set. If block 360 is reached each time method 300 is performed over a fifteen minute period, the timer will expire, and an attempt to roam will be performed.
An example of a “good threshold” is shown in
In some embodiments, method 300 is performed periodically within a mobile station such as mobile station 102 (
Method 300 allows a mobile station to measure a “perceived quality” of a current connection. The perceived quality of the connection is based on various metrics as shown in method 300. In some embodiments, the roaming timer is set to a relatively high value when the perceived quality is high. Also in some embodiments, the roaming timer is set to a relatively low value when the perceived quality is lower.
Host processor 580 is coupled to processor 560 by bus 565. The blocks shown to the left of bus 565 may be an apparatus such as a wireless network interface, and the blocks shown to the right of bus 565 may be an apparatus or system such as a laptop computer. The wireless interface may be on a card that plugs into the laptop computer, or may be a wireless interface that is integral with the computer. In some embodiment, bus 565 represents a communications bus such as a peripheral component interconnect (PCI) bus, however this is not a limitation of the present invention.
Radio interface 520 may include circuitry to support the transmission and reception of radio frequency (RF) signals. For example, in some embodiments, radio interface 520 includes an RF receiver to receive signals and perform “front end” processing such as low noise amplification (LNA), filtering, frequency conversion or the like. Also for example, in some embodiments, radio interface 520 includes circuits to support frequency up-conversion, and an RF transmitter. The invention is not limited by the contents or function of radio interface 520.
Physical layer (PHY) 530 may be any suitable physical layer implementation. For example, PHY 530 may be a circuit block that implements a physical layer that complies with the IEEE 802.11 standard or other standard. Examples include, but are not limited to, direct sequence spread spectrum (DSSS), frequency hopping spread spectrum (FHSS), and orthogonal frequency division multiplexing (OFDM). Media access control layer (MAC) 540 may be any suitable media access control layer implementation. For example, MAC 540 may be implemented in software, or hardware or any combination thereof. In some embodiments, MAC 540 may be implemented in software that is partially executed by processor 560 and partially executed by host processor 580.
Roaming timer 550 may be a timer utilized to put off a decision to roam, such as roaming timer 104 (
Processor 560 may be a processor that sets roaming timer 550 based, at least in part, on comparisons between metrics and thresholds. For example, processor 560 may perform methods such as method 200 (
Memory 570 represents an article that includes a machine readable medium. For example, memory 570 represents a random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM), flash memory, or any other type of article that includes a medium readable by processor 560. Memory 570 can store instructions for performing the execution of the various method embodiments of the present invention.
Host processor 580 may be any processor capable of communication with processor 560 over bus 565. Host processor 580 represents any type of processor, including but not limited to, a microprocessor, a personal computer, a workstation, or the like. In some embodiments, host processor 580 may set a roaming timer. For example, host processor 580 may implement MAC 540 or a portion of MAC 540 in a software driver or other software. A MAC (or a portion thereof) implemented in processor 580 may include one or more roaming timers as discussed herein.
Host memory 590 represents an article that includes a machine readable medium. For example, host memory 590 represents any one or more of the following: a hard disk, a floppy disk, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM), flash memory, CDROM, or any other type of article that includes a medium readable by host processor 580.
Systems represented by the various foregoing figures can be of any type. Examples of represented systems include computers (e.g., desktops, laptops, handhelds, servers, tablets, web appliances, routers, etc.), wireless communications devices (e.g., cellular phones, cordless phones, pagers, personal digital assistants, etc.), computer-related peripherals (e.g., printers, scanners, monitors, etc.), entertainment devices (e.g., televisions, radios, stereos, tape and compact disc players, video cassette recorders, camcorders, digital cameras, MP3 (Motion Picture Experts Group, Audio Layer 3) players, video games, watches, etc.), and the like.
Roaming timers, processors, wireless network interfaces, and other embodiments of the present invention can be implemented in many ways. In some embodiments, they are implemented in electronics as part of mobile stations for use in wireless networks. In some embodiments, design descriptions of the various embodiments of the present invention are included in libraries that enable designers to include them in custom or semi-custom designs. For example, any of the disclosed embodiments can be implemented in a synthesizable hardware design language, such as VHDL or Verilog, and distributed to designers for inclusion in standard cell designs, gate arrays, or the like. Likewise, any embodiment of the present invention can also be represented as a hard macro targeted to a specific manufacturing process.
Although the present invention has been described in conjunction with certain embodiments, it is to be understood that modifications and variations may be resorted to without departing from the spirit and scope of the invention as those skilled in the art readily understand. Such modifications and variations are considered to be within the scope of the invention and the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5152009 | Sato | Sep 1992 | A |
5432841 | Rimer | Jul 1995 | A |
6052598 | Rudrapatna et al. | Apr 2000 | A |
6119001 | Delis et al. | Sep 2000 | A |
6192245 | Jones et al. | Feb 2001 | B1 |
6233454 | Sato | May 2001 | B1 |
6233463 | Wiedeman et al. | May 2001 | B1 |
6580700 | Pinard et al. | Jun 2003 | B1 |
6668167 | McDowell et al. | Dec 2003 | B2 |
7065063 | Tran | Jun 2006 | B2 |
7406319 | Kostic et al. | Jul 2008 | B2 |
7440756 | Wang et al. | Oct 2008 | B1 |
7633915 | Lewis | Dec 2009 | B1 |
7706790 | Dunn et al. | Apr 2010 | B2 |
7738876 | Radhakrishnan et al. | Jun 2010 | B1 |
20030069016 | Bahl et al. | Apr 2003 | A1 |
20040039817 | Lee et al. | Feb 2004 | A1 |
20050070275 | Jeyaseelan et al. | Mar 2005 | A1 |
20050148328 | Pathan et al. | Jul 2005 | A1 |
20060187873 | Friday et al. | Aug 2006 | A1 |
20080286400 | Morrill et al. | Nov 2008 | A1 |
20100110890 | Rainer et al. | May 2010 | A1 |
20100136969 | Nader et al. | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
1183014 | May 1998 | CN |
1678970 | Aug 2008 | EP |
2005034548 | Apr 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20050070275 A1 | Mar 2005 | US |