Lines Matching refs:sta

133 				   struct ieee80211_sta *sta,
359 struct ieee80211_sta *sta)
377 sta->addr, tid);
378 ret = ieee80211_start_tx_ba_session(sta, tid, 5000);
387 ieee80211_stop_tx_ba_session(sta, tid);
394 struct ieee80211_sta *sta)
397 rs_tl_turn_on_agg_for_tid(priv, lq_data, tid, sta);
658 static bool rs_use_green(struct ieee80211_sta *sta)
846 struct ieee80211_sta *sta, void *priv_sta,
862 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
1025 if (sta && sta->deflink.supp_rates[sband->band])
1026 rs_rate_scale_perform(priv, skb, sta, lq_sta);
1216 struct ieee80211_sta *sta,
1222 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
1225 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported)
1228 if (sta->deflink.smps_mode == IEEE80211_SMPS_STATIC)
1243 if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
1271 struct ieee80211_sta *sta,
1277 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
1280 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported)
1283 if (sta->deflink.smps_mode == IEEE80211_SMPS_STATIC)
1298 if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
1327 struct ieee80211_sta *sta,
1333 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
1336 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported)
1347 if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
1376 struct ieee80211_sta *sta,
1468 ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
1495 ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
1515 ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
1549 struct ieee80211_sta *sta, int index)
1556 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;
1644 ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
1688 ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
1719 struct ieee80211_sta *sta, int index)
1726 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;
1808 ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
1855 ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
1887 struct ieee80211_sta *sta, int index)
1894 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;
1974 ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
1998 ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
2159 struct ieee80211_sta *sta,
2187 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
2198 lq_sta->supp_rates = sta->deflink.supp_rates[lq_sta->band];
2225 lq_sta->is_green = rs_use_green(sta);
2526 rs_move_legacy_other(priv, lq_sta, conf, sta, index);
2528 rs_move_siso_to_other(priv, lq_sta, conf, sta, index);
2530 rs_move_mimo2_to_other(priv, lq_sta, conf, sta, index);
2532 rs_move_mimo3_to_other(priv, lq_sta, conf, sta, index);
2581 lq_sta, sta);
2608 struct ieee80211_sta *sta,
2615 u8 use_green = rs_use_green(sta);
2621 if (!sta || !lq_sta)
2624 sta_priv = (void *)sta->drv_priv;
2660 static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta, void *priv_sta,
2718 rate_idx = rate_lowest_index(sband, sta);
2728 static void *rs_alloc_sta(void *priv_rate, struct ieee80211_sta *sta,
2731 struct iwl_station_priv *sta_priv = (struct iwl_station_priv *) sta->drv_priv;
2744 void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 sta_id)
2749 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;
2755 sta_priv = (struct iwl_station_priv *) sta->drv_priv;
2767 lq_sta->supp_rates = sta->deflink.supp_rates[sband->band];
2779 lq_sta->is_green = rs_use_green(sta);
2784 supp = sta->deflink.supp_rates[sband->band];
2832 lq_sta->last_txrate_idx = rate_lowest_index(sband, sta);
2840 rs_initialize_lq(priv, sta, lq_sta);
3001 static void rs_free_sta(void *priv_r, struct ieee80211_sta *sta,
3268 struct ieee80211_sta *sta, void *priv_sta)