Home
last modified time | relevance | path

Searched full:ie (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/linux/drivers/net/wireless/marvell/mwifiex/
H A Die.c3 * NXP Wireless LAN device driver: management IE handling- setting and
4 * deleting IE.
11 /* This function checks if current IE index is used by any on other interface.
12 * Return: -1: yes, current IE index is used by someone else.
13 * 0: no, current IE index is NOT used by other interface.
20 struct mwifiex_ie *ie; in mwifiex_ie_index_used_by_other_intf() local
24 ie = &adapter->priv[i]->mgmt_ie[idx]; in mwifiex_ie_index_used_by_other_intf()
25 if (ie->mgmt_subtype_mask && ie->ie_length) in mwifiex_ie_index_used_by_other_intf()
33 /* Get unused IE index. This index will be used for setting new IE */
36 struct mwifiex_ie *ie, u16 *index) in mwifiex_ie_get_autoidx() argument
[all …]
H A Dsta_ioctl.c185 * exist VHT_CAP IE in AP beacon in mwifiex_fill_new_bss_desc()
835 * IOCTL request handler to set/reset WPA IE.
837 * The supplied WPA IE is treated as a opaque buffer. Only the first field
839 * WPA IE is reset.
847 "failed to copy WPA IE, too big\n"); in mwifiex_set_wpa_ie()
853 "cmd: Set Wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie()
868 "info: reset wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie()
878 * IOCTL request handler to set/reset WAPI IE.
880 * The supplied WAPI IE is treated as a opaque buffer. Only the first field
882 * WAPI IE is reset.
[all …]
H A Djoin.c20 * Append a generic IE as a pass through TLV to a TLV buffer.
24 * If the IE buffer has been setup by the application, this routine appends
40 * If there is a generic ie buffer setup, append it to the return in mwifiex_cmd_append_generic_ie()
45 "info: %s: append generic ie len %d to %p\n", in mwifiex_cmd_append_generic_ie()
48 /* Wrap the generic IE buffer with a pass through TLV type */ in mwifiex_cmd_append_generic_ie()
58 /* Copy the generic IE buffer to the output buffer, advance in mwifiex_cmd_append_generic_ie()
67 /* Reset the generic IE buffer */ in mwifiex_cmd_append_generic_ie()
219 * This function appends a WPS IE. It is called from the network join command
222 * If the IE buffer has been setup by the application, this routine appends
235 * If there is a wps ie buffer setup, append it to the return in mwifiex_cmd_append_wps_ie()
[all …]
/linux/fs/ntfs/
H A Dindex.c32 const struct index_entry *ie, in ntfs_index_entry_inconsistent() argument
35 if (ie->key_length && in ntfs_index_entry_inconsistent()
36 ((le16_to_cpu(ie->key_length) + offsetof(struct index_entry, key)) > in ntfs_index_entry_inconsistent()
37 le16_to_cpu(ie->length))) { in ntfs_index_entry_inconsistent()
45 ie->key.file_name.file_name_length * sizeof(__le16)) > in ntfs_index_entry_inconsistent()
46 le16_to_cpu(ie->length)) { in ntfs_index_entry_inconsistent()
53 if (ie->data.vi.data_length && in ntfs_index_entry_inconsistent()
54 ((le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_entry_inconsistent()
55 le16_to_cpu(ie->data.vi.data_length)) > in ntfs_index_entry_inconsistent()
56 le16_to_cpu(ie->length))) { in ntfs_index_entry_inconsistent()
[all …]
H A Ddir.c82 struct index_entry *ie; in ntfs_lookup_inode_by_name() local
123 ie = (struct index_entry *)((u8 *)&ir->index + in ntfs_lookup_inode_by_name()
129 for (;; ie = (struct index_entry *)((u8 *)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name()
131 if ((u8 *)ie < (u8 *)ctx->mrec || in ntfs_lookup_inode_by_name()
132 (u8 *)ie + sizeof(struct index_entry_header) > index_end || in ntfs_lookup_inode_by_name()
133 (u8 *)ie + sizeof(struct index_entry_header) + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name()
134 index_end || (u8 *)ie + le16_to_cpu(ie->length) > index_end) in ntfs_lookup_inode_by_name()
140 if (ie->flags & INDEX_ENTRY_END) in ntfs_lookup_inode_by_name()
143 if (!ie->key_length) in ntfs_lookup_inode_by_name()
153 (__le16 *)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326_reg.h68 * ie = 0 for ingress, 1 for egress
71 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ argument
72 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ argument
73 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ argument
74 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ argument
75 #define REG_HIGH_LOW_WM(ie,fn) CRA(0x2,ie&1,0x40+fn) /* Flow Control Water Marks */ argument
76 #define REG_CT_THRHLD(ie,fn) CRA(0x2,ie&1,0x50+fn) /* Cut Through Threshold */ argument
77 #define REG_FIFO_DROP_CNT(ie,fn) CRA(0x2,ie&1,0x60+fn) /* Drop & CRC Error Counter */ argument
78 #define REG_DEBUG_BUF_CNT(ie,fn) CRA(0x2,ie&1,0x70+fn) /* Input Side Debug Counter */ argument
83 * ie = 0 for ingress, 1 for egress
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Die.c11 /* Return true if the IE index is used by another interface. */
17 struct nxpwifi_ie *ie; in nxpwifi_ie_index_used_by_other_intf() local
21 ie = &adapter->priv[i]->mgmt_ie[idx]; in nxpwifi_ie_index_used_by_other_intf()
22 if (ie->mgmt_subtype_mask && ie->ie_length) in nxpwifi_ie_index_used_by_other_intf()
30 /* Pick an unused IE index for a new element. */
33 struct nxpwifi_ie *ie, u16 *index) in nxpwifi_ie_get_autoidx() argument
39 len = le16_to_cpu(ie->ie_length); in nxpwifi_ie_get_autoidx()
64 /* Build IE list and resolve AUTO index before sending to FW. */
71 struct nxpwifi_ie *ie; in nxpwifi_update_autoindex_ies() local
80 ie = (struct nxpwifi_ie *)(((u8 *)ie_list) + travel_len); in nxpwifi_update_autoindex_ies()
[all …]
/linux/drivers/dma/idxd/
H A Dsubmit.c75 static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in list_abort_desc() argument
80 lockdep_assert_held(&ie->list_lock); in list_abort_desc()
81 list_for_each_entry_safe(d, n, &ie->work_list, list) { in list_abort_desc()
97 static void llist_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in llist_abort_desc() argument
109 spin_lock(&ie->list_lock); in llist_abort_desc()
110 head = llist_del_all(&ie->pending_llist); in llist_abort_desc()
121 list_add_tail(&d->list, &ie->work_list); in llist_abort_desc()
126 found = list_abort_desc(wq, ie, desc); in llist_abort_desc()
127 spin_unlock(&ie->list_lock); in llist_abort_desc()
173 struct idxd_irq_entry *ie = NULL; in idxd_submit_desc() local
[all …]
H A Ddevice.c1272 static void idxd_flush_pending_descs(struct idxd_irq_entry *ie) in idxd_flush_pending_descs() argument
1279 spin_lock(&ie->list_lock); in idxd_flush_pending_descs()
1280 head = llist_del_all(&ie->pending_llist); in idxd_flush_pending_descs()
1283 list_add_tail(&desc->list, &ie->work_list); in idxd_flush_pending_descs()
1286 list_for_each_entry_safe(desc, itr, &ie->work_list, list) in idxd_flush_pending_descs()
1288 spin_unlock(&ie->list_lock); in idxd_flush_pending_descs()
1309 struct idxd_irq_entry *ie) in idxd_device_set_perm_entry() argument
1313 if (ie->pasid == IOMMU_PASID_INVALID) in idxd_device_set_perm_entry()
1317 mperm.pasid = ie->pasid; in idxd_device_set_perm_entry()
1319 iowrite32(mperm.bits, idxd->reg_base + idxd->msix_perm_offset + ie->id * 8); in idxd_device_set_perm_entry()
[all …]
H A Dirq.c71 static void idxd_int_handle_revoke_drain(struct idxd_irq_entry *ie) in idxd_int_handle_revoke_drain() argument
73 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain()
85 if (ie->pasid != IOMMU_PASID_INVALID) in idxd_int_handle_revoke_drain()
86 desc.pasid = ie->pasid; in idxd_int_handle_revoke_drain()
87 desc.int_handle = ie->int_handle; in idxd_int_handle_revoke_drain()
105 static void idxd_abort_invalid_int_handle_descs(struct idxd_irq_entry *ie) in idxd_abort_invalid_int_handle_descs() argument
111 spin_lock(&ie->list_lock); in idxd_abort_invalid_int_handle_descs()
112 head = llist_del_all(&ie->pending_llist); in idxd_abort_invalid_int_handle_descs()
115 list_add_tail(&d->list, &ie->work_list); in idxd_abort_invalid_int_handle_descs()
118 list_for_each_entry_safe(d, t, &ie->work_list, list) { in idxd_abort_invalid_int_handle_descs()
[all …]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c35 /* for adhoc-master to generate ie and provide supported-rate to fw */
165 * rtw_get_ie_ex - Search specific IE from a series of IEs
171 …* @ie: If not NULL and the specific IE is found, the IE will be copied to the buf starting from th…
172 * @ielen: If not NULL and the specific IE is found, will set to the length of the entire IE
174 * Returns: The address of the specific IE found, or NULL
176 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument
199 if (ie) in rtw_get_ie_ex()
200 memcpy(ie, &in_ie[cnt], ie_len + 2); in rtw_get_ie_ex()
296 u8 *ie = pdev_network->ies; in rtw_generate_ie() local
300 ie += sz; in rtw_generate_ie()
[all …]
/linux/include/linux/
H A Dieee80211-mesh.h95 /* HWMP IE processing macros */
119 * struct ieee80211_mesh_chansw_params_ie - mesh channel switch parameters IE
160 * enum mesh_config_capab_flags - Mesh Configuration IE capability field flags
291 static inline bool ieee80211_mesh_preq_prep_ae_enabled(const u8 *ie) in ieee80211_mesh_preq_prep_ae_enabled() argument
293 return ie[0] & AE_F; in ieee80211_mesh_preq_prep_ae_enabled()
297 ieee80211_mesh_hwmp_preq_get_bottom(const u8 *ie) in ieee80211_mesh_hwmp_preq_get_bottom() argument
299 struct ieee80211_mesh_hwmp_preq_top *top = (void *)ie; in ieee80211_mesh_hwmp_preq_get_bottom()
302 ieee80211_mesh_preq_prep_ae_enabled(ie) ? ETH_ALEN : 0]; in ieee80211_mesh_hwmp_preq_get_bottom()
306 ieee80211_mesh_hwmp_prep_get_bottom(const u8 *ie) in ieee80211_mesh_hwmp_prep_get_bottom() argument
308 struct ieee80211_mesh_hwmp_prep_top *top = (void *)ie; in ieee80211_mesh_hwmp_prep_get_bottom()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c91 struct mrvl_meshie *ie; in lbs_mesh_config() local
95 ie = (struct mrvl_meshie *)cmd.data; in lbs_mesh_config()
99 ie->id = WLAN_EID_VENDOR_SPECIFIC; in lbs_mesh_config()
100 ie->val.oui[0] = 0x00; in lbs_mesh_config()
101 ie->val.oui[1] = 0x50; in lbs_mesh_config()
102 ie->val.oui[2] = 0x43; in lbs_mesh_config()
103 ie->val.type = MARVELL_MESH_IE_TYPE; in lbs_mesh_config()
104 ie->val.subtype = MARVELL_MESH_IE_SUBTYPE; in lbs_mesh_config()
105 ie->val.version = MARVELL_MESH_IE_VERSION; in lbs_mesh_config()
106 ie->val.active_protocol_id = MARVELL_MESH_PROTO_ID_HWMP; in lbs_mesh_config()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.h58 /* IE TLV processing */
71 /* vendor IE in IW advertisement protocol ID field */
73 /* allow custom IE id */
201 * @probe_req_ie: IE info for probe request.
202 * @probe_res_ie: IE info for probe response.
203 * @beacon_ie: IE info for beacon frame.
204 * @assoc_req_ie: IE info for association request frame.
205 * @assoc_res_ie: IE info for association response frame.
206 * @probe_req_ie_len: IE info length for probe request.
207 * @probe_res_ie_len: IE info length for probe response.
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dp2p.c23 /* P2P IE */ in ath10k_p2p_noa_ie_fill()
70 static void ath10k_p2p_noa_ie_assign(struct ath10k_vif *arvif, void *ie, in ath10k_p2p_noa_ie_assign() argument
79 arvif->u.ap.noa_data = ie; in ath10k_p2p_noa_ie_assign()
87 void *ie; in __ath10k_p2p_noa_update() local
98 ie = kmalloc(len, GFP_ATOMIC); in __ath10k_p2p_noa_update()
99 if (!ie) in __ath10k_p2p_noa_update()
102 ath10k_p2p_noa_ie_fill(ie, len, noa); in __ath10k_p2p_noa_update()
103 ath10k_p2p_noa_ie_assign(arvif, ie, len); in __ath10k_p2p_noa_update()
/linux/Documentation/input/
H A Dff.rst194 struct input_event ie; /* structure used to communicate with the driver */
196 ie.type = EV_FF;
197 ie.code = FF_GAIN;
198 ie.value = 0xFFFFUL * gain / 100;
200 if (write(fd, &ie, sizeof(ie)) == -1)
213 struct input_event ie;
215 ie.type = EV_FF;
216 ie.code = FF_AUTOCENTER;
217 ie.value = 0xFFFFUL * autocenter / 100;
219 if (write(fd, &ie, sizeof(ie)) == -1)
H A Duinput.rst50 struct input_event ie;
52 ie.type = type;
53 ie.code = code;
54 ie.value = val;
56 ie.time.tv_sec = 0;
57 ie.time.tv_usec = 0;
59 write(fd, &ie, sizeof(ie));
/linux/net/wireless/
H A Dscan.c231 const u8 *ie, size_t ie_len, in cfg80211_copy_elem_with_frags() argument
234 if (WARN_ON((u8 *)elem < ie || elem->data > ie + ie_len || in cfg80211_copy_elem_with_frags()
235 elem->data + elem->datalen > ie + ie_len)) in cfg80211_copy_elem_with_frags()
248 ie_len = ie + ie_len - elem->data - elem->datalen; in cfg80211_copy_elem_with_frags()
249 ie = (const u8 *)elem->data + elem->datalen; in cfg80211_copy_elem_with_frags()
251 for_each_element(elem, ie, ie_len) { in cfg80211_copy_elem_with_frags()
269 cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument
294 for_each_element(parent, ie, ielen) { in cfg80211_gen_new_ie()
318 ie, iele in cfg80211_gen_new_ie()
950 void *ie = (void *)request + offs_ies; cfg80211_scan_6ghz() local
1803 const u8 *ie; cfg80211_combine_bsses() local
2158 cfg80211_get_ies_channel_number(const u8 * ie,size_t ielen,enum nl80211_band band) cfg80211_get_ies_channel_number() argument
2214 cfg80211_get_bss_channel(struct wiphy * wiphy,const u8 * ie,size_t ielen,struct ieee80211_channel * channel) cfg80211_get_bss_channel() argument
2272 const u8 *ie; global() member
2471 cfg80211_iter_profile_continuation(const u8 * ie,size_t ielen,const struct element ** mbssid,const struct element ** sub_elem) cfg80211_iter_profile_continuation() argument
2517 cfg80211_merge_profile(const u8 * ie,size_t ielen,const struct element * mbssid_elem,const struct element * sub_elem,u8 * merged_ie,size_t max_copy_len) cfg80211_merge_profile() argument
2748 cfg80211_defrag_mle(const struct element * mle,const u8 * ie,size_t ielen,gfp_t gfp) cfg80211_defrag_mle() argument
2890 cfg80211_rnr_info_for_mld_ap(const u8 * ie,size_t ielen,u8 mld_id,u8 link_id,const struct ieee80211_neighbor_ap_info ** ap_info,u8 * param_ch_count,bool * non_tx) cfg80211_rnr_info_for_mld_ap() argument
3280 cfg80211_inform_bss_data(struct wiphy * wiphy,struct cfg80211_inform_bss * data,enum cfg80211_bss_frame_type ftype,const u8 * bssid,u64 tsf,u16 capability,u16 beacon_interval,const u8 * ie,size_t ielen,gfp_t gfp) cfg80211_inform_bss_data() argument
3328 const u8 *ie; cfg80211_inform_bss_frame_data() local
3767 const u8 *ie; ieee80211_bss() local
[all...]
H A Dwext-sme.c31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect()
306 u8 *ie = extra; in cfg80211_wext_siwgenie() local
312 ie = NULL; in cfg80211_wext_siwgenie()
318 memcmp(wdev->wext.ie, ie, ie_len) == 0) in cfg80211_wext_siwgenie()
331 ie = kmemdup(extra, ie_len, GFP_KERNEL); in cfg80211_wext_siwgenie()
332 if (!ie) in cfg80211_wext_siwgenie()
335 ie = NULL; in cfg80211_wext_siwgenie()
338 kfree(wdev->wext.ie); in cfg80211_wext_siwgenie()
339 wdev->wext.ie = ie; in cfg80211_wext_siwgenie()
H A Dreg.h79 * regulatory_hint_country_ie - hints a country IE as a regulatory domain
82 * @band: the band on which the country IE was received on. This determines
83 * the band we'll process the country IE channel triplets for.
84 * @country_ie: pointer to the country IE
85 * @country_ie_len: length of the country IE
88 * for the alpha2 this country IE belongs to, this prevents APs from
91 * The AP is expected to provide Country IE channel triplets for the
93 * country IE triplets even for channels outside of the band they are
113 * prior to our first connect attempt. This includes ignoring country IE and
/linux/io_uring/
H A Depoll.c53 struct io_epoll *ie = io_kiocb_to_cmd(req, struct io_epoll); in io_epoll_ctl() local
58 CLASS(fd, f)(ie->epfd); in io_epoll_ctl()
62 CLASS(fd, tf)(ie->fd); in io_epoll_ctl()
67 key.fd = ie->fd; in io_epoll_ctl()
68 ret = do_epoll_ctl_file(fd_file(f), ie->op, &key, &ie->event, force_nonblock); in io_epoll_ctl()
/linux/net/mac80211/
H A Dmesh.c55 * @ie: information elements of a management frame from the mesh peer
63 struct ieee802_11_elems *ie) in mesh_matches_local() argument
81 if (!ie->mesh_config) in mesh_matches_local()
84 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local()
85 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local()
86 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local()
87 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local()
88 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local()
89 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local()
90 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-utils.h42 const u8 *ie; in iwl_find_ie_offset() local
49 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_find_ie_offset()
50 if (!ie) in iwl_find_ie_offset()
53 return ie - beacon; in iwl_find_ie_offset()
/linux/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_callbacks_demo2.c30 /* Executed on object patching (ie, patch enablement) */
37 /* Executed on object unpatching (ie, patch disablement) */
43 /* Executed on object unpatching (ie, patch disablement) */
49 /* Executed on object unpatching (ie, patch disablement) */
H A Dtest_klp_callbacks_demo.c30 /* Executed on object patching (ie, patch enablement) */
37 /* Executed on object unpatching (ie, patch disablement) */
43 /* Executed on object unpatching (ie, patch disablement) */
49 /* Executed on object unpatching (ie, patch disablement) */

12345678910>>...33