Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:user5664536:linux
linux
no-lar.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-lar.patch of Package linux
diff -urN a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 2023-11-20 19:59:39.000000000 +0900 +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 2023-12-01 19:43:02.851721079 +0900 @@ -1411,9 +1411,9 @@ return NULL; } - if (data->lar_enabled && - fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) - sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; + // if (data->lar_enabled && + // fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) + // sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; iwl_init_sbands(trans, data, mei_nvm->channels, tx_chains, rx_chains, sbands_flags, true, fw); @@ -1508,9 +1508,9 @@ return NULL; } - if (lar_enabled && - fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) - sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; + // if (lar_enabled && + // fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) + // sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; if (iwl_nvm_no_wide_in_5ghz(trans, cfg, nvm_hw)) sbands_flags |= IWL_NVM_SBANDS_FLAGS_NO_WIDE_IN_5GHZ; @@ -2047,12 +2047,12 @@ nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains); nvm->valid_rx_ant = (u8)le32_to_cpu(rsp->phy_sku.rx_chains); - if (le32_to_cpu(rsp->regulatory.lar_enabled) && - fw_has_capa(&fw->ucode_capa, - IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) { - nvm->lar_enabled = true; - sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; - } + // if (le32_to_cpu(rsp->regulatory.lar_enabled) && + // fw_has_capa(&fw->ucode_capa, + // IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) { + // nvm->lar_enabled = true; + // sbands_flags |= IWL_NVM_SBANDS_FLAGS_LAR; + // } rsp_v3 = (void *)rsp; channel_profile = v4 ? (void *)rsp->regulatory.channel_profile :
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor