Create an ACK in response to the provided frame and insert it into a radio buffer.
- Note
- Only those contents of the frame being acknowledged marked by
p_frame_data as valid are used for ACK generation. If any data necessary to generate an ACK is missing or marked as invalid by p_frame_data, this function returns NULL. Once more data becomes available and valid, this function can be called again and the generation will be continued. That allows for generating ACK iteratively as data to be acknowledged is being received.
- Parameters
-
| [in] | p_frame_data | Pointer to the parser data of the frame for which an Ack will be generated. |
| [in] | p_peer_rec | Information record about the peer the p_frame_data is received from. May be NULL if peer not found. |
- Returns
- Either pointer to a constant buffer that contains PHR and PSDU of the created ACK frame, or NULL when the response cannot be created.