Lines Matching full:smps

2640 	int smps;  in ath11k_peer_assoc_h_smps()  local
2646 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_peer_assoc_h_smps()
2647 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_peer_assoc_h_smps()
2649 smps = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in ath11k_peer_assoc_h_smps()
2653 switch (smps) { in ath11k_peer_assoc_h_smps()
2948 int smps; in ath11k_setup_peer_smps() local
2954 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_setup_peer_smps()
2955 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_setup_peer_smps()
2957 smps = FIELD_GET(IEEE80211_HE_6GHZ_CAP_SM_PS, he_6ghz_capa); in ath11k_setup_peer_smps()
2960 if (smps >= ARRAY_SIZE(ath11k_smps_map)) in ath11k_setup_peer_smps()
2965 ath11k_smps_map[smps]); in ath11k_setup_peer_smps()
3139 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_bss_assoc()
4707 ath11k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath11k_station_assoc()
4775 u32 changed, bw, nss, smps, bw_prev; in ath11k_sta_rc_update_wk() local
4802 smps = arsta->smps; in ath11k_sta_rc_update_wk()
4878 ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "update sta %pM smps %d\n", in ath11k_sta_rc_update_wk()
4879 sta->addr, smps); in ath11k_sta_rc_update_wk()
4882 WMI_PEER_MIMO_PS_STATE, smps); in ath11k_sta_rc_update_wk()
4884 ath11k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath11k_sta_rc_update_wk()
4885 sta->addr, smps, err); in ath11k_sta_rc_update_wk()
5094 u32 bw, smps; in ath11k_mac_op_sta_rc_update() local
5109 "sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath11k_mac_op_sta_rc_update()
5126 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5131 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5134 smps = WMI_PEER_SMPS_STATIC; in ath11k_mac_op_sta_rc_update()
5137 smps = WMI_PEER_SMPS_DYNAMIC; in ath11k_mac_op_sta_rc_update()
5140 ath11k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM\n", in ath11k_mac_op_sta_rc_update()
5142 smps = WMI_PEER_SMPS_PS_NONE; in ath11k_mac_op_sta_rc_update()
5146 arsta->smps = smps; in ath11k_mac_op_sta_rc_update()
5340 u32 smps; in ath11k_create_ht_cap() local
5342 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath11k_create_ht_cap()
5343 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_create_ht_cap()
5345 ht_cap.cap |= smps; in ath11k_create_ht_cap()