Lines Matching refs:tlv

305 	u8 *tlv = *tlv_buf;
307 tlv_akmp = (struct host_cmd_tlv_akmp *)tlv;
314 tlv += sizeof(struct host_cmd_tlv_akmp);
317 pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv;
325 tlv += sizeof(struct host_cmd_tlv_pwk_cipher);
329 pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv;
337 tlv += sizeof(struct host_cmd_tlv_pwk_cipher);
341 gwk_cipher = (struct host_cmd_tlv_gwk_cipher *)tlv;
348 tlv += sizeof(struct host_cmd_tlv_gwk_cipher);
352 passphrase = (struct host_cmd_tlv_passphrase *)tlv;
360 tlv += sizeof(struct mwifiex_ie_types_header) +
365 *tlv_buf = tlv;
414 u8 *tlv = *tlv_buf;
421 wep_key = (struct host_cmd_tlv_wep_key *)tlv;
432 tlv += sizeof(struct mwifiex_ie_types_header) + 2 +
438 *tlv_buf = tlv;
469 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size)
491 mac_tlv = (struct host_cmd_tlv_mac_addr *)tlv;
496 tlv += sizeof(struct host_cmd_tlv_mac_addr);
499 ssid = (struct host_cmd_tlv_ssid *)tlv;
505 tlv += sizeof(struct mwifiex_ie_types_header) +
508 bcast_ssid = (struct host_cmd_tlv_bcast_ssid *)tlv;
514 tlv += sizeof(struct host_cmd_tlv_bcast_ssid);
517 tlv_rates = (struct host_cmd_tlv_rates *)tlv;
526 tlv += sizeof(struct host_cmd_tlv_rates) + i;
533 chan_band = (struct host_cmd_tlv_channel_band *)tlv;
541 tlv += sizeof(struct host_cmd_tlv_channel_band);
545 beacon_period = (struct host_cmd_tlv_beacon_period *)tlv;
553 tlv += sizeof(struct host_cmd_tlv_beacon_period);
557 dtim_period = (struct host_cmd_tlv_dtim_period *)tlv;
565 tlv += sizeof(struct host_cmd_tlv_dtim_period);
568 rts_threshold = (struct host_cmd_tlv_rts_threshold *)tlv;
576 tlv += sizeof(struct host_cmd_tlv_frag_threshold);
580 frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv;
588 tlv += sizeof(struct host_cmd_tlv_frag_threshold);
591 retry_limit = (struct host_cmd_tlv_retry_limit *)tlv;
599 tlv += sizeof(struct host_cmd_tlv_retry_limit);
604 mwifiex_uap_bss_wpa(&tlv, cmd_buf, &cmd_size);
606 mwifiex_uap_bss_wep(&tlv, cmd_buf, &cmd_size);
610 auth_type = (struct host_cmd_tlv_auth_type *)tlv;
617 tlv += sizeof(struct host_cmd_tlv_auth_type);
620 encrypt_protocol = (struct host_cmd_tlv_encrypt_protocol *)tlv;
628 tlv += sizeof(struct host_cmd_tlv_encrypt_protocol);
632 htcap = (struct mwifiex_ie_types_htcap *)tlv;
647 tlv += sizeof(struct mwifiex_ie_types_htcap);
651 wmm_cap = (struct mwifiex_ie_types_wmmcap *)tlv;
657 tlv += sizeof(struct mwifiex_ie_types_wmmcap);
661 ao_timer = (struct host_cmd_tlv_ageout_timer *)tlv;
667 tlv += sizeof(*ao_timer);
671 pwr_ct = (void *)tlv;
676 tlv += sizeof(*pwr_ct);
680 ps_ao_timer = (struct host_cmd_tlv_ageout_timer *)tlv;
688 tlv += sizeof(*ps_ao_timer);
697 static int mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size)
700 struct mwifiex_ie_types_header *tlv_ie = (void *)tlv;
710 tlv += sizeof(struct mwifiex_ie_types_header);
712 memcpy(tlv, ap_ie->ie_list, le16_to_cpu(ap_ie->len));
724 u8 *tlv;
732 tlv = sys_cfg->tlv;
737 if (mwifiex_uap_bss_param_prepare(tlv, cmd_buf, &param_size))
743 if (mwifiex_uap_custom_ie_prepare(tlv, cmd_buf, &ie_size))