1. 21 5月, 2009 1 次提交
    • J
      ath9k: Fix PS mode operation to receive buffered broadcast/multicast frames · cc65965c
      Jouni Malinen 提交于
      The previous implementation was moving back to NETWORK SLEEP state
      immediately after receiving a Beacon frame. This means that we are
      unlikely to receive all the buffered broadcast/multicast frames that
      would be sent after DTIM Beacon frames. Fix this by parsing the Beacon
      frame and remaining awake, if needed, to receive the buffered
      broadcast/multicast frames. The last buffered frame will trigger the
      move back into NETWORK SLEEP state.
      
      If the last broadcast/multicast frame is not received properly (or if
      the AP fails to send it), the next Beacon frame will work as a backup
      trigger for returning into NETWORK SLEEP.
      
      A new debug type, PS (debug=0x800 module parameter), is added to make
      it easier to debug potential power save issues in the
      future. Currently, this is only used for the Beacon frame and buffered
      broadcast/multicast receiving.
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cc65965c
  2. 23 4月, 2009 2 次提交
  3. 28 3月, 2009 1 次提交
  4. 17 3月, 2009 1 次提交
  5. 06 3月, 2009 1 次提交
    • J
      ath9k: Add a debugfs interface for controlling virtual wiphys · 39d89cd3
      Jouni Malinen 提交于
      debugfs ath9k/phy#/wiphy can be used to show the current list of
      virtual wiphys and to add/remove virtual wiphys. Eventually, this
      interface could be replaced with a cfg80211/nl80211 command that is
      passed through mac80211.
      
      For example:
      # cat /debug/ath9k/phy0/wiphy
      primary: phy0
      # echo add > /debug/ath9k/phy0/wiphy
      # cat /debug/ath9k/phy0/wiphy
      primary: phy0
      secondary: phy1
      # echo del=phy1 > /debug/ath9k/phy0/wiphy
      # cat /debug/ath9k/phy0/wiphy
      primary: phy0
      
      In addition, following commands can be used to test pausing and
      unpausing of the virtual wiphys:
      pause=phy1
      unpause=phy1
      select=phy1
      (select pauses and unpauses wiphys automatically based on channel)
      schedule=500
      (set wiphy scheduling interval in msec; 0 = disable; default value: 500)
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      39d89cd3
  6. 28 2月, 2009 1 次提交
  7. 14 2月, 2009 1 次提交