Home
last modified time | relevance | path

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

/drivers/staging/rtl8723au/core/
Drtw_pwrctrl.c278 void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode, in rtw_set_ps_mode23a() argument
285 __func__, ps_mode, smart_ps); in rtw_set_ps_mode23a()
287 if (ps_mode > PM_Card_Disable) { in rtw_set_ps_mode23a()
289 "ps_mode:%d error\n", ps_mode); in rtw_set_ps_mode23a()
293 if (pwrpriv->pwr_mode == ps_mode) { in rtw_set_ps_mode23a()
294 if (PS_MODE_ACTIVE == ps_mode) in rtw_set_ps_mode23a()
302 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode23a()
305 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode23a()
307 rtl8723a_set_FwPwrMode_cmd(padapter, ps_mode); in rtw_set_ps_mode23a()
315 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode23a()
[all …]
/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c69 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) in r8712_set_ps_mode() argument
73 if (ps_mode > PM_Card_Disable) in r8712_set_ps_mode()
76 if (ps_mode == PS_MODE_ACTIVE) in r8712_set_ps_mode()
78 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { in r8712_set_ps_mode()
83 pwrpriv->pwr_mode = ps_mode; in r8712_set_ps_mode()
Drtl871x_pwrctrl.h127 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
Drtl871x_mp_ioctl.h292 unsigned int ps_mode; member
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c377 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode) in rtw_set_ps_mode() argument
383 __func__, ps_mode, smart_ps)); in rtw_set_ps_mode()
385 if (ps_mode > PM_Card_Disable) { in rtw_set_ps_mode()
386 RT_TRACE(_module_rtl871x_pwrctrl_c_, _drv_err_, ("ps_mode:%d error\n", ps_mode)); in rtw_set_ps_mode()
390 if (pwrpriv->pwr_mode == ps_mode) { in rtw_set_ps_mode()
391 if (PS_MODE_ACTIVE == ps_mode) in rtw_set_ps_mode()
400 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode()
404 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
407 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_set_ps_mode()
/drivers/net/wireless/mwifiex/
Dcmdevt.c975 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1349 struct mwifiex_ps_param *ps_mode = &ps_tlv->param; in mwifiex_cmd_enh_power_mode() local
1357 ps_mode->null_pkt_interval = in mwifiex_cmd_enh_power_mode()
1359 ps_mode->multiple_dtims = in mwifiex_cmd_enh_power_mode()
1361 ps_mode->bcn_miss_timeout = in mwifiex_cmd_enh_power_mode()
1363 ps_mode->local_listen_interval = in mwifiex_cmd_enh_power_mode()
1365 ps_mode->adhoc_wake_period = in mwifiex_cmd_enh_power_mode()
1367 ps_mode->delay_to_ps = in mwifiex_cmd_enh_power_mode()
1369 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1407 struct host_cmd_ds_802_11_ps_mode_enh *ps_mode = in mwifiex_ret_enh_power_mode() local
[all …]
Dutil.c45 {"ps_mode", item_size(ps_mode),
46 item_addr(ps_mode), 1},
200 info->ps_mode = adapter->ps_mode; in mwifiex_get_debug_info()
Dioctl.h207 u16 ps_mode; member
287 u32 ps_mode; member
Dsta_ioctl.c738 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode) in mwifiex_drv_set_power() argument
744 if (*ps_mode) in mwifiex_drv_set_power()
745 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; in mwifiex_drv_set_power()
747 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_drv_set_power()
748 sub_cmd = (*ps_mode) ? EN_AUTO_PS : DIS_AUTO_PS; in mwifiex_drv_set_power()
Dmain.h923 u16 ps_mode; member
1421 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
Dinit.c225 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_init_adapter()
DREADME126 ps_mode = <0/1, CAM mode/PS mode>
Dsta_cmdresp.c69 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
Dcfg80211.c400 u32 ps_mode; in mwifiex_cfg80211_set_power_mgmt() local
406 ps_mode = enabled; in mwifiex_cfg80211_set_power_mgmt()
408 return mwifiex_drv_set_power(priv, &ps_mode); in mwifiex_cfg80211_set_power_mgmt()
Dsta_cmd.c2183 priv->adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; in mwifiex_sta_init_cmd()
/drivers/net/wireless/ti/wl1251/
Dcmd.c318 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode() argument
331 ps_params->ps_mode = ps_mode; in wl1251_cmd_ps_mode()
Dcmd.h42 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
329 u8 ps_mode; /* STATION_* */ member
/drivers/staging/rtl8723au/include/
Drtw_pwrctrl.h218 void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode,
/drivers/net/wireless/ti/wlcore/
Dcmd.h53 u8 ps_mode, u16 auto_ps_timeout);
449 u8 ps_mode; /* STATION_* */ member
Ddebugfs.c339 int ret, ps_mode; in forced_ps_write() local
370 ps_mode = value ? STATION_POWER_SAVE_MODE : STATION_AUTO_PS_MODE; in forced_ps_write()
374 wl1271_ps_set_mode(wl, wlvif, ps_mode); in forced_ps_write()
Dcmd.c983 u8 ps_mode, u16 auto_ps_timeout) in wl1271_cmd_ps_mode() argument
997 ps_params->ps_mode = ps_mode; in wl1271_cmd_ps_mode()
Dmain.c4487 int ps_mode; in wl1271_bss_info_changed_sta() local
4491 ps_mode = STATION_POWER_SAVE_MODE; in wl1271_bss_info_changed_sta()
4494 ps_mode = STATION_AUTO_PS_MODE; in wl1271_bss_info_changed_sta()
4500 ret = wl1271_ps_set_mode(wl, wlvif, ps_mode); in wl1271_bss_info_changed_sta()
/drivers/staging/rtl8188eu/include/
Drtw_pwrctrl.h245 void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
/drivers/net/wireless/
Dmac80211_hwsim.c520 enum ps_mode { enum
753 enum ps_mode old_ps; in hwsim_fops_ps_write()