/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 53 struct vic_provinfo_tlv *tlv; local 62 tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv + 65 tlv->type = htons(type); 66 tlv->length = htons(length); 67 memcpy(tlv->value, value, length);
|
H A D | vnic_vic.h | 62 } tlv[0]; member in struct:vic_provinfo
|
/drivers/net/wireless/mwifiex/ |
H A D | sta_cmdresp.c | 282 u16 tlv, tlv_buf_len; local 292 tlv = (*tlv_buf); 293 tlv = tlv | (*(tlv_buf + 1) << 8); 295 switch (tlv) { 310 /* Add RATE_DROP tlv here */
|
H A D | cmdevt.c | 1159 u8 *tlv; local 1178 tlv = (u8 *) cmd + cmd_size; 1182 (struct mwifiex_ie_types_ps_param *) tlv; 1188 tlv += sizeof(*ps_tlv); 1208 (struct mwifiex_ie_types_auto_ds_param *) tlv; 1217 tlv += sizeof(*auto_ds_tlv);
|
H A D | scan.c | 634 * The tlv buffer length is set to the number of bytes 635 * of the between the channel tlv pointer and the start 636 * of the tlv buffer. This compensates for any TLVs 642 /* Add the size of the channel tlv header and the data 648 /* Increment the index to the channel tlv we are 763 /* Running tlv pointer. Assigned to chan_list_out at end of function 872 add tlv */ 889 /* Append rates tlv */ 920 * Set the output for the channel TLV to the address in the tlv buffer 1002 struct mwifiex_ie_types_data *tlv, 1001 mwifiex_ret_802_11_scan_get_tlv_ptrs(struct mwifiex_adapter *adapter, struct mwifiex_ie_types_data *tlv, u32 tlv_buf_size, u32 req_tlv_type, struct mwifiex_ie_types_data **tlv_data) argument [all...] |
/drivers/net/wimax/i2400m/ |
H A D | control.c | 124 ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, argument 127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ 130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { 131 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); 132 printk(KERN_WARNING "W: tlv type 0x%x mismatched because of " 188 dev_err(dev, "HW BUG? tlv_buf %p [%zu bytes], tlv @%zu: " 196 "tlv type 0x%04x @%zu: " 231 const struct i2400m_tlv_hdr *tlv local 432 i2400m_report_state_parse_tlv(struct i2400m *i2400m, const struct i2400m_tlv_hdr *tlv, const char *tag) argument 485 const struct i2400m_tlv_hdr *tlv; local 852 struct i2400m_tlv_hdr tlv; member in struct:i2400m_cmd_enter_power_save 935 const struct i2400m_tlv_hdr *tlv; local 1017 const struct i2400m_tlv_hdr *tlv; local [all...] |
/drivers/net/wireless/libertas/ |
H A D | debugfs.c | 210 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) argument 217 tlv_h = (struct mrvl_ie_header *) tlv; 224 tlv += length; 261 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); 288 struct mrvl_ie_thresholds *tlv; local 332 tlv = (void *)events->tlv; 336 tlv->header.type = cpu_to_le16(tlv_type); 337 tlv [all...] |
H A D | cfg.c | 164 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) argument 166 struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv; 189 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, argument 195 struct mrvl_ie_header *header = (void *) tlv; 212 tlv += sizeof(struct mrvl_ie_header); 216 memset(tlv, 0, chanscanparamsize); 219 struct chanscanparamset *param = (void *) tlv; 230 tlv += sizeof(struct chanscanparamset); 250 static int lbs_add_supported_rates_tlv(u8 *tlv) argument 253 struct mrvl_ie_rates_param_set *rate_tlv = (void *)tlv; 270 add_ie_rates(u8 *tlv, const u8 *ie, int *nrates) argument 295 lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss) argument 342 lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) argument 364 lbs_add_channel_tlv(u8 *tlv, u8 channel) argument 386 lbs_add_cf_param_tlv(u8 *tlv) argument 410 lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len) argument 676 u8 *tlv; /* pointer into our current, growing TLV storage area */ local [all...] |
H A D | host.h | 452 uint8_t tlv[128]; member in struct:cmd_ds_802_11_subscribe_event
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn.c | 634 struct iwl_ucode_tlv *tlv; local 678 while (len >= sizeof(*tlv)) { 681 len -= sizeof(*tlv); 682 tlv = (void *)data; 684 tlv_len = le32_to_cpu(tlv->length); 685 tlv_type = le16_to_cpu(tlv->type); 686 tlv_alt = le16_to_cpu(tlv->alternative); 687 tlv_data = tlv->data; 695 data += sizeof(*tlv) + ALIGN(tlv_len, 4);
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_cdc.c | 388 bcm_bprintf(strbuf, "wlfc fail(tlv,credit_rqst,mac_update,psmode_update), " 2042 char iovbuf[12]; /* Room for "tlv" + '\0' + parameter */ 2044 uint32 tlv = dhd->wlfc_enabled? local 2053 try to enable/disable signaling by sending "tlv" iovar. if that fails, 2058 bcm_mkiovar("tlv", (char *)&tlv, 4, iovbuf, sizeof(iovbuf)); 2060 DHD_ERROR(("dhd_wlfc_init(): failed to enable/disable bdcv2 tlv signaling\n")); 2065 the tlv situation is stable. 2067 DHD_ERROR(("dhd_wlfc_init(): successfully %s bdcv2 tlv signaling, %d\n", 2068 dhd->wlfc_enabled?"enabled":"disabled", tlv)); [all...] |