1. 07 Mar, 2016 2 commits
    • Maya Erez's avatar
      wil6210: AP: prevent connecting to already connected station · 3d287fb3
      Maya Erez authored
      wmi_evt_connect doesn't check if the connect event is received for
      an already connected station.
      This can lead to memory leak as a new vring is allocated without
      freeing the previously allocated vring and to unexpected behavior
      of nl80211 layer due to unexpected notification of a new station.
      
      Add a check in wmi_evt_connect in AP mode to verify that the requested
      CID is not associated to an already connected station.
      Signed-off-by: default avatarMaya Erez <qca_merez@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      3d287fb3
    • Maya Erez's avatar
      wil6210: remove BACK RX and TX workers · 361486b2
      Maya Erez authored
      WMI synchronous handling has changed and WMI calls that provide
      a buffer for the reply are completed in the WMI interrupt context.
      This allows sending the RX and TX BACK commands from the WMI event
      handler without the need for the worker thread.
      This is a better approach as it can decrease the handshake time
      in the connect flow and prevent race conditions in case of fast
      disconnects. An example for such a race is handling of wil_back_rx_handle
      during a disconnect event, as wil_back_rx_handle is not protected by
      the wil mutex and a disconnect can be handled after sta->status is
      verified as connected.
      Signed-off-by: default avatarMaya Erez <qca_merez@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      361486b2
  2. 06 Mar, 2016 16 commits
  3. 05 Mar, 2016 5 commits
  4. 04 Mar, 2016 17 commits