Lines Matching +full:firmware +full:- +full:initialized
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Firmware descriptor format
7 * Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.com>
20 * legacy drivers to drive the firmware.
24 /* usb registers are initialized by the firmware */
30 /* usb download (app -> fw) stream */
33 /* usb upload (fw -> app) stream */
36 /* unusable - reserved to flag non-functional debug firmwares */
45 /* Firmware has a software Content After Beacon Queueing mechanism */
48 /* The firmware is capable of responding to incoming BAR frames */
54 /* Firmware PSM support | CARL9170_CMD_PSM */
57 /* Firmware RX filter | CARL9170_CMD_RX_FILTER */
63 /* Firmware supports PSM in the 5GHZ Band */
69 /* Firmware will pass BA when BARs are queued */
72 /* Firmware has support to write a byte at a time */
91 #define CARL9170FW_SET_DAY(d) (((d) - 1) % 31)
92 #define CARL9170FW_SET_MONTH(m) ((((m) - 1) % 12) * 31)
93 #define CARL9170FW_SET_YEAR(y) (((y) - 10) * 372)
225 head->magic[0] = magic[0]; in carl9170fw_fill_desc()
226 head->magic[1] = magic[1]; in carl9170fw_fill_desc()
227 head->magic[2] = magic[2]; in carl9170fw_fill_desc()
228 head->magic[3] = magic[3]; in carl9170fw_fill_desc()
230 head->length = length; in carl9170fw_fill_desc()
231 head->min_ver = min_ver; in carl9170fw_fill_desc()
232 head->cur_ver = cur_ver; in carl9170fw_fill_desc()
237 memcmp(desc->magic, LAST_MAGIC, CARL9170FW_MAGIC_SIZE) && \
238 le16_to_cpu(desc->length) >= CARL9170FW_DESC_HEAD_SIZE && \
239 le16_to_cpu(desc->length) < CARL9170FW_DESC_MAX_LENGTH; \
240 desc = (void *)((unsigned long)desc + le16_to_cpu(desc->length)))
243 (((head)->cur_ver < _min_ver) || ((head)->min_ver > _min_ver)) \
254 if (descid[0] == head->magic[0] && descid[1] == head->magic[1] && in carl9170fw_desc_cmp()
255 descid[2] == head->magic[2] && descid[3] == head->magic[3] && in carl9170fw_desc_cmp()
257 (le16_to_cpu(head->length) >= min_len)) in carl9170fw_desc_cmp()