Lines Matching refs:sta

227 	if (!rtlpriv->intf_ops->waitq_insert(hw, control->sta, skb))  in rtl_op_tx()
228 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc); in rtl_op_tx()
899 struct ieee80211_sta *sta) in rtl_op_sta_add() argument
906 if (sta) { in rtl_op_sta_add()
907 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_op_sta_add()
913 if (sta->supp_rates[0] <= 0xf) in rtl_op_sta_add()
915 if (sta->ht_cap.ht_supported) in rtl_op_sta_add()
922 if (sta->ht_cap.ht_supported) in rtl_op_sta_add()
924 if (sta->vht_cap.vht_supported) in rtl_op_sta_add()
932 sta->supp_rates[0] &= 0xfffffff0; in rtl_op_sta_add()
934 memcpy(sta_entry->mac_addr, sta->addr, ETH_ALEN); in rtl_op_sta_add()
936 "Add sta addr is %pM\n", sta->addr); in rtl_op_sta_add()
937 rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0); in rtl_op_sta_add()
945 struct ieee80211_sta *sta) in rtl_op_sta_remove() argument
949 if (sta) { in rtl_op_sta_remove()
951 "Remove sta addr is %pM\n", sta->addr); in rtl_op_sta_remove()
952 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_op_sta_remove()
1083 struct ieee80211_sta *sta = NULL; in rtl_op_bss_info_changed() local
1106 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1107 if (!sta) { in rtl_op_bss_info_changed()
1114 if (sta->ht_cap.ht_supported) in rtl_op_bss_info_changed()
1115 rtl_send_smps_action(hw, sta, in rtl_op_bss_info_changed()
1122 if (sta->supp_rates[0] <= 0xf) in rtl_op_bss_info_changed()
1128 if (sta->ht_cap.ht_supported) { in rtl_op_bss_info_changed()
1135 if (sta->vht_cap.vht_supported) { in rtl_op_bss_info_changed()
1142 if (vif->type == NL80211_IFTYPE_STATION && sta) in rtl_op_bss_info_changed()
1143 rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0); in rtl_op_bss_info_changed()
1219 struct ieee80211_sta *sta = NULL; in rtl_op_bss_info_changed() local
1225 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1226 if (sta) { in rtl_op_bss_info_changed()
1227 if (sta->ht_cap.ampdu_density > in rtl_op_bss_info_changed()
1230 sta->ht_cap.ampdu_density; in rtl_op_bss_info_changed()
1231 if (sta->ht_cap.ampdu_factor < in rtl_op_bss_info_changed()
1234 sta->ht_cap.ampdu_factor; in rtl_op_bss_info_changed()
1248 struct ieee80211_sta *sta = NULL; in rtl_op_bss_info_changed() local
1260 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1261 if (!sta) { in rtl_op_bss_info_changed()
1269 if (sta->supp_rates[0] <= 0xf) in rtl_op_bss_info_changed()
1275 if (sta->ht_cap.ht_supported) { in rtl_op_bss_info_changed()
1282 if (sta->vht_cap.vht_supported) { in rtl_op_bss_info_changed()
1293 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_op_bss_info_changed()
1297 if (sta->ht_cap.ht_supported) { in rtl_op_bss_info_changed()
1308 if (sta->vht_cap.vht_supported) in rtl_op_bss_info_changed()
1315 basic_rates = sta->supp_rates[1] << 4; in rtl_op_bss_info_changed()
1317 basic_rates = sta->supp_rates[0]; in rtl_op_bss_info_changed()
1360 struct ieee80211_sta *sta) in rtl_op_sta_notify() argument
1375 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in rtl_op_ampdu_action() argument
1384 return rtl_tx_agg_start(hw, vif, sta, tid, ssn); in rtl_op_ampdu_action()
1390 return rtl_tx_agg_stop(hw, vif, sta, tid); in rtl_op_ampdu_action()
1394 rtl_tx_agg_oper(hw, sta, tid); in rtl_op_ampdu_action()
1399 return rtl_rx_agg_start(hw, sta, tid); in rtl_op_ampdu_action()
1403 return rtl_rx_agg_stop(hw, sta, tid); in rtl_op_ampdu_action()
1484 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in rtl_op_set_key() argument
1509 sta ? sta->addr : bcast_addr); in rtl_op_set_key()
1619 if (!sta) { in rtl_op_set_key()
1634 memcpy(mac_addr, sta->addr, ETH_ALEN); in rtl_op_set_key()
1655 if (sta) in rtl_op_set_key()
1656 rtl_cam_del_entry(hw, sta->addr); in rtl_op_set_key()