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:
@@ -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
|
||||
|
مرجع در شماره جدید
Block a user