Re: Regression in 3.9 caused by "bridge: respect RFC2863 operational state"

2015-12-03 Thread YanBo
? Currently the only workaround is make the 4-address AP and STA associated in security mode firstly and then create the bridge, the renew key configuration also need be disable at the hostapd side to avoid renew the key at bridge status. Thanks Yanbo > On Wed, May 1, 2013 at 5:53 PM, Felix Fietkau

RE: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-11-20 Thread Li, Yanbo
> -Original Message- > From: Shajakhan, Mohammed Shafi (Mohammed Shafi) > Sent: Friday, November 20, 2015 5:32 AM > To: Valo, Kalle > Cc: Li, Yanbo; linux-wireless@vger.kernel.org; ath...@lists.infradead.org > Subject: Re: [PATCH] ath10k: Adjust the RX packet pad

[PATCH] ath10k: Fix the wrong RX rate idx report at 11G mode

2015-11-12 Thread Yanbo Li
The RX rate idx is not correctly for 11G mode OFDM packet. Because the bitrate table start with CCK index instead of OFDM. Signed-off-by: Yanbo Li <yan...@qca.qualcomm.com> diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 6060dd

RE: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-10-23 Thread Li, Yanbo
> -Original Message- > From: Valo, Kalle > Sent: Thursday, October 22, 2015 10:25 PM > To: Li, Yanbo > Cc: dreamfly...@gmail.com; ath...@lists.infradead.org; linux- > wirel...@vger.kernel.org > Subject: Re: [PATCH] ath10k: Adjust the RX packet pad offset at

[PATCH V4] ath10k: Debugfs entry to enable/disable WLAN Coexist feature

2015-10-23 Thread Yanbo Li
e. The FW support this feature since 10.2.4.54 on 2G-only board, dual band or 5G boards don't support the feature To enable this feature, execute: echo 1 > /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature To disable: echo 0 > /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature Signed-

[PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-10-22 Thread Yanbo Li
The QCA99X0 4 addresses RX packets pad 2 bytes at the beginning of MSDU instead the end of ieee80211 header to keep align. The currently RX data path can't parse the header correctly in this case. This patch fixes it for QCA99X0 Signed-off-by: Yanbo Li <yan...@qca.qualcomm.com> diff

Re: [PATCH] ath10k: Debugfs entry to enable/disable BTC feature

2015-06-09 Thread YanBo
On Mon, Jun 8, 2015 at 6:44 AM, Kalle Valo kv...@qca.qualcomm.com wrote: Li, Yanbo yan...@qca.qualcomm.com writes: -Original Message- From: Valo, Kalle Sent: Wednesday, May 27, 2015 5:57 AM To: Li, Yanbo Cc: dreamfly...@gmail.com; linux-wireless@vger.kernel.org; michal.kaz

[PATCH v3] ath10k: Debugfs entry to enable/disable WLANBlutooth Coexist feature

2015-06-09 Thread Yanbo Li
support this feature since 10.2.4.54 on 2G-only board, dual band or 5G boards don't support the feature To enable this feature, execute: echo 1 /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature To disable: echo 0 /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature Signed-off-by: Yanbo Li yan

Re: [PATCH] ath10k: Fix survey information reporting

2015-06-05 Thread YanBo
behaviour? It should be match with ath9k, but the ath10k doesn't accumulate the survey count at currently code, I drafted a patch to fix this issue, will send to public mailist soon. BR /Yanbo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord

Re: [PATCH] ath10k: Fix survey information reporting

2015-06-05 Thread YanBo
On Fri, Jun 5, 2015 at 12:22 PM, Ben Greear gree...@candelatech.com wrote: On 06/05/2015 12:10 PM, YanBo wrote: On Fri, Jun 5, 2015 at 10:14 AM, Ben Greear gree...@candelatech.com wrote: I applied these and some other related patches to my hacked-upon 4.0.4, but I am seeing some

Re: [PATCH] ath10k: Fix survey information reporting

2015-06-05 Thread YanBo
On Fri, Jun 5, 2015 at 2:20 PM, Ben Greear gree...@candelatech.com wrote: On 06/05/2015 02:00 PM, YanBo wrote: On Fri, Jun 5, 2015 at 1:18 PM, Ben Greear gree...@candelatech.com wrote: I think the wrapping might be even more weird that previously suspected. Here is output from my system

Re: [PATCH] ath10k: Fix survey information reporting

2015-06-05 Thread YanBo
hence, it will wrap rapidly with 24 seconds cycle, the new WMI interface will supply these count in 64 bits to avoid such issue. BR /Yanbo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at http

RE: [PATCH v2] ath10k: Debugfs entry to enable/disable WLANBlutooth Coexist feature

2015-06-02 Thread Li, Yanbo
-Original Message- From: Jakub KiciƄski [mailto:moorr...@wp.pl] Sent: Tuesday, June 02, 2015 2:39 AM To: Li, Yanbo Cc: Valo, Kalle; dreamfly...@gmail.com; ath...@lists.infradead.org; linux- wirel...@vger.kernel.org Subject: Re: [PATCH v2] ath10k: Debugfs entry to enable/disable

[PATCH v2] ath10k: Debugfs entry to enable/disable WLANBlutooth Coexist feature

2015-05-28 Thread Yanbo Li
this feature, execute: echo 1 /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature To disable: echo 0 /sys/kernel/debug/ieee80211/phyX/ath10k/btc_feature Signed-off-by: Yanbo Li yan...@qca.qualcomm.com diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h

[PATCH 1/2] ath10k: Add the adjacent wlan radio interference detecting interface

2015-05-28 Thread Yanbo Li
in the scan period, 0 means no interference. These counters will be reset when next round spectral scan be triggered Signed-off-by: Yanbo Li yan...@qca.qualcomm.com --- drivers/net/wireless/ath/ath10k/core.h | 8 drivers/net/wireless/ath/ath10k/debug.c| 65

[PATCH 2/2] ath10k: Ignore the adjacent radio's activity when surveying a channel

2015-05-28 Thread Yanbo Li
the time slot be interfered To check whether the feature is enabled, execute: cat /sys/kernel/debug/ieee80211/phyX/ath10k/adjacent_wlan_interfrc INTERFRC DETECT FOR SURVEY SCAN: Enable/Disable Signed-off-by: Yanbo Li yan...@qca.qualcomm.com --- drivers/net/wireless/ath/ath10k/core.h | 1

RE: [PATCH] ath10k: Debugfs entry to enable/disable BTC feature

2015-05-27 Thread Li, Yanbo
-Original Message- From: Valo, Kalle Sent: Wednesday, May 27, 2015 5:57 AM To: Li, Yanbo Cc: dreamfly...@gmail.com; linux-wireless@vger.kernel.org; michal.kaz...@tieto.com; ath...@lists.infradead.org Subject: Re: [PATCH] ath10k: Debugfs entry to enable/disable BTC feature Yanbo

Re: [RFC 2/2] ath10k: don't disable PS when not connected

2015-04-16 Thread YanBo
On Wed, Apr 15, 2015 at 9:35 PM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 April 2015 at 19:10, YanBo dreamfly...@gmail.com wrote: On Tue, Apr 14, 2015 at 10:00 PM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 April 2015 at 00:45, YanBo dreamfly...@gmail.com wrote

Re: [RFC 2/2] ath10k: don't disable PS when not connected

2015-04-15 Thread YanBo
On Tue, Apr 14, 2015 at 10:00 PM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 April 2015 at 00:45, YanBo dreamfly...@gmail.com wrote: On Mon, Apr 13, 2015 at 12:45 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: Don't disable PS while we are not connected. In other case we

Re: [RFC 2/2] ath10k: don't disable PS when not connected

2015-04-14 Thread YanBo
after we enable the WMI_STA_PS_MODE_ENABLED at Idle status? Is there any effect for TX or RX chain after set it? BR /Yanbo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] ath10k: Change the fw stats access mask

2015-03-30 Thread YanBo
On Mon, Mar 30, 2015 at 6:31 AM, Kalle Valo kv...@qca.qualcomm.com wrote: Yanbo Li yan...@qca.qualcomm.com writes: This fix the regerssion introduced after ath10k_wmi_requests_stats() call to use more stat bits, both the 10.2.X FW and community FW 10.1.X will return time out when access

[PATCH 2/2] ath10k: Enable the BT-coex feature

2015-03-30 Thread Yanbo Li
The new 10.2.4 FW support the BT-coex feature with external BT module, The external BT modules can communicate with it via the GPIO. This patch check the BT-coex capability of the FW and enable it by default. Signed-off-by: Yanbo Li yan...@qca.qualcomm.com diff --git a/drivers/net/wireless/ath

[PATCH 1/2] ath10k: Add the WMI Air Time Fairness service define

2015-03-30 Thread Yanbo Li
Add the FW ATF (Air Time Fairness) service define to keep consistent with 10.2 FW capability Signed-off-by: Yanbo Li yan...@qca.qualcomm.com diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 938e6521776b..a8f39d69eee2 100644 --- a/drivers/net

[PATCH] ath10k: Change the fw stats access mask

