Re: Question about debugging mac80211 without printk

2014-09-26 Thread Michal Kazior
On 25 September 2014 18:54, Pink p...@informatik.tu-cottbus.de wrote: Hi, actually if have the following problem, if have a lot of debug messages using printk inside the mac layer but if there is a critical bug in the source code of the mac80211 module the system goes into kernel panic state

occasional drops of packets and then recovery

2014-09-26 Thread Sourav
Hi All, We are using Ralink chip RT3072L (using rt2800usb drivers rt2800usb.c), mac80211, and hostapd in our routers. root:~# lsmod Module Size Used byTainted: P rt2800usb 15371 0 rt2800lib 74214 1 rt2800usb rt2x00usb 9718 1

Re: Ubuntu 14.04 and the Intel(R) Centrino(R) Advanced-N 6200

2014-09-26 Thread Matt Chen
Are you able to provide the /var/log/syslog or dmesg command result here ? 2014-09-26 3:44 GMT+08:00 Keno Brüggemann p...@kenobrueggemann.de: Hello, i switched from an Intel® Centrino® Wireless-N 1000 to the Intel® Centrino® Advanced-N 6200 Wireless Card Adapter. My System. Dell xps l701x,

Re: Ubuntu 14.04 and the Intel(R) Centrino(R) Advanced-N 6200

2014-09-26 Thread Keno Brüggemann
Hello, yes of course. I greped all iwl . Do you need more Data? dmesg | grep iwl [4.189028] iwlwifi: unknown parameter 'probe_wait_ms' ignored [4.189741] iwlwifi :04:00.0: can't disable ASPM; OS doesn't have ASPM control [4.189871] iwlwifi :04:00.0: irq 57 for MSI/MSI-X

ath9k: DFS pattern detector and ETSI EN 301 893 V1.7.1

2014-09-26 Thread Cedric VONCKEN
Hi, I will test my equipment with the ETSI standard EN 301 893 1.7.1. I looked the DFS pattern detector set in ath9k driver and the comment specifies it compliant with the ETSI standard in V1.5.1. If I correctly understood the ath9k source code and the ETSI EN

Re: Ubuntu 14.04 and the Intel(R) Centrino(R) Advanced-N 6200

2014-09-26 Thread Matt Chen
Hi, Any chance to try the latest firmware[1] and driver[2] build ? [1] http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/, should be iwlwifi-6xxx series, not sure which specifically. You could try to copy all of them and reboot to reload. Use ethtool -i wlan0, if your

Re: [PATCH v2 0/3] ath10k: debug improvements

2014-09-26 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: Hi, This adds extra prints and information for debugging purposes. v2: * merge scnprintfs Michal Kazior (3): ath10k: print wmi version info ath10k: dump hex bytes with dev string prefix ath10k: add debug dump for pci rx Thanks,

Re: [PATCH 0/4] ath10k: fix/cleanup fw stats

2014-09-26 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: Hi, This cleans up and fixes fw stats aggregation. Michal Kazior (4): ath10k: split wmi stats parsing ath10k: rename fw_stats related stuff ath10k: request fw_stats once on open ath10k: fix fw stats processing I didn't review these

Re: [PATCH 0/4] ath10k: fix/cleanup fw stats

2014-09-26 Thread Michal Kazior
On 26 September 2014 13:06, Kalle Valo kv...@qca.qualcomm.com wrote: Michal Kazior michal.kaz...@tieto.com writes: Hi, This cleans up and fixes fw stats aggregation. Michal Kazior (4): ath10k: split wmi stats parsing ath10k: rename fw_stats related stuff ath10k: request fw_stats

Re: FIXMEs in rt2800lib.c

2014-09-26 Thread Nicholas Krause
On Fri, Sep 26, 2014 at 8:22 AM, Stanislaw Gruszka sgrus...@redhat.com wrote: On Thu, Sep 25, 2014 at 01:52:43PM -0400, nick wrote: I seem to be hitting to fix mes in the file I listed in the subject. Would someone tell me if it's Ok to remove the lines that over write certain registers.

Re: [PATCH 0/4] ath10k: fix/cleanup fw stats

2014-09-26 Thread Joe Perches
On Fri, 2014-09-26 at 13:14 +0200, Michal Kazior wrote: On 26 September 2014 13:06, Kalle Valo kv...@qca.qualcomm.com wrote: drivers/net/wireless/ath/ath10k/wmi.c:1513: WARNING: else is not generally useful after a break or return I'm aware of this one but the code looks nicer with the

[PATCH] bcma: use device from DT (brcm,bus-gpio) for SoC GPIO chip

2014-09-26 Thread Rafał Miłecki
This will allow us to define GPIO-attached devices (LEDs, buttons) in the the device tree. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- This is based on top of [PATCH v6] bcma: register bcma as device tree driver that I hope will reach wireless-next git tree. ---

Re: BCM4313 brcmsmac 3.12: only semi-working?

