Re: CT ath10k firmware now supports IBSS + RSN

2015-08-18 Thread Sven Eckelmann
On Monday 17 August 2015 08:33:06 Ben Greear wrote: [...] * IBSS/RSN isn't working between ath10k-ath10k, ath9k-ath10k (works well between ath9k-ath9k) - the ath10k device doesn't seem to send its broadcast frames after the handshake finished (ath9k already tries to transmit

Re: mwl8k: refactor some conditionals for clarity

2015-08-18 Thread Kalle Valo
CC [M] drivers/net/wireless/mwl8k.o drivers/net/wireless/mwl8k.c: In function ‘mwl8k_bss_info_changed’: drivers/net/wireless/mwl8k.c:3290:2: warning: ‘ap_mcs_rates’ may be used uninitialized in this function [-Wmaybe-uninitialized] memcpy(cmd-mcs_set, mcs_rates, 16); ^

Re: [PATCH 5/5] staging: wilc1000: use id value as argument

2015-08-18 Thread Dan Carpenter
On Tue, Aug 18, 2015 at 12:10:53PM +0900, Johnny Kim wrote: Hello Dan. On 2015년 08월 13일 23:49, Dan Carpenter wrote: On Thu, Aug 13, 2015 at 01:41:23PM +0900, Tony Cho wrote: +static u32 get_id_from_handler(tstrWILC_WFIDrv *handler) +{ + u32 id; + + if (!handler) + return

Re: ath9k: add correct MAC/BB name for ar9561

2015-08-18 Thread Kalle Valo
From: Miaoqing Pan miaoq...@qca.qualcomm.com MAC/BB name is if the MAC/BB is unknown. Signed-off-by: Miaoqing Pan miaoq...@qca.qualcomm.com Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body

Re: [1/2,V2] wl18xx: update statistics acx and debugfs files

2015-08-18 Thread Kalle Valo
From: Eliad Peller el...@wizery.com Sync the driver statistics acx and debugfs representation with the current fw api. Signed-off-by: Eliad Peller el...@wizery.com Thanks, 2 patches applied to wireless-drivers-next.git: c48276cbbeae wl18xx: update statistics acx and debugfs files

pull request: iwlwifi-next 2015-08-18

2015-08-18 Thread Grumbach, Emmanuel
Hi Kalle, This is another pull request for 4.3. As usual, details in the tag. As announced, this needs patches from mac80211-next, so I merged Johanne's tag and you did so as well upon my request (thank you for that). Please pull and let me know if you have issues. The following changes since

[PATCH 06/26] iwlwifi: add new TLV capability flag for gscan support

2015-08-18 Thread Emmanuel Grumbach
From: Avraham Stern avraham.st...@intel.com Gscan is a scan feature which is supported on certain devices only, hence the need for a TLV flag for it. For devices that support gscan store the gscan capabilities advertised by the FW so the driver can report it to upper layers. Signed-off-by:

[PATCH 03/26] iwlwifi: pcie: dump RBs when FW error occurs

2015-08-18 Thread Emmanuel Grumbach
Add support for dumping all the RBs in the RX queue when FW error occurs. This will assist debugging. Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com --- drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h | 17 +++ drivers/net/wireless/iwlwifi/pcie/trans.c| 59

[PATCH 05/26] iwlwifi: Add max TX aggregation size for 8260 SDIO devices series

2015-08-18 Thread Emmanuel Grumbach
From: Alexander Bondar alexander.bon...@intel.com Set max TX aggregation size for 8260 SDIO devices series to 40 frames. Fine tune max RX aggregation size - change it to 21. Signed-off-by: Alexander Bondar alexander.bon...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com

Re: rt2x00: adjust EEPROM_SIZE for rt2500usb

2015-08-18 Thread Kalle Valo
rt2500usb_validate_eeprom() read data up to 0x6e (EEPROM_CALIBRATE_OFFSET) but only 0x6a bytes has been allocated and read from the eeprom. This lead to out-of-bound accesses and invalid values for EEPROM_BBPTUNE_R17 and EEPROM_CALIBRATE_OFFSET. Change the EEPROM_SIZE to 0x6e in order to

Re: rtlwifi: rtl8192cu: Remove pci check routine inrtl92c_enable_interrupt.

2015-08-18 Thread Kalle Valo
I change three things about below. 1. remove pci interface check routine in rtl92c_enable_interrupt because rtl8192cu chipset is always usb interface. 2. rename rtl92c_xxx_interrupt to rtl92cu_xxx_interrupt. rtl92c_xxx_interrupt functions can only be handled rtl8192cu chipset. 3.

Re: [PATCHv3] staging: wilc1000: use netdev_* instead of printk

2015-08-18 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 01:27:31AM -0400, Raphaël Beamonte wrote: 2015-08-18 0:24 GMT-04:00 Sudip Mukherjee sudipm.mukher...@gmail.com: + netdev_err([Sendconfigpkt]Get Timed out\n); This will not compile. you can not just replace printk with netdev_*, you need to

[PATCH 15/26] iwlwifi: mvm: remove partial and full scan lists from lmac sched scan

2015-08-18 Thread Emmanuel Grumbach
From: David Spinadel david.spina...@intel.com Lmac sched scan supports partial scans, so we can set some channels to be scanned on every scan iteration and others to be scanned only on some iterations. Currently we set all channels to be scanned every iteration, but still have some configuration

[PATCH 08/26] iwlwifi: mvm: add the ability to trigger only monitor dumps

2015-08-18 Thread Emmanuel Grumbach
From: Oren Givon oren.gi...@intel.com Change the FW debug trigger tlv to include a monitor only option. Setting this option to true will cause fw dump triggers to only collect monitor data and skip other dumps such as SMEM, SRAM, CSR, PRPH, etc. This option is used when accessing the different

[PATCH 20/26] iwlwifi: mvm: support TDLS wider-bandwidth

2015-08-18 Thread Emmanuel Grumbach
From: Arik Nemtsov a...@wizery.com When TDLS support is declared by the FW, set the bit indicating wider-BW support as well. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 1 + 1

[PATCH 10/26] iwlwifi: mvm: Add FW paging mechanism for the UMAC on SDIO

2015-08-18 Thread Emmanuel Grumbach
From: Matti Gottlieb matti.gottl...@intel.com Family 8000 products has 2 embedded processors, the first known as LMAC (lower MAC) and implements the functionality from previous products, the second one is known as UMAC (upper MAC) and is used mainly for driver offloads as well as new features.

[PATCH 22/26] iwlwifi: rs: disable MIMO only if allowed in configuration

2015-08-18 Thread Emmanuel Grumbach
From: Alexander Bondar alexander.bon...@intel.com Fix bug where MIMO is disabled for low latency TX on P2P VIF regardless of configuration. Make it dependent on IWL_MVM_RS_DISABLE_P2P_MIMO compilation option. Change configuration so that MIMO will be disabled only in SDIO platforms.

[PATCH 18/26] iwlwifi: convert hex_dump_to_buffer() to %*ph

2015-08-18 Thread Emmanuel Grumbach
From: Andy Shevchenko andriy.shevche...@linux.intel.com There is no need to use hex_dump_to_buffer() in the cases like this: hexdump_to_buffer(buf, len, 16, 1, outbuf, outlen, false); /* len = 16 */ sprintf(%s\n, outbuf); since it maybe easily converted to simple:

[PATCH 16/26] iwlwifi: mvm: add debug info to schedule scan complete message.

2015-08-18 Thread Emmanuel Grumbach
From: Ayala Beker ayala.be...@intel.com Add more information to schedule scan complete message. Signed-off-by: Ayala Beker ayala.be...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com --- drivers/net/wireless/iwlwifi/mvm/scan.c | 23 --- 1 file changed,

[PATCH 17/26] iwlwifi: pass NAPI struct from transport layer

2015-08-18 Thread Emmanuel Grumbach
From: Johannes Berg johannes.b...@intel.com The mac80211 patch to pass the NAPI struct only changed iwlwifi to store the NAPI struct, but we can do better: pass it directly from the lower transport layer to the opmode during RX, and then on to mac80211 from there. When we add multiple RX queues,

[PATCH 12/26] iwlwifi: mvm: set different pm_timeout for action frames

2015-08-18 Thread Emmanuel Grumbach
From: Avri Altman avri.alt...@intel.com When building a Tx Command for management frames, we are lacking a check for action frames, for which we should set a different pm_timeout. This cause the fw to stay awake for 100TU after each such frame is transmitted, resulting an excessive power

[PATCH 14/26] iwlwifi: mvm: simplify calculating scan dwells and other timing values

2015-08-18 Thread Emmanuel Grumbach
From: David Spinadel david.spina...@intel.com Remove timing values from iwl_mvm_scan_params and use defines and arrays of values instead. While at that fix few values and corner cases and align all OSs to ChromeOS values. Signed-off-by: David Spinadel david.spina...@intel.com Reviewed-by:

[PATCH 01/26] iwlwifi: mvm: Add FW paging mechanism for the UMAC on PCI

2015-08-18 Thread Emmanuel Grumbach
From: Matti Gottlieb matti.gottl...@intel.com Family 8000 products has 2 embedded processors, the first known as LMAC (lower MAC) and implements the functionality from previous products, the second one is known as UMAC (upper MAC) and is used mainly for driver offloads as well as new features.

[PATCH 24/26] iwlwifi: out-of-bounds access in iwl_init_sband_channels

2015-08-18 Thread Emmanuel Grumbach
From: Adrien Schildknecht adrien+...@schischi.me KASan error report: == BUG: KASan: out of bounds access in iwl_init_sband_channels+0x207/0x260 [iwlwifi] at addr 8800c2d0aac8 Read of size 4 by task modprobe/329

[PATCH 19/26] iwlwifi: mvm: fix a range check in debugfs code

2015-08-18 Thread Emmanuel Grumbach
From: Dan Carpenter dan.carpen...@oracle.com The mvm-tof_data.range_req.ap[] array has IWL_MVM_TOF_MAX_APS elements so the check should be = instead of . Also the test can underflow so I have changed i to unsigned. Fixes: ce7929186a39 ('wlwifi: mvm: add basic Time of Flight (802.11mc FTM)

[PATCH 04/26] iwlwifi: mvm: revert to our old skip over dtim policy

2015-08-18 Thread Emmanuel Grumbach
From: Avri Altman avri.alt...@intel.com Our firmware scheduler used to suffer from false wake-up on 500 time units. We had to came up with a formula to address this buggy behavior. Now that our firmware is fixed, we can go back to our old policy. Signed-off-by: Avri Altman avri.alt...@intel.com

[PATCH 02/26] iwlwifi: mvm: print secboot status registers on alive timeout

2015-08-18 Thread Emmanuel Grumbach
From: Dor Shaish dor.sha...@intel.com Print the CPU1 and CPU2 secured boot status registers from the NIC to indicate a SYSASSERT during secured engine unlocking process on init/protocol image. Signed-off-by: Dor Shaish dor.sha...@intel.com Signed-off-by: Emmanuel Grumbach

[PATCH 26/26] iwlwifi: mvm: fix a race in D0i3 vs. Tx path

2015-08-18 Thread Emmanuel Grumbach
When we enter D0i3, we must stop TXing otherwise the sequence number we use might conflict with the firmware's internal TX. In order to do so, we have IWL_MVM_STATUS_IN_D0I3 which should prevent any Tx while we enter D0i3. There is a bug in this code since we may Tx even if IWL_MVM_STATUS_IN_D0I3

[PATCH 13/26] iwlwifi: make sure d3_suspend/resume ops exist

2015-08-18 Thread Emmanuel Grumbach
From: Eliad Peller eliadx.pel...@intel.com We added calls to d3_suspend/resume trans ops during the suspend/resume flow. However, the wrapper code didn't verify the trans ops were actually defined, resulting in panic when they were not (such as in the case of sdio trans) Fixes: 6dfb36c89dc2

[PATCH 21/26] iwlwifi: mvm: Enable power management on low-latency bss

2015-08-18 Thread Emmanuel Grumbach
From: Avri Altman avri.alt...@intel.com Currently the driver disable power management on all low-latency interfaces, while it should disable it on WiDi interfaces only. Non-P2P interfaces that runs voice and video traffic should enable power management. Signed-off-by: Avri Altman

Re: [v3] bcma: switch GPIO portions to use GPIOLIB_IRQCHIP

2015-08-18 Thread Kalle Valo
From: Linus Walleij linus.wall...@linaro.org This switches the BCMA GPIO driver to use GPIOLIB_IRQCHIP to handle its interrupts instead of rolling its own copy of the irqdomain handling etc. Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Hauke Mehrtens

[PATCH 11/26] iwlwifi: mvm: ToF - Set correct range request cmd id

2015-08-18 Thread Emmanuel Grumbach
From: Assaf Krauss assaf.kra...@intel.com Command ID of ToF range request command adapted to new FW commands grouping scheme. Signed-off-by: Assaf Krauss assaf.kra...@intel.com Reviewed-by: Gregory Greenman gregory.green...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com

[PATCH 09/26] iwlwifi: pcie: New RBD allocation model

2015-08-18 Thread Emmanuel Grumbach
From: Sara Sharon sara.sha...@intel.com As a preperation for multiple RX queues change the RBD allocation model. The new model includes a background allocator. The allocator is called by the interrupt handler when there are two released buffers by the queue, and the allocator starts allocating

[PATCH 07/26] iwlwifi: pcie: support frag SKBs

2015-08-18 Thread Emmanuel Grumbach
From: Johannes Berg johannes.b...@intel.com Allow frag SKBs in PCIe and advertise the maximum number of frags to the opmode. As a fallback. linearize the SKB if it exceeds the maximum number of fragments. This allows using the hardware better (filling more TBs) and should improve performance when

Re: [PATCH/RFT 1/2] ath10k: add qca6164 support

2015-08-18 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: This adds additional 0x0041 PCI Device ID definition to ath10k for QCA6164 which is a 1 spatial stream sibling of the QCA6174 (which is 2 spatial stream chip). The QCA6164 needs a dedicated board.bin file which is different than the one used

[PATCH] staging: wilc1000: Set all options in region debugfs file

2015-08-18 Thread Chandra S Gorentla
This patch allows setting all options in the module's debug region options file 'wilc_debug_region'. This functionality allows the user to enable logging from all regions (initialization, locks, firmware etc.) of the driver. Logging from the following regions is enabled during the driver

Re: [PATCHv3] staging: wilc1000: replace MALLOC_WILC_BUFFER() macro to avoid possible memory leak

2015-08-18 Thread Raphaël Beamonte
2015-08-18 5:15 GMT-04:00 Dan Carpenter dan.carpen...@oracle.com: To be honest, I have lost track of this patchset. If you are planning to redo the other patches can you send it in a new thread? Actually, Greg already included the return statement and DECLARE_WILC_BUFFER ones. The replacement

re: mac80211: add rate mask logic for vht rates

2015-08-18 Thread Dan Carpenter
Hello Lorenzo Bianconi, The patch b119ad6e726c: mac80211: add rate mask logic for vht rates from Aug 6, 2015, leads to the following static checker warning: net/mac80211/cfg.c:2520 ieee80211_set_bitrate_mask() error: buffer overflow 'sdata-rc_rateidx_vht_mcs_mask[i]' 8 = 9

brcmsmac AP not working with [14e4:4353]

2015-08-18 Thread Milan Svoboda
Hello group! Wifi AP's SSID not visible by clients, no hidden network either. When using b43 it works (slowly but that is different issue). Any idea how to fix it? Thanks! Linux fenix 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux 03:00.0 Network controller

Re: [PATCH] staging: wilc1000: Set all options in region debugfs file

2015-08-18 Thread Greg KH
On Tue, Aug 18, 2015 at 10:32:17PM +0530, Chandra S Gorentla wrote: This patch allows setting all options in the module's debug region options file 'wilc_debug_region'. This functionality allows the user to enable logging from all regions (initialization, locks, firmware etc.) of the driver.

[PATCHv4 2/2] staging: wilc1000: replace MALLOC_WILC_BUFFER() macro to avoid possible memory leak

2015-08-18 Thread Raphaël Beamonte
The MALLOC_WILC_BUFFER() macro was using a return statement, and didn't take care of possible memory leaks and subsequent bugs when it was failing after succeeding some allocations. This patch corrects this behavior. Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com ---

[PATCHv4 1/2] staging: wilc1000: remove FREE_WILC_BUFFER()

2015-08-18 Thread Raphaël Beamonte
It was just a wrapper around kfree(), so call that instead. Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com --- drivers/staging/wilc1000/wilc_exported_buf.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_exported_buf.c

Re: [PATCHv3] staging: wilc1000: replace MALLOC_WILC_BUFFER() macro to avoid possible memory leak

2015-08-18 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2015 at 01:06:39PM -0400, Raphaël Beamonte wrote: 2015-08-18 5:15 GMT-04:00 Dan Carpenter dan.carpen...@oracle.com: To be honest, I have lost track of this patchset. If you are planning to redo the other patches can you send it in a new thread? Actually, Greg already

Re: [PATCHv3] staging: wilc1000: use netdev_* instead of printk

2015-08-18 Thread Greg Kroah-Hartman
On Mon, Aug 17, 2015 at 07:06:40PM -0400, Raphaël Beamonte wrote: Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com You can't submit a patch with no changelog information, sorry. Always build your patches, otherwise you make maintainers really grumpy as it breaks their build. greg k-h

[PATCHv4 0/2] staging: wilc1000: code improvements

2015-08-18 Thread Raphaël Beamonte
Hi, As requested, here are the two remaining ready patches of this patchset. I pulled and rebased against staging-testing just now. They should thus be usable without problem! Thanks, Raphaël Raphaël Beamonte (2): staging: wilc1000: remove FREE_WILC_BUFFER() staging: wilc1000: replace

Re: [PATCHv3] staging: wilc1000: replace MALLOC_WILC_BUFFER() macro to avoid possible memory leak

2015-08-18 Thread Dan Carpenter
To be honest, I have lost track of this patchset. If you are planning to redo the other patches can you send it in a new thread? regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH] staging: wilc1000: add a blank line after declaration

2015-08-18 Thread Chaehyun Lim
This patch adds a blank line after declaration found by checkpatch.pl WARNING: Missing a blank line after declarations. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 8 drivers/staging/wilc1000/linux_wlan.c | 18

última advertencia

2015-08-18 Thread Webmaster
Su buzón ha superado el límite de almacenamiento, es posible que no pueda enviar o recibir correo nuevo hasta que vuelva a validar su buzón. Haga clic en el enlace de abajo para revalidar su cuenta hoy Haga clic aquí: https://qtrial2015az1.az1.qualtrics.com/SE/?SID=SV_9WWgE0hygwRPLAF

Re: pull request: iwlwifi-next 2015-08-18

2015-08-18 Thread Kalle Valo
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: This is another pull request for 4.3. As usual, details in the tag. As announced, this needs patches from mac80211-next, so I merged Johanne's tag and you did so as well upon my request (thank you for that). Please pull and let me know

[PATCH] mac80211: protect non-HT BSS when HT TDLS traffic exists

2015-08-18 Thread Emmanuel Grumbach
From: Avri Altman avri.alt...@intel.com HT TDLS traffic should be protected in a non-HT BSS to avoid collisions. Therefore, when TDLS peers join/leave, check if protection is (now) needed and set the ht_operation_mode of the virtual interface according to the HT capabilities of the TDLS peer(s).

Re: CT ath10k firmware now supports IBSS + RSN

2015-08-18 Thread Ben Greear
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/18/2015 02:38 AM, Sven Eckelmann wrote: On Monday 17 August 2015 08:33:06 Ben Greear wrote: [...] * IBSS/RSN isn't working between ath10k-ath10k, ath9k-ath10k (works well between ath9k-ath9k) - the ath10k device doesn't seem to send its