Re: [ath9k-devel] Atheros QCWB335 / AR9565 / QCA9565 Bluetooth

2014-01-15 Thread Joshua Richenhagen
Goddammit sorry, I found the reason for all this trouble. It is an dual boot windows 8.1 issue. Because windows 8.1 doesn't shutdown properly, instead it goes into some kind of hybrid shutdown state. The firmware file is already loaded into the bluetooth module and that condition can't be handled

Re: [ath9k-devel] Atheros QCWB335 / AR9565 / QCA9565 Bluetooth

2014-01-15 Thread Sujith Manoharan
Joshua Richenhagen wrote: Goddammit sorry, I found the reason for all this trouble. It is an dual boot windows 8.1 issue. Because windows 8.1 doesn't shutdown properly, instead it goes into some kind of hybrid shutdown state. The firmware file is already loaded into the bluetooth module and

Re: [ath9k-devel] Atheros QCWB335 / AR9565 / QCA9565 Bluetooth

2014-01-15 Thread Joshua Richenhagen
Noo, I'm getting crazy! Two reboots later it wasn't working again, now I had to reboot seven times to get it working again. So the Problem is still the same. 2014/1/15 Sujith Manoharan suj...@msujith.org: Joshua Richenhagen wrote: Goddammit sorry, I found the reason for all this

[ath9k-devel] question about common code for ath9k_htc and ath9k

2014-01-15 Thread Oleksij Rempel
Hello all, i was working on one of ath9k_htc bugs and found that it would be already fixed, if it used more parts of ath9k code. Right now i copied it with some driver specific changes. But it is defiantly not long term solution. It will be good to make fallowing functions from ath9k shared with

Re: [ath9k-devel] Atheros QCWB335 / AR9565 / QCA9565 Bluetooth

2014-01-15 Thread Joshua Richenhagen
I did a booting marathon now to see how often it works or not. I did 20 boots, working y or n, here is the result: y y n y n y n n n y n n y n n n n n n y So it worked 7/20 times, its like playing roulette, completely random. In my understanding it can only be a timing or priority issue at

[ath9k-devel] [PATCH 0/5] use one common ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
Most ATH driver use same beacon check. It is worth to place it to the main ATH lib. Oleksij Rempel (5): ath: add common function ath_is_mybeacon ath9k: use ath_is_mybeacon ath9k_htc: use ath_is_mybeacon ath5k: use ath_is_mybeacon carl9170: use ath_is_mybeacon

[ath9k-devel] [PATCH 1/5] ath: add common function ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
this function is used by most ath driver, so it can be moved here. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath.h | 2 ++ drivers/net/wireless/ath/main.c | 11 +++ 2 files changed, 13 insertions(+) diff --git a/drivers/net/wireless/ath/ath.h

[ath9k-devel] [PATCH 3/5] ath9k_htc: use ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index b41e008..12e0f32

[ath9k-devel] [PATCH 2/5] ath9k: use ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
This patch will also change behavior of rx_beacons statistic. Instead of collecting all received beacons, it will collect only ours. This, IMO make more sense, since for troubleshooting we will need to know count of our beacons, or both. Signed-off-by: Oleksij Rempel li...@rempel-privat.de ---

Re: [ath9k-devel] [PATCH 1/5] ath: add common function ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
Am 15.01.2014 17:10, schrieb Antonio Quartulli: On 15/01/14 17:07, Oleksij Rempel wrote: this function is used by most ath driver, so it can be moved here. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath.h | 2 ++ drivers/net/wireless/ath/main.c | 11

[ath9k-devel] [PATCH 4/5] ath5k: use ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath5k/base.c | 33 - 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index

[ath9k-devel] [PATCH 5/5] carl9170: use ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/carl9170/rx.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c index 1b1b207..536bc46a 100644 ---

[ath9k-devel] [PATCH v2 1/5] ath: add common function ath_is_mybeacon

2014-01-15 Thread Oleksij Rempel
this function is used by most ath driver, so it can be moved here. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath.h | 2 ++ drivers/net/wireless/ath/main.c | 8 2 files changed, 10 insertions(+) diff --git a/drivers/net/wireless/ath/ath.h