/Linux-v5.4/drivers/staging/uwb/ |
D | ie.c | 18 * uwb_ie_next - get the next IE in a buffer 19 * @ptr: start of the buffer containing the IE data 23 * will get the next IE. 62 const struct uwb_ie_hdr *ie; in uwb_ie_dump_hex() local 68 ie = uwb_ie_next(&ptr, &len); in uwb_ie_dump_hex() 69 if (!ie) in uwb_ie_dump_hex() 73 (unsigned)ie->element_id, in uwb_ie_dump_hex() 74 (unsigned)ie->length); in uwb_ie_dump_hex() 75 d = (uint8_t *)ie + sizeof(struct uwb_ie_hdr); in uwb_ie_dump_hex() 119 dev_err(dev, "not enough data returned for decoding GET IE " in uwb_rc_get_ie() [all …]
|
D | lc-rc.c | 119 struct uwb_ie_hdr *ie; in ASIE_show() local 131 ie = uwb_ie_next(&ptr, &len); in ASIE_show() 132 if (!ie) in ASIE_show() 134 if (ie->element_id == UWB_APP_SPEC_IE) { in ASIE_show() 135 result = uwb_ie_dump_hex(ie, in ASIE_show() 136 ie->length + sizeof(struct uwb_ie_hdr), in ASIE_show() 158 struct uwb_ie_hdr *ie; in ASIE_store() local 180 /* validate IE length and type. */ in ASIE_store() 186 ie = (struct uwb_ie_hdr *)ie_buf; in ASIE_store() 187 if (ie->element_id != UWB_APP_SPEC_IE) { in ASIE_store() [all …]
|
D | ie-rcv.c | 4 * IE Received notification handling. 16 * Process an incoming IE Received notification. 26 dev_err(dev, "IE Received notification: Not enough data to " in uwbd_evt_handle_rc_ie_rcv() 33 dev_dbg(dev, "IE received, element ID=%d\n", iercv->IEData[0]); in uwbd_evt_handle_rc_ie_rcv() 36 dev_warn(dev, "unhandled Relinquish Request IE\n"); in uwbd_evt_handle_rc_ie_rcv()
|
D | drp.c | 24 * target, it shall also set the Reason Code in its DRP IE to 32 * Reason Code in its DRP IE to Conflict. 41 * Reason Code in its DRP IE to Conflict. 55 dev_err(&rc->uwb_dev.dev, "SET-DRP-IE failed: %s (%d)\n", in uwb_rc_set_drp_cmd_done() 58 dev_err(&rc->uwb_dev.dev, "SET-DRP-IE: timeout\n"); in uwb_rc_set_drp_cmd_done() 71 * Construct and send the SET DRP IE 82 * A DRP Availability IE is appended. 112 num_bytes += sizeof(rc->drp_avail.ie); in uwb_rc_send_all_drp_ie() 121 /* FIXME: DRV avail IE is not always needed */ in uwb_rc_send_all_drp_ie() 122 /* put DRP avail IE first */ in uwb_rc_send_all_drp_ie() [all …]
|
D | drp-ie.c | 3 * UWB DRP IE management. 17 * Return the reason code for a reservations's DRP IE. 45 * Return the reason code for a reservations's companion DRP IE . 61 * Return the status bit for a reservations's DRP IE. 90 * Return the status bit for a reservations's companion DRP IE . 106 * Allocate a DRP IE. 108 * To save having to free/allocate a DRP IE when its MAS changes, 126 * Fill a DRP IE's allocation fields from a MAS bitmap. 175 * uwb_drp_ie_update - update a reservation's DRP IE 271 * allocation fields in the DRP IE [all …]
|
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
D | ie.c | 2 * Marvell Wireless LAN device driver: management IE handling- setting and 3 * deleting IE. 23 /* This function checks if current IE index is used by any on other interface. 24 * Return: -1: yes, current IE index is used by someone else. 25 * 0: no, current IE index is NOT used by other interface. 32 struct mwifiex_ie *ie; in mwifiex_ie_index_used_by_other_intf() local 36 ie = &adapter->priv[i]->mgmt_ie[idx]; in mwifiex_ie_index_used_by_other_intf() 37 if (ie->mgmt_subtype_mask && ie->ie_length) in mwifiex_ie_index_used_by_other_intf() 45 /* Get unused IE index. This index will be used for setting new IE */ 48 struct mwifiex_ie *ie, u16 *index) in mwifiex_ie_get_autoidx() argument [all …]
|
D | sta_ioctl.c | 185 * exist VHT_CAP IE in AP beacon in mwifiex_fill_new_bss_desc() 771 * IOCTL request handler to set/reset WPA IE. 773 * The supplied WPA IE is treated as a opaque buffer. Only the first field 775 * WPA IE is reset. 783 "failed to copy WPA IE, too big\n"); in mwifiex_set_wpa_ie() 789 "cmd: Set Wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie() 804 "info: reset wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie() 814 * IOCTL request handler to set/reset WAPI IE. 816 * The supplied WAPI IE is treated as a opaque buffer. Only the first field 818 * WAPI IE is reset. [all …]
|
/Linux-v5.4/drivers/staging/uwb/include/ |
D | spec.h | 288 /** Dynamic Reservation Protocol IE (MBOA MAC[7.8.6]) */ 296 static inline int uwb_ie_drp_type(struct uwb_ie_drp *ie) in uwb_ie_drp_type() argument 298 return (le16_to_cpu(ie->drp_control) >> 0) & 0x7; in uwb_ie_drp_type() 301 static inline int uwb_ie_drp_stream_index(struct uwb_ie_drp *ie) in uwb_ie_drp_stream_index() argument 303 return (le16_to_cpu(ie->drp_control) >> 3) & 0x7; in uwb_ie_drp_stream_index() 306 static inline int uwb_ie_drp_reason_code(struct uwb_ie_drp *ie) in uwb_ie_drp_reason_code() argument 308 return (le16_to_cpu(ie->drp_control) >> 6) & 0x7; in uwb_ie_drp_reason_code() 311 static inline int uwb_ie_drp_status(struct uwb_ie_drp *ie) in uwb_ie_drp_status() argument 313 return (le16_to_cpu(ie->drp_control) >> 9) & 0x1; in uwb_ie_drp_status() 316 static inline int uwb_ie_drp_owner(struct uwb_ie_drp *ie) in uwb_ie_drp_owner() argument [all …]
|
/Linux-v5.4/fs/ntfs/ |
D | index.c | 115 INDEX_ENTRY *ie; in ntfs_index_lookup() local 165 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_index_lookup() 171 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup() 173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup() 175 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup() 181 if (ie->flags & INDEX_ENTRY_END) in ntfs_index_lookup() 185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup() 186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup() 187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup() 188 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup() [all …]
|
D | dir.c | 73 INDEX_ENTRY *ie; in ntfs_lookup_inode_by_name() local 116 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_lookup_inode_by_name() 122 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name() 124 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + in ntfs_lookup_inode_by_name() 126 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name() 133 if (ie->flags & INDEX_ENTRY_END) in ntfs_lookup_inode_by_name() 143 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() 144 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name() 157 if (ie->key.file_name.file_name_type == FILE_NAME_DOS) { in ntfs_lookup_inode_by_name() 167 ie->data.dir.indexed_file); in ntfs_lookup_inode_by_name() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 68 * 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-v5.4/drivers/staging/rtl8712/ |
D | ieee80211.c | 39 * for adhoc-master to generate ie and provide supported-rate to fw 164 u8 *ie = dev_network->IEs; in r8712_generate_ie() local 169 ie += sz; in r8712_generate_ie() 171 *(__le16 *)ie = cpu_to_le16(beaconPeriod); in r8712_generate_ie() 173 ie += 2; in r8712_generate_ie() 175 *(u16 *)ie = 0; in r8712_generate_ie() 176 *(__le16 *)ie |= cpu_to_le16(cap_IBSS); in r8712_generate_ie() 178 *(__le16 *)ie |= cpu_to_le16(cap_ShortPremble); in r8712_generate_ie() 180 *(__le16 *)ie |= cpu_to_le16(cap_Privacy); in r8712_generate_ie() 182 ie += 2; in r8712_generate_ie() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 716 u8 *pos, *end, *ie; in rtl_p2p_noa_ie() local 724 ie = NULL; in rtl_p2p_noa_ie() 732 ie = pos + 2+4; in rtl_p2p_noa_ie() 739 if (ie == NULL) in rtl_p2p_noa_ie() 742 /*to find noa ie*/ in rtl_p2p_noa_ie() 743 while (ie + 1 < end) { in rtl_p2p_noa_ie() 744 noa_len = READEF2BYTE((__le16 *)&ie[1]); in rtl_p2p_noa_ie() 745 if (ie + 3 + ie[1] > end) in rtl_p2p_noa_ie() 748 if (ie[0] == 12) { in rtl_p2p_noa_ie() 761 noa_index = ie[3]; in rtl_p2p_noa_ie() [all …]
|
/Linux-v5.4/net/wireless/ |
D | wext-sme.c | 31 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 …]
|
D | scan.c | 232 static size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument 242 * mark an ie after it is processed. in cfg80211_gen_new_ie() 262 /* go through IEs in ie (skip SSID) and subelement, in cfg80211_gen_new_ie() 265 tmp_old = cfg80211_find_ie(WLAN_EID_SSID, ie, ielen); in cfg80211_gen_new_ie() 266 tmp_old = (tmp_old) ? tmp_old + tmp_old[1] + 2 : ie; in cfg80211_gen_new_ie() 268 while (tmp_old + tmp_old[1] + 2 - ie <= ielen) { in cfg80211_gen_new_ie() 284 /* ie in old ie but not in subelement */ in cfg80211_gen_new_ie() 291 /* ie in transmitting ie also in subelement, in cfg80211_gen_new_ie() 292 * copy from subelement and flag the ie in subelement in cfg80211_gen_new_ie() 295 * For vendor ie, compare OUI + type + subType to in cfg80211_gen_new_ie() [all …]
|
D | reg.h | 91 * regulatory_hint_country_ie - hints a country IE as a regulatory domain 94 * @band: the band on which the country IE was received on. This determines 95 * the band we'll process the country IE channel triplets for. 96 * @country_ie: pointer to the country IE 97 * @country_ie_len: length of the country IE 100 * for the alpha2 this country IE belongs to, this prevents APs from 103 * The AP is expected to provide Country IE channel triplets for the 105 * country IE triplets even for channels outside of the band they are 125 * prior to our first connect attempt. This includes ignoring country IE and
|
/Linux-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 35 /* for adhoc-master to generate ie and provide supported-rate to fw */ 172 * rtw_get_ie_ex - Search specific IE from a series of IEs 178 …* @ie: If not NULL and the specific IE is found, the IE will be copied to the buf starting from th… 179 * @ielen: If not NULL and the specific IE is found, will set to the length of the entire IE 181 * Returns: The address of the specific IE found, or NULL 183 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 201 if (ie) in rtw_get_ie_ex() 202 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 305 u8 *ie = pdev_network->IEs; in rtw_generate_ie() local 309 ie += sz; in rtw_generate_ie() [all …]
|
/Linux-v5.4/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 39 /* for adhoc-master to generate ie and provide supported-rate to fw */ 211 u8 *ie = pdev_network->ies; in rtw_generate_ie() local 215 ie += sz; in rtw_generate_ie() 218 *(__le16 *)ie = cpu_to_le16((u16)pdev_network->Configuration.BeaconPeriod);/* BCN_INTERVAL; */ in rtw_generate_ie() 220 ie += 2; in rtw_generate_ie() 223 *(u16 *)ie = 0; in rtw_generate_ie() 225 *(__le16 *)ie |= cpu_to_le16(cap_IBSS); in rtw_generate_ie() 228 *(__le16 *)ie |= cpu_to_le16(cap_ShortPremble); in rtw_generate_ie() 231 *(__le16 *)ie |= cpu_to_le16(cap_Privacy); in rtw_generate_ie() 234 ie += 2; in rtw_generate_ie() [all …]
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | mesh.c | 91 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 …]
|
D | cfg.c | 271 add_ie_rates(u8 *tlv, const u8 *ie, int *nrates) in add_ie_rates() argument 273 int hw, ap, ap_max = ie[1]; in add_ie_rates() 276 /* Advance past IE header */ in add_ie_rates() 277 ie += 2; in add_ie_rates() 279 lbs_deb_hex(LBS_DEB_ASSOC, "AP IE Rates", (u8 *) ie, ap_max); in add_ie_rates() 284 if (hw_rate == (ie[ap] & 0x7f)) { in add_ie_rates() 285 *tlv++ = ie[ap]; in add_ie_rates() 322 lbs_deb_assoc("assoc: bss had no basic rate IE\n"); in lbs_add_common_rates_tlv() 413 static int lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len) in lbs_add_wpa_tlv() argument 418 * We need just convert an IE to an TLV. IEs use u8 for the header, in lbs_add_wpa_tlv() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
D | p2p.c | 23 /* 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-v5.4/drivers/net/wireless/intersil/orinoco/ |
D | scan.c | 80 u8 *ie; in orinoco_add_hostscan_result() local 97 ie = ie_buf + len + 2; in orinoco_add_hostscan_result() 101 ie_len += symbol_build_supp_rates(ie, bss->s.rates); in orinoco_add_hostscan_result() 105 ie_len += prism_build_supp_rates(ie, bss->p.rates); in orinoco_add_hostscan_result() 140 const u8 *ie; in orinoco_add_extscan_result() local 149 ie = cfg80211_find_ie(WLAN_EID_DS_PARAMS, bss->data, ie_len); in orinoco_add_extscan_result() 150 chan = ie ? ie[2] : 0; in orinoco_add_extscan_result() 157 ie = bss->data; in orinoco_add_extscan_result() 162 beacon_interval, ie, ie_len, signal, in orinoco_add_extscan_result()
|
/Linux-v5.4/Documentation/input/ |
D | ff.rst | 194 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)
|
/Linux-v5.4/drivers/staging/wusbcore/ |
D | devconnect.c | 28 * a Connect Ack Information Element (ConnAck IE). 109 * Using the Connect-Ack list, fill out the @wusbhc Connect-Ack WUSB IE 114 * IE is not allocated, we alloc it. 246 * So we get the connect ack IE (may have been allocated already), 305 * Connect-Ack Wireless USB IE, set the MMC */ in wusbhc_devconnect_ack() 395 struct wuie_keep_alive *ie = &wusbhc->keep_alive_ie; in __wusbhc_keep_alive() local 398 old_keep_alives = ie->hdr.bLength - sizeof(ie->hdr); in __wusbhc_keep_alive() 419 ie->bDeviceAddress[keep_alives++] = wusb_dev->addr; in __wusbhc_keep_alive() 423 ie->bDeviceAddress[keep_alives++] = 0x7f; in __wusbhc_keep_alive() 424 ie->hdr.bLength = sizeof(ie->hdr) + in __wusbhc_keep_alive() [all …]
|
/Linux-v5.4/drivers/staging/wusbcore/include/ |
D | wusb.h | 44 * IE Header; beats me. 64 * Maximum number of array elements in a WUSB IE. 89 * WUSB IE: Host Information (WUSB1.0[7.5.2]) 101 * WUSB IE: Connect Ack (WUSB1.0[7.5.1]) 116 * WUSB IE Host Information Element, Connect Availability 128 * WUSB IE: Channel Stop (WUSB1.0[7.5.8]) 139 * WUSB IE: Keepalive (WUSB1.0[7.5.9]) 149 * WUSB IE: Reset device (WUSB1.0[7.5.11]) 163 * WUSB IE: Disconnect device (WUSB1.0[7.5.11]) 175 * WUSB IE: Host disconnect ([WUSB] section 7.5.5)
|