Re: [v5 5/8] Bluetooth: btrsi: add new rsi bluetooth driver

2018-01-18 Thread Amitkumar Karwar
Hi Kalle, On Thu, Dec 14, 2017 at 7:52 PM, Amitkumar Karwar wrote: > On Wed, Dec 13, 2017 at 7:16 PM, Marcel Holtmann wrote: >> Hi Amitkumar, >> >>> Redpine bluetooth driver is a thin driver which depends on >>> 'rsi_91x' driver for transmitting and receiving packets >>> to/from device. It creat

[PATCH 09/10] rtlwifi: Add ratr_table for newer IC

2018-01-18 Thread pkshih
From: Ping-Ke Shih New generation ICs will support 11ac, 5G, n-NSS, etc, so we define a set of rate ID. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/wifi.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.

[PATCH 01/10] rtlwifi: btcoex: extend get_wifi_bw to support bandwidth 80M

2018-01-18 Thread pkshih
From: Ping-Ke Shih The rtlwifi newer ICs support 80M bandwidth in 5G band, so extend get_wifi_bw() to know bandwidth 80M that helps btcoex to make correct decisions. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 37 +- .../realtek/rtlw

[PATCH 08/10] rtlwifi: 8822be has to report vht capability to mac80211

2018-01-18 Thread pkshih
From: Ping-Ke Shih 8822be is 2x2 11ac wifi chip, so report VHT capability to mac80211. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/base.c b/drivers/net/wi

[PATCH 10/10] rtlwifi: Add spec_ver to check whether use new rate-id or not

2018-01-18 Thread pkshih
From: Ping-Ke Shih The field spec_ver is IC's specification mask for common code to do proper process to specified IC. This commit add a field new rate ID for new generation IC. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/base.c | 126 +--- driv

[PATCH 03/10] rtlwifi: btcoex: Add variable ant_div_cfg to support antenna diversity

2018-01-18 Thread pkshih
From: Ping-Ke Shih The variable will be used by btcoex of 8822be, so we prepare this variable in advance. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 1 + drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 1 + 2 files changed, 2

[PATCH 07/10] rtlwifi: btcoex: Fix some static warnings from Sparse

