Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cfg.c909 struct host_cmd_ds_remain_on_chan roc_cfg; in nxpwifi_remain_on_chan_cfg() local
913 memset(&roc_cfg, 0, sizeof(roc_cfg)); in nxpwifi_remain_on_chan_cfg()
914 roc_cfg.action = cpu_to_le16(action); in nxpwifi_remain_on_chan_cfg()
916 roc_cfg.band_cfg = chan->band; in nxpwifi_remain_on_chan_cfg()
918 roc_cfg.band_cfg |= (sc << 2); in nxpwifi_remain_on_chan_cfg()
920 roc_cfg.channel = in nxpwifi_remain_on_chan_cfg()
922 roc_cfg.duration = cpu_to_le32(duration); in nxpwifi_remain_on_chan_cfg()
925 action, 0, &roc_cfg, true); in nxpwifi_remain_on_chan_cfg()
932 return roc_cfg.status; in nxpwifi_remain_on_chan_cfg()
H A Duap_event.c388 priv->roc_cfg.cookie, in nxpwifi_uap_event_remain_on_chan_expired()
389 &priv->roc_cfg.chan, in nxpwifi_uap_event_remain_on_chan_expired()
391 memset(&priv->roc_cfg, 0x00, sizeof(struct nxpwifi_roc_cfg)); in nxpwifi_uap_event_remain_on_chan_expired()
H A Dsta_event.c342 priv->roc_cfg.cookie, in nxpwifi_sta_event_remain_on_chan_expired()
343 &priv->roc_cfg.chan, in nxpwifi_sta_event_remain_on_chan_expired()
347 memset(&priv->roc_cfg, 0x00, sizeof(struct nxpwifi_roc_cfg)); in nxpwifi_sta_event_remain_on_chan_expired()
H A Dcfg80211.c268 if (priv->roc_cfg.cookie) { in nxpwifi_cfg80211_remain_on_channel()
271 priv->roc_cfg.cookie); in nxpwifi_cfg80211_remain_on_channel()
279 priv->roc_cfg.cookie = cookie; in nxpwifi_cfg80211_remain_on_channel()
280 priv->roc_cfg.chan = *chan; in nxpwifi_cfg80211_remain_on_channel()
300 if (cookie != priv->roc_cfg.cookie) in nxpwifi_cfg80211_cancel_remain_on_channel()
304 &priv->roc_cfg.chan, 0); in nxpwifi_cfg80211_cancel_remain_on_channel()
308 &priv->roc_cfg.chan, in nxpwifi_cfg80211_cancel_remain_on_channel()
311 memset(&priv->roc_cfg, 0, sizeof(struct nxpwifi_roc_cfg)); in nxpwifi_cfg80211_cancel_remain_on_channel()
3387 priv->roc_cfg.cookie = in nxpwifi_cfg80211_authenticate()
3389 priv->roc_cfg.chan = *req->bss->channel; in nxpwifi_cfg80211_authenticate()
[all …]
H A Dinit.c125 memset(&priv->roc_cfg, 0, sizeof(priv->roc_cfg)); in nxpwifi_init_priv()
H A Dsta_cmd.c2618 struct host_cmd_ds_remain_on_chan *resp_cfg = &resp->params.roc_cfg; in nxpwifi_ret_sta_remain_on_chan()
2619 struct host_cmd_ds_remain_on_chan *roc_cfg = in nxpwifi_ret_sta_remain_on_chan() local
2622 if (roc_cfg) in nxpwifi_ret_sta_remain_on_chan()
2623 memcpy(roc_cfg, resp_cfg, sizeof(*roc_cfg)); in nxpwifi_ret_sta_remain_on_chan()
H A Dutil.c581 cfg80211_rx_mgmt(&priv->wdev, priv->roc_cfg.chan.center_freq, in nxpwifi_process_mgmt_packet()
H A Dmain.h602 struct nxpwifi_roc_cfg roc_cfg; member
H A Dfw.h2419 struct host_cmd_ds_remain_on_chan roc_cfg; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c1222 struct host_cmd_ds_remain_on_chan roc_cfg; in mwifiex_remain_on_chan_cfg() local
1225 memset(&roc_cfg, 0, sizeof(roc_cfg)); in mwifiex_remain_on_chan_cfg()
1226 roc_cfg.action = cpu_to_le16(action); in mwifiex_remain_on_chan_cfg()
1228 roc_cfg.band_cfg = chan->band; in mwifiex_remain_on_chan_cfg()
1230 roc_cfg.band_cfg |= (sc << 2); in mwifiex_remain_on_chan_cfg()
1232 roc_cfg.channel = in mwifiex_remain_on_chan_cfg()
1234 roc_cfg.duration = cpu_to_le32(duration); in mwifiex_remain_on_chan_cfg()
1237 action, 0, &roc_cfg, true)) { in mwifiex_remain_on_chan_cfg()
1243 return roc_cfg.status; in mwifiex_remain_on_chan_cfg()
H A Duap_event.c335 priv->roc_cfg.cookie, in mwifiex_process_uap_event()
336 &priv->roc_cfg.chan, in mwifiex_process_uap_event()
338 memset(&priv->roc_cfg, 0x00, sizeof(struct mwifiex_roc_cfg)); in mwifiex_process_uap_event()
H A Dsta_cmdresp.c738 struct host_cmd_ds_remain_on_chan *roc_cfg) in mwifiex_ret_remain_on_chan() argument
740 struct host_cmd_ds_remain_on_chan *resp_cfg = &resp->params.roc_cfg; in mwifiex_ret_remain_on_chan()
742 if (roc_cfg) in mwifiex_ret_remain_on_chan()
743 memcpy(roc_cfg, resp_cfg, sizeof(*roc_cfg)); in mwifiex_ret_remain_on_chan()
H A Dsta_event.c1020 priv->roc_cfg.cookie, in mwifiex_process_sta_event()
1021 &priv->roc_cfg.chan, in mwifiex_process_sta_event()
1025 memset(&priv->roc_cfg, 0x00, sizeof(struct mwifiex_roc_cfg)); in mwifiex_process_sta_event()
H A Dcfg80211.c317 if (priv->roc_cfg.cookie) { in mwifiex_cfg80211_remain_on_channel()
320 priv->roc_cfg.cookie); in mwifiex_cfg80211_remain_on_channel()
328 priv->roc_cfg.cookie = cookie; in mwifiex_cfg80211_remain_on_channel()
329 priv->roc_cfg.chan = *chan; in mwifiex_cfg80211_remain_on_channel()
351 if (cookie != priv->roc_cfg.cookie) in mwifiex_cfg80211_cancel_remain_on_channel()
355 &priv->roc_cfg.chan, 0); in mwifiex_cfg80211_cancel_remain_on_channel()
359 &priv->roc_cfg.chan, in mwifiex_cfg80211_cancel_remain_on_channel()
362 memset(&priv->roc_cfg, 0, sizeof(struct mwifiex_roc_cfg)); in mwifiex_cfg80211_cancel_remain_on_channel()
4341 priv->roc_cfg.cookie = get_random_u32() | 1; in mwifiex_cfg80211_authenticate()
4342 priv->roc_cfg.chan = *req->bss->channel; in mwifiex_cfg80211_authenticate()
[all …]
H A Dutil.c510 cfg80211_rx_mgmt(&priv->wdev, priv->roc_cfg.chan.center_freq, in mwifiex_process_mgmt_packet()
H A Dfw.h2417 struct host_cmd_ds_remain_on_chan roc_cfg; member