| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | sta_cfg.c | 909 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 D | uap_event.c | 388 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 D | sta_event.c | 342 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 D | cfg80211.c | 268 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 D | init.c | 125 memset(&priv->roc_cfg, 0, sizeof(priv->roc_cfg)); in nxpwifi_init_priv()
|
| H A D | sta_cmd.c | 2618 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 D | util.c | 581 cfg80211_rx_mgmt(&priv->wdev, priv->roc_cfg.chan.center_freq, in nxpwifi_process_mgmt_packet()
|
| H A D | main.h | 602 struct nxpwifi_roc_cfg roc_cfg; member
|
| H A D | fw.h | 2419 struct host_cmd_ds_remain_on_chan roc_cfg; member
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_ioctl.c | 1222 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 D | uap_event.c | 335 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 D | sta_cmdresp.c | 738 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 D | sta_event.c | 1020 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 D | cfg80211.c | 317 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 D | util.c | 510 cfg80211_rx_mgmt(&priv->wdev, priv->roc_cfg.chan.center_freq, in mwifiex_process_mgmt_packet()
|
| H A D | fw.h | 2417 struct host_cmd_ds_remain_on_chan roc_cfg; member
|