Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 584256 Details for
Bug 690206
sys-kernel/linux-firmware-20190712 and sys-kernel/linux-firmware-20190717 and sys-kernel/linux-firmware-20190620 are not compatible with intel wifi a370 (rev 10) wifi network doesn't work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch: don't send GEO_TX_POWER_LIMIT on version < 41
Dont-send-GEO_TX_POWER_LIMIT-on-version-41.patch (text/plain), 1.66 KB, created by
Mike Pagano
on 2019-07-23 23:46:28 UTC
(
hide
)
Description:
patch: don't send GEO_TX_POWER_LIMIT on version < 41
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2019-07-23 23:46:28 UTC
Size:
1.66 KB
patch
obsolete
>@@ -, +, @@ > version < 41 >--- > drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 22 +++++++++++++++------- > 1 file changed, 15 insertions(+), 7 deletions(-) >--- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c >+++ a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c >@@ -1009,6 +1009,17 @@ int iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) > return iwl_mvm_send_cmd_pdu(mvm, REDUCE_TX_POWER_CMD, 0, len, &cmd); > } > >+static bool iwl_mvm_sar_geo_support(struct iwl_mvm *mvm) >+{ >+ /* >+ * The GEO_TX_POWER_LIMIT command is not supported on earlier >+ * firmware versions. Unfortunately, we don't have a TLV API >+ * flag to rely on, so rely on the major version which is in >+ * the first byte of ucode_ver. >+ */ >+ return IWL_UCODE_SERIAL(mvm->fw->ucode_ver) >= 41; >+} >+ > int iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) > { > struct iwl_geo_tx_power_profiles_resp *resp; >@@ -1038,6 +1049,9 @@ int iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) > .data = { data }, > }; > >+ if (!iwl_mvm_sar_geo_support(mvm)) >+ return -EOPNOTSUPP; >+ > ret = iwl_mvm_send_cmd(mvm, &cmd); > if (ret) { > IWL_ERR(mvm, "Failed to get geographic profile info %d\n", ret); >@@ -1063,13 +1077,7 @@ static int iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) > int ret, i, j; > u16 cmd_wide_id = WIDE_ID(PHY_OPS_GROUP, GEO_TX_POWER_LIMIT); > >- /* >- * This command is not supported on earlier firmware versions. >- * Unfortunately, we don't have a TLV API flag to rely on, so >- * rely on the major version which is in the first byte of >- * ucode_ver. >- */ >- if (IWL_UCODE_SERIAL(mvm->fw->ucode_ver) < 41) >+ if (!iwl_mvm_sar_geo_support(mvm)) > return 0; > > ret = iwl_mvm_sar_get_wgds_table(mvm); >--
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 690206
: 584256