Lines Matching full:smps
2554 int smps; in ath11k_peer_assoc_h_smps() local
2560 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_peer_assoc_h_smps()
2561 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_peer_assoc_h_smps()
2563 smps = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in ath11k_peer_assoc_h_smps()
2567 switch (smps) { in ath11k_peer_assoc_h_smps()
2862 int smps; in ath11k_setup_peer_smps() local
2868 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_setup_peer_smps()
2869 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_setup_peer_smps()
2871 smps = FIELD_GET(IEEE80211_HE_6GHZ_CAP_SM_PS, he_6ghz_capa); in ath11k_setup_peer_smps()
2874 if (smps >= ARRAY_SIZE(ath11k_smps_map)) in ath11k_setup_peer_smps()
2879 ath11k_smps_map[smps]); in ath11k_setup_peer_smps()
3046 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_bss_assoc()
4607 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_station_assoc()
4667 u32 changed, bw, nss, smps, bw_prev; in ath11k_sta_rc_update_wk() local
4694 smps = arsta->smps; in ath11k_sta_rc_update_wk()
4772 ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "update sta %pM smps %d\n", in ath11k_sta_rc_update_wk()
4773 sta->addr, smps); in ath11k_sta_rc_update_wk()
4776 WMI_PEER_MIMO_PS_STATE, smps); in ath11k_sta_rc_update_wk()
4778 ath11k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath11k_sta_rc_update_wk()
4779 sta->addr, smps, err); in ath11k_sta_rc_update_wk()
5215 u32 bw, smps; in ath11k_mac_op_sta_rc_update() local
5230 "sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath11k_mac_op_sta_rc_update()
5247 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5252 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5255 smps = WMI_PEER_SMPS_STATIC; in ath11k_mac_op_sta_rc_update()
5258 smps = WMI_PEER_SMPS_DYNAMIC; in ath11k_mac_op_sta_rc_update()
5261 ath11k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM\n", in ath11k_mac_op_sta_rc_update()
5263 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5267 arsta->smps = smps; in ath11k_mac_op_sta_rc_update()
5412 u32 smps; in ath11k_create_ht_cap() local
5414 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath11k_create_ht_cap()
5415 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_create_ht_cap()
5417 ht_cap.cap |= smps; in ath11k_create_ht_cap()