qcacld-3.0: Add connection roaming ini support
Add get/set support for connection roaming ini file Change-Id: I09d6ebf86c5374fabb82f79d0a2cd8758e454e4b CRs-Fixed: 3038459
This commit is contained in:

committed by
Madan Koyyalamudi

parent
b36ffa3ddf
commit
714d3f7eb1
@@ -2594,6 +2594,8 @@ struct wlan_mlme_iot {
|
||||
* @trig_min_rssi: Expected minimum RSSI value of candidate AP for
|
||||
* various roam triggers
|
||||
* @iot: IOT related CFG items
|
||||
* @connection_roaming_ini_flag: To indicate whether connection_roaming related
|
||||
* ini file is present or not.
|
||||
*/
|
||||
struct wlan_mlme_cfg {
|
||||
struct wlan_mlme_chainmask chainmask_cfg;
|
||||
@@ -2642,6 +2644,7 @@ struct wlan_mlme_cfg {
|
||||
struct roam_trigger_min_rssi trig_min_rssi[NUM_OF_ROAM_MIN_RSSI];
|
||||
struct wlan_mlme_ratemask ratemask_cfg;
|
||||
struct wlan_mlme_iot iot;
|
||||
bool connection_roaming_ini_flag;
|
||||
};
|
||||
|
||||
enum pkt_origin {
|
||||
|
@@ -4580,4 +4580,44 @@ ucfg_mlme_get_vdev_max_mcs_idx(struct wlan_objmgr_vdev *vdev)
|
||||
return mlme_get_vdev_max_mcs_idx(vdev);
|
||||
}
|
||||
#endif /* WLAN_FEATURE_SON */
|
||||
|
||||
#ifdef CONNECTION_ROAMING_CFG
|
||||
/**
|
||||
* ucfg_mlme_set_connection_roaming_ini_present() - Set connection roaming ini
|
||||
* present
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value to be set
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_mlme_set_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
|
||||
bool value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_connection_roaming_ini_present() - Get connection roaming ini
|
||||
* present
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value to be get
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_set_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
|
||||
bool value)
|
||||
{
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_get_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
#endif /* CONNECTION_ROAMING_CFG */
|
||||
#endif /* _WLAN_MLME_UCFG_API_H_ */
|
||||
|
Reference in New Issue
Block a user