Lines Matching +full:wifi +full:- +full:firmware

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2021-2024 Intel Corporation
17 * the iwlwifi driver and the CSME firmware's WLAN driver. This communication
19 * iwlwifi can request or release ownership on the WiFi device through iwlmei.
21 * use to passthrough inbound packets to the CSME firmware for example. iwlmei
32 * iwlwifi calls iwlmei through direct and context-free function calls.
33 * It is assumed that only one device is accessible to the CSME firmware and
37 * There are cases in which iwlmei can't access the CSME firmware, because the
38 * CSME firmware is undergoing a reset, or the mei bus decided to unbind the
54 * iwlmei knows not access to the CSME firmware upon requests from iwlwifi.
79 * firmware is considered established and iwlwifi's requests can be treated
80 * against the CSME firmware.
104 * of the device. Reading the NVM usually requires the load the firmware, but
116 * - the HW registers in iwl_pcie_set_hw_ready
117 * - using the Software Arbitration Protocol (SAP)
127 * +-------------------+------------+--------------+-----------------------------+------------+
133 * +-------------------+------------+--------------+-----------------------------+------------+
137 * +-------------------+------------+--------------+-----------------------------+------------+
140 * +-------------------+------------+--------------+-----------------------------+------------+
143 * +-------------------+------------+--------------+-----------------------------+------------+
161 * immediately require iwlwifi to report RF-Kill to the network stack. This
162 * RF-Kill will prevent the stack from getting the device, and it has a reason
163 * that tells the userspace that the device is in RF-Kill because it is not
166 * which will remove the RF-Kill, and finally allow the host to connect.
174 * CSME can transmit packets, through the netdev that it gets from the wifi
189 * enum iwl_mei_nvm_caps - capabilities for MEI NVM
199 * struct iwl_mei_nvm - used to pass the NVM from CSME
221 * enum iwl_mei_pairwise_cipher - cipher for UCAST key
228 * Note that those values are dictated by the CSME firmware API (see sap.h)
239 * enum iwl_mei_akm_auth - a combination of AKM and AUTH method
245 * Note that those values are dictated by the CSME firmware API (see sap.h)
255 * struct iwl_mei_conn_info - connection info
277 * struct iwl_mei_colloc_info - collocated AP info
287 * enum iwl_mei_sap_version - SAP version
297 * struct iwl_mei_ops - driver's operations called by iwlmei
302 * @rfkill: called when the wifi driver should report a change in the rfkill
306 * the wifi driver registered to iwlmei before SAP connection succeeded or
307 * when the SAP connection is re-established.
323 * iwl_mei_is_connected() - is the connection to the CSME firmware established?
330 * iwl_mei_get_nvm() - returns the NVM for the device
341 * iwl_mei_get_ownership() - request ownership
350 * iwl_mei_set_rfkill_state() - set SW and HW RF kill states
359 * iwl_mei_set_nic_info() - set mac address
368 * iwl_mei_set_country_code() - set new country code
376 * iwl_mei_set_power_limit() - set TX power limit
385 * iwl_mei_register() - register the wifi driver to iwlmei
386 * @priv: a pointer to the wifi driver's context. Cannot be NULL.
392 * Only one wifi driver instance (wifi device instance really)
398 * iwl_mei_start_unregister() - unregister the wifi driver from iwlmei
406 * iwl_mei_unregister_complete() - complete the unregistration
414 * iwl_mei_set_netdev() - sets the netdev for Tx / Rx.
417 * The caller should set the netdev to a non-NULL value when the
431 * iwl_mei_tx_copy_to_csme() - must be called for each packet sent by
432 * the wifi driver.
438 * packets sent by the wifi driver. If the packet is a DHCP packet, it
447 * iwl_mei_host_associated() - must be called when iwlwifi associated.
456 * iwl_mei_host_disassociated() - must be called when iwlwifi disassociated.
461 * iwl_mei_device_state() - must be called when the device changes up/down state
467 * iwl_mei_pldr_req() - must be called before loading the fw
470 * the WiFi NIC so that the device can safely undergo product reset.
478 * iwl_mei_alive_notif() - must be called when alive notificaiton is received
509 { return -EOPNOTSUPP; } in iwl_mei_register()