All of lore.kernel.org
 help / color / mirror / Atom feed
* pull request: wireless-next 2014-09-08
@ 2014-09-08 19:16 John W. Linville
  2014-09-08 23:44 ` David Miller
  2014-09-09 19:46 ` iwlwifi no authentication with AP - " Oliver Hartkopp
  0 siblings, 2 replies; 19+ messages in thread
From: John W. Linville @ 2014-09-08 19:16 UTC (permalink / raw)
  To: davem; +Cc: linux-wireless, netdev

[-- Attachment #1: Type: text/plain, Size: 30062 bytes --]

Dave,

Please pull this batch of updates intended for the 3.18 stream...

For the mac80211 bits, Johannes says:

"Not that much content this time. Some RCU cleanups, crypto
performance improvements, and various patches all over,
rather than listing them one might as well look into the
git log instead."

For the Bluetooth bits, Gustavo says:

"The changes consists of:

        - Coding style fixes to HCI drivers
        - Corrupted ack value fix for the H5 HCI driver
        - A couple of Enhanced L2CAP fixes
        - Conversion of SMP code to use common L2CAP channel API
        - Page scan optimizations when using the kernel-side whitelist
        - Various mac802154 and and ieee802154 6lowpan cleanups
        - One new Atheros USB ID"

For the iwlwifi bits, Emmanuel says:

"We have a new big thing coming up which is called Dynamic Queue
Allocation (or DQA).  This is a completely new way to work with the
Tx queues and it requires major refactoring.  This is being done by
Johannes and Avri.  Besides this, Johannes disables U-APSD by default
because of APs that would disable A-MPDU if the association supports
U-ASPD.  Luca contributed to the power area which he was cleaning
up on the way while working on CSA.  A few more random things here
and there."

For the Atheros bits, Kalle says:

"For ath6kl we had two small fixes and a new SDIO device id.

For ath10k the bigger changes are:

 * support for new firmware version 10.2 (Michal)

 * spectral scan support (Simon, Sven & Mathias)

 * export a firmware crash dump file (Ben & me)

 * cleaning up of pci.c (Michal)

 * print pci id in all messages, which causes most of the churn (Michal)"

Beyond that, we have the usual collection of various updates to ath9k,
b43, mwifiex, and wil6210, as well as a few other bits here and there.

Please let me know if there are problems!

Thanks,

John

---

The following changes since commit 1bd3fa7b8c9b2936c16c6e6452f9cc991c405872:

  Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes (2014-09-04 13:12:02 -0400)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git tags/master-2014-09-08

for you to fetch changes up to 61a3d4f9d52c00b2016bc27fc66b10a194043f76:

  Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless (2014-09-08 11:14:56 -0400)

----------------------------------------------------------------

Alexander Aring (1):
      ieee802154: 6lowpan: remove unused function

Amitkumar Karwar (3):
      mwifiex: fix left_len calculation issue
      mwifiex: rename macro and variables related to API revision
      mwifiex: use firmware API revision from GET_HW_SPEC response

Andreea-Cristina Bernat (4):
      mac80211: scan: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
      mac80211: Replace rcu_dereference() with rcu_access_pointer()
      carl9170: Remove redundant protection check
      carl9170: tx: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Andrei Otcheretianski (1):
      ieee80211: Support parsing TPC report element in action frames

Avri Altman (2):
      iwlwifi: consolidate hw scheduler configuration code
      iwlwifi: trans: configure the scheduler enable register

Ben Greear (4):
      ath10k: improve 'hard' simulate fw crash
      ath10k: improve vdev map handling
      ath10k: fix typo in error message
      ath10k: provide firmware crash info via debugfs

Bob Copeland (4):
      mac80211: mesh_plink: use get_unaligned_le16 instead of memcpy
      ath5k: drop useless comparison
      ath5k: ensure led name is null terminated
      ath5k: remove redundant null check before kfree()

Canek Peláez Valdés (1):
      rt2x00: support Ralink 5362.

Csaba Kiraly (1):
      ath9k_htc: advertise support for TDLS

Dan Carpenter (1):
      MAINTAINTERS: The NFC list is subscribers-only

David Spinadel (1):
      iwlwifi: mvm: enable passive fragmented scan changes

Dedy Lansky (1):
      wil6210: Limit max number of associated stations

Eliad Peller (3):
      mac80211: disable 40MHz support in case of 20MHz AP
      iwlwifi: mvm: add use_ps-poll debugfs power option
      iwlwifi: mvm: clear d0i3 state on recovery

Emmanuel Grumbach (3):
      iwlwifi: mvm: reduce the AMPDU size in low latency mode
      iwlwifi: mvm: use dynamic SMPS for P2P Client
      iwlwifi: mvm: force protection for P2P

Eran Harary (2):
      iwlwifi: mvm: fix the dump_umac_error_log
      iwlwifi: mvm: fix comment typo

Eyal Shapira (1):
      iwlwifi: mvm: disable tx aggregation on low latency vifs

Hans Wennborg (2):
      ath6kl: fix %d confusingly prefixed with 0x in format strings
      mwifiex: fix decimal printf format specifiers prefixed with 0x

Hauke Mehrtens (1):
      bcma: only map wrapper if its address is available

Himangi Saraogi (10):
      ath6kl: convert a driver to use module_usb_driver()
      Bluetooth: Remove typedef bluecard_info_t
      Bluetooth: Remove typedef btuart_info_t
      Bluetooth: Remove typedefs nsh_t and dtl1_info_t
      Bluetooth: Remove typedef bt3c_info_t
      net: wireless: wl1251: Remove unnecessary free_irq
      cw1200: Introduce the use of devm_kzalloc
      wireless: wlcore: Use devm_kzalloc
      atmel_cs: Remove typedef local_info_t
      orinoco_usb: use USB API functions rather than constants

Ido Yariv (2):
      mac80211: Fix accounting of the tailroom-needed counter
      mac80211: don't resize skbs needlessly

Jade Bilkey (1):
      ath5k: added debugfs file for dumping eeprom

Janusz Dziedzic (1):
      ath10k: extend debug code for RX path

Johan Hedberg (35):
      Bluetooth: Add convenience function to check for pending power off
      Bluetooth: Create unified helper function for updating page scan
      Bluetooth: Disable page scan if all whitelisted devices are connected
      Bluetooth: Remove redundant check for remote_key_dist
      Bluetooth: Fix confusion between parent and child channel for 6lowpan
      Bluetooth: Fix reference counting of global L2CAP channels
      Bluetooth: Fix __l2cap_no_conn_pending() usage with all channels
      Bluetooth: Resume BT_CONNECTED state after LE security elevation
      Bluetooth: Remove special handling of ATT in l2cap_security_cfm()
      Bluetooth: Refactor l2cap_connect_cfm
      Bluetooth: Move L2CAP fixed channel creation into l2cap_conn_cfm
      Bluetooth: Improve fixed channel lookup based on link type
      Bluetooth: Remove special ATT data channel handling
      Bluetooth: Move parts of fixed channel initialization to l2cap_add_scid
      Bluetooth: Call L2CAP teardown callback before clearing chan->conn
      Bluetooth: Call l2cap_le_conn_ready after notifying channels
      Bluetooth: Fix using HCI_CONN_LE_SMP_PEND to check for SMP context
      Bluetooth: Fix hci_update_random_address() error return for no crypto
      Bluetooth: Fix IRK lookup when tfm_aes is not available
      Bluetooth: Refactor SMP (de)initialization into separate functions
      Bluetooth: Move SMP initialization after HCI init
      Bluetooth: Move SMP (de)initialization to smp.c
      Bluetooth: Add more L2CAP convenience callbacks
      Bluetooth: Add SMP L2CAP channel skeleton
      Bluetooth: Make AES crypto context private to SMP
      Bluetooth: Convert SMP to use l2cap_chan infrastructure
      Bluetooth: Use L2CAP resume callback to call smp_distribute_keys
      Bluetooth: Add public l2cap_conn_shutdown() API to request disconnection
      Bluetooth: Call l2cap_conn_shutdown() when SMP recv callback fails
      Bluetooth: Fix double free of SMP data skb
      Bluetooth: Add SMP-internal timeout callback
      Bluetooth: Remove unused l2cap_conn->security_timer
      Bluetooth: Move canceling security_timer into smp_chan_destroy()
      Bluetooth: Always call smp_distribute_keys() from a workqueue
      Bluetooth: Make smp_chan_destroy() private to smp.c

Johannes Berg (18):
      mac80211: don't duplicate station QoS capability data
      mac80211: make ieee80211_vif_use_reserved_switch static
      cfg80211: clarify BSS probe response vs. beacon data
      cfg80211: allow passing frame type to cfg80211_inform_bss()
      iwlwifi: make U-APSD default configurable at compile time
      iwlwifi: trans: refactor txq_enable arguments
      iwlwifi: mvm: add some debugging to quota allocation
      iwlwifi: don't export tracepoints unnecessarily
      iwlwifi: trans: allow skipping scheduler hardware config
      iwlwifi: trans: make aggregation explicit for TX queue handling
      iwlwifi: add Intel Mobile Communications copyright
      iwlwifi: mvm: correct firmware disassoc command sequence
      iwlwifi: mvm: clean up FIFO definitions
      iwlwifi: mvm: clarify stop_count, remove transport_stopped
      iwlwifi: mvm: use tdls indication from mac80211
      iwlwifi: mvm: use iwl_mvm_mac_get_queues_mask() more
      iwlwifi: mvm: clean up broadcast station handling
      iwlwifi: mvm: clean up AUX station handling

John W. Linville (5):
      Merge branch 'for-upstream' of git://git.kernel.org/.../bluetooth/bluetooth-next
      Merge branch 'for-linville' of git://github.com/kvalo/ath
      Merge tag 'mac80211-next-for-john-2014-08-29' of git://git.kernel.org/.../jberg/mac80211-next
      Merge branch 'for-john' of git://git.kernel.org/.../iwlwifi/iwlwifi-next
      Merge branch 'master' of git://git.kernel.org/.../linville/wireless

Kalle Valo (3):
      ath10k: add ath10k_pci_diag_* helpers
      ath10k: rename ath10k_pci_hif_dump_area() to ath10k_pci_fw_crashed_dump()
      ath10k: print more driver info when firmware crashes

Liad Kaufman (1):
      iwlwifi: mvm: wait for TE notif when protecting TDLS session

Loic Poulain (1):
      Bluetooth: Fix HCI H5 corrupted ack value

Luciano Coelho (8):
      iwlwifi: mvm: reset the temperature when temperature test is disabled
      iwlwifi: mvm: don't run automatic checks if CT was caused by debugfs
      iwlwifi: mvm: add debugfs entry for ps_disabled
      iwlwifi: mvm: re-enable ps when monitor interfaces are removed
      iwlwifi: mvm: refactor iwl_mvm_power_set_pm() to spin the ps part off
      iwlwifi: mvm: add function to update only ps
      iwlwifi: mvm: add option that allows a vif to disable PS
      iwlwifi: mvm: set the TX disable bit when doing a chanctx switch

Lukasz Rymanowski (2):
      Bluetooth: Improve data packing in SAR mode
      Bluetooth: Fix ERTM L2CAP resend packet

Matti Gottlieb (2):
      iwlwifi: mvm: Add set NIC temperature debug option
      iwlwifi: mvm: Add marker command 0xcb

Michal Kazior (30):
      ath10k: add support for 10.2 firmware
      ath10k: fix aggregated 4addr Rx
      ath10k: improve channel switching
      ath10k: fix wmi service bitmap debug
      ath10k: simplify scan debug prints
      ath10k: introduce a stricter scan state machine
      ath10k: embed ar_pci inside ar
      ath10k: remove target soc ps code
      ath10k: remove pci features var
      ath10k: group some pci probing helpers
      ath10k: remove htc->stopped
      ath10k: fix a conflict bug in wmi service bitmap
      ath10k: move fw init print
      ath10k: fix legacy irq workaround
      ath10k: setup irq method in probe
      ath10k: split ce irq/handler setup
      ath10k: make sure to really disable irqs
      ath10k: remove early irq handling
      ath10k: rework posting pci rx buffers
      ath10k: update comment regarding warm reset
      ath10k: ignore ar_pci->started in pipe cleanup
      ath10k: remove ar_pci->started
      ath10k: flush hif buffers before recovery
      cfg80211: re-enable CSA for drivers that support it
      ath10k: improve logging to include dev id
      ath10k: fix fw crash dumping
      ath10k: move pci init structures
      ath10k: dont duplicate service-pipe mapping
      ath10k: make target endianess more explicit
      mac80211: fix chantype recalc warning

Mika Westerberg (1):
      net: rfkill: gpio: Add more Broadcom bluetooth ACPI IDs

Rafał Miłecki (8):
      b43: update flushing many writes performed in a row
      b43: don't duplicate common PHY read/write ops
      b43: flush some writes on Broadcom MIPS SoCs
      b43: N-PHY: update rev3+ gain control workarounds
      b43: N-PHY: add RF power tables for radio 0x2057 revs 9 & 14
      b43: implement PPR (Power Per Rate) management/API
      b43: N-PHY: support setting custom TX power
      bcma: get info about flash type SoC booted from

Rasmus Villemoes (1):
      ray_cs: Add include guards

Rickard Strandqvist (1):
      net: wireless: ipw2x00: ipw2200.c: Cleaning up missing null-terminate in conjunction with strncpy

Simon Wunderlich (2):
      ath10k: add spectral scan feature
      ath10k: unregister spectral before mac

Srinivas Kandagatla (1):
      ath6kl: Add SDIO device ID for QCA6234X Support

Sujith Manoharan (37):
      ath9k: Add a debug level for channel context
      ath9k: Handle failure to allocate HW timer
      ath9k: Move channel operations to channel.c
      ath9k: Add debug information
      ath9k: Add a config option for channel context
      ath9k: Move P2P functions to channel.c
      ath9k: Isolate P2P powersave routines
      ath9k: Isolate ath9k_use_chanctx module parameter
      ath9k: Add a routine for initializing channel contexts
      ath9k: Add a routine to tear down channel contexts
      ath9k: Make ath_chanctx_work static
      ath9k: Cleanup mgd_prepare_tx callback
      ath9k: Conditionally compile a few functions
      ath9k: Exclude more functions
      ath9k: Conditionally compile more functions
      ath9k: Make ath_chanctx_offchan_switch static
      ath9k: Make ath_chanctx_get_oper_chan static
      ath9k: Make ath_chanctx_switch static
      ath9k: Fix channel context events
      ath9k: Fix function declarations
      ath9k: Add wrappers for beacon events
      ath9k: Add ath9k_chanctx_wake_queues
      ath9k: Add ath9k_offchannel_init
      ath9k: Use ath_chanctx_check_active properly
      ath9k: Fix function argument type
      ath9k: Fix 'offchannel' in ath_softc
      ath9k: Fix channel context variables in ath_softc
      ath9k: Remove redundant ifdef
      ath9k: Move ath9k_beacon_add_noa to channel.c
      ath9k: Fix ath_chanctx_get()
      ath9k: Add new chanctx events
      ath9k: Print the event/state in ath_chanctx_event
      ath9k: Fix interface limits
      ath9k: Fix channel context creation
      ath9k: Disable fastcc for channel context mode
      ath9k: Add more debug statements for channel context
      ath9k: Fix channel context timer

Sven Eckelmann (1):
      ath: Move spectral debugfs structs to shared header

Tomasz Bursztyka (1):
      wireless: core: Reorder wiphy_register() notifications relevantly

Varka Bhadram (4):
      MAINTAINERS: update maintainers info
      mac802154: cleanup in rx path
      mac802154: common error path
      mac802154: common tx error path

Vincent Zwanenburg (1):
      Add a new PID/VID 0227/0930 for AR3012.

Vladimir Kondratiev (13):
      wil6210: map MAC timer for packet lifetime into debugfs
      wil6210: fix race in reset
      wil6210: update copyright year 2014
      wil6210: check error in wil_target_reset()
      wil6210: wait longer for hardware reset completion
      wil6210: Workaround for Sparrow with bad device id
      wil6210: convert debugfs to the table mode
      wil6210: fix beamforming data reporting
      wil6210: fix false "scan timeout"
      wil6210: fix free'd memory access in wil_if_free()
      wil6210: cfg80211_rx_mgmt to use GFP_ATOMIC
      wil6210: fix access after free in wil_pcie_remove()
      cfg80211: remove @gfp parameter from cfg80211_rx_mgmt()

 MAINTAINERS                                        |   11 +-
 drivers/bcma/driver_mips.c                         |   62 +
 drivers/bcma/host_soc.c                            |    4 +
 drivers/bcma/scan.c                                |   11 +-
 drivers/bluetooth/ath3k.c                          |    2 +
 drivers/bluetooth/bluecard_cs.c                    |   35 +-
 drivers/bluetooth/bt3c_cs.c                        |   27 +-
 drivers/bluetooth/btuart_cs.c                      |   27 +-
 drivers/bluetooth/btusb.c                          |    1 +
 drivers/bluetooth/dtl1_cs.c                        |   36 +-
 drivers/bluetooth/hci_h5.c                         |    2 +-
 drivers/net/wireless/ath/ath.h                     |    1 +
 drivers/net/wireless/ath/ath10k/Kconfig            |    1 +
 drivers/net/wireless/ath/ath10k/Makefile           |    1 +
 drivers/net/wireless/ath/ath10k/bmi.c              |   52 +-
 drivers/net/wireless/ath/ath10k/ce.c               |  185 +--
 drivers/net/wireless/ath/ath10k/ce.h               |   28 +-
 drivers/net/wireless/ath/ath10k/core.c             |  246 ++--
 drivers/net/wireless/ath/ath10k/core.h             |   66 +-
 drivers/net/wireless/ath/ath10k/debug.c            |  339 ++++-
 drivers/net/wireless/ath/ath10k/debug.h            |   34 +-
 drivers/net/wireless/ath/ath10k/htc.c              |  115 +-
 drivers/net/wireless/ath/ath10k/htc.h              |    7 +-
 drivers/net/wireless/ath/ath10k/htt.c              |    9 +-
 drivers/net/wireless/ath/ath10k/htt_rx.c           |  171 ++-
 drivers/net/wireless/ath/ath10k/htt_tx.c           |   46 +-
 drivers/net/wireless/ath/ath10k/hw.h               |    5 +-
 drivers/net/wireless/ath/ath10k/mac.c              |  717 +++++----
 drivers/net/wireless/ath/ath10k/mac.h              |    6 +-
 drivers/net/wireless/ath/ath10k/pci.c              | 1537 +++++++++-----------
 drivers/net/wireless/ath/ath10k/pci.h              |  104 +-
 drivers/net/wireless/ath/ath10k/spectral.c         |  561 +++++++
 drivers/net/wireless/ath/ath10k/spectral.h         |   90 ++
 drivers/net/wireless/ath/ath10k/txrx.c             |   17 +-
 drivers/net/wireless/ath/ath10k/wmi.c              | 1089 ++++++++++----
 drivers/net/wireless/ath/ath10k/wmi.h              |  699 +++++++--
 drivers/net/wireless/ath/ath5k/attach.c            |    3 +-
 drivers/net/wireless/ath/ath5k/base.c              |    2 +-
 drivers/net/wireless/ath/ath5k/debug.c             |   96 ++
 drivers/net/wireless/ath/ath5k/led.c               |    1 +
 drivers/net/wireless/ath/ath6kl/cfg80211.c         |    1 +
 drivers/net/wireless/ath/ath6kl/init.c             |    2 +-
 drivers/net/wireless/ath/ath6kl/main.c             |    2 +-
 drivers/net/wireless/ath/ath6kl/sdio.c             |    1 +
 drivers/net/wireless/ath/ath6kl/usb.c              |   21 +-
 drivers/net/wireless/ath/ath6kl/wmi.c              |   48 +-
 drivers/net/wireless/ath/ath9k/Kconfig             |    9 +
 drivers/net/wireless/ath/ath9k/ath9k.h             |  136 +-
 drivers/net/wireless/ath/ath9k/beacon.c            |   59 +-
 drivers/net/wireless/ath/ath9k/channel.c           | 1291 +++++++++++-----
 drivers/net/wireless/ath/ath9k/htc_drv_init.c      |    2 +
 drivers/net/wireless/ath/ath9k/init.c              |   83 +-
 drivers/net/wireless/ath/ath9k/main.c              |  462 ++----
 drivers/net/wireless/ath/ath9k/recv.c              |   13 +-
 drivers/net/wireless/ath/ath9k/spectral.h          |   71 +-
 drivers/net/wireless/ath/ath9k/wow.c               |    3 +-
 drivers/net/wireless/ath/ath9k/xmit.c              |    7 +-
 drivers/net/wireless/ath/carl9170/main.c           |   11 +-
 drivers/net/wireless/ath/carl9170/tx.c             |    2 +-
 drivers/net/wireless/ath/spectral_common.h         |  113 ++
 drivers/net/wireless/ath/wil6210/cfg80211.c        |    6 +-
 drivers/net/wireless/ath/wil6210/debugfs.c         |  331 ++++-
 drivers/net/wireless/ath/wil6210/interrupt.c       |    2 +-
 drivers/net/wireless/ath/wil6210/main.c            |   30 +-
 drivers/net/wireless/ath/wil6210/netdev.c          |    8 +-
 drivers/net/wireless/ath/wil6210/pcie_bus.c        |    7 +-
 drivers/net/wireless/ath/wil6210/rx_reorder.c      |   16 +
 drivers/net/wireless/ath/wil6210/txrx.c            |    3 +-
 drivers/net/wireless/ath/wil6210/txrx.h            |    2 +-
 drivers/net/wireless/ath/wil6210/wil6210.h         |   17 +-
 drivers/net/wireless/ath/wil6210/wmi.c             |   49 +-
 drivers/net/wireless/ath/wil6210/wmi.h             |    4 +-
 drivers/net/wireless/atmel_cs.c                    |   22 +-
 drivers/net/wireless/b43/Makefile                  |    1 +
 drivers/net/wireless/b43/b43.h                     |   18 +
 drivers/net/wireless/b43/bus.c                     |   10 +
 drivers/net/wireless/b43/bus.h                     |   15 +
 drivers/net/wireless/b43/main.c                    |   17 +-
 drivers/net/wireless/b43/phy_a.c                   |    4 +-
 drivers/net/wireless/b43/phy_common.c              |   25 +-
 drivers/net/wireless/b43/phy_g.c                   |    8 +-
 drivers/net/wireless/b43/phy_ht.c                  |   20 +-
 drivers/net/wireless/b43/phy_lcn.c                 |   20 +-
 drivers/net/wireless/b43/phy_lp.c                  |   20 +-
 drivers/net/wireless/b43/phy_n.c                   |  128 +-
 drivers/net/wireless/b43/phy_n.h                   |    4 +
 drivers/net/wireless/b43/ppr.c                     |  199 +++
 drivers/net/wireless/b43/ppr.h                     |   45 +
 drivers/net/wireless/b43/tables_nphy.c             |  128 +-
 drivers/net/wireless/b43/tables_nphy.h             |    2 +
 drivers/net/wireless/brcm80211/brcmfmac/p2p.c      |    6 +-
 .../net/wireless/brcm80211/brcmfmac/wl_cfg80211.c  |   18 +-
 drivers/net/wireless/cw1200/cw1200_spi.c           |    4 +-
 drivers/net/wireless/ipw2x00/ipw2200.c             |    6 +-
 drivers/net/wireless/iwlwifi/Kconfig               |   10 +
 drivers/net/wireless/iwlwifi/dvm/tx.c              |    6 +-
 drivers/net/wireless/iwlwifi/iwl-7000.c            |    2 +
 drivers/net/wireless/iwlwifi/iwl-8000.c            |    2 +
 drivers/net/wireless/iwlwifi/iwl-csr.h             |    2 +
 drivers/net/wireless/iwlwifi/iwl-debug.h           |    2 +
 drivers/net/wireless/iwlwifi/iwl-devtrace.c        |    7 -
 drivers/net/wireless/iwlwifi/iwl-drv.c             |   10 +-
 drivers/net/wireless/iwlwifi/iwl-drv.h             |    2 +
 drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h   |    2 +
 drivers/net/wireless/iwlwifi/iwl-fw-file.h         |    2 +
 drivers/net/wireless/iwlwifi/iwl-fw.h              |    5 +
 drivers/net/wireless/iwlwifi/iwl-nvm-parse.c       |    2 +
 drivers/net/wireless/iwlwifi/iwl-op-mode.h         |    2 +
 drivers/net/wireless/iwlwifi/iwl-prph.h            |    3 +
 drivers/net/wireless/iwlwifi/iwl-scd.h             |  118 ++
 drivers/net/wireless/iwlwifi/iwl-trans.h           |   67 +-
 drivers/net/wireless/iwlwifi/mvm/coex.c            |    2 +
 drivers/net/wireless/iwlwifi/mvm/coex_legacy.c     |    2 +
 drivers/net/wireless/iwlwifi/mvm/constants.h       |    2 +
 drivers/net/wireless/iwlwifi/mvm/d3.c              |    4 +-
 drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c     |   10 +
 drivers/net/wireless/iwlwifi/mvm/debugfs.c         |   76 +
 drivers/net/wireless/iwlwifi/mvm/debugfs.h         |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h     |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h       |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api-power.h    |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h     |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h      |    2 +
 drivers/net/wireless/iwlwifi/mvm/fw-api.h          |   48 +-
 drivers/net/wireless/iwlwifi/mvm/fw.c              |    6 +-
 drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c        |  106 +-
 drivers/net/wireless/iwlwifi/mvm/mac80211.c        |  104 +-
 drivers/net/wireless/iwlwifi/mvm/mvm.h             |   41 +-
 drivers/net/wireless/iwlwifi/mvm/nvm.c             |    2 +
 drivers/net/wireless/iwlwifi/mvm/offloading.c      |    2 +
 drivers/net/wireless/iwlwifi/mvm/ops.c             |   16 +-
 drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c        |    2 +
 drivers/net/wireless/iwlwifi/mvm/power.c           |  148 +-
 drivers/net/wireless/iwlwifi/mvm/quota.c           |   14 +
 drivers/net/wireless/iwlwifi/mvm/rs.c              |   66 +-
 drivers/net/wireless/iwlwifi/mvm/rx.c              |   21 +
 drivers/net/wireless/iwlwifi/mvm/scan.c            |   50 +-
 drivers/net/wireless/iwlwifi/mvm/sf.c              |    2 +
 drivers/net/wireless/iwlwifi/mvm/sta.c             |   94 +-
 drivers/net/wireless/iwlwifi/mvm/sta.h             |   22 +-
 drivers/net/wireless/iwlwifi/mvm/testmode.h        |    2 +
 drivers/net/wireless/iwlwifi/mvm/time-event.c      |   61 +-
 drivers/net/wireless/iwlwifi/mvm/time-event.h      |    8 +-
 drivers/net/wireless/iwlwifi/mvm/tt.c              |   24 +-
 drivers/net/wireless/iwlwifi/mvm/tx.c              |    4 +-
 drivers/net/wireless/iwlwifi/mvm/utils.c           |   23 +-
 drivers/net/wireless/iwlwifi/pcie/drv.c            |    2 +
 drivers/net/wireless/iwlwifi/pcie/internal.h       |    8 +-
 drivers/net/wireless/iwlwifi/pcie/rx.c             |    1 +
 drivers/net/wireless/iwlwifi/pcie/trans.c          |    2 +
 drivers/net/wireless/iwlwifi/pcie/tx.c             |  137 +-
 drivers/net/wireless/libertas/cfg.c                |    2 +
 drivers/net/wireless/mwifiex/cfg80211.c            |    3 +-
 drivers/net/wireless/mwifiex/cmdevt.c              |   29 +-
 drivers/net/wireless/mwifiex/fw.h                  |    9 +-
 drivers/net/wireless/mwifiex/init.c                |    4 +-
 drivers/net/wireless/mwifiex/main.h                |    2 +-
 drivers/net/wireless/mwifiex/scan.c                |    3 +-
 drivers/net/wireless/mwifiex/sta_cmd.c             |    2 +-
 drivers/net/wireless/mwifiex/sta_cmdresp.c         |    2 +-
 drivers/net/wireless/mwifiex/sta_ioctl.c           |    4 +-
 drivers/net/wireless/mwifiex/util.c                |    2 +-
 drivers/net/wireless/orinoco/orinoco_usb.c         |   10 +-
 drivers/net/wireless/orinoco/scan.c                |   14 +-
 drivers/net/wireless/ray_cs.h                      |    5 +-
 drivers/net/wireless/rayctl.h                      |    5 +-
 drivers/net/wireless/rndis_wlan.c                  |   14 +-
 drivers/net/wireless/rt2x00/rt2800.h               |    4 +-
 drivers/net/wireless/rt2x00/rt2800lib.c            |    6 +
 drivers/net/wireless/ti/wl1251/spi.c               |    1 -
 drivers/net/wireless/ti/wlcore/spi.c               |   20 +-
 drivers/staging/rtl8723au/core/rtw_mlme_ext.c      |    2 +-
 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c  |    5 +-
 drivers/staging/wlan-ng/cfg80211.c                 |    1 +
 include/linux/bcma/bcma_regs.h                     |    5 +
 include/linux/ieee80211.h                          |   65 +
 include/net/bluetooth/hci_core.h                   |    8 +-
 include/net/bluetooth/l2cap.h                      |   33 +-
 include/net/cfg80211.h                             |   25 +-
 include/net/mac80211.h                             |   14 +-
 include/uapi/linux/nl80211.h                       |   16 +-
 net/bluetooth/6lowpan.c                            |   10 +-
 net/bluetooth/hci_core.c                           |   71 +-
 net/bluetooth/hci_event.c                          |   11 +-
 net/bluetooth/l2cap_core.c                         |  309 ++--
 net/bluetooth/l2cap_sock.c                         |   15 +-
 net/bluetooth/mgmt.c                               |  124 +-
 net/bluetooth/smp.c                                |  726 ++++++---
 net/bluetooth/smp.h                                |   10 +-
 net/ieee802154/6lowpan_rtnl.c                      |    8 -
 net/mac80211/cfg.c                                 |   13 +-
 net/mac80211/chan.c                                |  191 ++-
 net/mac80211/debugfs_sta.c                         |    3 +-
 net/mac80211/ibss.c                                |    2 +-
 net/mac80211/ieee80211_i.h                         |    1 -
 net/mac80211/key.c                                 |   12 +-
 net/mac80211/mesh_pathtbl.c                        |    4 +-
 net/mac80211/mesh_plink.c                          |   14 +-
 net/mac80211/mlme.c                                |   33 +-
 net/mac80211/rx.c                                  |    2 +-
 net/mac80211/scan.c                                |    2 +-
 net/mac80211/sta_info.c                            |    4 +-
 net/mac80211/sta_info.h                            |    2 -
 net/mac80211/tdls.c                                |    3 +-
 net/mac80211/tx.c                                  |   11 +-
 net/mac80211/wme.c                                 |    4 +-
 net/mac802154/rx.c                                 |    5 +-
 net/mac802154/tx.c                                 |   15 +-
 net/mac802154/wpan.c                               |   10 +-
 net/wireless/core.c                                |   13 +-
 net/wireless/mlme.c                                |    4 +-
 net/wireless/nl80211.c                             |   16 +-
 net/wireless/scan.c                                |   21 +-
 213 files changed, 8799 insertions(+), 4531 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath10k/spectral.c
 create mode 100644 drivers/net/wireless/ath/ath10k/spectral.h
 create mode 100644 drivers/net/wireless/ath/spectral_common.h
 create mode 100644 drivers/net/wireless/b43/ppr.c
 create mode 100644 drivers/net/wireless/b43/ppr.h
 create mode 100644 drivers/net/wireless/iwlwifi/iwl-scd.h
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: pull request: wireless-next 2014-09-08
  2014-09-08 19:16 pull request: wireless-next 2014-09-08 John W. Linville
@ 2014-09-08 23:44 ` David Miller
  2014-09-09 19:46 ` iwlwifi no authentication with AP - " Oliver Hartkopp
  1 sibling, 0 replies; 19+ messages in thread
From: David Miller @ 2014-09-08 23:44 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, netdev

From: "John W. Linville" <linville@tuxdriver.com>
Date: Mon, 8 Sep 2014 15:16:31 -0400

> Please pull this batch of updates intended for the 3.18 stream...

Pulled into net-next, thanks a lot John.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-08 19:16 pull request: wireless-next 2014-09-08 John W. Linville
  2014-09-08 23:44 ` David Miller
@ 2014-09-09 19:46 ` Oliver Hartkopp
  2014-09-09 19:52   ` John W. Linville
  2014-09-09 20:02   ` Emmanuel Grumbach
  1 sibling, 2 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-09 19:46 UTC (permalink / raw)
  To: John W. Linville, linux-wireless; +Cc: netdev

Hello John, all,

on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:

[   10.305284] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[   10.312179] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[   10.524936] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[   10.531762] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[   10.614189] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.097238] wlan0: authenticate with 84:c9:b2:d5:87:80
[   17.130120] wlan0: send auth to 84:c9:b2:d5:87:80 (try 1/3)
[   17.922281] wlan0: send auth to 84:c9:b2:d5:87:80 (try 2/3)
[   18.935272] wlan0: send auth to 84:c9:b2:d5:87:80 (try 3/3)
[   19.936236] wlan0: authentication with 84:c9:b2:d5:87:80 timed out
[   21.962337] iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
[   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
[   21.962413] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   21.962455] iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
[   21.962491] iwlwifi 0000:02:00.0: FH TRBs(1) = 0x00000000
[   21.962528] iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
[   21.962564] iwlwifi 0000:02:00.0: FH TRBs(3) = 0x00000000
[   21.962600] iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
[   21.962636] iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
[   21.962673] iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
[   21.962709] iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070402f
[   21.962790] iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [0,3]
[   21.962869] iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
[   21.962949] iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [0,0]
[   21.963030] iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963109] iwlwifi 0000:02:00.0: Q 4 is active and mapped to fifo 7 ra_tid 0x0000 [48,48]
[   21.963189] iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963270] iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963350] iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963428] iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963508] iwlwifi 0000:02:00.0: Q 9 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963588] iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963669] iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963750] iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963829] iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963909] iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.963988] iwlwifi 0000:02:00.0: Q 15 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.964069] iwlwifi 0000:02:00.0: Q 16 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.964149] iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.964228] iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   21.964308] iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   22.116816] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[   22.155887] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)

