All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ath6kl: Indicate the roaming capability of the firmware
@ 2011-09-19  7:59 Vivek Natarajan
  2011-09-22  7:38 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Vivek Natarajan @ 2011-09-19  7:59 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless

When the rssi of the current AP drops, both wpa_supplicant and the
firmware may do a background scan to find a better AP and try to
associate. This might lead to a race condition where both may try
to connect to some AP based on their scan results.

Since the firmware is capable of handling roaming, let
wpa_supplicant know about this capability so that it will back off
from bgscan based roaming.

Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath6kl/init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 1834e9a..9a418f1 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1489,6 +1489,8 @@ static int ath6kl_init(struct net_device *dev)
 	ar->conf_flags = ATH6KL_CONF_IGNORE_ERP_BARKER |
 			 ATH6KL_CONF_ENABLE_11N | ATH6KL_CONF_ENABLE_TX_BURST;
 
+	ar->wdev->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM;
+
 	status = ath6kl_target_config_wlan_params(ar);
 	if (!status)
 		goto ath6kl_init_done;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ath6kl: Indicate the roaming capability of the firmware
  2011-09-19  7:59 [PATCH v2] ath6kl: Indicate the roaming capability of the firmware Vivek Natarajan
@ 2011-09-22  7:38 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2011-09-22  7:38 UTC (permalink / raw)
  To: Vivek Natarajan; +Cc: linux-wireless

On 09/19/2011 10:59 AM, Vivek Natarajan wrote:
> When the rssi of the current AP drops, both wpa_supplicant and the
> firmware may do a background scan to find a better AP and try to
> associate. This might lead to a race condition where both may try
> to connect to some AP based on their scan results.
> 
> Since the firmware is capable of handling roaming, let
> wpa_supplicant know about this capability so that it will back off
> from bgscan based roaming.

Thanks, applied.

Kalle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-22  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-19  7:59 [PATCH v2] ath6kl: Indicate the roaming capability of the firmware Vivek Natarajan
2011-09-22  7:38 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.