Lines Matching refs:sta

617 			       struct ieee80211_sta *sta,  in _rtl_query_shortgi()  argument
627 if (sta == NULL) in _rtl_query_shortgi()
630 sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_query_shortgi()
631 sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_query_shortgi()
632 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_query_shortgi()
634 if ((!sta->ht_cap.ht_supported) && (!sta->vht_cap.vht_supported)) in _rtl_query_shortgi()
646 bw_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40; in _rtl_query_shortgi()
647 bw_80 = sta->vht_cap.vht_supported; in _rtl_query_shortgi()
694 struct ieee80211_sta *sta, in _rtl_txrate_selectmode() argument
702 if (sta) { in _rtl_txrate_selectmode()
703 sta_entry = (struct rtl_sta_info *) sta->drv_priv; in _rtl_txrate_selectmode()
750 if (NULL != sta) { in _rtl_txrate_selectmode()
751 if (sta->aid > 0) in _rtl_txrate_selectmode()
752 tcb_desc->mac_id = sta->aid + 1; in _rtl_txrate_selectmode()
763 struct ieee80211_sta *sta, in _rtl_query_bandwidth_mode() argument
770 if (!sta) in _rtl_query_bandwidth_mode()
775 if (!(sta->ht_cap.ht_supported) || in _rtl_query_bandwidth_mode()
776 !(sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)) in _rtl_query_bandwidth_mode()
779 if (!mac->bw_40 || !(sta->ht_cap.ht_supported)) in _rtl_query_bandwidth_mode()
796 if (!(sta->vht_cap.vht_supported)) in _rtl_query_bandwidth_mode()
800 !(sta->vht_cap.vht_supported)) in _rtl_query_bandwidth_mode()
811 struct ieee80211_sta *sta) in _rtl_get_vht_highest_n_rate() argument
816 u16 tx_mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.tx_mcs_map); in _rtl_get_vht_highest_n_rate()
849 struct ieee80211_sta *sta) in _rtl_get_highest_n_rate() argument
856 (sta->ht_cap.mcs.rx_mask[1] != 0)) in _rtl_get_highest_n_rate()
1097 struct ieee80211_sta *sta, in rtl_get_tcb_desc() argument
1135 if (sta && sta->vht_cap.vht_supported) { in rtl_get_tcb_desc()
1137 _rtl_get_vht_highest_n_rate(hw, sta); in rtl_get_tcb_desc()
1139 if (sta && (sta->ht_cap.ht_supported)) { in rtl_get_tcb_desc()
1141 _rtl_get_highest_n_rate(hw, sta); in rtl_get_tcb_desc()
1159 _rtl_txrate_selectmode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1160 _rtl_query_bandwidth_mode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1162 _rtl_query_shortgi(hw, sta, tcb_desc, info); in rtl_get_tcb_desc()
1255 struct ieee80211_sta *sta = NULL; in rtl_action_proc() local
1262 sta = rtl_find_sta(hw, hdr->addr3); in rtl_action_proc()
1263 if (sta == NULL) { in rtl_action_proc()
1271 (struct rtl_sta_info *)sta->drv_priv; in rtl_action_proc()
1411 struct ieee80211_sta *sta, u16 tid, u16 *ssn) in rtl_tx_agg_start() argument
1417 if (sta == NULL) in rtl_tx_agg_start()
1423 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_start()
1429 "on ra = %pM tid = %d seq:%d\n", sta->addr, tid, in rtl_tx_agg_start()
1435 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rtl_tx_agg_start()
1440 struct ieee80211_sta *sta, u16 tid) in rtl_tx_agg_stop() argument
1446 if (sta == NULL) in rtl_tx_agg_stop()
1450 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_tx_agg_stop()
1455 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_stop()
1459 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rtl_tx_agg_stop()
1464 struct ieee80211_sta *sta, u16 tid) in rtl_rx_agg_start() argument
1470 if (sta == NULL) in rtl_rx_agg_start()
1476 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_rx_agg_start()
1482 "on ra = %pM tid = %d seq:%d\n", sta->addr, tid, in rtl_rx_agg_start()
1490 struct ieee80211_sta *sta, u16 tid) in rtl_rx_agg_stop() argument
1495 if (sta == NULL) in rtl_rx_agg_stop()
1499 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_rx_agg_stop()
1504 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_rx_agg_stop()
1510 struct ieee80211_sta *sta, u16 tid) in rtl_tx_agg_oper() argument
1515 if (sta == NULL) in rtl_tx_agg_oper()
1519 "on ra = %pM tid = %d\n", sta->addr, tid); in rtl_tx_agg_oper()
1524 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_tx_agg_oper()
1821 struct ieee80211_sta *sta, in rtl_send_smps_action() argument
1836 if (!sta) in rtl_send_smps_action()
1850 skb = rtl_make_smps_action(hw, smps, sta->addr, bssid); in rtl_send_smps_action()
1855 (struct rtl_sta_info *) sta->drv_priv; in rtl_send_smps_action()
1861 rtlpriv->intf_ops->adapter_tx(hw, sta, skb, &tcb_desc); in rtl_send_smps_action()