Lines Matching refs:link_sta
141 struct link_sta_info *link_sta) in ieee80211_ht_cap_ie_to_sta_ht_cap() argument
144 struct sta_info *sta = link_sta->sta; in ieee80211_ht_cap_ie_to_sta_ht_cap()
244 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap()
246 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap()
251 changed = memcmp(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
253 memcpy(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
256 link_conf = rcu_dereference(sdata->vif.link_conf[link_sta->link_id]); in ieee80211_ht_cap_ie_to_sta_ht_cap()
281 link_sta->pub->bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap()
283 link_sta->cur_max_bandwidth = in ieee80211_ht_cap_ie_to_sta_ht_cap()
305 if (smps_mode != link_sta->pub->smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap()
307 link_sta->pub->smps_mode = smps_mode; in ieee80211_ht_cap_ie_to_sta_ht_cap()
309 link_sta->pub->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_ht_cap_ie_to_sta_ht_cap()
610 struct link_sta_info *link_sta, in ieee80211_ht_handle_chanwidth_notif() argument
622 max_bw = ieee80211_sta_cap_rx_bw(link_sta); in ieee80211_ht_handle_chanwidth_notif()
625 link_sta->cur_max_bandwidth = max_bw; in ieee80211_ht_handle_chanwidth_notif()
626 new_bw = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_ht_handle_chanwidth_notif()
628 if (link_sta->pub->bandwidth == new_bw) in ieee80211_ht_handle_chanwidth_notif()
631 link_sta->pub->bandwidth = new_bw; in ieee80211_ht_handle_chanwidth_notif()
634 ieee80211_sta_rx_bw_to_chan_width(link_sta); in ieee80211_ht_handle_chanwidth_notif()
637 rate_control_rate_update(local, sband, link_sta, in ieee80211_ht_handle_chanwidth_notif()