Searched refs:hs_cfg (Results 1 – 14 of 14) sorted by relevance
319 int cmd_type, struct nxpwifi_ds_hs_cfg *hs_cfg) in nxpwifi_set_hs_params() argument326 if (!hs_cfg) in nxpwifi_set_hs_params()338 if (hs_cfg->is_invoke_hostcmd) { in nxpwifi_set_hs_params()339 if (hs_cfg->conditions == HS_CFG_CANCEL) { in nxpwifi_set_hs_params()345 prev_cond = le32_to_cpu(adapter->hs_cfg in nxpwifi_set_hs_params()347 adapter->hs_cfg.conditions = in nxpwifi_set_hs_params()348 cpu_to_le32(hs_cfg->conditions); in nxpwifi_set_hs_params()349 } else if (hs_cfg->conditions) { in nxpwifi_set_hs_params()350 adapter->hs_cfg.conditions = in nxpwifi_set_hs_params()351 cpu_to_le32(hs_cfg->conditions); in nxpwifi_set_hs_params()[all …]
14 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions); in nxpwifi_ethtool_get_wol()50 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions); in nxpwifi_ethtool_set_wol()
226 adapter->hs_cfg.conditions = cpu_to_le32(HS_CFG_COND_DEF); in nxpwifi_init_adapter()227 adapter->hs_cfg.gpio = HS_CFG_GPIO_DEF; in nxpwifi_init_adapter()228 adapter->hs_cfg.gap = HS_CFG_GAP_DEF; in nxpwifi_init_adapter()
2797 struct nxpwifi_ds_hs_cfg hs_cfg; in nxpwifi_cfg80211_suspend() local2848 memset(&hs_cfg, 0, sizeof(hs_cfg)); in nxpwifi_cfg80211_suspend()2849 hs_cfg.conditions = le32_to_cpu(adapter->hs_cfg.conditions); in nxpwifi_cfg80211_suspend()2853 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in nxpwifi_cfg80211_suspend()2859 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in nxpwifi_cfg80211_suspend()2863 hs_cfg.is_invoke_hostcmd = false; in nxpwifi_cfg80211_suspend()2864 hs_cfg.gpio = adapter->hs_cfg.gpio; in nxpwifi_cfg80211_suspend()2865 hs_cfg.gap = adapter->hs_cfg.gap; in nxpwifi_cfg80211_suspend()2867 NXPWIFI_SYNC_CMD, &hs_cfg); in nxpwifi_cfg80211_suspend()
2305 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; in nxpwifi_cmd_sta_802_11_hs_cfg() local2308 u8 *tlv = (u8 *)hs_cfg + sizeof(struct host_cmd_ds_802_11_hs_cfg_enh); in nxpwifi_cmd_sta_802_11_hs_cfg()2325 memcpy(((u8 *)hs_cfg) + in nxpwifi_cmd_sta_802_11_hs_cfg()2331 tlv = (u8 *)hs_cfg in nxpwifi_cmd_sta_802_11_hs_cfg()2338 hs_cfg->action = cpu_to_le16(HS_ACTIVATE); in nxpwifi_cmd_sta_802_11_hs_cfg()2339 hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED); in nxpwifi_cmd_sta_802_11_hs_cfg()2345 hs_cfg->action = cpu_to_le16(HS_CONFIGURE); in nxpwifi_cmd_sta_802_11_hs_cfg()2346 hs_cfg->params.hs_config.conditions = hscfg_param->conditions; in nxpwifi_cmd_sta_802_11_hs_cfg()2347 hs_cfg->params.hs_config.gpio = hscfg_param->gpio; in nxpwifi_cmd_sta_802_11_hs_cfg()2348 hs_cfg->params.hs_config.gap = hscfg_param->gap; in nxpwifi_cmd_sta_802_11_hs_cfg()[all …]
576 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = in nxpwifi_insert_cmd_to_pending_q() local579 if (le16_to_cpu(hs_cfg->action) == HS_ACTIVATE) in nxpwifi_insert_cmd_to_pending_q()
587 struct nxpwifi_ds_hs_cfg hs_cfg; member
890 struct nxpwifi_hs_config_param hs_cfg; member1038 int cmd_type, struct nxpwifi_ds_hs_cfg *hs_cfg);
466 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) in mwifiex_set_hs_params() argument473 if (!hs_cfg) in mwifiex_set_hs_params()485 if (hs_cfg->is_invoke_hostcmd) { in mwifiex_set_hs_params()486 if (hs_cfg->conditions == HS_CFG_CANCEL) { in mwifiex_set_hs_params()492 prev_cond = le32_to_cpu(adapter->hs_cfg in mwifiex_set_hs_params()494 adapter->hs_cfg.conditions = in mwifiex_set_hs_params()495 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params()496 } else if (hs_cfg->conditions) { in mwifiex_set_hs_params()497 adapter->hs_cfg.conditions = in mwifiex_set_hs_params()498 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params()[all …]
14 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions); in mwifiex_ethtool_get_wol()50 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions); in mwifiex_ethtool_set_wol()
339 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; in mwifiex_cmd_802_11_hs_cfg() local340 u8 *tlv = (u8 *)hs_cfg + sizeof(struct host_cmd_ds_802_11_hs_cfg_enh); in mwifiex_cmd_802_11_hs_cfg()357 memcpy(((u8 *) hs_cfg) + in mwifiex_cmd_802_11_hs_cfg()363 tlv = (u8 *)hs_cfg in mwifiex_cmd_802_11_hs_cfg()370 hs_cfg->action = cpu_to_le16(HS_ACTIVATE); in mwifiex_cmd_802_11_hs_cfg()371 hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_cmd_802_11_hs_cfg()377 hs_cfg->action = cpu_to_le16(HS_CONFIGURE); in mwifiex_cmd_802_11_hs_cfg()378 hs_cfg->params.hs_config.conditions = hscfg_param->conditions; in mwifiex_cmd_802_11_hs_cfg()379 hs_cfg->params.hs_config.gpio = hscfg_param->gpio; in mwifiex_cmd_802_11_hs_cfg()380 hs_cfg->params.hs_config.gap = hscfg_param->gap; in mwifiex_cmd_802_11_hs_cfg()[all …]
3492 struct mwifiex_ds_hs_cfg hs_cfg; in mwifiex_cfg80211_suspend() local3541 memset(&hs_cfg, 0, sizeof(hs_cfg)); in mwifiex_cfg80211_suspend()3542 hs_cfg.conditions = le32_to_cpu(adapter->hs_cfg.conditions); in mwifiex_cfg80211_suspend()3546 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_cfg80211_suspend()3552 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_cfg80211_suspend()3556 hs_cfg.is_invoke_hostcmd = false; in mwifiex_cfg80211_suspend()3557 hs_cfg.gpio = adapter->hs_cfg.gpio; in mwifiex_cfg80211_suspend()3558 hs_cfg.gap = adapter->hs_cfg.gap; in mwifiex_cfg80211_suspend()3560 MWIFIEX_SYNC_CMD, &hs_cfg); in mwifiex_cfg80211_suspend()
297 struct mwifiex_ds_hs_cfg hs_cfg; member
710 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = in mwifiex_insert_cmd_to_pending_q() local713 if (le16_to_cpu(hs_cfg->action) == HS_ACTIVATE) in mwifiex_insert_cmd_to_pending_q()