Lines Matching refs:cookie
155 struct cfg80211_mgmt_tx_params *params, u64 *cookie) in mwifiex_cfg80211_mgmt_tx() argument
197 *cookie = prandom_u32() | 1; in mwifiex_cfg80211_mgmt_tx()
202 MWIFIEX_BUF_FLAG_ACTION_TX_STATUS, cookie); in mwifiex_cfg80211_mgmt_tx()
204 cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, in mwifiex_cfg80211_mgmt_tx()
245 unsigned int duration, u64 *cookie) in mwifiex_cfg80211_remain_on_channel() argument
250 if (!chan || !cookie) { in mwifiex_cfg80211_remain_on_channel()
255 if (priv->roc_cfg.cookie) { in mwifiex_cfg80211_remain_on_channel()
257 priv->roc_cfg.cookie); in mwifiex_cfg80211_remain_on_channel()
265 *cookie = prandom_u32() | 1; in mwifiex_cfg80211_remain_on_channel()
266 priv->roc_cfg.cookie = *cookie; in mwifiex_cfg80211_remain_on_channel()
269 cfg80211_ready_on_channel(wdev, *cookie, chan, in mwifiex_cfg80211_remain_on_channel()
272 wiphy_dbg(wiphy, "info: ROC, cookie = 0x%llx\n", *cookie); in mwifiex_cfg80211_remain_on_channel()
283 struct wireless_dev *wdev, u64 cookie) in mwifiex_cfg80211_cancel_remain_on_channel() argument
288 if (cookie != priv->roc_cfg.cookie) in mwifiex_cfg80211_cancel_remain_on_channel()
295 cfg80211_remain_on_channel_expired(wdev, cookie, in mwifiex_cfg80211_cancel_remain_on_channel()
301 wiphy_dbg(wiphy, "info: cancel ROC, cookie = 0x%llx\n", cookie); in mwifiex_cfg80211_cancel_remain_on_channel()