Lines Matching defs:sta

492 	if (control->sta)
493 sta_priv = wcn36xx_sta_to_priv(control->sta);
501 struct ieee80211_sta *sta,
506 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL;
563 sta,
564 sta->addr,
566 wcn36xx_smd_config_sta(wcn, vif, sta);
716 static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta,
721 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
722 u32 rates = sta->deflink.supp_rates[band];
748 if (sta->deflink.ht_cap.ht_supported) {
749 BUILD_BUG_ON(sizeof(sta->deflink.ht_cap.mcs.rx_mask) >
752 sta->deflink.ht_cap.mcs.rx_mask,
753 sizeof(sta->deflink.ht_cap.mcs.rx_mask));
756 if (sta->deflink.vht_cap.vht_supported) {
759 le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map);
761 le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map);
860 struct ieee80211_sta *sta;
873 * wcn36xx_sta_remove() and as such ensures that sta
877 sta = ieee80211_find_sta(vif, bss_conf->bssid);
878 if (!sta) {
879 wcn36xx_err("sta %pM is not found\n",
883 sta_priv = wcn36xx_sta_to_priv(sta);
885 wcn36xx_update_allowed_rates(sta, WCN36XX_BAND(wcn));
890 wcn36xx_smd_config_bss(wcn, vif, sta,
898 wcn36xx_smd_config_sta(wcn, vif, sta);
1026 struct ieee80211_sta *sta)
1030 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
1031 wcn36xx_dbg(WCN36XX_DBG_MAC, "mac sta add vif %p sta %pM\n",
1032 vif, sta->addr);
1045 wcn36xx_update_allowed_rates(sta, WCN36XX_BAND(wcn));
1046 sta_priv->aid = sta->aid;
1047 wcn36xx_smd_config_sta(wcn, vif, sta);
1057 struct ieee80211_sta *sta)
1060 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
1062 wcn36xx_dbg(WCN36XX_DBG_MAC, "mac sta remove vif %p sta %pM index %d\n",
1063 vif, sta->addr, sta_priv->sta_index);
1181 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(params->sta);
1182 struct ieee80211_sta *sta = params->sta;
1197 session = wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 0,
1219 session = wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 1,
1241 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
1335 struct ieee80211_sta *sta, struct station_info *sinfo)
1342 sta_index = get_sta_index(vif, wcn36xx_sta_to_priv(sta));