(..)

and again and again ...

Mainly this is the changing stuff in the following dmesg output:

[   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
[   26.951325] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 6
[   34.979316] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 9
[   39.964287] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 12
[   47.984243] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 15
[   55.984240] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 18
[   60.981221] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 21
[   73.878064] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 24
[   86.342476] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 27
[   98.770854] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 30
[  111.287320] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 33
[  121.045034] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 36

02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)

Any idea?

Regards,
Oliver


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-09 19:46 ` iwlwifi no authentication with AP - " Oliver Hartkopp
@ 2014-09-09 19:52   ` John W. Linville
  2014-09-09 20:15       ` Oliver Hartkopp
  2014-09-09 20:02   ` Emmanuel Grumbach
  1 sibling, 1 reply; 19+ messages in thread
From: John W. Linville @ 2014-09-09 19:52 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-wireless, netdev

On Tue, Sep 09, 2014 at 09:46:47PM +0200, Oliver Hartkopp wrote:
> Hello John, all,
> 
> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
> 
> [   10.305284] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
> [   10.312179] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
> [   10.524936] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
> [   10.531762] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
> [   10.614189] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   17.097238] wlan0: authenticate with 84:c9:b2:d5:87:80
> [   17.130120] wlan0: send auth to 84:c9:b2:d5:87:80 (try 1/3)
> [   17.922281] wlan0: send auth to 84:c9:b2:d5:87:80 (try 2/3)
> [   18.935272] wlan0: send auth to 84:c9:b2:d5:87:80 (try 3/3)
> [   19.936236] wlan0: authentication with 84:c9:b2:d5:87:80 timed out
> [   21.962337] iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
> [   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
> [   21.962413] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> [   21.962455] iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
> [   21.962491] iwlwifi 0000:02:00.0: FH TRBs(1) = 0x00000000
> [   21.962528] iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
> [   21.962564] iwlwifi 0000:02:00.0: FH TRBs(3) = 0x00000000
> [   21.962600] iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
> [   21.962636] iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
> [   21.962673] iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
> [   21.962709] iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070402f
> [   21.962790] iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [0,3]
> [   21.962869] iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
> [   21.962949] iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [0,0]
> [   21.963030] iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963109] iwlwifi 0000:02:00.0: Q 4 is active and mapped to fifo 7 ra_tid 0x0000 [48,48]
> [   21.963189] iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963270] iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963350] iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963428] iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963508] iwlwifi 0000:02:00.0: Q 9 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963588] iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963669] iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963750] iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963829] iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963909] iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963988] iwlwifi 0000:02:00.0: Q 15 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964069] iwlwifi 0000:02:00.0: Q 16 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964149] iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964228] iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964308] iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   22.116816] wlan0: authenticate with xx:xx:xx:xx:xx:xx
> [   22.155887] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
> 
> (..)
> 
> and again and again ...
> 
> Mainly this is the changing stuff in the following dmesg output:
> 
> [   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
> [   26.951325] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 6
> [   34.979316] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 9
> [   39.964287] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 12
> [   47.984243] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 15
> [   55.984240] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 18
> [   60.981221] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 21
> [   73.878064] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 24
> [   86.342476] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 27
> [   98.770854] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 30
> [  111.287320] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 33
> [  121.045034] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 36
> 
> 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
> 
> Any idea?
> 
> Regards,
> Oliver

Hopefully the Intel guys are listening.  As a hunch, what sort of
encryption are you using?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-09 19:46 ` iwlwifi no authentication with AP - " Oliver Hartkopp
  2014-09-09 19:52   ` John W. Linville
@ 2014-09-09 20:02   ` Emmanuel Grumbach
  2014-09-09 20:23       ` Oliver Hartkopp
  1 sibling, 1 reply; 19+ messages in thread
From: Emmanuel Grumbach @ 2014-09-09 20:02 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: John W. Linville, linux-wireless, netdev

On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
> Hello John, all,
>
> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:

Are you sure this wasn't the case before?
Can you bisect?

>
> [   10.305284] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
> [   10.312179] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
> [   10.524936] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
> [   10.531762] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
> [   10.614189] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   17.097238] wlan0: authenticate with 84:c9:b2:d5:87:80
> [   17.130120] wlan0: send auth to 84:c9:b2:d5:87:80 (try 1/3)
> [   17.922281] wlan0: send auth to 84:c9:b2:d5:87:80 (try 2/3)
> [   18.935272] wlan0: send auth to 84:c9:b2:d5:87:80 (try 3/3)
> [   19.936236] wlan0: authentication with 84:c9:b2:d5:87:80 timed out
> [   21.962337] iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
> [   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
> [   21.962413] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> [   21.962455] iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
> [   21.962491] iwlwifi 0000:02:00.0: FH TRBs(1) = 0x00000000
> [   21.962528] iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
> [   21.962564] iwlwifi 0000:02:00.0: FH TRBs(3) = 0x00000000
> [   21.962600] iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
> [   21.962636] iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
> [   21.962673] iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
> [   21.962709] iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070402f
> [   21.962790] iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [0,3]
> [   21.962869] iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
> [   21.962949] iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [0,0]
> [   21.963030] iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963109] iwlwifi 0000:02:00.0: Q 4 is active and mapped to fifo 7 ra_tid 0x0000 [48,48]
> [   21.963189] iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963270] iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963350] iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963428] iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963508] iwlwifi 0000:02:00.0: Q 9 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963588] iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963669] iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963750] iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963829] iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963909] iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.963988] iwlwifi 0000:02:00.0: Q 15 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964069] iwlwifi 0000:02:00.0: Q 16 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964149] iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964228] iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   21.964308] iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> [   22.116816] wlan0: authenticate with xx:xx:xx:xx:xx:xx
> [   22.155887] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
>
> (..)
>
> and again and again ...
>
> Mainly this is the changing stuff in the following dmesg output:
>
> [   21.962348] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 3
> [   26.951325] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 6
> [   34.979316] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 9
> [   39.964287] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 12
> [   47.984243] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 15
> [   55.984240] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 18
> [   60.981221] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 21
> [   73.878064] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 24
> [   86.342476] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 27
> [   98.770854] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 30
> [  111.287320] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 33
> [  121.045034] iwlwifi 0000:02:00.0: Current SW read_ptr 0 write_ptr 36
>
> 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
>
> Any idea?
>
> Regards,
> Oliver
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-09 20:15       ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-09 20:15 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless, netdev

