qcacld-3.0: Add PTP timestamp socket options RX support

Host need to fill netbuf with qtime instead of tsf. So host first
need to set enable_ppdu_end to 1, so that FW will pass ppdu_end
contents to host, and host can translate tsf64_time into qtime.
The tsf64_time is new added to fw struture, so host will need
add it accordingly to struct hdd_adapter, and keep it updated
in time synchronization function <hdd_update_timestamp>.

Change-Id: Ib19ac1411c4e17624c012f188297c9f2122642d2
CRs-Fixed: 2444456
This commit is contained in:
Jiani Liu
2019-05-01 10:07:10 +08:00
کامیت شده توسط nshrivas
والد 1b9fdd25cd
کامیت a8fd170e7a
7فایلهای تغییر یافته به همراه159 افزوده شده و 3 حذف شده

مشاهده پرونده

@@ -43,6 +43,7 @@
#include <ol_htt_tx_api.h>
#include <ol_txrx_types.h>
#include <ol_tx_send.h>
#include <ol_htt_rx_api.h>
#include <htt_internal.h>
#include <wlan_policy_mgr_api.h>
@@ -540,6 +541,7 @@ QDF_STATUS htt_h2t_rx_ring_cfg_msg_ll(struct htt_pdev_t *pdev)
__func__, __LINE__);
}
htt_rx_enable_ppdu_end(&enable_ppdu_end);
HTT_RX_RING_CFG_ENABLED_802_11_HDR_SET(*msg_word, enable_hdr);
HTT_RX_RING_CFG_ENABLED_MSDU_PAYLD_SET(*msg_word, 1);
HTT_RX_RING_CFG_ENABLED_PPDU_START_SET(*msg_word, enable_ppdu_start);

مشاهده پرونده

@@ -422,3 +422,10 @@ void htt_deregister_rx_pkt_dump_callback(struct htt_pdev_t *pdev)
pdev->rx_pkt_dump_cb = NULL;
}
#endif
#ifdef WLAN_FEATURE_TSF_PLUS
void htt_rx_enable_ppdu_end(int *enable_ppdu_end)
{
*enable_ppdu_end = 1;
}
#endif