mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Remove lim_get_noa_attr_stream_in_mult_p2p_ies()
Function lim_get_noa_attr_stream_in_mult_p2p_ies() is unused, so remove it. Change-Id: Ib03f80bfc983cfa018bf6dbc55bde56072d55364 CRs-Fixed: 2370786
This commit is contained in:
parent
81b606553b
commit
a7aa17c012
2 changed files with 0 additions and 28 deletions
|
|
@ -5143,31 +5143,6 @@ uint8_t lim_build_p2p_ie(struct mac_context *mac, uint8_t *ie, uint8_t *data,
|
|||
return ie_len + SIR_P2P_IE_HEADER_LEN;
|
||||
}
|
||||
|
||||
/* Returns length of NoA stream and Pointer pNoaStream passed to this function is filled with noa stream */
|
||||
|
||||
uint8_t lim_get_noa_attr_stream_in_mult_p2p_ies(struct mac_context *mac,
|
||||
uint8_t *noaStream, uint8_t noaLen,
|
||||
uint8_t overFlowLen)
|
||||
{
|
||||
uint8_t overFlowP2pStream[SIR_MAX_NOA_ATTR_LEN];
|
||||
|
||||
if ((noaLen <= (SIR_MAX_NOA_ATTR_LEN + SIR_P2P_IE_HEADER_LEN)) &&
|
||||
(noaLen >= overFlowLen) && (overFlowLen <= SIR_MAX_NOA_ATTR_LEN)) {
|
||||
qdf_mem_copy(overFlowP2pStream,
|
||||
noaStream + noaLen - overFlowLen, overFlowLen);
|
||||
noaStream[noaLen - overFlowLen] = SIR_MAC_EID_VENDOR;
|
||||
noaStream[noaLen - overFlowLen + 1] =
|
||||
overFlowLen + SIR_MAC_P2P_OUI_SIZE;
|
||||
qdf_mem_copy(noaStream + noaLen - overFlowLen + 2,
|
||||
SIR_MAC_P2P_OUI, SIR_MAC_P2P_OUI_SIZE);
|
||||
qdf_mem_copy(noaStream + noaLen + 2 + SIR_MAC_P2P_OUI_SIZE -
|
||||
overFlowLen, overFlowP2pStream, overFlowLen);
|
||||
}
|
||||
|
||||
return noaLen + SIR_P2P_IE_HEADER_LEN;
|
||||
|
||||
}
|
||||
|
||||
/* Returns length of NoA stream and Pointer pNoaStream passed to this function is filled with noa stream */
|
||||
uint8_t lim_get_noa_attr_stream(struct mac_context *mac, uint8_t *pNoaStream,
|
||||
struct pe_session *pe_session)
|
||||
|
|
|
|||
|
|
@ -530,9 +530,6 @@ void lim_handle_heart_beat_failure_timeout(struct mac_context *mac);
|
|||
wlan_get_vendor_ie_ptr_from_oui(SIR_MAC_P2P_OUI, \
|
||||
SIR_MAC_P2P_OUI_SIZE, ie, ie_len)
|
||||
|
||||
uint8_t lim_get_noa_attr_stream_in_mult_p2p_ies(struct mac_context *mac,
|
||||
uint8_t *noaStream, uint8_t noaLen,
|
||||
uint8_t overFlowLen);
|
||||
uint8_t lim_get_noa_attr_stream(struct mac_context *mac, uint8_t *pNoaStream,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue