Changed uX, uX_t sX, sX_t to uinX_t
Cleaned some PDCP/driver code types parameters and vars Please see openair2/COMMON/platform_types.h for simple coding rules. please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -53,16 +53,16 @@ boolean_t pdcp_is_seq_num_size_valid(pdcp_t* pdcp_entity);
|
||||
* Check if SN number is in the range according to SN size
|
||||
* @return TRUE if it is valid, FALSE otherwise
|
||||
*/
|
||||
boolean_t pdcp_is_seq_num_valid(u16 seq_num, u8 seq_num_size);
|
||||
boolean_t pdcp_is_seq_num_valid(uint16_t seq_num, uint8_t seq_num_size);
|
||||
/**
|
||||
* Returns the maximum allowed sequence number value for given size of SN field
|
||||
* @return Max sequence number value
|
||||
*/
|
||||
u16 pdcp_calculate_max_seq_num_for_given_size(u8 seq_num_size);
|
||||
uint16_t pdcp_calculate_max_seq_num_for_given_size(uint8_t seq_num_size);
|
||||
/**
|
||||
* Returns the next TX sequence number for given PDCP entity
|
||||
*/
|
||||
u16 pdcp_get_next_tx_seq_number(pdcp_t* pdcp_entity);
|
||||
uint16_t pdcp_get_next_tx_seq_number(pdcp_t* pdcp_entity);
|
||||
/**
|
||||
* Advances the RX window state of given PDCP entity upon successfull receipt of a SDU
|
||||
*/
|
||||
@@ -71,11 +71,11 @@ boolean_t pdcp_advance_rx_window(pdcp_t* pdcp_entity);
|
||||
* Checks if incoming PDU has a sequence number in accordance with the RX window
|
||||
* @return TRUE if it is valid, FALSE otherwise
|
||||
*/
|
||||
boolean_t pdcp_is_rx_seq_number_valid(u16 seq_num, pdcp_t* pdcp_entity);
|
||||
boolean_t pdcp_is_rx_seq_number_valid(uint16_t seq_num, pdcp_t* pdcp_entity);
|
||||
/**
|
||||
* Updates missing PDU bitmap with incoming sequence number
|
||||
* @return TRUE if successful, FALSE otherwise
|
||||
*/
|
||||
boolean_t pdcp_mark_current_pdu_as_received(u16 seq_num, pdcp_t* pdcp_entity);
|
||||
boolean_t pdcp_mark_current_pdu_as_received(uint16_t seq_num, pdcp_t* pdcp_entity);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user