Wifi is slowing down when bluetooth is active












-1















I had this problem with 2 different laptops with 18.04 Ubuntu. Wifi is working normal, until I want to connect a bluetooth speaker then it is hanging. SO I cannot listen to music with a bluetoot speaker from the internet. There are several topics on this, but I needed a full day to figure out what is the solution, so I describe it here with proper, but simple explanation. Because quite often you just find a command, and do not know what the hell is that doing.



The key is that your bluetooth and wifi is disturbing each other, because they operate on similar frequencies. The solution is that there is a setting that helps to resolve this, and this is to switch on a certain mode called "bt_coex_active".



First, how to find out what wifi adapter you have?



lshw -C network


I get this:



b@Lenovo-ideapad-330S:~$ lshw -C network
ATTENTION: ce programme devrait être lancé en tant que super-utilisateur.
*-network
description: Interface réseau sans fil
produit: QCA9377 802.11ac Wireless Network Adapter
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: wlp1s0
version: 31
numéro de série: 50:5b:c2:fe:e7:6b
bits: 64 bits
horloge: 33MHz
fonctionnalités: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-45-generic firmware=WLAN.TF.1.0-00002-QCATFSWPZ-5 ip=192.168.178.29 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:126 mémoire:b1000000-b11fffff


That is how I know, my driver is ath10k_pci. I am sure, the same solution works for ath9k too, about other adapters I am not sure.



Now, the solution is simply to go to the folder /etc/modprobe.d and create a settings for this driver. I think, the filename is not important, but it is better, if it has thaóe same name as your driver, with a "conf extension". In my case ath10k_pci.conf.



I find it the easiest to use gedit and save the file there from the editor. But, because this folder is protected, you need for this the "sudo" command.



So:



cd /etc/modprobe.d/


Then:



sudo gedit


This asks for your password, as sudo always does.



In the text editor you put this:



options ath10k_pci bt_coex_active=Y


It is important that you put your driver name. Also the "Y" is important. You can find on the internet many "solutions" with "1", that does not work.



Then you save the file as ath10k_pci.conf.



After reboot this will work.



If you do not want to wait for the reboot, but try it out, you need to reset modprobe and restart bluetooth ser



vice:

sudo service network-manager stop

sudo modprobe -rfv ath10k_pci

sudo modprobe ath10k_pci

sudo service network-manager start


If that did not work, you missed something. It definitely worked for me. I can also see this with the command



iwconfig wlp1s0


You have to replace "wlps0" with your name of the wifi. It is more often wlan0.



You should see something like:



Link Quality=37/70  Signal level=-73 dBm 


This is not very good, but 37 and 70 was lower before. And the signal level gets better if I go closer to my wifi router.



Good luck!










share|improve this question







New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is the question?

    – Pilot6
    10 hours ago






  • 1





    sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

    – heynnema
    9 hours ago











  • This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

    – pomsky
    2 hours ago


















-1















I had this problem with 2 different laptops with 18.04 Ubuntu. Wifi is working normal, until I want to connect a bluetooth speaker then it is hanging. SO I cannot listen to music with a bluetoot speaker from the internet. There are several topics on this, but I needed a full day to figure out what is the solution, so I describe it here with proper, but simple explanation. Because quite often you just find a command, and do not know what the hell is that doing.



The key is that your bluetooth and wifi is disturbing each other, because they operate on similar frequencies. The solution is that there is a setting that helps to resolve this, and this is to switch on a certain mode called "bt_coex_active".



First, how to find out what wifi adapter you have?



lshw -C network


I get this:



b@Lenovo-ideapad-330S:~$ lshw -C network
ATTENTION: ce programme devrait être lancé en tant que super-utilisateur.
*-network
description: Interface réseau sans fil
produit: QCA9377 802.11ac Wireless Network Adapter
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: wlp1s0
version: 31
numéro de série: 50:5b:c2:fe:e7:6b
bits: 64 bits
horloge: 33MHz
fonctionnalités: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-45-generic firmware=WLAN.TF.1.0-00002-QCATFSWPZ-5 ip=192.168.178.29 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:126 mémoire:b1000000-b11fffff


