Method, device and non-transitory computer readable medium for RTS/CTS adaptive enablement/disablement
A method and device for RTS/CTS adaptive enablement/disablement are provided. The method for RTS/CTS adaptive enablement includes changing a first state to a second state in response to determining that a first packet error rate satisfies a condition, the first packet error rate being measured in the first state, and each of the first state and the second state corresponding to a different one of an RTS/CTS enabled state and an RTS/CTS disabled state, and determining whether to change from the second state to the first state based on a second packet error rate and a threshold, the second packet error rate being measured in the second state.
1 . A method for RTS/CTS adaptive enablement, comprising:
changing an RTS/CTS disabled state to an RTS/CTS enabled state in response to determining that a first packet error rate satisfies a condition, the first packet error rate being measured in the RTS/CTS disabled state; and
determining whether to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on a second packet error rate being greater than or equal to a threshold, the second packet error rate being measured in the RTS/CTS enabled state.
2 . The method of claim 1 , further comprising:
measuring the first packet error rate or the second packet error rate according to a time period.
3 . The method of claim 2 , wherein
the condition is that the first packet error rate is greater than the threshold; or
the method further comprises changing the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining that values of a plurality of third packet error rates remain stable or decrease.
4 . The method of claim 3 , wherein the determining whether to change from the RTS/CTS enabled state determines not to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on the second packet error rate being less than the threshold.
5 . The method of claim 3 , wherein the method further comprises:
performing first operations including,
changing from the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on the second packet error rate being greater than or equal to the threshold,
reducing a data rate, and
re-measuring the first packet error rate; or
performing second operations including,
changing from the RTS/CTS disabled state to the RTS/CTS enabled state in response to determining a fourth packet error rate is greater than or equal to the threshold, and
re-measuring one of the plurality of third packet error rates based on the changing from the RTS/CTS disabled state to the RTS/CTS enabled state.
6 . The method of claim 1 , further comprising:
re-measuring the first packet error rate in the RTS/CTS disabled state in response to determining that the first packet error rate does not satisfy the condition.
7 . The method of claim 6 , wherein
the condition is the first packet error rate being greater than the threshold; or
the method further comprises changing the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining that a plurality of third packet error rates remain stable or decrease.
8 . The method of claim 1 , wherein the threshold is a packet error rate tolerance at a current data rate.
9 . The method of claim 1 , further comprising:
transmitting a data frame to a device while in the RTS/CTS disabled state or the RTS/CTS enabled state.
10 . The method of claim 1 , further comprising:
reducing a data rate in response to determining to change from the RTS/CTS enabled state to the RTS/CTS disabled state.
11 . A device for RTS/CTS adaptive enablement, comprising: processing circuitry configured to,
change an RTS/CTS disabled state to an RTS/CTS enabled state in response to determining that a first packet error rate satisfies a condition, the first packet error rate being measured in the RTS/CTS disabled state, and
determine whether to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on a second packet error rate being greater than or equal to a threshold, the second packet error rate being measured in the RTS/CTS enabled state.
12 . The device of claim 11 , wherein the processing circuitry is configured to measure the first packet error rate or the second packet error rate according to a time period.
13 . The device of claim 12 , wherein
the condition is that the first packet error rate is greater than the threshold; or
the processing circuitry is configured to change the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining that values of a plurality of third packet error rates remain stable or decrease.
14 . The device of claim 12 , wherein the processing circuitry is configured to determine not to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on the second packet error rate being less than the threshold.
15 . The device of claim 13 , wherein the processing circuitry is configured to:
perform first operations including,
changing from the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining the second packet error rate is greater than or equal to the threshold,
reduce a data rate of the device, and
re-measure the first packet error rate; or
perform second operations including,
changing from the RTS/CTS disabled state to the RTS/CTS enabled state in response to determining a fourth packet error rate is greater than or equal to the threshold, and
re-measuring one of the plurality of third packet error rates based on the changing from the RTS/CTS disabled state to the RTS/CTS enabled state.
16 . The device of claim 11 , wherein the processing circuitry is configured to re-measure the first packet error rate in response to determining that the first packet error rate does not satisfy the condition.
17 . The device of claim 16 , wherein
the condition is that the first packet error rate is greater than the threshold; or
the processing circuitry is configured to change the RTS/CTS enabled state to the RTS/CTS disabled state in response to determining that a plurality of third packet error rates remain stable or decrease.
18 . The device of claim 11 , wherein the threshold is a packet error rate tolerance at a current data rate of the device.
19 . The device of claim 11 , wherein the processing circuitry is configured to transmit a data frame to another device in the RTS/CTS disabled state or the RTS/CTS enabled state.
20 . A non-transitory computer-readable storage medium storing a computer program that, when executed by at least one processor, causes the at least one processor to perform a method, the method comprising:
changing an RTS/CTS disabled state to an RTS/CTS enabled state in response to determining that a first packet error rate satisfies a condition, the first packet error rate being measured in the RTS/CTS disabled state; and
determining whether to change from the RTS/CTS enabled state to the RTS/CTS disabled state based on a second packet error rate being greater than or equal to a threshold, the second packet error rate being measured in the RTS/CTS enabled state.