qcacmn: Change the 2k handling API to non-static
Make the 2k jump handler from static to non-static to change the scope of the API. Change-Id: I55e2b69c8d470cdf958da76f4f0c8d0effc7ed2e
This commit is contained in:
@@ -655,6 +655,9 @@ void dp_rx_process_invalid_peer_wrapper(struct dp_soc *soc,
|
|||||||
qdf_nbuf_t mpdu, bool mpdu_done);
|
qdf_nbuf_t mpdu, bool mpdu_done);
|
||||||
void dp_rx_process_mic_error(struct dp_soc *soc, qdf_nbuf_t nbuf,
|
void dp_rx_process_mic_error(struct dp_soc *soc, qdf_nbuf_t nbuf,
|
||||||
uint8_t *rx_tlv_hdr, struct dp_peer *peer);
|
uint8_t *rx_tlv_hdr, struct dp_peer *peer);
|
||||||
|
void dp_2k_jump_handle(struct dp_soc *soc, qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr,
|
||||||
|
uint16_t peer_id, uint8_t tid);
|
||||||
|
|
||||||
|
|
||||||
#define DP_RX_LIST_APPEND(head, tail, elem) \
|
#define DP_RX_LIST_APPEND(head, tail, elem) \
|
||||||
do { \
|
do { \
|
||||||
|
@@ -509,7 +509,7 @@ dp_rx_chain_msdus(struct dp_soc *soc, qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr,
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
void
|
||||||
dp_2k_jump_handle(struct dp_soc *soc,
|
dp_2k_jump_handle(struct dp_soc *soc,
|
||||||
qdf_nbuf_t nbuf,
|
qdf_nbuf_t nbuf,
|
||||||
uint8_t *rx_tlv_hdr,
|
uint8_t *rx_tlv_hdr,
|
||||||
@@ -556,6 +556,8 @@ dp_2k_jump_handle(struct dp_soc *soc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
free_nbuf:
|
free_nbuf:
|
||||||
|
if (peer)
|
||||||
|
dp_peer_unref_del_find_by_id(peer);
|
||||||
qdf_nbuf_free(nbuf);
|
qdf_nbuf_free(nbuf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user