Searched refs:presp (Results 1 – 6 of 6) sorted by relevance
52 struct beacon_data *presp; in ieee80211_ibss_build_presp() local69 presp = kzalloc(sizeof(*presp) + frame_len, GFP_KERNEL); in ieee80211_ibss_build_presp()70 if (!presp) in ieee80211_ibss_build_presp()73 presp->head = (void *)(presp + 1); in ieee80211_ibss_build_presp()75 mgmt = (void *) presp->head; in ieee80211_ibss_build_presp()142 presp->cntdwn_counter_offsets[0] = (pos - presp->head); in ieee80211_ibss_build_presp()144 presp->cntdwn_current_counter = csa_settings->count; in ieee80211_ibss_build_presp()201 presp->head_len = pos - presp->head; in ieee80211_ibss_build_presp()202 if (WARN_ON(presp->head_len > frame_len)) in ieee80211_ibss_build_presp()205 return presp; in ieee80211_ibss_build_presp()[all …]
1404 struct sk_buff *presp; in ieee80211_mesh_rx_probe_req() local1443 presp = dev_alloc_skb(local->tx_headroom + in ieee80211_mesh_rx_probe_req()1445 if (!presp) in ieee80211_mesh_rx_probe_req()1448 skb_reserve(presp, local->tx_headroom); in ieee80211_mesh_rx_probe_req()1449 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()1450 skb_put_data(presp, bcn->tail, bcn->tail_len); in ieee80211_mesh_rx_probe_req()1451 hdr = (struct ieee80211_mgmt *) presp->data; in ieee80211_mesh_rx_probe_req()1455 IEEE80211_SKB_CB(presp)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; in ieee80211_mesh_rx_probe_req()1456 ieee80211_tx_skb(sdata, presp); in ieee80211_mesh_rx_probe_req()
5176 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_beacon_update_cntdwn()5201 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_beacon_set_cntdwn()5247 beacon = rcu_dereference(ifibss->presp); in ieee80211_beacon_cntdwn_is_complete()5647 beacon = rcu_dereference(ifibss->presp); in __ieee80211_beacon_get()5814 struct probe_resp *presp = NULL; in ieee80211_proberesp_get() local5822 presp = rcu_dereference(sdata->deflink.u.ap.probe_resp); in ieee80211_proberesp_get()5823 if (!presp) in ieee80211_proberesp_get()5826 skb = dev_alloc_skb(presp->len); in ieee80211_proberesp_get()5830 skb_put_data(skb, presp->data, presp->len); in ieee80211_proberesp_get()
993 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_mgmt_tx()
665 struct beacon_data __rcu *presp; member
6387 struct cfg80211_unsol_bcast_probe_resp *presp) in nl80211_parse_unsol_bcast_probe_resp() argument6403 presp->update = true; in nl80211_parse_unsol_bcast_probe_resp()6411 presp->tmpl = nla_data(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()6412 presp->tmpl_len = nla_len(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()6413 presp->interval = nla_get_u32(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT]); in nl80211_parse_unsol_bcast_probe_resp()6414 presp->update = true; in nl80211_parse_unsol_bcast_probe_resp()