On 09.09.2014 21:52, John W. Linville wrote:

> 
> Hopefully the Intel guys are listening.  As a hunch, what sort of
> encryption are you using?

They are :-)

I'm using WPA2.

Regards,
Oliver

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-09 20:15       ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-09 20:15 UTC (permalink / raw)
  To: John W. Linville
  Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA

On 09.09.2014 21:52, John W. Linville wrote:

> 
> Hopefully the Intel guys are listening.  As a hunch, what sort of
> encryption are you using?

They are :-)

I'm using WPA2.

Regards,
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-09 20:23       ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-09 20:23 UTC (permalink / raw)
  To: Emmanuel Grumbach; +Cc: John W. Linville, linux-wireless, netdev

On 09.09.2014 22:02, Emmanuel Grumbach wrote:
> On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>> Hello John, all,
>>
>> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
> 
> Are you sure this wasn't the case before?

Indeed I moved to net-next right today - as I also had the LED lockdep splat
on 3.17-rcX with X < 4.

So it can be that this issue was already introduced at the beginning of this
net-next cycle. Don't know, sorry. The latest 3.17-rc4 from Linus' tree works
fine. I'm running a Debian unstable here (in both cases).

> Can you bisect?

Not really. I'm running the kernel on my bare machine - and I just wanted to
go to bed right now ...

