21 Jul, 2011

4 commits

  • ieee80211_stop_rx_ba_session() was calling sta_info_get()
    without rcu locking, and the return value was not
    checked.
    This resulted in the following panic:

    [] (ieee80211_stop_rx_ba_session+0x0/0x60 [mac80211])
    [] (wl1271_event_handle+0x0/0xdc8 [wl12xx])
    [] (wl1271_irq+0x0/0x4a0 [wl12xx])
    [] (irq_thread+0x0/0x254)
    [] (kthread+0x0/0x8c)

    Signed-off-by: Eliad Peller
    Reviewed-by: Johannes Berg
    Signed-off-by: John W. Linville

    Eliad Peller
     
  • cfg80211_netdev_notifier_call() is configuring psm in case
    of NL80211_IFTYPE_STATION interface type (on NETDEV_UP).
    do the same for NL80211_IFTYPE_P2P_CLIENT interface type.

    Signed-off-by: Eliad Peller
    Reviewed-by: Johannes Berg
    Signed-off-by: John W. Linville

    Eliad Peller
     
  • In P2P client mode, the GO (AP) to connect to might
    have periods of time where it is not available due
    to powersave. To allow the driver to sync with it
    and send frames to the GO only when it is available
    add a new callback tx_sync (and the corresponding
    finish_tx_sync). These callbacks can sleep unlike
    the actual TX.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • Both ath5k_hw and ath5k_softc represent one instance of the hardware.
    This duplication is historical and is not needed anymore.

    Keep the name "ath5k_hw" for the merged structure and "ah" for the
    variable pointing to it. "ath5k_hw" is shorter than "ath5k_softc", more
    descriptive and more widely used.

    Put the combined structure to ath5k.h where the old ath5k_softc used to
    be. Move some code from base.h to ath5k.h as needed.

    Remove memory allocation for struct ath5k_hw and the corresponding error
    handling. Merge iobase and ah_iobase fields.

    Signed-off-by: Pavel Roskin
    Acked-by: Nick Kossifidis
    Signed-off-by: John W. Linville

    Pavel Roskin
     

20 Jul, 2011

18 commits


19 Jul, 2011

15 commits


16 Jul, 2011

3 commits