mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Add more SAP mandatory channel frequency
According to new user request, add channel frequency 5745, 5765, 5785, 5805 to SAP mandatory channel list. Change-Id: Icf1c96c07514f65a229e00d4330eaf0af5daa4ab CRs-Fixed: 2987664
This commit is contained in:
parent
dc02215a2e
commit
25e6803810
2 changed files with 5 additions and 4 deletions
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#define POLICY_MGR_MAX_CON_STRING_LEN 100
|
||||
|
||||
static const uint16_t sap_mand_5g_freq_list[] = {5745, 5765, 5785, 5805};
|
||||
|
||||
struct policy_mgr_conc_connection_info
|
||||
pm_conc_connection_list[MAX_NUMBER_OF_CONC_CONNECTIONS];
|
||||
|
||||
|
|
@ -3612,8 +3614,9 @@ policy_mgr_init_sap_mandatory_chan_by_band(struct wlan_objmgr_psoc *psoc,
|
|||
}
|
||||
}
|
||||
if (band_bitmap & BIT(REG_BAND_5G))
|
||||
policy_mgr_add_sap_mandatory_chan(psoc,
|
||||
SAP_MANDATORY_5G_CH_FREQ);
|
||||
for (i = 0; i < ARRAY_SIZE(sap_mand_5g_freq_list); i++)
|
||||
policy_mgr_add_sap_mandatory_chan(
|
||||
psoc, sap_mand_5g_freq_list[i]);
|
||||
if (band_bitmap & BIT(REG_BAND_6G))
|
||||
policy_mgr_add_sap_mandatory_6ghz_chan(psoc);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@
|
|||
|
||||
#define POLICY_MGR_SER_CMD_TIMEOUT 4000
|
||||
|
||||
#define SAP_MANDATORY_5G_CH_FREQ 5745
|
||||
|
||||
#ifdef QCA_WIFI_3_0_EMU
|
||||
#define CONNECTION_UPDATE_TIMEOUT (POLICY_MGR_SER_CMD_TIMEOUT + 3000)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue