This disclosure relates to the field of a wireless local area network (WLAN), and in particular, to a method for sending a physical layer protocol data unit and a communication apparatus in a WLAN.
A WLAN starts from 802.11a/b/g and evolves from 802.11n, 802.11ac, and 802.11ax to 802.11be that is being discussed in the industry. There are two Extremely High Throughput (EHT) physical layer protocol data unit (PPDU) formats defined in the 802.11be: an EHT multiple user (MU) PPDU and an EHT trigger-based (TB) PPDU. The EHT MU PPDU may support single-user (downlink or uplink) and multi-user (downlink) data transmission. The EHT TB PPDU is a PPDU that is triggered to be sent by one or more stations (STAs) based on scheduling information in a trigger frame sent by an access point (AP).
However, in wireless communication, there are many scenarios in which PPDU alignment is useful. To be specific, a time interval between a PPDU end time and a target end time is less than a specific error threshold. For example, in multi-link (MIL) transmission of non-simultaneous transmit and receive (non-STR), a time error of simultaneous ending of PPDUs on multiple links (for example, a link 1 and a link 2) is generally not to exceed 8 microseconds. However, when there are trigger frames in PPDUs on different links, and carrier monitoring is performed before sending of a TB PPDU that is triggered by the trigger frames, a time error of simultaneous ending of the PPDUs on the different links is generally not to exceed 4 microseconds.
However, time limitation is not considered in coding procedures of an existing EHT MU PPDU and an existing EHT TB PPDU. For example, PPDUs on different links are encoded based on respective required duration. In a current situation, a requirement on PPDU alignment cannot be met.
This disclosure provides a method for sending a PPDU and a communication apparatus, to implement PPDU alignment.
According to a first aspect, a method for sending a PPDU is provided. The method may be applied to a transmitter for wireless communication, or may be applied to a chip or a chip system of a transmitter. The following uses a transmitter as an example. The method includes the following. The transmitter controls duration of one or more fields of a packet extension (PE) field, an EHT-signal (EHT-SIG) field, and an EHT-long training field (EHT-LTF) field of a first PPDU, and/or delays a sending time of the first PPDU, so that an error between an end time of the first PPDU and a first time is not greater than an error threshold, and the transmitter sends the first PPDU.
In the technical solution of this disclosure, the transmitter controls the duration of one or more fields of the PE field, the EHT-SIG field, and the EHT-LTF field of the PPDU (for example, the first PPDU), and/or delays the sending time of the PPDU, so that the error between the end time of the PPDU and a specific time (for example, the first time) is not greater than the error threshold, to align the end time of the PPDU with the first time.
The solution in this disclosure is applicable to sending of a PPDU in some scenarios with time limitation (or a scenario in which PPDU alignment is required), for example, ML transmission of non-STR.
With reference to the first aspect, in some implementations of the first aspect, the first PPDU includes a preamble, a data field, and the PE field, duration of the PE field is determined based on first duration, duration of the preamble of the first PPDU, and duration of a symbol in the data field, and the first duration is duration between the first time and a start time of the first PPDU.
In this implementation, considering that a duration granularity of the PE field is a multiple of 4 microseconds, alignment between the end time of the first PPDU and the first time is implemented by using the duration of the PE field. This can meet an alignment condition with a relatively small error threshold. For example, the error threshold is 4 microseconds or 8 microseconds.
With reference to the first aspect, in some implementations of the first aspect, a quantity of symbols in the data field is determined based on the first duration, the duration of the preamble, and the duration of the symbol in the data field.
With reference to the first aspect, in some implementations of the first aspect, the first PPDU includes a preamble, a data field, and the PE field, the preamble includes the EHT-SIG field, and the EHT-SIG field includes an initial part and a padding part.
Duration of the padding part in the EHT-SIG field is determined based on first duration, initial duration of the preamble, duration of the PE field, and duration of a symbol in the data field, the initial duration of the preamble does not include the duration of the padding part in the EHT-SIG field, and the first duration is duration between the first time and a start time of the first PPDU.
The duration of the padding part is a multiple of 4 microseconds.
In this implementation, considering that duration of one symbol in the EHT-SIG field is 4 microseconds, and the EHT-SIG field allows all symbols to be padding bits, the EHT-SIG field is padded, so that the end time of the first PPDU can be aligned with the first time. In addition, compared with alignment of the first PPDU by using the PE field, the duration of the PE field can be shortened and selection of a pre-forward error correction (FEC) padding factor can be simplified.
With reference to the first aspect, in some implementations of the first aspect, a quantity of symbols in the data field is determined based on the first duration, the initial duration of the preamble, the duration of the PE field, and the duration of the symbol in the data field.
With reference to the first aspect, in some implementations of the first aspect, the EHT-SIG field of the first PPDU carries a low-density parity check (LDPC) extra symbol segment field, where the LDPC extra symbol segment field is set to be a second value, the EHT-SIG field carries a second pre-forward error correction padding factor, the second value indicates that no LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is not met, and the LDPC extra symbol segment condition is set based on the second pre-forward error correction padding factor. The second pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
In an implementation, the transmitter selects the duration of the PE field of the first PPDU based on a limitation on the first time. Further, the transmitter selects the second pre-forward error correction padding factor based on the selected duration of the PE field and the nominal packet padding capability of the receiver, determines, based on the second pre-forward error correction padding factor, whether the LDPC extra symbol segment condition is met, and sets the LDPC extra symbol segment field if the LDPC extra symbol segment condition is not met. In this implementation, alignment between the end time of the first PPDU and the first time can be ensured, and sending of the PPDU in a scenario in which PPDU alignment is required can be met.
With reference to the first aspect, in some implementations of the first aspect, the EHT-SIG field of the first PPDU carries an LDPC extra symbol segment field, where the LDPC extra symbol segment field is set to be a first value, the EHT-SIG field carries a second pre-forward error correction padding factor, the first value indicates that an LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is met, and the LDPC extra symbol segment condition is set based on a first pre-forward error correction padding factor. The first pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
In an implementation, the transmitter selects the duration of the PE field of the first PPDU based on a limitation on the first time. Further, the transmitter selects the second pre-forward error correction padding factor based on the selected duration of the PE field and the nominal packet padding capability of the receiver, and determines the first pre-forward error correction padding factor based on the second pre-forward error correction padding factor. The transmitter determines, based on the first pre-forward error correction padding factor, whether the LDPC extra symbol segment condition is met, and sets the LDPC extra symbol segment field if the LDPC extra symbol segment condition is met. In this implementation, alignment between the end time of the first PPDU and the first time can be ensured, and sending of the PPDU in a scenario in which PPDU alignment is required can be met.
With reference to the first aspect, in some implementations of the first aspect, the EHT-SIG field of the first PPDU carries an LDPC extra symbol segment field, where the LDPC extra symbol segment field is set to be a second value, the EHT-SIG field carries a first pre-forward error correction padding factor, the second value indicates that no LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is not met, and the LDPC extra symbol segment condition is set based on the first pre-forward error correction padding factor. The first pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
In an implementation, the transmitter selects the duration of the PE field of the first PPDU based on a limitation on the first time. Further, the transmitter selects the second pre-forward error correction padding factor based on the selected duration of the PE field and the nominal packet padding capability of the receiver, and determines the first pre-forward error correction padding factor based on the second pre-forward error correction padding factor. The transmitter determines, based on the first pre-forward error correction padding factor, whether the LDPC extra symbol segment condition is met, and sets the LDPC extra symbol segment field if the LDPC extra symbol segment condition is not met. In this implementation, alignment between the end time of the first PPDU and the first time can be ensured, and sending of the PPDU in a scenario in which PPDU alignment is required can be met.
In the foregoing several implementations, the first pre-forward error correction padding factor is determined based on the second pre-forward error correction padding factor. The first PPDU is encoded by using the first pre-forward error correction padding factor, so that duration that can be used by the receiver to decode the first PPDU is prolonged in comparison with a case in which the first PPDU is encoded by using the second pre-forward error correction padding factor.
With reference to the first aspect, in some implementations of the first aspect, the EHT-SIG field of the first PPDU carries an LDPC extra symbol segment field, where the LDPC extra symbol segment field is set to be a first value, the EHT-SIG field carries a second pre-forward error correction padding factor, the first value indicates that an LDPC extra symbol segment is to be added, and the second pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
In this implementation, based on a limitation of the first time. The transmitter selects the duration of the PE field, and selects the second pre-forward error correction padding factor based on the selected duration of the PE field and a requirement on the nominal packet padding capability of the receiver. On this basis, the LDPC extra symbol segment condition is met by default and the transmitter sets the LDPC extra symbol segment field. Compared with another implementation in which the transmitter calculates whether the LDPC extra symbol segment condition is met to further determine the pre-forward error correction padding factor, in this implementation, a procedure of selecting the pre-forward error correction padding factor is greatly simplified, and calculation complexity and a calculation amount are reduced.
In addition, for example, in the foregoing implementations, the first value may be “1”, and the second value may be “0”. It is clear that the first value and the second value may further be set to other values or characters, to identify whether the LDPC extra symbol segment is added. This is not limited.
With reference to the first aspect, in some implementations of the first aspect, the first pre-forward error correction padding factor and the second pre-forward error correction padding factor meet the following formula:
where a1 represents the first pre-forward error correction padding factor, and a2 represents the second pre-forward error correction padding factor.
With reference to the first aspect, in some implementations of the first aspect, the duration of the PE field is increased by 4 microseconds, and the duration of the PE field is increased by 4 microseconds in the following case: when an LDPC extra symbol segment condition is met, a requirement on a nominal packet padding capability of a receiver is not met after an LDPC extra symbol segment is added, remaining duration is greater than or equal to 4 microseconds, and the duration of the PE field does not reach allowed maximum duration.
The LDPC extra symbol segment condition is set based on a second pre-forward error correction padding factor, and the second pre-forward error correction padding factor is determined based on the duration of the PE field obtained before 4 microseconds are added and the nominal packet padding capability of the receiver, and the remaining duration is determined based on the first duration, the duration of the preamble, the duration of the symbol in the data field, and the duration of the PE field obtained before 4 microseconds are added.
In this implementation, the transmitter pads the EHT-SIG field based on a limitation on the first time, to align the end time of the first PPDU with the first time. The duration of the PE field may be freely selected, and is more flexible.
According to a second aspect, a communication apparatus is provided. The communication apparatus has a function of implementing the method according to the first aspect or any one of the possible implementations of the first aspect. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more units corresponding to the foregoing function.
According to a third aspect, a communication apparatus is provided, including a processor and a memory. Optionally, the communication apparatus may further include a transceiver. The memory is configured to store a computer program. The processor is configured to invoke and run the computer program stored in the memory, and control the transceiver to send and receive a signal, so that the communication apparatus performs the method according to the first aspect or any one of the possible implementations of the first aspect.
For example, the communication apparatus is a transmitter for wireless communication.
According to a fourth aspect, a communication apparatus is provided, including a processor and a communication interface. The communication interface is configured to receive data and/or information, and transmit the received data and/or information to the processor, the processor processes the data and/or information, and the communication interface is further configured to output data and/or information processed by the processor, so that the method according to the first aspect or any one of the possible implementations of the first aspect is performed.
According to a fifth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the method according to the first aspect or any one of the possible implementations of the first aspect is performed.
According to a sixth aspect, a computer program product is provided. The computer program product includes computer program code, and when the computer program code is run on a computer, the method according to the first aspect or any one of the possible implementations of the first aspect is performed.
According to a seventh aspect, a chip is provided. The chip includes a processor, a memory configured to store a computer program is disposed independently from the chip, and the processor is configured to execute the computer program stored in the memory, so that a device on which the chip is installed performs the method according to the first aspect or any one of the possible implementations of the first aspect.
Optionally, the processor may be a processing circuit or a logic circuit.
Further, the chip may include a communication interface. The communication interface may be an input/output interface, an interface circuit, or the like. Further, the chip may include the memory.
Optionally, there may be one or more processors, and there may be one or more memories.
According to an eighth aspect, a communication system is provided, including the communication apparatus (for example, the transmitter in this embodiment of this disclosure) according to any one of the second aspect to the fourth aspect, and one or more other communication apparatuses that communicate with the communication apparatus.
The following describes technical solutions of embodiments in this disclosure with reference to accompanying drawings.
In a WLAN communication standard 802.11be, two types of EHT PPDU formats are defined, namely, an EHT MU PPDU and an EHT TB PPDU. The EHT MU PPDU may support single-user (downlink or uplink) and multi-user (downlink) data transmission. The EHT TB PPDU is a PPDU that is triggered to be sent by one or more STAs based on scheduling information in a trigger frame sent by an AP.
In Table 1, * represents a multiplication operation.
It should be understood that
Meanings of information in
Excess information bits: Information bits included in a last symbol of an EHT PPDU.
Pre-FEC bits: Padding bits involved in coding.
Post-FEC output bits: Output bits after scrambling and FEC.
Scrambling and FEC: Indicate scrambling and forward error correction respectively.
Post-FEC padding bits: Indicate a quantity of bits required by a total quantity of encoded bits that further are to be padded to a symbol after coding. It should be understood that the total quantity of bits is a quantity of bits included in one symbol. The post-FEC padding bits are not involved in coding, and are not processed by the receiver.
NCBPS,Last,u: Indicates a quantity of encoded bits of a last symbol.
NCBPS,u: Indicates a quantity of encoded bits of a symbol (not the last symbol). In addition, a represents a captured position of coding, and may be referred to as a pre-FEC padding factor. There are four captured positions in total, that is, a=1, 2, 3, and 4, respectively indicating that output bits after FEC coding occupy about ¼, 2/4, ¾, and 1 of the entire symbol, and respectively correspond to one, two, three, and four segments of the last symbol. In other words, when a=4, all subcarriers are involved in coding.
The following describes in detail the coding procedure of the EHT PPDU with reference to the procedure in
(1) For the EHT MU PPDU, a transmitter first calculates, according to formula (1), a quantity of bits that are exceeded in a last data symbol for each user (for example, an uth user), that is, excess information bits.
In the formula (1), Nexcess,u represents a quantity of excess information bits existing in the last data symbol of the uth user.
APEP_LENGTHu represents a quantity of padding bytes (pre-end of frame padding) before an end of an uth user aggregated-MAC protocol data unit (A-MPDU) frame, and may be understood as a quantity of bytes of useful information bits to be transmitted at a MAC layer.
Ntail represents coded tail bits, and for binary convolutional coding (BCC), the value is 6, and for LDPC, the value is 0.
Nservice is a quantity of bits of a service field, and the value is 16.
NDBPS,u is a quantity of bits included in each symbol of the uth user.
(2) The transmitter calculates a quantity of initial segments of the last OFDM symbol and a quantity of initial OFDM symbols according to Nexcess,u, a formula (2), and a formula (3).
NSD,short,u is a quantity of information bits carried in a segment in a last symbol that is predefined in a communication protocol standard for a corresponding resource unit (RU) or multiple resource unit (MRU), NSS,u is a quantity of spatial streams of the uth user, and NBPSCS,u is a quantity of encoded bits on each subcarrier of each spatial stream of the uth user.
(3) The transmitter determines, according to the following formula, a number (denoted as umax in the following) of a user having a largest quantity of encoded bits among all users:
(4) The transmitter determines a quantity of initial segments and a quantity of initial OFDM symbols of umax as a quantity of common initial segments and a quantity of initial OFDM symbols of all users, that is:
(5) The transmitter calculates a quantity of initial data bits and a quantity of initially encoded bits of a last OFDM symbol of each user according to the following formula:
For each user who uses the LDPC coding, the pre-forward error correction padding bits (pre-FEC padding bits) of the uth user may be calculated according to the following formula:
For each user who uses the LDPC coding, a quantity of load bits Npld,u and a quantity of bits Navbits,u that can be transmitted of the uth user are calculated according to the following formula (6) and formula (7) respectively:
The transmitter calculates, based on Npld,u and Navbits,u, a code length LLDPC,u of an LDPC code word and a quantity of code words NCW,u of Navbits,u according to a table or a formula predetermined in a communication standard.
Then, the transmitter calculates a quantity of shortening bits Nshrt,u of the uth user and a quantity of bits Npunc,u that are punctured of the uth user.
For a user who uses the LDPC coding, if at least one user meets a condition of the following formula (8), the transmitter sets an LDPC extra symbol segment field in the EHT-SIG field to be 1.
In this embodiment of this disclosure, the condition in the formula (8) is referred to as an LDPC extra symbol segment condition below.
In addition, Navbits,u is added by using the following formulas (9) and (10) for all users who use the LDPC coding, and Npunc,u is recalculated. When at least one user meets the condition of the formula (8), all users who use the LDPC coding update Navbits,u and Npunc,u.
Further, the transmitter updates the pre-FEC padding factor a and NSTM according to the following formula:
It may be understood that, in the foregoing entire formula, if an initial captured position is 4, it indicates that it is already in a largest quantity of segments of the last symbol. If another segment is to be added, a symbol is added first, and then a first captured position is selected from the added symbol, that is, the captured position a=1.
If no user that uses the LDPC coding meets the condition of LDPC extra symbol segment condition, or all users use the BCC coding, the LDPC extra symbol segment field in the EHT-SIG field is set to be 0, NSYM=NSYM, init, and a=ainit.
That is, if the LDPC extra symbol segment condition is not met, the pre-FEC padding factor a and NSYM are not updated. Therefore, the pre-FEC padding factor a is the quantity of initial segments, and NSYM is also the quantity of initial symbols.
In addition, for a user who uses the LDPC coding:
For a user who uses the BCC coding:
In addition, for any user, regardless of whether the LDPC coding or the BCC coding is used, NCBPS,last,u of the last symbol is calculated as follows:
In addition, for a user who uses the BCC coding, the quantity of pre-FEC padding bits (that is, pre-forward error correction padding bits) is calculated according to the following formula:
For any user, regardless of whether the LDPC coding or the BCC coding is used, the quantity of post-FEC padding bits (that is, post-forward error correction padding bits) of the last symbol is calculated according to the following formula:
Further, pre-FEC padding is classified into MAC padding and PHY padding, and quantities of bits are respectively as follows:
In addition, the receiver further claims, to the transmitter, a capability that the receiver uses for extra processing time. The capability is referred to as a nominal packet padding capability in this specification. This is not limited herein. Selection of duration of each field of a PPDU sent by a transmitter to a receiver meets a nominal packet padding capability of the receiver, where a condition is that a sum of duration of a post-forward error correction padding part (that is, duration of post-FEC padding bits, refer to
If the transmitter calculates, by using the foregoing coding procedure of the EHT MU PPDU, that at least one user meets the LDPC extra symbol segment condition, the transmitter sets the LDPC extra symbol segment field in the trigger frame to be 1. Different from the coding procedure of the EHT MU PPDU, even if the LDPC extra symbol segment condition is not met, the AP may set the LDPC extra symbol segment field to be 1. However, in the coding procedure of the EHT MU PPDU, if the LDPC extra symbol segment condition is not met, the transmitter sets the LDPC extra symbol segment field to be 0.
After receiving the trigger frame, the STA calculates a length TPE of the PE field and a quantity of OFDM symbols NSYM of a data field based on a parameter and the information that are indicated in the trigger frame.
Further, the STA may separately calculate TPE and NSYM according to a formula (11) and a formula (12).
In the formula (12), bPE-Disambiguity represents a bit value included in the PE disambiguity field, and is indicated by the trigger frame. When the length of the PE field is 16 microseconds or 20 microseconds, the length of the PE field may be ambiguous. For example, there may be an OFDM symbol in the last 16 microseconds, and the length of the PE field is 0, or there may be a PE field whose length is 16 microseconds. The PE disambiguity field indicates to distinguish between the two cases, to eliminate ambiguity.
The trigger frame includes a coding indication field for each STA, to indicate the STA to use the BCC or the LDPC. However, when a quantity of subcarriers of an RU or an MRU allocated to a specific STA is greater than or equal to 242, the STA fixedly uses the LDPC, and is not indicated.
For a STA, if the BCC coding is used, a coding procedure is similar to the coding procedure of the EHT MU PPDU, where NSYM, init=NSYM, ainit=a, and a is a pre-FEC padding factor, and is indicated by a trigger frame.
If the LDPC coding is used, in one case, the LDPC extra symbol segment field is set to be 1, and the STA calculates ainit a based on a that is indicated in the trigger frame.
Further, the STA performs calculation according to the following formula:
After obtaining ainit and NSYM, init through calculation, the STA updates Navbits,u and Npunc,u according to the foregoing formula (9) and formula (10), and then performs coding by using a subsequent coding procedure of the EHT MU PPDU.
If the LDPC coding is used, in another case, the LDPC extra symbol segment field is set to be 0, and NSYM, init=NSYM, and ainit=a. In other words, in this case, Navbits,u and Npunc,u are not updated, and the STA may directly perform coding by using a subsequent coding procedure of the EHT MU PPDU.
The foregoing describes the coding procedures of the EHT MU PPDU and the EHT TB PPDU in this disclosure. The selection of the pre-FEC padding factor, determining of the LDPC extra symbol segment condition, and setting of the LDPC extra symbol segment field are involved.
The technical solutions provided in this disclosure are applicable to a WLAN scenario, for example, are applicable to standards of an IEEE 802.11 system, for example, 802.11a/b/g, 802.11n, 802.1 lac, 802.1 lax, or a next generation of 802.1 lax, for example, 802.11be or a further next generation standard.
Although embodiments of this disclosure are mainly described by using an example in which a WLAN network is deployed, especially a network to which an IEEE 802.11 system standard is applied, a person skilled in the art easily understands that aspects involved in this disclosure may be extended to another network that adopts various standards or protocols, for example, a high-performance radio local area network (HIPERLAN), a wide area network (WAN), a personal area network (PAN), or another network that is known or developed in the future. The HIPERLAN is a wireless standard similar to the Institute of Electrical and Electronics Engineers (IEEE) 802.11 and is mainly used in Europe. Therefore, the various aspects provided in this disclosure are applicable to any suitable wireless network regardless of coverage and wireless access protocols.
Embodiments of this disclosure may be further applicable to a WLAN system such as an Internet of things (IoT) network or a vehicle to X (V2X) network. Certainly, embodiments of this disclosure may be further applicable to another possible communication system, for example, a Long-Term Evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD) system, a universal mobile tele communication system (UMTS), a Worldwide Interoperability for Microwave Access (WIMAX) communication system, a 5th generation (5G) communication system, and a future 6th generation (6G) communication system.
The foregoing communication systems used in this disclosure are merely examples for description, and are not limited thereto. Unified descriptions are provided herein and details are not described below again.
The access point may be an access point for a terminal device (for example, a mobile phone) to access a wired (or wireless) network, and is mainly deployed at home, or inside a building or a zone, with a typical coverage radius of dozens of meters to hundreds of meters. Certainly, the access point may also be deployed outdoors. The access point is equivalent to a bridge that connects a wired network and a wireless network. A main function of the access point is to connect various wireless network clients together and then connect the wireless network to the Ethernet. Further, the access point may be a terminal device (for example, a mobile phone) or a network device (for example, a router) that has a WI-FI chip. The access point may be a device that supports the 802.11be standard. The access point may also be a device that supports a plurality of WLAN standards of an 802.11 family, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, 802.11a, and a next generation of 802.11be. The access point in this disclosure may be a high-efficiency (HE) AP or an EHT AP, or may be an access point applicable to a future generation of WI-FI standards.
The station may be a wireless communication chip, a wireless sensor, a wireless communication terminal, or the like, and may also be referred to as a user. For example, the station may be a mobile phone, a tablet computer, a set-top box, a smart television set, a smart wearable device, a vehicle-mounted communication device, a computer, or the like that supports a WI-FI communication function. Optionally, the station may support the 802.11be standard. The station may also support a plurality of WLAN standards of an 802.11 family, such as 802.11 ax, 802.11 ac, 802.11n, 802.11g, 802.11b, 802.11a and a next generation of 802.11be.
The STA in this disclosure may be a high-efficiency (HE) STA or an EHT STA, or may be a STA applicable to a future generation of WI-FI standards.
For example, the access point and the station may be devices used in the vehicle to X, nodes, sensors, or the like used in the IoT, smart cameras, smart remote controls, smart water or electricity meters, or the like in a smart home, sensors in a smart city, and the like.
An embodiment of this disclosure provides a communication method applied to a WLAN system. The method may be implemented by a communication device in the WLAN system or a chip or a processor in a communication device. The communication device may be a wireless communication device that supports multi-link parallel transmission, for example, referred to as a multi-link device or a multi-band device. Compared with a device that supports only single-link transmission, the multi-link device has higher transmission efficiency and a higher throughput.
As shown in
It should be noted that a multi-link device includes a plurality of logical stations, and each of the logical stations works on a single link, but a plurality of logical stations are allowed to work on a same link. A link identifier mentioned below represents one station operating on one link. In other words, if there is more than one station on one link, more than one link identifier is used to represent the more than one station. A link mentioned below sometimes also represents a station operating on the link.
A transmitter mentioned below in this disclosure may be a multi-link device (for example, a first multi-link device in
The following also separately describes solutions for implementing EHT PPDU alignment for EHT PPDUs in two different formats: an EHT MU PPDU and an EHT TB PPDU.
Step 210: A transmitter controls duration of one or more fields of a PE field, an EHT-SIG field, and an EHT-LTF field of a first PPDU, and/or delays a sending time of the first PPDU, so that an error between an end time of the first PPDU and a first time is not greater than an error threshold.
Step 220: The transmitter sends the first PPDU.
A receiver receives the first PPDU.
In the technical solution provided in this disclosure, the transmitter implements alignment between the end time of the first PPDU and the first time by controlling the duration of one or more fields of the PE field, the EHT-SIG field, and the EHT-LTF field of the first PPDU, and/or delays the sending time of the first PPDU.
Optionally, the first time may be an end time of a PPDU (for example, a second PPDU) on another link different from the link on which the first PPDU is located, or may be a specific time determined by the transmitter. This is not limited.
It should be specially noted that “alignment” in this disclosure does not mean strictly complete alignment, and the alignment is implemented, provided that a time interval between the end time of the first PPDU and the first time is less than the error threshold. Therefore, the end time of the first PPDU may be before or after the first time, or overlap with the first time. For example, the error threshold may be set according to a requirement in an alignment scenario. For example, the error threshold is 8 microseconds, 4 microseconds, or the like.
The following describes several different implementations of PPDU alignment by using different fields in this disclosure.
In the solution 1, the first PPDU includes a preamble, a data field, and the PE field, duration of the PE field is determined based on first duration, duration of the preamble, and duration of a symbol in the data field, and the first duration is duration between the first time and a start time of the first PPDU.
The duration of the symbol in the data field is a length of one symbol in the data field.
It should be noted that the “symbol” in this disclosure is an OFDM symbol. Lengths of symbols in different fields of the first PPDU may be different. For example, the length of the symbol in the data field may be different from duration of a symbol in another field included in the preamble. Therefore, the symbol in the data field and the symbol in the EHT-LTF field further refer to respective symbols in these fields.
With reference to
Step 301: The transmitter calculates a quantity (denoted as NSYM below) of symbols in the data field of the first PPDU and the duration (denoted as TPE below) of the PE field based on the first duration.
The first duration is expected duration (or target duration) in which the transmitter sends the first PPDU.
For example, the transmitter calculates, by using an end time of a PPDU on another link as a reference point, available duration for sending the first PPDU on a current link. For another example, the transmitter expects that the first PPDU ends at a specific time (for example, the first time), and calculates, by using the time as a reference point, available duration for sending the first PPDU, that is, the first duration. It should be understood that for the “available duration for sending the first PPDU”, the duration for sending the first PPDU is limited by the first time to implement alignment between the end time of the first PPDU and the first time. In other words, the first time is used as a reference point, and the transmitter sends the first PPDU by using remaining duration from the start time of the first PPDU to the first time, to implement alignment between the end time of the first PPDU and the first time.
The transmitter calculates a quantity NSYM of symbols in the data field according to the following formula (13):
where TXTIMEtarget represents the first duration. Tpreamble is a duration of a preamble, and TSE is signal extension duration, where the value is 6 microseconds when sending is performed in a 2.4 gigahertz (GHz) frequency band, or the value of is 0 microseconds when sending is performed in a 5 GHz or 6 GHz frequency band. TSM represents duration of one OFDM symbol in the data field of the first PPDU.
After obtaining NSYM through calculation, the transmitter calculates remaining duration according to formula (14):
where TPE_est represents the remaining duration, Tpreamble is the duration of the preamble, TSE is the signal extension duration, and TSYM is the duration of one OFDM symbol in the data field of the first PPDU.
The transmitter sets the duration of the PE field to the remaining duration, so that alignment of the first PPDU can be implemented.
For example, the duration of the PE field may be determined according to the following formula (15):
It should be understood that the formula (15) is designed in this way because the duration of the PE field is a multiple of 4 microseconds.
In addition, the PE disambiguity field is set to be 0 based on TPE obtained according to the foregoing formula.
Optionally, if TPE is equal to 0 or 4 microseconds, the transmitter may further choose to reduce one OFDM symbol, to obtain larger TPE, so that the receiver obtains more processing duration. To be specific, based on the NSYM calculated according to the formula (13), the transmitter sets NSYM=NSYM−1, and in this case, the transmitter sets the PE disambiguity field to be 1, so that the receiver can eliminate ambiguity of a length of the PE field.
In this case, the first duration may be determined according to the following formula:
In addition, the transmitter further selects a coding scheme, a modulation and coding scheme, a spatial stream, and the like of each user (that is, the receiver). For details, refer to the foregoing described coding procedure of the EHT MU PPDU. Details are not described herein again.
Step 302: The transmitter selects a second pre-forward error correction padding factor based on TPE and a nominal packet padding capability value of the receiver.
For clarity and brevity of description, the second pre-forward error correction padding factor is denoted as a2 below.
The nominal packet padding capability value of the receiver is used to indicate a nominal packet padding capability of the receiver, and the nominal packet padding capability value may be provided by the receiver to the transmitter.
Step 303: The transmitter calculates Npld,u and Navbits,u based on ainit=a2, and performs coding.
It should be understood that, ainit is the quantity of initial segments mentioned above, and ainit=a2 indicates that the transmitter uses a2 as the quantity of initial segments. It can be learned from the coding procedure of the EHT MU PPDU described above that after determining the quantity of initial segments (that is, ainit) and the quantity of initial symbols in the data field (that is, NSYM,init), the receiver may obtain Npld,u and Navbits,u of the receiver through calculation, and perform coding based on Npld,u and Navbits,u.
Step 304: The transmitter determines whether an LDPC extra symbol segment condition is met.
Further, after obtaining Npld,u and Navbits,u through calculation, the transmitter performs EHT MU PPDU coding. Through coding, the transmitter may learn of a quantity of shortening bits Nshrt,u and a quantity of punctured bits Npunc,u. Further, based on Nshrt,u and Npunc,u, the transmitter determines whether the LDPC extra symbol segment condition is met.
For descriptions of the LDPC extra symbol segment condition, refer to the foregoing descriptions. Details are not described herein again.
If the LDPC extra symbol segment condition is not met, the transmitter performs step 307.
If the LDPC extra symbol segment condition is met, the transmitter performs step 305.
It should be noted that step 303 and step 304 are optional steps, as shown in a dashed box in
Step 305: The transmitter calculates Npld,u and Navbits,u based on ainit=a1, and performs coding.
In the foregoing, a1 is referred to as a first pre-forward error correction padding factor in this specification, and a1 is determined according to a2.
Further, the transmitter determines a1 according to the following formula (16), and sets ainit to a1.
Further, the transmitter calculates Npld,u and Navbits,u based on ainit=a1 and NSYM, init, and performs EHT MU PPDU coding by using Npld,u and Navbits,u. After coding, Nshrt,u and Npunc,u are obtained. Therefore, it may be determined, based on Nshrt,u and Npunc,u, whether the LDPC extra symbol segment condition is met.
It should be understood that another case other than a2=1 in the formula (16) further refers to a2=2, a2=3, or a2=4.
It should be noted that, if the transmitter performs step 303 and step 304 after step 302, and performs step 305 based on a determining result in step 304, in step 305, the transmitter sets ainit to a1, that is, the transmitter updates ainit from a2 to a1. In addition, NSYM, init also are re-determined according to formula (16). Then, the transmitter updates Npld,u and Navbits,u based on ainit=a1 and the re-determined NSYM init. Further, Nshrt,u and Npunc,u are updated based on the updated Npld,u and Navbits,u, and it is determined, based on the updated Nshrt,u and Npunc,u, whether the LDPC extra symbol segment condition is met.
Step 306: The transmitter determines whether the LDPC extra symbol segment condition is met.
It should be specially noted that, the LDPC extra symbol segment condition is related to ainit. After ainit is updated, it should be considered that a setting parameter of the LDPC extra symbol segment condition changes, and further, changes from a2 to a1.
In other words, although it is determined whether the LDPC extra symbol segment condition is met in both step 304 and step 306, the LDPC extra symbol segment condition in step 304 is set based on ainit=a2, that is, is set based on a2. However, in step 306, ainit is updated to a1. Therefore, the LDPC extra symbol segment condition in step 306 is set based on ainit=a1, that is, is set based on a1.
In addition, it can be learned from the formula (16) that, in addition to ainit, the LDPC extra symbol segment condition is also related to NSYM init. However, an update of ainit does not necessarily cause an update of NSYM, init. It should be understood that NSYM in the formula (16) is the quantity of symbols that are in the data field of the first PPDU and that are obtained through calculation based on the first time, and is obtained through calculation according to the formula (13). In addition, NSYM, init is a quantity of symbols in the data field that is set in the LDPC extra symbol segment condition.
Step 307: The transmitter generates the first PPDU.
Further, the transmitter sets an LDPC extra symbol segment field of the first PPDU based on a determining result of whether the LDPC extra symbol segment condition is met.
As described in the foregoing step 304, if the transmitter determines that the LDPC extra symbol segment condition is not met, the transmitter directly performs step 307. In this case, the transmitter sets the LDPC extra symbol segment field to a second value, the second value indicates that no LDPC extra symbol segment is to be added, and the LDPC extra symbol segment field carries a2.
If the transmitter sets the LDPC extra symbol segment field based on the determining result in step 306, the transmitter sets the LDPC extra symbol segment field according to the following principles.
If the LDPC extra symbol segment condition is met, the transmitter sets the LDPC extra symbol segment field to a first value, and the LDPC extra symbol segment field carries a2. For example, the first value may be “1”.
If the LDPC extra symbol segment condition is not met, the transmitter sets the LDPC extra symbol segment field to a second value, and the LDPC extra symbol segment field carries a1. For example, the second value may be “0”.
After the transmitter determines the duration of the PE field and sets the LDPC extra symbol segment field, it is equivalent to that the transmitter determines fields of the first PPDU. Based on this, the transmitter generates the first PPDU.
Step 308: The transmitter sends the first PPDU.
It should be understood that the procedure in
It can be learned that, in the solution 1, the transmitter calculates the duration of the PE field of the first PPDU based on the limitation of the first time, so that alignment between the end time of the first PPDU and the first time can be ensured if the nominal packet padding capability of the receiver is met.
The following provides an example of the solution 1 with reference to
As shown in
In the procedure in
In another implementation, after selecting a2, the transmitter directly selects a1 based on a2, determines, based on ainit=a1, that the LDPC extra symbol segment condition is met, and then sets the LDPC extra symbol segment field based on a determining result. Compared with a previous implementation, in the latter implementation, a process of determining, based on ainit=a2, whether the LDPC extra symbol segment condition is met is omitted. In other words, one time of determining the LDPC extra symbol segment condition is reduced, so that a calculation process of the transmitter is simplified. However, after selecting a1, the transmitter still calculates whether the LDPC extra symbol segment condition is met, and a calculation amount is still relatively large.
In view of this, a solution 2 is provided below. Compared with any implementation in the solution 1, in the solution 2, complexity of selecting a pre-forward error correction padding factor is simplified, and a calculation amount in a selection process is also reduced.
Step 401: The transmitter calculates NSYM and TPE based on the first duration.
Step 402: Select a2 based on TPE and the nominal packet padding capability value of the receiver.
Step 403: The transmitter calculates Npld,u and Navbits,u based on ainit=a1, and performs coding. In the foregoing, a1 is determined according to a2.
For example, the transmitter determines a1 according to the following formula and a2.
In the formula, a1 is determined according to a2 and the following formula:
It can be seen that the formula is the foregoing formula (16). Details are not described again.
Step 404: The transmitter generates the first PPDU.
In step 404, that the transmitter generates the first PPDU mainly includes that the transmitter sets the LDPC extra symbol segment field of the first PPDU. Further, the transmitter directly sets the LDPC extra symbol segment field to be 1, and the LDPC extra symbol segment field carries a2.
Step 405: The transmitter sends the first PPDU.
In the solution 2, after selecting a2, the transmitter considers by default that the LDPC extra symbol segment condition is met, directly calculates a1 based on a2, and performs coding based on ainit=a1. After the coding is completed, the LDPC extra symbol segment field is directly set to be 1. In other words, an LDPC extra symbol segment is added by default, and a2 is carried in the LDPC extra symbol segment field.
It can be learned that, in the solution 2, the transmitter does not calculate whether the LDPC extra symbol segment condition is met, so that the process of selecting the pre-forward error correction padding factor is greatly simplified, and the calculation complexity and the calculation amount are reduced.
The following provides an example of the solution 2 with reference to
As shown in
The foregoing describes the solution in which PPDU alignment is implemented by controlling the duration of the PE field.
It can be learned that, in the solution in which PPDU alignment is implemented by using the duration of the PE field, because there is a strict alignment requirement, the transmitter cannot randomly select a length of a to-be-sent MAC frame and a length of the PE field. The transmitter adjusts the length (a granularity of 4 microseconds) of the PE field based on the target time (that is, the first time), to implement alignment of the end time of the PPDU. In this disclosure, it is considered that a length of an OFDM symbol in a data field of an EHT PPDU is one of 13.6 microseconds, 14.4 microseconds, or 16 microseconds, and a granularity is relatively large. Consequently, a PPDU alignment requirement cannot be met by using the symbol in the data field. However, a length granularity of the PE field is a multiple of 4 microseconds, and a PPDU alignment requirement with an error threshold of 4 microseconds or 8 microseconds can be met.
The following describes a solution in which PPDU alignment is implemented by controlling the duration of the EHT-SIG field.
(2) EHT-SIG field.
In the solution 3, the first PPDU includes a preamble, a data field, and the PE field, the preamble includes the EHT-SIG field, and the EHT-SIG field includes an initial part and a padding part. Duration of the padding part in the EHT-SIG field is determined based on first duration, initial duration of the preamble, duration of the PE field, and duration of a symbol in the data field, the initial duration of the preamble does not include the duration of the padding part in the EHT-SIG field, and the first duration is duration between the first time and a start time of the first PPDU. The duration of the padding part is a multiple of 4 microseconds.
The following describes the solution 3 with reference to
Step 501: The transmitter selects the duration TPE of the PE field, and calculates NSYM.
Optionally, in an example, the transmitter always selects maximum duration of the PE field allowed in a communication standard.
For example, when at least one user uses at least eight spatial streams, or resource units (RUs) or multiple resource units (MRUs) greater than or equal to 2×996 subcarriers are allocated, or a 4096-quadrature amplitude modulation (QAM) scheme is used, the transmitter may select a PE field of 20 microseconds, or select a PE field of 16 microseconds in another case. An advantage of selecting TPE by the transmitter in this way is that the requirement on nominal data padding capabilities of all receivers can be definitely met.
In another example, the transmitter may alternatively select shortest duration from duration of the PE field that can meet the requirement on the nominal packet padding capability of the receiver.
After the duration TPE of the PE field is selected, the quantity NSYM of symbols in the data field of the first PPDU is calculated according to the following formula (17):
where TXTIMEtarget represents the first duration, Tpreamble_initial is initial duration of the preamble, TPE is the selected duration of the PE field, and TSE is signal extension duration, where the value is 6 microseconds when sending is performed in a 2.4 GHz frequency band, or the value of is 0 microseconds when sending is performed in a 5 GHz or 6 GHz frequency band. TSYM is duration of one OFDM symbol in the data field.
It should be noted that in the solution in which PPDU alignment is implemented by using the duration of the EHT-SIG field, the initial duration of the preamble of the first PPDU is used. The initial duration is duration of the preamble of the first PPDU before the padding part of the EHT-SIG field is added. After the padding part of the EHT-SIG field is added, the preamble includes the initial part and the padding part of the EHT-SIG field. Therefore, the duration of the preamble is increased by the duration of the padding part of the EHT-SIG field based on the initial duration of the preamble. The initial part of the EHT-SIG field is enough to carry required signaling indication information. The following describes in detail the padding part of the EHT-SIG field.
The transmitter calculates remaining duration according to the following formula (18):
It should be understood that, in this solution, the padding part of the EHT-SIG field is determined based on the remaining duration. Therefore, the remaining duration is represented as Tadditional_EHT_SIG_est.
Step 502: The transmitter selects a second pre-forward error correction padding factor a2 based on TPE and the nominal packet padding capability value of the receiver.
In step 502, if the duration of the PE field selected in step 501 already meets the requirement on the nominal packet padding capability of the receiver, a2 may be freely selected. That is, the duration of the PE field ensures that the receiver has enough processing time, and the transmitter may select a2 without being affected by the nominal packet padding capability of the receiver.
Step 503: The transmitter calculates Npld,u and Navbits,u based on ainit=a2, and performs coding.
Step 504: The transmitter determines whether an LDPC extra symbol segment condition is met.
If the LDPC extra symbol segment condition is not met, the transmitter performs step 507.
If the LDPC extra symbol segment condition is met, two implementations are provided, and are denoted as an implementation 1 and an implementation 2 below.
The transmitter first updates NSYM and a pre-forward error correction padding factor a according to the following formula (19):
The transmitter determines, based on the updated NSYM and a, whether the requirement on the nominal packet padding capability of the receiver is met. If the requirement is not met, the remaining duration is greater than or equal to 4 microseconds, and the duration of the PE field does not reach a maximum length allowed in a communication standard, the duration of the PE field is extended by 4 microseconds, to meet the requirement on the nominal packet padding capability of the receiver.
Therefore, TPE meets the following formula (20):
Because the duration of the TPE field is increased by 4 microseconds, the remaining duration is reduced by 4 microseconds, that is, Tadditional_EHT_SIG_est meets a formula (21):
That is, in the implementation 1, the duration of the PE field of the first PPDU finally generated by the transmitter is increased by 4 microseconds that are added to the selected duration TPE of the PE field in step 501.
In the implementation 2, the transmitter performs step 505.
It should be noted that step 503 and step 504 are optional steps, as shown in a dashed box in
Step 505: The transmitter calculates Npld,u and Navbits,u based on ainit=a1, and performs coding.
In the foregoing, a1 is determined according to a2. For details, refer to the foregoing formula (16):
The transmitter calculates Npld,u and Navbits,u based on ainit=a1, and performs EHT MU PPDU coding based on Npld,u and Navbits,u. After the coding, Nshrt,u and Npunc,u are obtained. In this way, the transmitter may determine, based on Nshrt,u and Npunc,u, whether the LDPC extra symbol segment condition is met.
It should be noted that, if the transmitter performs step 503 and step 504 after step 502, and performs step 505 based on a determining result in step 504, in step 505, the transmitter sets ainit to a1, that is, the transmitter updates ainit from a2 to a1. In addition, NSYM, init also is re-determined according to formula (16). Then, the transmitter updates Npld,u and Navbits,u based on ainit=a1 and the re-determined NSYM, init. Further, Nshrt,u and Npunc,u are updated based on the updated Npld,u and Navbits,u, and it is determined, based on the updated Nshrt,u and Npunc,u, whether the LDPC extra symbol segment condition is met.
Step 506: The transmitter determines whether the LDPC extra symbol segment condition is met.
Similar to the foregoing solution 1, the transmitter determines whether the LDPC extra symbol segment condition is met in both step 504 and step 506. However, the LDPC extra symbol segment condition in step 504 is set based on ainit=a2, that is, is set based on a2. In step 505, ana is updated to a1. Therefore, the LDPC extra symbol segment condition in step 506 is set based on ainit=a1, that is, is set based on a1.
Step 507: The transmitter sets the LDPC extra symbol segment field of the first PPDU according to whether the LDPC extra symbol segment condition is met.
As described above, in step 504, if the transmitter determines that the LDPC extra symbol segment condition is not met, the transmitter directly performs step 507. In this case, the transmitter sets the LDPC extra symbol segment field to a second value, the second value indicates that no LDPC extra symbol segment are to be added, and the LDPC extra symbol segment field carries a2.
If the transmitter sets the LDPC extra symbol segment field based on the determining result in step 506, the transmitter sets the LDPC extra symbol segment field according to the following principles.
If the LDPC extra symbol segment condition is met, the transmitter sets the LDPC extra symbol segment field to be 1, and the LDPC extra symbol segment field carries a2.
If the LDPC extra symbol segment condition is not met, the transmitter sets the LDPC extra symbol segment field to be 0, and the LDPC extra symbol segment field carries a1.
Step 508: The transmitter calculates the duration of the padding part of the EHT-SIG field of the first PPDU.
Further, the transmitter calculates the duration (denoted as Tadditional_EHT_SIG below) of the padding part of the EHT-SIG field according to a formula (22):
where Tadditional_EHT_SIG represents the duration of the padding part of the EHT-SIG field, Tadditional_EHT_SIG_est represents the remaining duration, └ ┘ represents rounding down, and ┌ ┐ represents rounding up.
It should be noted that the remaining duration Taddinonal_EHT_SIG_est in the formula (22) is remaining duration obtained after updating according to the formula (21).
Step 509: The transmitter generates the first PPDU.
Step 510: The transmitter sends the first PPDU.
In the solution 3, the transmitter pads the EHT-SIG field based on a limitation on the first time, to align the end time of the first PPDU with the first time. Compared with the foregoing solution 1 and solution 2, in the solution 3, the duration of the PE field may be freely selected, and is more flexible.
In addition, it should be understood that the procedure in
Similarly, to simplify the complexity of selecting the pre-forward error correction padding factor and reduce the calculation amount in the selection process, a solution 4 is provided below.
Step 601: The transmitter selects the duration TPE of the PE field, and calculates NSYM.
Step 602: The transmitter selects a2 based on TPE and the nominal packet padding capability value of the receiver.
Step 603: The transmitter calculates Npld,u and Navbits,u based on ainit=a1, and performs coding. In the foregoing, a1 is determined according to a2.
Step 604: The transmitter calculates the duration of the padding part of the EHT-SIG
Step 605: The transmitter generates the first PPDU.
Further, the transmitter sets an LDPC extra symbol segment field of the first PPDU. The transmitter sets the LDPC extra symbol segment field to be 1, and the LDPC extra symbol segment field carries a2.
Step 606: The transmitter sends the first PPDU.
It can be learned that, in the solution 4, in addition to that the duration of the PE field is more flexible and freely selected, the transmitter does not calculate whether the LDPC extra symbol segment condition is met, so that the process of selecting the pre-forward error correction padding factor is greatly simplified, and the calculation complexity and the calculation amount are reduced.
In addition to the PE field and the EHT-SIG field, PPDU alignment may also be implemented by controlling duration of the EHT-LTF field.
When a type of the EHT-LTF field of the first PPDU is 1×EHT-LTF (in this case, duration of each symbol in the EHT-LTF field except a GI part is 3.2 microseconds), or 2×EHT-LTF (in this case, duration of each symbol in the EHT-LTF field except a GI part is 6.4 microseconds), the transmitter may implement PPDU alignment by padding the EHT-LTF field.
In other words, in this solution, the EHT-LTF field includes an initial part and a padding part. A process of calculating the duration of the padding part of the EHT-LTF field is similar to a process of calculating the padding part of the EHT-SIG field, and only a formula for calculating the padding part of the EHT-SIG field is to be replaced with the following formula (23):
where TEHT-LTF,SYM is duration of one OFDM symbol in the EHT-LTF field, and Tadditional_EHT_SIG_est represents remaining duration. The remaining duration Tadditional_EHT_SIG_est may be calculated according to the foregoing formula (18). Details are not described herein again.
In summary, the transmitter may first obtain the remaining duration through calculation by using the solution 3 or the solution 4, and then calculate the duration of the padding part of the EHT-LTF field according to the formula (23). The EHT-LTF field of the first PPDU finally generated by the transmitter includes the initial part and the padding part.
It should be understood that, the EHT-LTF field is selected to be padded to implement PPDU alignment, because a duration granularity of each symbol except the guard interval in the 1×EHT-LTF and the 2×EHT-LTF is relatively small, and is close to 4 microseconds, and an alignment requirement can be met. In addition, if the solution 3 or the solution 4 is used in combination with the solution for padding the EHT-LTF herein, only a total length of the padding part of the EHT-LTF field and the EHT-SIG field is to be as close as possible to remaining duration Tadditional_EHT_SIG_est, to implement alignment.
A person skilled in the art may learn, with reference to the foregoing process of calculating the duration of the padding part of the EHT-SIG field, how to calculate the duration of the padding part of the EHT-LTF field. Details are not described herein again to avoid repetition in the descriptions.
In this solution, the transmitter first calculates the remaining duration according to a formula (24):
After obtaining the remaining duration, the transmitter delays the start time of the first PPDU. Further, the delayed duration may be the remaining duration Tadditional_EHT_sIG_est.
It should be noted that, if the delay time is excessively long, an air interface may be preempted by a third-party device, and the transmitter may miss a sending opportunity. Therefore, the transmitter may delay the start time of the first PPDU in combination with the foregoing solutions or implementations thereof, to control the delay duration not to exceed a threshold, for example, 4 microseconds.
The foregoing describes some solutions for implementing PPDU alignment. Based on this, a person skilled in the art may combine the foregoing solutions or implementations of any one of the solutions to implement PPDU alignment.
Several solutions for implementing EHT MU PPDU alignment are described above, and a solution for implementing EHT TB PPDU alignment is described below.
As described above, for the EHT TB PPDU, an AP first sends a trigger frame. To implement PPDU alignment, trigger frames on different links are first aligned as much as possible.
To ensure alignment of the trigger frames as much as possible, the transmitter may select different types of PPDUs to carry trigger frames on different links.
Because the length of each symbol of the three types of PPDUs is 4 microseconds, a quantity of symbols of the first PPDU may be calculated according to the following formula:
where TXTIMEtarget represents the first duration. Tpreamble is a duration of a preamble, and TSE is signal extension duration, where the value is 6 microseconds when sending is performed in a 2.4 GHz frequency band, or the value of is 0 microseconds when sending is performed in a 5 GHz or 6 GHz frequency band. TSYM represents duration of one OFDM symbol in the data field of the first PPDU.
If the transmitter uses the HE PPDU to carry the trigger frame, the HE PPDU has four formats: an HE SU PPDU, an HE MU PPDU, an HE Extended Range (ER) SU PPDU, and an HE TB PPDU. As shown in
If start times of PPDUs that carry trigger frames and that are on two or more links are the same, the transmitter selects PPDUs of a same length, so that alignment of the trigger frames can be ensured.
However, for the triggered EHT TB PPDU, when the AP generates the trigger frame, provided that a same uplink length is selected for all links, it can be ensured that EHT TB PPDUs sent on all links are aligned within an error range.
Further, the AP may select a PE field of same duration, a same quantity of symbols in a data field, a same guard interval and a same type of the EHT-LTF field, a same quantity of symbols in the EHT-LTF field, a same pre-FEC padding factor, an LDPC extra symbol segment field of same duration, and a PE disambiguity field of same duration, to simplify factor selection and implement alignment.
As shown in
Similar to the EHT MU PPDU alignment in the foregoing solution, EHT TB PPDU alignment may be alignment within a specific error range. For example, a time interval between the end time of the EHT TB PPDU 1 and the end time of the EHT TB PPDU 2 falls within a specific error range, and the error range may be, for example, 4 microseconds or 8 microseconds.
In
In addition, in the formulas in embodiments of this disclosure, └ ┘ represents rounding down, and ┌ ┐ represents rounding up.
The foregoing describes in detail the method for sending a PPDU in this disclosure. The following describes a communication apparatus for sending a PPDU provided in this disclosure.
Optionally, the communication apparatus 1000 may correspond to the transmitter in this embodiment of this disclosure. In this case, units of the communication apparatus 1000 are configured to implement the following functions.
The processing unit 1100 is configured to control duration of one or more fields of a PE field, an EHT-SIG field, and an EHT-LTF field of a first PPDU, and/or delay a sending time of the first PPDU, so that an error between an end time of the first PPDU and a first time is not greater than an error threshold.
The sending unit 1300 is configured to send the first PPDU.
Optionally, in an embodiment, the first PPDU includes a preamble, a data field, and the PE field, duration of the PE field is determined based on first duration, duration of the preamble of the first PPDU, and duration of a symbol in the data field, and the first duration is duration between the first time and a start time of the first PPDU.
Optionally, in an embodiment, a quantity of symbols in the data field is determined based on the first duration, the duration of the preamble, and the duration of the symbol in the data field.
Optionally, in an embodiment, the first PPDU includes a preamble, a data field, and the PE field, the preamble includes the EHT-SIG field, and the EHT-SIG field includes an initial part and a padding part.
Duration of the padding part in the EHT-SIG field is determined based on first duration, initial duration of the preamble, duration of the PE field, and duration of a symbol in the data field, the initial duration of the preamble does not include the duration of the padding part in the EHT-SIG field, and the first duration is duration between the first time and a start time of the first PPDU.
The duration of the padding part is a multiple of 4 microseconds.
Optionally, in an embodiment, a quantity of symbols in the data field is determined based on the first duration, the initial duration of the preamble, the duration of the PE field, and the duration of the symbol in the data field.
Optionally, in an embodiment, the EHT-SIG field of the first PPDU carries an LDPC extra symbol segment field.
The LDPC extra symbol segment field is set to be a second value, the EHT-SIG field carries a second pre-forward error correction padding factor, the second value indicates that no LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is not met, and the LDPC extra symbol segment condition is set based on the second pre-forward error correction padding factor. The second pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
The LDPC extra symbol segment field is set to be a first value, the EHT-SIG field carries a second pre-forward error correction padding factor, the first value indicates that an LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is met, and the LDPC extra symbol segment condition is set based on a first pre-forward error correction padding factor. The first pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
The LDPC extra symbol segment field is set to be a second value, the EHT-SIG field carries a first pre-forward error correction padding factor, the second value indicates that no LDPC extra symbol segment is to be added, the LDPC extra symbol segment field is set when an LDPC extra symbol segment condition is not met, and the LDPC extra symbol segment condition is set based on the first pre-forward error correction padding factor. The first pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
In this embodiment of this disclosure, the first pre-forward error correction padding factor is determined based on the second pre-forward error correction padding factor, and the first PPDU is encoded by using the first pre-forward error correction padding factor, so that duration that can be used by the receiver to decode the first PPDU is prolonged in comparison with duration of encoding the first PPDU by using the second pre-forward error correction padding factor.
Optionally, in an embodiment, the EHT-SIG field of the first PPDU carries an LDPC extra symbol segment field, the LDPC extra symbol segment field is set to be a first value, the LDPC extra symbol segment field carries a second pre-forward error correction padding factor, the first value indicates that an LDPC extra symbol segment is to be added, and the second pre-forward error correction padding factor is determined based on the duration of the PE field and a nominal packet padding capability of a receiver.
Optionally, in an embodiment, the first pre-forward error correction padding factor and the second pre-forward error correction padding factor meet the following formula:
where a1 represents the first pre-forward error correction padding factor, and a2 represents the second pre-forward error correction padding factor.
Optionally, in an embodiment, the duration of the PE field is increased by 4 microseconds.
The duration of the PE field is increased by 4 microseconds in the following case: when an LDPC extra symbol segment condition is met, a requirement on a nominal packet padding capability of a receiver is not met after an LDPC extra symbol segment is added, remaining duration is greater than or equal to 4 microseconds, and the duration of the PE field does not reach allowed maximum duration.
The LDPC extra symbol segment condition is set based on a second pre-forward error correction padding factor, and the second pre-forward error correction padding factor is determined based on the duration of the PE field obtained before 4 microseconds are added and the nominal packet padding capability of the receiver.
The remaining duration is determined based on the first duration, the duration of the preamble, the duration of the symbol in the data field, and the duration of the PE field obtained before 4 microseconds are added.
In the foregoing implementations, the receiving unit 1200 and the sending unit 1300 may also be integrated into one transceiver unit, and have both of a receiving function and a sending function. This is not limited herein.
In embodiments of the transmitter corresponding to the communication apparatus 1000, the processing unit 1100 is configured to perform processing and/or an operation implemented inside the transmitter in addition to sending and receiving actions. The receiving unit 1200 is configured to perform a receiving action, and the sending unit 1300 is configured to perform a sending action.
For example, in
For another example, in
For another example, in
For another example, in
For another example, in
For example, the processor 11 may have a function of the processing unit 1100 shown in
In an implementation, the communication apparatus 10 may be the transmitter in the method embodiment. In this implementation, the communication interface 13 may be a transceiver. The transceiver may include a receiver and/or a transmitter. Optionally, the processor 11 may be a baseband apparatus, and the communication interface 13 may be a radio frequency apparatus.
In another implementation, the communication apparatus 10 may be a chip (or a chip system) installed at a transmitter. In this implementation, the communication interface 13 may be an interface circuit or an input/output interface.
Optionally, a dashed box behind a component (for example, the processor, the memory, or the communication interface) in
In another implementation, the communication interface 13 may include a radio frequency circuit and an antenna. The radio frequency circuit and the antenna may be disposed independently of a processor that performs baseband processing. For example, in a distributed scenario, the radio frequency circuit and the antenna may be disposed remotely and independent of a communication apparatus.
The processor may be configured to perform, for example, but not limited to, baseband-related processing, and the transceiver may be configured to perform, for example, but not limited to, radio frequency receiving and sending. The foregoing components may be separately disposed on chips that are independent of each other, or at least some or all of the components may be disposed on a same chip. For example, the processor may be further divided into an analog baseband processor and a digital baseband processor. The analog baseband processor and the transceiver may be integrated on a same chip, and the digital baseband processor may be disposed on an independent chip. With continuous development of integrated circuit technologies, more and more components may be integrated on a same chip. For example, the digital baseband processor may be integrated on a same chip with a plurality of application processors (for example, but not limited to a graphics processing unit and a multimedia processor). The chip may be referred to as a system on chip. Whether components are independently disposed on different chips or are integrated and disposed on one or more chips usually depends on specific requirements of a product design. Specific implementation forms of the foregoing components are not limited in this embodiment of the present disclosure.
Optionally, the memory and the processor in the foregoing apparatus embodiments may be units physically independent of each other, or the memory and the processor may be integrated together. This is not limited in this specification.
In addition, this disclosure further provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions. When the computer instructions are run on a computer, an operation and/or processing performed by the transmitter in the method embodiments of this disclosure is performed.
In addition, this disclosure further provides a computer program product. The computer program product includes computer program code or instructions. When the computer program code or the instructions is/are run on a computer, an operation and/or processing performed by the transmitter in the method embodiments of this disclosure is performed.
In addition, this disclosure further provides a chip. The chip includes a processor, a memory configured to store a computer program is disposed independent of the chip, and the processor is configured to execute the computer program stored in the memory, so that a transmitter on which the chip is installed performs an operation and/or processing performed by the transmitter in any one of the method embodiments.
Further, the chip may include a communication interface. The communication interface may be an input/output interface, an interface circuit, or the like. Further, the chip may include the memory.
Optionally, there may be one or more processors, there may be one or more memories, and there may be one or more memories.
In addition, this disclosure further provides a communication apparatus (for example, may be a chip or a chip system), including a processor and a communication interface. The communication interface is configured to receive (or referred to as input) data and/or information, and transmit the received data and/or information to the processor. The processor processes the data and/or information. The communication interface is further configured to output (or referred to as output) data and/or information processed by the processor, so that an operation and/or processing performed by the transmitter in any one of the method embodiments is performed.
In addition, this disclosure further provides a communication apparatus, including at least one processor. The at least one processor is coupled to at least one memory, and the at least one processor is configured to execute a computer program or instructions stored in the at least one memory, to enable the communication apparatus to perform an operation and/or processing performed by the transmitter in any one of the method embodiments.
In addition, this disclosure further provides a communication device, including a processor and a memory. Optionally, the communication device may further include a transceiver. The memory is configured to store a computer program. The processor is configured to invoke and run the computer program stored in the memory, and control the transceiver to receive and send a signal, so that the communication device performs an operation and/or processing performed by the transmitter in any one of the method embodiments.
The memory in embodiments of this disclosure may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory may be a random-access memory (RAM), and is used as an external cache. Through example but not limitative description, RAMs in many forms are available, such as a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate (DDR) SDRAM, an enhanced SDRAM (ESDRAM), a synchlink DRAM (SLDRAM), and a direct Rambus (DR) RAM (DRRAM). It should be noted that the memory in the systems and methods described in this specification includes but is not limited to these and any memory of another proper type.
All or some of the methods provided in the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When software is used to implement embodiments, all or a part of embodiments may be implemented in a form of a computer program product. The computer program product may include one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedure or functions according to embodiments of this disclosure are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by the computer, or a data storage device, for example, a server or a data center, integrating one or more usable media.
To clearly describe the technical solutions in embodiments of this disclosure, numbers such as “first” and “second” are used in embodiments of this disclosure to distinguish between same items or similar items that have basically same functions and purposes. For example, the first pre-forward error correction padding factor and the second pre-forward error correction padding factor are merely used to distinguish two different pre-forward error correction padding factors. A person skilled in the art may understand that the numbers such as “first” and “second” do not limit a quantity and an execution sequence, and the words such as “first” and “second” do not indicate a definite difference.
In embodiments of this disclosure, “at least one” means one or more, and “a plurality of” means two or more. The term “and/or” describes an association relationship between associated objects, and indicates that three relationships may exist. For example, A and/or B may indicate the following three cases: A exists alone, both A and B exist, and B exists alone, where A and B may be singular or plural. The character “/” generally indicates an “or” relationship between the associated objects. At least one of the following items (pieces) or a similar expression thereof indicates any combination of these items, including any combination of a single item (piece) or a plurality of items (pieces). For example, at least one of a, b, or c may represent a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may be singular or plural.
A person of ordinary skill in the art may be aware that, in combination with the examples described in embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this disclosure.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments. Details are not described herein again.
In this disclosure, unless otherwise specified, for same or similar parts of embodiments, reference may be made to each other. In embodiments of this disclosure and the implementations/implementation methods in embodiments, unless otherwise specified or a logical conflict occurs, terms and/or descriptions are consistent and may be mutually referenced between different embodiments and between the implementations/implementation methods in embodiments. Technical features in the different embodiments and the implementations/implementation methods in embodiments may be combined to form a new embodiment, implementation, or implementation method based on an internal logical relationship thereof. The following implementations of this disclosure are not intended to limit the protection scope of this disclosure.
In the several embodiments provided in this disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely an example. For example, division into the units is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual requirements to achieve the objectives of the solutions of embodiments.
In addition, functional units in embodiments of this disclosure may be integrated into one processing unit, each of the units may exist alone physically, or two or more units are integrated into one unit.
When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this disclosure essentially, or the part contributing to the conventional technology, or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in embodiments of this disclosure. The foregoing storage medium includes any medium that can store program code, such as a Universal Serial Bus (USB) flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disc.
The foregoing descriptions are merely specific implementations of this disclosure, but are not intended to limit the protection scope of this disclosure. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this disclosure shall fall within the protection scope of this disclosure. Therefore, the protection scope of this disclosure shall be subject to the protection scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
202110949948.1 | Aug 2021 | CN | national |
This is a continuation of International Patent Application No. PCT/CN2022/111407 filed on Aug. 10, 2022, which claims priority to Chinese Patent Application No. 202110949948.1 filed on Aug. 18, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/111407 | Aug 2022 | WO |
Child | 18438029 | US |