aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-09 06:49:21 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-12 14:19:38 -0400
commit177958e9679c23537411066cc41b205635dacb14 (patch)
tree9c5b4cebbe1cf1ba17a45b9aa660cde82619a958 /include/net
parent3789d59c24cb142e4590492c3b5137a7c3dec352 (diff)
mac80211: remove tx_sync
When the station state callback was added, this was no longer needed in theory. With the iwlwifi changes to remove use of it landing, we can kill the entire tx-sync framework again, RIP. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index f7917f765cbc..44e4dfcb5722 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1766,20 +1766,6 @@ enum ieee80211_ampdu_mlme_action {
1766}; 1766};
1767 1767
1768/** 1768/**
1769 * enum ieee80211_tx_sync_type - TX sync type
1770 * @IEEE80211_TX_SYNC_AUTH: sync TX for authentication
1771 * (and possibly also before direct probe)
1772 * @IEEE80211_TX_SYNC_ASSOC: sync TX for association
1773 * @IEEE80211_TX_SYNC_ACTION: sync TX for action frame
1774 * (not implemented yet)
1775 */
1776enum ieee80211_tx_sync_type {
1777 IEEE80211_TX_SYNC_AUTH,
1778 IEEE80211_TX_SYNC_ASSOC,
1779 IEEE80211_TX_SYNC_ACTION,
1780};
1781
1782/**
1783 * enum ieee80211_frame_release_type - frame release reason 1769 * enum ieee80211_frame_release_type - frame release reason
1784 * @IEEE80211_FRAME_RELEASE_PSPOLL: frame released for PS-Poll 1770 * @IEEE80211_FRAME_RELEASE_PSPOLL: frame released for PS-Poll
1785 * @IEEE80211_FRAME_RELEASE_UAPSD: frame(s) released due to 1771 * @IEEE80211_FRAME_RELEASE_UAPSD: frame(s) released due to
@@ -1889,26 +1875,6 @@ enum ieee80211_frame_release_type {
1889 * of the bss parameters has changed when a call is made. The callback 1875 * of the bss parameters has changed when a call is made. The callback
1890 * can sleep. 1876 * can sleep.
1891 * 1877 *
1892 * @tx_sync: Called before a frame is sent to an AP/GO. In the GO case, the
1893 * driver should sync with the GO's powersaving so the device doesn't
1894 * transmit the frame while the GO is asleep. In the regular AP case
1895 * it may be used by drivers for devices implementing other restrictions
1896 * on talking to APs, e.g. due to regulatory enforcement or just HW
1897 * restrictions.
1898 * This function is called for every authentication, association and
1899 * action frame separately since applications might attempt to auth
1900 * with multiple APs before chosing one to associate to. If it returns
1901 * an error, the corresponding authentication, association or frame
1902 * transmission is aborted and reported as having failed. It is always
1903 * called after tuning to the correct channel.
1904 * The callback might be called multiple times before @finish_tx_sync
1905 * (but @finish_tx_sync will be called once for each) but in practice
1906 * this is unlikely to happen. It can also refuse in that case if the
1907 * driver cannot handle that situation.
1908 * This callback can sleep.
1909 * @finish_tx_sync: Called as a counterpart to @tx_sync, unless that returned
1910 * an error. This callback can sleep.
1911 *
1912 * @prepare_multicast: Prepare for multicast filter configuration. 1878 * @prepare_multicast: Prepare for multicast filter configuration.
1913 * This callback is optional, and its return value is passed 1879 * This callback is optional, and its return value is passed
1914 * to configure_filter(). This callback must be atomic. 1880 * to configure_filter(). This callback must be atomic.
@@ -2180,13 +2146,6 @@ struct ieee80211_ops {
2180 struct ieee80211_bss_conf *info, 2146 struct ieee80211_bss_conf *info,
2181 u32 changed); 2147 u32 changed);
2182 2148
2183 int (*tx_sync)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
2184 const u8 *bssid, enum ieee80211_tx_sync_type type);
2185 void (*finish_tx_sync)(struct ieee80211_hw *hw,
2186 struct ieee80211_vif *vif,
2187 const u8 *bssid,
2188 enum ieee80211_tx_sync_type type);
2189
2190 u64 (*prepare_multicast)(struct ieee80211_hw *hw, 2149 u64 (*prepare_multicast)(struct ieee80211_hw *hw,
2191 struct netdev_hw_addr_list *mc_list); 2150 struct netdev_hw_addr_list *mc_list);
2192 void (*configure_filter)(struct ieee80211_hw *hw, 2151 void (*configure_filter)(struct ieee80211_hw *hw,