qcacmn: Have separate macros for DA/PO/FO to reduce the code size
Since, an AP may have any combinations of DA,PO, and FO chips on it, having support for all chips always is redundant. Therefore, enable the chip specific code as and when required. DA:- Direct attach PO:- Partial offload FO:- Full offload WLAN_DFS_DIRECT_ATTACH :- enable/disable DA specific DFS code. WLAN_DFS_PARTIAL_OFFLOAD :- enable/disable PO specific DFS code. WLAN_DFS_FULL_OFFLOAD :- enable/disable FO specific DFS code. Change-Id: I498ac1f8cd1d6423032d7b3b8c233656c5f0bf22 CRs-Fixed: 2199819
This commit is contained in:

committed by
nshrivas

parent
d75cdc199e
commit
ed8c9d3bc8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
@@ -31,3 +31,16 @@
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS target_if_register_dfs_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
|
||||
|
||||
/**
|
||||
* target_if_dfs_get_rx_ops() - Get dfs_rx_ops
|
||||
* @psoc: psoc handle.
|
||||
*
|
||||
* Return: dfs_rx_ops.
|
||||
*/
|
||||
static inline struct wlan_lmac_if_dfs_rx_ops *
|
||||
target_if_dfs_get_rx_ops(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return &psoc->soc_cb.rx_ops.dfs_rx_ops;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user