mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Add log for BPF set instructions
qcacld-2.0 to qcacld-3.0 propagation In the current implementation, there is no log of instructions set by framework. To resolve this and understand the packet filters, log of set instructions is added. Change-Id: Ibe3c23de374261741f78a76c05c97b2342e9064e CRs-Fixed: 1013062
This commit is contained in:
parent
6b3b1aea49
commit
62b6303900
1 changed files with 4 additions and 0 deletions
|
|
@ -6220,6 +6220,10 @@ static int hdd_set_reset_bpf_offload(hdd_context_t *hdd_ctx,
|
|||
nla_memcpy(bpf_set_offload->program, tb[BPF_PROGRAM], prog_len);
|
||||
bpf_set_offload->session_id = adapter->sessionId;
|
||||
|
||||
hdd_info("BPF set instructions");
|
||||
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_INFO,
|
||||
bpf_set_offload->program, prog_len);
|
||||
|
||||
/* Parse and fetch filter Id */
|
||||
if (!tb[BPF_FILTER_ID]) {
|
||||
hdd_err("attr filter id failed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue