Re: [PATCH 1/1 net-next] mac80211: remove unnecessary null test before debugfs_remove

2014-10-22 Thread Johannes Berg
On Tue, 2014-10-21 at 22:05 +0200, Fabian Frederick wrote: I can also resubmit patch if necessary. No worries, I've already applied the patch (with a modified commit message). johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to

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

2014-10-22 Thread Michal Kazior
On 21 October 2014 17:10, Li, Yanbo yan...@qti.qualcomm.com wrote: -Original Message- From: Michal Kazior [mailto:michal.kaz...@tieto.com] On 20 October 2014 18:38, Yanbo Li yan...@qti.qualcomm.com wrote: [...] 2. Read the value from mem value, the output is binary format IE:

[PATCH 0/2] ath9k patches

2014-10-22 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com Initval updates for AR9580 and AR955x. $ ./verify_checksums.sh ar955x-1p0 b98d3c01075feed8b7154f5bfa8f122268cbe3c7 pass ar9580-1p0 c7c799f2a30aff70b2125ea06cef23d1529c38fa fail +03f9364192c676aa398e7da84e31f9db33ae2da4

[PATCH 2/2] ath9k: Update AR955x initvals

2014-10-22 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com * Fix a 11b/EVM issue by adjusting FIR filter coefficients. * Fix a problem with receiving probe request frames sent at 11b rate. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---

[PATCH 1/2] ath9k: Update AR9580 initvals

2014-10-22 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com This fixes RX sensitivity issues with AR9580. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- .../net/wireless/ath/ath9k/ar9580_1p0_initvals.h | 144 - 1 file changed, 143 insertions(+), 1 deletion(-) diff

Re: [PATCH 1/2] ath10k: remove tsf argument from rx_desc tracing

2014-10-22 Thread Michal Kazior
On 21 October 2014 15:54, Michal Kazior michal.kaz...@tieto.com wrote: Fundamtenally this was wrong. Tsf is only valid in first MPDU of a PPDU. This means tsf value was s/first MPDU/last MPDU/ I must've had a brain fart when writing the commit log yesterday. @Kalle: Should I re-spin or will

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 10:56 PM, Laurențiu Nicola lnic...@dend.ro wrote: Yep! `scb_timeout` is 60 on my router. On Tue, Oct 21, 2014, at 14:00, poma wrote: On 21.10.2014 10:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from

[PATCH] mac80211: add stations in order to the station list

2014-10-22 Thread Emmanuel Grumbach
From: Arik Nemtsov a...@wizery.com During reconfig the station list is traversed in order and station are added back to the driver. Make sure the stations are added to the driver in the same order they were added to mac80211. This has a real side effect - some drivers (iwlwifi) require TDLS

[PATCH] mac80211: expose TDLS-initiator value to low level driver

2014-10-22 Thread Emmanuel Grumbach
From: Arik Nemtsov a...@wizery.com Some drivers need to know which station is the TDLS link initiator. Expose this value via the mac80211 ieee80211_sta structure. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com ---

Re: Change channel bandwidth without iw command

2014-10-22 Thread Michal Kazior
On 22 October 2014 12:14, Okhwan Lee oh...@mwnl.snu.ac.kr wrote: Hi, We are trying to implement a protocol to evaluate the performance our algorithm using QCA9880. To implement our protocol, a receiver have to change the bandwidth when a Action frame (what we define) is successfully

Re: [PATCH v2 11/13] ath5k: revert AHB bus support removing

2014-10-22 Thread Bob Copeland
On Wed, Oct 22, 2014 at 03:03:49AM +0400, Sergey Ryazanov wrote: This reverts commit 093ec3c5337434f40d77c1af06c139da3e5ba6dc. AHB bus code has been removed, since we did not have support Atheros AR231x SoC, required for building the AHB version of ath5k. Now that support WiSoC chips added

[PATCH] mac80211: Export IE split function

2014-10-22 Thread Emmanuel Grumbach
From: Andrei Otcheretianski andrei.otcheretian...@intel.com Export ieee80211_ie_split function, so it can be reused by drivers which require to insert additional elements. Signed-off-by: Andrei Otcheretianski andrei.otcheretian...@intel.com Signed-off-by: Emmanuel Grumbach

[PATCH] ath: use CTL region from cfg80211 if unset in EEPROM

2014-10-22 Thread Felix Fietkau
Many AP devices do not have the proper regulatory domain programmed in EEPROM. Instead they expect the software to set the appropriate region. For these devices, the country code defaults to US, and the driver uses the US CTL tables as well. On devices bought in Europe this can lead to tx power

[PATCH 0/3] Fix rtl8192cu in 3.18-rc1

2014-10-22 Thread Karsten Wiese
In 3.18-rc1 the rtl8192cu driver does not register a wlan%d device. Attached patches fix that and the oopses I encountered. Here the driver works again driving a device as station to a 802.11g access point. Regards, Karsten -- To unsubscribe from this list: send the line unsubscribe

[PATCH 3/3] rtl8192cu: Prevent Ooops under rtl92c_set_fw_rsvdpagepkt

