Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bac876e authored by Vulupala Shashank Reddy's avatar Vulupala Shashank Reddy Committed by Gerrit - the friendly Code Review server
Browse files

qcacld-3.0: Fix 6GHz channel freq for rx mgmt in packet capture

Fill freq received from FW directly.

Change-Id: I8a0470e6b22f8c9176586825691af160c6540348
CRs-Fixed: 2966863
parent 0ae87ec8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -474,7 +474,7 @@ pkt_capture_mgmt_rx_data_cb(struct wlan_objmgr_psoc *psoc,

	txrx_status.tsft = (u_int64_t)rx_params->tsf_l32;
	txrx_status.chan_num = rx_params->channel;
	txrx_status.chan_freq = wlan_chan_to_freq(txrx_status.chan_num);
	txrx_status.chan_freq = rx_params->chan_freq;
	/* rx_params->rate is in Kbps, convert into Mbps */
	txrx_status.rate = (rx_params->rate / 1000);
	txrx_status.ant_signal_db = rx_params->snr;