1. 17 Apr, 2015 10 commits
  2. 15 Apr, 2015 5 commits
    • Peter Oh's avatar
      ath: lower JP W53 band DFS detection threshold around 30% · 26bea13a
      Peter Oh authored
      Japan's W53 band requires 50% data traffic during its DFS test,
      but WLAN baseband used by ath9k and ath10k is not able to achieve
      current threshold rate, 50%, under the data traffic rate.
      In other words, HW occasionally fails detecting radar pulses,
      so that SW cannot get enough radar reports to achieve the rate.
      Signed-off-by: default avatarPeter Oh <poh@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      26bea13a
    • Peter Oh's avatar
      ath: define JP DFS patterns separated from FCC · cb3fbd63
      Peter Oh authored
      Separate Japan's DFS pattern from FCC to control PPB threshold.
      
      Currently all the radar detectors use the same threshold rate at
      50%, but it's not able to achieve if data traffic rate is higher
      than 40% because WLAN baseband used by ath9k and ath10k often fails
      detecting radar pulses, so that SW cannot get enough radar reports
      to achieve the rate.
      
      Since Japan's W53 band requires 50% data traffic during its DFS
      test we need to apply different threshold rate than others on it.
      Hence define its own pattern to give flexibility to threshold rate.
      Signed-off-by: default avatarPeter Oh <poh@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      cb3fbd63
    • Michal Kazior's avatar
      ath10k: use scan burst for hw roc · dbd3f9f3
      Michal Kazior authored
      This improves chances of getting onto a foreign
      channel and thus makes P2P a bit more reliable.
      
      Without scan burst it was possible for firmware to
      not switch to foreign channel resulting in "failed
      to switch to channel for roc scan" warning. This
      would also effectively fail some offchan tx
      requests and lead to P2P find/connect taking
      longer. This could be observed when other vifs
      were running/busy, e.g. with P2P GO.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      dbd3f9f3
    • Michal Kazior's avatar
      ath10k: fix hw roc expiration · fcf98446
      Michal Kazior authored
      It is not guaranteed firmware will switch to
      foreign channel immediately after starting scan
      sequence. To account for that don't use duration
      parameter for scan time. Instead request insanely
      long scan and use timeout worker to cancel it from
      driver.
      
      This should improve P2P reliability a bit.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      fcf98446
    • Peter Oh's avatar
      ath: support new FCC DFS Radar Type 1 · 694c0e0a
      Peter Oh authored
      Add support for new FCC DFS rules released on August 14, 2014.
      FCC has added a new radar type named Radar Type 1 and original
      Radar Type 1 is renamed to Radar Type 0 in consequence.
      
      During the certificate test, Type 1 PRI values are randomly selected
      within the range of 518 and 3066 and we divide it to 3 groups based on
      practical test result data collected for more than a year.
      
      For about Radar type ID, it does nothing to functionalities.
      In other words, even if we re-order the IDs, DFS detection will
      work as well, but we give the ID with matching to FCC doc.
      
      By adding this support, the drivers using this DFS function are
      able to support both of old and new FCC DFS rules simultaneously
      without any other changes.
      Signed-off-by: default avatarPeter Oh <poh@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      694c0e0a
  3. 09 Apr, 2015 7 commits
  4. 01 Apr, 2015 17 commits
  5. 30 Mar, 2015 1 commit