Return-path: Received: from mail-ea0-f174.google.com ([209.85.215.174]:52484 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751426Ab2KTLUJ (ORCPT ); Tue, 20 Nov 2012 06:20:09 -0500 Received: by mail-ea0-f174.google.com with SMTP id e13so2346757eaa.19 for ; Tue, 20 Nov 2012 03:20:08 -0800 (PST) From: Eliad Peller To: Luciano Coelho Cc: Subject: [PATCH v2 00/11] wlcore: prepare to multi-channel Date: Tue, 20 Nov 2012 13:20:00 +0200 Message-Id: <1353410411-18833-1-git-send-email-eliad@wizery.com> (sfid-20121120_122014_422455_51510C0D) Sender: linux-wireless-owner@vger.kernel.org List-ID: Make the connection flow simpler by using only the sta role (i.e. no need for dev role). This is possible now, as we know the AP's BSSID even before authentication. This means we no longer start dev role when the device is non-idle, so now we use the .remain_on_channel() and start device role only then. Finally, implement the chanctx callbacks in order to have a clear per-vif channel (instead of the global hw->channel) (this patchset depends on "mac80211: make remain_on_channel() op pass vif param") v2: fix some issues pointed out by Arik/Luca (thanks!) squash some patches together (thanks Johannes and Julian!) Eliad Peller (11): wlcore: start sta role on CHANGED_BSSID wlcore: workaround start_sta problem in wl12xx fw wlcore: implement .remain_on_channel() callback wlcore: get channel from bss_conf instead of hw->conf wlcore: add chanctx implementation wlcore: initiate ROC/CROC on sta state updates wlcore: set active psm on association wlcore: specify correct supported_rates wlcore: reconfigure rate policy on association wlcore: refactor CHANGED_HT handling wlcore: configure the remote rates with our own rates drivers/net/wireless/ti/wl12xx/main.c | 9 +- drivers/net/wireless/ti/wlcore/cmd.c | 60 ++- drivers/net/wireless/ti/wlcore/cmd.h | 6 +- drivers/net/wireless/ti/wlcore/conf.h | 4 +- drivers/net/wireless/ti/wlcore/event.c | 7 + drivers/net/wireless/ti/wlcore/init.c | 2 +- drivers/net/wireless/ti/wlcore/main.c | 867 ++++++++++++++++++------------- drivers/net/wireless/ti/wlcore/tx.c | 14 +- drivers/net/wireless/ti/wlcore/wlcore.h | 6 + 9 files changed, 578 insertions(+), 397 deletions(-) -- 1.7.6.401.g6a319