So I will be able to test patches tomorrow morning again.

Tnx for your fast feedback,
Oliver


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-09 20:23       ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-09 20:23 UTC (permalink / raw)
  To: Emmanuel Grumbach
  Cc: John W. Linville, linux-wireless, netdev-u79uwXL29TY76Z2rM5mHXA

On 09.09.2014 22:02, Emmanuel Grumbach wrote:
> On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> wrote:
>> Hello John, all,
>>
>> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
> 
> Are you sure this wasn't the case before?

Indeed I moved to net-next right today - as I also had the LED lockdep splat
on 3.17-rcX with X < 4.

So it can be that this issue was already introduced at the beginning of this
net-next cycle. Don't know, sorry. The latest 3.17-rc4 from Linus' tree works
fine. I'm running a Debian unstable here (in both cases).

> Can you bisect?

Not really. I'm running the kernel on my bare machine - and I just wanted to
go to bed right now ...

So I will be able to test patches tomorrow morning again.

Tnx for your fast feedback,
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-09 20:23       ` Oliver Hartkopp
  (?)
@ 2014-09-09 22:07       ` Vadim Kochan
  2014-09-10  5:01           ` Oliver Hartkopp
  -1 siblings, 1 reply; 19+ messages in thread
From: Vadim Kochan @ 2014-09-09 22:07 UTC (permalink / raw)
  To: Oliver Hartkopp
  Cc: Emmanuel Grumbach, John W. Linville, linux-wireless, netdev

I have the same issue with iwlwifi.

On Tue, Sep 9, 2014 at 11:23 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
> On 09.09.2014 22:02, Emmanuel Grumbach wrote:
>> On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>>> Hello John, all,
>>>
>>> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
>>
>> Are you sure this wasn't the case before?
>
> Indeed I moved to net-next right today - as I also had the LED lockdep splat
> on 3.17-rcX with X < 4.
>
> So it can be that this issue was already introduced at the beginning of this
> net-next cycle. Don't know, sorry. The latest 3.17-rc4 from Linus' tree works
> fine. I'm running a Debian unstable here (in both cases).
>
>> Can you bisect?
>
> Not really. I'm running the kernel on my bare machine - and I just wanted to
> go to bed right now ...
>
> So I will be able to test patches tomorrow morning again.
>
> Tnx for your fast feedback,
> Oliver
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  5:01           ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-10  5:01 UTC (permalink / raw)
  To: Vadim Kochan; +Cc: Emmanuel Grumbach, John W. Linville, linux-wireless, netdev

On 10.09.2014 00:07, Vadim Kochan wrote:
> I have the same issue with iwlwifi.

I tried an old zd1211 wireless USB stick to check if this problem is 80211
related. But the USB stick works fine (I'm using it right now).
So its definitely looks like an iwlwifi issue.

> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0

Wasn't there any change in the iwlwifi tx path recently??

Regards,
Oliver

> 
> On Tue, Sep 9, 2014 at 11:23 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>> On 09.09.2014 22:02, Emmanuel Grumbach wrote:
>>> On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>>>> Hello John, all,
>>>>
>>>> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
>>>
>>> Are you sure this wasn't the case before?
>>
>> Indeed I moved to net-next right today - as I also had the LED lockdep splat
>> on 3.17-rcX with X < 4.
>>
>> So it can be that this issue was already introduced at the beginning of this
>> net-next cycle. Don't know, sorry. The latest 3.17-rc4 from Linus' tree works
>> fine. I'm running a Debian unstable here (in both cases).
>>
>>> Can you bisect?
>>
>> Not really. I'm running the kernel on my bare machine - and I just wanted to
>> go to bed right now ...
>>
>> So I will be able to test patches tomorrow morning again.
>>
>> Tnx for your fast feedback,
>> Oliver
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  5:01           ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-10  5:01 UTC (permalink / raw)
  To: Vadim Kochan
  Cc: Emmanuel Grumbach, John W. Linville, linux-wireless,
	netdev-u79uwXL29TY76Z2rM5mHXA

On 10.09.2014 00:07, Vadim Kochan wrote:
> I have the same issue with iwlwifi.

I tried an old zd1211 wireless USB stick to check if this problem is 80211
related. But the USB stick works fine (I'm using it right now).
So its definitely looks like an iwlwifi issue.

> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0

Wasn't there any change in the iwlwifi tx path recently??

Regards,
Oliver

> 
> On Tue, Sep 9, 2014 at 11:23 PM, Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> wrote:
>> On 09.09.2014 22:02, Emmanuel Grumbach wrote:
>>> On Tue, Sep 9, 2014 at 10:46 PM, Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> wrote:
>>>> Hello John, all,
>>>>
>>>> on my i7 Laptop with iwlwifi the latest net-next does not connect to my access point:
>>>
>>> Are you sure this wasn't the case before?
>>
>> Indeed I moved to net-next right today - as I also had the LED lockdep splat
>> on 3.17-rcX with X < 4.
>>
>> So it can be that this issue was already introduced at the beginning of this
>> net-next cycle. Don't know, sorry. The latest 3.17-rc4 from Linus' tree works
>> fine. I'm running a Debian unstable here (in both cases).
>>
>>> Can you bisect?
>>
>> Not really. I'm running the kernel on my bare machine - and I just wanted to
>> go to bed right now ...
>>
>> So I will be able to test patches tomorrow morning again.
>>
>> Tnx for your fast feedback,
>> Oliver
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-10  5:01           ` Oliver Hartkopp
  (?)
