qcacmn: Replace session_id in roam_scan_filter_params

In struct roam_scan_filter_params the legacy identifier session_id is
currently used to identify the vdev of interest. To align with the
converged nomenclature rename this to vdev_id.

This is co-dependent with Ibeab45d4badbeda6baec6a53ab4ec561dd70ccd9
("qcacld-3.0: Use vdev_id in roam_scan_filter_params").

Change-Id: I16679abc7b3b61e6814fc1b0f13c6bc0e0fb7a39
CRs-Fixed: 2407402
此提交包含在:
Jeff Johnson
2019-02-28 12:19:23 -08:00
提交者 nshrivas
父節點 256dcbe737
當前提交 49352281d1
共有 2 個檔案被更改,包括 23 行新增23 行删除

查看文件

@@ -164,29 +164,29 @@ struct rssi_disallow_bssid {
/** /**
* struct roam_scan_filter_params - Structure holding roaming scan * struct roam_scan_filter_params - Structure holding roaming scan
* parameters * parameters
* @op_bitmap: bitmap to determine reason of roaming * @op_bitmap: bitmap to determine reason of roaming
* @session_id: vdev id * @vdev_id: vdev id
* @num_bssid_black_list: The number of BSSID's that we should * @num_bssid_black_list: The number of BSSID's that we should avoid
* avoid connecting to. It is like a * connecting to. It is like a blacklist of BSSID's.
* blacklist of BSSID's. * @num_ssid_white_list: The number of SSID profiles that are in the
* @num_ssid_white_list: The number of SSID profiles that are * Whitelist. When roaming, we consider the BSSID's with
* in the Whitelist. When roaming, we * this SSID also for roaming apart from the connected
* consider the BSSID's with this SSID * one's
* also for roaming apart from the connected one's
* @num_bssid_preferred_list: Number of BSSID's which have a preference over * @num_bssid_preferred_list: Number of BSSID's which have a preference over
* others * others
* @bssid_avoid_list: Blacklist SSID's * @bssid_avoid_list: Blacklist SSID's
* @ssid_allowed_list: Whitelist SSID's * @ssid_allowed_list: Whitelist SSID's
* @bssid_favored: Favorable BSSID's * @bssid_favored: Favorable BSSID's
* @bssid_favored_factor: RSSI to be added to this BSSID to prefer it * @bssid_favored_factor: RSSI to be added to this BSSID to prefer it
* @lca_disallow_config_present: LCA [Last Connected AP] disallow config present * @lca_disallow_config_present: LCA [Last Connected AP] disallow config
* @disallow_duration: How long LCA AP will be disallowed before it * present
* can be a roaming candidate again, in seconds * @disallow_duration: How long LCA AP will be disallowed before it can be a
* @rssi_channel_penalization:How much RSSI will be penalized if candidate(s) * roaming candidate again, in seconds
* are found in the same channel as disallowed AP's, * @rssi_channel_penalization: How much RSSI will be penalized if candidate(s)
* in units of db * are found in the same channel as disallowed
* @num_disallowed_aps: How many APs the target should maintain in its * AP's, in units of db
* LCA list * @num_disallowed_aps: How many APs the target should maintain in its LCA
* list
* *
* This structure holds all the key parameters related to * This structure holds all the key parameters related to
* initial connection and roaming connections. * initial connection and roaming connections.
@@ -194,7 +194,7 @@ struct rssi_disallow_bssid {
struct roam_scan_filter_params { struct roam_scan_filter_params {
uint32_t op_bitmap; uint32_t op_bitmap;
uint8_t session_id; uint8_t vdev_id;
uint32_t num_bssid_black_list; uint32_t num_bssid_black_list;
uint32_t num_ssid_white_list; uint32_t num_ssid_white_list;
uint32_t num_bssid_preferred_list; uint32_t num_bssid_preferred_list;

查看文件

@@ -415,7 +415,7 @@ static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param, WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param,
WMITLV_GET_STRUCT_TLVLEN(wmi_roam_filter_fixed_param)); WMITLV_GET_STRUCT_TLVLEN(wmi_roam_filter_fixed_param));
/* fill in fixed values */ /* fill in fixed values */
roam_filter->vdev_id = roam_req->session_id; roam_filter->vdev_id = roam_req->vdev_id;
roam_filter->flags = 0; roam_filter->flags = 0;
roam_filter->op_bitmap = roam_req->op_bitmap; roam_filter->op_bitmap = roam_req->op_bitmap;
roam_filter->num_bssid_black_list = roam_req->num_bssid_black_list; roam_filter->num_bssid_black_list = roam_req->num_bssid_black_list;