qcacmn: Add support to view peer RSSI value in auth/assoc req pkt

Add support to view station's peer RSSI value in auth and assoc request
packet by extracting rssi from probe request and passing it down to
FW in the auth request and assoc request mgmt frames.

Change-Id: I92f714ed815ab8c77f6a6b7df3363dc96f1119bc
CRs-Fixed: 2832982
This commit is contained in:
Gururaj Pandurangi
2020-11-10 18:28:51 -08:00
committed by snandini
parent 1d68998d30
commit 6c3d548d5a
2 changed files with 4 additions and 0 deletions

View File

@@ -1324,6 +1324,7 @@ struct tx_send_params {
* @use_6mbps: specify whether management frame to transmit should
* @tx_flags: additional configuration flags for mgmt frames
* use 6 Mbps rather than 1 Mbps min rate(for 5GHz band or P2P)
* @peer_rssi: peer RSSI value
*/
struct wmi_mgmt_params {
void *tx_frame;
@@ -1339,6 +1340,7 @@ struct wmi_mgmt_params {
bool tx_params_valid;
uint8_t use_6mbps;
uint32_t tx_flags;
int8_t peer_rssi;
};
/**