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
This commit is contained in:

gecommit door
snandini

bovenliggende
3fb77d35c4
commit
a92a1a0f8b
@@ -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);
|
||||
|
@@ -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,
|
||||
|
@@ -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);
|
||||
|
Verwijs in nieuw issue
Block a user