1. 10 9月, 2014 3 次提交
    • S
      ath9k: Fix RX filter calculation · 9019f646
      Sujith Manoharan 提交于
      If multiple channel contexts are active, then the opmode
      can be different in each context. Since the RX filter is
      calculated in ath_startrecv() before switching to the
      new opmode, the wrong filters are chosen.
      
      Fix this by calling ath9k_calculate_summary_state() before
      the RX module is started.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9019f646
    • S
      ath9k: Fix panic when adding an AP interface · 9bf30ff9
      Sujith Manoharan 提交于
      If a station interface is already assigned to a context
      and is active and a second interface of type AP is added,
      then beaconing on the new interface has to be begin only
      after the BSS_CHANGED_BEACON_ENABLED flag is sent by mac80211
      to the driver.
      
      But, since we issue ATH_CHANCTX_EVENT_ENABLE_MULTICHANNEL as soon
      as a new channel context is added, a switch occurs almost immediately
      before BSS_CHANGED_BEACON_ENABLED is received. When a HW reset
      is done for the new context, beacons are enabled for the
      interface since "enable_beacon" in the BSS config maintained
      in mac80211 is true - but the driver hasn't been notified yet.
      This causes a panic, since the beacon interval is zero for this
      interface and ath9k_cmn_beacon_config_ap() doesn't have a safety check.
      
      Fix this panic by checking if the beacon params has been cached
      for this context and use the "enable_beacon" flag maintained
      locally in the driver. Also, recalculate the summary data
      after the beacon params have been cached when BSS_CHANGED_BEACON_ENABLED
      is received.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9bf30ff9
    • S
      ath9k: Fix beacons for managed mode · 602607b6
      Sujith Manoharan 提交于
      If the current opmode is managed, the ATH_OP_BEACONS flag
      needs to be set only when there is a primary station interface
      and it is associated/active.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      602607b6
  2. 29 8月, 2014 14 次提交
  3. 02 7月, 2014 1 次提交
  4. 21 6月, 2014 1 次提交
  5. 20 6月, 2014 18 次提交
  6. 30 5月, 2014 1 次提交
  7. 23 5月, 2014 2 次提交