Lines Matching +full:host +full:- +full:only

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2021 - 2022 Intel Corporation
9 #include "mei/iwl-mei.h"
17 * 1) Decide who is the owner of the device: CSME or the host
18 * 2) When the host is the owner of the device, CSME can still
32 * interface is used only for signaling and not to transfer
47 * the CSME's WLAN driver and the host.
49 * 1) Host sends %SAP_ME_MSG_START message with the physical address
56 * DOC: Host and driver state messages
58 * In order to let CSME know about the host state and the host driver state,
59 * the host sends messages that let CSME know about the host's state.
60 * When the host driver is loaded, the host sends %SAP_MSG_NOTIF_WIFIDR_UP.
61 * When the host driver is unloaded, the host sends %SAP_MSG_NOTIF_WIFIDR_DOWN.
66 * %SAP_MSG_NOTIF_AMT_STATE to let the host driver whether CSME can use the
68 * the host driver on the connection state of CSME.
70 * When host is associated to an AP, it must send %SAP_MSG_NOTIF_HOST_LINK_UP
79 * by the host driver: iwlwifi. There is a negotiation between
83 * device if it comes to the conclusion that the OS's host driver
84 * is not operational. This is why the host driver needs to
93 * When the host driver needs the device, it'll send the
96 * host know whether the ownership is granted or no. If the ownership is
100 * %SAP_MSG_NOTIF_CSME_TAKING_OWNERSHIP and give some time to host to stop
101 * accessing the device. The host needs to send
103 * the device anymore. If the host failed to send this message fast enough,
114 * packets sent by CSME to the host to be sent to the AP or for packets
115 * received from the AP and sent by the host to CSME.
116 * CSME sends filters to the host to let the host what inbound packets it must
117 * send to CSME. Those filters are received by the host as a
119 * The only outbound packets that must be sent to CSME are the DHCP packets.
124 * enum iwl_sap_me_msg_id - the ID of the ME message
136 * struct iwl_sap_me_msg_hdr - the header of the ME message
138 * @seq_num: a sequence number used for debug only.
148 * struct iwl_sap_me_msg_start - used for the %SAP_ME_MSG_START message
151 * @init_data_seq_num: seq_num of the first data packet HOST -> CSME.
152 * @init_notif_seq_num: seq_num of the first notification HOST -> CSME.
153 * @supported_versions: The host sends to the CSME a zero-terminated array
156 * This message is sent by the host to CSME and will responded by the
168 * struct iwl_sap_me_msg_start_ok - used for the %SAP_ME_MSG_START_OK
175 * This message is sent by CSME to the host in response to the
187 * enum iwl_sap_msg - SAP messages
189 * @SAP_MSG_NOTIF_PING: No payload. Solicitate a response message (check-alive).
195 * @SAP_MSG_NOTIF_AMT_STATE: Payload is a DW. Any non-zero value means
198 * the host will not get ownership. Any other value means the host is
218 * the CSME should re-initialize the init control block.
239 * packet. Used only for DHCP transmitted packets. See
264 /* 514 - 517 not supported */
287 /* 1018 - 1023 not supported */
299 * struct iwl_sap_hdr - prefixes any SAP message
313 * struct iwl_sap_msg_dw - suits any DW long SAP message
323 * enum iwl_sap_nic_owner - used by %SAP_MSG_NOTIF_NIC_OWNER
325 * @SAP_NIC_OWNER_HOST: The host owns the NIC.
359 * struct iwl_sap_notif_connection_info - nested in other structures
384 * enum iwl_sap_scan_request - for the scan_request field
394 * struct iwl_sap_notif_conn_status - payload of %SAP_MSG_NOTIF_CSME_CONN_STATUS
396 * @link_prot_state: Non-zero if link protection is active.
408 * enum iwl_sap_radio_state_bitmap - used for %SAP_MSG_NOTIF_RADIO_STATE
409 * @SAP_SW_RFKILL_DEASSERTED: If set, SW RfKill is de-asserted
410 * @SAP_HW_RFKILL_DEASSERTED: If set, HW RfKill is de-asserted
420 * enum iwl_sap_notif_host_suspends_bitmap - used for %SAP_MSG_NOTIF_HOST_SUSPENDS
436 * struct iwl_sap_notif_country_code - payload of %SAP_MSG_NOTIF_COUNTRY_CODE
452 * struct iwl_sap_notif_host_link_up - payload of %SAP_MSG_NOTIF_HOST_LINK_UP
472 * enum iwl_sap_notif_link_down_type - used in &struct iwl_sap_notif_host_link_down
484 * struct iwl_sap_notif_host_link_down - payload for %SAP_MSG_NOTIF_HOST_LINK_DOWN
500 * struct iwl_sap_notif_host_nic_info - payload for %SAP_MSG_NOTIF_NIC_INFO
512 * struct iwl_sap_notif_dw - payload is a dw
522 * struct iwl_sap_notif_sar_limits - payload for %SAP_MSG_NOTIF_SAR_LIMITS
532 * enum iwl_sap_nvm_caps - capabilities for NVM SAP
542 * struct iwl_sap_nvm - payload for %SAP_MSG_NOTIF_NVM
564 * enum iwl_sap_eth_filter_flags - used in &struct iwl_sap_eth_filter
576 * struct iwl_sap_eth_filter - a L2 filter
586 * enum iwl_sap_flex_filter_flags - used in &struct iwl_sap_flex_filter
604 * struct iwl_sap_flex_filter -
618 * enum iwl_sap_ipv4_filter_flags - used in &struct iwl_sap_ipv4_filter
620 * @SAP_IPV4_FILTER_ICMP_COPY: Pass ICMP packets to host.
622 * @SAP_IPV4_FILTER_ARP_REQ_COPY: Pass ARP requests to host.
624 * @SAP_IPV4_FILTER_ARP_RESP_COPY: Pass ARP responses to host.
636 * struct iwl_sap_ipv4_filter-
646 * enum iwl_sap_ipv6_filter_flags -
647 * @SAP_IPV6_ADDR_FILTER_COPY: Pass packets to the host.
656 * struct iwl_sap_ipv6_filter -
666 * enum iwl_sap_icmpv6_filter_flags -
668 * @SAP_ICMPV6_FILTER_COPY: Pass packets to the host.
676 * enum iwl_sap_vlan_filter_flags -
686 * struct iwl_sap_oob_filters - Out of band filters (for RX only)
706 * struct iwl_sap_csme_filters - payload of %SAP_MSG_NOTIF_CSME_FILTERS
725 * struct iwl_sap_cb_data - header to be added for transmitted packets.
729 * be set for DHCP (the only packet that uses this header).
744 * struct iwl_sap_pldr_data - payload of %SAP_MSG_NOTIF_PLDR
754 * enum iwl_sap_pldr_status -
764 * struct iwl_sap_pldr_end_data - payload of %SAP_MSG_NOTIF_PLDR_END
776 * struct iwl_sap_pldr_ack_data - payload of %SAP_MSG_NOTIF_PLDR_ACK