qcacmn: Add compile time macro to disable rx_pkt_hdr_tlv
Do not process RX packet header TLV for low memory config profile. Also, drop decapped frames in invalid peer processing function. Change-Id: Ifc7721bb25d85c7e277bebf4b962d2f1bfea150c CRs-Fixed: 2395508
This commit is contained in:

committed by
nshrivas

szülő
dddd95f2e9
commit
e11412df5c
@@ -742,6 +742,12 @@ uint8_t dp_rx_process_invalid_peer(struct dp_soc *soc, qdf_nbuf_t mpdu)
|
||||
uint8_t *rx_tlv_hdr = qdf_nbuf_data(mpdu);
|
||||
uint8_t *rx_pkt_hdr = hal_rx_pkt_hdr_get(rx_tlv_hdr);
|
||||
|
||||
if (!HAL_IS_DECAP_FORMAT_RAW(rx_tlv_hdr)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
||||
"Drop decapped frames");
|
||||
goto free;
|
||||
}
|
||||
|
||||
wh = (struct ieee80211_frame *)rx_pkt_hdr;
|
||||
|
||||
if (!DP_FRAME_IS_DATA(wh)) {
|
||||
|
Reference in New Issue
Block a user