|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -177,8 +177,8 @@
|
|
|
* enum roam_trigger_sub_reason - Roam trigger sub reasons
|
|
|
* @ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER: Roam scan triggered due to
|
|
|
* periodic timer expiry
|
|
|
- * @ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER: Roam scan triggered due to
|
|
|
- * inactivity detection and connected AP RSSI falls below a certain threshold
|
|
|
+ * @ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER_LOW_RSSI: Roam scan triggered due
|
|
|
+ * to inactivity detection and connected AP RSSI falls below a certain threshold
|
|
|
* @ROAM_TRIGGER_SUB_REASON_BTM_DI_TIMER: Roam scan triggered due to BTM
|
|
|
* Disassoc Imminent timeout
|
|
|
* @ROAM_TRIGGER_SUB_REASON_FULL_SCAN: Roam scan triggered due to partial scan
|
|
@@ -283,6 +283,35 @@ struct rso_chan_info {
|
|
|
|
|
|
/**
|
|
|
* struct rso_cfg_params - per vdev rso cfg
|
|
|
+ * @neighbor_scan_period:
|
|
|
+ * @neighbor_scan_min_period:
|
|
|
+ * @specific_chan_info:
|
|
|
+ * @neighbor_lookup_threshold:
|
|
|
+ * @rssi_thresh_offset_5g:
|
|
|
+ * @min_chan_scan_time:
|
|
|
+ * @max_chan_scan_time:
|
|
|
+ * @passive_max_chan_time:
|
|
|
+ * @neighbor_results_refresh_period:
|
|
|
+ * @empty_scan_refresh_period:
|
|
|
+ * @opportunistic_threshold_diff:
|
|
|
+ * @roam_rescan_rssi_diff:
|
|
|
+ * @roam_bmiss_first_bcn_cnt:
|
|
|
+ * @roam_bmiss_final_cnt:
|
|
|
+ * @hi_rssi_scan_max_count:
|
|
|
+ * @hi_rssi_scan_rssi_delta:
|
|
|
+ * @hi_rssi_scan_delay:
|
|
|
+ * @hi_rssi_scan_rssi_ub:
|
|
|
+ * @pref_chan_info:
|
|
|
+ * @full_roam_scan_period:
|
|
|
+ * @enable_scoring_for_roam:
|
|
|
+ * @roam_rssi_diff:
|
|
|
+ * @roam_rssi_diff_6ghz:
|
|
|
+ * @bg_rssi_threshold:
|
|
|
+ * @roam_scan_home_away_time:
|
|
|
+ * @roam_scan_n_probes:
|
|
|
+ * @roam_scan_inactivity_time:
|
|
|
+ * @roam_inactive_data_packet_count:
|
|
|
+ * @roam_scan_period_after_inactivity:
|
|
|
*/
|
|
|
struct rso_cfg_params {
|
|
|
uint32_t neighbor_scan_period;
|
|
@@ -424,7 +453,7 @@ enum wlan_roam_failure_reason_code {
|
|
|
|
|
|
#ifdef WLAN_FEATURE_HOST_ROAM
|
|
|
/**
|
|
|
- * srtuct reassoc_timer_ctx - reassoc timer context
|
|
|
+ * struct reassoc_timer_ctx - reassoc timer context
|
|
|
* @pdev: pdev object pointer
|
|
|
* @vdev_id: vdev id
|
|
|
* @cm_id: cm id to find cm_roam_req
|
|
@@ -492,6 +521,7 @@ struct owe_transition_mode_info {
|
|
|
* @prev_ap_bcn_ie: last connected AP ie
|
|
|
* @occupied_chan_lst: occupied channel list
|
|
|
* @roam_candidate_count: candidate count
|
|
|
+ * @uapsd_mask: UAPSD mask
|
|
|
* @is_ese_assoc: is ese assoc
|
|
|
* @krk: krk data
|
|
|
* @btk: btk data
|
|
@@ -590,7 +620,7 @@ struct rso_roam_policy_params {
|
|
|
#define ENABLE_FT_OVER_DS 1 /* enable ft_over_ds */
|
|
|
|
|
|
/**
|
|
|
- * struct rso_params - global RSO params
|
|
|
+ * struct rso_config_params - global RSO params
|
|
|
* @num_ssid_allowed_list: The number of SSID profiles that are
|
|
|
* in the Allowlist. When roaming, we
|
|
|
* consider the BSSID's with this SSID
|
|
@@ -601,7 +631,7 @@ struct rso_roam_policy_params {
|
|
|
* @bssid_favored_factor: RSSI to be added to this BSSID to prefer it
|
|
|
* @good_rssi_roam: Lazy Roam
|
|
|
* @alert_rssi_threshold: Alert RSSI
|
|
|
- * @rssi: rssi diff
|
|
|
+ * @rssi_diff: rssi diff
|
|
|
* @raise_rssi_thresh_5g: The RSSI threshold below which the
|
|
|
* raise_factor_5g (boost factor) should be applied.
|
|
|
* @drop_rssi_thresh_5g: The RSSI threshold beyond which the
|
|
@@ -609,6 +639,7 @@ struct rso_roam_policy_params {
|
|
|
* @raise_factor_5g: Boost factor
|
|
|
* @drop_factor_5g: Penalty factor
|
|
|
* @max_raise_rssi_5g: Maximum amount of Boost that can added
|
|
|
+ * @cat_rssi_offset:
|
|
|
* @is_fils_roaming_supported: fils roaming supported
|
|
|
* @policy_params: roam policy params
|
|
|
* @neighbor_report_offload: neighbor report offload params
|
|
@@ -660,8 +691,10 @@ struct rso_config_params {
|
|
|
* @ADAPTIVE_11R_CONNECTION: adaptive 11r
|
|
|
* @HS_20_AP: Hotspot 2.0 AP
|
|
|
* @MBO_OCE_ENABLED_AP: MBO/OCE enabled network
|
|
|
+ * @IS_SINGLE_PMK:
|
|
|
* @LOST_LINK_RSSI: lost link RSSI
|
|
|
* @ROAM_BAND: Allowed band for roaming in FW
|
|
|
+ * @HI_RSSI_SCAN_RSSI_DELTA:
|
|
|
* @ROAM_RSSI_DIFF_6GHZ: roam rssi diff for 6 GHz AP
|
|
|
*/
|
|
|
enum roam_cfg_param {
|
|
@@ -794,14 +827,14 @@ struct ap_profile {
|
|
|
* @rssi_weightage: RSSI weightage out of total score in %
|
|
|
* @ht_weightage: HT weightage out of total score in %.
|
|
|
* @vht_weightage: VHT weightage out of total score in %.
|
|
|
- * @he_weightaget: 11ax weightage out of total score in %.
|
|
|
+ * @he_weightage: 11ax weightage out of total score in %.
|
|
|
* @bw_weightage: Bandwidth weightage out of total score in %.
|
|
|
* @band_weightage: Band(2G/5G) weightage out of total score in %.
|
|
|
* @nss_weightage: NSS(1x1 / 2x2)weightage out of total score in %.
|
|
|
* @esp_qbss_weightage: ESP/QBSS weightage out of total score in %.
|
|
|
* @beamforming_weightage: Beamforming weightage out of total score in %.
|
|
|
* @pcl_weightage: PCL weightage out of total score in %.
|
|
|
- * @oce_wan_weightage OCE WAN metrics weightage out of total score in %.
|
|
|
+ * @oce_wan_weightage: OCE WAN metrics weightage out of total score in %.
|
|
|
* @oce_ap_tx_pwr_weightage: OCE AP TX power score in %
|
|
|
* @oce_subnet_id_weightage: OCE subnet id score in %
|
|
|
* @sae_pk_ap_weightage: SAE-PK AP score in %
|
|
@@ -880,36 +913,36 @@ struct scoring_param {
|
|
|
|
|
|
/**
|
|
|
* enum roam_trigger_reason - Reason for triggering roam
|
|
|
- * ROAM_TRIGGER_REASON_NONE: Roam trigger reason none
|
|
|
- * ROAM_TRIGGER_REASON_PER: Roam triggered due to packet error
|
|
|
- * ROAM_TRIGGER_REASON_BMISS: Roam triggered due to beacon miss
|
|
|
- * ROAM_TRIGGER_REASON_LOW_RSSI: Roam triggered due to low RSSI of current
|
|
|
+ * @ROAM_TRIGGER_REASON_NONE: Roam trigger reason none
|
|
|
+ * @ROAM_TRIGGER_REASON_PER: Roam triggered due to packet error
|
|
|
+ * @ROAM_TRIGGER_REASON_BMISS: Roam triggered due to beacon miss
|
|
|
+ * @ROAM_TRIGGER_REASON_LOW_RSSI: Roam triggered due to low RSSI of current
|
|
|
* connected AP.
|
|
|
- * ROAM_TRIGGER_REASON_HIGH_RSSI: Roam triggered because sta is connected to
|
|
|
+ * @ROAM_TRIGGER_REASON_HIGH_RSSI: Roam triggered because sta is connected to
|
|
|
* a AP in 2.4GHz band and a better 5GHz AP is available
|
|
|
- * ROAM_TRIGGER_REASON_PERIODIC: Roam triggered as better AP was found during
|
|
|
+ * @ROAM_TRIGGER_REASON_PERIODIC: Roam triggered as better AP was found during
|
|
|
* periodic roam scan.
|
|
|
- * ROAM_TRIGGER_REASON_MAWC: Motion Aided WiFi Connectivity triggered roam.
|
|
|
- * ROAM_TRIGGER_REASON_DENSE: Roaming triggered due to dense environment
|
|
|
+ * @ROAM_TRIGGER_REASON_MAWC: Motion Aided WiFi Connectivity triggered roam.
|
|
|
+ * @ROAM_TRIGGER_REASON_DENSE: Roaming triggered due to dense environment
|
|
|
* detected.
|
|
|
- * ROAM_TRIGGER_REASON_BACKGROUND: Roam triggered due to current AP having
|
|
|
+ * @ROAM_TRIGGER_REASON_BACKGROUND: Roam triggered due to current AP having
|
|
|
* poor rssi and scan candidate found in scan results provided by other
|
|
|
* scan clients.
|
|
|
- * ROAM_TRIGGER_REASON_FORCED: Forced roam trigger.
|
|
|
- * ROAM_TRIGGER_REASON_BTM: Roam triggered due to AP sent BTM query with
|
|
|
+ * @ROAM_TRIGGER_REASON_FORCED: Forced roam trigger.
|
|
|
+ * @ROAM_TRIGGER_REASON_BTM: Roam triggered due to AP sent BTM query with
|
|
|
* Disassoc imminent bit set.
|
|
|
- * ROAM_TRIGGER_REASON_UNIT_TEST: Roam triggered due to unit test command.
|
|
|
- * ROAM_TRIGGER_REASON_BSS_LOAD: Roam triggered due to high channel utilization
|
|
|
+ * @ROAM_TRIGGER_REASON_UNIT_TEST: Roam triggered due to unit test command.
|
|
|
+ * @ROAM_TRIGGER_REASON_BSS_LOAD: Roam triggered due to high channel utilization
|
|
|
* in the current connected channel
|
|
|
- * ROAM_TRIGGER_REASON_DEAUTH: Roam triggered due to deauth received from the
|
|
|
+ * @ROAM_TRIGGER_REASON_DEAUTH: Roam triggered due to deauth received from the
|
|
|
* current connected AP.
|
|
|
- * ROAM_TRIGGER_REASON_IDLE: Roam triggered due to inactivity of the device.
|
|
|
- * ROAM_TRIGGER_REASON_STA_KICKOUT: Roam triggered due to sta kickout event.
|
|
|
- * ROAM_TRIGGER_REASON_ESS_RSSI: Roam triggered due to ess rssi
|
|
|
- * ROAM_TRIGGER_REASON_WTC_BTM: Roam triggered due to WTC BTM
|
|
|
- * ROAM_TRIGGER_REASON_PMK_TIMEOUT: Roam triggered due to PMK expiry
|
|
|
- * ROAM_TRIGGER_REASON_BTC: Roam triggered due to BT Coex
|
|
|
- * ROAM_TRIGGER_REASON_MAX: Maximum number of roam triggers
|
|
|
+ * @ROAM_TRIGGER_REASON_IDLE: Roam triggered due to inactivity of the device.
|
|
|
+ * @ROAM_TRIGGER_REASON_STA_KICKOUT: Roam triggered due to sta kickout event.
|
|
|
+ * @ROAM_TRIGGER_REASON_ESS_RSSI: Roam triggered due to ess rssi
|
|
|
+ * @ROAM_TRIGGER_REASON_WTC_BTM: Roam triggered due to WTC BTM
|
|
|
+ * @ROAM_TRIGGER_REASON_PMK_TIMEOUT: Roam triggered due to PMK expiry
|
|
|
+ * @ROAM_TRIGGER_REASON_BTC: Roam triggered due to BT Coex
|
|
|
+ * @ROAM_TRIGGER_REASON_MAX: Maximum number of roam triggers
|
|
|
*/
|
|
|
enum roam_trigger_reason {
|
|
|
ROAM_TRIGGER_REASON_NONE = 0,
|
|
@@ -969,9 +1002,9 @@ struct roam_trigger_score_delta {
|
|
|
* @roam_scan_scheme_bitmap: Bitmap of roam triggers as defined in
|
|
|
* enum roam_trigger_reason, for which the roam scan scheme should
|
|
|
* be partial scan
|
|
|
- * @control_param: roam trigger param
|
|
|
+ * @vendor_btm_param: roam trigger param
|
|
|
* @min_rssi_params: Min RSSI values for different roam triggers
|
|
|
- * @score_delta_params: Roam score delta values for different triggers
|
|
|
+ * @score_delta_param: Roam score delta values for different triggers
|
|
|
*/
|
|
|
struct wlan_roam_triggers {
|
|
|
uint32_t vdev_id;
|
|
@@ -989,7 +1022,7 @@ struct wlan_roam_triggers {
|
|
|
* @profile: ap profile to match candidate
|
|
|
* @param: scoring params to short candidate
|
|
|
* @min_rssi_params: Min RSSI values for different roam triggers
|
|
|
- * @score_delta_params: Roam score delta values for different triggers
|
|
|
+ * @score_delta_param: Roam score delta values for different triggers
|
|
|
* @owe_ap_profile: owe ap profile info
|
|
|
*/
|
|
|
struct ap_profile_params {
|
|
@@ -1045,6 +1078,8 @@ struct wlan_roam_mawc_params {
|
|
|
* AP's, in units of db
|
|
|
* @num_disallowed_aps: How many APs the target should maintain in its LCA
|
|
|
* list
|
|
|
+ * @num_rssi_rejection_ap: Number of entries in @rssi_rejection_ap
|
|
|
+ * @rssi_rejection_ap: APs rejected due to poor RSSI
|
|
|
* @delta_rssi: (dB units) when AB in RSSI denylist improved by at least
|
|
|
* delta_rssi,it will be removed from denylist
|
|
|
*
|
|
@@ -1387,7 +1422,7 @@ struct wlan_roam_scan_mode_params {
|
|
|
* in the wmi_roam_offload_tlv_param TLV of WMI_ROAM_SCAN_MODE command.
|
|
|
* @roam_rssi_cat_gap: RSSI category gap
|
|
|
* @prefer_5ghz: Prefer 5G candidate AP
|
|
|
- * @select_5gz_margin: Prefer connecting to 5G AP even if its RSSI is lower by
|
|
|
+ * @select_5ghz_margin: Prefer connecting to 5G AP even if its RSSI is lower by
|
|
|
* select_5g_margin dBm
|
|
|
* @reassoc_failure_timeout: reassociation response failure timeout
|
|
|
* @ho_delay_for_rx: Time in millisecs to delay hand-off by this duration to
|
|
@@ -1396,7 +1431,7 @@ struct wlan_roam_scan_mode_params {
|
|
|
* reassoc req
|
|
|
* @roam_preauth_no_ack_timeout: duration in millsecs to wait before another SW
|
|
|
* retry made if no ack seen for previous frame
|
|
|
- * @diable_self_roam: Disable roaming to current connected BSS.
|
|
|
+ * @disable_self_roam: Disable roaming to current connected BSS.
|
|
|
* @rct_validity_timer: duration value for which the entries in
|
|
|
* roam candidate table(rct) are valid
|
|
|
*/
|
|
@@ -1414,7 +1449,7 @@ struct wlan_rso_lfr3_params {
|
|
|
|
|
|
#define WLAN_ROAM_OFFLOAD_NUM_MCS_SET (16)
|
|
|
/**
|
|
|
- * struct wlan_lfr3_roam_offload_param - LFR3 Roaming offload parameters
|
|
|
+ * struct wlan_rso_lfr3_caps - LFR3 Roaming offload parameters
|
|
|
* @capability: RSN capabilities
|
|
|
* @ht_caps_info: HT capabilities information
|
|
|
* @ampdu_param: AMPDU configs
|
|
@@ -1463,10 +1498,14 @@ struct wlan_rso_11i_params {
|
|
|
/**
|
|
|
* struct wlan_rso_11r_params - LFR-3.0 parameters to fill
|
|
|
* wmi_roam_11r_offload_tlv_param TLV related info in WMI_ROAM_SCAN_MODE command
|
|
|
+ * @is_11r_assoc:
|
|
|
+ * @is_adaptive_11r:
|
|
|
* @enable_ft_im_roaming: Flag to enable/disable FT-IM roaming upon receiving
|
|
|
* deauth
|
|
|
- * @rokh_id_length: r0kh id length
|
|
|
- * @rokh_id: r0kh id
|
|
|
+ * @psk_pmk: key material
|
|
|
+ * @pmk_len: length of key material
|
|
|
+ * @r0kh_id_length: r0kh id length
|
|
|
+ * @r0kh_id: r0kh id
|
|
|
* @mdid: mobility domain info
|
|
|
* @enable_ft_over_ds: Flag to enable/disable FT-over-DS
|
|
|
*/
|
|
@@ -1513,10 +1552,11 @@ struct wlan_rso_sae_offload_params {
|
|
|
#define ROAM_SCAN_CHANNEL_SWITCH_TIME (4)
|
|
|
|
|
|
/**
|
|
|
- * struct roam_offload_scan_params - structure containing roaming offload scan
|
|
|
- * parameters to be filled over WMI_ROAM_SCAN_MODE command.
|
|
|
+ * struct wlan_roam_scan_offload_params - structure containing roaming offload
|
|
|
+ * scan parameters to be filled over WMI_ROAM_SCAN_MODE command.
|
|
|
* @vdev_id: vdev id
|
|
|
* @is_rso_stop: flag to tell whether roam req is valid or NULL
|
|
|
+ * @roaming_scan_policy:
|
|
|
* @rso_mode_info: Roam scan mode related parameters
|
|
|
* @rso_scan_params: Roam scan offload scan start params
|
|
|
* @scan_params: Roaming scan related parameters
|
|
@@ -1568,6 +1608,7 @@ struct wlan_roam_scan_offload_params {
|
|
|
* @hi_rssi_scan_rssi_delta: 5G scan rssi change threshold value
|
|
|
* @hi_rssi_scan_rssi_ub: 5G scan upper bound
|
|
|
* @raise_rssi_thresh_5g: flag to determine penalty and boost thresholds
|
|
|
+ * @drop_rssi_thresh_5g: flag to determine penalty and boost thresholds
|
|
|
* @vdev_id: vdev id
|
|
|
* @penalty_threshold_5g: RSSI threshold below which 5GHz RSSI is penalized
|
|
|
* @boost_threshold_5g: RSSI threshold above which 5GHz RSSI is favored
|
|
@@ -1586,6 +1627,7 @@ struct wlan_roam_scan_offload_params {
|
|
|
* @dense_min_aps_cnt: dense roam minimum APs
|
|
|
* @initial_dense_status: dense status detected by host
|
|
|
* @traffic_threshold: dense roam RSSI threshold
|
|
|
+ * @rssi_thresh_offset_5g:
|
|
|
* @bg_scan_bad_rssi_thresh: Bad RSSI threshold to perform bg scan
|
|
|
* @roam_bad_rssi_thresh_offset_2g: Offset from Bad RSSI threshold for 2G
|
|
|
* to 5G Roam
|
|
@@ -1689,7 +1731,7 @@ struct wlan_roam_scan_period_params {
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
- * wlan_roam_scan_channel_list - Roam Scan channel list related
|
|
|
+ * struct wlan_roam_scan_channel_list - Roam Scan channel list related
|
|
|
* parameters
|
|
|
* @vdev_id: Vdev id
|
|
|
* @chan_count: Channel count
|
|
@@ -1768,6 +1810,7 @@ struct wlan_roam_mlo_config {
|
|
|
* @reason_vsie_enable: roam reason vsie enable parameters
|
|
|
* @roam_triggers: roam triggers parameters
|
|
|
* @scan_period_params: roam scan period parameters
|
|
|
+ * @rso_config: roam scan offload configuration
|
|
|
* @rssi_change_params: Roam offload RSSI change parameters
|
|
|
* @profile_params: ap profile parameters
|
|
|
* @rso_chan_info: Roam scan channel list parameters
|
|
@@ -2097,30 +2140,30 @@ struct roam_invoke_req {
|
|
|
* enum cm_roam_notif: roaming notification
|
|
|
* @CM_ROAM_NOTIF_INVALID: invalid notification. Do not interpret notif field
|
|
|
* @CM_ROAM_NOTIF_ROAM_START: indicate that roaming is started. sent only in
|
|
|
- non WOW state
|
|
|
+ * non WOW state
|
|
|
* @CM_ROAM_NOTIF_ROAM_ABORT: indicate that roaming is aborted. sent only in
|
|
|
- non WOW state
|
|
|
+ * non WOW state
|
|
|
* @CM_ROAM_NOTIF_ROAM_REASSOC: indicate that reassociation is done. sent only
|
|
|
- in non WOW state
|
|
|
+ * in non WOW state
|
|
|
* @CM_ROAM_NOTIF_SCAN_MODE_SUCCESS: indicate that roaming scan mode is
|
|
|
- successful
|
|
|
+ * successful
|
|
|
* @CM_ROAM_NOTIF_SCAN_MODE_FAIL: indicate that roaming scan mode is failed due
|
|
|
- to internal roaming state
|
|
|
+ * to internal roaming state
|
|
|
* @CM_ROAM_NOTIF_DISCONNECT: indicate that roaming not allowed due BTM req
|
|
|
* @CM_ROAM_NOTIF_SUBNET_CHANGED: indicate that subnet has changed
|
|
|
* @CM_ROAM_NOTIF_SCAN_START: indicate roam scan start, notif_params to be sent
|
|
|
- as WMI_ROAM_TRIGGER_REASON_ID
|
|
|
+ * as WMI_ROAM_TRIGGER_REASON_ID
|
|
|
* @CM_ROAM_NOTIF_DEAUTH_RECV: indicate deauth received, notif_params to be sent
|
|
|
- as reason code, notif_params1 to be sent as
|
|
|
- frame length
|
|
|
+ * as reason code, notif_params1 to be sent as
|
|
|
+ * frame length
|
|
|
* @CM_ROAM_NOTIF_DISASSOC_RECV: indicate disassoc received, notif_params to be
|
|
|
- sent as reason code, notif_params1 to be sent
|
|
|
- as frame length
|
|
|
+ * sent as reason code, notif_params1 to be sent
|
|
|
+ * as frame length
|
|
|
* @CM_ROAM_NOTIF_HO_FAIL: indicates that roaming scan mode is successful but
|
|
|
- caused disconnection and subsequent
|
|
|
- WMI_ROAM_REASON_HO_FAILED is event expected
|
|
|
+ * caused disconnection and subsequent
|
|
|
+ * WMI_ROAM_REASON_HO_FAILED is event expected
|
|
|
* @CM_ROAM_NOTIF_SCAN_END: indicate roam scan end, notif_params to be sent
|
|
|
- as WMI_ROAM_TRIGGER_REASON_ID
|
|
|
+ * as WMI_ROAM_TRIGGER_REASON_ID
|
|
|
*/
|
|
|
enum cm_roam_notif {
|
|
|
CM_ROAM_NOTIF_INVALID = 0,
|
|
@@ -2153,7 +2196,7 @@ enum cm_roam_notif {
|
|
|
* reason. Any roaming failure after reassociation will be indicated to host
|
|
|
* with WMI_ROAM_REASON_HO_FAILED no matter WMI_ROAM_INVOKE_CMDID is
|
|
|
* called or not.
|
|
|
- * @ROAM_REASON_RSO_STATUS
|
|
|
+ * @ROAM_REASON_RSO_STATUS:
|
|
|
* @ROAM_REASON_BTM: Roaming because of BTM request received
|
|
|
* @ROAM_REASON_DEAUTH: deauth/disassoc received
|
|
|
*/
|
|
@@ -2227,7 +2270,7 @@ struct vdev_disconnect_event_data {
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
- * struct roam_scan_ch_resp - roam scan chan list response to userspace
|
|
|
+ * struct cm_roam_scan_ch_resp - roam scan chan list response to userspace
|
|
|
* @vdev_id: vdev id
|
|
|
* @num_channels: number of roam scan channels
|
|
|
* @command_resp: command response or async event
|
|
@@ -2266,6 +2309,7 @@ enum roam_dispatcher_events {
|
|
|
* reason is WMI_ROAM_REASON_DEAUTH.
|
|
|
* @hw_mode_trans_ind: HW mode transition indication
|
|
|
* @deauth_disassoc_frame: Deauth/disassoc frame received from AP
|
|
|
+ * @rso_timer_stopped: RSO timer stopped
|
|
|
*/
|
|
|
struct roam_offload_roam_event {
|
|
|
uint8_t vdev_id;
|
|
@@ -2349,7 +2393,7 @@ struct roam_pmkid_req_event {
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
- * wlan_cm_roam_tx_ops - structure of tx function pointers for
|
|
|
+ * struct wlan_cm_roam_tx_ops - structure of tx function pointers for
|
|
|
* roaming related commands
|
|
|
* @send_vdev_set_pcl_cmd: TX ops function pointer to send set vdev PCL
|
|
|
* command
|
|
@@ -2357,16 +2401,24 @@ struct roam_pmkid_req_event {
|
|
|
* module initialize request
|
|
|
* @send_roam_start_req: TX ops function pointer to send roam start related
|
|
|
* commands
|
|
|
+ * @send_roam_stop_offload:
|
|
|
+ * @send_roam_update_config:
|
|
|
* @send_roam_abort: send roam abort
|
|
|
+ * @send_roam_per_config:
|
|
|
+ * @send_roam_triggers:
|
|
|
* @send_roam_disable_config: send roam disable config
|
|
|
+ * @send_roam_invoke_cmd:
|
|
|
+ * @send_roam_sync_complete_cmd:
|
|
|
* @send_roam_rt_stats_config: Send roam events vendor command param value to FW
|
|
|
* @send_roam_ho_delay_config: Send roam Hand-off delay value to FW
|
|
|
* @send_exclude_rm_partial_scan_freq: Include/exclude the channels in roam full
|
|
|
* scan that are already scanned as part of partial scan.
|
|
|
* @send_roam_full_scan_6ghz_on_disc: Include the 6 GHz channels in roam full
|
|
|
* scan only on prior discovery of any 6 GHz support in the environment.
|
|
|
+ * @send_roam_mcc_disallow: Send MCC disallow to FW
|
|
|
* @send_roam_linkspeed_state: Send roam link speed good/poor state to FW
|
|
|
* @send_roam_vendor_handoff_config: send vendor handoff config command to FW
|
|
|
+ * @send_roam_mlo_config: send MLO config to FW
|
|
|
*/
|
|
|
struct wlan_cm_roam_tx_ops {
|
|
|
QDF_STATUS (*send_vdev_set_pcl_cmd)(struct wlan_objmgr_vdev *vdev,
|
|
@@ -2426,12 +2478,12 @@ struct wlan_cm_roam_tx_ops {
|
|
|
|
|
|
/**
|
|
|
* enum roam_scan_freq_scheme - Scan mode for triggering roam
|
|
|
- * ROAM_SCAN_FREQ_SCHEME_NO_SCAN: Indicates the fw to not scan.
|
|
|
- * ROAM_SCAN_FREQ_SCHEME_PARTIAL_SCAN: Indicates the firmware to
|
|
|
+ * @ROAM_SCAN_FREQ_SCHEME_NO_SCAN: Indicates the fw to not scan.
|
|
|
+ * @ROAM_SCAN_FREQ_SCHEME_PARTIAL_SCAN: Indicates the firmware to
|
|
|
* trigger partial frequency scans.
|
|
|
- * ROAM_SCAN_FREQ_SCHEME_FULL_SCAN: Indicates the firmware to
|
|
|
+ * @ROAM_SCAN_FREQ_SCHEME_FULL_SCAN: Indicates the firmware to
|
|
|
* trigger full frequency scans.
|
|
|
- * ROAM_SCAN_FREQ_SCHEME_NONE: Invalid scan mode
|
|
|
+ * @ROAM_SCAN_FREQ_SCHEME_NONE: Invalid scan mode
|
|
|
*/
|
|
|
enum roam_scan_freq_scheme {
|
|
|
ROAM_SCAN_FREQ_SCHEME_NO_SCAN = 0,
|
|
@@ -2444,7 +2496,7 @@ enum roam_scan_freq_scheme {
|
|
|
/**
|
|
|
* struct wlan_cm_vendor_handoff_param - vendor handoff configuration
|
|
|
* structure
|
|
|
- * @vendor_handoff_context_cb: vendor handoff context
|
|
|
+ * @vendor_handoff_context: vendor handoff context
|
|
|
* @req_in_progress: to check whether vendor handoff request in progress or not
|
|
|
*/
|
|
|
struct wlan_cm_vendor_handoff_param {
|
|
@@ -2540,6 +2592,8 @@ struct policy_mgr_pdev_mac_freq_map {
|
|
|
* @new_hw_mode_index: Index of new HW mode
|
|
|
* @num_vdev_mac_entries: Number of vdev-mac id entries
|
|
|
* @vdev_mac_map: vdev id-mac id map
|
|
|
+ * @num_freq_map: Number of frequency map entries
|
|
|
+ * @mac_freq_map: Frequency range map
|
|
|
*/
|
|
|
struct cm_hw_mode_trans_ind {
|
|
|
uint32_t old_hw_mode_index;
|
|
@@ -2657,7 +2711,7 @@ struct roam_scan_candidate_frame {
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
- * wlan_cm_roam_rx_ops - structure of rx function pointers for
|
|
|
+ * struct wlan_cm_roam_rx_ops - structure of rx function pointers for
|
|
|
* roaming related commands
|
|
|
* @roam_sync_event: RX ops function pointer for roam sync event
|
|
|
* @roam_sync_frame_event: Rx ops function pointer for roam sync frame event
|