Lines Matching refs:sta

615 			       struct ieee80211_sta *sta,  in _rtl_query_shortgi()  argument
625 if (sta == NULL) in _rtl_query_shortgi()
628 sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_query_shortgi()
629 sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_query_shortgi()
630 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_query_shortgi()
632 if ((!sta->ht_cap.ht_supported) && (!sta->vht_cap.vht_supported)) in _rtl_query_shortgi()
644 bw_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40; in _rtl_query_shortgi()
645 bw_80 = sta->vht_cap.vht_supported; in _rtl_query_shortgi()
692 struct ieee80211_sta *sta, in _rtl_txrate_selectmode() argument
700 if (sta) { in _rtl_txrate_selectmode()
701 sta_entry = (struct rtl_sta_info *) sta->drv_priv; in _rtl_txrate_selectmode()
748 if (NULL != sta) { in _rtl_txrate_selectmode()
749 if (sta->aid > 0) in _rtl_txrate_selectmode()
750 tcb_desc->mac_id = sta->aid + 1; in _rtl_txrate_selectmode()
761 struct ieee80211_sta *sta, in _rtl_query_bandwidth_mode() argument
768 if (!sta) in _rtl_query_bandwidth_mode()
773 if (!(sta->ht_cap.ht_supported) || in _rtl_query_bandwidth_mode()
774 !(sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)) in _rtl_query_bandwidth_mode()
777 if (!mac->bw_40 || !(sta->ht_cap.ht_supported)) in _rtl_query_bandwidth_mode()
794 if (!(sta->vht_cap.vht_supported)) in _rtl_query_bandwidth_mode()
798 !(sta->vht_cap.vht_supported)) in _rtl_query_bandwidth_mode()
809 struct ieee80211_sta *sta) in _rtl_get_vht_highest_n_rate() argument
814 u16 tx_mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.tx_mcs_map); in _rtl_get_vht_highest_n_rate()
847 struct ieee80211_sta *sta) in _rtl_get_highest_n_rate() argument
854 (sta->ht_cap.mcs.rx_mask[1] != 0)) in _rtl_get_highest_n_rate()
1095 struct ieee80211_sta *sta, in rtl_get_tcb_desc() argument
1133 if (sta && sta->vht_cap.vht_supported) { in rtl_get_tcb_desc()
1135 _rtl_get_vht_highest_n_rate(hw, sta); in rtl_get_tcb_desc()
1137 if (sta && (sta->ht_cap.ht_supported)) { in rtl_get_tcb_desc()
1139 _rtl_get_highest_n_rate(hw, sta); in rtl_get_tcb_desc()
1157 _rtl_txrate_selectmode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1158 _rtl_query_bandwidth_mode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1160 _rtl_query_shortgi(hw, sta, tcb_desc, info); in rtl_get_tcb_desc()
1253 struct ieee80211_sta *sta = NULL; in rtl_action_proc() local
1260 sta = rtl_find_sta(hw, hdr->addr3); in rtl_action_proc()
1261 if (sta == NULL) { in rtl_action_proc()
1269 (struct rtl_sta_info *)sta->drv_priv; in rtl_action_proc()
1409 struct ieee80211_sta *sta, u16 tid, u16 *ssn) in rtl_tx_agg_start() argument
1415 if (sta == NULL) in rtl_tx_agg_start()
1421 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_start()
1427 "on ra = %pM tid = %d seq:%d\n", sta->addr, tid, in rtl_tx_agg_start()
1433 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rtl_tx_agg_start()
1438 struct ieee80211_sta *sta, u16 tid) in rtl_tx_agg_stop() argument
1444 if (sta == NULL) in rtl_tx_agg_stop()
1448 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_tx_agg_stop()
1453 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_stop()
1457 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rtl_tx_agg_stop()
1462 struct ieee80211_sta *sta, u16 tid) in rtl_rx_agg_start() argument
1468 if (sta == NULL) in rtl_rx_agg_start()
1474 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_rx_agg_start()
1480 "on ra = %pM tid = %d seq:%d\n", sta->addr, tid, in rtl_rx_agg_start()
1488 struct ieee80211_sta *sta, u16 tid) in rtl_rx_agg_stop() argument
1493 if (sta == NULL) in rtl_rx_agg_stop()
1497 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_rx_agg_stop()
1502 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_rx_agg_stop()
1508 struct ieee80211_sta *sta, u16 tid) in rtl_tx_agg_oper() argument
1513 if (sta == NULL) in rtl_tx_agg_oper()
1517 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_tx_agg_oper()
1522 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_oper()
1819 struct ieee80211_sta *sta, in rtl_send_smps_action() argument
1834 if (!sta) in rtl_send_smps_action()
1848 skb = rtl_make_smps_action(hw, smps, sta->addr, bssid); in rtl_send_smps_action()
1853 (struct rtl_sta_info *) sta->drv_priv; in rtl_send_smps_action()
1859 rtlpriv->intf_ops->adapter_tx(hw, sta, skb, &tcb_desc); in rtl_send_smps_action()