Re: [PATCH 03/34] staging: wilc1000: rename strHostIFmsg

2015-09-18 Thread Greg KH
On Fri, Sep 18, 2015 at 06:11:05PM +0900, Tony Cho wrote: > This patch changes the name, strHostIFmsg simply to msg because the > camelcase notation is not recommended in Linux. > > Signed-off-by: Tony Cho Because of the other patches I didn't accept, and I think because of patches that communit

Re: [PATCH v2 1/4] staging: wilc1000: fix null check routine

2015-09-18 Thread Greg KH
On Thu, Sep 17, 2015 at 07:02:17PM +0900, Tony Cho wrote: > From: Leo Kim > > This patch removes the potential faults which may happen when unexpectedly > getting access to invalid pointer. The pointer of pstrWFIDrv is unlikely > to be invalid. However, it is safer to return error when the invali

Re: [PATCH v2 2/4] staging: wilc1000: remove warnings on the multiple blank lines uses

2015-09-18 Thread Greg KH
On Thu, Sep 17, 2015 at 07:02:18PM +0900, Tony Cho wrote: > From: Leo Kim > > This patch removes the warnings reported by checkpatch.pl > for using multiple blank lines. > > Signed-off-by: Leo Kim > Signed-off-by: Tony Cho > --- > drivers/staging/wilc1000/wilc_wlan_if.h | 12 > 1

Re: [PATCH V2 3/8] staging: wilc1000: replace int8_t with int

2015-09-18 Thread Greg KH
On Thu, Sep 17, 2015 at 09:03:14PM +0900, Chaehyun Lim wrote: > On Thu, Sep 17, 2015 at 7:34 PM, Sudip Mukherjee > wrote: > > On Thu, Sep 17, 2015 at 04:48:44PM +0900, Chaehyun Lim wrote: > >> This patch replaces int8_t with int. just use return type as int. > >> > >> Signed-off-by: Chaehyun Lim

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-09-18 Thread Fu, Zhonghui
On 2015/8/24 15:38, Johannes Berg wrote: > On Mon, 2015-08-24 at 11:45 +0800, Fu, Zhonghui wrote: >> On 2015/8/17 16:46, Arend van Spriel wrote: >>> + Rafael >>> >>> On 08/17/2015 09:29 AM, Johannes Berg wrote: On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: > The suspend/resume t

[PATCH v2] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-09-18 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition timing dependency between devices. This patch enables wiphy device to

[PATCH] mac80211: ensure association req uses configured ratemask.

2015-09-18 Thread greearb
From: Ben Greear When sending the association request, pay attention to the legacy rates configured by the user, and do not advertise support for any that are not configured. This makes the assoc request packet look more correct when making modern hardware act like a /b mode station, for instanc

Re: [PATCH 00/16] brcmfmac: new device support and P2P fixes

2015-09-18 Thread Rafał Miłecki
On 18 September 2015 at 22:08, Arend van Spriel wrote: > * correct set and get tx-power. Oh, I got a similar patch, you were faster :) > The series should be applied to master branch of the wireless-drivers-next > repository after the series sent earlier with > Message-ID: <1440620104-2715-1-gi

[PATCH] mac80211: Take bitrates into account when building IEs.

2015-09-18 Thread greearb
From: Ben Greear If a user restricts the rateset for some reason, then the probe requests should not advertise rates that are not selected by the user. To implement this, we save the requested bitrates at the mac80211 level and take it into account when building the IEs. This allows one to crea

[PATCH] nl80211: Print reasons for errors in setting bitrates.

2015-09-18 Thread greearb
From: Ben Greear Makes it easier to figure out why user-space calls are failing. Signed-off-by: Ben Greear --- net/wireless/nl80211.c | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index

[PATCH 04/16] brcmfmac: Only assign primary netdev to if2bss array.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman The if2bss allows for translation of ifidx to bssidx which has a 1:n relation. Therefor only the first (primary) netdev should be assigned in this array. This fixes the p2pon=1 module param usage. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-

[PATCH 01/16] brcmfmac: Fix exception handling.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman In some exception situations the ifp->vif was not properly assigned which could result in crash. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel --- drivers/net/wireless/brcm80211/brcmfmac/cf

[PATCH 06/16] brcmfmac: Fix bug in flowring management.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman The hash index stored in the flowrings is of type u16 but gets stored in u8. This can result in incorrect indexing and possibly result in crashes. This patch fixes the type. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Sig

[PATCH 02/16] brcmfmac: Add support for the BCM4350 PCIE device.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman This patch adds support fo the BRCM4350 2x2 11ac PCIE device. Reviewed-by: Arend Van Spriel Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel --- drivers/net/wireless/brcm80211/brcmfmac/ch

[PATCH 05/16] brcmfmac: Inform p2p module about p2pon through API

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman When the p2pon module param is used then p2p attach will initialize p2p device iface in the firmware, but it is doing that by checking data. It is cleaner to pass the p2pon information to p2p by API. This information is also needed for other patch. Reviewed-by: Arend Van Spr

[PATCH 10/16] brcmfmac: Only handle p2p_stop_device if vif is valid

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman In some situations it is possible that vif has been removed while cfg80211 invokes the p2p_stop_device handler. This will result in crash. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel ---

[PATCH 08/16] brcmfmac: Workaround in change vif for wpa_supplicant support.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman Different wpa_supplicants have different behavior and expectations regarding the change_virtual_intf behavior. This patch implements a workaround for the different versions and possible brcmfmac configuration. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts

[PATCH 12/16] brcmfmac: Add module parameter to disable features.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman For debugging purpose it is very handy to be able to disable features. It has happened a few times that new features turned out not always being properly detected for all devices/firmwares. Making it possible to disable the feature with a module parameter will make testing/de

[PATCH 13/16] brcmfmac: Fix race condition bug when deleting p2p interface.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman When p2p device interface gets deleted by deinitialising discovery it will result in an event which removes the interface, but that is also done by delete p2p interface code. This results in race condition which sometimes results in lockup/crash. With this patch the delete de

[PATCH 14/16] brcmfmac: Add support for the BCM4365 and BCM4366 PCIE devices.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman This patch adds support for the BCM4365 and BCM4366 11ac Wave2 PCIE devices. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel --- drivers/net/wireless/brcm80211/brcmfmac/chip.c | 110 +

[PATCH 09/16] brcmfmac: Deleting of p2p device is leaking memory.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman When a p2p device gets deleted, the memory for the vif is not being released. This is solved by reorganizing the cleanup path and properly freeing the memory. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Are

[PATCH 11/16] brcmfmac: Fix p2p bug for older firmwares.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman Some devices with older firmwares are reporting new p2p device interface with the wrong type. Accept this type to get p2p working for these devices. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spr

[PATCH 16/16] brcmfmac: Accept events when TDLS is used in combination with p2p.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman TDLS events are mapped back to primary interface but when p2p is in use then this fails because the check was incorrect by checking bsscfg number. Which can be different when a p2p device has been created. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Si

[PATCH 15/16] brcmfmac: Fix TDLS setup by properly handling p2p noif.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman There is a workaround needed for p2p device setup which breaks tdls functionality. This patch fixes that by properly signalling fweh that p2p device setup is ongoing. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off

[PATCH 00/16] brcmfmac: new device support and P2P fixes

2015-09-18 Thread Arend van Spriel
This series is intended for v4.4 containing the following highlights: * support for BCM4350, BCM4365, and BCM4366 PCIE devices. * fixed for legacy P2P and P2P device handling. * correct set and get tx-power. The series should be applied to master branch of the wireless-drivers-next repository aft

[PATCH 03/16] brcmfmac: Fix set and get tx-power functions.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman Implementation of tx-power (get and set) related functions are still assuming mW interface. This is wrong as functions use dbm (or mbm) nowadays. As a result a tx power configuration could result in wrong power configuration. Reviewed-by: Arend Van Spriel Reviewed-by: Frank

[PATCH 07/16] brcmfmac: Make p2pon module param always available.