2014-09-26 Thread Arend van Spriel
On 09/26/14 16:26, Michael Tokarev wrote: Okay, so finally, today, without any updates from your side, I opened up the laptop again and inserted a newly bought Intel 6235ANHMW card instead of this creaky brcm4313. This card works right out of the box - plug it in and set up, both wifi and

Re: BCM4313 brcmsmac 3.12: only semi-working?

2014-09-26 Thread Michael Tokarev
26.09.2014 18:42, Arend van Spriel wrote: Being bold here, but would you be willing to send that non-working part of hardware to me. I seem to have 4313 cards over here that just work and it would help greatly investigating the issue. I guess you do not care that much anymore, but might be

Re: FIXMEs in rt2800lib.c

2014-09-26 Thread nick
On 14-09-26 09:32 AM, Nicholas Krause wrote: On Fri, Sep 26, 2014 at 8:22 AM, Stanislaw Gruszka sgrus...@redhat.com wrote: On Thu, Sep 25, 2014 at 01:52:43PM -0400, nick wrote: I seem to be hitting to fix mes in the file I listed in the subject. Would someone tell me if it's Ok to remove

Re: pull request: iwlwifi-next 2014-09-21

2014-09-26 Thread John W. Linville
On Sun, Sep 21, 2014 at 10:21:00PM +0300, Emmanuel Grumbach wrote: On 09/21/2014 10:15 PM, Emmanuel Grumbach wrote: Hi John, Here is another (last?) pull request for 3.18. I have here a few things that depend on the latest mac80211's changes: RRM, TPC, Quiet Period etc...

Re: Pull request: ath 20140923

2014-09-26 Thread John W. Linville
On Tue, Sep 23, 2014 at 12:26:58PM +0300, Kalle Valo wrote: Hi John, a new pull request just with ath10k changes this time. Changelog below and please let me know if there are any problems. -- The only new feature is

Re: pull request: bluetooth-next 2014-09-25