@ 2014-09-10  8:24           ` Emmanuel Grumbach
  2014-09-10  9:16               ` Vadim Kochan
  2014-09-14 18:08             ` Kalle Valo
  -1 siblings, 2 replies; 19+ messages in thread
From: Emmanuel Grumbach @ 2014-09-10  8:24 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: Vadim Kochan, John W. Linville, linux-wireless, netdev

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
> On 10.09.2014 00:07, Vadim Kochan wrote:
>> I have the same issue with iwlwifi.
>
> I tried an old zd1211 wireless USB stick to check if this problem is 80211
> related. But the USB stick works fine (I'm using it right now).
> So its definitely looks like an iwlwifi issue.
>
>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>
> Wasn't there any change in the iwlwifi tx path recently??

Can you please try the patch attached? It works for me.

>
> Regards,
> Oliver
>
>>

[-- Attachment #2: 0001-iwlwifi-trans-don-t-configure-the-set_active-in-SCD-.patch --]
[-- Type: text/x-patch, Size: 4548 bytes --]

From 42bfcf93e18cb850d0b5f5e0a4b99a239e0e57ab Mon Sep 17 00:00:00 2001
From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date: Wed, 10 Sep 2014 11:16:41 +0300
Subject: [PATCH] iwlwifi: trans: don't configure the set_active in SCD for dvm

This configuration is not needed for dvm, and it actually
broke it.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
---
 drivers/net/wireless/iwlwifi/iwl-trans.h     | 2 ++
 drivers/net/wireless/iwlwifi/mvm/ops.c       | 1 +
 drivers/net/wireless/iwlwifi/pcie/internal.h | 2 ++
 drivers/net/wireless/iwlwifi/pcie/trans.c    | 1 +
 drivers/net/wireless/iwlwifi/pcie/tx.c       | 6 ++++--
 5 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index 36275b4..c87b452 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -382,6 +382,7 @@ enum iwl_trans_status {
  *	if unset 4k will be the RX buffer size
  * @bc_table_dword: set to true if the BC table expects the byte count to be
  *	in DWORD (as opposed to bytes)
+ * @scd_set_active: should the transport configure the SCD for HCMD queue
  * @queue_watchdog_timeout: time (in ms) after which queues
  *	are considered stuck and will trigger device restart
  * @command_names: array of command names, must be 256 entries
@@ -397,6 +398,7 @@ struct iwl_trans_config {
 
 	bool rx_buf_size_8k;
 	bool bc_table_dword;
+	bool scd_set_active;
 	unsigned int queue_watchdog_timeout;
 	const char *const *command_names;
 };
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwifi/mvm/ops.c
index 77b0b48..ed82547 100644
--- a/drivers/net/wireless/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/iwlwifi/mvm/ops.c
@@ -504,6 +504,7 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
 
 	trans_cfg.cmd_queue = IWL_MVM_CMD_QUEUE;
 	trans_cfg.cmd_fifo = IWL_MVM_TX_FIFO_CMD;
+	trans_cfg.scd_set_active = true;
 
 	snprintf(mvm->hw->wiphy->fw_version,
 		 sizeof(mvm->hw->wiphy->fw_version),
diff --git a/drivers/net/wireless/iwlwifi/pcie/internal.h b/drivers/net/wireless/iwlwifi/pcie/internal.h
index 5bca9a6..e6129af 100644
--- a/drivers/net/wireless/iwlwifi/pcie/internal.h
+++ b/drivers/net/wireless/iwlwifi/pcie/internal.h
@@ -257,6 +257,7 @@ iwl_pcie_get_scratchbuf_dma(struct iwl_txq *txq, int idx)
  * @cmd_queue - command queue number
  * @rx_buf_size_8k: 8 kB RX buffer size
  * @bc_table_dword: true if the BC table expects DWORD (as opposed to bytes)
+ * @scd_set_active: should the transport configure the SCD for HCMD queue
  * @rx_page_order: page order for receive buffer size
  * @wd_timeout: queue watchdog timeout (jiffies)
  * @reg_lock: protect hw register access
@@ -306,6 +307,7 @@ struct iwl_trans_pcie {
 
 	bool rx_buf_size_8k;
 	bool bc_table_dword;
+	bool scd_set_active;
 	u32 rx_page_order;
 
 	const char *const *command_names;
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c
index 0f4a4c1..a215624 100644
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/iwlwifi/pcie/trans.c
@@ -1177,6 +1177,7 @@ static void iwl_trans_pcie_configure(struct iwl_trans *trans,
 
 	trans_pcie->command_names = trans_cfg->command_names;
 	trans_pcie->bc_table_dword = trans_cfg->bc_table_dword;
+	trans_pcie->scd_set_active = trans_cfg->scd_set_active;
 
 	/* Initialize NAPI here - it should be before registering to mac80211
 	 * in the opmode but after the HW struct is allocated.
diff --git a/drivers/net/wireless/iwlwifi/pcie/tx.c b/drivers/net/wireless/iwlwifi/pcie/tx.c
index f4df951..d69f2e9 100644
--- a/drivers/net/wireless/iwlwifi/pcie/tx.c
+++ b/drivers/net/wireless/iwlwifi/pcie/tx.c
@@ -1085,7 +1085,8 @@ void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn,
 		fifo = cfg->fifo;
 
 		/* Disable the scheduler prior configuring the cmd queue */
-		if (txq_id == trans_pcie->cmd_queue)
+		if (txq_id == trans_pcie->cmd_queue &&
+		    trans_pcie->scd_set_active)
 			iwl_scd_enable_set_active(trans, 0);
 
 		/* Stop this Tx queue before configuring it */
@@ -1147,7 +1148,8 @@ void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn,
 			       SCD_QUEUE_STTS_REG_MSK);
 
 		/* enable the scheduler for this queue (only) */
-		if (txq_id == trans_pcie->cmd_queue)
+		if (txq_id == trans_pcie->cmd_queue &&
+		    trans_pcie->scd_set_active)
 			iwl_scd_enable_set_active(trans, BIT(txq_id));
 	}
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  9:16               ` Vadim Kochan
  0 siblings, 0 replies; 19+ messages in thread
