1. 04 Jan, 2012 8 commits
    • 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
  7. 20 Dec, 2011 1 commit
    • Eyal Shapira's avatar
      wl12xx: mark no sched scan only after FW event · ee91d185
      Eyal Shapira authored
      stop sched scan isn't an immediate operation
      and we need to wait for PERIODIC_SCAN_COMPLETE_EVENT_ID
      after sending a stop before changing internal state
      and notifying upper layers.
      Not doing this caused problems when canceling an existing sched
      scan and immediately requesting to start a new one
      with a different configuration as the FW was still
      in the middle of the previous sched scan.
      Signed-off-by: default avatarEyal Shapira <eyal@wizery.com>
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      ee91d185