1. Technical Field
Embodiments of the present disclosure relate generally to wireless local area (WLAN) networks, and more specifically to additional advantageous uses of instructions instructing stations of WLAN networks to desist from transmissions.
2. Related Art
A wireless local area network (WLAN) generally refers to a network in which wireless devices communicate with each other over a wireless medium in conformity with standards such as IEEE 802.11 family of standards for short distance communications (as contrasted with GSM type protocols intended for long distance communications). As is well known, such WLAN based technologies rely on an access point (AP), which normally operates as a switching device to facilitate wireless stations to communicate with each other, and also potentially with devices external to a WLAN. On the other hand, wireless stations typically are either source (where data is created/formed for transmission by wireless network) or destination (the eventual machine to which the packet is delivered) of data.
IEEE 802.11 standards define instructions, which instruct stations to desist from transmissions for a duration usually specified in the corresponding instructions. One example of such an instruction is a CTS-to-self signal, which can be transmitted by a wireless device (AP or station) when the access point has data available for transmitting to a wireless station. The CTS-to-self signal operates as an instruction to other wireless devices to desist from transmitting for a duration specified by the access point in the CTS-to-self signal, thereby reserving the channel for the access point in that duration. Thus, the access point, in normal course of operation, transmits the available data to the corresponding wireless station following the CTS-to-self signal. The CTS-to-self signal thus provides a mechanism by which an access point can reserve a channel for a duration, and thereafter transmit data in the reserved duration.
Another example of such an instruction in accordance with 802.11 standards is based on a ‘quiet element’, provided as a field of a beacon. As is well known, beacons are transmitted by APs at regular intervals to indicate their presence to any stations within their respective communication ranges. The quiet elements in such beacons can be set to indicate when and how long the associated wireless stations are to desist from transmission of data packets to the AP. The APs are known to use such quiet periods for performing (or to allow performing of) any required tests/measurements of the channels.
Aspects of the present invention provide for other advantageous uses of instructions instructing stations of WLAN networks to desist from transmissions.
Example embodiments of the present invention will be described with reference to the accompanying drawings briefly described below.
The drawing in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.
1. Overview
According to an aspect of the present invention, a wireless device transmits instructions which instruct stations of same or different BSS, to desist from transmitting data packets (or in general, any frames), and thereafter provides various utilities in the corresponding ‘desist’ duration as briefly described below.
According to another aspect of the present invention, the instructions correspond to a CTS-to-self signal, and the wireless device thereafter desists from transmissions for a duration specified in the CTS-to-self signal. Stations in receipt of the CTS-to-self signal also desist from transmission in such a duration (“desist duration”). In an embodiment, the wireless device operates in a power-saving mode in the desist duration.
According to yet another aspect, a wireless device operating as an AP, switches to operate as a station in the desist duration. The station can potentially associate with other APs in such desist duration and exchange data packets using such APs. The operation of the station is switched back as an AP after the end of such a duration.
According to one more aspect of the present invention, in the desist duration, the wireless device operating as a station scans for the presence of other APs and stations within the communication range. The station may associate itself with one of such discovered APs.
Several aspects of the invention are described below with reference to examples for illustration. It should be understood that numerous specific details, relationships, and methods are set forth to provide a full understanding of the invention. One skilled in the relevant arts, however, will readily recognize that the invention can be practiced without one or more of the specific details, or with other methods, etc. In other instances, well-known structures or operations are not shown in detail to avoid obscuring the features of the invention.
2. Example Environment
System 100 is shown containing wireless stations (stations) 110A-110E, access point (AP) 150 (also referred to as wireless device in some embodiments described below), wired network 130, wired network backbone 140 and wireless network manager 160. Block 110 represents a basic service set (B SS) consistent with the 802.11 standard(s). In general, each BSS contains an AP and associated stations. Association (in the context of WLAN operation) generally refers to registration of a wireless station with an AP, thereby enabling the station to transmit/receive data packets to/from other stations in the WLAN or with devices external to the WLAN. Association entails transmission of an association request message by a wireless station to an AP, to which the AP may subsequently respond with an association response message (which may include an association identifier) to complete the association of the station to the AP.
In addition, as is well known, the APs and associated stations of a BSS communicate in a specific band, and devices of different BSS can overlap geographically if operating in different bands. Though not shown, system 100 may contain other BSS, with different operating bands.
AP 150 is connected by a wired medium (154) to wired network backbone 140, and thus to wired network 130. Each of stations 110A-110E may communicate with AP 150 (as well as with each other) wirelessly (over a wireless medium) according to any of the family of IEEE 802.11 protocols (including as specified in IEEE 802.11a, 802.11b, 802.11g and 802.11n), and thereby with wired network 130. Wired network 130 may represent the internet, also known as the World Wide Web. One or more of stations 110A-110E may correspond, for example, to a laptop computer, smart phone, or a wireless sensor.
Wireless network manager 160 may transmit configuration and control messages to AP 150. Some of the configuration and control messages may be meant for stations 110A-110E. Accordingly, AP 150 forwards the corresponding configuration and control messages meant for the stations, either as unicast messages (directed to a specific one of stations 110A-110E) or as broadcast messages. Although shown separate from AP 150, the features of wireless network manager may instead be integrated within AP 150 in some embodiments.
Wireless network manager 150 may additionally be designed to operate as a controller of BSS 110, and issue network commands to and receive data from one or more of stations 110A-110E, and may thus operate to provide desired features such as building or plant automation, based on the specific environment in which the components of
Wireless device/AP 150 provided according to several aspects of the present invention advantageously uses instructions instructing stations to desist from transmissions. In embodiments described below, such instructions are described to be either CTS-to-self signal or the quiet element in beacons in corresponding example embodiments.
Merely for convenience, the features with respect to CTS-to-self signal are described first. Wireless device 150 may transmit a CTS-to-self signal on the wireless medium when AP 150 has data available and to be sent to one of clients 110A-110E. A CTS-to-self signal operates as an instruction to wireless stations 110A-110E to desist from transmitting for a duration specified by the access point in the CTS-to-self signal, thereby reserving the channel for the transmission by AP 150. The duration specifies the time needed for completing the transmission of the data by AP 150. Subsequent to the transmission of the CTS-to-self signal, AP 150 transmits the data to the corresponding wireless station(s).
Thus, in the normal course (i.e., without error/exception/failure conditions including those on wireless device/stations, and situations such as excessive bandwidth usage, obstructions in the channel, etc., on the wireless medium) of operation of AP 150 (and the other components of
Aspects of the present invention provide for other advantageous uses for the CTS-to-self signal in WLAN networks, as described below with examples.
3. Use of CTS-to-Self Signal
In step 210, AP 150 transmits, on a wireless medium, a CTS-to-self signal specifying a duration. CTS-to-self signal represents an example signal for an access point to reserve a channel and thereafter transmit a data packet in the reserved duration in normal course of operation.
In step 220, access point 150 desists from transmission of data packets on the wireless medium in the duration. Desisting implies that the access point does not transmit data packets in that duration. Such desisting is performed in the normal course of operation of AP 150, implying there is no data transmission by access point 150 even if the channel is free for transmission and the operation of stations/access point is otherwise normal. In sharp contrast, as described above, access points transmit CTS-to-self signals to reserve the channel for transmission of data packets, and in normal course transmit data packets after transmission of CTS-to-self signal. The flow chart ends in step 299.
It should be appreciated that such desisting may be performed for any of a number of specific purposes, while the access point transmits data packets following the sending of CTS-to-self signal in other durations, in normal course. Furthermore, the flow chart of
4. Wireless Device Operating as Both an Access Point and a Wireless Station
PHY 310 represents the physical layer (hardware) required to enable operation as a wireless device and may be implemented according to the IEEE 802.11 specifications. MAC 320 represents the data link layer of wireless device 300, and may be implemented according to the IEEE 802.11 specifications.
Blocks 330 and 340 respectively represent corresponding executable (software) modules that are designed to enable wireless device 300 to operate respectively as an AP and as a station. It is noted here that when configured to operate as AP 330, wireless device operates in place of AP 150 of
The operation of wireless device 300 as AP 330 and station 340 is performed in a time division multiplexed (TDM) manner, as illustrated with respect to the timing diagram of
When operating as station 340, wireless device 300 operates (transmits and receives) in a frequency band or channel (indicated as CH2 in
With respect to
In interval t404-t405, station 340 receives a beacon from an AP with which station 340 is associated (shown as AP 350 in
The time division multiplexed operation alternately as AP 330 and station 340 may be repeated.
It may be noted that intervals t401-t407 and t407-t413 each represent one beacon interval (BI-AP330) corresponding to AP 330. Interval t404-t410 represents one beacon interval (BI-Station340) corresponding to station 340. It may be observed that the start instants of BI-AP330 and BI-Station 340 are staggered (or offset from each other), thereby permitting TDM operation as AP 330 and Station 340.
It may be further appreciated that AP 330 may transmit CTS-to-self signal, followed by corresponding data packets, as in normal course of operation, in intervals t402-t403, t408-t409, etc., prior to sending the CTS-to-self signal of step 210.
The specific considerations based on which the durations (and start/stop instants) of operations as AP 330 and station 340 are determined may include one or more of the following:
a) Station 340 may need to wake up every DTIM (or listen) interval to receive corresponding beacons from AP 350.
b) Station 340 may be required to stay active after a beacon from AP 350 (to receive multicast/broadcast data from AP 350 if the MCAST/BCAST bit in the beacon is set.
c) Station 340 may need to transmit to AP 350 a PS-poll frame or UAPSD (Unscheduled Automatic Power Save Delivery) trigger frame to receive unicast data from AP 350.
d) Station 340 may need to wake up for scheduled events such as SAPSD (Schedule Automatic Power Save Delivery) service period or SPSMP (Schedule Power Save Multi Poll).
e) Station 340 may need to wake up for sending NULL frame for Association Keepalive.
f) AP 330 may need to transmit a beacon at every TBTT.
g) AP 330 may need to transmit buffered broadcast/multicast data to stations (360/370) as specified by the DTIM.
h) AP 330 may need to transmit buffered unicast data to power-save stations upon receiving PS-poll or UAPSD trigger.
i) AP 330 may need to wake up for scheduled SAPSD service periods and SPSMP service periods.
Thus, as an illustration, duration t401-404 is designed to be short enough to end such that wireless device 300 switches to operate as station 340, in time to receive beacons from corresponding AP 350. Similarly, duration t404-t407 is designed to be short enough to end such that wireless device 300 switches to operate as AP 330, in time to transmit corresponding beacons to associated stations 360/370
In an embodiment, the TBTT (Target Beacon Transmission Times) of AP 330 are designed to occur after 20% to 25% of the beacon interval of station 340 has elapsed. To clarify, TBTT at t407 of AP 330 is designed to occur after the elapse of 20% to 25% of interval t404-t410(BI-Station340). As a result, AP 330 is enabled to be active for 75% to 80% of the beacon interval (BI-AP330) of AP 330. However, in other embodiments, other values for the occurrences of the TBTTs of AP 330 with respect to a beacon interval of station 340 may be used. Furthermore, the durations of operation as station 340 and AP 330 may be dynamically changed, based for example on the volume of data that may need to be transmitted/received by either AP 330 or station 340.
While in
Further, while it is noted above that wireless device 300 switches to operation as station 340 immediately after the end of a corresponding CTS-to-self signal, in other embodiments, there may be a lapse of a time interval between the end of a CTS-to-self signal and the corresponding commencement of operation as station 340, with appropriate design of the instruction content and/or other pre-specified conventions.
It is noted that the respective modules (or collection of modules) representing AP 330 and station 340 may be scheduled for operation as corresponding multi-tasking threads or processes, with the contexts of each thread/process being saved at the time of exit from the corresponding thread/process. The context may then be restored prior to resuming operation of the corresponding thread/process.
The saved context thus needs to include all state information (including hardware register entries in MAC 320), which permits the wireless device to resume operation as AP 330 and station 340, during respective phases of the iterations/cycles. In case of station 340 (i.e., before transitioning to operation as AP 330), the saved information includes TSF (Timing Synchronization Function) counter, beacon interval, BSSID (Basic Service Set Identifier), DTIM (Delivery Traffic Indication Message), listen interval, security keys, etc., which are set prior to switching to operation as AP 330. In case of AP 330 (before transitioning to operation as station 340), the saved context/information similarly includes the list of associated stations, TSF counter, BSSID, beacon interval, DTIM, MAC addresses, security keys and listen intervals of the respective associated stations, whether any of the stations are operating in power save mode (in general, all information previously negotiated with associated stations), etc.
Based on the specific implementation of MAC 320 and PHY 310, the respective processes/threads may need to configure PHY 310 (for example, for selecting the channel/frequency band of operation), and corresponding registers in MAC 320 for effecting operation as AP 330 and station 340.
The description is continued with respect to other example uses of CTS-to-self signal in a WLAN.
5. Enabling Power-Save in an AP
According to another aspect of the present disclosure, CTS-to-self signals are used to enable an AP to enter power-save (or low-power) states. In an embodiment, an AP (e.g., AP 150 of
Thus, with respect to
The AP resumes full operation again at t407, and enters the low-power state again at t410. During the low-power durations, stations associated with the AP (e.g., stations 110A-110E in the case of AP 150, and stations 360 and 370 in the case of AP 330) refrain from transmitting any data packets (or in general, any frame) as required by the corresponding CTS-to-self signal, thereby ensuring that there is no loss of packets due to non-availability (low-power state) of the AP.
6. Scanning for Networks
According to another aspect of the present disclosure, CTS-to-self signals are used to enable wireless device 300 to scan for and discover APs and stations within communication range of wireless device 300. Initially, wireless device 300 operates as AP 330 and receives from a user (via corresponding inputs) an instruction to scan the wireless medium for other APs and/or stations (other WLAN networks in general).
In response to the user instruction, AP 330 transmits a CTS-to-self signal, thereby signaling stations 360 and 370 not to transmit data packets to AP 330 for a corresponding duration. The transmission of the CTS-to-self signal may be appropriately delayed to allow AP 330 to complete a current operation as an AP.
Thus, with respect to
Station 340 then scans one or more channels of the wireless medium to discover the presence of APs and other wireless stations. Scanning implies ‘listening’ to signals, such as beacons, in the various frequency bands/channels (allotted for WLAN operation, and such as channels CH1 and CH2 of
The results of scanning may provide station 340 with a list of APs (including AP 350 of
Another example of an instruction instructing stations of WLAN networks to desist from transmissions is a “quiet element” that can be transmitted in a beacon by an AP. Advantageous uses of such a quiet element are described below with examples.
7. Quiet Element in a Beacon
In accordance with the IEEE 802.11 standards, an AP can transmit a quiet element in a beacon to instruct associated stations to desist from transmitting data packets to it (the AP). The quiet element constitutes a set of bytes in the beacon, and specifies both the start of and the length of a “quiet” period, in which the AP may not be available (functionally) to receive packets from associated stations.
According to aspects of the present invention, the quiet element is transmitted in lieu of CTS-to-self signal and the various features described above with respect to
With respect to
Thus, it is readily observed that a quiet element can be used as an alternative to a CTS-to-self (in which case the CTS-to-self signals noted above in intervals t403-t404 and t409-t410 of
The features described above may be realized in various implementations. The details of a wireless device 300, in an embodiment, are described next.
8. Wireless Device
The components/blocks of wireless device 300 are shown merely by way of illustration, and wireless device 300 can also contain more or fewer components/blocks than shown. Further, although not shown in
Sensor block 565 may contain one or more sensors, as well as corresponding signal conditioning circuitry, and provides on path 568 measurements/values of physical quantities such as temperature, pressure, etc., sensed via wired path 566 or wireless path 567. Sensor block 565 enables wireless device 300 to collect sensor measurements when operating as station 340.
Antenna 595 operates to receive from and transmit to a wireless medium, corresponding wireless signals containing data. Switch 590 may be controlled by processing block 510 (connection not shown) to connect antenna 595 either to receive block 580 via path 598, or to transmit block 570 via path 579, depending on whether wireless device 300 is to receive or transmit.
Transmit block 570 receives data to be transmitted on path 571 from processing block 510, generates a modulated radio frequency (RF) signal according to IEEE 802.11 standards, and transmits the RF signal via switch 590 and antenna 595. Receive block 580 receives an RF signal bearing data via switch 590 and antenna 595, demodulates the RF signal, and provides the extracted data to processing block 510 on path 581. Transmit block 570 and receive block 580, in conjunction with processing block 510, together constitute PHY 310 of wireless device 300. Although not shown in
Wireline network interface 560 enables connection of wireless device 300 to a wired backbone such as backbone 140 (
I/O block 520 enables a user to provide inputs (e.g., configuration data) to wireless device, as well as to receive outputs from wireless device (e.g., list of discovered APs/stations). The inputs and outputs may be received/provided via paths 522 and 521.
RTC 540 operates as a clock, and provides the ‘current’ time to processing block 510 on path 541. RTC 540 may be backed-up by battery 545 (in addition to the normal source of power, not shown in the Figure). RTC 540 contains timers internally, that may be used by a multi-tasking manager module to schedule threads/processes for performing the operations of station 340 and AP 330. RTC 540 may also contain memory to store information received from processing block 510. Although not shown as such in
Non-volatile memory 550 is a non-transitory machine readable medium, and stores instructions, which when executed by processing block 510, cause wireless device 300 to provide several desired features described in detail above. The instructions for performing the operations of AP 330 and station 340, as well as multi-tasking (or any other suitable technique) manager for switching between station 340 and AP 330 in a TDM manner, are stored in non-volatile memory 550.
Processing block 510 (or processor in general) may contain multiple processing units internally, with each processing unit potentially being designed for a specific task. Alternatively, processing block 510 may contain only a single general-purpose processing unit.
RAM 530 and non-volatile memory 550 (which may be implemented in the form of read-only memory/ROM/flash) constitute computer program products or machine (or computer) readable medium, which are means for providing instructions to processing block 510. Thus, such medium can be in the form of removable (floppy, CDs, tape, etc.) or non-removable (hard drive, etc.) medium. Processing block 510 may retrieve the instructions (via corresponding paths 551 and 531), and execute the instructions to provide several features of the present invention, as described above. In particular, the instructions executed by processing block 510 enable wireless device 300 to perform the operations of the flowchart of
9. Conclusion
References throughout this specification to “one embodiment”, “an embodiment”, or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment”, “in an embodiment” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above-described embodiments, but should be defined only in accordance with the following claims and their equivalents.