Revert "qcacmn: Add cdp ops to set/get timestamp for management frames"

1) This reverts commit
   I7025fdd7540f47bb4d3f95ef6d9f2ef92af5f1f1

2) Reverted changes have been taken care through:
   Idd7617782e71ee187eef7fcb3523c05b49f82094

CRs-Fixed: 2300055
Change-Id: Icc47ded9a585e356b7eae1ad53ffea6668510308
此提交包含在:
Krunal Soni
2018-08-20 17:33:21 -07:00
提交者 nshrivas
父節點 0dd995fb96
當前提交 a88d618314
共有 5 個檔案被更改,包括 0 行新增200 行删除

查看文件

@@ -567,68 +567,6 @@ cdp_peer_add_last_real_peer(ol_txrx_soc_handle soc,
return;
}
/**
* cdp_peer_get_last_mgmt_timestamp() - retrieve last timestamp for peer
* @soc - data path soc handle
* @pdev - data path device instance
* @peer_addr - peer mac addr
* @subtype - Management frame subtype
*
* Return: true/false
*/
static inline bool
cdp_peer_get_last_mgmt_timestamp(ol_txrx_soc_handle soc,
struct cdp_pdev *pdev,
u8 *peer_addr,
u8 subtype,
qdf_time_t *timestamp)
{
if (!soc || !soc->ops || !soc->ops->peer_ops) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
"%s invalid instance", __func__);
return 0;
}
if (soc->ops->peer_ops->get_last_mgmt_timestamp) {
return soc->ops->peer_ops->
get_last_mgmt_timestamp(pdev, peer_addr,
subtype, timestamp);
}
return false;
}
/**
* cdp_peer_update_last_mgmt_timestamp() - update timestamp for the peer
* @soc - data path soc handle
* @pdev - data path device instance
* @peer_addr - peer mac addr
* @subtype - Management frame subtype
*
* Return: true/false
*/
static inline bool
cdp_peer_update_last_mgmt_timestamp(ol_txrx_soc_handle soc,
struct cdp_pdev *pdev,
u8 *peer_addr,
qdf_time_t timestamp,
u8 subtype)
{
if (!soc || !soc->ops || !soc->ops->peer_ops) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
"%s invalid instance", __func__);
return false;
}
if (soc->ops->peer_ops->update_last_mgmt_timestamp) {
return soc->ops->peer_ops->
update_last_mgmt_timestamp(pdev, peer_addr,
timestamp, subtype);
}
return false;
}
/**
* cdp_peer_is_vdev_restore_last_peer() - restore last peer
* @soc - data path soc handle