mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Cleanup DFS function and corresponding function pointer
Remove the function lmac_is_mode_offload and corresponding function pointer dfs_is_mode_offload since it is not used by the DFS component. Change-Id: Ie55f5c8dc89466fa992451373819d148680318f1 CRs-Fixed: 2252565
This commit is contained in:
parent
367a882dc9
commit
56fe2450b5
3 changed files with 0 additions and 25 deletions
|
|
@ -71,12 +71,6 @@ void lmac_dfs_enable(struct wlan_objmgr_pdev *pdev,
|
|||
void lmac_dfs_get_thresholds(struct wlan_objmgr_pdev *pdev,
|
||||
struct wlan_dfs_phyerr_param *param);
|
||||
|
||||
/**
|
||||
* lmac_is_mode_offload() - Check the radio for offload.
|
||||
* @pdev: Pointer to PDEV structure.
|
||||
*/
|
||||
bool lmac_is_mode_offload(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* lmac_get_ah_devid() - Get ah devid.
|
||||
* @pdev: Pointer to PDEV structure.
|
||||
|
|
|
|||
|
|
@ -101,22 +101,6 @@ void lmac_dfs_get_thresholds(struct wlan_objmgr_pdev *pdev,
|
|||
dfs_tx_ops->dfs_get_thresholds(pdev, param);
|
||||
}
|
||||
|
||||
bool lmac_is_mode_offload(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct wlan_lmac_if_dfs_tx_ops *dfs_tx_ops;
|
||||
bool is_offload = false;
|
||||
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
|
||||
dfs_tx_ops = &psoc->soc_cb.tx_ops.dfs_tx_ops;
|
||||
|
||||
if (dfs_tx_ops->dfs_is_mode_offload)
|
||||
dfs_tx_ops->dfs_is_mode_offload(pdev, &is_offload);
|
||||
|
||||
return is_offload;
|
||||
}
|
||||
|
||||
uint16_t lmac_get_ah_devid(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
|
|
|
|||
|
|
@ -568,7 +568,6 @@ struct wlan_lmac_if_reg_tx_ops {
|
|||
* @dfs_get_ext_busy: Get ext_busy.
|
||||
* @dfs_get_target_type: Get target type.
|
||||
* @dfs_is_countryCode_KOREA_ROC3: Check is county code Korea.
|
||||
* @dfs_is_mode_offload: Check the radio for offload.
|
||||
* @dfs_get_ah_devid: Get ah devid.
|
||||
* @dfs_get_phymode_info: Get phymode info.
|
||||
* @dfs_reg_ev_handler: Register dfs event handler.
|
||||
|
|
@ -599,8 +598,6 @@ struct wlan_lmac_if_dfs_tx_ops {
|
|||
int *dfs_ext_chan_busy);
|
||||
QDF_STATUS (*dfs_get_target_type)(struct wlan_objmgr_pdev *pdev,
|
||||
uint32_t *target_type);
|
||||
QDF_STATUS (*dfs_is_mode_offload)(struct wlan_objmgr_pdev *pdev,
|
||||
bool *is_offload);
|
||||
QDF_STATUS (*dfs_get_ah_devid)(struct wlan_objmgr_pdev *pdev,
|
||||
uint16_t *devid);
|
||||
QDF_STATUS (*dfs_get_phymode_info)(struct wlan_objmgr_pdev *pdev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue