[PATCH 1/5] staging: wilc1000: change enum variable name with lower case

2015-11-02 Thread Glen Lee
This patch changes WID_TYPE with wid_type which is preferred style. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wlan_if.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/coreconf

[PATCH 2/5] staging: wilc1000: send_config_pkt: use netdev print

2015-11-02 Thread Glen Lee
This patch use netdev_xxx print format instead of custom print api and printk. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/

[PATCH 3/5] staging: wilc1000: send_config_pkt: return linux error number

2015-11-02 Thread Glen Lee
Use proper linux error number instead of -1. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 637e8ca..1

[PATCH 5/5] staging: wilc1000: move send_config_pkt to wilc_wlan.c

2015-11-02 Thread Glen Lee
send_config_pkt function and it's related structure wid_type is moved to wilc_wlan.c because wilc_wlan.c handle message transport. the coreconfigurator is all about frames, so it will be frame.[ch] later. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 64 --

[PATCH 4/5] staging: wilc1000: send_config_pkt: remove unnecessary blank line

2015-11-02 Thread Glen Lee
This patch remove unnecessary blank line which is reported by checkpatch.pl Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index

Re: [PATCH] ath10k: fix invalid NSS for 4x4 devices

2015-11-02 Thread Ben Greear
I'm a bit embarrassed about that 0x15..thanks for catching that! Ben On 11/02/2015 10:21 PM, Rajkumar Manoharan wrote: The number of spatial streams that are derived from chain mask for 4x4 devices is using wrong bitmask and conditional check. This is affecting downlink throughput for QCA99x0 d

Re: [PATCH v2] ath10k: Add support for pktlog in QCA99X0

2015-11-02 Thread Vivek Natarajan
On Tue, Nov 3, 2015 at 11:49 AM, Vivek Natarajan wrote: > This patch adds pktlog support for 10.4 fw versions. Some issues with the mail client. Please ignore. Thanks Vivek. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.ke

[PATCH] ath10k: fix invalid NSS for 4x4 devices

2015-11-02 Thread Rajkumar Manoharan
The number of spatial streams that are derived from chain mask for 4x4 devices is using wrong bitmask and conditional check. This is affecting downlink throughput for QCA99x0 devices. Earlier cfg_tx_chainmask is not filled by default until user configured it and so get_nss_from_chainmask never be c

[PATCH v2] ath10k: Add support for pktlog in QCA99X0

2015-11-02 Thread Vivek Natarajan
This patch adds pktlog support for 10.4 fw versions. Signed-off-by: Vivek Natarajan --- v2: Move pktlog_completion_handler to htt_rx.c drivers/net/wireless/ath/ath10k/htt.h| 2 ++ drivers/net/wireless/ath/ath10k/htt_rx.c | 12 drivers/net/wireless/ath/ath10k/hw.h | 10

[PATCH v2] ath10k: Add support for pktlog in QCA99X0

2015-11-02 Thread Vivek Natarajan
This patch adds pktlog support for 10.4 fw versions. Signed-off-by: Vivek Natarajan --- v2: Move pktlog_completion_handler to htt_rx.c drivers/net/wireless/ath/ath10k/htt.h| 2 ++ drivers/net/wireless/ath/ath10k/htt_rx.c | 12 drivers/net/wireless/ath/ath10k/hw.h | 10

[PATCH v2] ath10k: Add support for pktlog in QCA99X0

2015-11-02 Thread Vivek Natarajan
This patch adds pktlog support for 10.4 fw versions. Signed-off-by: Vivek Natarajan --- v2: Move pktlog_completion_handler to htt_rx.c drivers/net/wireless/ath/ath10k/htt.h| 2 ++ drivers/net/wireless/ath/ath10k/htt_rx.c | 12 drivers/net/wireless/ath/ath10k/hw.h | 10

Re: [WEXT/nl80211] few API questions

2015-11-02 Thread Gerrit Renker
Thanks a lot indeed, it is helping a good step forward. Gerrit -- 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/majordomo-info.html

