Go back –> iwl4965 kerneldoc

struct iwl4965_rate_scale_data - - tx success history for one rate

struct iwl4965_rate_scale_data {
};

Members


struct iwl4965_scale_tbl_info - - tx params and success history for all rates

struct iwl4965_scale_tbl_info {
};

Members

Description

There are two of these in struct iwl4965_lq_sta, one for "active", and one for "search".


struct iwl4965_lq_sta - - driver's rate scaling private structure

struct iwl4965_lq_sta {
#ifdef CONFIG_MAC80211_DEBUGFS
#endif
};

Members

Description

Pointer to this gets passed back and forth between driver and mac80211.


rs_collect_tx_data - Update the success/failure sliding window

int rs_collect_tx_data (struct iwl4965_rate_scale_data * windows, int scale_index, s32 tpt, int retries, int successes)

Arguments

Description

We keep a sliding window of the last 62 packets transmitted at this rate. window->data contains the bitmask of successful packets.


rs_get_supported_rates - get the available rates

u16 rs_get_supported_rates (struct iwl4965_lq_sta * lq_sta, struct ieee80211_hdr * hdr, enum iwl_table_type rate_type)

Arguments

Description

if management frame or broadcast frame only return basic available rates.