2014-10-22 Thread Karsten Wiese
rtl92c_set_fw_rsvdpagepkt is used by rtl8192cu and its pci sibling rtl8192ce. rtl_cmd_send_packet crashes when called inside rtl8192cu because it works on memory allocated only by rtl8192ce. Fix the crash by calling a dummy function when used in rtl8192cu. Comparision with the realtek vendor

[PATCH 2/3] rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe

2014-10-22 Thread Karsten Wiese
In a previous patch the call to ieee80211_register_hw was moved from the load firmware callback to the rtl_pci_probe only. rt8192cu also uses this callback. Currently it doesnt create a wlan%d device. Fill in the call to ieee80211_register_hw in rtl_usb_probe. Signed-off-by: Karsten Wiese

[PATCH 1/3] rtl8192cu: Fix for rtlwifi's bluetooth coexist functionality

2014-10-22 Thread Karsten Wiese
Initialize function pointer with a function indicating bt coexist is not there. Prevents Ooops. Signed-off-by: Karsten Wiese fzu...@googlemail.com --- drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH v5 0/4] add VHT support to minstrel_ht

2014-10-22 Thread Karl Beldan
On Tue, Oct 21, 2014 at 08:47:26PM +0200, Johannes Berg wrote: On Tue, 2014-10-21 at 17:26 +0200, Karl Beldan wrote: I still don't know why I don't see the smatch array warnings here, I guess I'll live with that for now. I'm hoping Dan will eventually pick up on it ;-) smatch is good,

Re: [PATCH v5 0/4] add VHT support to minstrel_ht

2014-10-22 Thread Johannes Berg
On Wed, 2014-10-22 at 15:54 +0200, Karl Beldan wrote: On Tue, Oct 21, 2014 at 08:47:26PM +0200, Johannes Berg wrote: On Tue, 2014-10-21 at 17:26 +0200, Karl Beldan wrote: I still don't know why I don't see the smatch array warnings here, I guess I'll live with that for now. I'm

Re: [PATCH v5 0/4] add VHT support to minstrel_ht

2014-10-22 Thread Karl Beldan
On Wed, Oct 22, 2014 at 04:07:31PM +0200, Johannes Berg wrote: On Wed, 2014-10-22 at 15:54 +0200, Karl Beldan wrote: On Tue, Oct 21, 2014 at 08:47:26PM +0200, Johannes Berg wrote: On Tue, 2014-10-21 at 17:26 +0200, Karl Beldan wrote: I still don't know why I don't see the smatch

[PATCH] mac80211: add support for driver tx power reporting

2014-10-22 Thread Felix Fietkau
The configured tx power is often limited by hardware capabilities, channel settings, antenna configuration, etc. Signed-off-by: Felix Fietkau n...@openwrt.org --- include/net/mac80211.h | 5 + net/mac80211/cfg.c | 3 +++ 2 files changed, 8 insertions(+) diff --git

Block ACK without frame aggregation

2014-10-22 Thread Ali Abedi
Hello, I am interested to know if we can send multiple packets (non-aggregated, single packets) and then ask for a block ACK? I like to know if this functionality has been implemented in ath9k or if it is possible to achieve this with slight code modifications. What I need:

Re: [PATCH v2 1/6] cfg80211: support creating wiphy with suggested name.