2015-09-18 Thread Arend van Spriel
From: Hante Meuleman p2pon module param is currently under define BRCMDBG. Though it is a needed option for older versions of the wpa_supplicant which do not support the P2P_DEVICE interface. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed

ath10k RFKILL hard block

2015-09-18 Thread William Riba
I'm currently testing QCA9880/QCA9890 mini-PCIe hardware for an AP implementation. I've done initial testing with a couple of cards using a Linux 4.0.5 kernel, ath10k driver and the currently posted firmware blobs. Everything works fine except for the lack of hardware RFKILL functionality. This is

[PATCH 14/16] mwifiex: add usb tx data multi endpoints support

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch add support for USB interface to TX data with different endpoint. And previous TX information are saved in new designed structure. Signed-off-by: Zhaoyang Liu Signed-off-by: Cathy Luo Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/mwifiex/main.c | 6

[PATCH 07/16] mwifiex: fix NULL pointer dereference during hidden SSID scan

2015-09-18 Thread Amitkumar Karwar
From: Aniket Nagarnaik This NULL pointer dereference is observed during suspend resume stress test. All pending commands are cancelled when system goes into suspend state. There a corner case in which host may receive response for last scan command after this and try to trigger extra active scan

[PATCH 13/16] mwifiex: add usb multi channel event process support

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch add multi channel event process for USB multi tx data endpoints. Driver receives firmware multi channel event only in case that new connection is setup or interface is disconnect. Different BSS interface need update used usb endpoint. Signed-off-by: Zhaoyang Liu Si

[PATCH 09/16] mwifiex: correct paused tx data packet counter

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch fixes observed issues while updating counter for number of paused data packets in wmm queue when trying to delete packet or delete station entry. Signed-off-by: Zhaoyang Liu Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/mwifiex/uap_txrx.c | 10 +++-

[PATCH 12/16] mwifiex: move usb specific data_sent update to usb.c

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch move data_sent flag update to usb.c file. >From now all data_sent update cases only happened in specific file: sdio.c, usb.c, pcie.c. Outside ot these files, it is only allowed to check the value of data_ent. Signed-off-by: Zhaoyang Liu Signed-off-by: Cathy Luo Si

[PATCH 16/16] mwifiex: complete usb tx data with multi endpoints

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch do the work to TX data with specific USB endpoint. At the same time, update data_sent flag according to multi port status. And is_port_ready API is added for BSS interface to check if current used usb data endpoint is available or not. Signed-off-by: Zhaoyang Liu S

[PATCH 15/16] mwifiex: add usb multi endpoints resync support

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch add support for usb multi endpoints resync. Once multi channel event is received from firmware, update usb_mc_setp flag to block TX data until setup is over. And available data endpoint will be attached to BSS interface. Signed-off-by: Zhaoyang Liu Signed-off-by: C

[PATCH 11/16] mwifiex: fix tx data_sent issue for usb interface

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch fix missing tx data_sent flag update for usb interface. Except USB interface, data_sent flag has been updated in specific file such as sdio.c and pcie.c. So only USB interface type need check when TX data completed. Signed-off-by: Zhaoyang Liu Signed-off-by: Cathy

[PATCH 00/16] mwifiex fixes and USB multichannel

2015-09-18 Thread Amitkumar Karwar
This patch series includes few fixes and USB multichannel feature support patch series Amitkumar Karwar (2): mwifiex: avoid memsetting PCIe event buffer mwifiex: Suppress -ENOSR error for data traffic on USB Aniket Nagarnaik (2): mwifiex: don't always include ht/vht info in tdls confirm fra

[PATCH 06/16] mwifiex: don't always include ht/vht info in tdls confirm frame

2015-09-18 Thread Amitkumar Karwar
From: Aniket Nagarnaik Current TDLS implementation always includes ht/vht information in tdls setup confirm frame which causes teardown by legacy peer station after TDLS handshake. We will inclue ht/vht capabilities in tdls setup confirm frame only if peer station supports it to fix this problem.

