1. 29 May, 2014 25 commits
  2. 28 May, 2014 5 commits
  3. 27 May, 2014 3 commits
  4. 26 May, 2014 3 commits
    • Johannes Berg's avatar
      cfg80211: send events when devices are added/removed · 3bb20556
      Johannes Berg authored
      We're currently sending NEW_WIPHY events for renames (which
      is a bit odd, but now can't be changed), but also send them
      for really new devices that register.
      
      Also send DEL_WIPHY events when a device is removed, the
      event ID for this was already reserved.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      3bb20556
    • Emmanuel Grumbach's avatar
      mac80211: fix virtual monitor interface addition · 34171dc0
      Emmanuel Grumbach authored
      Since the commit below, cfg80211_chandef_dfs_required()
      will warn if it gets a an NL80211_IFTYPE_UNSPECIFIED iftype
      as explicitely written in the commit log.
      When an virtual monitor interface is added, its type is set
      in ieee80211_sub_if_data.vif.type, but not in
      ieee80211_sub_if_data.wdev.iftype which is passed to
      cfg80211_chandef_dfs_required() hence resulting in the
      following warning:
      
      WARNING: CPU: 1 PID: 21265 at net/wireless/chan.c:376 cfg80211_chandef_dfs_required+0xbc/0x130 [cfg80211]()
      Modules linked in: [...]
      CPU: 1 PID: 21265 Comm: ifconfig Tainted: G        W  O 3.13.11+ #12
      Hardware name: Dell Inc. Latitude E6410/0667CC, BIOS A01 03/05/2010
       0000000000000009 ffff88008f5fdb08 ffffffff817d4219 ffff88008f5fdb50
       ffff88008f5fdb40 ffffffff8106f57d 0000000000000000 0000000000000000
       ffff880081062fb8 ffff8800810604e0 0000000000000001 ffff88008f5fdba0
      Call Trace:
       [<ffffffff817d4219>] dump_stack+0x4d/0x66
       [<ffffffff8106f57d>] warn_slowpath_common+0x7d/0xa0
       [<ffffffff8106f5ec>] warn_slowpath_fmt+0x4c/0x50
       [<ffffffffa04ea4ec>] cfg80211_chandef_dfs_required+0xbc/0x130 [cfg80211]
       [<ffffffffa06b1024>] ieee80211_vif_use_channel+0x94/0x500 [mac80211]
       [<ffffffffa0684e6b>] ieee80211_add_virtual_monitor+0x1ab/0x5c0 [mac80211]
       [<ffffffffa0686ae5>] ieee80211_do_open+0xe75/0x1580 [mac80211]
       [<ffffffffa0687259>] ieee80211_open+0x69/0x70 [mac80211]
      [snip]
      
      Fixes: 00ec75fc ("cfg80211: pass the actual iftype when calling cfg80211_chandef_dfs_required()")
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Acked-by: default avatarLuciano Coelho <luciano.coelho@intel.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      34171dc0
    • Luciano Coelho's avatar
      mac80211: add a single-transaction driver op to switch contexts · 1a5f0c13
      Luciano Coelho authored
      In some cases, when the driver is already using all the channel
      contexts it can handle at once, we have to do an in-place switch
      (ie. we cannot afford using an extra context temporarily for the
      transaction).  But some drivers may not support switching the channel
      context assigned to a vif on the fly (ie. without unassigning and
      assigning it) while others may only work if the context is changed on
      the fly, without unassigning it first.
      
      To allow these different scenarios, add a new driver operation that
      let's the driver decide how to handle an in-place switch.
      Signed-off-by: default avatarLuciano Coelho <luciano.coelho@intel.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      1a5f0c13
  5. 23 May, 2014 1 commit
  6. 22 May, 2014 3 commits
    • John W. Linville's avatar
      mwifiex: use 'const' qualifier for 2nd arg of mwifiex_tdls_add_ht_oper · ef1b075c
      John W. Linville authored
      Fixes the following warning:
      
        CC      drivers/net/wireless/mwifiex/tdls.o
      drivers/net/wireless/mwifiex/tdls.c: In function ‘mwifiex_prep_tdls_encap_data’:
      drivers/net/wireless/mwifiex/tdls.c:475:4: warning: passing argument 2 of ‘mwifiex_tdls_add_ht_oper’ discards ‘const’ qualifier from pointer target type [enabled by
      default]
          ret = mwifiex_tdls_add_ht_oper(priv, peer, 1, skb);
          ^
      drivers/net/wireless/mwifiex/tdls.c:190:1: note: expected ‘u8 *’ but argument is of type ‘const u8 *’
       mwifiex_tdls_add_ht_oper(struct mwifiex_private *priv, u8 *mac,
       ^
      drivers/net/wireless/mwifiex/tdls.c:481:4: warning: passing argument 2 of ‘mwifiex_tdls_add_ht_oper’ discards ‘const’ qualifier from pointer target type [enabled by
      default]
          ret = mwifiex_tdls_add_ht_oper(priv, peer, 0, skb);
          ^
      drivers/net/wireless/mwifiex/tdls.c:190:1: note: expected ‘u8 *’ but argument is of type ‘const u8 *’
       mwifiex_tdls_add_ht_oper(struct mwifiex_private *priv, u8 *mac,
       ^
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ef1b075c
    • Rajkumar Manoharan's avatar
      ath9k: fix sleep timer during suspend · 1c48f988
      Rajkumar Manoharan authored
      On idle state, sleep timer is scheduled to put the chip into fullsleep.
      But during suspend, this timer is scheduled after the chip is moved to
      fullsleep forcibily. This is causing below unnecessary error messages
      in kernel log during suspend.
      
      ath: phy2: timeout (100000 us) on reg 0x806c: 0xdeadbeef & 0x01f00000
      != 0x00000000
      ath: phy2: RX failed to go idle in 10 ms RXSM=0xdeadbeef
      ath: phy2: DMA failed to stop in 10 ms AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef
      DMADBG_7=0xdeadbeef
      Reported-by: default avatarArkh4mKn1ght <arkh4mkn1ght@gmail.com>
      Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1c48f988
    • Rajkumar Manoharan's avatar
      ath9k: Handle multiple keys while setting tx filters · 4bbf4414
      Rajkumar Manoharan authored
      The keycache index is used to abort transmission for given station
      when it goes to sleep state. But the commit "ath9k_hw: Abort transmission
      for sleeping station" is not handling multi-key station. Fix that.
      
      Cc: Felix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      4bbf4414