2015-03-27 Thread Yanbo Li
. Fixes:d8c7ef6f(ath10k: implement fw stats for wmi-tlv) Signed-off-by: Yanbo Li yan...@qca.qualcomm.com diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index c0e454bb6a8d..e1db4d018e90 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers

Re: [RFTv2 2/5] ath10k: fix wmi-htc tx credit starvation

2015-01-28 Thread YanBo
to solve such kinds of issue. Thanks BR /Yanbo On Wed, Apr 9, 2014 at 3:48 AM, Michal Kazior michal.kaz...@tieto.com wrote: Each WMI management Tx consumes 1 HTC Tx credit and doesn't replenish it until the frame is actually transmitted out of firmware's Tx queues. If associated client

[PATCH] ath10k: Enable the MCS8 and MCS9 at 2.4G band

2015-01-22 Thread Yanbo Li
From: Yanbo Li yan...@qti.qualcomm.com Enable the MCS8 and MCS9 support for 2.4G band, it will use these data rate with other devices having the same capability. Signed-off-by: Yanbo Li yan...@qti.qualcomm.com --- drivers/net/wireless/ath/ath10k/mac.c | 14 -- drivers/net/wireless

Re: DFS CAC time

2014-12-20 Thread YanBo
One correct based on the patch, the 5600 should be change with 5590, or else the channel 128 will be disabled in my testing. + (5490 - 5590 @ 80), (27), DFS, AUTO-BW + (5590 - 5650 @ 40), (27), (60), DFS, AUTO-BW + (5650 - 5710 @ 40), (27), DFS, AUTO-BW BR /Yanbo On Fri

Re: [PATCH] mac80211: check if channels allow 80 MHz for VHT probe requests

2014-11-25 Thread YanBo
the VHT capability IE from probe request frames. FYI, there are some new devices could support the VHT even at 20Mhz band 2.4G mode. BR /Yanbo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] mac80211: check if channels allow 80 MHz for VHT probe requests

2014-11-25 Thread YanBo
On Tue, Nov 25, 2014 at 7:04 PM, Johannes Berg johan...@sipsolutions.net wrote: On Tue, 2014-11-25 at 19:00 +0800, YanBo wrote: On Tue, Nov 25, 2014 at 6:23 PM, Johannes Berg johan...@sipsolutions.net wrote: From: Johannes Berg johannes.b...@intel.com If there are no channels allowing 80

Re: [PATCH] mac80211: check if channels allow 80 MHz for VHT probe requests

2014-11-25 Thread YanBo
On Tue, Nov 25, 2014 at 8:07 PM, Johannes Berg johan...@sipsolutions.net wrote: On Tue, 2014-11-25 at 19:10 +0800, YanBo wrote: We already start the working to support the VHT modulations MCS8 and MCS9 support in 2.4G for ath10k devices, and it used the band-vht_cap = vht_cap to notification

Re: [PATCH] mac80211: check if channels allow 80 MHz for VHT probe requests

2014-11-25 Thread YanBo
On Tue, Nov 25, 2014 at 10:18 PM, Johannes Berg johan...@sipsolutions.net wrote: On Tue, 2014-11-25 at 22:13 +0800, YanBo wrote: But is all of that really the right way? I'm not completely convinced. Except set the flag, the HW itself should support this feature, or else it also doesn't

RE: [PATCH] Add the target register read/write and memory dump debugfs interface

2014-11-20 Thread Li, Yanbo
-Original Message- From: John W. Linville [mailto:linvi...@tuxdriver.com] Sent: Friday, November 21, 2014 3:45 AM To: Li, Yanbo Cc: Valo, Kalle; dreamfly...@gmail.com; michal.kaz...@tieto.com; ath...@lists.infradead.org; linux-wireless@vger.kernel.org Subject: Re: [PATCH] Add

Re: [PATCH v3] Add the target register read/write and memory dump debugfs interface

2014-10-24 Thread YanBo
On Fri, Oct 24, 2014 at 9:57 PM, Kalle Valo kv...@qca.qualcomm.com wrote: Yanbo Li yan...@qti.qualcomm.com writes: The debugfs interface reg_addrreg_val used to read and write the target register. The interface mem_addrmem_val used to dump the targer memory and also can be used

RE: [PATCH v3] ath10k: Add the target register read/write and memory dump debugfs interface

2014-10-21 Thread Li, Yanbo
Hi Michal, Thanks for your comments. answered as below, -Original Message- From: Michal Kazior [mailto:michal.kaz...@tieto.com] Sent: Tuesday, October 21, 2014 2:56 PM To: Li, Yanbo Cc: Valo, Kalle; ath10k-devel; Balasubramanian, Senthil Kumar; dreamfly...@gmail.com; linux-wireless