diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ar5523/ar5523.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/cw1200/sta.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/cw1200/sta.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/mac80211.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/p54/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/core.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 3 |
16 files changed, 34 insertions, 16 deletions
diff --git a/drivers/net/wireless/ath/ar5523/ar5523.c b/drivers/net/wireless/ath/ar5523/ar5523.c index 507d9a9ee69a..f92050617ae6 100644 --- a/drivers/net/wireless/ath/ar5523/ar5523.c +++ b/drivers/net/wireless/ath/ar5523/ar5523.c | |||
@@ -1090,7 +1090,8 @@ static int ar5523_set_rts_threshold(struct ieee80211_hw *hw, u32 value) | |||
1090 | return ret; | 1090 | return ret; |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | static void ar5523_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1093 | static void ar5523_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1094 | u32 queues, bool drop) | ||
1094 | { | 1095 | { |
1095 | struct ar5523 *ar = hw->priv; | 1096 | struct ar5523 *ar = hw->priv; |
1096 | 1097 | ||
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 511a2f81e7af..d1df99350147 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c | |||
@@ -3544,7 +3544,8 @@ static int ath10k_set_frag_threshold(struct ieee80211_hw *hw, u32 value) | |||
3544 | return ret; | 3544 | return ret; |
3545 | } | 3545 | } |
3546 | 3546 | ||
3547 | static void ath10k_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 3547 | static void ath10k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
3548 | u32 queues, bool drop) | ||
3548 | { | 3549 | { |
3549 | struct ath10k *ar = hw->priv; | 3550 | struct ath10k *ar = hw->priv; |
3550 | bool skip; | 3551 | bool skip; |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index d69853b848ce..49265c6a1a7e 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1883,7 +1883,8 @@ static bool ath9k_has_tx_pending(struct ath_softc *sc) | |||
1883 | return !!npend; | 1883 | return !!npend; |
1884 | } | 1884 | } |
1885 | 1885 | ||
1886 | static void ath9k_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1886 | static void ath9k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1887 | u32 queues, bool drop) | ||
1887 | { | 1888 | { |
1888 | struct ath_softc *sc = hw->priv; | 1889 | struct ath_softc *sc = hw->priv; |
1889 | struct ath_hw *ah = sc->sc_ah; | 1890 | struct ath_hw *ah = sc->sc_ah; |
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index 4c8cdb097b65..f8ded84b7be8 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c | |||
@@ -1707,7 +1707,9 @@ found: | |||
1707 | return 0; | 1707 | return 0; |
1708 | } | 1708 | } |
1709 | 1709 | ||
1710 | static void carl9170_op_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1710 | static void carl9170_op_flush(struct ieee80211_hw *hw, |
1711 | struct ieee80211_vif *vif, | ||
1712 | u32 queues, bool drop) | ||
1711 | { | 1713 | { |
1712 | struct ar9170 *ar = hw->priv; | 1714 | struct ar9170 *ar = hw->priv; |
1713 | unsigned int vid; | 1715 | unsigned int vid; |
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c index 8c5fa4e58139..43c71bfaa474 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | |||
@@ -897,7 +897,8 @@ static bool brcms_tx_flush_completed(struct brcms_info *wl) | |||
897 | return result; | 897 | return result; |
898 | } | 898 | } |
899 | 899 | ||
900 | static void brcms_ops_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 900 | static void brcms_ops_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
901 | u32 queues, bool drop) | ||
901 | { | 902 | { |
902 | struct brcms_info *wl = hw->priv; | 903 | struct brcms_info *wl = hw->priv; |
903 | int ret; | 904 | int ret; |
diff --git a/drivers/net/wireless/cw1200/sta.c b/drivers/net/wireless/cw1200/sta.c index 103f7bce8932..cd0cad7f7759 100644 --- a/drivers/net/wireless/cw1200/sta.c +++ b/drivers/net/wireless/cw1200/sta.c | |||
@@ -936,7 +936,8 @@ static int __cw1200_flush(struct cw1200_common *priv, bool drop) | |||
936 | return ret; | 936 | return ret; |
937 | } | 937 | } |
938 | 938 | ||
939 | void cw1200_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 939 | void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
940 | u32 queues, bool drop) | ||
940 | { | 941 | { |
941 | struct cw1200_common *priv = hw->priv; | 942 | struct cw1200_common *priv = hw->priv; |
942 | 943 | ||
diff --git a/drivers/net/wireless/cw1200/sta.h b/drivers/net/wireless/cw1200/sta.h index 35babb62cc6a..b7e386b7662b 100644 --- a/drivers/net/wireless/cw1200/sta.h +++ b/drivers/net/wireless/cw1200/sta.h | |||
@@ -40,7 +40,8 @@ int cw1200_set_key(struct ieee80211_hw *dev, enum set_key_cmd cmd, | |||
40 | 40 | ||
41 | int cw1200_set_rts_threshold(struct ieee80211_hw *hw, u32 value); | 41 | int cw1200_set_rts_threshold(struct ieee80211_hw *hw, u32 value); |
42 | 42 | ||
43 | void cw1200_flush(struct ieee80211_hw *hw, u32 queues, bool drop); | 43 | void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
44 | u32 queues, bool drop); | ||
44 | 45 | ||
45 | u64 cw1200_prepare_multicast(struct ieee80211_hw *hw, | 46 | u64 cw1200_prepare_multicast(struct ieee80211_hw *hw, |
46 | struct netdev_hw_addr_list *mc_list); | 47 | struct netdev_hw_addr_list *mc_list); |
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c index 4f42174d9994..ecc674627e6e 100644 --- a/drivers/net/wireless/iwlegacy/common.c +++ b/drivers/net/wireless/iwlegacy/common.c | |||
@@ -4755,7 +4755,8 @@ out: | |||
4755 | } | 4755 | } |
4756 | EXPORT_SYMBOL(il_mac_change_interface); | 4756 | EXPORT_SYMBOL(il_mac_change_interface); |
4757 | 4757 | ||
4758 | void il_mac_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 4758 | void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
4759 | u32 queues, bool drop) | ||
4759 | { | 4760 | { |
4760 | struct il_priv *il = hw->priv; | 4761 | struct il_priv *il = hw->priv; |
4761 | unsigned long timeout = jiffies + msecs_to_jiffies(500); | 4762 | unsigned long timeout = jiffies + msecs_to_jiffies(500); |
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h index dfb13c70efe8..ea5c0f863c4e 100644 --- a/drivers/net/wireless/iwlegacy/common.h +++ b/drivers/net/wireless/iwlegacy/common.h | |||
@@ -1723,7 +1723,8 @@ void il_mac_remove_interface(struct ieee80211_hw *hw, | |||
1723 | struct ieee80211_vif *vif); | 1723 | struct ieee80211_vif *vif); |
1724 | int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | 1724 | int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1725 | enum nl80211_iftype newtype, bool newp2p); | 1725 | enum nl80211_iftype newtype, bool newp2p); |
1726 | void il_mac_flush(struct ieee80211_hw *hw, u32 queues, bool drop); | 1726 | void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1727 | u32 queues, bool drop); | ||
1727 | int il_alloc_txq_mem(struct il_priv *il); | 1728 | int il_alloc_txq_mem(struct il_priv *il); |
1728 | void il_free_txq_mem(struct il_priv *il); | 1729 | void il_free_txq_mem(struct il_priv *il); |
1729 | 1730 | ||
diff --git a/drivers/net/wireless/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c index dd55c9cf7ba8..d4fae9fb2ddb 100644 --- a/drivers/net/wireless/iwlwifi/dvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c | |||
@@ -1091,7 +1091,8 @@ static void iwlagn_configure_filter(struct ieee80211_hw *hw, | |||
1091 | FIF_BCN_PRBRESP_PROMISC | FIF_CONTROL; | 1091 | FIF_BCN_PRBRESP_PROMISC | FIF_CONTROL; |
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | static void iwlagn_mac_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1094 | static void iwlagn_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1095 | u32 queues, bool drop) | ||
1095 | { | 1096 | { |
1096 | struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); | 1097 | struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); |
1097 | 1098 | ||
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 9d7a52f5a410..31c7a1c9ef5f 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -1676,7 +1676,9 @@ static int mac80211_hwsim_ampdu_action(struct ieee80211_hw *hw, | |||
1676 | return 0; | 1676 | return 0; |
1677 | } | 1677 | } |
1678 | 1678 | ||
1679 | static void mac80211_hwsim_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1679 | static void mac80211_hwsim_flush(struct ieee80211_hw *hw, |
1680 | struct ieee80211_vif *vif, | ||
1681 | u32 queues, bool drop) | ||
1680 | { | 1682 | { |
1681 | /* Not implemented, queues only on kernel side */ | 1683 | /* Not implemented, queues only on kernel side */ |
1682 | } | 1684 | } |
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index eede90b63f84..7be3a4839640 100644 --- a/drivers/net/wireless/p54/main.c +++ b/drivers/net/wireless/p54/main.c | |||
@@ -669,7 +669,8 @@ static unsigned int p54_flush_count(struct p54_common *priv) | |||
669 | return total; | 669 | return total; |
670 | } | 670 | } |
671 | 671 | ||
672 | static void p54_flush(struct ieee80211_hw *dev, u32 queues, bool drop) | 672 | static void p54_flush(struct ieee80211_hw *dev, struct ieee80211_vif *vif, |
673 | u32 queues, bool drop) | ||
673 | { | 674 | { |
674 | struct p54_common *priv = dev->priv; | 675 | struct p54_common *priv = dev->priv; |
675 | unsigned int total, i; | 676 | unsigned int total, i; |
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index e3b885d8f7db..010b76505243 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -1448,7 +1448,8 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, | |||
1448 | struct ieee80211_vif *vif, u16 queue, | 1448 | struct ieee80211_vif *vif, u16 queue, |
1449 | const struct ieee80211_tx_queue_params *params); | 1449 | const struct ieee80211_tx_queue_params *params); |
1450 | void rt2x00mac_rfkill_poll(struct ieee80211_hw *hw); | 1450 | void rt2x00mac_rfkill_poll(struct ieee80211_hw *hw); |
1451 | void rt2x00mac_flush(struct ieee80211_hw *hw, u32 queues, bool drop); | 1451 | void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1452 | u32 queues, bool drop); | ||
1452 | int rt2x00mac_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); | 1453 | int rt2x00mac_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); |
1453 | int rt2x00mac_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); | 1454 | int rt2x00mac_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); |
1454 | void rt2x00mac_get_ringparam(struct ieee80211_hw *hw, | 1455 | void rt2x00mac_get_ringparam(struct ieee80211_hw *hw, |
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index ddeb5a709aa3..30a2367ba8d6 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -747,7 +747,8 @@ void rt2x00mac_rfkill_poll(struct ieee80211_hw *hw) | |||
747 | } | 747 | } |
748 | EXPORT_SYMBOL_GPL(rt2x00mac_rfkill_poll); | 748 | EXPORT_SYMBOL_GPL(rt2x00mac_rfkill_poll); |
749 | 749 | ||
750 | void rt2x00mac_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 750 | void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
751 | u32 queues, bool drop) | ||
751 | { | 752 | { |
752 | struct rt2x00_dev *rt2x00dev = hw->priv; | 753 | struct rt2x00_dev *rt2x00dev = hw->priv; |
753 | struct data_queue *queue; | 754 | struct data_queue *queue; |
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index 4ec424f26672..b1ed6d0796f6 100644 --- a/drivers/net/wireless/rtlwifi/core.c +++ b/drivers/net/wireless/rtlwifi/core.c | |||
@@ -1387,7 +1387,8 @@ static void rtl_op_rfkill_poll(struct ieee80211_hw *hw) | |||
1387 | * before switch channel or power save, or tx buffer packet | 1387 | * before switch channel or power save, or tx buffer packet |
1388 | * maybe send after offchannel or rf sleep, this may cause | 1388 | * maybe send after offchannel or rf sleep, this may cause |
1389 | * dis-association by AP */ | 1389 | * dis-association by AP */ |
1390 | static void rtl_op_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 1390 | static void rtl_op_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1391 | u32 queues, bool drop) | ||
1391 | { | 1392 | { |
1392 | struct rtl_priv *rtlpriv = rtl_priv(hw); | 1393 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
1393 | 1394 | ||
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index ed88d3913483..077eb5b9cd74 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c | |||
@@ -5184,7 +5184,8 @@ out: | |||
5184 | mutex_unlock(&wl->mutex); | 5184 | mutex_unlock(&wl->mutex); |
5185 | } | 5185 | } |
5186 | 5186 | ||
5187 | static void wlcore_op_flush(struct ieee80211_hw *hw, u32 queues, bool drop) | 5187 | static void wlcore_op_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
5188 | u32 queues, bool drop) | ||
5188 | { | 5189 | { |
5189 | struct wl1271 *wl = hw->priv; | 5190 | struct wl1271 *wl = hw->priv; |
5190 | 5191 | ||