Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25e68038 authored by Liangwei Dong's avatar Liangwei Dong Committed by Gerrit - the friendly Code Review server
Browse files

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
parent dc02215a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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);
}
+0 −2
Original line number Diff line number Diff line
@@ -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