[PATCH] mwifiex: Fix issue in the SDIO reset path of mwifiex.

2015-03-22 Thread Amitkumar Karwar
From: Maithili Hinge SDIO reset was not happening properly on mwifiex as cancel_work_sync in mwifiex_sdio_remove used to kill the calling work function itself. Due to this, the interface was not getting removed and card was not getting added again. Reset work function has been made independent of

Re: [PATCH v7 5/6] ARM: dts: add wl12xx/wl18xx bindings

2015-03-22 Thread Kalle Valo
Tony Lindgren writes: >> After John "retired" we actually have two set of trees now: mac80211 >> maintained by Johannes and wireless-drivers maintained by me. I haven't >> pulled anything from your tree and I'm 100% sure Johannes hasn't either. >> So green light from me. > > OK, I'll set up the n

Re: pull request: iwlwifi 2015-03-22

2015-03-22 Thread Kalle Valo
"Grumbach, Emmanuel" writes: > Hi Kalle, > > A new round of fixes for 4.0. Most of the patches are also CCed to > stable. Details in the tag. Thanks! > > The following changes since commit 4cd4b50cc2429294c23a1998c33fdfd804db0f37: > > iwlwifi: mvm: BT Coex - fix a NULL pointer exception (2015-0

προσφορά δανείου

2015-03-22 Thread Karin LOCK
-- καλημέρα Είστε ενδιαφέρονται για δάνεια με 3%; Για περισσότερες πληροφορίες και εξηγήσεις Το email μου: i...@pretmv100.com σας ευχαριστώ -- 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 h

Re: informations about Linux wifi driver's architecture today

2015-03-22 Thread Stefano Cappa
Hi I prefer a generic version, without specific things, like this one: h**p://postimg.org/image/hfkpjt3ux/ created by Johannes Berg. And, if available something for the broadcom chip bcm4339. Thank you. Da: Kathy Giori Inviato: domenica 22 marzo 2015 1

Re: Broadcom 43340

2015-03-22 Thread Jürgen Bausa
Arend van Spriel writes: > > On 03/21/15 21:38, Jürgen Bausa wrote: > > 1. the nvram file under /sys/firmware/efi/efivars/ has a wrong MAC address. > > I changed it to the correct one. However, I am not sure if this is really > > necassary. > > That MAC address is only used for device that do h

Re: informations about Linux wifi driver's architecture today

2015-03-22 Thread Kathy Giori
On Sun, Mar 22, 2015 at 11:19 AM, Stefano Cappa wrote: > Hi! > some months ago, i saw the presentation of Johannes Berg in PDF, but now it > isn't available, probably because it's very old. > > This slides will be updated to a new release? > > I have this slide and in page 5/35 (2009-02-26) there

[PATCH v3 07/18] ath9k: ar9271_hw_pa_cal: use REG_READ_ARRAY

2015-03-22 Thread Oleksij Rempel
insted of reading each register separatly and waste 4ms on each operation, we can use one shot read. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ar9002_calib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9002_calib.c

[PATCH v3 10/18] ath9k: write buffer related optimisation in ar5008_hw_set_channel_regs

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ar5008_phy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c b/drivers/net/wireless/ath/ath9k/ar5008_phy.c index f273427..6c23d27 100644 --- a/drivers/net/wireles

[PATCH v3 14/18] ath9k: ath9k_hw_analog_shift_rmw: use REG_RMW

2015-03-22 Thread Oleksij Rempel
use REG_RMW in ath9k_hw_analog_shift_rmw. It will double execution speed on usb bus. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/eeprom.c b/drivers/net/wireless

[PATCH v3 06/18] ath9k: add new function ath9k_hw_read_array

2015-03-22 Thread Oleksij Rempel
REG_READ generate most overhead on usb bus. It send and read micro packages and reduce usb bandwidth. To reduce this overhead we should read in batches. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/hw.c | 30 ++ drivers/net/wireless/ath/ath9k/hw.h

[PATCH v3 08/18] ath9k: use one shot read in ath9k_hw_update_mibstats

2015-03-22 Thread Oleksij Rempel
this will reduce some overhead on usb bus. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ani.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c index ca01d17..

[PATCH v3 09/18] ath9k: ath9k_hw_loadnf: use REG_RMW

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/calib.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index e200a6e..3e2e24e 100644 --- a/drivers/net/wirele

[PATCH v3 17/18] ath9k: use REG_RMW and rmw buffer in ath9k_hw_4k_set_board_values

2015-03-22 Thread Oleksij Rempel
replace REG_WRITE to REG_RMW and place every thing in one RMW buffer. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/eeprom_4k.c b/drivers/net/wireless

[PATCH v3 15/18] ath9k: ath9k_hw_4k_set_board_values: use rmw buffer

2015-03-22 Thread Oleksij Rempel
it will reduce exution time from 14ms to 2ms on ar9271 Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/eeprom_4k.c b/drivers/net/wireless/ath/ath9k/eeprom_4k.c index 0600562..291c1d

[PATCH v3 11/18] ath9k: ath9k_hw_set_4k_power_cal_tabl: use rmw buffer

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/eeprom_4k.c b/drivers/net/wireless/ath/ath9k/eeprom_4k.c index e5a78d4..fc54fc7 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom_4k.

[PATCH v3 16/18] ath9k: use REG_RMW and rmw buffer in ath9k_hw_4k_set_gain

2015-03-22 Thread Oleksij Rempel
it is possible to reduce time needed for this function by rplacing REG_WRITE with REG_RMW (plus dummy 0) and putt all commands in same buffer. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH v3 13/18] ath9k: ath9k_hw_4k_set_board_values: use rmw buffer

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/eeprom_4k.c b/drivers/net/wireless/ath/ath9k/eeprom_4k.c index fc54fc7..0600562 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom_4k.

