1. 13 Dec, 2018 3 commits
    • Brian Norris's avatar
      mwifiex: debugfs: correct histogram spacing, formatting · 4cb777c6
      Brian Norris authored
      Currently, snippets of this file look like:
      
      rx rates (in Mbps): 0=1M   1=2M2=5.5M  3=11M   4=6M   5=9M  6=12M
      7=18M  8=24M  9=36M  10=48M  11=54M12-27=MCS0-15(BW20) 28-43=MCS0-15(BW40)
      44-53=MCS0-9(VHT:BW20)54-63=MCS0-9(VHT:BW40)64-73=MCS0-9(VHT:BW80)
      ...
      noise_flr[--96dBm] = 22
      noise_flr[--95dBm] = 149
      noise_flr[--94dBm] = 9
      noise_flr[--93dBm] = 2
      
      We're missing some spaces, and we're adding a minus sign ('-') on values
      that are already negative signed integers.
      Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      4cb777c6
    • Pan Bian's avatar
      mwifiex: fix potential NULL dereference and use after free · 1dcd9429
      Pan Bian authored
      There are two defects: (1) passing a NULL bss to
      mwifiex_save_hidden_ssid_channels will result in NULL dereference,
      (2) using bss after dropping the reference to it via cfg80211_put_bss.
      To fix them, the patch moves the buggy code to the branch that bss is
      not NULL and puts it before cfg80211_put_bss.
      Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      1dcd9429
    • Kalle Valo's avatar
      Merge tag 'mt76-for-kvalo-2018-11-30' of https://github.com/nbd168/wireless · 074b145a
      Kalle Valo authored
      first batch of mt76 patches for 4.21
      
      * use the same firmware for mt76x2e and mt76x2u
      * mt76x2 fixes
      * mt76x0 fixes
      * mt76x0e survey support
      * more unification between mt76x2 and mt76x0
      * mt76x0e AP mode support
      * mt76x0e DFS support
      * rework and fix tx status handling for mt76x0 and mt76x2
      
      kvalo: fixed a conflict in drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c
      and a build problem in drivers/net/wireless/mediatek/mt76/mt76x02_util.c
      074b145a
  2. 04 Dec, 2018 23 commits
  3. 03 Dec, 2018 14 commits