1. 19 Mar, 2015 3 commits
    • Michal Kazior's avatar
      ath10k: protect driver from unsolicited htc ep0 events · 5dc0f1db
      Michal Kazior authored
      Some firmware revisions (tested with qca6174
      rm2.0-00088) deliver unsolicited unknown (kind of
      garbled) HTC ep0 event to host in some cases.
      
      This issue was mainly observed with both qca988x
      and qca6174 being installed on a single host
      system. During driver probing if qca6174 booting
      sequences were somehow deferred (e.g. by qca988x
      implicitly making some resources busy presumably)
      the unsolicited event would came around 1s after
      ATH10K_HTC_MSG_READY_ID was delivered to host for
      qca6174.
      
      The unsolicited event would confuse driver and
      cause HTT initialization (and subsequently
      driver probing) to fail.
      
      Make the ep0 event processing more robust. The
      event will still be caught but instead will
      only generate a warning now.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      5dc0f1db
    • Rajkumar Manoharan's avatar
      ath10k: fix wrong symlink name on error path · 7e47e8e3
      Rajkumar Manoharan authored
      Wrong symlink name is used on error path of thermal registration
      and also correcting the error message.
      Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      7e47e8e3
    • Michal Kazior's avatar
      ath10k: strip qos data bit always · 8bad8dcd
      Michal Kazior authored
      NativeWifi tx mode expects QoS Data frames to be
      delivered as Data frames with QoS part (e.g. tid)
      being delievered out-of-band in fw tx command.
      
      The QoS bit wasn't stripped before submitting to
      firmware.
      
      Stripping fixes two known problems:
      
       * qca6174 IOT with some APs, e.g.
         Cisco AIR-AP 1252 (which would crash after
         ath10k association). Some ath9k APs would
         crash as well.
      
       * sniffing own tx frames via radiotap because,
         e.g. wireshark was seeing QoS bit set but
         since QoS Control was stripped in ath10k it
         would parse beginning of LLC/SNAP
      
      >From debugability point of view this removes the
      ability to distinguish QoS from non-QoS frames
      when sniffing own tx via radiotap. On the other
      hand frames can be now parsed correctly without
      special software modification.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      8bad8dcd
  2. 12 Mar, 2015 6 commits
  3. 07 Mar, 2015 14 commits
  4. 05 Mar, 2015 10 commits
  5. 04 Mar, 2015 5 commits
  6. 03 Mar, 2015 2 commits