Lines Matching refs:ie_len
955 size_t magic_len, len, ie_len; in ath6kl_fetch_fw_apin() local
1000 ie_len = le32_to_cpup(&hdr->len); in ath6kl_fetch_fw_apin()
1006 ie_id, ie_len, ie_len); in ath6kl_fetch_fw_apin()
1008 if (len < ie_len) { in ath6kl_fetch_fw_apin()
1010 len, ie_len, ie_id); in ath6kl_fetch_fw_apin()
1018 min(sizeof(ar->wiphy->fw_version), ie_len+1)); in ath6kl_fetch_fw_apin()
1026 ie_len); in ath6kl_fetch_fw_apin()
1028 ar->fw_otp = kmemdup(data, ie_len, GFP_KERNEL); in ath6kl_fetch_fw_apin()
1036 ar->fw_otp_len = ie_len; in ath6kl_fetch_fw_apin()
1040 ie_len); in ath6kl_fetch_fw_apin()
1046 ar->fw = vmalloc(ie_len); in ath6kl_fetch_fw_apin()
1049 ath6kl_err("fw storage cannot be allocated, len: %zd\n", ie_len); in ath6kl_fetch_fw_apin()
1054 memcpy(ar->fw, data, ie_len); in ath6kl_fetch_fw_apin()
1055 ar->fw_len = ie_len; in ath6kl_fetch_fw_apin()
1059 ie_len); in ath6kl_fetch_fw_apin()
1061 ar->fw_patch = kmemdup(data, ie_len, GFP_KERNEL); in ath6kl_fetch_fw_apin()
1064 ath6kl_err("fw_patch storage cannot be allocated, len: %zd\n", ie_len); in ath6kl_fetch_fw_apin()
1069 ar->fw_patch_len = ie_len; in ath6kl_fetch_fw_apin()
1082 ie_len); in ath6kl_fetch_fw_apin()
1088 if (index == ie_len) in ath6kl_fetch_fw_apin()
1100 if (ie_len != sizeof(*val)) in ath6kl_fetch_fw_apin()
1111 if (ie_len != sizeof(*val)) in ath6kl_fetch_fw_apin()
1122 if (ie_len != sizeof(*val)) in ath6kl_fetch_fw_apin()
1141 len -= ie_len; in ath6kl_fetch_fw_apin()
1142 data += ie_len; in ath6kl_fetch_fw_apin()