Searched refs:presp (Results 1 – 6 of 6) sorted by relevance
52 struct beacon_data *presp; in ieee80211_ibss_build_presp() local70 presp = kzalloc(sizeof(*presp) + frame_len, GFP_KERNEL); in ieee80211_ibss_build_presp()71 if (!presp) in ieee80211_ibss_build_presp()74 presp->head = (void *)(presp + 1); in ieee80211_ibss_build_presp()76 mgmt = (void *) presp->head; in ieee80211_ibss_build_presp()148 presp->cntdwn_counter_offsets[0] = (pos - presp->head); in ieee80211_ibss_build_presp()150 presp->cntdwn_current_counter = csa_settings->count; in ieee80211_ibss_build_presp()208 presp->head_len = pos - presp->head; in ieee80211_ibss_build_presp()209 if (WARN_ON(presp->head_len > frame_len)) in ieee80211_ibss_build_presp()212 return presp; in ieee80211_ibss_build_presp()[all …]
1247 struct sk_buff *presp; in ieee80211_mesh_rx_probe_req() local1283 presp = dev_alloc_skb(local->tx_headroom + in ieee80211_mesh_rx_probe_req()1285 if (!presp) in ieee80211_mesh_rx_probe_req()1288 skb_reserve(presp, local->tx_headroom); in ieee80211_mesh_rx_probe_req()1289 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()1290 skb_put_data(presp, bcn->tail, bcn->tail_len); in ieee80211_mesh_rx_probe_req()1291 hdr = (struct ieee80211_mgmt *) presp->data; in ieee80211_mesh_rx_probe_req()1295 IEEE80211_SKB_CB(presp)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; in ieee80211_mesh_rx_probe_req()1296 ieee80211_tx_skb(sdata, presp); in ieee80211_mesh_rx_probe_req()
4942 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_beacon_update_cntdwn()4967 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_beacon_set_cntdwn()5003 beacon = rcu_dereference(ifibss->presp); in ieee80211_beacon_cntdwn_is_complete()5239 beacon = rcu_dereference(ifibss->presp); in __ieee80211_beacon_get()5366 struct probe_resp *presp = NULL; in ieee80211_proberesp_get() local5374 presp = rcu_dereference(sdata->deflink.u.ap.probe_resp); in ieee80211_proberesp_get()5375 if (!presp) in ieee80211_proberesp_get()5378 skb = dev_alloc_skb(presp->len); in ieee80211_proberesp_get()5382 skb_put_data(skb, presp->data, presp->len); in ieee80211_proberesp_get()
930 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_mgmt_tx()
580 struct beacon_data __rcu *presp; member
5606 struct cfg80211_unsol_bcast_probe_resp *presp = in nl80211_parse_unsol_bcast_probe_resp() local5622 presp->tmpl = nla_data(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()5623 presp->tmpl_len = nla_len(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()5624 presp->interval = nla_get_u32(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT]); in nl80211_parse_unsol_bcast_probe_resp()