qcacmn: Add host support for db2dbm RSSI changes
Add host support for db2dbm RSSI changes. Firmware indicates this capability when underlying hardware has RSSI reporting feature. Based on this capability host will know if firmware sends SNR or RSSI. If no capablity is present then host will convert SNR to rssi using a fixed offset of -96. If capability is present host will directly use the rssi as it is. Change-Id: I9058f16c6280d466feb96cf88a8a0d8cd7b02032 CRs-Fixed: 2364025
This commit is contained in:

committed by
nshrivas

parent
5868efa4bf
commit
c4a14ea149
@@ -204,7 +204,7 @@ struct pdev_mc_cp_stats {
|
||||
*/
|
||||
struct summary_stats {
|
||||
uint32_t snr;
|
||||
uint32_t rssi;
|
||||
int8_t rssi;
|
||||
uint32_t retry_cnt[4];
|
||||
uint32_t multiple_retry_cnt[4];
|
||||
uint32_t tx_frm_cnt[4];
|
||||
@@ -244,7 +244,7 @@ struct vdev_mc_cp_stats {
|
||||
struct peer_mc_cp_stats {
|
||||
uint32_t tx_rate;
|
||||
uint32_t rx_rate;
|
||||
uint32_t peer_rssi;
|
||||
int8_t peer_rssi;
|
||||
uint8_t peer_macaddr[WLAN_MACADDR_LEN];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user