diff options
| author | Rajeev Kumar Sirasanagandla <rsirasan@qti.qualcomm.com> | 2016-05-18 11:55:24 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-05-19 13:23:19 +0530 |
| commit | 630f5e33c866cb0456aac4c7acbfdb1fe64b428f (patch) | |
| tree | d0b44908e7e461f0e204a4ebd80d45ccfa2b90b6 | |
| parent | 516aeb1e832d675060f71d35d0354b8edced0472 (diff) | |
qcacld-2.0: Add log for BPF set instructions
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
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 9878c364ccbc..73ebafa83395 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -10107,6 +10107,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; + hddLog(LOG1, FL("BPF set instructions")); + VOS_TRACE_HEX_DUMP(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, + bpf_set_offload->program, prog_len); + /* Parse and fetch filter Id */ if (!tb[BPF_FILTER_ID]) { hddLog(LOGE, FL("attr filter id failed")); |
