Lines Matching full:smps
2525 int *smps) in ath12k_get_smps_from_capa() argument
2528 *smps = u16_get_bits(ht_cap->cap, IEEE80211_HT_CAP_SM_PS); in ath12k_get_smps_from_capa()
2530 *smps = le16_get_bits(he_6ghz_capa->capa, in ath12k_get_smps_from_capa()
2533 if (*smps >= ARRAY_SIZE(ath12k_smps_map)) in ath12k_get_smps_from_capa()
2548 int smps; in ath12k_peer_assoc_h_smps() local
2563 if (ath12k_get_smps_from_capa(ht_cap, he_6ghz_capa, &smps)) in ath12k_peer_assoc_h_smps()
2566 switch (smps) { in ath12k_peer_assoc_h_smps()
3127 int smps, ret = 0; in ath12k_setup_peer_smps() local
3132 ret = ath12k_get_smps_from_capa(ht_cap, he_6ghz_capa, &smps); in ath12k_setup_peer_smps()
3138 ath12k_smps_map[smps]); in ath12k_setup_peer_smps()
3216 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_bss_assoc()
4928 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_mac_station_assoc()
4978 u32 changed, bw, nss, smps, bw_prev; in ath12k_sta_rc_update_wk() local
5008 smps = arsta->smps; in ath12k_sta_rc_update_wk()
5083 ath12k_dbg(ar->ab, ATH12K_DBG_MAC, "mac update sta %pM smps %d\n", in ath12k_sta_rc_update_wk()
5084 arsta->addr, smps); in ath12k_sta_rc_update_wk()
5087 WMI_PEER_MIMO_PS_STATE, smps); in ath12k_sta_rc_update_wk()
5089 ath12k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath12k_sta_rc_update_wk()
5090 arsta->addr, smps, err); in ath12k_sta_rc_update_wk()
5795 u32 bw, smps; in ath12k_mac_op_link_sta_rc_update() local
5842 "mac sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath12k_mac_op_link_sta_rc_update()
5858 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
5863 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
5866 smps = WMI_PEER_SMPS_STATIC; in ath12k_mac_op_link_sta_rc_update()
5869 smps = WMI_PEER_SMPS_DYNAMIC; in ath12k_mac_op_link_sta_rc_update()
5872 ath12k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM link %u\n", in ath12k_mac_op_link_sta_rc_update()
5874 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_link_sta_rc_update()
5878 arsta->smps = smps; in ath12k_mac_op_link_sta_rc_update()
6161 u32 smps; in ath12k_create_ht_cap() local
6163 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath12k_create_ht_cap()
6164 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_create_ht_cap()
6166 ht_cap.cap |= smps; in ath12k_create_ht_cap()