Home
last modified time | relevance | path

Searched refs:hscfg (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Ddebugfs.c773 struct mwifiex_ds_hs_cfg hscfg; in mwifiex_hscfg_write() local
783 memset(&hscfg, 0, sizeof(struct mwifiex_ds_hs_cfg)); in mwifiex_hscfg_write()
794 MWIFIEX_SYNC_CMD, &hscfg); in mwifiex_hscfg_write()
802 hscfg.conditions = conditions; in mwifiex_hscfg_write()
805 hscfg.gpio = gpio; in mwifiex_hscfg_write()
807 hscfg.gap = gap; in mwifiex_hscfg_write()
809 hscfg.is_invoke_hostcmd = false; in mwifiex_hscfg_write()
811 MWIFIEX_SYNC_CMD, &hscfg); in mwifiex_hscfg_write()
833 struct mwifiex_ds_hs_cfg hscfg; in mwifiex_hscfg_read() local
839 MWIFIEX_SYNC_CMD, &hscfg); in mwifiex_hscfg_read()
[all …]
H A DREADME220 hscfg
225 echo "<condition> [GPIO# [gap]]]" > hscfg
226 cat hscfg
241 echo "-1" > hscfg : Cancel host sleep mode
242 echo "3" > hscfg : Broadcast and unicast data;
244 echo "2 3" > hscfg : Unicast data and GPIO 3;
246 echo "2 1 160" > hscfg : Unicast data, GPIO 1 and gap 160 ms
247 echo "2 1 0xff" > hscfg : Unicast data, GPIO 1; Wait for host
H A Dsta_ioctl.c493 struct mwifiex_ds_hs_cfg hscfg; in mwifiex_cancel_hs() local
495 hscfg.conditions = HS_CFG_CANCEL; in mwifiex_cancel_hs()
496 hscfg.is_invoke_hostcmd = true; in mwifiex_cancel_hs()
499 cmd_type, &hscfg); in mwifiex_cancel_hs()
511 struct mwifiex_ds_hs_cfg hscfg; in mwifiex_enable_hs() local
546 memset(&hscfg, 0, sizeof(hscfg)); in mwifiex_enable_hs()
547 hscfg.is_invoke_hostcmd = true; in mwifiex_enable_hs()
555 &hscfg)) { in mwifiex_enable_hs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_proc.c687 mlan_ds_hs_cfg hscfg; in woal_config_read() local
700 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_config_read()
702 &hscfg); in woal_config_read()
703 seq_printf(sfp, "hssetpara=%d,0x%x,%d,%d\n", hscfg.conditions, in woal_config_read()
704 hscfg.gpio, hscfg.gap, hscfg.hs_wake_interval); in woal_config_read()
H A Dmoal_uap.c1518 mlan_ds_hs_cfg hscfg; in woal_uap_hs_cfg() local
1526 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_uap_hs_cfg()
1562 MOAL_IOCTL_WAIT, &hscfg); in woal_uap_hs_cfg()
1565 hscfg.conditions = hs_cfg.conditions; in woal_uap_hs_cfg()
1567 hscfg.gpio = hs_cfg.gpio; in woal_uap_hs_cfg()
1569 hscfg.gap = hs_cfg.gap; in woal_uap_hs_cfg()
1573 hscfg.is_invoke_hostcmd = MFALSE; in woal_uap_hs_cfg()
1576 MOAL_IOCTL_WAIT, &hscfg)) { in woal_uap_hs_cfg()
1586 hscfg.is_invoke_hostcmd = invoke_hostcmd; in woal_uap_hs_cfg()
1588 woal_set_get_hs_params(priv, action, MOAL_IOCTL_WAIT, &hscfg)) { in woal_uap_hs_cfg()
[all …]
H A Dmoal_priv.c1130 mlan_ds_hs_cfg hscfg; in woal_hs_cfg() local
1138 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_hs_cfg()
1174 &hscfg); in woal_hs_cfg()
1178 hscfg.conditions = data[0]; in woal_hs_cfg()
1180 hscfg.gpio = data[1]; in woal_hs_cfg()
1182 hscfg.gap = data[2]; in woal_hs_cfg()
1186 hscfg.is_invoke_hostcmd = MFALSE; in woal_hs_cfg()
1189 &hscfg)) { in woal_hs_cfg()
1194 hscfg.is_invoke_hostcmd = invoke_hostcmd; in woal_hs_cfg()
1196 woal_set_get_hs_params(priv, action, MOAL_IOCTL_WAIT, &hscfg)) { in woal_hs_cfg()
[all …]
H A Dmoal_ioctl.c3244 t_u8 wait_option, mlan_ds_hs_cfg *hscfg) in woal_set_get_hs_params() argument
3265 moal_memcpy_ext(priv->phandle, &pmcfg->param.hs_cfg, hscfg, in woal_set_get_hs_params()
3271 if (hscfg && action == MLAN_ACT_GET) { in woal_set_get_hs_params()
3272 moal_memcpy_ext(priv->phandle, hscfg, in woal_set_get_hs_params()
3399 mlan_ds_hs_cfg hscfg; in woal_cancel_hs() local
3412 hscfg.conditions = HOST_SLEEP_CFG_CANCEL; in woal_cancel_hs()
3413 hscfg.is_invoke_hostcmd = MTRUE; in woal_cancel_hs()
3414 ret = woal_set_get_hs_params(priv, MLAN_ACT_SET, wait_option, &hscfg); in woal_cancel_hs()
3642 mlan_ds_hs_cfg hscfg; in woal_enable_hs() local
3803 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_enable_hs()
[all …]
H A Dmoal_eth_ioctl.c4600 mlan_ds_hs_cfg hscfg, hscfg_temp; in woal_priv_hscfg() local
4609 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_priv_hscfg()
4672 hscfg.conditions = hscfg_temp.conditions; in woal_priv_hscfg()
4673 hscfg.gpio = hscfg_temp.gpio; in woal_priv_hscfg()
4674 hscfg.gap = hscfg_temp.gap; in woal_priv_hscfg()
4677 hscfg.conditions = data[0]; in woal_priv_hscfg()
4679 hscfg.gpio = data[1]; in woal_priv_hscfg()
4681 hscfg.gap = data[2]; in woal_priv_hscfg()
4690 hscfg.ind_gpio = *(++temp_data); in woal_priv_hscfg()
4698 hscfg.level = *(++temp_data); in woal_priv_hscfg()
[all …]
H A Dmoal_sta_cfg80211.c6761 mlan_ds_hs_cfg hscfg; in woal_cfg80211_suspend() local
6915 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_cfg80211_suspend()
6917 &hscfg); in woal_cfg80211_suspend()
6921 hscfg.conditions, hscfg.gap, hscfg.gpio); in woal_cfg80211_suspend()
6925 hscfg.is_invoke_hostcmd = MFALSE; in woal_cfg80211_suspend()
6927 hscfg.conditions = 0; in woal_cfg80211_suspend()
6929 &hscfg); in woal_cfg80211_suspend()
6933 hscfg.conditions, hscfg.gap, hscfg.gpio); in woal_cfg80211_suspend()
H A Dmoal_main.h3455 t_u8 wait_option, mlan_ds_hs_cfg *hscfg);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_uap.c1179 mlan_ds_hs_cfg hscfg; in woal_uap_hs_cfg() local
1187 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_uap_hs_cfg()
1223 MOAL_IOCTL_WAIT, &hscfg); in woal_uap_hs_cfg()
1226 hscfg.conditions = hs_cfg.conditions; in woal_uap_hs_cfg()
1228 hscfg.gpio = hs_cfg.gpio; in woal_uap_hs_cfg()
1230 hscfg.gap = hs_cfg.gap; in woal_uap_hs_cfg()
1234 hscfg.is_invoke_hostcmd = MFALSE; in woal_uap_hs_cfg()
1237 MOAL_IOCTL_WAIT, &hscfg)) { in woal_uap_hs_cfg()
1247 hscfg.is_invoke_hostcmd = invoke_hostcmd; in woal_uap_hs_cfg()
1249 woal_set_get_hs_params(priv, action, MOAL_IOCTL_WAIT, &hscfg)) { in woal_uap_hs_cfg()
[all …]
H A Dmoal_eth_ioctl.c3642 mlan_ds_hs_cfg hscfg, hscfg_temp; in woal_priv_hscfg() local
3651 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_priv_hscfg()
3715 hscfg.conditions = hscfg_temp.conditions; in woal_priv_hscfg()
3716 hscfg.gpio = hscfg_temp.gpio; in woal_priv_hscfg()
3717 hscfg.gap = hscfg_temp.gap; in woal_priv_hscfg()
3720 hscfg.conditions = data[0]; in woal_priv_hscfg()
3722 hscfg.gpio = data[1]; in woal_priv_hscfg()
3724 hscfg.gap = data[2]; in woal_priv_hscfg()
3733 hscfg.ind_gpio = *(++temp_data); in woal_priv_hscfg()
3741 hscfg.level = *(++temp_data); in woal_priv_hscfg()
[all …]
H A Dmoal_ioctl.c2521 mlan_ds_hs_cfg *hscfg) in woal_set_get_hs_params() argument
2542 memcpy(&pmcfg->param.hs_cfg, hscfg, sizeof(mlan_ds_hs_cfg)); in woal_set_get_hs_params()
2547 if (hscfg && action == MLAN_ACT_GET) { in woal_set_get_hs_params()
2548 memcpy(hscfg, &pmcfg->param.hs_cfg, in woal_set_get_hs_params()
2617 mlan_ds_hs_cfg hscfg; in woal_cancel_hs() local
2628 hscfg.conditions = HOST_SLEEP_CFG_CANCEL; in woal_cancel_hs()
2629 hscfg.is_invoke_hostcmd = MTRUE; in woal_cancel_hs()
2630 ret = woal_set_get_hs_params(priv, MLAN_ACT_SET, wait_option, &hscfg); in woal_cancel_hs()
2818 mlan_ds_hs_cfg hscfg; in woal_enable_hs() local
2939 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_enable_hs()
[all …]
H A Dmoal_priv.c1172 mlan_ds_hs_cfg hscfg; in woal_hs_cfg() local
1180 memset(&hscfg, 0, sizeof(mlan_ds_hs_cfg)); in woal_hs_cfg()
1215 &hscfg); in woal_hs_cfg()
1219 hscfg.conditions = data[0]; in woal_hs_cfg()
1221 hscfg.gpio = data[1]; in woal_hs_cfg()
1223 hscfg.gap = data[2]; in woal_hs_cfg()
1227 hscfg.is_invoke_hostcmd = MFALSE; in woal_hs_cfg()
1230 &hscfg)) { in woal_hs_cfg()
1235 hscfg.is_invoke_hostcmd = invoke_hostcmd; in woal_hs_cfg()
1237 woal_set_get_hs_params(priv, action, MOAL_IOCTL_WAIT, &hscfg)) { in woal_hs_cfg()
[all …]
H A Dmoal_main.h2412 t_u8 wait_option, mlan_ds_hs_cfg *hscfg);
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/
H A DREADME_MLAN595 mlanutl mlanX hscfg [condition [[GPIO# [gap]]]] [ind_GPIO# [level]]
2968 hscfg
2974 …mlanutl mlanX hscfg [condition [[GPIO# [gap]]]] (optional)[type ind_GPIO# [level]] (optional)[type…
2982 …If type=2, it will set extend hscfg wakup method. And the parameter format will be (condition, GPI…
2994 The usages of parameters for "hscfg" are the same as that for "hssetpara" command.