2014-10-22 Thread Ben Greear
On 10/21/2014 01:10 PM, Ben Greear wrote: On 10/21/2014 12:31 PM, Johannes Berg wrote: /* give it a proper name */ - dev_set_name(rdev-wiphy.dev, PHY_NAME %d, rdev-wiphy_idx); + if (requested_name requested_name[0]) { + struct cfg80211_registered_device *rdev2; +

[PATCH] ath9k_common: always update value in ath9k_cmn_update_txpow

2014-10-22 Thread Felix Fietkau
In some cases the limit may be the same as reg-power_limit, but the actual value that the hardware uses is not up to date. In that case, a wrong value for current tx power is tracked internally. Fix this by unconditionally updating it. Signed-off-by: Felix Fietkau n...@openwrt.org ---

[PATCH] mac80211: minstrel_ht: use group flags instead of index to display rates

2014-10-22 Thread Karl Beldan
From: Karl Beldan karl.bel...@rivierawaves.com When displaying a rate through debugfs minstrel_ht guesses its flags comparing group indexes. Since 3ec373c421b6 (mac80211: minstrel_ht: include type (cck/ht) in rates flag), the rate flags of interest are present in the mcs_group-s, so use it.

Re: [PATCH 1/3] rtl8192cu: Fix for rtlwifi's bluetooth coexist functionality

2014-10-22 Thread Larry Finger
On 10/22/2014 08:47 AM, Karsten Wiese wrote: Initialize function pointer with a function indicating bt coexist is not there. Prevents Ooops. Signed-off-by: Karsten Wiese fzu...@googlemail.com --- I have been working on a better fix; however, I am traveling and unable to finish testing it. As

Re: [PATCH 3/3] rtl8192cu: Prevent Ooops under rtl92c_set_fw_rsvdpagepkt

2014-10-22 Thread Larry Finger
On 10/22/2014 08:47 AM, Karsten Wiese wrote: rtl92c_set_fw_rsvdpagepkt is used by rtl8192cu and its pci sibling rtl8192ce. rtl_cmd_send_packet crashes when called inside rtl8192cu because it works on memory allocated only by rtl8192ce. Fix the crash by calling a dummy function when used in

[PATCH] ath10k: add SURVEY_INFO_IN_USE for current channel on survey

2014-10-22 Thread Felix Fietkau
Signed-off-by: Felix Fietkau n...@openwrt.org --- drivers/net/wireless/ath/ath10k/mac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 4670930..bc440dc 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c

[PATCH v3 3/9] cfg80211: support creating wiphy with suggested name

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com Kernel will attempt to use the name if it is supplied, but if name cannot be used for some reason, the default phyX name will be used instead. Signed-off-by: Ben Greear gree...@candelatech.com --- include/net/cfg80211.h | 23 +++-

[PATCH v3 1/9] mac80211-hwsim: add ethtool stats support

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com This gives a view into packet activity at the virtual radio level. Signed-off-by: Ben Greear gree...@candelatech.com --- drivers/net/wireless/mac80211_hwsim.c | 75 ++- 1 file changed, 74 insertions(+), 1 deletion(-) diff

[PATCH v3 9/9] mac80211: support creating vifs with specified mac address

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com This is useful when creating virtual interfaces. Signed-off-by: Ben Greear gree...@candelatech.com --- net/mac80211/iface.c | 5 - net/mac80211/main.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net/mac80211/iface.c

[PATCH v3 8/9] cfg80211: support configuring vif mac addr on create

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com This is useful when creating virtual interfaces. Keeps udev from mucking with things it shouldn't, since the default MAC is never seen by udev when specified on the cmd-line during creation. Signed-off-by: Ben Greear gree...@candelatech.com ---

[PATCH v3 6/9] mac80211: support creating wiphy w/out creating wlanX

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com This will be helpful when using the mac80211_hwsim wiphys and automated testing. Let user create the vifs as needed, and named as expected. Signed-off-by: Ben Greear gree...@candelatech.com --- include/net/mac80211.h | 7 ++- net/mac80211/main.c

[PATCH v3 5/9] mac80211-hwsim: support creating radios with specific name

2014-10-22 Thread greearb
From: Ben Greear gree...@candelatech.com Otherwise, it can be very difficult to know which is which if you are trying to do detailed testing. Signed-off-by: Ben Greear gree...@candelatech.com --- drivers/net/wireless/mac80211_hwsim.c | 13 + 1 file changed, 9 insertions(+), 4

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Laurențiu Nicola
Nope. It seems that code doesn't get executed when my issue occurs (or in my five or ten minutes of uptime). I've seen `ieee80211_reset_ap_probe` get called by `ieee80211_rx_mgmt_probe_resp`, but (if I'm not wrong) not on every disconnect. And as far as I can tell, force_cam is set to true.

Possible wireless issue introduced in next-20140930

2014-10-22 Thread Murilo Opsfelder Araujo
also tested with next-20141022 and v3.18-rc1 and no luck. git bisect pointed me to the commit below [1]. My wireless card is a RTL8191SEvA [2]. I need your help to troubleshoot this. Thanks in advance. [1] commit 38506ecefab911785d5e1aa5889f6eeb462e0954 Author: Larry Finger larry.fin

Re: [ath9k-devel] Block ACK without frame aggregation

2014-10-22 Thread Adrian Chadd
I don't think mac80211 supports delayed-BA. :( -adrian On 22 October 2014 08:38, Ali Abedi a2ab...@uwaterloo.ca wrote: Hello, I am interested to know if we can send multiple packets (non-aggregated, single packets) and then ask for a block ACK? I like to know if this functionality has

Re: [ath9k-devel] Block ACK without frame aggregation

2014-10-22 Thread Kamran Nishat
I think you should look in earlier drivers from Atheors. Because this delayed BA for separate packets was introduced before 802.11n in 802.11e perhaps. On Thu, Oct 23, 2014 at 8:18 AM, Adrian Chadd adr...@freebsd.org wrote: I don't think mac80211 supports delayed-BA. :( -adrian On 22

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Emmanuel Grumbach
On Thu, Oct 23, 2014 at 12:53 AM, Laurențiu Nicola lnic...@dend.ro wrote: Nope. It seems that code doesn't get executed when my issue occurs (or in my five or ten minutes of uptime). I've seen `ieee80211_reset_ap_probe` get called by `ieee80211_rx_mgmt_probe_resp`, but (if I'm not wrong) not

Re: Possible wireless issue introduced in next-20140930

2014-10-22 Thread Mike Galbraith
splash screen). It was working pretty fine with next-20140926. I've also tested with next-20141022 and v3.18-rc1 and no luck. git bisect pointed me to the commit below [1]. My wireless card is a RTL8191SEvA [2]. Mine is RTL8191SEvB. I was going to bisect RTL8191SE regression when I