qcacmn: Configure MAWC roaming parameters to firmware

Get the MAWC based roaming parameters from CSR/WMA and pass them
to firmware

Change-Id: I78a287a39715dbabcceb2cb5c4270726ba265d61
CRs-Fixed: 2064837
This commit is contained in:
Varun Reddy Yeturu
2017-07-20 09:45:01 -07:00
committato da snandini
parent f3aaa33091
commit 4cae429926
3 ha cambiato i file con 34 aggiunte e 0 eliminazioni

Vedi File

@@ -7415,4 +7415,22 @@ struct wmi_limit_off_chan_param {
bool skip_dfs_chans;
};
/**
* struct wmi_mawc_roam_params - Motion Aided wireless connectivity params
* @vdev_id: VDEV on which the parameters should be applied
* @enable: MAWC roaming feature enable/disable
* @traffic_load_threshold: Traffic threshold in kBps for MAWC roaming
* @best_ap_rssi_threshold: AP RSSI Threshold for MAWC roaming
* @rssi_stationary_high_adjust: High RSSI adjustment value to suppress scan
* @rssi_stationary_low_adjust: Low RSSI adjustment value to suppress scan
*/
struct wmi_mawc_roam_params {
uint8_t vdev_id;
bool enable;
uint32_t traffic_load_threshold;
uint32_t best_ap_rssi_threshold;
uint8_t rssi_stationary_high_adjust;
uint8_t rssi_stationary_low_adjust;
};
#endif /* _WMI_UNIFIED_PARAM_H_ */