1. 07 10月, 2011 26 次提交
  2. 04 10月, 2011 9 次提交
  3. 03 10月, 2011 1 次提交
    • K
      ath6kl: include vmalloc.h in debug.c · 62c83ac4
      Kalle Valo 提交于
      Fixes compilation errors when compiling for ARM:
      
      ath6kl/debug.c:312: error: implicit declaration of function 'vmalloc'
      ath6kl/debug.c:312: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:342: error: implicit declaration of function 'vfree'
      ath6kl/debug.c:696: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:871: warning: assignment makes pointer from integer without a cast
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      62c83ac4
  4. 01 10月, 2011 4 次提交
    • K
      ath6kl: fix size_t related warnings · ef548626
      Kalle Valo 提交于
      My earlier debug log additions added these warnings when compiling 64 bit
      kernels:
      
      ath6kl/init.c:962: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:975: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:988: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:1009: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:1192: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      ath6kl/init.c:1236: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      ath6kl/init.c:1267: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      Reported-by: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      ef548626
    • J
      mac80211: implement uAPSD · 47086fc5
      Johannes Berg 提交于
      Add uAPSD support to mac80211. This is probably not
      possible with all devices, so advertising it with
      the cfg80211 flag will be left up to drivers that
      want it.
      
      Due to my previous patches it is now a fairly
      straight-forward extension. Drivers need to have
      accurate TX status reporting for the EOSP frame.
      For drivers that buffer themselves, the provided
      APIs allow releasing the right number of frames,
      but then drivers need to set EOSP and more-data
      themselves. This is documented in more detail in
      the new code itself.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      47086fc5
    • J
      mac80211: let drivers inform it about per TID buffered frames · 042ec453
      Johannes Berg 提交于
      For uAPSD implementation, it is necessary to know on
      which ACs frames are buffered. mac80211 obviously
      knows about the frames it has buffered itself, but
      with aggregation many drivers buffer frames. Thus,
      mac80211 needs to be informed about this.
      
      For now, since we don't have APSD in any form, this
      will unconditionally set the TIM bit for the station
      but later with uAPSD only some ACs might cause the
      TIM bit to be set.
      
      ath9k is the only driver using this API and I only
      modify it in the most basic way, it won't be able
      to implement uAPSD with this yet. But it can't do
      that anyway since there's no way to selectively
      release frames to the peer yet.
      
      Since drivers will buffer frames per TID, let them
      inform mac80211 on a per TID basis, mac80211 will
      then sort out the AC mapping itself.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      042ec453
    • G
      iwlagn: iwl-agn-rs: remove unnecessary null check for sta and lq_sta · a76011e2
      Greg Dietsche 提交于
      both sta and lq_sta are guaranteed to be not null in the
      calling function so we don't need to check them here.
      Signed-off-by: NGreg Dietsche <Gregory.Dietsche@cuw.edu>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a76011e2