That is how I know, my driver is ath10k_pci. I am sure, the same solution works for ath9k too, about other adapters I am not sure.



Now, the solution is simply to go to the folder /etc/modprobe.d and create a settings for this driver. I think, the filename is not important, but it is better, if it has thaóe same name as your driver, with a "conf extension". In my case ath10k_pci.conf.



I find it the easiest to use gedit and save the file there from the editor. But, because this folder is protected, you need for this the "sudo" command.



So:



cd /etc/modprobe.d/


Then:



sudo gedit


This asks for your password, as sudo always does.



In the text editor you put this:



options ath10k_pci bt_coex_active=Y


It is important that you put your driver name. Also the "Y" is important. You can find on the internet many "solutions" with "1", that does not work.



Then you save the file as ath10k_pci.conf.



After reboot this will work.



If you do not want to wait for the reboot, but try it out, you need to reset modprobe and restart bluetooth ser



vice:

sudo service network-manager stop

sudo modprobe -rfv ath10k_pci

sudo modprobe ath10k_pci

sudo service network-manager start


If that did not work, you missed something. It definitely worked for me. I can also see this with the command



iwconfig wlp1s0


You have to replace "wlps0" with your name of the wifi. It is more often wlan0.



You should see something like:



Link Quality=37/70  Signal level=-73 dBm 


This is not very good, but 37 and 70 was lower before. And the signal level gets better if I go closer to my wifi router.



Good luck!










share|improve this question







New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is the question?

    – Pilot6
    10 hours ago






  • 1





    sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

    – heynnema
    9 hours ago











  • This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

    – pomsky
    2 hours ago
















-1












-1








-1








I had this problem with 2 different laptops with 18.04 Ubuntu. Wifi is working normal, until I want to connect a bluetooth speaker then it is hanging. SO I cannot listen to music with a bluetoot speaker from the internet. There are several topics on this, but I needed a full day to figure out what is the solution, so I describe it here with proper, but simple explanation. Because quite often you just find a command, and do not know what the hell is that doing.



The key is that your bluetooth and wifi is disturbing each other, because they operate on similar frequencies. The solution is that there is a setting that helps to resolve this, and this is to switch on a certain mode called "bt_coex_active".



First, how to find out what wifi adapter you have?



lshw -C network


I get this:



b@Lenovo-ideapad-330S:~$ lshw -C network
ATTENTION: ce programme devrait être lancé en tant que super-utilisateur.
*-network
description: Interface réseau sans fil
produit: QCA9377 802.11ac Wireless Network Adapter
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: wlp1s0
version: 31
numéro de série: 50:5b:c2:fe:e7:6b
bits: 64 bits
horloge: 33MHz
fonctionnalités: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-45-generic firmware=WLAN.TF.1.0-00002-QCATFSWPZ-5 ip=192.168.178.29 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:126 mémoire:b1000000-b11fffff


That is how I know, my driver is ath10k_pci. I am sure, the same solution works for ath9k too, about other adapters I am not sure.



Now, the solution is simply to go to the folder /etc/modprobe.d and create a settings for this driver. I think, the filename is not important, but it is better, if it has thaóe same name as your driver, with a "conf extension". In my case ath10k_pci.conf.



I find it the easiest to use gedit and save the file there from the editor. But, because this folder is protected, you need for this the "sudo" command.



So:



cd /etc/modprobe.d/


Then:



sudo gedit


This asks for your password, as sudo always does.



In the text editor you put this:



options ath10k_pci bt_coex_active=Y


It is important that you put your driver name. Also the "Y" is important. You can find on the internet many "solutions" with "1", that does not work.



Then you save the file as ath10k_pci.conf.



After reboot this will work.



If you do not want to wait for the reboot, but try it out, you need to reset modprobe and restart bluetooth ser



vice:

sudo service network-manager stop

sudo modprobe -rfv ath10k_pci

sudo modprobe ath10k_pci

sudo service network-manager start


If that did not work, you missed something. It definitely worked for me. I can also see this with the command



iwconfig wlp1s0


You have to replace "wlps0" with your name of the wifi. It is more often wlan0.



You should see something like:



Link Quality=37/70  Signal level=-73 dBm 


