diff options
author | Shahar Levi <shahar_levi@ti.com> | 2011-05-22 09:10:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-07 14:41:36 -0400 |
commit | f41ccd71d800c6fac18d2b4ae1830a222c6713da (patch) | |
tree | 984edea5c98f3ea4631907d4b48f48991d9bacff /include | |
parent | 41bfce8edebbe9dc6ddc238a71f07fbe9ab46016 (diff) |
mac80211: Stop BA session event from device
Some devices support BT/WLAN co-existence algorigthms.
In order not to harm the system performance and user experience, the device
requests not to allow any RX BA session and tear down existing RX BA sessions
based on system constraints such as periodic BT activity that needs to limit
WLAN activity (eg.SCO or A2DP).
In such cases, the intention is to limit the duration of the RX PPDU and
therefore prevent the peer device to use A-MPDU aggregation.
Adding ieee80211_stop_rx_ba_session() callback
that can be used by the driver to stop existing BA sessions.
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac80211.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index b250c6303d6f..3b31ec95dd8e 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -2969,6 +2969,23 @@ void ieee80211_ready_on_channel(struct ieee80211_hw *hw); | |||
2969 | */ | 2969 | */ |
2970 | void ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw); | 2970 | void ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw); |
2971 | 2971 | ||
2972 | /** | ||
2973 | * ieee80211_stop_rx_ba_session - callback to stop existing BA sessions | ||
2974 | * | ||
2975 | * in order not to harm the system performance and user experience, the device | ||
2976 | * may request not to allow any rx ba session and tear down existing rx ba | ||
2977 | * sessions based on system constraints such as periodic BT activity that needs | ||
2978 | * to limit wlan activity (eg.sco or a2dp)." | ||
2979 | * in such cases, the intention is to limit the duration of the rx ppdu and | ||
2980 | * therefore prevent the peer device to use a-mpdu aggregation. | ||
2981 | * | ||
2982 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. | ||
2983 | * @ba_rx_bitmap: Bit map of open rx ba per tid | ||
2984 | * @addr: & to bssid mac address | ||
2985 | */ | ||
2986 | void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, | ||
2987 | const u8 *addr); | ||
2988 | |||
2972 | /* Rate control API */ | 2989 | /* Rate control API */ |
2973 | 2990 | ||
2974 | /** | 2991 | /** |