Re: [PATCH] mwifiex: toggle carrier state in start_ap/stop_ap.

2015-10-20 Thread Avinash Patil
Hello Marty, On Mon, Oct 19, 2015 at 11:49 AM, Marty Faltesek wrote: > > In uap mode the carrier is not enabled until after the first STA joins. > The carrier triggers the bridge to start its state machine, and if STP > is enabled, it takes 4 seconds as it transitions from

Re: [PATCH] mwifiex: drop condition with no effect

2015-07-08 Thread Avinash Patil
Hi Nicholas, On Wed, Jul 8, 2015 at 7:15 AM, Nicholas Mc Guire hof...@osadl.org wrote: scanning for trivial bug-patters with coccinelle spatches returned: ./drivers/net/wireless/mwifiex/sta_cmdresp.c:895 WARNING: condition with no effect (if branch == else) originally added in

[PATCH] MAINTAINERS: update for mwifiex driver maintainers

2015-06-23 Thread Avinash Patil
Amit Nishant would be taking care of maintaining mwifiex driver here onwards on account of organizational changes. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Amitkumar Karwar akar...@marvell.com Signed-off-by: Nishant Sarmukadam nisha...@marvell.com Signed-off-by: Cathy Luo c

[PATCH 10/17] mwifiex: update domain_info upon band change in start_ap

2015-06-22 Thread Avinash Patil
if domain remains unchanged but band is changed. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- drivers/net/wireless/mwifiex/main.h | 2 ++ drivers/net/wireless/mwifiex/uap_cmd.c | 7 ++- 3 files changed, 9 insertions(+), 2 deletions

[PATCH 14/17] mwifiex: support to set multichannel policy to FW

2015-06-22 Thread Avinash Patil
This patch adds support for setting multichannel policy as module parameter to FW. Value of 1 indicates Multichannel support is enabled and value of 0 disables it. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 8 drivers/net/wireless

[PATCH 09/17] mwifiex: add cfg80211 tdls channel switch handler

2015-06-22 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 tdls_chan_switch and tdls_cancel_chan_switch handler. With this handlers, mwifiex would support TDLS channel switch feature. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil

[PATCH 12/17] mwifiex: enable traffic only when port is open

2015-06-22 Thread Avinash Patil
This patch adds support to enable data traffic only when port is open. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/init.c| 2 +- drivers/net/wireless/mwifiex/join.c| 2 ++ drivers/net/wireless/mwifiex/main.h| 1 + drivers/net/wireless

[PATCH 17/17] mwifiex: handle multichannel event

2015-06-22 Thread Avinash Patil
This patch adds support to handle multichannel event from FW. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h| 8 drivers/net/wireless/mwifiex/main.h | 2 ++ drivers/net/wireless/mwifiex/sta_event.c | 30

[PATCH 16/17] mwifiex: separate interface combination for multichannel and DFS

2015-06-22 Thread Avinash Patil
. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index bc863e9..93e40d0 100644

[PATCH 05/17] mwifiex: process tdls channel switch event

2015-06-22 Thread Avinash Patil
channel, we unblock TDLS peer RA lists. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h| 17 +- drivers/net/wireless/mwifiex/sta_event.c | 54

[PATCH 04/17] mwifiex: add tdls channel switch status

2015-06-22 Thread Avinash Patil
...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/decl.h | 3 ++ drivers/net/wireless/mwifiex/main.c | 14 +++-- drivers/net/wireless/mwifiex/main.h | 3 ++ drivers/net/wireless/mwifiex/util.c | 59

[PATCH 00/17] mwifiex: multichannel TDLS channel switch support

2015-06-22 Thread Avinash Patil
or interfaces. This in turn enables us to support multichannel operation and TDLS channel switch feature. Avinash Patil (9): mwifiex: add tx data pause support mwifiex: update domain_info upon band change in start_ap mwifiex: support for bypass tx queue mwifiex: enable traffic only when port

[PATCH 07/17] mwifiex: enable tdls channel switch ext_cap

2015-06-22 Thread Avinash Patil
...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/tdls.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/mwifiex/tdls.c b/drivers/net/wireless/mwifiex/tdls.c index 03eabd7..f862ca6 100644 --- a/drivers/net/wireless/mwifiex

[PATCH 15/17] mwifiex: advertise multichannel support to cfg80211