[PATCH v3 05/18] ath9k: add multi_read to be compatible with ath9k_htc

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/init.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 6c6e884..041decc 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/d

[PATCH v3 01/18] ath9k_htc: add new WMI_REG_RMW_CMDID command

2015-03-22 Thread Oleksij Rempel
Since usb bus add extra delay on each request, a command with read + write requests is too expensive. We can dramtically reduce usb load by moving this command to firmware. In my tests, this patch will reduce channel scan time for about 5-10 seconds. Signed-off-by: Oleksij Rempel --- drivers/ne

[PATCH v3 12/18] ath9k: use rmw buffer in ath9k_hw_set_operating_mode and ath9k_hw_reset

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/hw.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 662ef3f..1bae771 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wirele

[PATCH v3 18/18] ath9k: use REG_RMW and rmw buffer in ath9k_hw_def_set_gain

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/eeprom_def.c | 34 - 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/eeprom_def.c b/drivers/net/wireless/ath/ath9k/eeprom_def.c index 0980590..056f516 10064

[PATCH v3 00/18] reduce some of ath9k_htc performance problems

2015-03-22 Thread Oleksij Rempel
This patchset adds new WMI_RMW handler to reduce some of usb related performance problems. Oleksij Rempel (18): ath9k_htc: add new WMI_REG_RMW_CMDID command ath9k: ar9271_hw_pa_cal - use defs instead of magin numbers ath9k: ar9271_hw_pa_cal: use proper makroses. ath9k: ar9271_hw_pa_cal: us

[PATCH v3 04/18] ath9k: ar9271_hw_pa_cal: use RMW buffer

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ar9002_calib.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9002_calib.c b/drivers/net/wireless/ath/ath9k/ar9002_calib.c index 8d24a73..62a2314 100644 --- a/drivers/ne

[PATCH v3 03/18] ath9k: ar9271_hw_pa_cal: use proper makroses.

2015-03-22 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ar9002_calib.c | 43 --- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9002_calib.c b/drivers/net/wireless/ath/ath9k/ar9002_calib.c index 4576b99..8d24a73 1

[PATCH v3 02/18] ath9k: ar9271_hw_pa_cal - use defs instead of magin numbers

2015-03-22 Thread Oleksij Rempel
This function uses mixed styles for register names/numbers which is make harder reading and optimisation. Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/ar9002_calib.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/net/

informations about Linux wifi driver's architecture today

2015-03-22 Thread Stefano Cappa
Hi! some months ago, i saw the presentation of Johannes Berg in PDF, but now it  isn't available, probably because it's very old. This slides will be updated to a new release? I have this slide and in page 5/35 (2009-02-26) there is the "Architecture - planned". This is the actual architecture o

CRDA/REGDB and 802.11 devices with a frequency offset (transverted onboard)

2015-03-22 Thread Conrad Lara
All, I've been working with hardware that is essentially ATH9k 802.11n gear that in order to maintain the manufactures investment in designing is basically a stock previous design with a transverter in the frontend (Ubuiqiti) the 900mhz devices are 2.4Ghz devices up/down converted to 900, and t

[PATCH 5/6] iwlwifi: add new 3165 series PCI IDs

2015-03-22 Thread Emmanuel Grumbach
From: Oren Givon Add new 3165 PCI IDs for new 1x1 cards. Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/drv.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wire

[PATCH 4/6] iwlwifi: mvm: protect rate scaling against non-mvm IBSS stations

2015-03-22 Thread Emmanuel Grumbach
From: Johannes Berg When the driver callback returns that it's out of space for new stations, the mac80211 IBSS code still keeps the station so it doesn't try to add it over and over again. Since the rate scaling algorithm is separate in mac80211, it also invokes the rate scaling algorithm for s

[PATCH 3/6] iwlwifi: dvm: run INIT firmware again upon .start()

2015-03-22 Thread Emmanuel Grumbach
The assumption before this patch was that we don't need to run again the INIT firmware after the system booted. The INIT firmware runs calibrations which impact the physical layer's behavior. Users reported that it may be helpful to run these calibrations again every time the interface is brought u

