Lines Matching full:smps
1768 int smps; in ath12k_peer_assoc_h_smps() local
1773 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_peer_assoc_h_smps()
1774 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_peer_assoc_h_smps()
1776 switch (smps) { in ath12k_peer_assoc_h_smps()
2248 int smps; in ath12k_setup_peer_smps() local
2253 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_setup_peer_smps()
2254 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_setup_peer_smps()
2256 if (smps >= ARRAY_SIZE(ath12k_smps_map)) in ath12k_setup_peer_smps()
2261 ath12k_smps_map[smps]); in ath12k_setup_peer_smps()
2311 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_bss_assoc()
3394 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_station_assoc()
3453 u32 changed, bw, nss, smps, bw_prev; in ath12k_sta_rc_update_wk() local
3479 smps = arsta->smps; in ath12k_sta_rc_update_wk()
3551 ath12k_dbg(ar->ab, ATH12K_DBG_MAC, "mac update sta %pM smps %d\n", in ath12k_sta_rc_update_wk()
3552 sta->addr, smps); in ath12k_sta_rc_update_wk()
3555 WMI_PEER_MIMO_PS_STATE, smps); in ath12k_sta_rc_update_wk()
3557 ath12k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath12k_sta_rc_update_wk()
3558 sta->addr, smps, err); in ath12k_sta_rc_update_wk()
3897 u32 bw, smps; in ath12k_mac_op_sta_rc_update() local
3912 "mac sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath12k_mac_op_sta_rc_update()
3928 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3933 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3936 smps = WMI_PEER_SMPS_STATIC; in ath12k_mac_op_sta_rc_update()
3939 smps = WMI_PEER_SMPS_DYNAMIC; in ath12k_mac_op_sta_rc_update()
3942 ath12k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM\n", in ath12k_mac_op_sta_rc_update()
3944 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3948 arsta->smps = smps; in ath12k_mac_op_sta_rc_update()
4093 u32 smps; in ath12k_create_ht_cap() local
4095 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath12k_create_ht_cap()
4096 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_create_ht_cap()
4098 ht_cap.cap |= smps; in ath12k_create_ht_cap()