Home
last modified time | relevance | path

Searched refs:ie (Results 1 – 24 of 24) sorted by relevance

/net/wireless/
Dwext-sme.c31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect()
215 const u8 *ie; in cfg80211_mgd_wext_giwessid() local
218 ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in cfg80211_mgd_wext_giwessid()
220 if (ie) { in cfg80211_mgd_wext_giwessid()
222 data->length = ie[1]; in cfg80211_mgd_wext_giwessid()
226 memcpy(ssid, ie + 2, data->length); in cfg80211_mgd_wext_giwessid()
318 u8 *ie = extra; in cfg80211_wext_siwgenie() local
325 ie = NULL; in cfg80211_wext_siwgenie()
332 memcmp(wdev->wext.ie, ie, ie_len) == 0) in cfg80211_wext_siwgenie()
336 ie = kmemdup(extra, ie_len, GFP_KERNEL); in cfg80211_wext_siwgenie()
[all …]
Dscan.c227 const u8 *ie, size_t ie_len, in cfg80211_copy_elem_with_frags() argument
230 if (WARN_ON((u8 *)elem < ie || elem->data > ie + ie_len || in cfg80211_copy_elem_with_frags()
231 elem->data + elem->datalen > ie + ie_len)) in cfg80211_copy_elem_with_frags()
244 ie_len = ie + ie_len - elem->data - elem->datalen; in cfg80211_copy_elem_with_frags()
245 ie = (const u8 *)elem->data + elem->datalen; in cfg80211_copy_elem_with_frags()
247 for_each_element(elem, ie, ie_len) { in cfg80211_copy_elem_with_frags()
264 static size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument
282 for_each_element(parent, ie, ielen) { in cfg80211_gen_new_ie()
306 ie, ielen, in cfg80211_gen_new_ie()
315 if (cfg80211_find_elem_match(id, ie, (u8 *)parent - ie, in cfg80211_gen_new_ie()
[all …]
Dsme.c49 const u8 *ie; member
59 kfree(wdev->conn->ie); in cfg80211_sme_free()
187 req.ie = params->ie; in cfg80211_conn_do_work()
555 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
556 &wdev->conn->ie, in cfg80211_sme_connect()
562 wdev->conn->params.ie = wdev->conn->ie; in cfg80211_sme_connect()
1087 void __cfg80211_disconnected(struct net_device *dev, const u8 *ie, in __cfg80211_disconnected() argument
1114 nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap); in __cfg80211_disconnected()
1150 const u8 *ie, size_t ie_len, in cfg80211_disconnected() argument
1163 ev->dc.ie = ((u8 *)ev) + sizeof(*ev); in cfg80211_disconnected()
[all …]
Dmlme.c227 const u8 *ie, int ie_len, in cfg80211_mlme_auth() argument
233 .ie = ie, in cfg80211_mlme_auth()
339 const u8 *ie, int ie_len, u16 reason, in cfg80211_mlme_deauth() argument
346 .ie = ie, in cfg80211_mlme_deauth()
368 const u8 *ie, int ie_len, u16 reason, in cfg80211_mlme_disassoc() argument
375 .ie = ie, in cfg80211_mlme_disassoc()
Dcore.h258 const u8 *ie; member
368 const u8 *ie, int ie_len,
379 const u8 *ie, int ie_len, u16 reason,
383 const u8 *ie, int ie_len, u16 reason,
411 void __cfg80211_disconnected(struct net_device *dev, const u8 *ie,
Dnl80211.h95 const u8 *ie, size_t ie_len, bool from_ap);
Dtrace.h2153 __dynamic_array(u8, ie, ftie->ie_len)
2159 memcpy(__get_dynamic_array(ie), ftie->ie, ftie->ie_len);
3157 __dynamic_array(u8, ie, request ? request->ie_len : 0)
3168 memcpy(__get_dynamic_array(ie), request->ie,
3447 __dynamic_array(u8, ie, owe_info->ie_len)),
3452 memcpy(__get_dynamic_array(ie),
3453 owe_info->ie, owe_info->ie_len);),
3466 __dynamic_array(u8, ie, owe_info->ie_len)),
3470 memcpy(__get_dynamic_array(ie), owe_info->ie,
Dmesh.c89 .ie = NULL,
Dnl80211.c7106 setup->ie = nla_data(ieattr); in nl80211_parse_mesh_setup()
7793 request->ie = (void *)(request->ssids + n_ssids); in nl80211_trigger_scan()
7795 request->ie = (void *)(request->channels + n_channels); in nl80211_trigger_scan()
7882 memcpy((void *)request->ie, in nl80211_trigger_scan()
8245 request->ie = (void *)(request->ssids + n_ssids); in nl80211_parse_sched_scan()
8247 request->ie = (void *)(request->channels + n_channels); in nl80211_parse_sched_scan()
8251 if (request->ie) in nl80211_parse_sched_scan()
8252 request->match_sets = (void *)(request->ie + ie_len); in nl80211_parse_sched_scan()
8265 else if (request->ie) in nl80211_parse_sched_scan()
8266 request->scan_plans = (void *)(request->ie + ie_len); in nl80211_parse_sched_scan()
[all …]
Dcore.c1176 kfree(wdev->wext.ie); in __cfg80211_leave()
1177 wdev->wext.ie = NULL; in __cfg80211_leave()
Dutil.c942 ev->dc.ie, ev->dc.ie_len, in cfg80211_process_wdev_events()
/net/mac80211/
Dmesh.c60 struct ieee802_11_elems *ie) in mesh_matches_local() argument
77 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local()
78 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local()
79 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local()
80 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local()
81 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local()
82 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local()
83 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local()
90 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local()
98 ieee80211_chandef_ht_oper(ie->ht_operation, &sta_chan_def); in mesh_matches_local()
[all …]
Dscan.c372 (u8 *)local->hw_scan_req->req.ie, in ieee80211_prep_hw_scan()
375 req->ie, req->ie_len, in ieee80211_prep_hw_scan()
598 const u8 *ie, size_t ie_len, in ieee80211_send_scan_probe_req() argument
607 ie, ie_len, flags); in ieee80211_send_scan_probe_req()
651 scan_req->ie, scan_req->ie_len, in ieee80211_scan_state_send_probe()
717 local->hw_scan_req->req.ie = ies; in __ieee80211_start_scan()
1267 u8 *ie; in __ieee80211_request_sched_scan_start() local
1288 ie = kcalloc(iebufsz, num_bands, GFP_KERNEL); in __ieee80211_request_sched_scan_start()
1289 if (!ie) { in __ieee80211_request_sched_scan_start()
1296 ieee80211_build_preq_ies(sdata, ie, num_bands * iebufsz, in __ieee80211_request_sched_scan_start()
[all …]
Dutil.c903 const u8 *ie; in _ieee802_11_parse_elems_crc() local
1162 ie = cfg80211_find_ie(WLAN_EID_WIDE_BW_CHANNEL_SWITCH, in _ieee802_11_parse_elems_crc()
1164 if (ie) { in _ieee802_11_parse_elems_crc()
1165 if (ie[1] == sizeof(*elems->wide_bw_chansw_ie)) in _ieee802_11_parse_elems_crc()
1167 (void *)(ie + 2); in _ieee802_11_parse_elems_crc()
1653 const u8 *ie, size_t ie_len, in ieee80211_build_preq_ies_band() argument
1703 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
1709 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
1715 memcpy(pos, ie + *offset, noffset - *offset); in ieee80211_build_preq_ies_band()
1743 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
[all …]
Dmesh.h183 struct ieee802_11_elems *ie);
269 u8 *hw_addr, struct ieee802_11_elems *ie,
271 bool mesh_peer_accepts_plinks(struct ieee802_11_elems *ie);
Dmesh_sync.c40 static bool mesh_peer_tbtt_adjusting(struct ieee802_11_elems *ie) in mesh_peer_tbtt_adjusting() argument
42 return (ie->mesh_config->meshconf_cap & in mesh_peer_tbtt_adjusting()
Dmlme.c825 assoc_data->ie, in ieee80211_send_assoc()
863 noffset = ieee80211_ie_split_ric(assoc_data->ie, in ieee80211_send_assoc()
870 skb_put_data(skb, assoc_data->ie + offset, noffset - offset); in ieee80211_send_assoc()
898 noffset = ieee80211_ie_split(assoc_data->ie, assoc_data->ie_len, in ieee80211_send_assoc()
901 skb_put_data(skb, assoc_data->ie + offset, noffset - offset); in ieee80211_send_assoc()
924 noffset = ieee80211_ie_split(assoc_data->ie, assoc_data->ie_len, in ieee80211_send_assoc()
928 memcpy(pos, assoc_data->ie + offset, noffset - offset); in ieee80211_send_assoc()
950 noffset = ieee80211_ie_split_vendor(assoc_data->ie, in ieee80211_send_assoc()
953 skb_put_data(skb, assoc_data->ie + offset, noffset - offset); in ieee80211_send_assoc()
972 skb_put_data(skb, assoc_data->ie + offset, noffset - offset); in ieee80211_send_assoc()
[all …]
Dibss.c171 memcpy(pos, ifibss->ie, ifibss->ie_len); in ieee80211_ibss_build_presp()
1821 if (params->ie) { in ieee80211_ibss_join()
1822 sdata->u.ibss.ie = kmemdup(params->ie, params->ie_len, in ieee80211_ibss_join()
1824 if (sdata->u.ibss.ie) in ieee80211_ibss_join()
1874 kfree(sdata->u.ibss.ie); in ieee80211_ibss_leave()
1875 sdata->u.ibss.ie = NULL; in ieee80211_ibss_leave()
Dieee80211_i.h400 u8 ie[]; member
571 u8 *ie; member
699 const u8 *ie; member
2128 const u8 *ie, size_t ie_len,
2137 const u8 *ie, size_t ie_len,
Dcfg.c1958 new_ie = kmemdup(setup->ie, setup->ie_len, in copy_mesh_setup()
1964 ifmsh->ie = new_ie; in copy_mesh_setup()
2142 kfree(sdata->u.mesh.ie); in ieee80211_leave_mesh()
/net/bluetooth/
Dhci_core.c1136 struct inquiry_entry *ie) in hci_inquiry_cache_update_resolve() argument
1142 list_del(&ie->list); in hci_inquiry_cache_update_resolve()
1146 abs(p->data.rssi) >= abs(ie->data.rssi)) in hci_inquiry_cache_update_resolve()
1151 list_add(&ie->list, pos); in hci_inquiry_cache_update_resolve()
1158 struct inquiry_entry *ie; in hci_inquiry_cache_update() local
1168 ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr); in hci_inquiry_cache_update()
1169 if (ie) { in hci_inquiry_cache_update()
1170 if (!ie->data.ssp_mode) in hci_inquiry_cache_update()
1173 if (ie->name_state == NAME_NEEDED && in hci_inquiry_cache_update()
1174 data->rssi != ie->data.rssi) { in hci_inquiry_cache_update()
[all …]
Dhci_conn.c189 struct inquiry_entry *ie; in hci_acl_create_connection() local
206 ie = hci_inquiry_cache_lookup(hdev, &conn->dst); in hci_acl_create_connection()
207 if (ie) { in hci_acl_create_connection()
208 if (inquiry_entry_age(ie) <= INQUIRY_ENTRY_AGE_MAX) { in hci_acl_create_connection()
209 cp.pscan_rep_mode = ie->data.pscan_rep_mode; in hci_acl_create_connection()
210 cp.pscan_mode = ie->data.pscan_mode; in hci_acl_create_connection()
211 cp.clock_offset = ie->data.clock_offset | in hci_acl_create_connection()
215 memcpy(conn->dev_class, ie->data.dev_class, 3); in hci_acl_create_connection()
216 if (ie->data.ssp_mode > 0) in hci_acl_create_connection()
Dhci_event.c2618 struct inquiry_entry *ie; in hci_conn_request_evt() local
2665 ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); in hci_conn_request_evt()
2666 if (ie) in hci_conn_request_evt()
2667 memcpy(ie->data.dev_class, ev->dev_class, 3); in hci_conn_request_evt()
4031 struct inquiry_entry *ie; in hci_clock_offset_evt() local
4033 ie = hci_inquiry_cache_lookup(hdev, &conn->dst); in hci_clock_offset_evt()
4034 if (ie) { in hci_clock_offset_evt()
4035 ie->data.clock_offset = ev->clock_offset; in hci_clock_offset_evt()
4036 ie->timestamp = jiffies; in hci_clock_offset_evt()
4062 struct inquiry_entry *ie; in hci_pscan_rep_mode_evt() local
[all …]
/net/netfilter/
DKconfig1019 only useful for dialup accounts with dynamic IP address (ie. your IP
1314 tracked by a conntrack-helper, ie. nf_conntrack_ftp
1580 relationship to a tracked connection (ie. previous packets). This