[PATCH] wcn36xx: Set BTLE coexistence related configuration values to defaults

2017-11-12 Thread Ramon Fried
having a too high value for WLAN means that BLE performance degrades. The "sweet" point of roughly half of the maximal values was empirically found to achieve a balance between BLE and Wi-Fi coexistence performance. Signed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-of

[PATCH] wcn36xx: Set BTLE coexistence related configuration values to defaults

2017-11-12 Thread Ramon Fried
From: Eyal Ilsar <eil...@codeaurora.org> Signed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- drivers/net/wireless/ath/wcn36xx/smd.c | 4 +++- 2 files changed, 4 insertio

[PATCH v3] wcn36xx: Set default BTLE coexistence config

2017-11-13 Thread Ramon Fried
having a too high value for WLAN means that BLE performance degrades. The "sweet" point of roughly half of the maximal values was empirically found to achieve a balance between BLE and Wi-Fi coexistence performance. Signed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-of

[PATCH v4] wcn36xx: Set default BTLE coexistence config

2017-11-16 Thread Ramon Fried
having a too high value for WLAN means that BLE performance degrades. The "sweet" point of roughly half of the maximal values was empirically found to achieve a balance between BLE and Wi-Fi coexistence performance. Signed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-of

[PATCH v2] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-18 Thread Ramon Fried
ed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-off-by: Ramon Fried <ramon.fr...@linaro.org> --- v2: * check for NULL after kmalloc * don't assign value to ret. drivers/net/wireless/ath/wcn36xx/Makefile | 2 + drivers/net/wireless/ath/wcn36xx/hal.h| 16 ++ dr

Re: [PATCH] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-18 Thread Ramon Fried
On 17 May 2018 at 21:37, Jeff Johnson <jjohn...@codeaurora.org> wrote: > On 2018-05-17 04:32, Ramon Fried wrote: >> >> From: Eyal Ilsar <eil...@codeaurora.org> > > ... >> >> +int wcn36xx_smd_process_ptt_msg(struct wcn36xx *wcn, >> +

[PATCH] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-17 Thread Ramon Fried
ed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-off-by: Ramon Fried <ramon.fr...@linaro.org> --- drivers/net/wireless/ath/wcn36xx/Makefile | 2 + drivers/net/wireless/ath/wcn36xx/hal.h| 16 ++ drivers/net/wireless/ath/wcn36xx/main.c | 3 + drivers/net/wireless

[PATCH v3] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-22 Thread Ramon Fried
ed-off-by: Eyal Ilsar <eil...@codeaurora.org> Signed-off-by: Ramon Fried <ramon.fr...@linaro.org> --- v3: * fixed kbuild warning v2: * check for NULL after kmalloc * don't assign value to ret. drivers/net/wireless/ath/wcn36xx/Makefile | 2 + drivers/net/wireless

[PATCH] wcn36xx: release resources in case of error

2018-01-18 Thread Ramon Fried
wcn36xx_dxe_init() doesn't check for the return value of wcn36xx_dxe_init_descs(). This patch releases the resources in case an error ocurred. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file chang

[PATCH] wcn36xx: release resources in case of error

2018-01-18 Thread Ramon Fried
wcn36xx_dxe_init() doesn't check for the return value of wcn36xx_dxe_init_descs(). This patch releases the resources in case an error ocurred. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file chang

[PATCH] wcn36xx: release resources in case of error

2018-01-18 Thread Ramon Fried
wcn36xx_dxe_init() doesn't check for the return value of wcn36xx_dxe_init_descs(). This patch releases the resources in case an error ocurred. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file chang

[PATCH v2] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> V2: Corrected subject line, this is not a part of a patchset. --- net/qrtr/smd.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 1/6] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- net/qrtr/smd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/qrtr/smd.c b/net/qrtr/smd.c index 50615d5efa

[PATCH v3] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- V2: Corrected subject line, this is not a part of a patchset. V3: Placed the changelog under the ---. net/qrtr/smd

Re: wcn36xx: release resources in case of error

2018-01-23 Thread Ramon Fried
On 1/22/2018 8:14 AM, Kalle Valo wrote: > Ramon Fried <rfr...@codeaurora.org> wrote: > >> wcn36xx_dxe_init() doesn't check for the return value >> of wcn36xx_dxe_init_descs(). >> This patch releases the resources in case an error ocurred. >> >> Signed-

[PATCH v2] wcn36xx: release resources in case of error

2018-01-23 Thread Ramon Fried
wcn36xx_dxe_init() doesn't check for the return value of wcn36xx_dxe_init_descs(). This patch releases the resources in case an error ocurred. Change-Id: I924bd7489b60243c0a0cbaa716caf924f11d7587 Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/dxe.

[PATCH] wcn36xx: Disable 5GHz for wcn3610

2018-03-29 Thread Ramon Fried
wcn3610 can only operate on 2.4GHz band due to RF limitation. If wcn36xx digital block is associated with an external IRIS RF module, retrieve the id and disable 5GHz band in case of wcn3610 id. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- drivers/net/wireless/ath/wcn36xx/main.c

[PATCH v2] wcn36xx: Disable 5GHz for wcn3610

2018-03-29 Thread Ramon Fried
wcn3610 can only operate on 2.4GHz band due to RF limitation. If wcn36xx digital block is associated with an external IRIS RF module, retrieve the id and disable 5GHz band in case of wcn3610 id. Signed-off-by: Ramon Fried <rfr...@codeaurora.org> --- v2: fixed wrong assignment, which is log

Re: [PATCH v2] wcn36xx: Disable 5GHz for wcn3610

2018-03-29 Thread Ramon Fried
(adding Bjorn Andersson) On 3/29/2018 10:15 AM, Kalle Valo wrote: > (adding devicetree list) > > Ramon Fried <rfr...@codeaurora.org> writes: > >> wcn3610 can only operate on 2.4GHz band due to RF limitation. >> If wcn36xx digital block is associated with an extern

Re: [PATCH] wcn36xx: Disable 5GHz for wcn3610

2018-03-29 Thread Ramon Fried
On 3/29/2018 9:58 AM, Rafał Miłecki wrote: > On 03/29/2018 08:20 AM, Ramon Fried wrote: >> wcn3610 can only operate on 2.4GHz band due to RF limitation. >> If wcn36xx digital block is associated with an external IRIS >> RF module, retrieve the id and disable 5GHz band in