[PATCH 1/1] version.sh: update to get version with git correctly

2016-05-02 Thread Yongqin Liu
update to get the version information from the git repository where this file is located instead of the the current directory where it is executed, otherwise if there is .git directory in the current directory, it will get the wrong version information. And improved the version check since the

Re: [PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread Ben Greear
On 05/02/2016 02:23 PM, Johannes Berg wrote: + if (vhtc->cap & IEEE80211_VHT_CAP_ ## a)+ p += scnprintf(p, sizeof(buf) + buf - p, \ + "\t\t%s\n", b); Why not use #a instead of b? +

Re: [PATCH v2] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread Johannes Berg
On Mon, 2016-05-02 at 14:23 -0700, gree...@candelatech.com wrote: > From: Ben Greear > > This makes it a lot easier to understand the capabilities used > by the station: > > VHT supported > cap: 0x300819b2 > MAX-MPDU-11454 > RXLDPC >

Re: [PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread Johannes Berg
> + if (vhtc->cap & IEEE80211_VHT_CAP_ ## a)+ > p += scnprintf(p, sizeof(buf) + buf > - p, \ > +    "\t\t%s\n", b); Why not use #a instead of b? > + PFLAG(MAX_MPDU_LENGTH_3895,

[PATCH v2] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread greearb
From: Ben Greear This makes it a lot easier to understand the capabilities used by the station: VHT supported cap: 0x300819b2 MAX-MPDU-11454 RXLDPC SHORT-GI-80 TXSTBC RXSTBC_1

[PATCH] mac80211: add vht cap decode to debugfs.

2016-05-02 Thread greearb
From: Ben Greear This makes it a lot easier to understand the capabilities used by the station: VHT supported cap: 0x300819b2 MAX-MPDU-11454 RXLDPC SHORT-GI-80 TXSTBC RXSTBC_1

Re: [PATCH] wext: remove a/b/g/n from SIOCGIWNAME

2016-05-02 Thread Johannes Berg
On Tue, 2016-04-26 at 09:35 +0200, Johannes Berg wrote: > From: Johannes Berg > > Since a/b/g/n no longer exist as spec amendements and VHT (ex > 802.11ac) > wasn't handled at all, it's better to just remove the amendment > strings > to avoid confusion. > Applied.

Re: [PATCH v2] rtlwifi: Fix logic error in enter/exit power-save mode

2016-05-02 Thread Larry Finger
On 05/02/2016 11:38 AM, Wang YanQing wrote: In commit a269913c52ad ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue"), the tests for enter/exit power-save mode were inverted. With this change applied, the wifi connection becomes much more stable. Fixes: a269913c52ad

[PATCH v3 RESEND 2/2] ath10k: Remove debugfs support for Per STA total rx duration

2016-05-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan cfg80211/nl80211 interface changes for per STA total rx-duration and very basic 'ath10k_sta_statistics' mac80211 callback is implemented to extend support for per station statistics from the driver. Also provision in 'iw dev wlan#N

[PATCH v3 RESEND 1/2] ath10k: Add support for ath10k_sta_statistics support

2016-05-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Enable support for 'drv_sta_statistics' callback. Export rx_duration support if available to cfg80211/nl80211 This can also act as a placeholder for any new per STA stats support Signed-off-by: Mohammed Shafi Shajakhan

[PATCH] ath9k: Remove empty test condition

2016-05-02 Thread Eduardo Abinader
Just some code cleanup to remove an empty if clause. Signed-off-by: Eduardo Abinader --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

Re: [PATCH] rtlwifi:rtl_watchdog_wq_callback: fix calling rtl_lps_enter|rtl_lps_leave in opposite condition

2016-05-02 Thread Larry Finger
On 05/02/2016 12:37 AM, Wang YanQing wrote: Commit a269913c52ad37952a4d9953bb6d748f7299c304 ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue") make a mistake, change the meaning of num_tx|rx_inperiod comparison test. Commit fd09ff958777cf583d7541f180991c0fc50bd2f7

[RESEND PATCH 2/3] rfkill: Userspace control for airplane mode

2016-05-02 Thread João Paulo Rechi Vita
From: João Paulo Rechi Vita Provide an interface for the airplane-mode indicator be controlled from userspace. User has to first acquire the control through RFKILL_OP_AIRPLANE_MODE_INDICATOR_ACQUIRE and keep the fd open for the whole time it wants to be in control of the

[RESEND PATCH 0/3] RFKill airplane-mode indicator

2016-05-02 Thread João Paulo Rechi Vita
This series implements an airplane-mode indicator LED trigger, which can be used by platform drivers. By default the trigger fires on RFKILL_OP_CHANGE_ALL, but this policy can be overwritten by userspace using the new operations _AIRPLANE_MODE_INDICATOR_ACQUIRE and _AIRPLANE_MODE_INDICATOR_CHANGE.

[RESEND PATCH 1/3] rfkill: Create "rfkill-airplane-mode" LED trigger

2016-05-02 Thread João Paulo Rechi Vita
From: João Paulo Rechi Vita This creates a new LED trigger to be used by platform drivers as a default trigger for airplane-mode indicator LEDs. By default this trigger will fire when RFKILL_OP_CHANGE_ALL is called for all types (RFKILL_TYPE_ALL), setting the LED brightness

[RESEND PATCH 3/3] rfkill: Notify userspace of airplane-mode state changes

2016-05-02 Thread João Paulo Rechi Vita
From: João Paulo Rechi Vita Signed-off-by: João Paulo Rechi Vita --- Documentation/rfkill.txt| 3 +++ include/uapi/linux/rfkill.h | 4 ++-- net/rfkill/core.c | 13 + 3 files changed, 18 insertions(+), 2 deletions(-) diff

[ANN] wireless-regdb: master-2016-05-02

2016-05-02 Thread Seth Forshee
A new release of wireless-regdb (master-2016-05-02) is available at: https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2016.05.02.tar.gz The short log of changes since the 2015-02-08 release is below. Thanks, Seth --- Anne Marcel Roorda (1): Update regulatory

Re: wireless-regdb: Update regulatory references for Germany (DE)

2016-05-02 Thread Seth Forshee
On Mon, Apr 25, 2016 at 03:09:48PM +0200, Maximilian Engelhardt wrote: > Hi, > > The "Frequenznutzungsplan" is not really a good reference as it's a list > of all frequency allocations and does only list basic information about > the allocation. This patch changes the comments to reference

Re: Update regulatory rules for NL as per ETSI EN 300 440-1

2016-05-02 Thread Seth Forshee
On Fri, Apr 22, 2016 at 02:36:13PM +0200, Anne Marcel Roorda wrote: > > Hi, > > Below the patch to include SRD as per ETSI EN 300 440-1 > for NL. > > Thanks, > > - marcel > > Signed-off-by: Anne Marcel Roorda Applied, thanks. -- To unsubscribe from this list: send

Re: wireless-regdb: Update regulatory rules for Germany (DE) on 5GHz

2016-05-02 Thread Seth Forshee
On Thu, Apr 21, 2016 at 08:08:46PM +0200, Maximilian Engelhardt wrote: > On Thursday 21 April 2016 08:19:38 Seth Forshee wrote: > > On Tue, Apr 19, 2016 at 08:03:16PM +0200, Maximilian Engelhardt wrote: > > > Hi, > > > > > > In Europe ETSI standardized the used for short range devices (SRD) [1]

pull-request: wireless-drivers-next 2016-05-02

2016-05-02 Thread Kalle Valo
Hi Dave, another pull request for 4.7. Nothing really special, from the diffstat stands out a new bindings document for Marvell but I can't think of anything else special worth mentioning. Please let me know if there are any problems. Kalle The following changes since commit

[PATCH 4/7] staging: wilc1000: fix comparison style of if statement in handle_get_ip_address

2016-05-02 Thread Chaehyun Lim
This patch changes conditional comparison of if statement as if (ret) instead of using if (ret != 0) Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/7] staging: wilc1000: rename result in handle_get_ip_address

2016-05-02 Thread Chaehyun Lim
This patch renames result to ret that is used to get return value from wilc_send_config_pkt. Some handle_*() functions are used as result, others are used as ret. It will be changed as ret in all handle_*() functions to match variable name. Signed-off-by: Chaehyun Lim ---

[PATCH 2/7] staging: wilc1000: change data type of result in handle_get_ip_address

2016-05-02 Thread Chaehyun Lim
This patch changes data type of result variable from s32 to int. result is used to get return value from wilc_send_config_pkt that has return type of int. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/7] staging: wilc1000: change handle_get_ip_address's return type to void

2016-05-02 Thread Chaehyun Lim
When handle_get_ip_address is called in hostIFthread that is a kernel thread, it is not checked return type of this function. This patch changes return type to void and removes braces if statement due to have a single statement. Signed-off-by: Chaehyun Lim ---

[PATCH 5/7] staging: wilc1000: change handle_get_mac_address's return type to void

2016-05-02 Thread Chaehyun Lim
When handle_get_mac_address is called in hostIFthread that is a kernel thread, it is not checked return type of this function. This patch changes return type to void and removes braces if statement due to have a single statement. Signed-off-by: Chaehyun Lim ---

[PATCH 6/7] staging: wilc1000: change data type of result in handle_get_mac_address

2016-05-02 Thread Chaehyun Lim
This patch changes data type of result variable from s32 to int. result is used to get return value from wilc_send_config_pkt that has return type of int. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 7/7] staging: wilc1000: rename result in handle_get_mac_address

2016-05-02 Thread Chaehyun Lim
This patch renames result to ret that is used to get return value from wilc_send_config_pkt. Some handle_*() functions are used as result, others are used as ret. It will be changed as ret in all handle_*() functions to match variable name. Signed-off-by: Chaehyun Lim ---

Re: [PATCH 1/1] iw: Android.mk & version.sh: update for Android based compilation

2016-05-02 Thread Johannes Berg
On Fri, 2016-04-29 at 09:26 +1000, Julian Calaby wrote: > > + > > +# Silence some warnings for now. Needs to be fixed upstream. > > b/26105799 > Comments like this worry me: who is being referred to as "upstream", > what are these warnings and why has nobody fixed them? > It's funny, because

[PATCH] rtlwifi:rtl_lps_enter: fix double check cnt_after_linked

2016-05-02 Thread Wang YanQing
We have checked cnt_after_linked in below code: " /*sleep after linked 10s, to let DHCP and 4-way handshake ok enough!! */ if (mac->cnt_after_linked < 5) return; " So the second check isn't necessary. This patch delete second check code. Signed-off-by: Wang YanQing