id
stringlengths
4
63
text
stringlengths
153
8.81M
ath5k_hw_release_tx_queue(9)
NAME ath5k_hw_release_tx_queue - Set a transmit queue inactive SYNOPSIS void ath5k_hw_release_tx_queue (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue One of enum ath5k_tx_queue_id SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/qcu.c Kernel AP...
ath5k_hw_request_rfgain_probe(9)
NAME ath5k_hw_request_rfgain_probe - Request a PAPD probe packet SYNOPSIS void ath5k_hw_request_rfgain_probe (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Schedules a gain probe check on the next transmitted packet. That means our next packet is going to be sent with lower tx power ...
ath5k_hw_reset(9)
NAME ath5k_hw_reset - The main reset function SYNOPSIS int ath5k_hw_reset (struct ath5k_hw *ah , enum nl80211_iftype op_mode , struct ieee80211_channel *channel , bool fast , bool skip_pcu ); ARGUMENTS ah The struct ath5k_hw op_mode One of enum nl80211_iftype channel The struct ieee80...
ath5k_hw_reset_tsf(9)
NAME ath5k_hw_reset_tsf - Force a TSF reset SYNOPSIS void ath5k_hw_reset_tsf (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Forces a TSF reset on PCU SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ath5k_hw_get_frame_duration(9), ath...
ath5k_hw_reset_tx_queue(9)
NAME ath5k_hw_reset_tx_queue - Initialize a single hw queue SYNOPSIS int ath5k_hw_reset_tx_queue (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue One of enum ath5k_tx_queue_id DESCRIPTION Set DCF properties for the given transmit queue on DCU and configures a...
ath5k_hw_rf2425_channel(9)
NAME ath5k_hw_rf2425_channel - Set channel frequency on RF2425 SYNOPSIS int ath5k_hw_rf2425_channel (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel DESCRIPTION AR2425/2417 have a different 2GHz RF so code changes a...
ath5k_hw_rf5110_calibrate(9)
NAME ath5k_hw_rf5110_calibrate - Perform a PHY calibration on RF5110 SYNOPSIS int ath5k_hw_rf5110_calibrate (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel DESCRIPTION Do a complete PHY calibration (AGC + NF + I/Q)...
ath5k_hw_rf5110_chan2athchan(9)
NAME ath5k_hw_rf5110_chan2athchan - Convert channel freq on RF5110 SYNOPSIS u32 ath5k_hw_rf5110_chan2athchan (struct ieee80211_channel *channel ); ARGUMENTS channel The struct ieee80211_channel DESCRIPTION Map channel frequency to IEEE channel number and convert it to an internal channel value used by the RF5110...
ath5k_hw_rf5110_channel(9)
NAME ath5k_hw_rf5110_channel - Set channel frequency on RF5110 SYNOPSIS int ath5k_hw_rf5110_channel (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Ker...
ath5k_hw_rf5111_chan2athchan(9)
NAME ath5k_hw_rf5111_chan2athchan - Handle 2GHz channels on RF5111/2111 SYNOPSIS int ath5k_hw_rf5111_chan2athchan (unsigned int ieee , struct ath5k_athchan_2ghz *athchan ); ARGUMENTS ieee IEEE channel number athchan The struct ath5k_athchan_2ghz DESCRIPTION In order to enable the RF2111 frequenc...
ath5k_hw_rf5111_channel(9)
NAME ath5k_hw_rf5111_channel - Set channel frequency on RF5111/2111 SYNOPSIS int ath5k_hw_rf5111_channel (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c...
ath5k_hw_rf5112_channel(9)
NAME ath5k_hw_rf5112_channel - Set channel frequency on 5112 and newer SYNOPSIS int ath5k_hw_rf5112_channel (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel DESCRIPTION On RF5112/2112 and newer we don't need to do a...
ath5k_hw_rf511x_iq_calibrate(9)
NAME ath5k_hw_rf511x_iq_calibrate - Perform I/Q calibration on RF5111 and newer SYNOPSIS int ath5k_hw_rf511x_iq_calibrate (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), a...
ath5k_hw_rf_check_gainf_readback(9)
NAME ath5k_hw_rf_check_gainf_readback - Validate Gain_F feedback from detector SYNOPSIS bool ath5k_hw_rf_check_gainf_readback (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Check if current gain_F measurement is in the range of our power detector windows. If we get a measurement out...
ath5k_hw_rf_gainf_adjust(9)
NAME ath5k_hw_rf_gainf_adjust - Perform Gain_F adjustment SYNOPSIS s8 ath5k_hw_rf_gainf_adjust (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Choose the right target gain based on current gain and RF gain optimization ladder SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ph...
ath5k_hw_rf_gainf_corr(9)
NAME ath5k_hw_rf_gainf_corr - Calculate Gain_F measurement correction SYNOPSIS u32 ath5k_hw_rf_gainf_corr (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Calculate Gain_F measurement correction based on the current step for RF5112 rev. 2 SEE ALSO Kernel file ./drivers/net/wireless/at...
ath5k_hw_rfb_op(9)
NAME ath5k_hw_rfb_op - Perform an operation on the given RF Buffer SYNOPSIS unsigned int ath5k_hw_rfb_op (struct ath5k_hw *ah , const struct ath5k_rf_reg *rf_regs , u32 val , u8 reg_id , bool set ); ARGUMENTS ah The struct ath5k_hw rf_regs The struct ath5k_rf_reg val New value ...
ath5k_hw_rfgain_init(9)
NAME ath5k_hw_rfgain_init - Write initial RF gain settings to hw SYNOPSIS int ath5k_hw_rfgain_init (struct ath5k_hw *ah , enum nl80211_band band ); ARGUMENTS ah The struct ath5k_hw band One of enum nl80211_band DESCRIPTION Write initial RF gain table to set the RF sensitivity. NOTE This one ...
ath5k_hw_rfgain_opt_init(9)
NAME ath5k_hw_rfgain_opt_init - Initialize ah_gain during attach SYNOPSIS int ath5k_hw_rfgain_opt_init (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k_hw_chan_has_sp...
ath5k_hw_rfregs_init(9)
NAME ath5k_hw_rfregs_init - Initialize RF register settings SYNOPSIS int ath5k_hw_rfregs_init (struct ath5k_hw *ah , struct ieee80211_channel *channel , unsigned int mode ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel mode One of enum ath5k_driver_mode DE...
ath5k_hw_set_ack_timeout(9)
NAME ath5k_hw_set_ack_timeout - Set ACK timeout on PCU SYNOPSIS int ath5k_hw_set_ack_timeout (struct ath5k_hw *ah , unsigned int timeout ); ARGUMENTS ah The struct ath5k_hw timeout Timeout in usec SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ...
ath5k_hw_set_antenna_mode(9)
NAME ath5k_hw_set_antenna_mode - Set antenna operating mode SYNOPSIS void ath5k_hw_set_antenna_mode (struct ath5k_hw *ah , u8 ant_mode ); ARGUMENTS ah The struct ath5k_hw ant_mode One of enum ath5k_ant_mode SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_ra...
ath5k_hw_set_antenna_switch(9)
NAME ath5k_hw_set_antenna_switch - Set up antenna switch table SYNOPSIS void ath5k_hw_set_antenna_switch (struct ath5k_hw *ah , u8 ee_mode ); ARGUMENTS ah The struct ath5k_hw ee_mode One of enum ath5k_driver_mode DESCRIPTION Switch table comes from EEPROM and includes information on controlling ...
ath5k_hw_set_bssid(9)
NAME ath5k_hw_set_bssid - Set current BSSID on hw SYNOPSIS void ath5k_hw_set_bssid (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Sets the current BSSID and BSSID mask we have from the common struct into the hardware SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Ker...
ath5k_hw_set_bssid_mask(9)
NAME ath5k_hw_set_bssid_mask - Filter out bssids we listen SYNOPSIS void ath5k_hw_set_bssid_mask (struct ath5k_hw *ah , const u8 *mask ); ARGUMENTS ah The struct ath5k_hw mask The BSSID mask to set (array of octets) DESCRIPTION BSSID masking is a method used by AR5212 and newer hardware to in...
ath5k_hw_set_coverage_class(9)
NAME ath5k_hw_set_coverage_class - Set IEEE 802.11 coverage class SYNOPSIS void ath5k_hw_set_coverage_class (struct ath5k_hw *ah , u8 coverage_class ); ARGUMENTS ah The struct ath5k_hw coverage_class IEEE 802.11 coverage class number DESCRIPTION Sets IFS intervals and ACK/CTS time...
ath5k_hw_set_cts_timeout(9)
NAME ath5k_hw_set_cts_timeout - Set CTS timeout on PCU SYNOPSIS int ath5k_hw_set_cts_timeout (struct ath5k_hw *ah , unsigned int timeout ); ARGUMENTS ah The struct ath5k_hw timeout Timeout in usec SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ...
ath5k_hw_set_def_antenna(9)
NAME ath5k_hw_set_def_antenna - Set default rx antenna on AR5211/5212 and newer SYNOPSIS void ath5k_hw_set_def_antenna (struct ath5k_hw *ah , u8 ant ); ARGUMENTS ah The struct ath5k_hw ant Antenna number SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_...
ath5k_hw_set_fast_div(9)
NAME ath5k_hw_set_fast_div - Enable/disable fast rx antenna diversity SYNOPSIS void ath5k_hw_set_fast_div (struct ath5k_hw *ah , u8 ee_mode , bool enable ); ARGUMENTS ah The struct ath5k_hw ee_mode One of enum ath5k_driver_mode enable True to enable, false to disable SEE ALSO Kernel...
ath5k_hw_set_gpio(9)
NAME ath5k_hw_set_gpio - Set GPIO state SYNOPSIS int ath5k_hw_set_gpio (struct ath5k_hw *ah , u32 gpio , u32 val ); ARGUMENTS ah The struct ath5k_hw gpio The GPIO pin to set val Value to set (boolean) SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/gpio.c Kernel API(9), ...
ath5k_hw_set_gpio_input(9)
NAME ath5k_hw_set_gpio_input - Set GPIO inputs SYNOPSIS int ath5k_hw_set_gpio_input (struct ath5k_hw *ah , u32 gpio ); ARGUMENTS ah The struct ath5k_hw gpio GPIO pin to set as input SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/gpio.c Kernel API(9), ath5k_hw_set_ledstate(9), ath5k_hw_...
ath5k_hw_set_gpio_intr(9)
NAME ath5k_hw_set_gpio_intr - Initialize the GPIO interrupt (RFKill switch) SYNOPSIS void ath5k_hw_set_gpio_intr (struct ath5k_hw *ah , unsigned int gpio , u32 interrupt_level ); ARGUMENTS ah The struct ath5k_hw gpio The GPIO pin to use interrupt_level True to genera...
ath5k_hw_set_gpio_output(9)
NAME ath5k_hw_set_gpio_output - Set GPIO outputs SYNOPSIS int ath5k_hw_set_gpio_output (struct ath5k_hw *ah , u32 gpio ); ARGUMENTS ah The struct ath5k_hw gpio The GPIO pin to set as output SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/gpio.c Kernel API(9), ath5k_hw_set_ledstate(9), a...
ath5k_hw_set_ifs_intervals(9)
NAME ath5k_hw_set_ifs_intervals - Set global inter-frame spaces on DCU SYNOPSIS int ath5k_hw_set_ifs_intervals (struct ath5k_hw *ah , unsigned int slot_time ); ARGUMENTS ah The struct ath5k_hw slot_time Slot time in us DESCRIPTION Sets the global IFS intervals on DCU (also works on AR5210) for the...
ath5k_hw_set_imr(9)
NAME ath5k_hw_set_imr - Set interrupt mask SYNOPSIS enum ath5k_int ath5k_hw_set_imr (struct ath5k_hw *ah , enum ath5k_int new_mask ); ARGUMENTS ah The struct ath5k_hw new_mask The new interrupt mask to be set DESCRIPTION Set the interrupt mask in hw to save interrupts. We do that by mapping ath5k...
ath5k_hw_set_ledstate(9)
NAME ath5k_hw_set_ledstate - Set led state SYNOPSIS void ath5k_hw_set_ledstate (struct ath5k_hw *ah , unsigned int state ); ARGUMENTS ah The struct ath5k_hw state One of AR5K_LED_* DESCRIPTION Used to set the LED blinking state. This only works for the LED connected to the LED_0, LED_1 pins, n...
ath5k_hw_set_lladdr(9)
NAME ath5k_hw_set_lladdr - Set station id SYNOPSIS int ath5k_hw_set_lladdr (struct ath5k_hw *ah , const u8 *mac ); ARGUMENTS ah The struct ath5k_hw mac The card's mac address (array of octets) DESCRIPTION Set station id on hw using the provided mac address SEE ALSO Kernel file ./drivers...
ath5k_hw_set_mcast_filter(9)
NAME ath5k_hw_set_mcast_filter - Set multicast filter SYNOPSIS void ath5k_hw_set_mcast_filter (struct ath5k_hw *ah , u32 filter0 , u32 filter1 ); ARGUMENTS ah The struct ath5k_hw filter0 Lower 32bits of muticast filter filter1 Higher 16bits of multicast filter SEE ALSO Kernel file ...
ath5k_hw_set_opmode(9)
NAME ath5k_hw_set_opmode - Set PCU operating mode SYNOPSIS int ath5k_hw_set_opmode (struct ath5k_hw *ah , enum nl80211_iftype op_mode ); ARGUMENTS ah The struct ath5k_hw op_mode One of enum nl80211_iftype DESCRIPTION Configure PCU for the various operating modes (AP/STA etc) SEE ALSO Kernel f...
ath5k_hw_set_power_mode(9)
NAME ath5k_hw_set_power_mode - Set power mode SYNOPSIS int ath5k_hw_set_power_mode (struct ath5k_hw *ah , enum ath5k_power_mode mode , bool set_chip , u16 sleep_duration ); ARGUMENTS ah The struct ath5k_hw mode One of enum ath5k_power_mode set_chip Set to true to write sleep control...
ath5k_hw_set_rx_filter(9)
NAME ath5k_hw_set_rx_filter - Set rx filter SYNOPSIS void ath5k_hw_set_rx_filter (struct ath5k_hw *ah , u32 filter ); ARGUMENTS ah The struct ath5k_hw filter RX filter mask (see reg.h) DESCRIPTION Sets RX filter register and also handles PHY error filter register on 5212 and newer chips so that...
ath5k_hw_set_rxdp(9)
NAME ath5k_hw_set_rxdp - Set RX Descriptor's address SYNOPSIS int ath5k_hw_set_rxdp (struct ath5k_hw *ah , u32 phys_addr ); ARGUMENTS ah The struct ath5k_hw phys_addr RX descriptor address DESCRIPTION Returns -EIO if rx is active SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/dma.c Kernel...
ath5k_hw_set_sleep_clock(9)
NAME ath5k_hw_set_sleep_clock - Setup sleep clock operation SYNOPSIS void ath5k_hw_set_sleep_clock (struct ath5k_hw *ah , bool enable ); ARGUMENTS ah The struct ath5k_hw enable Enable sleep clock operation (false to disable) DESCRIPTION If there is an external 32KHz crystal available, use it as...
ath5k_hw_set_spur_mitigation_filter(9)
NAME ath5k_hw_set_spur_mitigation_filter - Configure SPUR filter SYNOPSIS void ath5k_hw_set_spur_mitigation_filter (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel DESCRIPTION This function gets called during PHY in...
ath5k_hw_set_tsf64(9)
NAME ath5k_hw_set_tsf64 - Set a new 64bit TSF SYNOPSIS void ath5k_hw_set_tsf64 (struct ath5k_hw *ah , u64 tsf64 ); ARGUMENTS ah The struct ath5k_hw tsf64 The new 64bit TSF DESCRIPTION Sets the new TSF SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel AP...
ath5k_hw_set_tx_queueprops(9)
NAME ath5k_hw_set_tx_queueprops - Set properties for a transmit queue SYNOPSIS int ath5k_hw_set_tx_queueprops (struct ath5k_hw *ah , int queue , const struct ath5k_txq_info *qinfo ); ARGUMENTS ah The struct ath5k_hw queue One of enum ath5k_tx_queue_id qinfo The struct ath5k_txq_in...
ath5k_hw_set_tx_retry_limits(9)
NAME ath5k_hw_set_tx_retry_limits - Set tx retry limits on DCU SYNOPSIS void ath5k_hw_set_tx_retry_limits (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue One of enum ath5k_tx_queue_id DESCRIPTION This function is used when initializing a queue, to set retry ...
ath5k_hw_set_txdp(9)
NAME ath5k_hw_set_txdp - Set TX Descriptor's address for a specific queue SYNOPSIS int ath5k_hw_set_txdp (struct ath5k_hw *ah , unsigned int queue , u32 phys_addr ); ARGUMENTS ah The struct ath5k_hw queue The hw queue number phys_addr The physical address DESCRIPTION Set TX descrip...
ath5k_hw_set_txpower_limit(9)
NAME ath5k_hw_set_txpower_limit - Set txpower limit for the current channel SYNOPSIS int ath5k_hw_set_txpower_limit (struct ath5k_hw *ah , u8 txpower ); ARGUMENTS ah The struct ath5k_hw txpower The requested tx power limit in 0.5dB steps DESCRIPTION This function provides access to ath5k_hw_txpo...
ath5k_hw_setup_2word_tx_desc(9)
NAME ath5k_hw_setup_2word_tx_desc - Initialize a 2-word tx control descriptor SYNOPSIS int ath5k_hw_setup_2word_tx_desc (struct ath5k_hw *ah , struct ath5k_desc *desc , unsigned int pkt_len , unsigned int hdr_len , int padsize , enum ath5k_pkt_type type , unsigned int tx_power , unsigned int tx_rate0 , un‐ signed int...
ath5k_hw_setup_4word_tx_desc(9)
NAME ath5k_hw_setup_4word_tx_desc - Initialize a 4-word tx control descriptor SYNOPSIS int ath5k_hw_setup_4word_tx_desc (struct ath5k_hw *ah , struct ath5k_desc *desc , unsigned int pkt_len , unsigned int hdr_len , int padsize , enum ath5k_pkt_type type , unsigned int tx_power , unsigned int tx_rate0 , un‐ signed int...
ath5k_hw_setup_mrr_tx_desc(9)
NAME ath5k_hw_setup_mrr_tx_desc - Initialize an MRR tx control descriptor SYNOPSIS int ath5k_hw_setup_mrr_tx_desc (struct ath5k_hw *ah , struct ath5k_desc *desc , u_int tx_rate1 , u_int tx_tries1 , u_int tx_rate2 , u_int tx_tries2 , u_int tx_rate3 , u_int tx_tries3 ); ARGUMENTS ah The struct ath5k_hw ...
ath5k_hw_setup_rx_desc(9)
NAME ath5k_hw_setup_rx_desc - Initialize an rx control descriptor SYNOPSIS int ath5k_hw_setup_rx_desc (struct ath5k_hw *ah , struct ath5k_desc *desc , u32 size , unsigned int flags ); ARGUMENTS ah The struct ath5k_hw desc The struct ath5k_desc size RX buffer length in bytes ...
ath5k_hw_setup_tx_queue(9)
NAME ath5k_hw_setup_tx_queue - Initialize a transmit queue SYNOPSIS int ath5k_hw_setup_tx_queue (struct ath5k_hw *ah , enum ath5k_tx_queue queue_type , struct ath5k_txq_info *queue_info ); ARGUMENTS ah The struct ath5k_hw queue_type One of enum ath5k_tx_queue queue_info The struct ath5k_txq...
ath5k_hw_start_rx_dma(9)
NAME ath5k_hw_start_rx_dma - Start DMA receive SYNOPSIS void ath5k_hw_start_rx_dma (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/dma.c Kernel API(9), ath5k_hw_stop_rx_dma(9), ath5k_hw_get_rxdp(9), ath5k_hw_set_rxdp(9), ath5k_hw_start_tx_d...
ath5k_hw_start_rx_pcu(9)
NAME ath5k_hw_start_rx_pcu - Start RX engine SYNOPSIS void ath5k_hw_start_rx_pcu (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Starts RX engine on PCU so that hw can process RXed frames (ACK etc). NOTE RX DMA should be already enabled using ath5k_hw_start_rx_dma SEE ALSO Kernel fi...
ath5k_hw_start_tx_dma(9)
NAME ath5k_hw_start_tx_dma - Start DMA transmit for a specific queue SYNOPSIS int ath5k_hw_start_tx_dma (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue The hw queue number DESCRIPTION Start DMA transmit for a specific queue and since 5210 doesn't have QCU/D...
ath5k_hw_stop_beacon_queue(9)
NAME ath5k_hw_stop_beacon_queue - Stop beacon queue SYNOPSIS int ath5k_hw_stop_beacon_queue (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue The queue number DESCRIPTION Returns -EIO if queue didn't stop SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5...
ath5k_hw_stop_rx_dma(9)
NAME ath5k_hw_stop_rx_dma - Stop DMA receive SYNOPSIS int ath5k_hw_stop_rx_dma (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/dma.c Kernel API(9), ath5k_hw_start_rx_dma(9), ath5k_hw_get_rxdp(9), ath5k_hw_set_rxdp(9), ath5k_hw_start_tx_dma(9...
ath5k_hw_stop_rx_pcu(9)
NAME ath5k_hw_stop_rx_pcu - Stop RX engine SYNOPSIS void ath5k_hw_stop_rx_pcu (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Stops RX engine on PCU SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ath5k_hw_get_frame_duration(9), ath5k...
ath5k_hw_stop_tx_dma(9)
NAME ath5k_hw_stop_tx_dma - Stop DMA transmit on a specific queue SYNOPSIS int ath5k_hw_stop_tx_dma (struct ath5k_hw *ah , unsigned int queue ); ARGUMENTS ah The struct ath5k_hw queue The hw queue number DESCRIPTION Stop DMA transmit on a specific hw queue and drain queue so we don't have any ...
ath5k_hw_tweak_initval_settings(9)
NAME ath5k_hw_tweak_initval_settings - Tweak initial settings SYNOPSIS void ath5k_hw_tweak_initval_settings (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel DESCRIPTION Some settings are not handled on initvals, e...
ath5k_hw_txpower(9)
NAME ath5k_hw_txpower - Set transmission power limit for a given channel SYNOPSIS int ath5k_hw_txpower (struct ath5k_hw *ah , struct ieee80211_channel *channel , u8 txpower ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel txpower Requested tx power in 0.5dB ste...
ath5k_hw_update_mib_counters(9)
NAME ath5k_hw_update_mib_counters - Update MIB counters (mac layer statistics) SYNOPSIS void ath5k_hw_update_mib_counters (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Reads MIB counters from PCU and updates sw statistics. Is called after a MIB interrupt, because one of these counters...
ath5k_hw_update_nfcal_hist(9)
NAME ath5k_hw_update_nfcal_hist - Update NF calibration history buffer SYNOPSIS void ath5k_hw_update_nfcal_hist (struct ath5k_hw *ah , s16 noise_floor ); ARGUMENTS ah The struct ath5k_hw noise_floor The NF we got from hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ...
ath5k_hw_update_noise_floor(9)
NAME ath5k_hw_update_noise_floor - Update NF on hardware SYNOPSIS void ath5k_hw_update_noise_floor (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION This is the main function we call to perform a NF calibration, it reads NF from hardware, calculates the median and updates NF on hw. SEE A...
ath5k_hw_update_tx_triglevel(9)
NAME ath5k_hw_update_tx_triglevel - Update tx trigger level SYNOPSIS int ath5k_hw_update_tx_triglevel (struct ath5k_hw *ah , bool increase ); ARGUMENTS ah The struct ath5k_hw increase Flag to force increase of trigger level DESCRIPTION This function increases/decreases the tx trigger level for...
ath5k_hw_wait_for_synth(9)
NAME ath5k_hw_wait_for_synth - Wait for synth to settle SYNOPSIS void ath5k_hw_wait_for_synth (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel A...
ath5k_hw_wisoc_reset(9)
NAME ath5k_hw_wisoc_reset - Reset AHB chipset SYNOPSIS int ath5k_hw_wisoc_reset (struct ath5k_hw *ah , u32 flags ); ARGUMENTS ah The struct ath5k_hw flags Mask to indicate what units to reset DESCRIPTION Same as ath5k_hw_nic_reset but for AHB based devices Returns 0 if we are O.K. or -EAGAIN (...
ath5k_hw_write_initvals(9)
NAME ath5k_hw_write_initvals - Write initial chip-specific register dump SYNOPSIS int ath5k_hw_write_initvals (struct ath5k_hw *ah , u8 mode , bool skip_pcu ); ARGUMENTS ah The struct ath5k_hw mode One of enum ath5k_driver_mode skip_pcu Skip PCU registers DESCRIPTION Write initial ...
ath5k_hw_write_ofdm_timings(9)
NAME ath5k_hw_write_ofdm_timings - set OFDM timings on AR5212 SYNOPSIS int ath5k_hw_write_ofdm_timings (struct ath5k_hw *ah , struct ieee80211_channel *channel ); ARGUMENTS ah the struct ath5k_hw channel the currently set channel upon reset DESCRIPTION Write the delta slope coefficient (used o...
ath5k_hw_write_rate_duration(9)
NAME ath5k_hw_write_rate_duration - Fill rate code to duration table SYNOPSIS void ath5k_hw_write_rate_duration (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw DESCRIPTION Write the rate code to duration table upon hw reset. This is a helper for ath5k_hw_pcu_init. It seems all this is doing is set...
ath5k_set_coverage_class(9)
NAME ath5k_set_coverage_class - Set IEEE 802.11 coverage class SYNOPSIS void ath5k_set_coverage_class (struct ieee80211_hw *hw , int radio_idx , s16 coverage_class ); ARGUMENTS hw struct ieee80211_hw pointer radio_idx Radio index coverage_class IEEE 802.11 coverage class ...
ath5k_setup_channel_powertable(9)
NAME ath5k_setup_channel_powertable - Set up power table for this channel SYNOPSIS int ath5k_setup_channel_powertable (struct ath5k_hw *ah , struct ieee80211_channel *channel , u8 ee_mode , u8 type ); ARGUMENTS ah The struct ath5k_hw channel The struct ieee80211_channel ee_mode One of...
ath5k_setup_rate_powertable(9)
NAME ath5k_setup_rate_powertable - Set up rate power table for a given tx power SYNOPSIS void ath5k_setup_rate_powertable (struct ath5k_hw *ah , u16 max_pwr , struct ath5k_rate_pcal_info *rate_info , u8 ee_mode ); ARGUMENTS ah The struct ath5k_hw max_pwr The maximum tx power requested in 0.5dB st...
ath5k_write_channel_powertable(9)
NAME ath5k_write_channel_powertable - Set power table for current channel on hw SYNOPSIS void ath5k_write_channel_powertable (struct ath5k_hw *ah , u8 ee_mode , u8 type ); ARGUMENTS ah The struct ath5k_hw ee_mode One of enum ath5k_driver_mode type One of enum ath5k_powertable_type ...
ath5k_write_pcdac_table(9)
NAME ath5k_write_pcdac_table - Write the PCDAC values on hw SYNOPSIS void ath5k_write_pcdac_table (struct ath5k_hw *ah ); ARGUMENTS ah The struct ath5k_hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k_hw_chan_has_spur_no...
ath5k_write_pwr_to_pdadc_table(9)
NAME ath5k_write_pwr_to_pdadc_table - Write the PDADC values on hw SYNOPSIS void ath5k_write_pwr_to_pdadc_table (struct ath5k_hw *ah , u8 ee_mode ); ARGUMENTS ah The struct ath5k_hw ee_mode One of enum ath5k_driver_mode SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9...
ath9k_dfs_process_phyerr(9)
NAME ath9k_dfs_process_phyerr - process radar PHY error SYNOPSIS void ath9k_dfs_process_phyerr (struct ath_softc *sc , void *data , struct ath_rx_status *rs , u64 mactime ); ARGUMENTS sc ath_softc data RX payload data rs RX status after processing descriptor mactime ...
ath9k_hw_dfs_tested(9)
NAME ath9k_hw_dfs_tested - checks if DFS has been tested with used chipset SYNOPSIS bool ath9k_hw_dfs_tested (struct ath_hw *ah ); ARGUMENTS ah the atheros hardware data structure DESCRIPTION We enable DFS support upstream on chipsets which have passed a series of tests. The testing requirem...
ath9k_hw_updatetxtriglevel(9)
NAME ath9k_hw_updatetxtriglevel - adjusts the frame trigger level SYNOPSIS bool ath9k_hw_updatetxtriglevel (struct ath_hw *ah , bool bIncTrigLevel ); ARGUMENTS ah atheros hardware struct bIncTrigLevel whether or not the frame trigger level should be updated DESCRIPTION The frame ...
ath_dynack_bssidmask(9)
NAME ath_dynack_bssidmask - filter out ACK frames based on BSSID mask SYNOPSIS bool ath_dynack_bssidmask (struct ath_hw *ah , const u8 *mac ); ARGUMENTS ah ath hw mac receiver address SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs...
ath_dynack_compute_ackto(9)
NAME ath_dynack_compute_ackto - compute ACK timeout as the maximum STA timeout SYNOPSIS void ath_dynack_compute_ackto (struct ath_hw *ah ); ARGUMENTS ah ath hw DESCRIPTION should be called while holding qlock SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_d...
ath_dynack_compute_to(9)
NAME ath_dynack_compute_to - compute STA ACK timeout SYNOPSIS void ath_dynack_compute_to (struct ath_hw *ah ); ARGUMENTS ah ath hw DESCRIPTION should be called while holding qlock SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath_dynack_bs...
ath_dynack_get_max_to(9)
NAME ath_dynack_get_max_to - set max timeout according to channel width SYNOPSIS u32 ath_dynack_get_max_to (struct ath_hw *ah ); ARGUMENTS ah ath hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_sifs(9), ath_dynack_bssidmask(9), ath_dynack_set_timeout(9), ath_dynack_compute_...
ath_dynack_get_sifs(9)
NAME ath_dynack_get_sifs - get sifs time based on phy used SYNOPSIS u32 ath_dynack_get_sifs (struct ath_hw *ah , int phy ); ARGUMENTS ah ath hw phy phy used SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_bssidmask(9), ath_dynack_set_t...
ath_dynack_init(9)
NAME ath_dynack_init - init dynack data structure SYNOPSIS void ath_dynack_init (struct ath_hw *ah ); ARGUMENTS ah ath hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath_dynack_bssidmask(9), ath_dynack_set_timeout(9), ath_dynack_compute...
ath_dynack_node_deinit(9)
NAME ath_dynack_node_deinit - deinit ath_node related info SYNOPSIS void ath_dynack_node_deinit (struct ath_hw *ah , struct ath_node *an ); ARGUMENTS ah ath hw an ath node SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath...
ath_dynack_node_init(9)
NAME ath_dynack_node_init - init ath_node related info SYNOPSIS void ath_dynack_node_init (struct ath_hw *ah , struct ath_node *an ); ARGUMENTS ah ath hw an ath node SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath_dynac...
ath_dynack_reset(9)
NAME ath_dynack_reset - reset dynack processing SYNOPSIS void ath_dynack_reset (struct ath_hw *ah ); ARGUMENTS ah ath hw SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath_dynack_bssidmask(9), ath_dynack_set_timeout(9), ath_dynack_compute_...
ath_dynack_sample_ack_ts(9)
NAME ath_dynack_sample_ack_ts - ACK timestamp sampling method SYNOPSIS void ath_dynack_sample_ack_ts (struct ath_hw *ah , struct sk_buff *skb , u32 ts ); ARGUMENTS ah ath hw skb socket buffer ts rx timestamp SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c a...
ath_dynack_sample_tx_ts(9)
NAME ath_dynack_sample_tx_ts - status timestamp sampling method SYNOPSIS void ath_dynack_sample_tx_ts (struct ath_hw *ah , struct sk_buff *skb , struct ath_tx_status *ts , struct ieee80211_sta *sta ); ARGUMENTS ah ath hw skb socket buffer ts tx status info sta ...
ath_dynack_set_timeout(9)
NAME ath_dynack_set_timeout - configure timeouts/slottime registers SYNOPSIS void ath_dynack_set_timeout (struct ath_hw *ah , int to ); ARGUMENTS ah ath hw to timeout value SEE ALSO Kernel file ./drivers/net/wireless/ath/ath9k/dynack.c ath_dynack_get_max_to(9), ath_dynack_get_sifs(9), ath...
ath_hw_cycle_counters_update(9)
NAME ath_hw_cycle_counters_update - common function to update cycle counters SYNOPSIS void ath_hw_cycle_counters_update (struct ath_common *common ); ARGUMENTS common the ath_common struct for the device. DESCRIPTION This function is used to update all cycle counters in one place. It has to be called while hol...
ath_hw_setbssidmask(9)
NAME ath_hw_setbssidmask - filter out bssids we listen SYNOPSIS void ath_hw_setbssidmask (struct ath_common *common ); ARGUMENTS common the ath_common struct for the device. DESCRIPTION BSSID masking is a method used by AR5212 and newer hardware to inform PCU which bits of the interface's MAC address should be ...
ath_reg_apply_ir_flags(9)
NAME ath_reg_apply_ir_flags - SYNOPSIS void ath_reg_apply_ir_flags (struct wiphy *wiphy , struct ath_regulatory *reg , enum nl80211_reg_initiator initiator ); ARGUMENTS wiphy the wiphy to use reg regulatory structure - used for country selection initiator the regulatory hint initiator ...
atiixp_bmdma_start(9)
NAME atiixp_bmdma_start - DMA start callback SYNOPSIS void atiixp_bmdma_start (struct ata_queued_cmd *qc ); ARGUMENTS qc Command in progress DESCRIPTION When DMA begins we need to ensure that the UDMA control register for the channel is correctly set. NOTE The host lock held by the libata layer protects us...
atiixp_bmdma_stop(9)
NAME atiixp_bmdma_stop - DMA stop callback SYNOPSIS void atiixp_bmdma_stop (struct ata_queued_cmd *qc ); ARGUMENTS qc Command in progress DESCRIPTION DMA has completed. Clear the UDMA flag as the next operations will be PIO ones not UDMA data transfer. NOTE The host lock held by the libata layer protects u...
atiixp_prereset(9)
NAME atiixp_prereset - perform reset handling SYNOPSIS int atiixp_prereset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link deadline deadline jiffies for the operation DESCRIPTION Reset sequence checking enable bits to see which ports are active. SEE ALSO Kernel file ./dr...
atiixp_set_dmamode(9)
NAME atiixp_set_dmamode - set initial DMA mode data SYNOPSIS void atiixp_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev ATA device DESCRIPTION Called to do the DMA mode setup. We use timing tables for most modes but must tune an appropriate PIO m...