[PATCH 01/16] mwifiex: fix typo in del_virtual_intf() function

2015-09-18 Thread Amitkumar Karwar
From: Xinming Hu Interface counters should be incremented in add_virtual_intf() and decremented in del_virtual_intf() function. This patch corrects it. Signed-off-by: Xinming Hu Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertion

[PATCH 10/16] mwifiex: Suppress -ENOSR error for data traffic on USB

2015-09-18 Thread Amitkumar Karwar
We have preallocated buffer pool for Tx data. During high data traffic, all buffers are submitted to USB and driver needs to wait until one of the buffers get available for next Tx packet. "data: -ENOSR is returned" errors is expected in this case. Let's lower the priority of this message. Signed

[PATCH 03/16] mwifiex: minor corrections in multiport aggregation code

2015-09-18 Thread Amitkumar Karwar
From: Xinming Hu This patch includes below changes 1) Check if multiport aggregation feature flag while doing rx length validation check. 2) Reset buffer size variables when buffers are freed. Signed-off-by: Xinming Hu Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/mwifiex/sdio.c |

[PATCH 04/16] mwifiex: fix driver init failure under memory pressure

2015-09-18 Thread Amitkumar Karwar
From: Xinming Hu 64k Tx and Rx buffers are allocated during driver initialization for SDIO level data aggregations. When host is under memory pressure situation, kzalloc() request for 64k may fail. We will try allocating 32k buffers and disable our rx single port aggreagation feature in this sit

[PATCH 08/16] mwifiex: avoid memsetting PCIe event buffer

2015-09-18 Thread Amitkumar Karwar
Preallocated PCIe buffer is being reused for all PCIe interface events. Physical address of the buffer is shared with firmware so that it can perform DMA on it. As event length is specified in the header, there should not be a problem if the buffer gets overwritten. We will save some cycles by avoi

[PATCH 02/16] mwifiex: update amsdu tx packet time stamp

2015-09-18 Thread Amitkumar Karwar
From: Zhaoyang Liu This patch fixes the issue of delay time in A-MSDU tx packet. In generated new A-MSDU packet, the time stamp is initialized to zero. Choose the time of first MSDU packet as aggregated packet's time. Signed-off-by: Zhaoyang Liu Signed-off-by: Cathy Luo Signed-off-by: Amitkuma

[PATCH 05/16] mwifiex: NULL check for cfg80211_inform_bss()

2015-09-18 Thread Amitkumar Karwar
From: Xinming Hu cfg80211_inform_bss would return null in some cases, such as memory allocation failure. This patch adds sanity check for this case, to avoid possible issues when above corner case is hit. Signed-off-by: Xinming Hu Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/mwif

[PATCH 0/6] mac80211: Deinline large functions in driver-ops.h

2015-09-18 Thread Denys Vlasenko
After measuring size of inlines, these functions were found to be largest. These patches reduce code size by about 21 kbytes. CC: John Linville CC: Michal Kazior CC: Johannes Berg CC: linux-wireless@vger.kernel.org CC: linux-ker...@vger.kernel.org Denys Vlasenko (6): mac80211: Deinline drv_c

[PATCH 4/6] mac80211: Deinline drv_get/set/reset_tsf()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining these functions have sizes and callsite counts as follows: drv_get_tsf: 634 bytes, 6 calls drv_set_tsf: 626 bytes, 2 calls drv_reset_tsf: 617 bytes, 2 calls Total size reduction is about 4.2 kbytes. Signed-off-b

[PATCH 3/6] mac80211: Deinline drv_ampdu_action()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining the function size is 755 bytes and there are 6 callsites. Total size reduction is about 3.3 kbytes. Signed-off-by: Denys Vlasenko CC: John Linville CC: Michal Kazior CC: Johannes Berg CC: linux-wireless@vger.

[PATCH 1/6] mac80211: Deinline drv_conf_tx()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining the function size is 785 bytes and there are 7 callsites. Total size reduction is about 3.5 kbytes. Signed-off-by: Denys Vlasenko CC: John Linville CC: Michal Kazior CC: Johannes Berg CC: linux-wireless@vger.

