Lines Matching full:smps
2607 int *smps) in ath12k_get_smps_from_capa() argument
2610 *smps = u16_get_bits(ht_cap->cap, IEEE80211_HT_CAP_SM_PS); in ath12k_get_smps_from_capa()
2612 *smps = le16_get_bits(he_6ghz_capa->capa, in ath12k_get_smps_from_capa()
2615 if (*smps >= ARRAY_SIZE(ath12k_smps_map)) in ath12k_get_smps_from_capa()
2630 int smps; in ath12k_peer_assoc_h_smps() local
2645 if (ath12k_get_smps_from_capa(ht_cap, he_6ghz_capa, &smps)) in ath12k_peer_assoc_h_smps()
2648 switch (smps) { in ath12k_peer_assoc_h_smps()
3210 int smps, ret = 0; in ath12k_setup_peer_smps() local
3215 ret = ath12k_get_smps_from_capa(ht_cap, he_6ghz_capa, &smps); in ath12k_setup_peer_smps()
3221 ath12k_smps_map[smps]); in ath12k_setup_peer_smps()
3330 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_bss_assoc()
5098 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_mac_station_assoc()
5148 u32 changed, bw, nss, smps, bw_prev; in ath12k_sta_rc_update_wk() local
5178 smps = arsta->smps; in ath12k_sta_rc_update_wk()
5253 ath12k_dbg(ar->ab, ATH12K_DBG_MAC, "mac update sta %pM smps %d\n", in ath12k_sta_rc_update_wk()
5254 arsta->addr, smps); in ath12k_sta_rc_update_wk()
5257 WMI_PEER_MIMO_PS_STATE, smps); in ath12k_sta_rc_update_wk()
5259 ath12k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath12k_sta_rc_update_wk()
5260 arsta->addr, smps, err); in ath12k_sta_rc_update_wk()
5927 u32 bw, smps; in ath12k_mac_op_link_sta_rc_update() local
5974 "mac sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath12k_mac_op_link_sta_rc_update()
5990 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
5995 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
5998 smps = WMI_PEER_SMPS_STATIC; in ath12k_mac_op_link_sta_rc_update()
6001 smps = WMI_PEER_SMPS_DYNAMIC; in ath12k_mac_op_link_sta_rc_update()
6004 ath12k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM link %u\n", in ath12k_mac_op_link_sta_rc_update()
6006 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
6010 arsta->smps = smps; in ath12k_mac_op_link_sta_rc_update()
6293 u32 smps; in ath12k_create_ht_cap() local
6295 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath12k_create_ht_cap()
6296 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_create_ht_cap()
6298 ht_cap.cap |= smps; in ath12k_create_ht_cap()