Lines Matching full:smps

1772 	int smps;  in ath12k_peer_assoc_h_smps()  local
1777 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_peer_assoc_h_smps()
1778 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_peer_assoc_h_smps()
1780 switch (smps) { in ath12k_peer_assoc_h_smps()
2252 int smps; in ath12k_setup_peer_smps() local
2257 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_setup_peer_smps()
2258 smps >>= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_setup_peer_smps()
2260 if (smps >= ARRAY_SIZE(ath12k_smps_map)) in ath12k_setup_peer_smps()
2265 ath12k_smps_map[smps]); in ath12k_setup_peer_smps()
2315 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_bss_assoc()
3403 ath12k_warn(ar->ab, "failed to setup peer SMPS for vdev %d: %d\n", in ath12k_station_assoc()
3462 u32 changed, bw, nss, smps, bw_prev; in ath12k_sta_rc_update_wk() local
3488 smps = arsta->smps; in ath12k_sta_rc_update_wk()
3560 ath12k_dbg(ar->ab, ATH12K_DBG_MAC, "mac update sta %pM smps %d\n", in ath12k_sta_rc_update_wk()
3561 sta->addr, smps); in ath12k_sta_rc_update_wk()
3564 WMI_PEER_MIMO_PS_STATE, smps); in ath12k_sta_rc_update_wk()
3566 ath12k_warn(ar->ab, "failed to update STA %pM smps %d: %d\n", in ath12k_sta_rc_update_wk()
3567 sta->addr, smps, err); in ath12k_sta_rc_update_wk()
3906 u32 bw, smps; in ath12k_mac_op_sta_rc_update() local
3921 "mac sta rc update for %pM changed %08x bw %d nss %d smps %d\n", in ath12k_mac_op_sta_rc_update()
3937 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3942 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3945 smps = WMI_PEER_SMPS_STATIC; in ath12k_mac_op_sta_rc_update()
3948 smps = WMI_PEER_SMPS_DYNAMIC; in ath12k_mac_op_sta_rc_update()
3951 ath12k_warn(ar->ab, "Invalid smps %d in sta rc update for %pM\n", in ath12k_mac_op_sta_rc_update()
3953 smps = WMI_PEER_SMPS_PS_NONE; in ath12k_mac_op_sta_rc_update()
3957 arsta->smps = smps; in ath12k_mac_op_sta_rc_update()
4102 u32 smps; in ath12k_create_ht_cap() local
4104 smps = WLAN_HT_CAP_SM_PS_DYNAMIC; in ath12k_create_ht_cap()
4105 smps <<= IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_create_ht_cap()
4107 ht_cap.cap |= smps; in ath12k_create_ht_cap()