[PATCH 5/6] mac80211: Deinline drv_add/remove/change_interface()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining these functions have sizes and callsite counts as follows: drv_add_interface: 638 bytes, 5 calls drv_remove_interface: 611 bytes, 6 calls drv_change_interface: 658 bytes, 1 call Total size reduction is about 9 kb

[PATCH 2/6] mac80211: Deinline drv_sta_rc_update()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining the function size is 706 bytes and there are 2 callsites, reducing code size by about 700 bytes. Signed-off-by: Denys Vlasenko CC: John Linville CC: Michal Kazior CC: Johannes Berg CC: linux-wireless@vger.kern

[PATCH 6/6] mac80211: Deinline drv_switch_vif_chanctx()

2015-09-18 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining the function size is 821 bytes and there are 2 callsites, reducing code size by about 800 bytes. Signed-off-by: Denys Vlasenko CC: John Linville CC: Michal Kazior CC: Johannes Berg CC: linux-wireless@vger.kern

[PATCH] wlcore: align reg_ch_conf_last[] to 64bit

2015-09-18 Thread Guodong Xu
Align fields reg_ch_conf_last and reg_ch_conf_pending of struct wl1271{} to 64bit. Without this, on 64bit ARM, wlcore_set_pending_regdomain_ch() fails at the point it calls set_bit(ch_bit_idx, (long*)wl->reg_ch_conf_pending); Here is the error message while doing iw wlan0 scan or connect: [ 10.

Re: [PATCH v4] ath9k_htc: introduce support for different fw versions

2015-09-18 Thread Oleksij Rempel
Am 18.09.2015 um 09:42 schrieb Kalle Valo: > Oleksij Rempel writes: > >> Current kernel support only one fw name with theoretically only one >> fw version located in “firmware/htc_[9271|7010].fw”. Which is ok so far we >> have only one fw version (1.3). After we realised new fw 1.4, we faced >> c

[PATCH 34/34] staging: wilc1000: delete unnecessary comments and dead code

2015-09-18 Thread Tony Cho
The comments in union message_body are not essential and cross 80 ending line, so they are deleted and also a dead code commented out in the union is deleted. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 27 +-- 1 file changed, 13 insertions(+),

[PATCH 31/34] staging: wilc1000: remove typedef from the struct tstrHostIFDelAllSta

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFDelAllSta and renames it to del_all_sta in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dr

[PATCH 33/34] staging: wilc1000: remove u32Intialized which is unnecessary

2015-09-18 Thread Tony Cho
This patch removes the global variable, u32Intialized which is not necessary from the host_interface.c file. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/driv

[PATCH 28/34] staging: wilc1000: remove typedef from the struct tstrHostIFDelSta

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFDelSta and renames it del_sta in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/st

[PATCH 27/34] staging: wilc1000: remove typedef from the struct tstrHostIfBASessionInfo

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfBASessionInfo and renames it to ba_session_info in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 17 ++--- drivers/staging/wilc1000/host_interface.h | 5 ++---

[PATCH 29/34] staging: wilc1000: remove typedef from the struct tstrHostIfRemainOnChan

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfRemainOnChan and renames it to remain_ch in order to comply with the Linux coding style Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 8 +--- drivers/staging/wilc1000/host_interface.h | 6 +++--- 2 files changed,

[PATCH 26/34] staging: wilc1000: remove typedef from the struct tstrHostIfGetMacAddress

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfGetMacAddress and renames it get_mac_addr in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/host_interface.h | 5 ++--- 2 files changed, 5

[PATCH 32/34] staging: wilc1000: remove unnecessary global variable

2015-09-18 Thread Tony Cho
The global variable msgQ_created is removed because it is not necessary. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 5d7224

[PATCH 25/34] staging: wilc1000: remove typedef from the struct tstrHostIfSetMacAddress

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfSetMacAddress and renames it set_mac_addr in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/host_interface.h | 5 ++--- 2 files changed, 5

[PATCH 30/34] staging: wilc1000: remove typedef from the struct tstrHostIfRegisterFrame

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfRegisterFrame and renames it to reg_frame in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/host_interface.h | 7 ++- 2 files changed,

[PATCH 20/34] staging: wilc1000: remove typedef from the struct tstrHostIfStaInactiveT

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfStaInactiveT and renames it to sta_inactive_t in oder to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a

[PATCH 18/34] staging: wilc1000: remove typedef from the struct tstrTimerCb

2015-09-18 Thread Tony Cho
This patch removes typedef from the tstrTimerCb and renames it to timer_cb in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/ho

[PATCH 21/34] staging: wilc1000: remove typedef from the struct tstrHostIFSetIPAddr

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFSetIPAddr and renames it to set_ip_addr in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/

[PATCH 19/34] staging: wilc1000: remove typedef from the struct tstrHostIfPowerMgmtParam

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfPowerMgmtParam and renames it to power_mgmt_param in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff -

[PATCH 24/34] staging: wilc1000: remove typedef from the struct tstrHostIfSetOperationMode

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfSetOperationMode and renames it to op_mode in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/host_interface.h | 4 ++-- 2 files changed, 5

[PATCH 22/34] staging: wilc1000: remove typedef from the struct tstrHostIfSetDrvHandler

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIfSetDrvHandler and renames it to drv_handler in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 7 --- drivers/staging/wilc1000/host_interface.h | 4 ++-- 2 files changed,

[PATCH 23/34] staging: wilc1000: remove typedef from the struct tstrHostIFSetMulti

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFSetMulti and renames it to set_multicast in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH 13/34] staging: wilc1000: remove typedef from the struct tstrHostIFSetChan

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFSetChan and ranames it to set_channel in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drive

