Tags: o11s/open80211s
Tags
mac80211: Defer tranmission of mesh path errors Under failure conditions, the mesh stack sends PERR messages to the previous sender of the failed frame. This happens in the tx feedback path, in which the transmission queue lock may be taken. Avoid a deadlock by sending the path error via the pending queue. v3: - Comment on headroom size (Johannes) v2: - Prepare skb for deferred transmission (Johannes) - Reword comment (Johannes) Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Johannes Berg <[email protected]>
mac80211: Stop forwarding mesh traffic when tx queues are full Tx flow control for non-mesh modes of operation only needs to act on the net device queues: when the hardware queues are full we stop accepting traffic from the net device. In mesh, however, we also need to stop forwarding traffic. This patch checks the hardware queues before attempting to forward a mesh frame. Signed-off-by: Javier Cardona <[email protected]> v2: Call ieee80211_queue_stopped, which acquires the queue lock (Johannes)
mac80211: Mesh data frames must have the QoS header Per sec 7.1.3.5 of draft 12.0 of 802.11s, mesh frames indicate the presence of the mesh control header in their QoS header. Signed-off-by: Javier Cardona <[email protected]>
PreviousNext