qcacld-3.0: Update default band to include all bands

Currently, QCA_SETBAND_AUTO is backwards compatible, so it is set
to include only 2G and 5G bands. Update this to include 6G bands
as well. Also update the band capability INI to have the default
value 0 include 6G bands.

Change-Id: I98067c18e939ff4c1e7b1e778b020b44409b5b34
CRs-fixed: 2799883
Este commit está contenido en:
Lincoln Tran
2020-10-18 15:12:48 -07:00
cometido por snandini
padre 3fb77d35c4
commit a92a1a0f8b
Se han modificado 3 ficheros con 3 adiciones y 3 borrados

Ver fichero

@@ -358,7 +358,7 @@ static void mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
gen->band_capability =
cfg_get(psoc, CFG_BAND_CAPABILITY);
if (!gen->band_capability)
gen->band_capability = (BIT(REG_BAND_2G) | BIT(REG_BAND_5G));
gen->band_capability = REG_BAND_MASK_ALL;
gen->band = gen->band_capability;
gen->select_5ghz_margin =
cfg_get(psoc, CFG_SELECT_5GHZ_MARGIN);

Ver fichero

@@ -140,7 +140,7 @@
/*
* <ini>
* BandCapability - Preferred band (0: Both 2.4G and 5G,
* BandCapability - Preferred band (0: 2.4G, 5G, and 6G,
* 1: 2.4G only,
* 2: 5G only,
* 3: Both 2.4G and 5G,

Ver fichero

@@ -764,7 +764,7 @@ uint32_t hdd_reg_legacy_setband_to_reg_wifi_band_bitmap(uint8_t qca_setband)
switch (qca_setband) {
case QCA_SETBAND_AUTO:
band_bitmap |= (BIT(REG_BAND_2G) | BIT(REG_BAND_5G));
band_bitmap |= REG_BAND_MASK_ALL;
break;
case QCA_SETBAND_5G:
band_bitmap |= BIT(REG_BAND_5G);