mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Add compilation flag of pkt capture mode for lithium
Add compilation flag of packet capture mode for lithium Change-Id: I0a0cd43d3846761c18224c79068f2ec16179d735 CRs-Fixed: 2845616
This commit is contained in:
parent
fed5a4ae2e
commit
9641d7366a
4 changed files with 23 additions and 3 deletions
2
Kbuild
2
Kbuild
|
|
@ -3178,6 +3178,8 @@ cppflags-$(CONFIG_FEATURE_WLAN_D0WOW) += -DFEATURE_WLAN_D0WOW
|
|||
|
||||
cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE) += -DWLAN_FEATURE_PKT_CAPTURE
|
||||
|
||||
cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2) += -DWLAN_FEATURE_PKT_CAPTURE_V2
|
||||
|
||||
cppflags-$(CONFIG_QCA_WIFI_NAPIER_EMULATION) += -DQCA_WIFI_NAPIER_EMULATION
|
||||
cppflags-$(CONFIG_SHADOW_V2) += -DCONFIG_SHADOW_V2
|
||||
cppflags-$(CONFIG_QCA6290_HEADERS_DEF) += -DQCA6290_HEADERS_DEF
|
||||
|
|
|
|||
|
|
@ -1170,6 +1170,13 @@ ifeq ($(CONFIG_ARCH_SDM660), y)
|
|||
CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CNSS_QCA6490), y)
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
|
||||
CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2 := y
|
||||
endif
|
||||
endif
|
||||
|
||||
#Enable RX RING buffers debug
|
||||
CONFIG_DEBUG_RX_RING_BUFFER := y
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2019, 2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -112,6 +112,17 @@ struct wireless_dev *wlan_hdd_add_virtual_intf(struct wiphy *wiphy,
|
|||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* hdd_clean_up_interface() - clean up hdd interface
|
||||
* @hdd_ctx: pointer to hdd context
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* This function clean up hdd interface.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void hdd_clean_up_interface(struct hdd_context *hdd_ctx,
|
||||
struct hdd_adapter *adapter);
|
||||
int wlan_hdd_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev);
|
||||
int __wlan_hdd_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev);
|
||||
|
||||
|
|
|
|||
|
|
@ -899,8 +899,8 @@ struct wireless_dev *wlan_hdd_add_virtual_intf(struct wiphy *wiphy,
|
|||
}
|
||||
#endif
|
||||
|
||||
static void hdd_clean_up_interface(struct hdd_context *hdd_ctx,
|
||||
struct hdd_adapter *adapter)
|
||||
void hdd_clean_up_interface(struct hdd_context *hdd_ctx,
|
||||
struct hdd_adapter *adapter)
|
||||
{
|
||||
wlan_hdd_release_intf_addr(hdd_ctx,
|
||||
adapter->mac_addr.bytes);
|
||||
|
|
|
|||
Loading…
Reference in a new issue