2014-09-26 Thread John W. Linville
On Thu, Sep 25, 2014 at 02:35:53PM +0300, Johan Hedberg wrote: Hi John, This 3.18 pull request replaces the one I did on Monday (bluetooth-next 2014-09-22, which hasn't been pulled yet). The additions since the last request are: - SCO connection fix for devices not supporting eSCO -

Re: [PATCH 3/3] mwifiex: remove unnecessary rx_q lock

2014-09-26 Thread John W. Linville
I only got 1/3 and 3/3 -- was there a 2/3 posted? On Thu, Sep 25, 2014 at 05:16:42PM +0530, Avinash Patil wrote: SKB lists have their own lock. So this lock is not needed. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/init.c | 1 -

Re: [PATCH] [RESEND] ath5k: Remove AHB bus support

2014-09-26 Thread John W. Linville
OK, I'm merging this... On Wed, Sep 10, 2014 at 10:53:41AM +0200, Paul Bolle wrote: AHB bus support was added in v2.6.38, through commit a0b907ee2a71 (ath5k: Add AHB bus support.). That code can only be build if the Kconfig symbol ATHEROS_AR231X is set. But that symbol has never been added to

Re: [PATCH V2 1/2] brcm80211: use container_of to resolve brcms_phy from brcms_phy_pub

2014-09-26 Thread John W. Linville
These two patches don't seem to apply on wireless-next, and I don't have time at the moment to fix them up. Feel free to repost... On Mon, Sep 15, 2014 at 09:30:46PM +0200, Fabian Frederick wrote: Use container_of instead of casting first structure member. Acked-by: Arend van Spriel

Re: pull request: wireless-next 2014-09-22

2014-09-26 Thread David Miller
From: John W. Linville linvi...@tuxdriver.com Date: Mon, 22 Sep 2014 15:45:13 -0400 Please pull this batch of updates intended for the 3.18 stream... Pulled, thanks so much John. -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to

[PATCH 5/7] mac80211: add post_channel_switch driver operation

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com As a counterpart to the pre_channel_switch operation, add a post_channel_switch operation. This allows the drivers to go back to a normal configuration after the channel switch is completed. Signed-off-by: Luciano Coelho luciano.coe...@intel.com ---

[PATCH 2/7] mac80211: add device_timestamp to the ieee80211_channel_switch struct

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Some devices may need the device timestamp in order to synchronize the channel switch. To pass this value back to the driver, add it to the channel switch structure and copy the device_timestamp value received in the rx info structure into it.

[PATCH 6/7] mac80211: wait for the first beacon on the new channel after CSA

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Instead of immediately reopening the queues (in case of block_tx), calling the post_channel_switch operation and sending the notification, wait for the first beacon on the new channel. This makes sure that we don't lose packets if the AP/GO is not on

[PATCH 3/7] mac80211: add extended channel switching capability if the driver supports CSA

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com The Extended Channel Switching capability bit in the extended capabilities element must be set if the driver supports CSA on non-beaconing interfaces. Since this capability needs to be set during driver registration, the extended_capabiliities global

[PATCH 1/7] nl80211: sanity check the channel switch counter value

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com The nl80211 channel switch count attribute (NL80211_ATTR_CH_SWITCH_COUNT) is specified as u32, but the specification uses u8 for the counter. To make sure strange things don't happen without informing the user, sanity check the value and return

[PATCH 4/7] mac80211: add pre_channel_switch driver operation

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Some drivers may need to prepare for a channel switch also when it is initiated from the remote side (eg. station, P2P client). To make this possible, add a generic callback that can be called for all interface types. Signed-off-by: Luciano Coelho

[PATCH 0/7] mac80211: some more channel switch work

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Hi, These patches contain some more channel switch work. They have been in use in our internal tree for some time now and are mostly adding small details needed by the iwlmvm driver. There's also a nice improvement to a long-time TODO, where we

[PATCH 7/7] mac80211: allow channel switch with multiple channel contexts

2014-09-26 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Channel switch with multiple channel contexts should now work fine. Remove check that disallows switches when multiple contexts are in use. Signed-off-by: Luciano Coelho luciano.coe...@intel.com --- Note: the driver changes are only compile-tested.

Re: [PATCH 1/2] wireless: expose set-wiphy-name method to other modules.

2014-09-26 Thread Ben Greear
On 09/25/2014 04:59 PM, gree...@candelatech.com wrote: From: Ben Greear gree...@candelatech.com This will let hw-sim create wiphy objects with a specific name. This has an added whitespace that should not have been included, and next patch does not take rtnl before doing the rename. Will

[PATCH 0/7 NEXT] More updates for the rtlwifi-family of drivers

2014-09-26 Thread Larry Finger
This set of patches, which is intended for the 3.18 stream, converts more of the drivers to the 06/28/14 Realtek version, moves the driver for the RTL8192EE from staging to the regular wireless tree, and fixes some bugs found in the parts that have already been submitted. Signed-off-by: Larry

[PATCH 1/7 NEXT] rtlwifi: rtl8188ee: rtl8821ae: Fix a queue locking problem

2014-09-26 Thread Larry Finger
The code fails to lock the skb queue, which leads to a number of problems. This patch also fixes a Sparse warning about using a memset of 1 byte. Signed-off-by: Larry Finger larry.fin...@lwfinger.net Cc: troy_...@realsil.com.cn --- drivers/net/wireless/rtlwifi/rtl8188ee/fw.c | 2 +-

[PATCH 6/7 NEXT] rtlwifi: rtl8188ee: rtl8192com: rtl8192cu: rtl8192ee: rtl8723ae: rtl87323be: rtl8821ae: Use common cmd_send_packet

2014-09-26 Thread Larry Finger
A locking problem was found in routine _rtl92ee_cmd_send_packet() that led to system freezes. Upon inspection, several drivers had the same problem; however, the routines all used the same code. The common code has been moved into rtlwifi. Signed-off-by: Larry Finger larry.fin...@lwfinger.net ---

[PATCH v2 3/4] wireless: support creating wiphy w/out creating wlanX.

2014-09-26 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 wlan devs as needed, and named as expected. Signed-off-by: Ben Greear gree...@candelatech.com --- v2: New to the series, more help with automation.

[PATCH v2 1/4] wireless: expose set-wiphy-name method to other modules.

2014-09-26 Thread greearb
From: Ben Greear gree...@candelatech.com This will let hw-sim create wiphy objects with a specific name. Signed-off-by: Ben Greear gree...@candelatech.com --- v2: Fix checkpatch warnings (char * instead of char*) include/net/cfg80211.h | 5 + net/wireless/core.c| 9 + 2 files

[PATCH v2 4/4] hwsim: support creating wiphy w/out creating wlanX.

2014-09-26 Thread greearb
From: Ben Greear gree...@candelatech.com Good for automated testing, where user can create wlan interfaces with specified names. Signed-off-by: Ben Greear gree...@candelatech.com --- v2: New to the series, more help with automation. drivers/net/wireless/mac80211_hwsim.c | 15 ---

[PATCH v2 2/4] mac-sim: support creating radios with specific name.

2014-09-26 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 --- v2: Add rtnl lock around rename logic. drivers/net/wireless/mac80211_hwsim.c | 19

Re: ar9271 wifi usb

2014-09-26 Thread Luis R. Rodriguez
On Fri, Sep 12, 2014 at 6:00 PM, Geyslan Gregório Bem geys...@gmail.com wrote: Hi John and Sujith, Peter and Luis are CC. I'm having issues with my ath9k as you can see below. My card is constantly connecting and disconnecting from my SSID before it could get some IP (DHCP). I saw that

Re: ar9271 wifi usb

2014-09-26 Thread Oleksij Rempel
May be related to this bug: https://bugzilla.kernel.org/show_bug.cgi?id=78581 patch: https://www.mail-archive.com/linux-wireless@vger.kernel.org/msg00506.html Am 27.09.2014 um 01:25 schrieb Luis R. Rodriguez: On Fri, Sep 12, 2014 at 6:00 PM, Geyslan Gregório Bem geys...@gmail.com wrote: Hi