2018-01-18 Thread pkshih
From: Ping-Ke Shih Add 'static' or declaration to resolve the warnings. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 36 +++--- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 4 +++ 2 files changed, 15 insertions(+), 25 deletions(-

[PATCH 04/10] rtlwifi: btcoex: add scan_notify within ips_notify if RFON

2018-01-18 Thread pkshih
From: Ping-Ke Shih Three steps of connection procedure are scan, enter/leave IPS, auth. There is no scan between leaving IPS and sending auth, but btcoex use scan as an important clue that indicates user is going to connect. So add scan notifications in ips_notify to correct btcoex's state. Sign

[PATCH 00/10] rtlwifi: add btcoex materials for 8822be

2018-01-18 Thread pkshih
From: Ping-Ke Shih In order to support rtl8822be, btcoex needs more information to control rtl8822be, and common code needs to add more materials as well. Ping-Ke Shih (10): rtlwifi: btcoex: extend get_wifi_bw to support bandwidth 80M rtlwifi: btcoex: Add switch band notify for btc rtlwifi

[PATCH 06/10] rtlwifi: btcoex: add boolean variables dbg_mode

2018-01-18 Thread pkshih
From: Ping-Ke Shih In files halbtc8822b1ant.c and halbtc8822b2ant.c that I will submit later, two undesired directives named BT_8822B_1ANT_COEX_DBG and BT_8822B_2ANT_COEX_DBG will be replaced by boolean variables. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/btcoexist/h

[PATCH 05/10] rtlwifi: btcoex: Add wifi_only series ops to control solo card

2018-01-18 Thread pkshih
From: Ping-Ke Shih Originally, btcoex controls the antenna of combo card, but solo card is also needed to setup properly. The new ops are named with suffix '_wifi_only' opposited to original btc_ops, and new structures and definitions are also introduced. The wifi_only oly contains four ops that

[PATCH 02/10] rtlwifi: btcoex: Add switch band notify for btc

2018-01-18 Thread pkshih
From: Ping-Ke Shih BT shares 2.4G band but not 5G band, so inform current band to btcoex to setup antenna properly. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 13 +++ .../realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 9 .../wireles

[PATCH v2] mac80211: mesh: fix wrong mesh TTL offset calculation

2018-01-18 Thread peter . oh
From: Peter Oh mesh TTL offset in Mesh Channel Switch Parameters element depends on not only Secondary Channel Offset element, but also affected by HT Control field and Wide Bandwidth Channel Switch element. Hence take those values place in. Signed-off-by: Peter Oh --- net/mac80211/mesh.c | 15

[PATCH] mac80211: mesh: fix wrong mesh TTL offset calculation

2018-01-18 Thread peter . oh
From: Peter Oh mesh TTL offset in Mesh Channel Switch Parameters element depends on not only Secondary Channel Offset element, but also affected by HT Control field and Wide Bandwidth Channel Switch element. Hence take those values place in. Signed-off-by: Peter Oh --- net/mac80211/mesh.c | 15

Re: [PATCH v2 05/10] rtlwifi: enable mac80211 fast-tx support

2018-01-18 Thread Pkshih
On Thu, 2018-01-18 at 11:09 +0100, Johannes Berg wrote: > On Thu, 2018-01-18 at 09:05 +, Pkshih wrote: > > > > > > > > > > /* fast-xmit doesn't handle fragmentation at all */ > > > if (local->hw.wiphy->frag_threshold != (u32)-1 && > > > !ieee80211_hw_check(&local-

[PATCH] ssb: return boolean instead of integer in ssb_dma_translation_special_bit

2018-01-18 Thread Gustavo A. R. Silva
Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/ssb/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ssb/main.c b/drivers/ssb

Re: [PATCH net-next] mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl()

2018-01-18 Thread Ben Hutchings
On Thu, 2018-01-18 at 02:23 +, Wei Yongjun wrote: > 'hwname' is malloced in hwsim_new_radio_nl() and should be freed > before leaving from the error handling cases, otherwise it will cause > memory leak. > > Fixes: ff4dd73dd2b4 ("mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length") > Signed-of

[PATCH v4 10/10] nl80211: sanitize array index in parse_txq_params

2018-01-18 Thread Dan Williams
Wireless drivers rely on parse_txq_params to validate that txq_params->ac is less than NL80211_NUM_ACS by the time the low-level driver's ->conf_tx() handler is called. Use a new helper, 'array_idx', to sanitize txq_params->ac with respect to speculation. I.e. ensure that any speculation into ->con

[PATCH v4 00/10] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Dan Williams
Changes since v3 [1] * Drop 'ifence_array_ptr' and associated compile-time + run-time switching and just use the masking approach all the time. * Convert 'get_user' to use pointer sanitization via masking rather than lfence. '__get_user' and associated paths still rely on lfence. (Linus)

[PATCH 0/2] disable all pending tasklets during device removal

2018-01-18 Thread Lorenzo Bianconi
This patchset is based on 'add set_domain routine to reconfigure mt76x2 dfs pd' patchset Lorenzo Bianconi (2): mt76x2: init: disable tbtt tasklet during device cleanup mt76x2: dfs: disable dfs tasklet during device cleanup drivers/net/wireless/mediatek/mt76/mt76x2_dfs.c | 6 ++ drivers/

[PATCH 1/2] mt76x2: init: disable tbtt tasklet during device cleanup

2018-01-18 Thread Lorenzo Bianconi
Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x2_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_init.c b/drivers/net/wireless/mediatek/mt76/mt76x2_init.c index 9f20a308ff76..66d4bfc70977 100644 --- a/drivers/net/w

[PATCH 2/2] mt76x2: dfs: disable dfs tasklet during device cleanup

2018-01-18 Thread Lorenzo Bianconi
Define mt76x2_dfs_cleanup() routine since it will be helpful to add the support for dfs sw detector Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x2_dfs.c | 6 ++ drivers/net/wireless/mediatek/mt76/mt76x2_dfs.h | 1 + drivers/net/wireless/mediatek/mt76/mt76x2_i

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Laurent Pinchart
Hi Will, On Thursday, 18 January 2018 19:05:47 EET Will Deacon wrote: > On Thu, Jan 18, 2018 at 08:58:08AM -0800, Dan Williams wrote: > > On Thu, Jan 18, 2018 at 5:18 AM, Will Deacon wrote: > >> On Thu, Jan 11, 2018 at 05:41:08PM -0800, Dan Williams wrote: > >>> On Thu, Jan 11, 2018 at 5:19 PM, Li

Re: pull-request: wireless-drivers 2018-01-17

2018-01-18 Thread David Miller
From: Kalle Valo Date: Wed, 17 Jan 2018 16:30:21 +0200 > here are few more important fixes to the net tree for 4.15, I hope they > still make it. Please let me know if there are any problems. Pulled, thanks Kalle.

Re: [PATCH] cfg80211: stop demanding lots of new stuff

2018-01-18 Thread Johannes Berg
On Thu, 2018-01-18 at 13:07 -0800, Hugh Dickins wrote: > Perhaps you did not try on a system without SYSTEM_DATA_VERIFICATION > already enabled - that "select SYSTEM_DATA_VERIFICATION" seems to be > taking effect even when CFG80211_REQUIRE_SIGNED_REGDB is not enabled, > and pulls in a boatload. I

Re: [PATCH] cfg80211: stop demanding lots of new stuff

2018-01-18 Thread Hugh Dickins
A familiar error, let's try to attach this time... On Thu, 18 Jan 2018, Hugh Dickins wrote: > On Thu, 18 Jan 2018, Johannes Berg wrote: > > On Wed, 2018-01-17 at 14:55 -0800, Hugh Dickins wrote: > > > "make oldconfig" from 4.14 (when CONFIG_CFG80211_CERTIFICATION_ONUS > > > is not set) to 4.15-rc,

Re: [PATCH] cfg80211: stop demanding lots of new stuff

2018-01-18 Thread Randy Dunlap
On 01/18/2018 01:07 PM, Hugh Dickins wrote: > On Thu, 18 Jan 2018, Johannes Berg wrote: >> On Wed, 2018-01-17 at 14:55 -0800, Hugh Dickins wrote: >>> "make oldconfig" from 4.14 (when CONFIG_CFG80211_CERTIFICATION_ONUS >>> is not set) to 4.15-rc, gets into asking lots of new questions, and >>> confi

Re: [PATCH] cfg80211: stop demanding lots of new stuff

2018-01-18 Thread Hugh Dickins
On Thu, 18 Jan 2018, Johannes Berg wrote: > On Wed, 2018-01-17 at 14:55 -0800, Hugh Dickins wrote: > > "make oldconfig" from 4.14 (when CONFIG_CFG80211_CERTIFICATION_ONUS > > is not set) to 4.15-rc, gets into asking lots of new questions, and > > configuring in unwanted stuff: I'm unsure of my Kcon

Re: [PATCH] cfg80211: fix station info handling bugs

2018-01-18 Thread David Miller
From: Johannes Berg Date: Tue, 16 Jan 2018 23:20:22 +0100 > From: Johannes Berg > > Fix two places where the structure isn't initialized to zero, > and thus can't be filled properly by the driver. > > Fixes: 4a4b8169501b ("cfg80211: Accept multiple RSSI thresholds for CQM") > Fixes: 9930380f0b

Re: [PATCH 0/3] add set_domain routine to reconfigure mt76x2 dfs pd

2018-01-18 Thread Felix Fietkau
On 2018-01-09 14:13, Lorenzo Bianconi wrote: > Lorenzo Bianconi (3): > mt76x2: dfs: avoid tasklet scheduling during mt76x2_dfs_init_params() > mt76x2: dfs: add set_domain handler > mt76x2: dfs: take into account dfs region in mt76x2_dfs_init_params() For the series: Acked-by: Felix Fietkau

[PATCH] mt76: fix transmission of encrypted management frames

2018-01-18 Thread Felix Fietkau
Hardware encryption seems to break encrypted unicast mgmt tx. Unfortunately the hardware TXWI header does not have a bit to indicate that a frame is software encrypted, so sw-encrypted frames need to use a different WCID. For that to work, the CCMP PN needs to be generated in software, which makes

Re: [PATCH] [wireless-next] mt76: fix building without CONFIG_LEDS_CLASS

2018-01-18 Thread Felix Fietkau
On 2018-01-18 14:14, Arnd Bergmann wrote: > When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while > mt76 is built-in, we run into a link error: > > drivers/net/wireless/mediatek/mt76/mac80211.o: In function > `mt76_register_device': > mac80211.c:(.text+0xb78): relocation truncated

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Will Deacon
On Thu, Jan 18, 2018 at 08:58:08AM -0800, Dan Williams wrote: > On Thu, Jan 18, 2018 at 5:18 AM, Will Deacon wrote: > > On Thu, Jan 11, 2018 at 05:41:08PM -0800, Dan Williams wrote: > >> On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds > >> wrote: > >> > On Thu, Jan 11, 2018 at 4:46 PM, Dan Willia

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Dan Williams
On Thu, Jan 18, 2018 at 5:18 AM, Will Deacon wrote: > Hi Dan, Linus, > > On Thu, Jan 11, 2018 at 05:41:08PM -0800, Dan Williams wrote: >> On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds >> wrote: >> > On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams >> > wrote: >> >> >> >> This series incorporates

Re: [PATCH] MAINTAINERS: wireless: update wil6210 maintainer entry

2018-01-18 Thread Kalle Valo
Maya Erez writes: > wil6210 maintainer email and mail list has changed, hence update > its MAINTAINERS entry accordingly. > > Signed-off-by: Maya Erez Maya, for some reason you CCed your address with a typo (the 'e' character is missing): Maya Erez Better to check your setup. -- Kalle Valo

sdio failure to initialize on warm boot.

2018-01-18 Thread Kyle Evans
* Arend van Spriel : > On 1/12/2018 9:18 PM, Kyle Evans wrote: > > 2) After reboot I get this nasty error... > > [0.00] Kernel command line: console=tty0 selinux=0 > > video=1280x800 root=/dev/mmcblk1p1 brcmfmac.bebug=0x2 > > [2.269750] mmc0: Invalid maximum block size, assuming 512

[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 --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file changed, 42 insertions(+), 6 deleti

[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 --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file changed, 42 insertions(+), 6 deleti

[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 --- drivers/net/wireless/ath/wcn36xx/dxe.c | 48 +- 1 file changed, 42 insertions(+), 6 deleti

[PATCH-next] mac80211: Remove unneeded semicolons

2018-01-18 Thread Christopher Díaz Riveros
Trivial fix removes unneeded semicolons after switch blocks. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Díaz Riveros --- net/mac80211/debugfs_sta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac80211/debugfs_sta.c b/net/

Re: rtlwifi: Support A-MSDU in A-MPDU capability

2018-01-18 Thread Kalle Valo
Ping-Ke Shih wrote: > From: Ping-Ke Shih > > Due to the fact that A-MSDU deaggregation is done in software, > we set this flag to support the A-MSDU in A-MPDU > > Signed-off-by: Steven Ting > Signed-off-by: Ping-Ke Shih Patch applied to wireless-drivers-next.git, thanks. 5f9066930b5d rtlwi

Re: MAINTAINERS: wireless: update wil6210 maintainer entry

2018-01-18 Thread Kalle Valo
Maya Erez wrote: > wil6210 maintainer email and mail list has changed, hence update > its MAINTAINERS entry accordingly. > > Signed-off-by: Maya Erez Patch applied to wireless-drivers-next.git, thanks. 454099ed091a MAINTAINERS: wireless: update wil6210 maintainer entry -- https://patchwork.

Re: [PATCH] [wireless-next] mt76: fix building without CONFIG_LEDS_CLASS

2018-01-18 Thread Kalle Valo
Arnd Bergmann writes: > When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while > mt76 is built-in, we run into a link error: > > drivers/net/wireless/mediatek/mt76/mac80211.o: In function > `mt76_register_device': > mac80211.c:(.text+0xb78): relocation truncated to fit: R_AARCH64_C

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Will Deacon
Hi Dan, Linus, On Thu, Jan 11, 2018 at 05:41:08PM -0800, Dan Williams wrote: > On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds > wrote: > > On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams > > wrote: > >> > >> This series incorporates Mark Rutland's latest ARM changes and adds > >> the x86 specifi

[PATCH 10/14] staging: wilc1000: rename ptstrJoinBssParam variable to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 78 +++ 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging

[PATCH 12/14] staging: wilc1000: rename Handle_ScanDone() to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_in

[PATCH 14/14] staging: wilc1000: rename Handle_ConnectTimeout() and Handle_Key()

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c in

[PATCH 11/14] staging: wilc1000: rename strConnectInfo variable to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue reported by checkpatch.pl script. In this patch rename "strConnectInfo" variable to resolve issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 74 +++ 1 file changed, 37 inserti

[PATCH 13/14] staging: wilc1000: rename Handle_Connect() to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelcase" issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index

[PATCH 07/14] staging: wilc1000: rename u32WidsCount variable to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camleCase" issue reported by checkpatch.pl script. rename variable name from u32WidsCount to wid_cnt to fix checkpatch.pl report issue. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 146 +++--- 1 file changed, 73 insertions(+), 73 de

[PATCH 06/14] staging: wilc1000: rename strWIDList variable to wid_list to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue found by checkpatch.pl script. Rename variable name from strWIDList to wid_list. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 176 +++--- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/drivers/stagi

[PATCH 08/14] staging: wilc1000: rename pu8CurrByte variable to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue reported by checkpatch.pl script. rename variable name from "pu8CurrByte" to "cur_byte" Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 232 +++--- 1 file changed, 116 insertions(+), 116 deletions(-) diff --git a/driv

[PATCH 05/14] staging: wilc1000: rename camelCase used in Handle_DelAllSta() and its variable

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc10

[PATCH 04/14] staging: wilc1000: rename host_int_ParseJoinBssParam() and it's variable using camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid CamelCase:" issue reported by checkpatch.pl script Rename host_int_ParseJoinBssParam() & its variables name using camelCase. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 230 +++--- 1 file changed, 115 insertions(+), 115 deletions(-

[PATCH 03/14] staging: wilc1000: fix alignments to match open parenthesis

2018-01-18 Thread Ajay Singh
fix "Alignment should match open parenthesis" issues reported by checkpatch.pl script. changes to comply with linux coding style. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 4 +-- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/w

[PATCH 02/14] staging: wilc1000: removed unnecessary defined enums typedef

2018-01-18 Thread Ajay Singh
fix the "do not add new typedefs" issue found by checkpatch.pl script Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wlan_if.h | 72 - 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/s

[PATCH 09/14] staging: wilc1000: rename pstrHostIFconnectAttr argument to avoid camelCase

2018-01-18 Thread Ajay Singh
fix "Avoid camelCase" issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 104 ++ 1 file changed, 49 insertions(+), 55 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wi

[PATCH 00/14] fix to remove unnecessary parenthesis,typedef and avoid camelCase

2018-01-18 Thread Ajay Singh
This patch series contains changes to fix issues reported by checkpatch.pl script. Ajay Singh (14): staging: wilc1000: remove unnecessary use of parentheses staging: wilc1000: removed unnecessary defined enums typedef staging: wilc1000: fix alignments to match open parenthesis staging: w

[PATCH 01/14] staging: wilc1000: remove unnecessary use of parentheses

2018-01-18 Thread Ajay Singh
fix "Unnecessary parentheses around" issue found by checkpatch.pl script.Remove the unnecessary parentheses to follow linux coding style. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/host_interface.c | 34 +++---

[PATCH] [wireless-next] mt76: fix building without CONFIG_LEDS_CLASS

2018-01-18 Thread Arnd Bergmann
When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while mt76 is built-in, we run into a link error: drivers/net/wireless/mediatek/mt76/mac80211.o: In function `mt76_register_device': mac80211.c:(.text+0xb78): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `de

Google Summer of Code 2018 - Project ideas page for the Linux Foundation online

2018-01-18 Thread Till Kamppeter
Hi, I have set up a page for project ideas for the Linux Foundation's participation in the Google Summer of Code 2018: https://wiki.linuxfoundation.org/gsoc/google-summer-code-2018 Please add your ideas to the sub-page of your work group. If you have problems mail me with your project idea. Th

[PATCH 2/2] mac80211: Add tx ack signal support in sta info

2018-01-18 Thread Venkateswara Naralasetty
From: Bhagavathi Perumal S This allows users to get ack signal strength of last transmitted frame. Signed-off-by: Bhagavathi Perumal S Signed-off-by: Venkateswara Naralasetty --- net/mac80211/sta_info.c | 6 ++ net/mac80211/sta_info.h | 1 + net/mac80211/status.c | 5 - 3 files chan

[PATCH 1/2] cfg80211: Add tx ack signal attribute in sta info

2018-01-18 Thread Venkateswara Naralasetty
From: Bhagavathi Perumal S This patch provides support for users to get ack signal strength of last transmitted by introducing new attribute 'NL80211_STA_INFO_ACK_SIGNAL'. Signed-off-by: Bhagavathi Perumal S Signed-off-by: Venkateswara Naralasetty --- include/net/cfg80211.h | 2 ++ incl

Re: AP6335 with mainline kernel

2018-01-18 Thread Vanessa Maegima
Hi Arend, On Ter, 2018-01-16 at 21:21 +0100, Arend van Spriel wrote: > On 1/15/2018 9:08 PM, Fabio Estevam wrote: > > > > Hi Arend, > > > > On Tue, Dec 5, 2017 at 12:58 PM, Vanessa Maegima > > wrote: > > > > > > > > Hi Arend, > > > > > > Sorry for this! > > > > > > I updated the folder on h

Re: A few questions about iwlwifi and its rate control mechanism

2018-01-18 Thread Emmanuel Grumbach
On Thu, Jan 18, 2018 at 12:54 PM, Tambet Arak wrote: > I see. I might try playing around with hacking iwl-agn-rs, in that case. > >> What do you mean by 'drop'. Disassociated? Or associated but no traffic? >> Association state can be checked with iw link > > Sorry, that was ambiguous. I meant tha

Re: A few questions about iwlwifi and its rate control mechanism

2018-01-18 Thread Tambet Arak
I see. I might try playing around with hacking iwl-agn-rs, in that case. > What do you mean by 'drop'. Disassociated? Or associated but no traffic? > Association state can be checked with iw link Sorry, that was ambiguous. I meant that the rate is decreased to e.g. MCS3-5. Tambet

Re: RTL8723bu: poor signal and connection troubles

2018-01-18 Thread Carlo Caione
On Wed, Jan 10, 2018 at 12:15 PM, Carlo Caione wrote: > Hi, > this is a follow up email to [0] since the problem was never fully > investigated / solved and I keep seeing the same problem also on my > hardware. > > Also in my case the hardware is a rtl8723bt transceiver > (0x0bda:0xb720), this tim

Re: [PATCH v2 05/10] rtlwifi: enable mac80211 fast-tx support

2018-01-18 Thread Johannes Berg
On Thu, 2018-01-18 at 09:05 +, Pkshih wrote: > > > /* fast-xmit doesn't handle fragmentation at all */ > > if (local->hw.wiphy->frag_threshold != (u32)-1 && > > !ieee80211_hw_check(&local->hw, SUPPORTS_TX_FRAG)) > > goto out; > > > > Thank you for

Re: A few questions about iwlwifi and its rate control mechanism

2018-01-18 Thread Emmanuel Grumbach
Hi, On Thu, Jan 18, 2018 at 11:09 AM, Tambet Arak wrote: > Hi all, > [snip] > > In any case, I was looking into how to optimally tune wireless > reception at work, since the APs are aging and only support up to MCS7 > (65 Mb/s), so any improvements would help. I'm using a HP laptop with > a Int

A few questions about iwlwifi and its rate control mechanism

2018-01-18 Thread Tambet Arak
Hi all, I'm not really a Linux developer, more of a curious user, but the wireless developers mailing list seems appropriate for my questions. Please bear with me if they don't make much sense, as I'm a complete novice when it comes to the wireless subsystem. In any case, I was looking into how t

Re: [PATCH v2 05/10] rtlwifi: enable mac80211 fast-tx support

2018-01-18 Thread Pkshih
On Tue, 2018-01-16 at 23:24 +0100, Johannes Berg wrote: > On Tue, 2018-01-16 at 21:12 +0100, Arend van Spriel wrote: > > > > > > When I saw this flying by I had the same feeling. This is clearly > > not  > > how it was intended although you could interpret the comments of > > the  > > .set_frag_t