|
@@ -111,7 +111,6 @@
|
|
#define ROAMING_OFFLOAD_TIMER_STOP 2
|
|
#define ROAMING_OFFLOAD_TIMER_STOP 2
|
|
#define CSR_ROAMING_OFFLOAD_TIMEOUT_PERIOD (5 * QDF_MC_TIMER_TO_SEC_UNIT)
|
|
#define CSR_ROAMING_OFFLOAD_TIMEOUT_PERIOD (5 * QDF_MC_TIMER_TO_SEC_UNIT)
|
|
|
|
|
|
-
|
|
|
|
#ifdef WLAN_FEATURE_SAE
|
|
#ifdef WLAN_FEATURE_SAE
|
|
/**
|
|
/**
|
|
* csr_sae_callback - Update SAE info to CSR roam session
|
|
* csr_sae_callback - Update SAE info to CSR roam session
|
|
@@ -3092,6 +3091,7 @@ QDF_STATUS csr_roam_copy_profile(struct mac_context *mac,
|
|
pDstProfile->extended_rates.numRates =
|
|
pDstProfile->extended_rates.numRates =
|
|
pSrcProfile->extended_rates.numRates;
|
|
pSrcProfile->extended_rates.numRates;
|
|
}
|
|
}
|
|
|
|
+ pDstProfile->require_h2e = pSrcProfile->require_h2e;
|
|
pDstProfile->cac_duration_ms = pSrcProfile->cac_duration_ms;
|
|
pDstProfile->cac_duration_ms = pSrcProfile->cac_duration_ms;
|
|
pDstProfile->dfs_regdomain = pSrcProfile->dfs_regdomain;
|
|
pDstProfile->dfs_regdomain = pSrcProfile->dfs_regdomain;
|
|
pDstProfile->chan_switch_hostapd_rate_enabled =
|
|
pDstProfile->chan_switch_hostapd_rate_enabled =
|
|
@@ -5361,6 +5361,7 @@ csr_roam_get_bss_start_parms(struct mac_context *mac,
|
|
uint32_t opr_ch_freq = 0;
|
|
uint32_t opr_ch_freq = 0;
|
|
tSirNwType nw_type;
|
|
tSirNwType nw_type;
|
|
uint32_t tmp_opr_ch_freq = 0;
|
|
uint32_t tmp_opr_ch_freq = 0;
|
|
|
|
+ uint8_t h2e;
|
|
tSirMacRateSet *opr_rates = &pParam->operationalRateSet;
|
|
tSirMacRateSet *opr_rates = &pParam->operationalRateSet;
|
|
tSirMacRateSet *ext_rates = &pParam->extendedRateSet;
|
|
tSirMacRateSet *ext_rates = &pParam->extendedRateSet;
|
|
|
|
|
|
@@ -5450,6 +5451,22 @@ csr_roam_get_bss_start_parms(struct mac_context *mac,
|
|
pParam->operation_chan_freq = opr_ch_freq;
|
|
pParam->operation_chan_freq = opr_ch_freq;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (pProfile->require_h2e) {
|
|
|
|
+ h2e = WLAN_BASIC_RATE_MASK |
|
|
|
|
+ WLAN_BSS_MEMBERSHIP_SELECTOR_SAE_H2E;
|
|
|
|
+ if (ext_rates->numRates < SIR_MAC_MAX_NUMBER_OF_RATES) {
|
|
|
|
+ ext_rates->rate[ext_rates->numRates] = h2e;
|
|
|
|
+ ext_rates->numRates++;
|
|
|
|
+ sme_debug("H2E bss membership add to ext support rate");
|
|
|
|
+ } else if (opr_rates->numRates < SIR_MAC_MAX_NUMBER_OF_RATES) {
|
|
|
|
+ opr_rates->rate[opr_rates->numRates] = h2e;
|
|
|
|
+ opr_rates->numRates++;
|
|
|
|
+ sme_debug("H2E bss membership add to support rate");
|
|
|
|
+ } else {
|
|
|
|
+ sme_err("rates full, can not add H2E bss membership");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
pParam->sirNwType = nw_type;
|
|
pParam->sirNwType = nw_type;
|
|
pParam->ch_params.ch_width = pProfile->ch_params.ch_width;
|
|
pParam->ch_params.ch_width = pProfile->ch_params.ch_width;
|
|
pParam->ch_params.center_freq_seg0 =
|
|
pParam->ch_params.center_freq_seg0 =
|