Lines Matching full:smps
2636 int smps; in ath11k_peer_assoc_h_smps() local
2642 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_peer_assoc_h_smps()
2643 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_peer_assoc_h_smps()
2645 smps = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in ath11k_peer_assoc_h_smps()
2649 switch (smps) { in ath11k_peer_assoc_h_smps()
2944 int smps; in ath11k_setup_peer_smps() local
2950 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_setup_peer_smps()
2951 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_setup_peer_smps()
2953 smps = FIELD_GET(IEEE80211_HE_6GHZ_CAP_SM_PS, he_6ghz_capa); in ath11k_setup_peer_smps()
2956 if (smps >= ARRAY_SIZE(ath11k_smps_map)) in ath11k_setup_peer_smps()
2961 ath11k_smps_map[smps]); in ath11k_setup_peer_smps()
3135 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_bss_assoc()
4703 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_station_assoc()
4771 u32 changed, bw, nss, smps, bw_prev; in ath11k_sta_rc_update_wk() local
4798 smps = arsta->smps; in ath11k_sta_rc_update_wk()
4874 ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "update sta %pM smps %d\n", in ath11k_sta_rc_update_wk()
4875 sta->addr, smps); in ath11k_sta_rc_update_wk()
4878 WMI_PEER_MIMO_PS_STATE, smps); in ath11k_sta_rc_update_wk()
4880 ath11k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath11k_sta_rc_update_wk()
4881 sta->addr, smps, err); in ath11k_sta_rc_update_wk()
5089 u32 bw, smps; in ath11k_mac_op_sta_rc_update() local
5104 "sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath11k_mac_op_sta_rc_update()
5121 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5126 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5129 smps = WMI_PEER_SMPS_STATIC; in ath11k_mac_op_sta_rc_update()
5132 smps = WMI_PEER_SMPS_DYNAMIC; in ath11k_mac_op_sta_rc_update()
5135 ath11k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM\n", in ath11k_mac_op_sta_rc_update()
5137 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5141 arsta->smps = smps; in ath11k_mac_op_sta_rc_update()
5286 u32 smps; in ath11k_create_ht_cap() local
5288 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath11k_create_ht_cap()
5289 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_create_ht_cap()
5291 ht_cap.cap |= smps; in ath11k_create_ht_cap()