From 827b84824ef2d910930c9974765de592e77b5072 Mon Sep 17 00:00:00 2001 From: "Chia-Lin Kao (AceLan)" Date: Wed, 23 Feb 2022 18:40:13 +0800 Subject: [PATCH] UBUNTU: SAUCE: iwlwifi: disable 6-7 GHz channels BugLink: https://bugs.launchpad.net/bugs/1961971 Disable UHB (ultra high band) channels on all AX210/AX211 cards Signed-off-by: Chia-Lin Kao (AceLan) Signed-off-by: Timo Aaltonen --- .../net/wireless/intel/iwlwifi/cfg/22000.c | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c b/drivers/net/wireless/intel/iwlwifi/cfg/22000.c index 7f1faa9d97b4a..f89ec01d030b9 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/22000.c @@ -629,7 +629,7 @@ const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = { const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = { .name = iwl_ax211_name, .fw_name_pre = IWL_SO_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; @@ -637,7 +637,7 @@ const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = { const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0_long = { .name = iwl_ax211_name, .fw_name_pre = IWL_SO_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, .trans.xtal_latency = 12000, @@ -647,7 +647,7 @@ const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0_long = { const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = { .name = "Intel(R) Wi-Fi 6 AX210 160MHz", .fw_name_pre = IWL_TY_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; @@ -655,7 +655,7 @@ const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = { const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = { .name = iwl_ax411_name, .fw_name_pre = IWL_SO_A_GF4_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; @@ -663,7 +663,7 @@ const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = { const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long = { .name = iwl_ax411_name, .fw_name_pre = IWL_SO_A_GF4_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, .trans.xtal_latency = 12000, @@ -673,7 +673,7 @@ const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long = { const struct iwl_cfg iwlax411_2ax_cfg_sosnj_gf4_a0 = { .name = iwl_ax411_name, .fw_name_pre = IWL_SNJ_A_GF4_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; @@ -681,63 +681,63 @@ const struct iwl_cfg iwlax411_2ax_cfg_sosnj_gf4_a0 = { const struct iwl_cfg iwlax211_cfg_snj_gf_a0 = { .name = iwl_ax211_name, .fw_name_pre = IWL_SNJ_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_snj_hr_b0 = { .fw_name_pre = IWL_SNJ_A_HR_B_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_snj_a0_jf_b0 = { .fw_name_pre = IWL_SNJ_A_JF_B_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_ma_a0_hr_b0 = { .fw_name_pre = IWL_MA_A_HR_B_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_ma_a0_gf_a0 = { .fw_name_pre = IWL_MA_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_ma_a0_gf4_a0 = { .fw_name_pre = IWL_MA_A_GF4_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_ma_a0_mr_a0 = { .fw_name_pre = IWL_MA_A_MR_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_ma_a0_fm_a0 = { .fw_name_pre = IWL_MA_A_FM_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_snj_a0_mr_a0 = { .fw_name_pre = IWL_SNJ_A_MR_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; @@ -762,28 +762,28 @@ const struct iwl_cfg iwl_cfg_quz_a0_hr_b0 = { const struct iwl_cfg iwl_cfg_bz_a0_hr_b0 = { .fw_name_pre = IWL_BZ_A_HR_B_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_bz_a0_gf_a0 = { .fw_name_pre = IWL_BZ_A_GF_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_bz_a0_gf4_a0 = { .fw_name_pre = IWL_BZ_A_GF4_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; const struct iwl_cfg iwl_cfg_bz_a0_mr_a0 = { .fw_name_pre = IWL_BZ_A_MR_A_FW_PRE, - .uhb_supported = true, + .uhb_supported = false, IWL_DEVICE_AX210, .num_rbds = IWL_NUM_RBDS_AX210_HE, };