Searched refs:ps_mode (Results 1 - 24 of 24) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8723au/core/
H A Drtw_pwrctrl.c278 void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode, rtw_set_ps_mode23a() argument
285 __func__, ps_mode, smart_ps); rtw_set_ps_mode23a()
287 if (ps_mode > PM_Card_Disable) { rtw_set_ps_mode23a()
289 "ps_mode:%d error\n", ps_mode); rtw_set_ps_mode23a()
293 if (pwrpriv->pwr_mode == ps_mode) { rtw_set_ps_mode23a()
294 if (PS_MODE_ACTIVE == ps_mode) rtw_set_ps_mode23a()
302 if (ps_mode == PS_MODE_ACTIVE) { rtw_set_ps_mode23a()
305 pwrpriv->pwr_mode = ps_mode; rtw_set_ps_mode23a()
307 rtl8723a_set_FwPwrMode_cmd(padapter, ps_mode); rtw_set_ps_mode23a()
315 pwrpriv->pwr_mode = ps_mode; rtw_set_ps_mode23a()
318 rtl8723a_set_FwPwrMode_cmd(padapter, ps_mode); rtw_set_ps_mode23a()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
H A Drtw_pwrctrl.c377 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode) rtw_set_ps_mode() argument
383 __func__, ps_mode, smart_ps)); rtw_set_ps_mode()
385 if (ps_mode > PM_Card_Disable) { rtw_set_ps_mode()
386 RT_TRACE(_module_rtl871x_pwrctrl_c_, _drv_err_, ("ps_mode:%d error\n", ps_mode)); rtw_set_ps_mode()
390 if (pwrpriv->pwr_mode == ps_mode) { rtw_set_ps_mode()
391 if (PS_MODE_ACTIVE == ps_mode) rtw_set_ps_mode()
400 if (ps_mode == PS_MODE_ACTIVE) { rtw_set_ps_mode()
404 pwrpriv->pwr_mode = ps_mode; rtw_set_ps_mode()
407 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); rtw_set_ps_mode()
/linux-4.4.14/drivers/staging/rtl8712/
H A Drtl871x_pwrctrl.c69 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) r8712_set_ps_mode() argument
73 if (ps_mode > PM_Card_Disable) r8712_set_ps_mode()
76 if (ps_mode == PS_MODE_ACTIVE) r8712_set_ps_mode()
78 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { r8712_set_ps_mode()
83 pwrpriv->pwr_mode = ps_mode; r8712_set_ps_mode()
H A Drtl871x_pwrctrl.h127 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
H A Drtl871x_mp_ioctl.h292 unsigned int ps_mode; member in struct:psmode_param
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dcmdevt.c974 "ps_mode=%d ps_state=%d\n", mwifiex_cmd_timeout_func()
975 adapter->ps_mode, adapter->ps_state); mwifiex_cmd_timeout_func()
1349 struct mwifiex_ps_param *ps_mode = &ps_tlv->param; mwifiex_cmd_enh_power_mode() local
1357 ps_mode->null_pkt_interval = mwifiex_cmd_enh_power_mode()
1359 ps_mode->multiple_dtims = mwifiex_cmd_enh_power_mode()
1361 ps_mode->bcn_miss_timeout = mwifiex_cmd_enh_power_mode()
1363 ps_mode->local_listen_interval = mwifiex_cmd_enh_power_mode()
1365 ps_mode->adhoc_wake_period = mwifiex_cmd_enh_power_mode()
1367 ps_mode->delay_to_ps = mwifiex_cmd_enh_power_mode()
1369 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); mwifiex_cmd_enh_power_mode()
1407 struct host_cmd_ds_802_11_ps_mode_enh *ps_mode = mwifiex_ret_enh_power_mode() local
1409 uint16_t action = le16_to_cpu(ps_mode->action); mwifiex_ret_enh_power_mode()
1410 uint16_t ps_bitmap = le16_to_cpu(ps_mode->params.ps_bitmap); mwifiex_ret_enh_power_mode()
1412 le16_to_cpu(ps_mode->params.ps_bitmap); mwifiex_ret_enh_power_mode()
1447 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; mwifiex_ret_enh_power_mode()
1449 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; mwifiex_ret_enh_power_mode()
1457 pm_cfg->param.ps_mode = 1; mwifiex_ret_enh_power_mode()
1459 pm_cfg->param.ps_mode = 0; mwifiex_ret_enh_power_mode()
H A Dioctl.h207 u16 ps_mode; member in struct:mwifiex_debug_info
286 u32 ps_mode; member in union:mwifiex_ds_pm_cfg::__anon8548
H A Dutil.c45 {"ps_mode", item_size(ps_mode),
46 item_addr(ps_mode), 1},
200 info->ps_mode = adapter->ps_mode; mwifiex_get_debug_info()
H A Dsta_ioctl.c725 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode) mwifiex_drv_set_power() argument
731 if (*ps_mode) mwifiex_drv_set_power()
732 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; mwifiex_drv_set_power()
734 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; mwifiex_drv_set_power()
735 sub_cmd = (*ps_mode) ? EN_AUTO_PS : DIS_AUTO_PS; mwifiex_drv_set_power()
H A Dinit.c225 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; mwifiex_init_adapter()
H A Dmain.h922 u16 ps_mode; member in struct:mwifiex_adapter
1420 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
H A Dcfg80211.c391 u32 ps_mode; mwifiex_cfg80211_set_power_mgmt() local
397 ps_mode = enabled; mwifiex_cfg80211_set_power_mgmt()
399 return mwifiex_drv_set_power(priv, &ps_mode); mwifiex_cfg80211_set_power_mgmt()
H A Dsta_cmdresp.c69 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; mwifiex_process_cmdresp_error()
H A Dsta_cmd.c2183 priv->adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; mwifiex_sta_init_cmd()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
H A Dcmd.c318 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) wl1251_cmd_ps_mode() argument
331 ps_params->ps_mode = ps_mode; wl1251_cmd_ps_mode()
H A Dcmd.h42 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
329 u8 ps_mode; /* STATION_* */ member in struct:wl1251_cmd_ps_params
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Drtw_pwrctrl.h218 void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode,
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Dcmd.h53 u8 ps_mode, u16 auto_ps_timeout);
449 u8 ps_mode; /* STATION_* */ member in struct:wl1271_cmd_ps_params
H A Ddebugfs.c339 int ret, ps_mode; forced_ps_write() local
370 ps_mode = value ? STATION_POWER_SAVE_MODE : STATION_AUTO_PS_MODE; forced_ps_write()
374 wl1271_ps_set_mode(wl, wlvif, ps_mode); wl12xx_for_each_wlvif_sta()
H A Dcmd.c983 u8 ps_mode, u16 auto_ps_timeout) wl1271_cmd_ps_mode()
997 ps_params->ps_mode = ps_mode; wl1271_cmd_ps_mode()
982 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) wl1271_cmd_ps_mode() argument
H A Dmain.c4497 int ps_mode; wl1271_bss_info_changed_sta() local
4501 ps_mode = STATION_POWER_SAVE_MODE; wl1271_bss_info_changed_sta()
4504 ps_mode = STATION_AUTO_PS_MODE; wl1271_bss_info_changed_sta()
4510 ret = wl1271_ps_set_mode(wl, wlvif, ps_mode); wl1271_bss_info_changed_sta()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Drtw_pwrctrl.h245 void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c383 "FW LPS leave ps_mode:%x\n", rtl_lps_set_psmode()
398 "FW LPS enter ps_mode:%x\n", rtl_lps_set_psmode()
/linux-4.4.14/drivers/net/wireless/
H A Dmac80211_hwsim.c511 enum ps_mode { enum in struct:mac80211_hwsim_data
696 enum ps_mode old_ps; hwsim_fops_ps_write()

Completed in 647 milliseconds