Go back –> iwl4965 kerneldoc
iwl4965_check_rxon_cmd - validate RXON structure is valid
int iwl4965_check_rxon_cmd (struct iwl_rxon_cmd * rxon)Arguments
NOTE
This is really only useful during development and can eventually be #ifdef'd out once the driver is stable and folks aren't actively making changes
iwl4965_full_rxon_required - check if full RXON (vs RXON_ASSOC) cmd is needed
int iwl4965_full_rxon_required (struct iwl_priv * priv)Arguments
- priv
- staging_rxon is compared to active_rxon
Description
If the RXON structure is changing enough to require a new tune, or is clearing the RXON_FILTER_ASSOC_MSK, then return 1 to indicate that a new tune (full RXON command, rather than RXON_ASSOC cmd) is required.
iwl4965_commit_rxon - commit staging_rxon to hardware
int iwl4965_commit_rxon (struct iwl_priv * priv)Arguments
Description
The RXON command in staging_rxon is committed to the hardware and the active_rxon structure is updated with the new data. This function correctly transitions out of the RXON_ASSOC_MSK state if a HW tune is required based on the RXON structure changes.
iwl4965_bg_statistics_periodic - Timer callback to queue statistics
void iwl4965_bg_statistics_periodic (unsigned long data)Arguments
Description
This callback is provided in order to send a statistics request.
This timer function is continually reset to execute within REG_RECALIB_PERIOD seconds since the last STATISTICS_NOTIFICATION was received. We need to ensure we receive the statistics in order to update the temperature used for calibrating the TXPOWER.
iwl_setup_rx_handlers - Initialize Rx handler callbacks
void iwl_setup_rx_handlers (struct iwl_priv * priv)Arguments
Description
Setup the RX handlers for each of the reply types sent from the uCode to the host.
This function chains into the hardware specific files for them to setup any hardware specific handlers as well.
iwl_rx_handle - Main entry function for receiving responses from uCode
void iwl_rx_handle (struct iwl_priv * priv)Arguments
Description
Uses the priv->rx_handlers callback function array to invoke the appropriate handlers, including command responses, frame-received notifications, and other notifications.
iwl4965_irq_handle_error - called for HW or SW error interrupt from card
void iwl4965_irq_handle_error (struct iwl_priv * priv)Arguments
iwl4965_read_ucode - Read uCode images from disk file.
int iwl4965_read_ucode (struct iwl_priv * priv)Arguments
Description
Copy into buffers for card to fetch via bus-mastering
iwl_alive_start - called after REPLY_ALIVE notification received
void iwl_alive_start (struct iwl_priv * priv)Arguments
Description
from protocol/runtime uCode (initialization uCode's Alive gets handled by iwl_init_alive_start).
iwl4965_mac_config - mac80211 config callback
int iwl4965_mac_config (struct ieee80211_hw * hw, struct ieee80211_conf * conf)Arguments
Description
We ignore conf->flags & IEEE80211_CONF_SHORT_SLOT_TIME since it seems to be set inappropriately and the driver currently sets the hardware up to use it whenever needed.