1. 10 Mar, 2016 24 commits
  2. 09 Mar, 2016 13 commits
  3. 08 Mar, 2016 2 commits
    • Arnd Bergmann's avatar
      wireless: cw1200: use __maybe_unused to hide pm functions_ · 836856e3
      Arnd Bergmann authored
      The cw1200 uses #ifdef to check for CONFIG_PM, but then
      uses SIMPLE_DEV_PM_OPS, which leaves the references out when
      CONFIG_PM_SLEEP is not defined, so we get a warning with
      PM=y && PM_SLEEP=n:
      
      drivers/net/wireless/st/cw1200/cw1200_spi.c:450:12: error: 'cw1200_spi_suspend' defined but not used [-Werror=unused-function]
      
      This removes the incorrect #ifdef and instead uses a __maybe_unused
      annotation to let the compiler know it can silently drop
      the function definition.
      
      For the DEV_PM_OPS definition, we can use an IS_ENABLED() check
      to avoid defining the structure when CONFIG_PM is not set without
      the #ifdef.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      836856e3
    • Larry Finger's avatar
      rtlwifi: Fix size of wireless mode variable · 73fb2705
      Larry Finger authored
      Smatch reports the following warning:
      
        CHECK   drivers/net/wireless/realtek/rtlwifi/rc.c
      drivers/net/wireless/realtek/rtlwifi/rc.c:144 _rtl_rc_rate_set_series() warn: impossible condition '(wireless_mode == 256) => (0-255 == 256)'
      
      This warning arises because commit acc6907b87a9 ("rtlwifi: Fix warning
      from ieee80211_get_tx_rates() when using 5G") now checks the wireless
      mode for WIRELESS_MODE_AC_ONLY (BIT(8)) in _rtl_rc_rate_set_series().
      As a result, all quantities used to store the wireless mode must be u16.
      
      This patch also reorders struct rtl_sta_info to save a little space.
      
      Fixes: d76d65fd ("rtlwifi: fix broken VHT support")
      Reported-by: default avatarDan Williams <dcbw@redhat.com>
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      73fb2705
  4. 07 Mar, 2016 1 commit
    • Kalle Valo's avatar
      Merge tag 'iwlwifi-next-for-kalle-2016-03-02' of... · 739596b0
      Kalle Valo authored
      Merge tag 'iwlwifi-next-for-kalle-2016-03-02' of https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
      
      * add support for thermal device / cooling device (Chaya Rachel)
      * fixes for 9000 devices data path (Sara Sharon)
      * improvements in scheduled scan w/o profiles (Luca)
      * new firmware support (-21.ucode)
      * add MSIX support for 9000 devices (Haim Dreyfuss)
      * cleanup in PCIe initialization
      * enable MU-MIMO and take care of firmware restart(Sara Sharon)
              ===> This needs mac80211-next
      * add support for large SKBs in mvm to reach A-MSDU
              ===> This needs mac80211-next
      * add support for filtering frames from a BA session (Sara Sharon)
              ===> This needs mac80211-next
      * start implementing the new Rx path for 9000 devices (Sara Sharon)
      * enable the new RRM feature flag (Beni Lev)
      * fix U-APSD enablement on P2P Client (Avri Altman)
      * fix beacon abort enablement (Avri Altman)
      * forbid beacon storing with WoWLAN (Matti Gottlieb)
      * support unified uSniffer / regular firmware image (Golan Ben-Ami)
      * fix a race between debugfs hooks and iface up (Chaya Rachel Ivgi)
      * fixes for runtime PM (Luca)
      * add a new module paramater to disable VHT (Andrei Otcheretianski)
      * build infrastructure for Dynamic Queue Allocation (Liad Kaufman)
      739596b0