oms_wp_phy_rcvd_pk_decode_success_evaluate()
Abstract
Evaluates whether the given packet would be decoded successfully by the PHY module in case of the specified SNR value.
Syntax
oms_wp_phy_rcvd_pk_decode_success_evaluate (rcvd_pkptr, snr_value)
| Argument | Type | Description |
|---|---|---|
| rcvd_pkptr | Packet* |
Packet to be evaluated |
| snr_value | double |
New SNR value to evaluate the packet |
Return Type
Boolean
OPC_TRUE: The packet would be successfully decoded by the PHY. OPC_FALSE: The packet would be rejected by the PHY.
Details
This function typically used to evaluate the status of a packet whose SNR value is reconstructed by combining previous receptions that have failed individually, which is a technique used by the HARQ sub-layer.
Example
harq_support_packet_coding_gain_calculate_simple_harq (HarqC_Chase_Combining, & effective_snr_db, additional_fraction, use_context_ptr->harq_receiver_handle, harq_process, OPC_FALSE);
/* Retry decoding the packet again. Coding gain is assumed to */
/* be present even in the case of a new MPDU, so we will try */
/* to use additional fraction even for a new MPDU. */
decode_success = oms_wp_phy_rcvd_pk_decode_success_evaluate (rcvd_pkptr, effective_snr_db);
Callback Definitions
Detailed descriptions of the callback types follow.