1. 25 Oct, 2019 19 commits
  2. 16 Oct, 2019 1 commit
  3. 15 Oct, 2019 2 commits
  4. 14 Oct, 2019 7 commits
  5. 11 Oct, 2019 6 commits
  6. 09 Oct, 2019 5 commits
    • zhengbin's avatar
      rtlwifi: rtl8192ee: Remove set but not used variable 'cur_tx_wp' · ac8efe4f
      zhengbin authored
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c: In function rtl92ee_is_tx_desc_closed:
      drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c:1005:18: warning: variable cur_tx_wp set but not used [-Wunused-but-set-variable]
      
      It is not used since commit cf54622c ("rtlwifi:
      cleanup the code that check whether TX ring is available")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      ac8efe4f
    • Colin Ian King's avatar
      rtl8xxxu: make arrays static, makes object smaller · 314bf64d
      Colin Ian King authored
      Don't populate const arrays on the stack but instead make them
      static. Makes the object code smaller by 60 bytes.
      
      Before:
         text	   data	    bss	    dec	    hex	filename
        15133	   8768	      0	  23901	   5d5d	realtek/rtl8xxxu/rtl8xxxu_8192e.o
        15209	   6392	      0	  21601	   5461	realtek/rtl8xxxu/rtl8xxxu_8723b.o
       103254	  31202	    576	 135032	  20f78	realtek/rtl8xxxu/rtl8xxxu_core.o
      
      After:
         text	   data	    bss	    dec	    hex	filename
        14861	   9024	      0	  23885	   5d4d	realtek/rtl8xxxu/rtl8xxxu_8192e.o
        14953	   6616	      0	  21569	   5441	realtek/rtl8xxxu/rtl8xxxu_8723b.o
       102986	  31458	    576	 135020	  20f6c	realtek/rtl8xxxu/rtl8xxxu_core.o
      
      (gcc version 9.2.1, amd64)
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Reviewed-by: default avatarChris Chiu <chiu@endlessm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      314bf64d
    • Colin Ian King's avatar
      iwlegacy: make array interval static, makes object smaller · 55047fb7
      Colin Ian King authored
      Don't populate the array interval on the stack but instead make it
      static. Makes the object code smaller by 121 bytes.
      
      Before:
         text	   data	    bss	    dec	    hex	filename
       167797	  29676	    448	 197921	  30521	wireless/intel/iwlegacy/common.o
      
      After:
         text	   data	    bss	    dec	    hex	filename
       167580	  29772	    448	 197800	  304a8	wireless/intel/iwlegacy/common.o
      
      (gcc version 9.2.1, amd64)
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      55047fb7
    • Dan Carpenter's avatar
      rtw88: Fix an error message · be10b09b
      Dan Carpenter authored
      The WARN_ON() macro doesn't take an error message, the argument is a
      condition so this won't display the warning message.
      
      Fixes: 27e117e4 ("rtw88: add deep power save support")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      be10b09b
    • Chris Chiu's avatar
      rtl8xxxu: add bluetooth co-existence support for single antenna · e542e66b
      Chris Chiu authored
      The RTL8723BU suffers the wifi disconnection problem while bluetooth
      device connected. While wifi is doing tx/rx, the bluetooth will scan
      without results. This is due to the wifi and bluetooth share the same
      single antenna for RF communication and they need to have a mechanism
      to collaborate.
      
      BT information is provided via the packet sent from co-processor to
      host (C2H). It contains the status of BT but the rtl8723bu_handle_c2h
      dose not really handle it. And there's no bluetooth coexistence
      mechanism to deal with it.
      
      This commit adds a workqueue to set the tdma configurations and
      coefficient table per the parsed bluetooth link status and given
      wifi connection state. The tdma/coef table comes from the vendor
      driver code of the RTL8192EU and RTL8723BU. However, this commit is
      only for single antenna scenario which RTL8192EU is default dual
      antenna. The rtl8xxxu_parse_rxdesc24 which invokes the handle_c2h
      is only for 8723b and 8192e so the mechanism is expected to work
      on both chips with single antenna. Note RTL8192EU dual antenna is
      not supported.
      Signed-off-by: default avatarChris Chiu <chiu@endlessm.com>
      Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@gmail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      e542e66b