Ralink RT5592 5Ghz capability not working

2015-11-02 Thread Alberto Mattea
Hello, this is about the mini-pcie version used in some embedded products (for example the Buffalo WHR-600D and the Asus RP-N53). It has an RT5592 chip and the hardware supports both 2.4 and 5Ghz (5Ghz works with the proprietary driver supplied with the devices), but rt2800pci seems to see only

Re: [PATCH 00/19] staging/wilc1000 cleanups

2015-11-02 Thread Arnd Bergmann
On Friday 23 October 2015 16:51:13 Tony Cho wrote: > Hi Arnd, > First of all, I would like to say "thank you" for your efforts and > contributions. > We are updating the driver because new revision came up and making new > patches > to make it stable and elegant as Linux driver. In these days, we

Re: Intel 7260 - limited in 5GHz spectrum

2015-11-02 Thread Pushpal Sidhu
On Sat, Oct 31, 2015 at 12:12 PM, Grumbach, Emmanuel wrote: > Hi, > > On 10/30/2015 06:37 PM, Pushpal Sidhu wrote: >> Hi, >> >> I've been working with the Intel 7260 card which advertises itself as >> dual band wireless AC card. However, I cannot get it working in AP >> mode in the 5GHz range. An

Re: [PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Jouni Malinen
On Mon, Nov 02, 2015 at 07:38:57PM +0100, Michal Sojka wrote: > We discussed that about a year ago [1]. The thing is that regulatory > documents do not talk about modes (at least in Europe). They only talk > about channel widths, EIRP etc. and say that the band is designated for > Intelligent Trans

Re: [PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Michal Sojka
On Mon, Nov 02 2015, Jouni Malinen wrote: > On Mon, Nov 02, 2015 at 06:33:45PM +0100, Michal Sojka wrote: >> Can this be solved by having proper/new regulatory flags on these >> channels that would prohibit running AP or scanning on these channels? > > I'm not sure that alone is sufficient, but yes

Re: [PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Jouni Malinen
On Mon, Nov 02, 2015 at 06:33:45PM +0100, Michal Sojka wrote: > Can this be solved by having proper/new regulatory flags on these > channels that would prohibit running AP or scanning on these channels? I'm not sure that alone is sufficient, but yes, I think this should be done as part of the solu

Re: [PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Michal Sojka
Hi Jouni, thanks for quick reply. On Mon, Nov 02 2015, Jouni Malinen wrote: > On Mon, Nov 02, 2015 at 11:22:57AM +0100, Michal Sojka wrote: >> The patch adds support for Intelligent Transportation System (ITS-G5) >> band to the ath9k driver. > > NAK. This would enable use of licensed 5.9 GHz band

Re: [PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Jouni Malinen
On Mon, Nov 02, 2015 at 11:22:57AM +0100, Michal Sojka wrote: > The patch adds support for Intelligent Transportation System (ITS-G5) > band to the ath9k driver. NAK. This would enable use of licensed 5.9 GHz band on large number of deployed "world roaming" cards. This would allow one to set up an

[PATCH] mac80211_hwsim: check ATTR_FREQ for wmediumd (netlink) packets

2015-11-02 Thread arwelle
From: Adam Welle If a packet is received from netlink with the frequency value set it is checked against the current radio's frequency and discarded if different. Signed-off-by: Adam Welle --- drivers/net/wireless/mac80211_hwsim.c | 14 ++ 1 file changed, 10 insertions(+), 4 deleti

[PATCHv2] offchannel: Cancel the pending_action TX wait, before starting new one.

2015-11-02 Thread Chaitanya T K
From: tkc Before the tx_status is received for the action frame, if we get another request, we respond to that by freeing the memory for pending_action_tx, but we don't cancel the TX wait, so in the kernel the ROC will not be cancelled. Due to above issue, wpa_supplicant assumes that all pending

[PATCH] offchannel: Cancel the pending_action TX wait, before starting new one.

2015-11-02 Thread Chaitanya T K
From: tkc From: Chaitanya T K Before the tx_status is received for the action frame, if we get another request, we respond to that by freeing the memory for pending_action_tx, but we don't cancel the TX wait, so in the kernel the ROC will not be cancelled. Due to above issue, wpa_supplicant as

[PATCH 1/8] ath10k: merge is_protected with nohwcrypt

2015-11-02 Thread Michal Kazior
It was wasteful to have two flags describing the same thing. While at it fix code style of ath10k_tx_h_use_hwcrypto(). Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 1 - drivers/net/wireless/ath/ath10k/htt_tx.c | 3 --- drivers/net/wireless/ath/ath10k/mac.c|

[PATCH 3/8] ath10k: remove txmode from skb_cb

2015-11-02 Thread Michal Kazior
It was wasteful to keep it in the struct because it can be passed as function argument down the tx path. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 1 - drivers/net/wireless/ath/ath10k/htt.h| 3 ++- drivers/net/wireless/ath/ath10k/htt_tx.c | 9 +++ dri

[PATCH 6/8] ath10k: pack up flags in skb_cb

2015-11-02 Thread Michal Kazior
It was wasteful to have all the flags as separate bools. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 13 +++-- drivers/net/wireless/ath/ath10k/htt_tx.c | 4 ++-- drivers/net/wireless/ath/ath10k/mac.c| 10 +++--- drivers/net/wireless/ath/ath10k/wmi

mac80211 chanctx usage

2015-11-02 Thread Wim Torfs
Hi, What is the idea behind channel contexts? Is it just to create an abstraction between the different vifs regarding the channel (each vif is allowed to operate on its own channel)? In case I want just a single vif, can I ignore the chanctx (specify that the driver does not support chanctx)

[PATCH 4/8] ath10k: remove is_offchan

2015-11-02 Thread Michal Kazior
It was wasteful to keep it in the struct. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 1 - drivers/net/wireless/ath/ath10k/mac.c | 4 +--- drivers/net/wireless/ath/ath10k/mac.h | 1 + drivers/net/wireless/ath/ath10k/txrx.c | 7 ++- 4 files changed, 8 insertion

[PATCH 0/8] ath10k: clean up ath10k_skb_cb

2015-11-02 Thread Michal Kazior
The ath10k_skb_cb structure wasn't really space efficient. Some stuff is removed or replaced with more compact representation. This cleanup is necessary for future features. The size of ath10k_skb_cb: before after x86-32 26 12 x86-64 34 20 Michal Kazior (8): ath

[PATCH 8/8] ath10k: store msdu_id instead of txbuf pointers

2015-11-02 Thread Michal Kazior
Txbuf is no longer a DMA pool and can be easily tracked with a mere msdu_id. This saves 10 bytes on 64bit systems and 6 bytes on 32bit systems of precious sk_buff control buffer. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 6 +--- drivers/net/wireless/ath/ath10k/

[PATCH 2/8] ath10k: rename function to adhere to naming convention

2015-11-02 Thread Michal Kazior
All functions should have ath10k_{filename}_ prefixes. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/mac.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 58230cd0

[PATCH 5/8] ath10k: remove freq from skb_cb

2015-11-02 Thread Michal Kazior
It was wasteful to keep it in the struct. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 1 - drivers/net/wireless/ath/ath10k/htt_tx.c | 9 +++-- drivers/net/wireless/ath/ath10k/mac.c| 5 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dr

[PATCH 7/8] ath10k: replace vdev_id and tid in skb cb

2015-11-02 Thread Michal Kazior
This prepares the driver for future ieee80211_txq and wake_tx_queue() support. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 4 ++-- drivers/net/wireless/ath/ath10k/htt_tx.c | 35 +--- drivers/net/wireless/ath/ath10k/mac.c| 40 +-

Re: [PATCH 29/38] staging: wilc1000: remove goto from linux_wlan_start_firmware

2015-11-02 Thread Dan Carpenter
On Mon, Nov 02, 2015 at 05:51:12PM +0900, Glen Lee wrote: > PRINT_D(INIT_DBG, "Waiting for Firmware to get ready ...\n"); > ret = linux_wlan_lock_timeout(&wilc->sync_event, 5000); > if (ret) { > PRINT_D(INIT_DBG, "Firmware start timed out"); > - goto _fai

Re: [RFC] mac80211_hwsim: Implements a check for ATTR_FREQ inside hwsim_cloned_frame_received_nl

2015-11-02 Thread Johannes Berg
On Fri, 2015-10-30 at 17:00 -0400, arwe...@cert.org wrote: > From: Adam Welle > > If a frame is received from netlink with this value set it is checked > against the current radio's frequency and discarded if different. Please line-break the commit log to <=72 characters/line. > + /* Check

Re: [RFC] mac80211_hwsim: Adds parameter use_hwsim_mon which can be used to disable hwism0

2015-11-02 Thread Johannes Berg
On Fri, 2015-10-30 at 17:05 -0400, arwe...@cert.org wrote: > From: Adam Welle > > A new parameter, use_hwsim_mon has been created to implement new > functionalilty. use_hwsim_mon defaults to true so that normal > operation remains the same. When set to false, the hwsim0 device is > not created

Re: [PATCH 2/2] ath10k: Fix peerid configuration in htt tx desc for htt version < 3.4

2015-11-02 Thread Vasanthakumar Thiagarajan
On Monday 02 November 2015 03:57 PM, Michal Kazior wrote: On 2 November 2015 at 09:33, Vasanthakumar Thiagarajan wrote: Of a word in struct htt_data_tx_desc htt version >= 3.4 firmware uses LSB 16-bit for frequency configuration which is used for offchannel tx and MSB 16-bit is for peerid. But

Re: [PATCH 2/2] ath10k: Fix peerid configuration in htt tx desc for htt version < 3.4

2015-11-02 Thread Michal Kazior
On 2 November 2015 at 09:33, Vasanthakumar Thiagarajan wrote: > Of a word in struct htt_data_tx_desc htt version >= 3.4 firmware uses LSB > 16-bit > for frequency configuration which is used for offchannel tx and MSB 16-bit > is for peerid. But other firmwares using version 2.X (10.1, 10.2.2, 10.

[PATCH v2] ath9k: Add support for ITS-G5 band (5.9 GHz)

2015-11-02 Thread Michal Sojka
From: Jan Kaisrlik The patch adds support for Intelligent Transportation System (ITS-G5) band to the ath9k driver. Signed-off-by: Jan Kaisrlik Cc: Michal Sojka --- Hi all, in this second version of the patch we removed dependency on CFG80211_CERTIFICATION_ONUS as suggested by Johannes. We ar

[PATCH 38/38] staging: wilc1000: rename pu8UdpBuffer of mac_xmit function

2015-11-02 Thread Glen Lee
From: Leo Kim This patch rename pu8UdpBuffer variable of mac_xmit function to udp_buf to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/

[PATCH 37/38] staging: wilc1000: rename QueueCount of mac_xmit function

2015-11-02 Thread Glen Lee
From: Leo Kim This patch rename QueueCount variable of mac_xmit function to queue_count to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[PATCH 31/38] staging: wilc1000: fixes missing a blank line after declarations

2015-11-02 Thread Glen Lee
From: Leo Kim This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wilc1000/linux_wlan

[PATCH 33/38] staging: wilc1000: remove goto from mac_open

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes goto from mac_open function. If address is invalid, goto handles deinit process and return result. So, just call deinit process and return the error value directly instead of goto statement. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wi

[PATCH 35/38] staging: wilc1000: rename host_int_get_MacAddress function

2015-11-02 Thread Glen Lee
From: Leo Kim This patch rename host_int_get_MacAddress function to hif_get_mac_address to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/

[PATCH 36/38] staging: wilc1000: rename s32Error of mac_ioctl function

2015-11-02 Thread Glen Lee
From: Leo Kim This patch rename s32Error variable of mac_ioctl function to ret to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drive

[PATCH 30/38] staging: wilc1000: remove goto from linux_wlan_firmware_download

2015-11-02 Thread Glen Lee
From: Leo Kim This patch remove goto feature from linux_wlan_firmware_download function. Goto feature is return result. So, remove goto functions and it was replaced with the return value directly. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 ++

[PATCH 32/38] staging: wilc1000: remove goto from wlan_initialize_threads

2015-11-02 Thread Glen Lee
From: Leo Kim This patch remove goto feature from wlan_initialize_threads function. Goto feature is 'wilc->close=0' & return result. So, remove goto feature and it was replaced with the return value directly, as well as removed unused ret variable. Also, execute 'wilc->close=0' before return. Si

[PATCH 28/38] staging: wilc1000: fixes braces {} should be used on all arms of this statement

2015-11-02 Thread Glen Lee
From: Leo Kim This patch fixes the checks reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/d

[PATCH 29/38] staging: wilc1000: remove goto from linux_wlan_start_firmware

2015-11-02 Thread Glen Lee
From: Leo Kim This patch remove goto feature from linux_wlan_start_firmware function. Goto feature is return result. So, remove goto functions and it was replaced with the return value directly. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 5 ++---

[PATCH 34/38] staging: wilc1000: rename Set_machw_change_vir_if function

2015-11-02 Thread Glen Lee
From: Leo Kim This patch rename Set_machw_change_vir_if function to set_machw_change_vir_if to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6

[PATCH 23/38] staging: wilc1000: rename function GetIfHandler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames GetIfHandler function name to get_if_handler to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/

[PATCH 27/38] staging: wilc1000: rename pBSSID of function linux_wlan_set_bssid

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pBSSID of function linux_wlan_set_bssid to bssid to avoid CamelCase naming convention. Also, prototype linux_wlan_set_bssid in wilc_wfi_cfgoperations.c is moved to wilc_wfi_netdevice.h. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc100

[PATCH 19/38] staging: wilc1000: remove extern function in c file and move it to header file.

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes extern resolve_disconnect_aberration in c file and move it to proper header file. Rename argument also to match with declaration. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/wilc1000/linu

[PATCH 22/38] staging: wilc1000: remove do-nothing if condition case.

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes do-nothing if condition case. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 72

[PATCH 20/38] staging: wilc1000: remove warnings line over 80 characters

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 40 +++ 1 file changed, 27 insertions(+), 13 deletions(-) diff --git

[PATCH 25/38] staging: wilc1000: rename Bssid of function get_if_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames Bssid of function get_if_handler to bssid to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/stag

[PATCH 24/38] staging: wilc1000: rename pMacHeader of function get_if_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pMacHeader of function get_if_handler to mac_header to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/

[PATCH 26/38] staging: wilc1000: rename Bssid1 of function get_if_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames Bssid1 of function get_if_handler to bssid1 to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/st

linux-wireless@vger.kernel.org

2015-11-02 Thread Glen Lee
From: Leo Kim This patch fixes add to spaces around that '&&' or '||'. Reported by checkpatch.pl for spaces required around that '&&' or '||' (ctx:VxE). Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 5 ++--- 1 file changed, 2 insertions(+), 3 dele

[PATCH 14/38] staging: wilc1000: rename pstrWFIDrv of function mac_close

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function mac_close to hif_drv to avoid CamelCase naming convention. And, some debug print modification that has been included name 'pstrWFIDrv'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8

[PATCH 18/38] staging: wilc1000: linux_wlan: remove unused defines

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes unused defines from linux_wlan.c file. - NM73131 - PLAT_CLM9722 Two defines are support custom feature that don't used anymore. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 ++ 1 file changed, 2 insert

[PATCH 17/38] staging: wilc1000: linux_wlan.c: clean up comments

2015-11-02 Thread Glen Lee
From: Leo Kim There are over-commenting in the linux_wlan.c file and most of them are not helpful to explain what the code does and generate 80 ending line over warnings. So, all of comments and commented codes are removed in this patch. Comment will be added if necessary with the preferred Linux

[PATCH 16/38] staging: wilc1000: fixes blank lines aren't necessary brace

2015-11-02 Thread Glen Lee
From: Leo Kim This patch fixes the checks reported by checkpatch.pl for Blank lines aren't necessary after an open brace '{' and Blank lines aren't necessary before a close brace '}'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 21 ---

[PATCH 10/38] staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM

2015-11-02 Thread Glen Lee
From: Leo Kim This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/stag

[PATCH 15/38] staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pIP_Add_buff of function dev_state_ev_handler to ip_addr_buf to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-

[PATCH 06/38] staging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames strHostIFCfgParamAttr of fuction Handle_CfgParam to cfg_param_attr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 154 -- 1 file changed, 83 inser

[PATCH 12/38] staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 11/38] staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-)

[PATCH 08/38] staging: wilc1000: rename gau8MulticastMacAddrList variable

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/linux_wlan.c | 11 -

[PATCH 07/38] staging: wilc1000: remove return type of Handle_wait_msg_q_empty

2015-11-02 Thread Glen Lee
From: Leo Kim This patch changes return type of Handle_wait_msg_q_empty from s32 with void because return value is not used. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drive

[PATCH 13/38] staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --gi

[PATCH 09/38] staging: wilc1000: replace explicit NULL comparisons with !

2015-11-02 Thread Glen Lee
From: Leo Kim This patch replace explicit NULL comparison with ! or unmark operator to simplify code. Reported by checkpatch.pl for comparison to NULL could be written "!XXX" or "XXX". Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 45 +

[PATCH 04/38] staging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfSetMacAddress of fuction Handle_SetMacAddress to set_mac_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 05/38] staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress to get_mac_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 02/38] staging: wilc1000: rename firmwareIPAddress of fuction Handle_set_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames firmwareIPAddress of fuction Handle_set_IPAddress to firmware_ip_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pu8IPAddr of fuction Handle_set_IPAddress to ip_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --

[PATCH 03/38] staging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes parameter pu8IPAddr of fuction Handle_get_IPAddress because it is not used in the function. Remove argument in the function call also. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 inse

Re: [WEXT/nl80211] few API questions

2015-11-02 Thread Johannes Berg
> The iw code has been helpful, and I have used bits of it so far. When it comes > to kernel components, though, I don't understand that code well enough; so I'd > appreciate help with the following: > > 1. Signal Level Units > This refers to station signal level in status ASSOCIATED, AUTHEN

[PATCH 2/2] ath10k: Fix peerid configuration in htt tx desc for htt version < 3.4

2015-11-02 Thread Vasanthakumar Thiagarajan
Of a word in struct htt_data_tx_desc htt version >= 3.4 firmware uses LSB 16-bit for frequency configuration which is used for offchannel tx and MSB 16-bit is for peerid. But other firmwares using version 2.X (10.1, 10.2.2, 10.2.4 and 10.4) are using 32-bit for peerid in htt tx desc. So far no issu

[PATCH 1/2] ath10k: Fix peer assoc complete WMI command for 10.4

2015-11-02 Thread Vasanthakumar Thiagarajan
There is an extra 4-byte member when compared to WMI 10.2 added to assoc complete command in WMI 10.4. This new member is used for 160Mhz related configuration. This WMI command mismatch between host and firmware does not cause any real issues because this new member is not used in 10.4 firmwares s

[PATCH] rtl8xxxu: rtl8192eu: Map out EFUSE TX power area

2015-11-02 Thread Jakub Sitnicki
TX power values are laid out differently in EFUSE found in RTL8192EU & RTL8188EU devices. TX power indices and differences for each RF path are not interleaved (A, B, A, B), as in other chips, but follow one another (A, B, C, D). Signed-off-by: Jakub Sitnicki --- Jes, I reckon this is as "pret