[PATCH 07/34] staging: wilc1000: remove typedef from the struct tstrHostIFscanAttr

2015-09-18 Thread Tony Cho
This patch removes typedef from the structure tstrHostIFscanAttr and changes the camelcase name, tstrHostIFscanAttr to scan_attr in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 14 +++--- 1 file changed, 7 insertions

[PATCH 10/34] staging: wilc1000: remove typedef from the struct tstrRcvdGnrlAsyncInfo

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrRcvdGnrlAsyncInfo and renames it to rcvd_async_info in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH 14/34] staging: wilc1000: remove typedef from the struct tstrHostIFGetChan

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFGetChan and renames it to get_channel in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/sta

[PATCH 12/34] staging: wilc1000: remove typedef from the struct tstrHostIFCfgParamAttr

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFCfgParamAttr and renames it to cfg_param_attr in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --gi

[PATCH 11/34] staging: wilc1000: remove typedef from the struct tstrHostIFkeyAttr

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFkeyAttr and renames it to key_attr in oder to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/s

Re: [PATCH] ibss: add VHT80 support for IBSS

2015-09-18 Thread Johannes Berg
On Thu, 2015-09-10 at 12:04 +0200, Janusz Dziedzic wrote: > Add VHT80 support for IBSS. > > eg. iw wlan0 ibss join 5180 80MHZ > iw wlan0 ibbs join 5220 80MHZ > Applied, with the obvious code style issue fixed. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wirele

[PATCH 08/34] staging: wilc1000: remove typedef from the struct tstrHostIFconnectAttr

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFconnectAttr and renames it to connect_attr to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/s

[PATCH 16/34] staging: wilc1000: remove typedef from the struct tstrHostIFDelBeacon

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFDelBeacon and renames it to del_beacon in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/driv

[PATCH 15/34] staging: wilc1000: remove typedef from the struct tstrHostIFSetBeacon

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrHostIFSetBeacon and renames it to set_beacon in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dr

[PATCH 09/34] staging: wilc1000: remove typedef from the struct tstrRcvdNetworkInfo

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrRcvdNetworkInfo and renames it to rcvd_net_info in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 7 --- drivers/staging/wilc1000/host_interface.h | 6 +++--- 2 files changed,