From: Vadim Kochan @ 2014-09-10  9:16 UTC (permalink / raw)
  To: Emmanuel Grumbach
  Cc: Oliver Hartkopp, John W. Linville, linux-wireless, netdev

Hi,

Your patch works for me.

On Wed, Sep 10, 2014 at 11:24 AM, Emmanuel Grumbach <egrumbach@gmail.com> wrote:
> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>> I have the same issue with iwlwifi.
>>
>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>> related. But the USB stick works fine (I'm using it right now).
>> So its definitely looks like an iwlwifi issue.
>>
>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>
>> Wasn't there any change in the iwlwifi tx path recently??
>
> Can you please try the patch attached? It works for me.
>
>>
>> Regards,
>> Oliver
>>
>>>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  9:16               ` Vadim Kochan
  0 siblings, 0 replies; 19+ messages in thread
From: Vadim Kochan @ 2014-09-10  9:16 UTC (permalink / raw)
  To: Emmanuel Grumbach
  Cc: Oliver Hartkopp, John W. Linville, linux-wireless,
	netdev-u79uwXL29TY76Z2rM5mHXA

Hi,

Your patch works for me.

On Wed, Sep 10, 2014 at 11:24 AM, Emmanuel Grumbach <egrumbach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> wrote:
>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>> I have the same issue with iwlwifi.
>>
>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>> related. But the USB stick works fine (I'm using it right now).
>> So its definitely looks like an iwlwifi issue.
>>
>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>
>> Wasn't there any change in the iwlwifi tx path recently??
>
> Can you please try the patch attached? It works for me.
>
>>
>> Regards,
>> Oliver
>>
>>>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  9:23                 ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-10  9:23 UTC (permalink / raw)
  To: Vadim Kochan, Emmanuel Grumbach; +Cc: John W. Linville, linux-wireless, netdev

Hi all,

yes for me too.

Although I only could test it here with my mobile hotspot which only supports
WEP ... but before that hotspot was not working too.

I'll check with my WPA2 setup again when I'm back home (if it's still needed).

So far feel free to add my

Reported-by: Oliver Hartkopp <socketcan@hartkopp.net>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>

Many thanks for your quick reaction!

Best regards,
Oliver

On 10.09.2014 11:16, Vadim Kochan wrote:
> Hi,
> 
> Your patch works for me.
> 
> On Wed, Sep 10, 2014 at 11:24 AM, Emmanuel Grumbach <egrumbach@gmail.com> wrote:
>> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>>> I have the same issue with iwlwifi.
>>>
>>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>>> related. But the USB stick works fine (I'm using it right now).
>>> So its definitely looks like an iwlwifi issue.
>>>
>>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>>
>>> Wasn't there any change in the iwlwifi tx path recently??
>>
>> Can you please try the patch attached? It works for me.
>>
>>>
>>> Regards,
>>> Oliver
>>>
>>>>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
@ 2014-09-10  9:23                 ` Oliver Hartkopp
  0 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-10  9:23 UTC (permalink / raw)
  To: Vadim Kochan, Emmanuel Grumbach
  Cc: John W. Linville, linux-wireless, netdev-u79uwXL29TY76Z2rM5mHXA

Hi all,

yes for me too.

Although I only could test it here with my mobile hotspot which only supports
WEP ... but before that hotspot was not working too.

I'll check with my WPA2 setup again when I'm back home (if it's still needed).

So far feel free to add my

Reported-by: Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org>
Tested-by: Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org>

Many thanks for your quick reaction!

Best regards,
Oliver

On 10.09.2014 11:16, Vadim Kochan wrote:
> Hi,
> 
> Your patch works for me.
> 
> On Wed, Sep 10, 2014 at 11:24 AM, Emmanuel Grumbach <egrumbach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> wrote:
>>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>>> I have the same issue with iwlwifi.
>>>
>>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>>> related. But the USB stick works fine (I'm using it right now).
>>> So its definitely looks like an iwlwifi issue.
>>>
>>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>>
>>> Wasn't there any change in the iwlwifi tx path recently??
>>
>> Can you please try the patch attached? It works for me.
>>
>>>
>>> Regards,
>>> Oliver
>>>
>>>>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-10  9:23                 ` Oliver Hartkopp
  (?)
@ 2014-09-10 16:31                 ` Oliver Hartkopp
  -1 siblings, 0 replies; 19+ messages in thread
From: Oliver Hartkopp @ 2014-09-10 16:31 UTC (permalink / raw)
  To: Vadim Kochan, Emmanuel Grumbach; +Cc: John W. Linville, linux-wireless, netdev

On 10.09.2014 11:23, Oliver Hartkopp wrote:
> Hi all,
> 
> yes for me too.
> 
> Although I only could test it here with my mobile hotspot which only supports
> WEP ... but before that hotspot was not working too.
> 
> I'll check with my WPA2 setup again when I'm back home (if it's still needed).
> 

Just fyi - it also works @home with WPA2.
Tnx, Oliver

> So far feel free to add my
> 
> Reported-by: Oliver Hartkopp <socketcan@hartkopp.net>
> Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
> 
> Many thanks for your quick reaction!
> 
> Best regards,
> Oliver
> 
> On 10.09.2014 11:16, Vadim Kochan wrote:
>> Hi,
>>
>> Your patch works for me.
>>
>> On Wed, Sep 10, 2014 at 11:24 AM, Emmanuel Grumbach <egrumbach@gmail.com> wrote:
>>> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>>>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>>>> I have the same issue with iwlwifi.
>>>>
>>>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>>>> related. But the USB stick works fine (I'm using it right now).
>>>> So its definitely looks like an iwlwifi issue.
>>>>
>>>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>>>
>>>> Wasn't there any change in the iwlwifi tx path recently??
>>>
>>> Can you please try the patch attached? It works for me.
>>>
>>>>
>>>> Regards,
>>>> Oliver
>>>>
>>>>>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08
  2014-09-10  8:24           ` Emmanuel Grumbach
  2014-09-10  9:16               ` Vadim Kochan
@ 2014-09-14 18:08             ` Kalle Valo
  1 sibling, 0 replies; 19+ messages in thread
From: Kalle Valo @ 2014-09-14 18:08 UTC (permalink / raw)
  To: Emmanuel Grumbach
  Cc: Oliver Hartkopp, Vadim Kochan, John W. Linville, linux-wireless, netdev

Emmanuel Grumbach <egrumbach@gmail.com> writes:

> On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>> On 10.09.2014 00:07, Vadim Kochan wrote:
>>> I have the same issue with iwlwifi.
>>
>> I tried an old zd1211 wireless USB stick to check if this problem is 80211
>> related. But the USB stick works fine (I'm using it right now).
>> So its definitely looks like an iwlwifi issue.
>>
>>> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
>>
>> Wasn't there any change in the iwlwifi tx path recently??
>
> Can you please try the patch attached? It works for me.

Upgraded to latest wireless-testing and iwldvm was broken. This patch
fixed it for me as well.

Could we have the fix in the wireless tree ASAP? Not really fun to find
out that the driver is completely broken.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-09-14 18:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-08 19:16 pull request: wireless-next 2014-09-08 John W. Linville
2014-09-08 23:44 ` David Miller
2014-09-09 19:46 ` iwlwifi no authentication with AP - " Oliver Hartkopp
2014-09-09 19:52   ` John W. Linville
2014-09-09 20:15     ` Oliver Hartkopp
2014-09-09 20:15       ` Oliver Hartkopp
2014-09-09 20:02   ` Emmanuel Grumbach
2014-09-09 20:23     ` Oliver Hartkopp
2014-09-09 20:23       ` Oliver Hartkopp
2014-09-09 22:07       ` Vadim Kochan
2014-09-10  5:01         ` Oliver Hartkopp
2014-09-10  5:01           ` Oliver Hartkopp
2014-09-10  8:24           ` Emmanuel Grumbach
2014-09-10  9:16             ` Vadim Kochan
2014-09-10  9:16               ` Vadim Kochan
2014-09-10  9:23               ` Oliver Hartkopp
2014-09-10  9:23                 ` Oliver Hartkopp
2014-09-10 16:31                 ` Oliver Hartkopp
2014-09-14 18:08             ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.