diff mbox

[Ilw] Intel Wireless 7260 hardware timed out randomly

Message ID CANUX_P1O_GOZB20m0-hcSgs8-pSDzXKJ=2_MVjVfsYLO9aSgBA@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Emmanuel Grumbach Nov. 11, 2013, 9:43 a.m. UTC
>>
>> 2013/11/10 Grumbach, Emmanuel <emmanuel.grumbach@intel.com>:
>> > It is really called L1 PM Substate.
>> > I don't really know the BIOS of ThinkPad... But we can try...
>>
>>
>> I have booted into BIOS and write down almost all the options, as attached.
>>
>> By the way, I always attach my laptop to an AC adaptor.
>>
>
> Cool.... they mask all the interesting options... oh well...

Can you please try this?

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

wzyboy Nov. 11, 2013, 11:40 a.m. UTC | #1
2013/11/11 Emmanuel Grumbach <egrumbach@gmail.com>:
> Can you please try this?


Hi, thanks for your patch. I re-compiled my kernel with the patch and
benchmarked it, but sadly the bug still exists...

After booted into the new kernel, I tried to download a 4.0GB file
from the Internet with wget:

HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 4268605440 (4,0G) [application/octet-stream]
In »»./en_windows_server_2012_r2_x64_dvd_2707946.iso«« speichern.

63% [=====>      ] 2.713.761.088 --.-K/s ETA 19m 59s ^C

The download speed was at a average of 2.3 MB/s and suddenly the bug occured...

The dmesg log and lspci -vvxxx output are attached. They seem no different...
diff mbox

Patch

diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c
b/drivers/net/wireless/iwlwifi/pcie/trans.c
index ebe351d..f8fbe08 100644
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/iwlwifi/pcie/trans.c
@@ -131,7 +131,7 @@  static void iwl_pcie_apm_config(struct iwl_trans *trans)
         *    power savings, even without L1.
         */
        pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl);
-       if (lctl & PCI_EXP_LNKCTL_ASPM_L1) {
+       if (0) {
                /* L1-ASPM enabled; disable(!) L0S */
                iwl_set_bit(trans, CSR_GIO_REG, CSR_GIO_REG_VAL_L0S_ENABLED);
                dev_info(trans->dev, "L1 Enabled; Disabling L0S\n");