Searched refs:ratetbl (Results 1 – 4 of 4) sorted by relevance
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | rc80211_minstrel.c | 113 minstrel_set_rate(struct minstrel_sta_info *mi, struct ieee80211_sta_rates *ratetbl, in minstrel_set_rate() argument 118 ratetbl->rate[offset].idx = r->rix; in minstrel_set_rate() 119 ratetbl->rate[offset].count = r->adjusted_retry_count; in minstrel_set_rate() 120 ratetbl->rate[offset].count_cts = r->retry_count_cts; in minstrel_set_rate() 121 ratetbl->rate[offset].count_rts = r->stats.retry_count_rtscts; in minstrel_set_rate() 127 struct ieee80211_sta_rates *ratetbl; in minstrel_update_rates() local 130 ratetbl = kzalloc(sizeof(*ratetbl), GFP_ATOMIC); in minstrel_update_rates() 131 if (!ratetbl) in minstrel_update_rates() 135 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[0]); in minstrel_update_rates() 139 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[1]); in minstrel_update_rates() [all …]
|
D | rate.c | 702 struct ieee80211_sta_rates *ratetbl = NULL; in rate_control_fill_sta_table() local 706 ratetbl = rcu_dereference(sta->rates); in rate_control_fill_sta_table() 716 } else if (ratetbl) { in rate_control_fill_sta_table() 717 rates[i].idx = ratetbl->rate[i].idx; in rate_control_fill_sta_table() 718 rates[i].flags = ratetbl->rate[i].flags; in rate_control_fill_sta_table() 720 rates[i].count = ratetbl->rate[i].count_rts; in rate_control_fill_sta_table() 722 rates[i].count = ratetbl->rate[i].count_cts; in rate_control_fill_sta_table() 724 rates[i].count = ratetbl->rate[i].count; in rate_control_fill_sta_table()
|
D | rc80211_minstrel_ht.c | 1057 struct ieee80211_sta_rates *ratetbl, int offset, int index) in minstrel_ht_set_rate() argument 1069 ratetbl->rate[offset].count = 2; in minstrel_ht_set_rate() 1070 ratetbl->rate[offset].count_rts = 2; in minstrel_ht_set_rate() 1071 ratetbl->rate[offset].count_cts = 2; in minstrel_ht_set_rate() 1073 ratetbl->rate[offset].count = mrs->retry_count; in minstrel_ht_set_rate() 1074 ratetbl->rate[offset].count_cts = mrs->retry_count; in minstrel_ht_set_rate() 1075 ratetbl->rate[offset].count_rts = mrs->retry_count_rtscts; in minstrel_ht_set_rate() 1093 ratetbl->rate[offset].count = ratetbl->rate[offset].count_rts; in minstrel_ht_set_rate() 1097 ratetbl->rate[offset].idx = idx; in minstrel_ht_set_rate() 1098 ratetbl->rate[offset].flags = flags; in minstrel_ht_set_rate()
|
D | tx.c | 680 struct ieee80211_sta_rates *ratetbl = NULL; in ieee80211_tx_h_rate_ctrl() local 755 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl() 758 if (ratetbl) { in ieee80211_tx_h_rate_ctrl() 760 .idx = ratetbl->rate[0].idx, in ieee80211_tx_h_rate_ctrl() 761 .flags = ratetbl->rate[0].flags, in ieee80211_tx_h_rate_ctrl() 762 .count = ratetbl->rate[0].count in ieee80211_tx_h_rate_ctrl() 765 if (ratetbl->rate[0].idx < 0) in ieee80211_tx_h_rate_ctrl() 783 if (ratetbl) in ieee80211_tx_h_rate_ctrl()
|