[PATCH 17/34] staging: wilc1000: remove typedef from the struct tstrWILC_AddStaParam

2015-09-18 Thread Tony Cho
This patch removes typedef from the struct tstrWILC_AddStaParam and renames it to add_sta_param in oder to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 37 +-- drivers/staging/wilc1000/host_interface.h

[PATCH 05/34] staging: wilc1000 remove typedef from the union

2015-09-18 Thread Tony Cho
This patch gets rid of typedef from the union and renames tuniHostIFmsgBody with simply message_body because the Linux coding style does not recommend camelcase notation and typedef for structure, enmu and also union. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 8

[PATCH 06/34] staging: wilc1000: rename uniHostIFmsgBody

2015-09-18 Thread Tony Cho
This patch changes the camelcase notation, uniHostIFmsgBody which is a member variable of structure host_if_msg to body in order to comply with the Linux coding style. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 296 +++--- 1 file changed, 148

[PATCH 02/34] staging: wilc1000: remove typedef from the struct

2015-09-18 Thread Tony Cho
The Linux kernel coding style does not recommend to use typedef for the structure. This patch removes typedef from the host_if_msg structure. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 294 +++--- 1 file changed, 147 insertions(+), 147 deletio

[PATCH 04/34] staging: wilc1000: rename u16MsgId

2015-09-18 Thread Tony Cho
This patch changes the name, u16MsgId simply to id to avoid the camelcase notation. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 102 +++--- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.

[PATCH 01/34] staging: wilc1000: rename tstrHostIFmsg

2015-09-18 Thread Tony Cho
This patch changes the name, tstrHostIFmsg to host_if_msg not to use camelcase notation in the Linux. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 294 +++--- 1 file changed, 147 insertions(+), 147 deletions(-) diff --git a/drivers/staging/wilc

[PATCH 03/34] staging: wilc1000: rename strHostIFmsg

2015-09-18 Thread Tony Cho
This patch changes the name, strHostIFmsg simply to msg because the camelcase notation is not recommended in Linux. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 794 +++--- 1 file changed, 397 insertions(+), 397 deletions(-) diff --git a/driver

Re: [PATCHv2] mac80211: Copy tx'ed beacons to monitor mode

2015-09-18 Thread Johannes Berg
On Wed, 2015-09-09 at 09:46 +0200, Helmut Schaa wrote: > When debugging wireless powersave issues on the AP side it's quite > helpful > to see our own beacons that are transmitted by the hardware/driver. > However, > this is not that easy since beacons don't pass through the regular TX > queues.

[PATCH 2/2] ath10k: implement debugfs interface for Transmit Power Control stats

2015-09-18 Thread Kalle Valo
From: Maharaja Kennadyrajan The Transmit Power Control (TPC) dump will show the power control values for each rate which makes it easier to debug calibration problems. Example usage: # cat /sys/kernel/debug/ieee80211/phy0/ath10k/tpc_stats TPC config for channel 5180 mode 10 CTL

[PATCH 1/2] ath10k: add a_sle32_to_cpu()

2015-09-18 Thread Kalle Valo
Copy a_sle32_to_cpu() from ath6kl so that we can easily handle signed __le32 values. This is needed in struct wmi_pdev_tpc_config_event. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/wmi.h | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a

[PATCH 0/2] ath10k: implement debugfs interface for Transmit Power Control stats

2015-09-18 Thread Kalle Valo
This implements a simple interface for debugging TPC stats. I did a small hack to sparse to check endian usage with signed 32 bit values. --- Kalle Valo (1): ath10k: add a_sle32_to_cpu() Maharaja Kennadyrajan (1): ath10k: implement debugfs interface for Transmit Power Control stats

Re: [PATCH v4] ath9k_htc: introduce support for different fw versions

2015-09-18 Thread Kalle Valo
Oleksij Rempel writes: > Current kernel support only one fw name with theoretically only one > fw version located in “firmware/htc_[9271|7010].fw”. Which is ok so far we > have only one fw version (1.3). After we realised new fw 1.4, we faced > compatibility problem which was decided to solve by