|
@@ -216,6 +216,18 @@ static uint8_t hal_rx_get_tlv_6490(void *rx_tlv)
|
|
|
return HAL_RX_GET(rx_tlv, PHYRX_RSSI_LEGACY_0, RECEIVE_BANDWIDTH);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * hal_rx_phy_legacy_get_rssi_6490() - API to get RSSI from TLV
|
|
|
+ * WIFIPHYRX_RSSI_LEGACY_E
|
|
|
+ * @buf: pointer to the start of WIFIPHYRX_RSSI_LEGACY_E TLV
|
|
|
+ *
|
|
|
+ * Return: value of RSSI
|
|
|
+ */
|
|
|
+static int8_t hal_rx_phy_legacy_get_rssi_6490(uint8_t *buf)
|
|
|
+{
|
|
|
+ return HAL_RX_GET(buf, PHYRX_RSSI_LEGACY_36, RSSI_COMB_PPDU);
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* hal_rx_proc_phyrx_other_receive_info_tlv_6490()
|
|
|
* - process other receive info TLV
|
|
@@ -1873,6 +1885,8 @@ static void hal_hw_txrx_ops_attach_qca6490(struct hal_soc *hal_soc)
|
|
|
hal_rx_msdu_desc_info_ptr_get_6490;
|
|
|
hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_6490;
|
|
|
hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_6490;
|
|
|
+ hal_soc->ops->hal_rx_phy_legacy_get_rssi =
|
|
|
+ hal_rx_phy_legacy_get_rssi_6490;
|
|
|
hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_6490;
|
|
|
hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_6490;
|
|
|
hal_soc->ops->hal_rx_get_mac_addr2_valid =
|