From: Andrei Otcheretianski Date: Sun, 25 May 2014 14:24:22 +0000 (+0300) Subject: iwlwifi: mvm: Use CS tx block bit for AP/GO X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~210^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003e5236a1fcab3fc4576fe643e31a3d83027256;p=pandora-kernel.git iwlwifi: mvm: Use CS tx block bit for AP/GO An AP/GO may perform the channel switch slightly before its stations. This scenario may result in packet loss, since the transmission may start before the client is actually on a new channel. In order to prevent potential packet loss disable tx to all the stations when the channel switch flow starts. Clear the disable_tx bit when a station is seen on a target channel, or after IWL_MVM_CS_UNBLOCK_TX_TIMEOUT beacons on a new channel. In addition call ieee80211_sta_block_awake in order to inform mac80211 that the frames for this station should be buffered. Signed-off-by: Andrei Otcheretianski Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed