Resume and suspend periodic service
A method is provided. In some examples, the method includes initiating, by a host application in a station, resumption of target wakeup time (TWT) service between the station and an access point. In addition, the method includes transmitting, by a communication interface in the station to the access point, a request to resume the TWT service. The method further includes generating, by the host application, data for transmission to the access point and transmitting, by the communication interface to the access point, the generated data. The method also includes receiving, by the station after transmitting the generated data, a response from the access point and initiating, by the host application, suspension of the TWT service. Moreover, the method includes transmitting, by the communication interface to the access point, a request to suspend the TWT service.
1 . A method comprising:
initiating, by a host application, resumption of target wakeup time (TWT) service;
transmitting, by a communication interface, a request to resume the TWT service;
generating, by the host application, data for transmission,
transmitting, by the communication interface, the generated data;
receiving, after transmitting the generated data, a response;
initiating, by the host application, suspension of the TWT service;
transmitting, by the communication interface, a request to suspend the TWT service;
determining a timing for resumption of the TWT service, wherein the timing for resumption of the TWT service is after the suspension of the TWT service;
before suspending the TWT service, transmitting a packet including an indication of a timing for resumption; and
initiating, by the host application, resumption of the TWT service based on the timing for resumption.
2 . The method of claim 1 , further comprising:
after transmitting the generated data, receiving a beacon from an access point;
determining a timing of a broadcast TWT service period based on the beacon; and
polling the access point during the broadcast TWT service period,
wherein receiving the response occurs during the broadcast TWT service period after polling the access point.
3 . The method of claim 2 , further comprising:
negotiating a TWT agreement with the access point; and
determining a timing of a unicast TWT service period based on the TWT agreement; and
wherein receiving the response occurs during the unicast TWT service period after polling the access point.
4 . The method of claim 1 , further comprising:
negotiating a first TWT agreement for communication at a first rate;
after negotiating the first TWT agreement, negotiating a second TWT agreement for communication at a second rate at least ten times greater than the first rate; and
after negotiating the second TWT agreement, negotiating a third TWT agreement to return to the communication at the first rate,
wherein the request to resume the TWT service comprises a request to resume TWT service under the first TWT agreement, and
wherein the request to suspend the TWT service comprises a request to suspend TWT service under the first TWT agreement.
5 . The method of claim 1 , wherein transmitting the request to resume the TWT service and transmitting the generated data comprise transmitting, outside of an upcoming TWT service period, a single packet comprising both the generated data and the request to resume the TWT service.
6 . The method of claim 5 , further comprising:
determining, based on a TWT agreement, a first time at which the upcoming TWT service period is scheduled to begin;
determining a second time to transmit the single packet based on the first time; and
triggering initiation of the resumption of the TWT service at the second time.
7 . The method of claim 1 , wherein transmitting the generated data comprises transmitting the generated data during a first TWT service period.
8 . The method of claim 7 ,
wherein receiving the response occurs during a second TWT service period after the first TWT service period, and
wherein transmitting the request to suspend occurs during the second TWT service period.
9 . The method of claim 1 ,
wherein transmitting the request to resume comprises transmitting a first packet including a first value of a single bit,
wherein transmitting the request to suspend comprises transmitting an acknowledgment of the response including a second value of the single bit.
10 . The method of claim 1 ,
wherein transmitting the request to resume TWT service comprises transmitting a first packet including a first value of a single bit, and
wherein transmitting the request to suspend TWT service comprises transmitting a response to a trigger frame.
11 . The method of claim 1 , further comprising:
receiving a trigger frame, wherein transmitting the generated data occurs in response to receiving the trigger frame; and
receiving a trigger frame,
wherein transmitting the request to suspend TWT service occurs in response to receiving the trigger frame.
12 . A device comprising:
transceiver circuitry; and
processing circuitry coupled to the transceiver circuitry, the processing circuitry configured to:
negotiate a first TWT agreement for communication at a first rate;
after negotiating the first TWT agreement, negotiate a second TWT agreement for communication at a second rate greater than the first rate; and
after negotiating the second TWT agreement, negotiate a third TWT agreement to return to the communication at the first rate;
initiate resumption of target wakeup time (TWT) service;
cause the transceiver circuitry to transmit, a request to resume TWT service under the first TWT agreement;
generate data for transmission;
cause the transceiver circuitry to transmit the generated data;
receive, via the transceiver circuitry after transmitting the generated data, a response;
initiate suspension of the TWT service; and
cause the transceiver circuitry to transmit, a request to suspend the TWT service under the first TWT agreement.
13 . The device of claim 12 , wherein the processing circuitry is further configured to:
determine a timing of a broadcast TWT service period based on a beacon received by the transceiver circuitry; and
cause the transceiver circuitry to poll an access point during the broadcast TWT service period,
wherein the transceiver circuitry receives the response during the broadcast TWT service period after polling the access point.
14 . The device of claim 13 , wherein the processing circuitry is further configured to:
negotiate a fourth TWT agreement with the access point; and
determine a timing of a unicast TWT service period based on the TWT agreement; and
wherein the transceiver circuitry receives the response during the unicast TWT service period after polling the access point.
15 . The device of claim 12 , wherein the second rate is at least ten times the first rate.
16 . A non-transitory computer-readable medium having executable instructions stored thereon, configured to be executable by processing circuitry for causing the processing circuitry to:
initiate resumption of a first target wakeup time (TWT) service;
cause transceiver circuitry to transmit, a request to resume the first TWT service;
generate data for transmission;
cause the transceiver circuitry to transmit the generated data during a first TWT service period;
receive, after transmitting the generated data, a response during a second TWT service period after the first TWT service period;
initiate suspension of the TWT service; and
cause the transceiver circuitry to transmit, a request to suspend the TWT service during the second TWT service period.
17 . The non-transitory computer-readable medium of claim 16 , wherein the instructions are further configured to cause the processing circuitry to:
determine a timing of a broadcast TWT service period based on a beacon received by the transceiver circuitry; and
cause the transceiver circuitry to poll an access point during the broadcast TWT service period,
wherein the transceiver circuitry receives the response during the broadcast TWT service period after polling the access point.
18 . The non-transitory computer-readable medium of claim 17 , wherein the instructions are further configured to cause the processing circuitry to:
negotiate a TWT agreement with the access point; and
determine a timing of a unicast TWT service period based on the TWT agreement; and
wherein the transceiver circuitry receives the response during the unicast TWT service period after polling the access point.
19 . The non-transitory computer-readable medium of claim 16 , wherein the instructions are further configured to cause the processing circuitry to:
negotiate a first TWT agreement for communication at a first rate;
after negotiating the first TWT agreement, negotiate a second TWT agreement for communication at a second rate at least ten times greater than the first rate; and
after negotiating the second TWT agreement, negotiate a third TWT agreement to return to the communication at the first rate,
wherein the request to resume the TWT service comprises a request to resume TWT service under the first TWT agreement, and
wherein the request to suspend the TWT service comprises a request to suspend TWT service under the first TWT agreement.