Lines Matching refs:sta

202 	if (!rtlpriv->intf_ops->waitq_insert(hw, control->sta, skb))
203 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc);
870 struct ieee80211_sta *sta)
877 if (sta) {
878 sta_entry = (struct rtl_sta_info *)sta->drv_priv;
884 if (sta->deflink.supp_rates[0] <= 0xf)
886 if (sta->deflink.ht_cap.ht_supported)
893 if (sta->deflink.ht_cap.ht_supported)
895 if (sta->deflink.vht_cap.vht_supported)
903 sta->deflink.supp_rates[0] &= 0xfffffff0;
905 memcpy(sta_entry->mac_addr, sta->addr, ETH_ALEN);
907 "Add sta addr is %pM\n", sta->addr);
908 rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0, true);
916 struct ieee80211_sta *sta)
921 if (sta) {
923 "Remove sta addr is %pM\n", sta->addr);
924 sta_entry = (struct rtl_sta_info *)sta->drv_priv;
1077 struct ieee80211_sta *sta = NULL;
1100 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1101 if (!sta) {
1108 if (sta->deflink.ht_cap.ht_supported)
1109 rtl_send_smps_action(hw, sta,
1116 if (sta->deflink.supp_rates[0] <= 0xf)
1122 if (sta->deflink.ht_cap.ht_supported) {
1129 if (sta->deflink.vht_cap.vht_supported) {
1137 rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0,
1226 struct ieee80211_sta *sta = NULL;
1232 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1233 if (sta) {
1234 if (sta->deflink.ht_cap.ampdu_density >
1237 sta->deflink.ht_cap.ampdu_density;
1238 if (sta->deflink.ht_cap.ampdu_factor <
1241 sta->deflink.ht_cap.ampdu_factor;
1255 struct ieee80211_sta *sta = NULL;
1267 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1268 if (!sta) {
1276 if (sta->deflink.supp_rates[0] <= 0xf)
1282 if (sta->deflink.ht_cap.ht_supported) {
1289 if (sta->deflink.vht_cap.vht_supported) {
1301 sta_entry = (struct rtl_sta_info *)sta->drv_priv;
1305 if (sta->deflink.ht_cap.ht_supported) {
1316 if (sta->deflink.vht_cap.vht_supported)
1323 basic_rates = sta->deflink.supp_rates[1] << 4;
1325 basic_rates = sta->deflink.supp_rates[0];
1368 struct ieee80211_sta *sta)
1385 struct ieee80211_sta *sta = params->sta;
1394 return rtl_tx_agg_start(hw, vif, sta, tid, ssn);
1400 return rtl_tx_agg_stop(hw, vif, sta, tid);
1404 rtl_tx_agg_oper(hw, sta, tid);
1409 return rtl_rx_agg_start(hw, sta, tid);
1413 return rtl_rx_agg_stop(hw, sta, tid);
1496 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
1523 sta ? sta->addr : bcast_addr);
1632 if (!sta) {
1647 memcpy(mac_addr, sta->addr, ETH_ALEN);
1668 if (sta)
1669 rtl_cam_del_entry(hw, sta->addr);
1739 static int rtl_op_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,