1. 04 Jan, 2012 9 commits
    • Luis R. Rodriguez's avatar
      cfg80211: replace reg.c Nokia commit c4c32294 · 8848bef0
      Luis R. Rodriguez authored
      Nokia hasn't gotten back to me in over 1 month for a relicense
      change request. There are only a few changes that they contributed,
      so just reverting their changes but replacing with another set.
      This change replaces this commit:
      
      commit c4c32294
      Author: Yuri Ershov <ext-yuri.ershov@nokia.com>
      Date:   Tue Jun 29 15:08:08 2010 +0400
      
          cfg80211: Update of regulatory request initiator handling
      
          In some cases there could be possible dereferencing freed pointer. The
          update is intended to avoid this issue.
      Signed-off-by: default avatarYuri Ershov <ext-yuri.ershov@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      
      Cc: Petri Karhula <petri.karhula@nokia.com>
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      8848bef0
    • Luis R. Rodriguez's avatar
      ath9k_hw: fix sparse complaint on ar9003_switch_com_spdt_get() · a98aa7ae
      Luis R. Rodriguez authored
      This fixes this sparse complaint:
      
      make C=2 CF="-D__CHECK_ENDIAN__" M=drivers/net/wireless/ath/
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    got restricted __le16 [usertype] switchcomspdt
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    got restricted __le16 [usertype] switchcomspdt
      
      The eep->modalHeader5G.switchcomspdt is a le16 and we return u16,
      so just return le16_to_cpu().
      
      Cc: Felix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      a98aa7ae
    • Luis R. Rodriguez's avatar
      ath5k: avoid sparse warnings on tracing · 76ff9a61
      Luis R. Rodriguez authored
      Just skip the sparse checks on tracing.
      
        CHECK   drivers/net/wireless/ath/ath5k/base.c
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    right side has type int
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    right side has type int
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    right side has type int
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
        CC [M]  drivers/net/wireless/ath/ath5k/base.o
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      76ff9a61
    • Luis R. Rodriguez's avatar
      ath9k: fix tx queue sparse complaint · 1512a486
      Luis R. Rodriguez authored
      This fixes this rant from sparse:
      
        CHECK   drivers/net/wireless/ath/ath9k/xmit.c
      drivers/net/wireless/ath/ath9k/xmit.c:107:13: warning: context imbalance in 'ath_txq_lock' - wrong count at exit
      drivers/net/wireless/ath/ath9k/xmit.c:112:13: warning: context imbalance in 'ath_txq_unlock' - unexpected unlock
      drivers/net/wireless/ath/ath9k/xmit.c:123:30: warning: context imbalance in 'ath_txq_unlock_complete' - unexpected unlock
        CC [M]  drivers/net/wireless/ath/ath9k/xmit.
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1512a486
    • Luis R. Rodriguez's avatar
      ath9k_hw: fix sparse warnings on ar9003_rtt.c · e01ff34e
      Luis R. Rodriguez authored
      This fixes these sparse warnings:
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_rtt.c
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:36:6: warning: symbol 'ar9003_hw_rtt_enable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:41:6: warning: symbol 'ar9003_hw_rtt_disable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:46:6: warning: symbol 'ar9003_hw_rtt_set_mask' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:52:6: warning: symbol 'ar9003_hw_rtt_force_restore' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:102:6: warning: symbol 'ar9003_hw_rtt_load_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:135:6: warning: symbol 'ar9003_hw_rtt_fill_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:143:6: warning: symbol 'ar9003_hw_rtt_clear_hist' was not declared. Should it be stati
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e01ff34e
    • Ilan Elias's avatar
      NFC: Handle error during NCI data exchange · 004161cb
      Ilan Elias authored
      Add support for NCI Interface Error Notification.
      When this notification is received and we're during a
      data exchange transaction, indicate an error to the NFC
      core layer via the data exchange callback.
      Signed-off-by: default avatarIlan Elias <ilane@ti.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      004161cb
    • Ilan Elias's avatar
      NFC: Update names and structs to NCI spec 1.0 d22 · 637d85a7
      Ilan Elias authored
      Addition, deletion, and modification of NCI constants.
      Changes in NCI commands, responses, and notifications structures.
      Signed-off-by: default avatarIlan Elias <ilane@ti.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      637d85a7
    • Dmitry Shmidt's avatar
    • Helmut Schaa's avatar
      mac80211: Remove superfluous ieee80211_rx_h_remove_qos_control · b423db5b
      Helmut Schaa authored
      This seems to not serve any purpose anymore, at least all frame
      processing afterwards seems to be able to deal with QoS frames. So,
      let's save the expensive memmove and just leave the QoS header in the
      802.11 frame for further processing.
      Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b423db5b
  2. 02 Jan, 2012 1 commit
  3. 27 Dec, 2011 1 commit
  4. 23 Dec, 2011 1 commit
  5. 22 Dec, 2011 12 commits
  6. 21 Dec, 2011 16 commits