qcacld-3.0: Config support to use BSSID in probe request RA
User configuration support to use scan request BSSID value in Probe Request frame RA during the scan. Change-Id: Ie0b7620428e1bfbd51e7430b6b7ad23ebede9e67 CRs-Fixed: 3021525
This commit is contained in:

committed by
Madan Koyyalamudi

parent
25778389e8
commit
cde70adc46
@@ -2250,6 +2250,35 @@ wlan_mlme_set_rf_test_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value);
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_scan_probe_unicast_ra() - Get scan probe unicast RA cfg
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: value which needs to filled by API
|
||||
*
|
||||
* This API gives scan probe request with unicast RA user config
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_set_scan_probe_unicast_ra() - Set scan probe unicast RA cfg
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: set value
|
||||
*
|
||||
* This API sets scan probe request with unicast RA user config
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_sap_mcc_chnl_avoid() - Check if SAP MCC needs to be avoided
|
||||
*
|
||||
|
@@ -1576,6 +1576,7 @@ enum station_keepalive_method {
|
||||
* @single_tid: Set replay counter for all TID
|
||||
* @allow_tpc_from_ap: Support for AP power constraint
|
||||
* @usr_disabled_roaming: User config for roaming disable
|
||||
* @usr_scan_probe_unicast_ra: User config unicast probe req in scan
|
||||
*/
|
||||
struct wlan_mlme_sta_cfg {
|
||||
uint32_t sta_keep_alive_period;
|
||||
@@ -1598,6 +1599,7 @@ struct wlan_mlme_sta_cfg {
|
||||
bool allow_tpc_from_ap;
|
||||
enum station_keepalive_method sta_keepalive_method;
|
||||
bool usr_disabled_roaming;
|
||||
bool usr_scan_probe_unicast_ra;
|
||||
#ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR
|
||||
host_event_wlan_status_payload_type event_payload;
|
||||
#endif
|
||||
|
@@ -4143,6 +4143,40 @@ QDF_STATUS
|
||||
ucfg_mlme_set_channel_bonding_5ghz(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_scan_probe_unicast_ra() - Get scan probe unicast RA cfg
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: value which needs to filled by API
|
||||
*
|
||||
* This API gives scan probe request with unicast RA user config
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_get_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
return wlan_mlme_get_scan_probe_unicast_ra(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_scan_probe_unicast_ra() - Set scan probe unicast RA cfg
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: set value
|
||||
*
|
||||
* This API sets scan probe request with unicast RA user config
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_set_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool value)
|
||||
{
|
||||
return wlan_mlme_set_scan_probe_unicast_ra(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_peer_phymode() - get phymode of peer
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -2609,6 +2609,39 @@ wlan_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
*value = mlme_obj->cfg.sta.usr_scan_probe_unicast_ra;
|
||||
|
||||
mlme_legacy_debug("scan_probe_unicast_ra %d", *value);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
|
||||
bool value)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
mlme_legacy_debug("scan_probe_unicast_ra %d", value);
|
||||
mlme_obj->cfg.sta.usr_scan_probe_unicast_ra = value;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_sap_mcc_chnl_avoid(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *value)
|
||||
|
Reference in New Issue
Block a user