This is not very good, but 37 and 70 was lower before. And the signal level gets better if I go closer to my wifi router.



Good luck!










share|improve this question







New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I had this problem with 2 different laptops with 18.04 Ubuntu. Wifi is working normal, until I want to connect a bluetooth speaker then it is hanging. SO I cannot listen to music with a bluetoot speaker from the internet. There are several topics on this, but I needed a full day to figure out what is the solution, so I describe it here with proper, but simple explanation. Because quite often you just find a command, and do not know what the hell is that doing.



The key is that your bluetooth and wifi is disturbing each other, because they operate on similar frequencies. The solution is that there is a setting that helps to resolve this, and this is to switch on a certain mode called "bt_coex_active".



First, how to find out what wifi adapter you have?



lshw -C network


I get this:



b@Lenovo-ideapad-330S:~$ lshw -C network
ATTENTION: ce programme devrait être lancé en tant que super-utilisateur.
*-network
description: Interface réseau sans fil
produit: QCA9377 802.11ac Wireless Network Adapter
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: wlp1s0
version: 31
numéro de série: 50:5b:c2:fe:e7:6b
bits: 64 bits
horloge: 33MHz
fonctionnalités: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-45-generic firmware=WLAN.TF.1.0-00002-QCATFSWPZ-5 ip=192.168.178.29 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:126 mémoire:b1000000-b11fffff


That is how I know, my driver is ath10k_pci. I am sure, the same solution works for ath9k too, about other adapters I am not sure.



Now, the solution is simply to go to the folder /etc/modprobe.d and create a settings for this driver. I think, the filename is not important, but it is better, if it has thaóe same name as your driver, with a "conf extension". In my case ath10k_pci.conf.



I find it the easiest to use gedit and save the file there from the editor. But, because this folder is protected, you need for this the "sudo" command.



So:



cd /etc/modprobe.d/


Then:



sudo gedit


This asks for your password, as sudo always does.



In the text editor you put this:



options ath10k_pci bt_coex_active=Y


It is important that you put your driver name. Also the "Y" is important. You can find on the internet many "solutions" with "1", that does not work.



Then you save the file as ath10k_pci.conf.



After reboot this will work.



If you do not want to wait for the reboot, but try it out, you need to reset modprobe and restart bluetooth ser



vice:

sudo service network-manager stop

sudo modprobe -rfv ath10k_pci

sudo modprobe ath10k_pci

sudo service network-manager start


If that did not work, you missed something. It definitely worked for me. I can also see this with the command



iwconfig wlp1s0


You have to replace "wlps0" with your name of the wifi. It is more often wlan0.



You should see something like:



Link Quality=37/70  Signal level=-73 dBm 


This is not very good, but 37 and 70 was lower before. And the signal level gets better if I go closer to my wifi router.



Good luck!







wireless 18.04 bluetooth atheros modprobe






share|improve this question







New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 10 hours ago









mathmath

1




1




New contributor




math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






math is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What is the question?

    – Pilot6
    10 hours ago






  • 1





    sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

    – heynnema
    9 hours ago











  • This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

    – pomsky
    2 hours ago





















  • What is the question?

    – Pilot6
    10 hours ago






  • 1





    sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

    – heynnema
    9 hours ago











  • This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

    – pomsky
    2 hours ago



















What is the question?

– Pilot6
10 hours ago





What is the question?

– Pilot6
10 hours ago




1




1





sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

– heynnema
9 hours ago





sudo gedit should be sudo -H gedit, unless you wish to create a looping login problem.

– heynnema
9 hours ago













This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

– pomsky
2 hours ago







This is and question-&-answer site, it does not support a post written like a blog. So please edit your question and remove the solution part from the question and ask a proper question. Then then post the solution as an answer below below by clicking the 'Answer your question' button.

– pomsky
2 hours ago












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






math is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122817%2fwifi-is-slowing-down-when-bluetooth-is-active%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








math is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















math is a new contributor. Be nice, and check out our Code of Conduct.













math is a new contributor. Be nice, and check out our Code of Conduct.












math is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122817%2fwifi-is-slowing-down-when-bluetooth-is-active%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

日野市

Tu-95轟炸機