diff options
| -rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/agn.h | 2 | ||||
| -rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/dev.h | 2 | ||||
| -rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rs.h | 8 | ||||
| -rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.h | 9 |
4 files changed, 10 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/agn.h b/drivers/net/wireless/iwlwifi/dvm/agn.h index f2a86ffc3b4c..23d5f0275ce9 100644 --- a/drivers/net/wireless/iwlwifi/dvm/agn.h +++ b/drivers/net/wireless/iwlwifi/dvm/agn.h | |||
| @@ -397,7 +397,7 @@ static inline __le32 iwl_hw_set_rate_n_flags(u8 rate, u32 flags) | |||
| 397 | return cpu_to_le32(flags|(u32)rate); | 397 | return cpu_to_le32(flags|(u32)rate); |
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | extern int iwl_alive_start(struct iwl_priv *priv); | 400 | int iwl_alive_start(struct iwl_priv *priv); |
| 401 | 401 | ||
| 402 | #ifdef CONFIG_IWLWIFI_DEBUG | 402 | #ifdef CONFIG_IWLWIFI_DEBUG |
| 403 | void iwl_print_rx_config_cmd(struct iwl_priv *priv, | 403 | void iwl_print_rx_config_cmd(struct iwl_priv *priv, |
diff --git a/drivers/net/wireless/iwlwifi/dvm/dev.h b/drivers/net/wireless/iwlwifi/dvm/dev.h index a79fdd137f95..7434d9edf3b7 100644 --- a/drivers/net/wireless/iwlwifi/dvm/dev.h +++ b/drivers/net/wireless/iwlwifi/dvm/dev.h | |||
| @@ -270,7 +270,7 @@ struct iwl_sensitivity_ranges { | |||
| 270 | * iwlXXXX_ <-- Hardware specific (implemented in iwl-XXXX.c for XXXX) | 270 | * iwlXXXX_ <-- Hardware specific (implemented in iwl-XXXX.c for XXXX) |
| 271 | * | 271 | * |
| 272 | ****************************************************************************/ | 272 | ****************************************************************************/ |
| 273 | extern void iwl_update_chain_flags(struct iwl_priv *priv); | 273 | void iwl_update_chain_flags(struct iwl_priv *priv); |
| 274 | extern const u8 iwl_bcast_addr[ETH_ALEN]; | 274 | extern const u8 iwl_bcast_addr[ETH_ALEN]; |
| 275 | 275 | ||
| 276 | #define IWL_OPERATION_MODE_AUTO 0 | 276 | #define IWL_OPERATION_MODE_AUTO 0 |
diff --git a/drivers/net/wireless/iwlwifi/dvm/rs.h b/drivers/net/wireless/iwlwifi/dvm/rs.h index 5d83cab22d62..26fc550cd68c 100644 --- a/drivers/net/wireless/iwlwifi/dvm/rs.h +++ b/drivers/net/wireless/iwlwifi/dvm/rs.h | |||
| @@ -407,8 +407,8 @@ static inline u8 first_antenna(u8 mask) | |||
| 407 | 407 | ||
| 408 | 408 | ||
| 409 | /* Initialize station's rate scaling information after adding station */ | 409 | /* Initialize station's rate scaling information after adding station */ |
| 410 | extern void iwl_rs_rate_init(struct iwl_priv *priv, | 410 | void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, |
| 411 | struct ieee80211_sta *sta, u8 sta_id); | 411 | u8 sta_id); |
| 412 | 412 | ||
| 413 | /** | 413 | /** |
| 414 | * iwl_rate_control_register - Register the rate control algorithm callbacks | 414 | * iwl_rate_control_register - Register the rate control algorithm callbacks |
| @@ -420,7 +420,7 @@ extern void iwl_rs_rate_init(struct iwl_priv *priv, | |||
| 420 | * ieee80211_register_hw | 420 | * ieee80211_register_hw |
| 421 | * | 421 | * |
| 422 | */ | 422 | */ |
| 423 | extern int iwlagn_rate_control_register(void); | 423 | int iwlagn_rate_control_register(void); |
| 424 | 424 | ||
| 425 | /** | 425 | /** |
| 426 | * iwl_rate_control_unregister - Unregister the rate control callbacks | 426 | * iwl_rate_control_unregister - Unregister the rate control callbacks |
| @@ -428,6 +428,6 @@ extern int iwlagn_rate_control_register(void); | |||
| 428 | * This should be called after calling ieee80211_unregister_hw, but before | 428 | * This should be called after calling ieee80211_unregister_hw, but before |
| 429 | * the driver is unloaded. | 429 | * the driver is unloaded. |
| 430 | */ | 430 | */ |
| 431 | extern void iwlagn_rate_control_unregister(void); | 431 | void iwlagn_rate_control_unregister(void); |
| 432 | 432 | ||
| 433 | #endif /* __iwl_agn__rs__ */ | 433 | #endif /* __iwl_agn__rs__ */ |
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.h b/drivers/net/wireless/iwlwifi/mvm/rs.h index 335cf1682902..465d40ee176f 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.h +++ b/drivers/net/wireless/iwlwifi/mvm/rs.h | |||
| @@ -314,9 +314,8 @@ static inline u8 num_of_ant(u8 mask) | |||
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | /* Initialize station's rate scaling information after adding station */ | 316 | /* Initialize station's rate scaling information after adding station */ |
| 317 | extern void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, | 317 | void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta, |
| 318 | struct ieee80211_sta *sta, | 318 | enum ieee80211_band band); |
| 319 | enum ieee80211_band band); | ||
| 320 | 319 | ||
| 321 | /** | 320 | /** |
| 322 | * iwl_rate_control_register - Register the rate control algorithm callbacks | 321 | * iwl_rate_control_register - Register the rate control algorithm callbacks |
| @@ -328,7 +327,7 @@ extern void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, | |||
| 328 | * ieee80211_register_hw | 327 | * ieee80211_register_hw |
| 329 | * | 328 | * |
| 330 | */ | 329 | */ |
| 331 | extern int iwl_mvm_rate_control_register(void); | 330 | int iwl_mvm_rate_control_register(void); |
| 332 | 331 | ||
| 333 | /** | 332 | /** |
| 334 | * iwl_rate_control_unregister - Unregister the rate control callbacks | 333 | * iwl_rate_control_unregister - Unregister the rate control callbacks |
| @@ -336,7 +335,7 @@ extern int iwl_mvm_rate_control_register(void); | |||
| 336 | * This should be called after calling ieee80211_unregister_hw, but before | 335 | * This should be called after calling ieee80211_unregister_hw, but before |
| 337 | * the driver is unloaded. | 336 | * the driver is unloaded. |
| 338 | */ | 337 | */ |
| 339 | extern void iwl_mvm_rate_control_unregister(void); | 338 | void iwl_mvm_rate_control_unregister(void); |
| 340 | 339 | ||
| 341 | struct iwl_mvm_sta; | 340 | struct iwl_mvm_sta; |
| 342 | 341 | ||