[PATCH 6/6] iwlwifi: mvm: remove WARN_ON for invalid BA notification

2015-03-22 Thread Emmanuel Grumbach
From: Johannes Berg The firmware frequently manages to trigger this, and there's no known driver workaround, so stop warning. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/tx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) di

[PATCH 1/6] iwlwifi: dvm: drop VO packets when mac80211 tells us to

2015-03-22 Thread Emmanuel Grumbach
mac80211 now informs the driver when to drop the packets upon flush(). This will happen before disconnecting, or before we shut down the interface. We can now rely on this to drop all the packets including the VO queues. When mac80211 sets drop to false, wait for all the queues to be empty. Signed

[PATCH 2/6] iwlwifi: mvm: disconnect if CSA time event fails scheduling

2015-03-22 Thread Emmanuel Grumbach
From: Johannes Berg If this situation ever happens, the mac80211 state machine gets confused because it never clears csa_active. There was a separate bug that lead to this happening with a working connection, but it isn't very robust to try to keep the connection up in this case. When removing t

pull request: iwlwifi 2015-03-22

2015-03-22 Thread Grumbach, Emmanuel
Hi Kalle, A new round of fixes for 4.0. Most of the patches are also CCed to stable. Details in the tag. Thanks! The following changes since commit 4cd4b50cc2429294c23a1998c33fdfd804db0f37: iwlwifi: mvm: BT Coex - fix a NULL pointer exception (2015-03-05 14:13:20 +0200) are available in the

Re: [PATCH v2 0/4] rtlwifi: Use common functions for driver stats

2015-03-22 Thread Priit Laes
On Sun, 2015-03-22 at 11:27 -0500, Larry Finger wrote: > On 03/22/2015 08:35 AM, Priit Laes wrote: > > Hi all, > > > > This is a small fixup to unify make the drivers use common helper > > functions for driver statistics. > > > > There are no functional changes since the first posting, except >

Re: [PATCH v2 0/4] rtlwifi: Use common functions for driver stats

2015-03-22 Thread Larry Finger
On 03/22/2015 08:35 AM, Priit Laes wrote: Hi all, This is a small fixup to unify make the drivers use common helper functions for driver statistics. There are no functional changes since the first posting, except dropping patches already applied and addressing the comments by Joe Perches. Are

[PATCH v2 2/4] rtlwifi: Use common rtl_signal_scale_mapping

2015-03-22 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/rtl8188ee/trx.c | 8 +++ drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 34 ++- drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 33 ++ drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 35 +

[PATCH v2 4/4] rtlwifi: Use common rtl_query_rxpwrpercentage function

2015-03-22 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 14 ++ drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 16 +++- drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 16 +++- drivers/net/wireless/rtlwifi/stats.c | 7 --- 4 file

[PATCH v2 0/4] rtlwifi: Use common functions for driver stats

2015-03-22 Thread Priit Laes
Hi all, This is a small fixup to unify make the drivers use common helper functions for driver statistics. There are no functional changes since the first posting, except dropping patches already applied and addressing the comments by Joe Perches. Priit Laes (4): rtlwifi: Use common rtl_evm_db

[PATCH v2 1/4] rtlwifi: Use common rtl_evm_db_to_percentage

2015-03-22 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 22 +- drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 18 +- drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 17 + 3 files changed, 3 insertions(+), 54 deletions(-) dif

[PATCH v2 3/4] rtlwifi: Rename rtl_translate_todbm to rtl_signalpower_todbm

2015-03-22 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/stats.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/stats.c b/drivers/net/wireless/rtlwifi/stats.c index 9ebeb6e..4cce472 100644 --- a/drivers/net/wireless/rtlwifi/

Re: Broadcom 43340

2015-03-22 Thread Arend van Spriel
On 03/21/15 21:38, Jürgen Bausa wrote: Arend van Spriel writes: CONFIG_BRCM_TRACING is another way to get debug output, but I guess that is not enabled either. Just found this via google to enable wlan: 1. the nvram file under /sys/firmware/efi/efivars/ has a wrong MAC address. I changed

Re: [PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-22 Thread Arik Nemtsov
On Fri, Mar 20, 2015 at 1:02 PM, Marek Puzyniak wrote: > As a part of tdls implementation introduce > tdls related wmi data structures, constant > values and functions. > > Signed-off-by: Marek Puzyniak > --- > drivers/net/wireless/ath/ath10k/wmi-ops.h | 42 > drivers/net/wireless/ath/

Re: [PATCH 1/4] mac80211: don't look up destination station twice

2015-03-22 Thread Arik Nemtsov
On Fri, Mar 20, 2015 at 5:24 PM, Johannes Berg wrote: > From: Johannes Berg > > There's no need to look up the destination station twice while > building the 802.11 header for a given frame if the frame will > actually be transmitted to the station we initially looked up. > > This happens for 4-a