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
@@ -652,7 +652,8 @@ enum mgmt_frame_type {
|
||||
};
|
||||
|
||||
#define WLAN_MGMT_TXRX_HOST_MAX_ANTENNA 4
|
||||
#define WLAN_INVALID_PER_CHAIN_RSSI 0x80
|
||||
#define WLAN_INVALID_PER_CHAIN_RSSI 0xFF
|
||||
#define WLAN_INVALID_PER_CHAIN_SNR 0x80
|
||||
#define WLAN_NOISE_FLOOR_DBM_DEFAULT -96
|
||||
/**
|
||||
* struct mgmt_rx_event_params - host mgmt header params
|
||||
|
Reference in New Issue
Block a user