diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-30 15:37:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-30 15:38:13 -0400 |
commit | f5c044e53a6b319776c7140b22fee9be3bc1f758 (patch) | |
tree | 01b7c012361d81fd0152c56971ea19500525af57 /drivers/net/wireless | |
parent | 49b5c7f473f1bbcb30275dcaee2c06dfb8ec2279 (diff) |
mac80211: remove deprecated noise field from ieee80211_rx_status
Also remove associated IEEE80211_HW_NOISE_DBM from ieee80211_hw_flags.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/b43/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/p54/main.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_main.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 1 |
10 files changed, 7 insertions, 16 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c index cfc6a35a2c6a..dfcc055a827f 100644 --- a/drivers/net/wireless/ath/ar9170/main.c +++ b/drivers/net/wireless/ath/ar9170/main.c | |||
@@ -2550,8 +2550,7 @@ void *ar9170_alloc(size_t priv_size) | |||
2550 | BIT(NL80211_IFTYPE_ADHOC); | 2550 | BIT(NL80211_IFTYPE_ADHOC); |
2551 | ar->hw->flags |= IEEE80211_HW_RX_INCLUDES_FCS | | 2551 | ar->hw->flags |= IEEE80211_HW_RX_INCLUDES_FCS | |
2552 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | | 2552 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | |
2553 | IEEE80211_HW_SIGNAL_DBM | | 2553 | IEEE80211_HW_SIGNAL_DBM; |
2554 | IEEE80211_HW_NOISE_DBM; | ||
2555 | 2554 | ||
2556 | if (modparam_ht) { | 2555 | if (modparam_ht) { |
2557 | ar->hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; | 2556 | ar->hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; |
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 1f3e5b0986c7..feb7b9ea80ab 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -547,8 +547,7 @@ ath5k_pci_probe(struct pci_dev *pdev, | |||
547 | SET_IEEE80211_DEV(hw, &pdev->dev); | 547 | SET_IEEE80211_DEV(hw, &pdev->dev); |
548 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 548 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
549 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | | 549 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | |
550 | IEEE80211_HW_SIGNAL_DBM | | 550 | IEEE80211_HW_SIGNAL_DBM; |
551 | IEEE80211_HW_NOISE_DBM; | ||
552 | 551 | ||
553 | hw->wiphy->interface_modes = | 552 | hw->wiphy->interface_modes = |
554 | BIT(NL80211_IFTYPE_AP) | | 553 | BIT(NL80211_IFTYPE_AP) | |
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 14cf3bd7ea51..e0575591828c 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4904,8 +4904,7 @@ static int b43_wireless_init(struct ssb_device *dev) | |||
4904 | 4904 | ||
4905 | /* fill hw info */ | 4905 | /* fill hw info */ |
4906 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 4906 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
4907 | IEEE80211_HW_SIGNAL_DBM | | 4907 | IEEE80211_HW_SIGNAL_DBM; |
4908 | IEEE80211_HW_NOISE_DBM; | ||
4909 | 4908 | ||
4910 | hw->wiphy->interface_modes = | 4909 | hw->wiphy->interface_modes = |
4911 | BIT(NL80211_IFTYPE_AP) | | 4910 | BIT(NL80211_IFTYPE_AP) | |
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 1d070be5a678..b2df432d3c63 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -3768,8 +3768,7 @@ static int b43legacy_wireless_init(struct ssb_device *dev) | |||
3768 | 3768 | ||
3769 | /* fill hw info */ | 3769 | /* fill hw info */ |
3770 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 3770 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
3771 | IEEE80211_HW_SIGNAL_DBM | | 3771 | IEEE80211_HW_SIGNAL_DBM; |
3772 | IEEE80211_HW_NOISE_DBM; | ||
3773 | hw->wiphy->interface_modes = | 3772 | hw->wiphy->interface_modes = |
3774 | BIT(NL80211_IFTYPE_AP) | | 3773 | BIT(NL80211_IFTYPE_AP) | |
3775 | BIT(NL80211_IFTYPE_STATION) | | 3774 | BIT(NL80211_IFTYPE_STATION) | |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index c22d3d8c440c..0cd338631592 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2653,7 +2653,6 @@ static int iwl_mac_setup_register(struct iwl_priv *priv) | |||
2653 | 2653 | ||
2654 | /* Tell mac80211 our characteristics */ | 2654 | /* Tell mac80211 our characteristics */ |
2655 | hw->flags = IEEE80211_HW_SIGNAL_DBM | | 2655 | hw->flags = IEEE80211_HW_SIGNAL_DBM | |
2656 | IEEE80211_HW_NOISE_DBM | | ||
2657 | IEEE80211_HW_AMPDU_AGGREGATION | | 2656 | IEEE80211_HW_AMPDU_AGGREGATION | |
2658 | IEEE80211_HW_SPECTRUM_MGMT; | 2657 | IEEE80211_HW_SPECTRUM_MGMT; |
2659 | 2658 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index e7263ed693c4..c9da39d7c414 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3872,7 +3872,6 @@ static int iwl3945_setup_mac(struct iwl_priv *priv) | |||
3872 | 3872 | ||
3873 | /* Tell mac80211 our characteristics */ | 3873 | /* Tell mac80211 our characteristics */ |
3874 | hw->flags = IEEE80211_HW_SIGNAL_DBM | | 3874 | hw->flags = IEEE80211_HW_SIGNAL_DBM | |
3875 | IEEE80211_HW_NOISE_DBM | | ||
3876 | IEEE80211_HW_SPECTRUM_MGMT; | 3875 | IEEE80211_HW_SPECTRUM_MGMT; |
3877 | 3876 | ||
3878 | if (!priv->cfg->broken_powersave) | 3877 | if (!priv->cfg->broken_powersave) |
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 9af6c9454605..a90bb6d2e26b 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -3981,8 +3981,8 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, | |||
3981 | 3981 | ||
3982 | hw->queues = MWL8K_TX_QUEUES; | 3982 | hw->queues = MWL8K_TX_QUEUES; |
3983 | 3983 | ||
3984 | /* Set rssi and noise values to dBm */ | 3984 | /* Set rssi values to dBm */ |
3985 | hw->flags |= IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_NOISE_DBM; | 3985 | hw->flags |= IEEE80211_HW_SIGNAL_DBM; |
3986 | hw->vif_data_size = sizeof(struct mwl8k_vif); | 3986 | hw->vif_data_size = sizeof(struct mwl8k_vif); |
3987 | hw->sta_data_size = sizeof(struct mwl8k_sta); | 3987 | hw->sta_data_size = sizeof(struct mwl8k_sta); |
3988 | 3988 | ||
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index 36f4c820ad01..10a4b16f31ce 100644 --- a/drivers/net/wireless/p54/main.c +++ b/drivers/net/wireless/p54/main.c | |||
@@ -545,8 +545,7 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len) | |||
545 | IEEE80211_HW_SUPPORTS_PS | | 545 | IEEE80211_HW_SUPPORTS_PS | |
546 | IEEE80211_HW_PS_NULLFUNC_STACK | | 546 | IEEE80211_HW_PS_NULLFUNC_STACK | |
547 | IEEE80211_HW_BEACON_FILTER | | 547 | IEEE80211_HW_BEACON_FILTER | |
548 | IEEE80211_HW_REPORTS_TX_ACK_STATUS | | 548 | IEEE80211_HW_REPORTS_TX_ACK_STATUS; |
549 | IEEE80211_HW_NOISE_DBM; | ||
550 | 549 | ||
551 | dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | | 550 | dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | |
552 | BIT(NL80211_IFTYPE_ADHOC) | | 551 | BIT(NL80211_IFTYPE_ADHOC) | |
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 4d3be80c220e..b70621f63cda 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c | |||
@@ -1291,7 +1291,6 @@ int wl1251_init_ieee80211(struct wl1251 *wl) | |||
1291 | wl->hw->channel_change_time = 10000; | 1291 | wl->hw->channel_change_time = 10000; |
1292 | 1292 | ||
1293 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | | 1293 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | |
1294 | IEEE80211_HW_NOISE_DBM | | ||
1295 | IEEE80211_HW_SUPPORTS_PS | | 1294 | IEEE80211_HW_SUPPORTS_PS | |
1296 | IEEE80211_HW_BEACON_FILTER | | 1295 | IEEE80211_HW_BEACON_FILTER | |
1297 | IEEE80211_HW_SUPPORTS_UAPSD; | 1296 | IEEE80211_HW_SUPPORTS_UAPSD; |
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index a794d5ed8c60..b0837255de6f 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -2275,7 +2275,6 @@ int wl1271_init_ieee80211(struct wl1271 *wl) | |||
2275 | wl->hw->max_listen_interval = wl->conf.conn.max_listen_interval; | 2275 | wl->hw->max_listen_interval = wl->conf.conn.max_listen_interval; |
2276 | 2276 | ||
2277 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | | 2277 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | |
2278 | IEEE80211_HW_NOISE_DBM | | ||
2279 | IEEE80211_HW_BEACON_FILTER | | 2278 | IEEE80211_HW_BEACON_FILTER | |
2280 | IEEE80211_HW_SUPPORTS_PS | | 2279 | IEEE80211_HW_SUPPORTS_PS | |
2281 | IEEE80211_HW_SUPPORTS_UAPSD | | 2280 | IEEE80211_HW_SUPPORTS_UAPSD | |