Lines Matching refs:cookie
2861 struct get_key_cookie *cookie = c; in get_key_callback() local
2864 nla_put(cookie->msg, NL80211_ATTR_KEY_DATA, in get_key_callback()
2867 nla_put(cookie->msg, NL80211_ATTR_KEY_SEQ, in get_key_callback()
2870 nla_put_u32(cookie->msg, NL80211_ATTR_KEY_CIPHER, in get_key_callback()
2874 key = nla_nest_start(cookie->msg, NL80211_ATTR_KEY); in get_key_callback()
2879 nla_put(cookie->msg, NL80211_KEY_DATA, in get_key_callback()
2882 nla_put(cookie->msg, NL80211_KEY_SEQ, in get_key_callback()
2885 nla_put_u32(cookie->msg, NL80211_KEY_CIPHER, in get_key_callback()
2889 if (nla_put_u8(cookie->msg, NL80211_KEY_IDX, cookie->idx)) in get_key_callback()
2892 nla_nest_end(cookie->msg, key); in get_key_callback()
2896 cookie->error = 1; in get_key_callback()
2907 struct get_key_cookie cookie = { in nl80211_get_key() local
2948 cookie.msg = msg; in nl80211_get_key()
2949 cookie.idx = key_idx; in nl80211_get_key()
2958 err = rdev_get_key(rdev, dev, key_idx, pairwise, mac_addr, &cookie, in nl80211_get_key()
2964 if (cookie.error) in nl80211_get_key()
8195 u64 cookie; in nl80211_remain_on_channel() local
8233 duration, &cookie); in nl80211_remain_on_channel()
8238 if (nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie)) in nl80211_remain_on_channel()
8257 u64 cookie; in nl80211_cancel_remain_on_channel() local
8265 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_cancel_remain_on_channel()
8267 return rdev_cancel_remain_on_channel(rdev, wdev, cookie); in nl80211_cancel_remain_on_channel()
8546 u64 cookie; in nl80211_tx_mgmt() local
8645 err = cfg80211_mlme_mgmt_tx(rdev, wdev, ¶ms, &cookie); in nl80211_tx_mgmt()
8650 if (nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie)) in nl80211_tx_mgmt()
8670 u64 cookie; in nl80211_tx_mgmt_cancel_wait() local
8691 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_tx_mgmt_cancel_wait()
8693 return rdev_mgmt_tx_cancel_wait(rdev, wdev, cookie); in nl80211_tx_mgmt_cancel_wait()
9909 u64 cookie; in nl80211_probe_client() local
9935 err = rdev_probe_client(rdev, dev, addr, &cookie); in nl80211_probe_client()
9939 if (nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie)) in nl80211_probe_client()
12206 struct wireless_dev *wdev, u64 cookie, in nl80211_send_remain_on_chan_event() argument
12230 nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie)) in nl80211_send_remain_on_chan_event()
12248 void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie, in cfg80211_ready_on_channel() argument
12255 trace_cfg80211_ready_on_channel(wdev, cookie, chan, duration); in cfg80211_ready_on_channel()
12257 rdev, wdev, cookie, chan, in cfg80211_ready_on_channel()
12262 void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie, in cfg80211_remain_on_channel_expired() argument
12269 trace_cfg80211_ready_on_channel_expired(wdev, cookie, chan); in cfg80211_remain_on_channel_expired()
12271 rdev, wdev, cookie, chan, 0, gfp); in cfg80211_remain_on_channel_expired()
12483 void cfg80211_mgmt_tx_status(struct wireless_dev *wdev, u64 cookie, in cfg80211_mgmt_tx_status() argument
12492 trace_cfg80211_mgmt_tx_status(wdev, cookie, ack); in cfg80211_mgmt_tx_status()
12509 nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie) || in cfg80211_mgmt_tx_status()
12916 u64 cookie, bool acked, gfp_t gfp) in cfg80211_probe_status() argument
12923 trace_cfg80211_probe_status(dev, addr, cookie, acked); in cfg80211_probe_status()
12939 nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie) || in cfg80211_probe_status()