2015-06-22 Thread Avinash Patil
This patch adds support to advetise mwifiex multichannel support to cfg80211. If module parameter drcs is enabled and FW supports multichannel operation we advertise this support to cfg80211. As of now 2 simultaneous channels are supported. Signed-off-by: Avinash Patil pat...@marvell.com

[PATCH 11/17] mwifiex: support for bypass tx queue

2015-06-22 Thread Avinash Patil
This patch adds support for another TX queue in driver- bypass TX queue. This queue is used for sending data/mgmt packets while in disconnected state i.e. when port is yet not unblocked. TDLS setup packets would also be queued in this queue. Signed-off-by: Avinash Patil pat...@marvell.com

[PATCH 13/17] mwifiex: extend tx_data pause to AP interface as well

2015-06-22 Thread Avinash Patil
This patch adds support to extend TX Data pause for AP intefaces. Also for station role, support for pausing/unpausing all traffic when mac address parameter is BSSID is added. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/main.h | 2 + drivers/net

[PATCH 01/17] mwifiex: add tx data pause support

2015-06-22 Thread Avinash Patil
This patch adds support to enable TX data pause feature for mwifiex. Whenever FW TX buffers reach threshold, FW would send TX pause event to driver. Driver in turn would block data traffic to that particular receiver address. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinming

[PATCH 02/17] mwifiex: block data traffic to tx paused receive address

2015-06-22 Thread Avinash Patil
From: Xinming Hu h...@marvell.com Data traffic to tx paused receive address should be blocked. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/wmm.c | 3 ++- 1 file changed, 2

[PATCH 2/2] mwifiex: update current config_band info in start_ap

2015-06-04 Thread Avinash Patil
It was observed that AP beacons would not reflect correct regulatory information upon starting AP in A band. This was because of missing AP config band update in set_channel of start_ap. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 2 ++ 1 file

[PATCH 1/2] mwifiex: change debug dump issue since skb maybe null

2015-06-04 Thread Avinash Patil
-by: Zhaoyang Liu li...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cmdevt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mwifiex/cmdevt.c b/drivers/net/wireless/mwifiex/cmdevt.c index a51feac..207da40 100644

[PATCHv5 06/17] mwifiex: disable CAC upon radar detection event

2015-06-03 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h

[PATCHv5 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-06-03 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion

[PATCHv5 01/17] mwifiex: verbose logging for association failure messages

2015-06-03 Thread Avinash Patil
This patch adds more detailed information about association failures - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30

[PATCHv5 16/17] mwifiex: using right tid for addressing ra_list

2015-06-03 Thread Avinash Patil
Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11n.c | 11 --- drivers/net/wireless/mwifiex/11n_rxreorder.c | 5 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/11n.c b

[PATCHv5 09/17] mwifiex: add sta_list firmware command

2015-06-03 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv5 07/17] mwifiex: add cfg80211 get_channel handler

2015-06-03 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat

[PATCHv5 10/17] mwifiex: dump station support in uap mode

2015-06-03 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net

[PATCHv5 13/17] mwifiex: drop block-ack action frames

2015-06-03 Thread Avinash Patil
We often see ADDBA request packets coming to driver because driver has registered for action frame subtype. We dont process BA action frames in host; drop such frames. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinmin Hu h...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv5 15/17] mwifiex: update AP WMM settings from BSS_START event

2015-06-03 Thread Avinash Patil
This was missing and would cause issue in WMM handling. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_event.c | 63 1 file changed, 63 insertions(+) diff --git a/drivers/net

RE: [PATCHv4 00/17] mwifiex patches

2015-06-02 Thread Avinash Patil
-Original Message- From: Kalle Valo [mailto:kv...@codeaurora.org] Sent: Tuesday, June 02, 2015 7:10 PM To: Avinash Patil Cc: linux-wireless@vger.kernel.org; Amitkumar Karwar; Cathy Luo; Xinming Hu Subject: Re: [PATCHv4 00/17] mwifiex patches Avinash Patil pat...@marvell.com

[PATCHv4 10/17] mwifiex: dump station support in uap mode

2015-06-01 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net

[PATCHv4 08/17] mwifiex: maintain station statistic in uap mode

2015-06-01 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off

[PATCHv4 11/17] mwifiex: parse power constraint IE from Tail

2015-06-01 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++ drivers/net

[PATCHv4 02/17] mwifiex: correct bss_type assignment

2015-06-01 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions

[PATCHv4 00/17] mwifiex patches

2015-06-01 Thread Avinash Patil
in this series. Avinash Patil (11): mwifiex: verbose logging for association failure messages mwifiex: correct bss_type assignment mwifiex: support AP reset after bss_stop mwifiex: enable 11d after bss reset mwifiex: reset 11h active flag when chandef does not require dfs mwifiex: disable

[PATCHv4 03/17] mwifiex: support AP reset after bss_stop

2015-06-01 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers

[PATCHv4 04/17] mwifiex: enable 11d after bss reset

2015-06-01 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions

[PATCHv4 01/17] mwifiex: verbose logging for association failure messages

2015-06-01 Thread Avinash Patil
This patch adds more detailed information about association failures - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Reviewed-by: Joe Perches j...@perches.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net

[PATCHv4 06/17] mwifiex: disable CAC upon radar detection event

2015-06-01 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h

[PATCHv4 07/17] mwifiex: add cfg80211 get_channel handler

2015-06-01 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat

[PATCHv4 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-06-01 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion

[PATCHv4 16/17] mwifiex: using right tid for addressing ra_list

2015-06-01 Thread Avinash Patil
Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11n.c | 11 --- drivers/net/wireless/mwifiex/11n_rxreorder.c | 5 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/11n.c b

[PATCHv4 13/17] mwifiex: drop block-ack action frames

2015-06-01 Thread Avinash Patil
We often see ADDBA request packets coming to driver because driver has registered for action frame subtype. We dont process BA action frames in host; drop such frames. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinmin Hu h...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv4 15/17] mwifiex: update AP WMM settings from BSS_START event

2015-06-01 Thread Avinash Patil
This was missing and would cause issue in WMM handling. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_event.c | 63 1 file changed, 63 insertions(+) diff --git a/drivers/net

[PATCHv4 09/17] mwifiex: add sta_list firmware command

2015-06-01 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv4 12/17] mwifiex: support downloading IEs from tail

2015-06-01 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCHv4 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-06-01 Thread Avinash Patil
-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/txrx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless

[PATCHv3 01/16] mwifiex: verbose logging for association failure messages

2015-05-29 Thread Avinash Patil
This patch adds more detailed information about association failures - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30

[PATCHv3 03/16] mwifiex: support AP reset after bss_stop

2015-05-29 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers

[PATCHv3 00/17] mwifiex patches

2015-05-29 Thread Avinash Patil
in this series. Patch series also includes some other misc patches. Avinash Patil (11): mwifiex: verbose logging for association failure messages mwifiex: correct bss_type assignment mwifiex: support AP reset after bss_stop mwifiex: enable 11d after bss reset mwifiex: reset 11h active flag

[PATCHv3 02/16] mwifiex: correct bss_type assignment

2015-05-29 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions

[PATCHv3 04/16] mwifiex: enable 11d after bss reset

2015-05-29 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions

[PATCHv3 14/16] mwifiex: advertise PS ON by default support to cfg80211

2015-05-29 Thread Avinash Patil
This would enable driver to enter powersave as soon as connected. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless

[PATCHv3 15/16] mwifiex: update AP WMM settings from BSS_START event

2015-05-29 Thread Avinash Patil
This was missing and would cause issue in WMM handling. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_event.c | 63 1 file changed, 63 insertions(+) diff --git a/drivers/net

[PATCHv3 16/16] mwifiex: using right tid for addressing ra_list

2015-05-29 Thread Avinash Patil
Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11n.c | 11 --- drivers/net/wireless/mwifiex/11n_rxreorder.c | 5 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/11n.c b

[PATCHv3 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-05-29 Thread Avinash Patil
-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/txrx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless

[PATCHv3 13/16] mwifiex: drop block-ack action frames

2015-05-29 Thread Avinash Patil
We often see ADDBA request packets coming to driver because driver has registered for action frame subtype. We dont process BA action frames in host. Drop such frames. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinmin Hu h...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv3 12/16] mwifiex: support downloading IEs from tail

2015-05-29 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCHv3 08/16] mwifiex: maintain station statistic in uap mode

2015-05-29 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off

[PATCHv3 11/16] mwifiex: parse power constraint IE from Tail

2015-05-29 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++ drivers/net

[PATCHv3 05/16] mwifiex: reset 11h active flag when chandef does not require dfs

2015-05-29 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion

[PATCHv3 07/16] mwifiex: add cfg80211 get_channel handler

2015-05-29 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat

[PATCHv3 06/16] mwifiex: disable CAC upon radar detection event

2015-05-29 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h

[PATCHv3 10/16] mwifiex: dump station support in uap mode

2015-05-29 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net

[PATCHv3 09/16] mwifiex: add sta_list firmware command

2015-05-29 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c

Re: [PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-29 Thread Avinash Patil
On Thu, 2015-05-28 at 11:27 -0700, Joe Perches wrote: On Thu, 2015-05-28 at 18:27 +0530, Avinash Patil wrote: This patch adds more logging support for association failure - reason and states. [] diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h

RE: [PATCHv3 09/16] mwifiex: add sta_list firmware command

2015-05-29 Thread Avinash Patil
-Original Message- From: Bjørn Mork [mailto:bj...@mork.no] Sent: Friday, May 29, 2015 5:36 PM To: Avinash Patil Cc: linux-wireless@vger.kernel.org; Amitkumar Karwar; Cathy Luo; Xinming Hu Subject: Re: [PATCHv3 09/16] mwifiex: add sta_list firmware command Avinash Patil pat

[PATCH 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-05-28 Thread Avinash Patil
-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/txrx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless

[PATCH 16/17] mwifiex: using right tid for addressing ra_list

2015-05-28 Thread Avinash Patil
Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11n.c | 11 --- drivers/net/wireless/mwifiex/11n_rxreorder.c | 5 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/11n.c b

[PATCH 08/17] mwifiex: maintain station statistic in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off

[PATCH 07/17] mwifiex: add cfg80211 get_channel handler

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat

[PATCH 12/17] mwifiex: support downloading IEs from tail

2015-05-28 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCH 13/17] mwifiex: drop block-ack action frames

2015-05-28 Thread Avinash Patil
We often see ADDBA request packets coming to driver because driver has registered for action frame subtype. We dont process BA action frames in host. Drop such frames. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinmin Hu h...@marvell.com Signed-off-by: Cathy Luo c

[PATCH 06/17] mwifiex: disable CAC upon radar detection event

2015-05-28 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h | 2 ++ 2 files changed, 28 insertions

[PATCH 10/17] mwifiex: dump station support in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net

[PATCH 11/17] mwifiex: parse power constraint IE from Tail

2015-05-28 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++ drivers/net

[PATCH 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-05-28 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

[PATCH 09/17] mwifiex: add sta_list firmware command

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c

[PATCH 04/17] mwifiex: enable 11d after bss reset

2015-05-28 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/wireless/mwifiex

[PATCH 14/17] mwifiex: advertise PS ON by default support to cfg80211

2015-05-28 Thread Avinash Patil
This would enable driver to enter powersave as soon as connected. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless

[PATCH 15/17] mwifiex: update AP WMM settings from BSS_START event

2015-05-28 Thread Avinash Patil
This was missing and would cause issue in WMM handling. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_event.c | 63 1 file changed, 63 insertions(+) diff --git a/drivers/net

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40 insertions

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCHv2 08/17] mwifiex: maintain station statistic in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off

[PATCHv2 09/17] mwifiex: add sta_list firmware command

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c

[PATCHv2 10/17] mwifiex: dump station support in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net

[PATCH 04/17] mwifiex: enable 11d after bss reset

2015-05-28 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/wireless/mwifiex

[PATCHv2 14/17] mwifiex: advertise PS ON by default support to cfg80211

2015-05-28 Thread Avinash Patil
This would enable driver to enter powersave as soon as connected. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40 insertions

[PATCHv2 06/17] mwifiex: disable CAC upon radar detection event

2015-05-28 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h | 2 ++ 2 files changed, 28 insertions

[PATCHv2 07/17] mwifiex: add cfg80211 get_channel handler

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat

[PATCHv2 12/17] mwifiex: support downloading IEs from tail

2015-05-28 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCHv2 11/17] mwifiex: parse power constraint IE from Tail

2015-05-28 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++ drivers/net

[PATCHv2 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-05-28 Thread Avinash Patil
-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/txrx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless

[PATCHv2 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-05-28 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40 insertions

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40 insertions

[PATCH 03/17] mwifiex: support AP reset after bss_stop

2015-05-28 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers/net/wireless/mwifiex/fw.h | 1

  1   2   3   >