sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget-/translations/zh_CN/driver-api/80211/mac80211modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/zh_TW/driver-api/80211/mac80211modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/it_IT/driver-api/80211/mac80211modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ja_JP/driver-api/80211/mac80211modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ko_KR/driver-api/80211/mac80211modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/sp_SP/driver-api/80211/mac80211modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hmac80211 subsystem (basics)h]hmac80211 subsystem (basics)}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhG/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211.rsthKubh paragraph)}(hYou should read and understand the information contained within this part of the book while implementing a mac80211 driver. In some chapters, advanced usage is noted, those may be skipped if this isn't needed.h]hYou should read and understand the information contained within this part of the book while implementing a mac80211 driver. In some chapters, advanced usage is noted, those may be skipped if this isn’t needed.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hThis part of the book only covers station and monitor mode functionality, additional information required to implement the other modes is covered in the second part of the book.h]hThis part of the book only covers station and monitor mode functionality, additional information required to implement the other modes is covered in the second part of the book.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hhh](h)}(hBasic hardware handlingh]hBasic hardware handling}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hTBDh]hTBD}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(heThis chapter shall contain information on getting a hw struct allocated and registered with mac80211.h]heThis chapter shall contain information on getting a hw struct allocated and registered with mac80211.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hSince it is required to allocate rates/modes before registering a hw struct, this chapter shall also contain information on setting up the rate/mode structs.h]hSince it is required to allocate rates/modes before registering a hw struct, this chapter shall also contain information on setting up the rate/mode structs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hAdditionally, some discussion about the callbacks and the general programming model should be in here, including the definition of ieee80211_ops which will be referred to a lot.h]hAdditionally, some discussion about the callbacks and the general programming model should be in here, including the definition of ieee80211_ops which will be referred to a lot.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hiFinally, a discussion of hardware capabilities should be done with references to other parts of the book.h]hiFinally, a discussion of hardware capabilities should be done with references to other parts of the book.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singleieee80211_hw_flags (C enum)c.ieee80211_hw_flagshNtauh1j,hhhhhNhNubhdesc)}(hhh](hdesc_signature)}(hieee80211_hw_flagsh]hdesc_signature_line)}(henum ieee80211_hw_flagsh](hdesc_sig_keyword)}(henumh]henum}(hjPhhhNhNubah}(h]h ]kah"]h$]h&]uh1jNhjJhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMXubhdesc_sig_space)}(h h]h }(hjbhhhNhNubah}(h]h ]wah"]h$]h&]uh1j`hjJhhhj_hMXubh desc_name)}(hieee80211_hw_flagsh]h desc_sig_name)}(hjFh]hieee80211_hw_flags}(hjyhhhNhNubah}(h]h ]nah"]h$]h&]uh1jwhjsubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jqhjJhhhj_hMXubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jHsphinx_line_type declaratorhjDhhhj_hMXubah}(h]j;ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jBhj_hMXhj?hhubh desc_content)}(hhh]h)}(hhardware flagsh]hhardware flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM2 hjhhubah}(h]h ]h"]h$]h&]uh1jhj?hhhj_hMXubeh}(h]h ](cenumeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j=hhhhhNhNubh container)}(hX***Constants** ``IEEE80211_HW_HAS_RATE_CONTROL`` The hardware or firmware includes rate control, and cannot be controlled by the stack. As such, no rate control algorithm should be instantiated, and the TX rate reported to userspace will be taken from the TX status instead of the rate control algorithm. Note that this requires that the driver implement a number of callbacks so it has the correct information, it needs to have the **set_rts_threshold** callback and must look at the BSS config **use_cts_prot** for G/N protection, **use_short_slot** for slot timing in 2.4 GHz and **use_short_preamble** for preambles for CCK frames. ``IEEE80211_HW_RX_INCLUDES_FCS`` Indicates that received frames passed to the stack include the FCS at the end. ``IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING`` Some wireless LAN chipsets buffer broadcast/multicast frames for power saving stations in the hardware/firmware and others rely on the host system for such buffering. This option is used to configure the IEEE 802.11 upper layer to buffer broadcast and multicast frames when there are power saving stations so that the driver can fetch them with ieee80211_get_buffered_bc(). ``IEEE80211_HW_SIGNAL_UNSPEC`` Hardware can provide signal values but we don't know its units. We expect values between 0 and **max_signal**. If possible please provide dB or dBm instead. ``IEEE80211_HW_SIGNAL_DBM`` Hardware gives signal values in dBm, decibel difference from one milliwatt. This is the preferred method since it is standardized between different devices. **max_signal** does not need to be set. ``IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC`` This device needs to get data from beacon before association (i.e. dtim_period). ``IEEE80211_HW_SPECTRUM_MGMT`` Hardware supports spectrum management defined in 802.11h Measurement, Channel Switch, Quieting, TPC ``IEEE80211_HW_AMPDU_AGGREGATION`` Hardware supports 11n A-MPDU aggregation. ``IEEE80211_HW_SUPPORTS_PS`` Hardware has power save support (i.e. can go to sleep). ``IEEE80211_HW_PS_NULLFUNC_STACK`` Hardware requires nullfunc frame handling in stack, implies stack support for dynamic PS. ``IEEE80211_HW_SUPPORTS_DYNAMIC_PS`` Hardware has support for dynamic PS. ``IEEE80211_HW_MFP_CAPABLE`` Hardware supports management frame protection (MFP, IEEE 802.11w). ``IEEE80211_HW_WANT_MONITOR_VIF`` The driver would like to be informed of a virtual monitor interface when monitor interfaces are the only active interfaces. ``IEEE80211_HW_NO_VIRTUAL_MONITOR`` The driver would like to be informed of any monitor interface, as well as their configured channel. This is useful for supporting multiple monitor interfaces on different channels. ``IEEE80211_HW_NO_AUTO_VIF`` The driver would like for no wlanX to be created. It is expected user-space will create vifs as desired (and thus have them named as desired). ``IEEE80211_HW_SW_CRYPTO_CONTROL`` The driver wants to control which of the crypto algorithms can be done in software - so don't automatically try to fall back to it if hardware crypto fails, but do so only if the driver returns 1. This also forces the driver to advertise its supported cipher suites. ``IEEE80211_HW_SUPPORT_FAST_XMIT`` The driver/hardware supports fast-xmit, this currently requires only the ability to calculate the duration for frames. ``IEEE80211_HW_REPORTS_TX_ACK_STATUS`` Hardware can provide ack status reports of Tx frames to the stack. ``IEEE80211_HW_CONNECTION_MONITOR`` The hardware performs its own connection monitoring, including periodic keep-alives to the AP and probing the AP on beacon loss. ``IEEE80211_HW_QUEUE_CONTROL`` The driver wants to control per-interface queue mapping in order to use different queues (not just one per AC) for different virtual interfaces. See the doc section on HW queue control for more details. ``IEEE80211_HW_SUPPORTS_PER_STA_GTK`` The device's crypto engine supports per-station GTKs as used by IBSS RSN or during fast transition. If the device doesn't support per-station GTKs, but can be asked not to decrypt group addressed frames, then IBSS RSN support is still possible but software crypto will be used. Advertise the wiphy flag only in that case. ``IEEE80211_HW_AP_LINK_PS`` When operating in AP mode the device autonomously manages the PS status of connected stations. When this flag is set mac80211 will not trigger PS mode for connected stations based on the PM bit of incoming frames. Use ieee80211_start_ps()/ieee8021_end_ps() to manually configure the PS mode of connected stations. ``IEEE80211_HW_TX_AMPDU_SETUP_IN_HW`` The device handles TX A-MPDU session setup strictly in HW. mac80211 should not attempt to do this in software. ``IEEE80211_HW_SUPPORTS_RC_TABLE`` The driver supports using a rate selection table provided by the rate control algorithm. ``IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF`` Use the P2P Device address for any P2P Interface. This will be honoured even if more than one interface is supported. ``IEEE80211_HW_TIMING_BEACON_ONLY`` Use sync timing from beacon frames only, to allow getting TBTT of a DTIM beacon. ``IEEE80211_HW_SUPPORTS_HT_CCK_RATES`` Hardware supports mixing HT/CCK rates and can cope with CCK rates in an aggregation session (e.g. by not using aggregation for such frames.) ``IEEE80211_HW_CHANCTX_STA_CSA`` Support 802.11h based channel-switch (CSA) for a single active channel while using channel contexts. When support is not enabled the default action is to disconnect when getting the CSA frame. ``IEEE80211_HW_SUPPORTS_CLONED_SKBS`` The driver will never modify the payload or tailroom of TX skbs without copying them first. ``IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS`` The HW supports scanning on all bands in one command, mac80211 doesn't have to run separate scans per band. ``IEEE80211_HW_TDLS_WIDER_BW`` The device/driver supports wider bandwidth than then BSS bandwidth for a TDLS link on the base channel. ``IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU`` The driver supports receiving A-MSDUs within A-MPDU. ``IEEE80211_HW_BEACON_TX_STATUS`` The device/driver provides TX status for sent beacons. ``IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR`` Hardware (or driver) requires that each station has a unique address, i.e. each station entry can be identified by just its MAC address; this prevents, for example, the same station from connecting to two virtual AP interfaces at the same time. ``IEEE80211_HW_SUPPORTS_REORDERING_BUFFER`` Hardware (or driver) manages the reordering buffer internally, guaranteeing mac80211 receives frames in order and does not need to manage its own reorder buffer or BA session timeout. ``IEEE80211_HW_USES_RSS`` The device uses RSS and thus requires parallel RX, which implies using per-CPU station statistics. ``IEEE80211_HW_TX_AMSDU`` Hardware (or driver) supports software aggregated A-MSDU frames. Requires software tx queueing and fast-xmit support. When not using minstrel/minstrel_ht rate control, the driver must limit the maximum A-MSDU size based on the current tx rate by setting max_rc_amsdu_len in struct ieee80211_sta. ``IEEE80211_HW_TX_FRAG_LIST`` Hardware (or driver) supports sending frag_list skbs, needed for zero-copy software A-MSDU. ``IEEE80211_HW_REPORTS_LOW_ACK`` The driver (or firmware) reports low ack event by ieee80211_report_low_ack() based on its own algorithm. For such drivers, mac80211 packet loss mechanism will not be triggered and driver is completely depending on firmware event for station kickout. ``IEEE80211_HW_SUPPORTS_TX_FRAG`` Hardware does fragmentation by itself. The stack will not do fragmentation. The callback for **set_frag_threshold** should be set as well. ``IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA`` Hardware supports buffer STA on TDLS links. ``IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP`` The driver (or firmware) doesn't support QoS NDP for AP probing - that's most likely a driver bug. ``IEEE80211_HW_BUFF_MMPDU_TXQ`` use the TXQ for bufferable MMPDUs, this of course requires the driver to use TXQs to start with. ``IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW`` (Hardware) rate control supports VHT extended NSS BW (dot11VHTExtendedNSSBWCapable). This flag will be set if the selected rate control algorithm sets ``RATE_CTRL_CAPA_VHT_EXT_NSS_BW`` but if the rate control is built-in then it must be set by the driver. See also the documentation for that flag. ``IEEE80211_HW_STA_MMPDU_TXQ`` use the extra non-TID per-station TXQ for all MMPDUs on station interfaces. This of course requires the driver to use TXQs to start with. ``IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN`` Driver does not report accurate A-MPDU length in tx status information ``IEEE80211_HW_SUPPORTS_MULTI_BSSID`` Hardware supports multi BSSID ``IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID`` Hardware supports multi BSSID only for HE APs. Applies if **IEEE80211_HW_SUPPORTS_MULTI_BSSID** is set. ``IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT`` The card and driver is only aggregating MPDUs with the same keyid, allowing mac80211 to keep Tx A-MPDU sessions active while rekeying with Extended Key ID. ``IEEE80211_HW_SUPPORTS_TX_ENCAP_OFFLOAD`` Hardware supports tx encapsulation offload ``IEEE80211_HW_SUPPORTS_RX_DECAP_OFFLOAD`` Hardware supports rx decapsulation offload ``IEEE80211_HW_SUPPORTS_CONC_MON_RX_DECAP`` Hardware supports concurrent rx decapsulation offload and passing raw 802.11 frames for monitor iface. If this is supported, the driver must pass both 802.3 frames for real usage and 802.11 frames with ``RX_FLAG_ONLY_MONITOR`` set for monitor to the stack. ``IEEE80211_HW_DETECTS_COLOR_COLLISION`` HW/driver has support for BSS color collision detection and doesn't need it in software. ``IEEE80211_HW_MLO_MCAST_MULTI_LINK_TX`` Hardware/driver handles transmitting multicast frames on all links, mac80211 should not do that. ``IEEE80211_HW_DISALLOW_PUNCTURING`` HW requires disabling puncturing in EHT and connecting with a lower bandwidth instead ``IEEE80211_HW_DISALLOW_PUNCTURING_5GHZ`` HW requires disabling puncturing in EHT in 5 GHz and connecting with a lower bandwidth instead ``IEEE80211_HW_HANDLES_QUIET_CSA`` HW/driver handles quieting for CSA, so no need to stop queues. This really should be set by a driver that implements MLO, so operation can continue on other links when one link is switching. ``IEEE80211_HW_STRICT`` strictly enforce certain things mandated by the spec but otherwise ignored/worked around for interoperability. This is a HW flag so drivers can opt in according to their own control, e.g. in testing. ``NUM_IEEE80211_HW_FLAGS`` number of hardware flags, used for sizing arraysh](h)}(h **Constants**h]hstrong)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM6 hjubhdefinition_list)}(hhh](hdefinition_list_item)}(hXm``IEEE80211_HW_HAS_RATE_CONTROL`` The hardware or firmware includes rate control, and cannot be controlled by the stack. As such, no rate control algorithm should be instantiated, and the TX rate reported to userspace will be taken from the TX status instead of the rate control algorithm. Note that this requires that the driver implement a number of callbacks so it has the correct information, it needs to have the **set_rts_threshold** callback and must look at the BSS config **use_cts_prot** for G/N protection, **use_short_slot** for slot timing in 2.4 GHz and **use_short_preamble** for preambles for CCK frames. h](hterm)}(h!``IEEE80211_HW_HAS_RATE_CONTROL``h]hliteral)}(hjh]hIEEE80211_HW_HAS_RATE_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMC hjubh definition)}(hhh]h)}(hXJThe hardware or firmware includes rate control, and cannot be controlled by the stack. As such, no rate control algorithm should be instantiated, and the TX rate reported to userspace will be taken from the TX status instead of the rate control algorithm. Note that this requires that the driver implement a number of callbacks so it has the correct information, it needs to have the **set_rts_threshold** callback and must look at the BSS config **use_cts_prot** for G/N protection, **use_short_slot** for slot timing in 2.4 GHz and **use_short_preamble** for preambles for CCK frames.h](hXThe hardware or firmware includes rate control, and cannot be controlled by the stack. As such, no rate control algorithm should be instantiated, and the TX rate reported to userspace will be taken from the TX status instead of the rate control algorithm. Note that this requires that the driver implement a number of callbacks so it has the correct information, it needs to have the }(hjhhhNhNubj)}(h**set_rts_threshold**h]hset_rts_threshold}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* callback and must look at the BSS config }(hjhhhNhNubj)}(h**use_cts_prot**h]h use_cts_prot}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for G/N protection, }(hjhhhNhNubj)}(h**use_short_slot**h]huse_short_slot}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for slot timing in 2.4 GHz and }(hjhhhNhNubj)}(h**use_short_preamble**h]huse_short_preamble}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for preambles for CCK frames.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMC hjubj)}(hp``IEEE80211_HW_RX_INCLUDES_FCS`` Indicates that received frames passed to the stack include the FCS at the end. h](j)}(h ``IEEE80211_HW_RX_INCLUDES_FCS``h]j)}(hjh]hIEEE80211_HW_RX_INCLUDES_FCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMG hj|ubj)}(hhh]h)}(hNIndicates that received frames passed to the stack include the FCS at the end.h]hNIndicates that received frames passed to the stack include the FCS at the end.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMF hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMG hjubj)}(hX``IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING`` Some wireless LAN chipsets buffer broadcast/multicast frames for power saving stations in the hardware/firmware and others rely on the host system for such buffering. This option is used to configure the IEEE 802.11 upper layer to buffer broadcast and multicast frames when there are power saving stations so that the driver can fetch them with ieee80211_get_buffered_bc(). h](j)}(h,``IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING``h]j)}(hjh]h(IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMO hjubj)}(hhh]h)}(hXuSome wireless LAN chipsets buffer broadcast/multicast frames for power saving stations in the hardware/firmware and others rely on the host system for such buffering. This option is used to configure the IEEE 802.11 upper layer to buffer broadcast and multicast frames when there are power saving stations so that the driver can fetch them with ieee80211_get_buffered_bc().h]hXuSome wireless LAN chipsets buffer broadcast/multicast frames for power saving stations in the hardware/firmware and others rely on the host system for such buffering. This option is used to configure the IEEE 802.11 upper layer to buffer broadcast and multicast frames when there are power saving stations so that the driver can fetch them with ieee80211_get_buffered_bc().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMJ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMO hjubj)}(h``IEEE80211_HW_SIGNAL_UNSPEC`` Hardware can provide signal values but we don't know its units. We expect values between 0 and **max_signal**. If possible please provide dB or dBm instead. h](j)}(h``IEEE80211_HW_SIGNAL_UNSPEC``h]j)}(hjh]hIEEE80211_HW_SIGNAL_UNSPEC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMT hjubj)}(hhh]h)}(hHardware can provide signal values but we don't know its units. We expect values between 0 and **max_signal**. If possible please provide dB or dBm instead.h](haHardware can provide signal values but we don’t know its units. We expect values between 0 and }(hjhhhNhNubj)}(h**max_signal**h]h max_signal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/. If possible please provide dB or dBm instead.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMR hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMT hjubj)}(h``IEEE80211_HW_SIGNAL_DBM`` Hardware gives signal values in dBm, decibel difference from one milliwatt. This is the preferred method since it is standardized between different devices. **max_signal** does not need to be set. h](j)}(h``IEEE80211_HW_SIGNAL_DBM``h]j)}(hjBh]hIEEE80211_HW_SIGNAL_DBM}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMY hj<ubj)}(hhh]h)}(hHardware gives signal values in dBm, decibel difference from one milliwatt. This is the preferred method since it is standardized between different devices. **max_signal** does not need to be set.h](hHardware gives signal values in dBm, decibel difference from one milliwatt. This is the preferred method since it is standardized between different devices. }(hj[hhhNhNubj)}(h**max_signal**h]h max_signal}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh does not need to be set.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMW hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMY hjubj)}(hy``IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC`` This device needs to get data from beacon before association (i.e. dtim_period). h](j)}(h'``IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC``h]j)}(hjh]h#IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM] hjubj)}(hhh]h)}(hPThis device needs to get data from beacon before association (i.e. dtim_period).h]hPThis device needs to get data from beacon before association (i.e. dtim_period).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM\ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjubj)}(h``IEEE80211_HW_SPECTRUM_MGMT`` Hardware supports spectrum management defined in 802.11h Measurement, Channel Switch, Quieting, TPC h](j)}(h``IEEE80211_HW_SPECTRUM_MGMT``h]j)}(hjh]hIEEE80211_HW_SPECTRUM_MGMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMa hjubj)}(hhh]h)}(hcHardware supports spectrum management defined in 802.11h Measurement, Channel Switch, Quieting, TPCh]hcHardware supports spectrum management defined in 802.11h Measurement, Channel Switch, Quieting, TPC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM` hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMa hjubj)}(hM``IEEE80211_HW_AMPDU_AGGREGATION`` Hardware supports 11n A-MPDU aggregation. h](j)}(h"``IEEE80211_HW_AMPDU_AGGREGATION``h]j)}(hjh]hIEEE80211_HW_AMPDU_AGGREGATION}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMd hjubj)}(hhh]h)}(h)Hardware supports 11n A-MPDU aggregation.h]h)Hardware supports 11n A-MPDU aggregation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMd hjubj)}(hU``IEEE80211_HW_SUPPORTS_PS`` Hardware has power save support (i.e. can go to sleep). h](j)}(h``IEEE80211_HW_SUPPORTS_PS``h]j)}(hj;h]hIEEE80211_HW_SUPPORTS_PS}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMg hj5ubj)}(hhh]h)}(h7Hardware has power save support (i.e. can go to sleep).h]h7Hardware has power save support (i.e. can go to sleep).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMg hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMg hjubj)}(h}``IEEE80211_HW_PS_NULLFUNC_STACK`` Hardware requires nullfunc frame handling in stack, implies stack support for dynamic PS. h](j)}(h"``IEEE80211_HW_PS_NULLFUNC_STACK``h]j)}(hjth]hIEEE80211_HW_PS_NULLFUNC_STACK}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMk hjnubj)}(hhh]h)}(hYHardware requires nullfunc frame handling in stack, implies stack support for dynamic PS.h]hYHardware requires nullfunc frame handling in stack, implies stack support for dynamic PS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMj hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMk hjubj)}(hJ``IEEE80211_HW_SUPPORTS_DYNAMIC_PS`` Hardware has support for dynamic PS. h](j)}(h$``IEEE80211_HW_SUPPORTS_DYNAMIC_PS``h]j)}(hjh]h IEEE80211_HW_SUPPORTS_DYNAMIC_PS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMn hjubj)}(hhh]h)}(h$Hardware has support for dynamic PS.h]h$Hardware has support for dynamic PS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMn hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMn hjubj)}(h```IEEE80211_HW_MFP_CAPABLE`` Hardware supports management frame protection (MFP, IEEE 802.11w). h](j)}(h``IEEE80211_HW_MFP_CAPABLE``h]j)}(hjh]hIEEE80211_HW_MFP_CAPABLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMq hjubj)}(hhh]h)}(hBHardware supports management frame protection (MFP, IEEE 802.11w).h]hBHardware supports management frame protection (MFP, IEEE 802.11w).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjubj)}(h``IEEE80211_HW_WANT_MONITOR_VIF`` The driver would like to be informed of a virtual monitor interface when monitor interfaces are the only active interfaces. h](j)}(h!``IEEE80211_HW_WANT_MONITOR_VIF``h]j)}(hj h]hIEEE80211_HW_WANT_MONITOR_VIF}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMv hjubj)}(hhh]h)}(h{The driver would like to be informed of a virtual monitor interface when monitor interfaces are the only active interfaces.h]h{The driver would like to be informed of a virtual monitor interface when monitor interfaces are the only active interfaces.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMt hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMv hjubj)}(h``IEEE80211_HW_NO_VIRTUAL_MONITOR`` The driver would like to be informed of any monitor interface, as well as their configured channel. This is useful for supporting multiple monitor interfaces on different channels. h](j)}(h#``IEEE80211_HW_NO_VIRTUAL_MONITOR``h]j)}(hjZh]hIEEE80211_HW_NO_VIRTUAL_MONITOR}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM| hjTubj)}(hhh]h)}(hThe driver would like to be informed of any monitor interface, as well as their configured channel. This is useful for supporting multiple monitor interfaces on different channels.h]hThe driver would like to be informed of any monitor interface, as well as their configured channel. This is useful for supporting multiple monitor interfaces on different channels.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMy hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM| hjubj)}(h``IEEE80211_HW_NO_AUTO_VIF`` The driver would like for no wlanX to be created. It is expected user-space will create vifs as desired (and thus have them named as desired). h](j)}(h``IEEE80211_HW_NO_AUTO_VIF``h]j)}(hjh]hIEEE80211_HW_NO_AUTO_VIF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hThe driver would like for no wlanX to be created. It is expected user-space will create vifs as desired (and thus have them named as desired).h]hThe driver would like for no wlanX to be created. It is expected user-space will create vifs as desired (and thus have them named as desired).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hX.``IEEE80211_HW_SW_CRYPTO_CONTROL`` The driver wants to control which of the crypto algorithms can be done in software - so don't automatically try to fall back to it if hardware crypto fails, but do so only if the driver returns 1. This also forces the driver to advertise its supported cipher suites. h](j)}(h"``IEEE80211_HW_SW_CRYPTO_CONTROL``h]j)}(hjh]hIEEE80211_HW_SW_CRYPTO_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hX The driver wants to control which of the crypto algorithms can be done in software - so don't automatically try to fall back to it if hardware crypto fails, but do so only if the driver returns 1. This also forces the driver to advertise its supported cipher suites.h]hX The driver wants to control which of the crypto algorithms can be done in software - so don’t automatically try to fall back to it if hardware crypto fails, but do so only if the driver returns 1. This also forces the driver to advertise its supported cipher suites.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``IEEE80211_HW_SUPPORT_FAST_XMIT`` The driver/hardware supports fast-xmit, this currently requires only the ability to calculate the duration for frames. h](j)}(h"``IEEE80211_HW_SUPPORT_FAST_XMIT``h]j)}(hjh]hIEEE80211_HW_SUPPORT_FAST_XMIT}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hvThe driver/hardware supports fast-xmit, this currently requires only the ability to calculate the duration for frames.h]hvThe driver/hardware supports fast-xmit, this currently requires only the ability to calculate the duration for frames.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hj``IEEE80211_HW_REPORTS_TX_ACK_STATUS`` Hardware can provide ack status reports of Tx frames to the stack. h](j)}(h&``IEEE80211_HW_REPORTS_TX_ACK_STATUS``h]j)}(hjBh]h"IEEE80211_HW_REPORTS_TX_ACK_STATUS}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj<ubj)}(hhh]h)}(hBHardware can provide ack status reports of Tx frames to the stack.h]hBHardware can provide ack status reports of Tx frames to the stack.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM hjubj)}(h``IEEE80211_HW_CONNECTION_MONITOR`` The hardware performs its own connection monitoring, including periodic keep-alives to the AP and probing the AP on beacon loss. h](j)}(h#``IEEE80211_HW_CONNECTION_MONITOR``h]j)}(hj|h]hIEEE80211_HW_CONNECTION_MONITOR}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjvubj)}(hhh]h)}(hThe hardware performs its own connection monitoring, including periodic keep-alives to the AP and probing the AP on beacon loss.h]hThe hardware performs its own connection monitoring, including periodic keep-alives to the AP and probing the AP on beacon loss.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``IEEE80211_HW_QUEUE_CONTROL`` The driver wants to control per-interface queue mapping in order to use different queues (not just one per AC) for different virtual interfaces. See the doc section on HW queue control for more details. h](j)}(h``IEEE80211_HW_QUEUE_CONTROL``h]j)}(hjh]hIEEE80211_HW_QUEUE_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hThe driver wants to control per-interface queue mapping in order to use different queues (not just one per AC) for different virtual interfaces. See the doc section on HW queue control for more details.h]hThe driver wants to control per-interface queue mapping in order to use different queues (not just one per AC) for different virtual interfaces. See the doc section on HW queue control for more details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hXh``IEEE80211_HW_SUPPORTS_PER_STA_GTK`` The device's crypto engine supports per-station GTKs as used by IBSS RSN or during fast transition. If the device doesn't support per-station GTKs, but can be asked not to decrypt group addressed frames, then IBSS RSN support is still possible but software crypto will be used. Advertise the wiphy flag only in that case. h](j)}(h%``IEEE80211_HW_SUPPORTS_PER_STA_GTK``h]j)}(hjh]h!IEEE80211_HW_SUPPORTS_PER_STA_GTK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hXAThe device's crypto engine supports per-station GTKs as used by IBSS RSN or during fast transition. If the device doesn't support per-station GTKs, but can be asked not to decrypt group addressed frames, then IBSS RSN support is still possible but software crypto will be used. Advertise the wiphy flag only in that case.h]hXEThe device’s crypto engine supports per-station GTKs as used by IBSS RSN or during fast transition. If the device doesn’t support per-station GTKs, but can be asked not to decrypt group addressed frames, then IBSS RSN support is still possible but software crypto will be used. Advertise the wiphy flag only in that case.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hXV``IEEE80211_HW_AP_LINK_PS`` When operating in AP mode the device autonomously manages the PS status of connected stations. When this flag is set mac80211 will not trigger PS mode for connected stations based on the PM bit of incoming frames. Use ieee80211_start_ps()/ieee8021_end_ps() to manually configure the PS mode of connected stations. h](j)}(h``IEEE80211_HW_AP_LINK_PS``h]j)}(hj*h]hIEEE80211_HW_AP_LINK_PS}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj$ubj)}(hhh]h)}(hX9When operating in AP mode the device autonomously manages the PS status of connected stations. When this flag is set mac80211 will not trigger PS mode for connected stations based on the PM bit of incoming frames. Use ieee80211_start_ps()/ieee8021_end_ps() to manually configure the PS mode of connected stations.h]hX9When operating in AP mode the device autonomously manages the PS status of connected stations. When this flag is set mac80211 will not trigger PS mode for connected stations based on the PM bit of incoming frames. Use ieee80211_start_ps()/ieee8021_end_ps() to manually configure the PS mode of connected stations.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hjubj)}(h``IEEE80211_HW_TX_AMPDU_SETUP_IN_HW`` The device handles TX A-MPDU session setup strictly in HW. mac80211 should not attempt to do this in software. h](j)}(h%``IEEE80211_HW_TX_AMPDU_SETUP_IN_HW``h]j)}(hjdh]h!IEEE80211_HW_TX_AMPDU_SETUP_IN_HW}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj^ubj)}(hhh]h)}(hnThe device handles TX A-MPDU session setup strictly in HW. mac80211 should not attempt to do this in software.h]hnThe device handles TX A-MPDU session setup strictly in HW. mac80211 should not attempt to do this in software.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjubj)}(h|``IEEE80211_HW_SUPPORTS_RC_TABLE`` The driver supports using a rate selection table provided by the rate control algorithm. h](j)}(h"``IEEE80211_HW_SUPPORTS_RC_TABLE``h]j)}(hjh]hIEEE80211_HW_SUPPORTS_RC_TABLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hXThe driver supports using a rate selection table provided by the rate control algorithm.h]hXThe driver supports using a rate selection table provided by the rate control algorithm.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF`` Use the P2P Device address for any P2P Interface. This will be honoured even if more than one interface is supported. h](j)}(h&``IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF``h]j)}(hjh]h"IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(huUse the P2P Device address for any P2P Interface. This will be honoured even if more than one interface is supported.h]huUse the P2P Device address for any P2P Interface. This will be honoured even if more than one interface is supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hu``IEEE80211_HW_TIMING_BEACON_ONLY`` Use sync timing from beacon frames only, to allow getting TBTT of a DTIM beacon. h](j)}(h#``IEEE80211_HW_TIMING_BEACON_ONLY``h]j)}(hjh]hIEEE80211_HW_TIMING_BEACON_ONLY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hPUse sync timing from beacon frames only, to allow getting TBTT of a DTIM beacon.h]hPUse sync timing from beacon frames only, to allow getting TBTT of a DTIM beacon.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hjubj)}(h``IEEE80211_HW_SUPPORTS_HT_CCK_RATES`` Hardware supports mixing HT/CCK rates and can cope with CCK rates in an aggregation session (e.g. by not using aggregation for such frames.) h](j)}(h&``IEEE80211_HW_SUPPORTS_HT_CCK_RATES``h]j)}(hjLh]h"IEEE80211_HW_SUPPORTS_HT_CCK_RATES}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjFubj)}(hhh]h)}(hHardware supports mixing HT/CCK rates and can cope with CCK rates in an aggregation session (e.g. by not using aggregation for such frames.)h]hHardware supports mixing HT/CCK rates and can cope with CCK rates in an aggregation session (e.g. by not using aggregation for such frames.)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM hjubj)}(h``IEEE80211_HW_CHANCTX_STA_CSA`` Support 802.11h based channel-switch (CSA) for a single active channel while using channel contexts. When support is not enabled the default action is to disconnect when getting the CSA frame. h](j)}(h ``IEEE80211_HW_CHANCTX_STA_CSA``h]j)}(hjh]hIEEE80211_HW_CHANCTX_STA_CSA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hSupport 802.11h based channel-switch (CSA) for a single active channel while using channel contexts. When support is not enabled the default action is to disconnect when getting the CSA frame.h]hSupport 802.11h based channel-switch (CSA) for a single active channel while using channel contexts. When support is not enabled the default action is to disconnect when getting the CSA frame.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``IEEE80211_HW_SUPPORTS_CLONED_SKBS`` The driver will never modify the payload or tailroom of TX skbs without copying them first. h](j)}(h%``IEEE80211_HW_SUPPORTS_CLONED_SKBS``h]j)}(hjh]h!IEEE80211_HW_SUPPORTS_CLONED_SKBS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h[The driver will never modify the payload or tailroom of TX skbs without copying them first.h]h[The driver will never modify the payload or tailroom of TX skbs without copying them first.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS`` The HW supports scanning on all bands in one command, mac80211 doesn't have to run separate scans per band. h](j)}(h)``IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS``h]j)}(hjh]h%IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hkThe HW supports scanning on all bands in one command, mac80211 doesn't have to run separate scans per band.h]hmThe HW supports scanning on all bands in one command, mac80211 doesn’t have to run separate scans per band.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h``IEEE80211_HW_TDLS_WIDER_BW`` The device/driver supports wider bandwidth than then BSS bandwidth for a TDLS link on the base channel. h](j)}(h``IEEE80211_HW_TDLS_WIDER_BW``h]j)}(hj4 h]hIEEE80211_HW_TDLS_WIDER_BW}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj. ubj)}(hhh]h)}(hgThe device/driver supports wider bandwidth than then BSS bandwidth for a TDLS link on the base channel.h]hgThe device/driver supports wider bandwidth than then BSS bandwidth for a TDLS link on the base channel.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjJ ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhjI hM hjubj)}(h^``IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU`` The driver supports receiving A-MSDUs within A-MPDU. h](j)}(h(``IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU``h]j)}(hjn h]h$IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjh ubj)}(hhh]h)}(h4The driver supports receiving A-MSDUs within A-MPDU.h]h4The driver supports receiving A-MSDUs within A-MPDU.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hY``IEEE80211_HW_BEACON_TX_STATUS`` The device/driver provides TX status for sent beacons. h](j)}(h!``IEEE80211_HW_BEACON_TX_STATUS``h]j)}(hj h]hIEEE80211_HW_BEACON_TX_STATUS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(h6The device/driver provides TX status for sent beacons.h]h6The device/driver provides TX status for sent beacons.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hX``IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR`` Hardware (or driver) requires that each station has a unique address, i.e. each station entry can be identified by just its MAC address; this prevents, for example, the same station from connecting to two virtual AP interfaces at the same time. h](j)}(h&``IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR``h]j)}(hj h]h"IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hHardware (or driver) requires that each station has a unique address, i.e. each station entry can be identified by just its MAC address; this prevents, for example, the same station from connecting to two virtual AP interfaces at the same time.h]hHardware (or driver) requires that each station has a unique address, i.e. each station entry can be identified by just its MAC address; this prevents, for example, the same station from connecting to two virtual AP interfaces at the same time.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h``IEEE80211_HW_SUPPORTS_REORDERING_BUFFER`` Hardware (or driver) manages the reordering buffer internally, guaranteeing mac80211 receives frames in order and does not need to manage its own reorder buffer or BA session timeout. h](j)}(h+``IEEE80211_HW_SUPPORTS_REORDERING_BUFFER``h]j)}(hj h]h'IEEE80211_HW_SUPPORTS_REORDERING_BUFFER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hHardware (or driver) manages the reordering buffer internally, guaranteeing mac80211 receives frames in order and does not need to manage its own reorder buffer or BA session timeout.h]hHardware (or driver) manages the reordering buffer internally, guaranteeing mac80211 receives frames in order and does not need to manage its own reorder buffer or BA session timeout.}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hM hjubj)}(h}``IEEE80211_HW_USES_RSS`` The device uses RSS and thus requires parallel RX, which implies using per-CPU station statistics. h](j)}(h``IEEE80211_HW_USES_RSS``h]j)}(hjV h]hIEEE80211_HW_USES_RSS}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjP ubj)}(hhh]h)}(hbThe device uses RSS and thus requires parallel RX, which implies using per-CPU station statistics.h]hbThe device uses RSS and thus requires parallel RX, which implies using per-CPU station statistics.}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjl ubah}(h]h ]h"]h$]h&]uh1jhjP ubeh}(h]h ]h"]h$]h&]uh1jhjk hM hjubj)}(hXB``IEEE80211_HW_TX_AMSDU`` Hardware (or driver) supports software aggregated A-MSDU frames. Requires software tx queueing and fast-xmit support. When not using minstrel/minstrel_ht rate control, the driver must limit the maximum A-MSDU size based on the current tx rate by setting max_rc_amsdu_len in struct ieee80211_sta. h](j)}(h``IEEE80211_HW_TX_AMSDU``h]j)}(hj h]hIEEE80211_HW_TX_AMSDU}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hX'Hardware (or driver) supports software aggregated A-MSDU frames. Requires software tx queueing and fast-xmit support. When not using minstrel/minstrel_ht rate control, the driver must limit the maximum A-MSDU size based on the current tx rate by setting max_rc_amsdu_len in struct ieee80211_sta.h]hX'Hardware (or driver) supports software aggregated A-MSDU frames. Requires software tx queueing and fast-xmit support. When not using minstrel/minstrel_ht rate control, the driver must limit the maximum A-MSDU size based on the current tx rate by setting max_rc_amsdu_len in struct ieee80211_sta.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hz``IEEE80211_HW_TX_FRAG_LIST`` Hardware (or driver) supports sending frag_list skbs, needed for zero-copy software A-MSDU. h](j)}(h``IEEE80211_HW_TX_FRAG_LIST``h]j)}(hj h]hIEEE80211_HW_TX_FRAG_LIST}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(h[Hardware (or driver) supports sending frag_list skbs, needed for zero-copy software A-MSDU.h]h[Hardware (or driver) supports sending frag_list skbs, needed for zero-copy software A-MSDU.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hX``IEEE80211_HW_REPORTS_LOW_ACK`` The driver (or firmware) reports low ack event by ieee80211_report_low_ack() based on its own algorithm. For such drivers, mac80211 packet loss mechanism will not be triggered and driver is completely depending on firmware event for station kickout. h](j)}(h ``IEEE80211_HW_REPORTS_LOW_ACK``h]j)}(hj h]hIEEE80211_HW_REPORTS_LOW_ACK}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hThe driver (or firmware) reports low ack event by ieee80211_report_low_ack() based on its own algorithm. For such drivers, mac80211 packet loss mechanism will not be triggered and driver is completely depending on firmware event for station kickout.h]hThe driver (or firmware) reports low ack event by ieee80211_report_low_ack() based on its own algorithm. For such drivers, mac80211 packet loss mechanism will not be triggered and driver is completely depending on firmware event for station kickout.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h``IEEE80211_HW_SUPPORTS_TX_FRAG`` Hardware does fragmentation by itself. The stack will not do fragmentation. The callback for **set_frag_threshold** should be set as well. h](j)}(h!``IEEE80211_HW_SUPPORTS_TX_FRAG``h]j)}(hj> h]hIEEE80211_HW_SUPPORTS_TX_FRAG}(hj@ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj< ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj8 ubj)}(hhh]h)}(hHardware does fragmentation by itself. The stack will not do fragmentation. The callback for **set_frag_threshold** should be set as well.h](h]Hardware does fragmentation by itself. The stack will not do fragmentation. The callback for }(hjW hhhNhNubj)}(h**set_frag_threshold**h]hset_frag_threshold}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW ubh should be set as well.}(hjW hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjT ubah}(h]h ]h"]h$]h&]uh1jhj8 ubeh}(h]h ]h"]h$]h&]uh1jhjS hM hjubj)}(hV``IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA`` Hardware supports buffer STA on TDLS links. h](j)}(h)``IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA``h]j)}(hj h]h%IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(h+Hardware supports buffer STA on TDLS links.h]h+Hardware supports buffer STA on TDLS links.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h``IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP`` The driver (or firmware) doesn't support QoS NDP for AP probing - that's most likely a driver bug. h](j)}(h'``IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP``h]j)@}(hj h]h#IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hbThe driver (or firmware) doesn't support QoS NDP for AP probing - that's most likely a driver bug.h]hfThe driver (or firmware) doesn’t support QoS NDP for AP probing - that’s most likely a driver bug.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h``IEEE80211_HW_BUFF_MMPDU_TXQ`` use the TXQ for bufferable MMPDUs, this of course requires the driver to use TXQs to start with. h](j)}(h``IEEE80211_HW_BUFF_MMPDU_TXQ``h]j)}(hj h]hIEEE80211_HW_BUFF_MMPDU_TXQ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(h`use the TXQ for bufferable MMPDUs, this of course requires the driver to use TXQs to start with.h]h`use the TXQ for bufferable MMPDUs, this of course requires the driver to use TXQs to start with.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hXS``IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW`` (Hardware) rate control supports VHT extended NSS BW (dot11VHTExtendedNSSBWCapable). This flag will be set if the selected rate control algorithm sets ``RATE_CTRL_CAPA_VHT_EXT_NSS_BW`` but if the rate control is built-in then it must be set by the driver. See also the documentation for that flag. h](j)}(h(``IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW``h]j)}(hj8 h]h$IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6 ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj2 ubj)}(hhh]h)}(hX)(Hardware) rate control supports VHT extended NSS BW (dot11VHTExtendedNSSBWCapable). This flag will be set if the selected rate control algorithm sets ``RATE_CTRL_CAPA_VHT_EXT_NSS_BW`` but if the rate control is built-in then it must be set by the driver. See also the documentation for that flag.h](h(Hardware) rate control supports VHT extended NSS BW (dot11VHTExtendedNSSBWCapable). This flag will be set if the selected rate control algorithm sets }(hjQ hhhNhNubj)}(h!``RATE_CTRL_CAPA_VHT_EXT_NSS_BW``h]hRATE_CTRL_CAPA_VHT_EXT_NSS_BW}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubhq but if the rate control is built-in then it must be set by the driver. See also the documentation for that flag.}(hjQ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjN ubah}(h]h ]h"]h$]h&]uh1jhj2 ubeh}(h]h ]h"]h$]h&]uh1jhjM hM hjubj)}(h``IEEE80211_HW_STA_MMPDU_TXQ`` use the extra non-TID per-station TXQ for all MMPDUs on station interfaces. This of course requires the driver to use TXQs to start with. h](j)}(h``IEEE80211_HW_STA_MMPDU_TXQ``h]j)}(hj h]hIEEE80211_HW_STA_MMPDU_TXQ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj~ ubj)}(hhh]h)}(huse the extra non-TID per-station TXQ for all MMPDUs on station interfaces. This of course requires the driver to use TXQs to start with.h]huse the extra non-TID per-station TXQ for all MMPDUs on station interfaces. This of course requires the driver to use TXQs to start with.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(ho``IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN`` Driver does not report accurate A-MPDU length in tx status information h](j)}(h'``IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN``h]j)}(hj h]h#IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubj)}(hhh]h)}(hFDriver does not report accurate A-MPDU length in tx status informationh]hFDriver does not report accurate A-MPDU length in tx status information}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hD``IEEE80211_HW_SUPPORTS_MULTI_BSSID`` Hardware supports multi BSSID h](j)}(h%``IEEE80211_HW_SUPPORTS_MULTI_BSSID``h]j)}(hj h]h!IEEE80211_HW_SUPPORTS_MULTI_BSSID}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM! hj ubj)}(hhh]h)}(hHardware supports multi BSSIDh]hHardware supports multi BSSID}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM! hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM! hjubj)}(h``IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID`` Hardware supports multi BSSID only for HE APs. Applies if **IEEE80211_HW_SUPPORTS_MULTI_BSSID** is set. h](j)}(h-``IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID``h]j)}(hj1 h]h)IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM% hj+ ubj)}(hhh]h)}(hgHardware supports multi BSSID only for HE APs. Applies if **IEEE80211_HW_SUPPORTS_MULTI_BSSID** is set.h](h:Hardware supports multi BSSID only for HE APs. Applies if }(hjJ hhhNhNubj)}(h%**IEEE80211_HW_SUPPORTS_MULTI_BSSID**h]h!IEEE80211_HW_SUPPORTS_MULTI_BSSID}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubh is set.}(hjJ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM$ hjG ubah}(h]h ]h"]h$]h&]uh1jhj+ ubeh}(h]h ]h"]h$]h&]uh1jhjF hM% hjubj)}(h``IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT`` The card and driver is only aggregating MPDUs with the same keyid, allowing mac80211 to keep Tx A-MPDU sessions active while rekeying with Extended Key ID. h](j)}(h(``IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT``h]j)}(hj} h]h$IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM* hjw ubj)}(hhh]h)}(hThe card and driver is only aggregating MPDUs with the same keyid, allowing mac80211 to keep Tx A-MPDU sessions active while rekeying with Extended Key ID.h]hThe card and driver is only aggregating MPDUs with the same keyid, allowing mac80211 to keep Tx A-MPDU sessions active while rekeying with Extended Key ID.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM( hj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hM* hjubj)}(hV``IEEE80211_HW_SUPPORTS_TX_ENCAP_OFFLOAD`` Hardware supports tx encapsulation offload h](j)}(h*``IEEE80211_HW_SUPPORTS_TX_ENCAP_OFFLOAD``h]j)}(hj h]h&IEEE80211_HW_SUPPORTS_TX_ENCAP_OFFLOAD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM. hj ubj)}(hhh]h)}(h*Hardware supports tx encapsulation offloadh]h*Hardware supports tx encapsulation offload}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM- hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM. hjubj)}(hV``IEEE80211_HW_SUPPORTS_RX_DECAP_OFFLOAD`` Hardware supports rx decapsulation offload h](j)}(h*``IEEE80211_HW_SUPPORTS_RX_DECAP_OFFLOAD``h]j)}(hj h]h&IEEE80211_HW_SUPPORTS_RX_DECAP_OFFLOAD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM2 hj ubj)}(hhh]h)}(h*Hardware supports rx decapsulation offloadh]h*Hardware supports rx decapsulation offload}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM1 hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM2 hjubj)}(hX-``IEEE80211_HW_SUPPORTS_CONC_MON_RX_DECAP`` Hardware supports concurrent rx decapsulation offload and passing raw 802.11 frames for monitor iface. If this is supported, the driver must pass both 802.3 frames for real usage and 802.11 frames with ``RX_FLAG_ONLY_MONITOR`` set for monitor to the stack. h](j)}(h+``IEEE80211_HW_SUPPORTS_CONC_MON_RX_DECAP``h]j)}(hj+h]h'IEEE80211_HW_SUPPORTS_CONC_MON_RX_DECAP}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM9 hj%ubj)}(hhh]h)}(hXHardware supports concurrent rx decapsulation offload and passing raw 802.11 frames for monitor iface. If this is supported, the driver must pass both 802.3 frames for real usage and 802.11 frames with ``RX_FLAG_ONLY_MONITOR`` set for monitor to the stack.h](hHardware supports concurrent rx decapsulation offload and passing raw 802.11 frames for monitor iface. If this is supported, the driver must pass both 802.3 frames for real usage and 802.11 frames with }(hjDhhhNhNubj)}(h``RX_FLAG_ONLY_MONITOR``h]hRX_FLAG_ONLY_MONITOR}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh set for monitor to the stack.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM5 hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM9 hjubj)}(h``IEEE80211_HW_DETECTS_COLOR_COLLISION`` HW/driver has support for BSS color collision detection and doesn't need it in software. h](j)}(h(``IEEE80211_HW_DETECTS_COLOR_COLLISION``h]j)}(hjwh]h$IEEE80211_HW_DETECTS_COLOR_COLLISION}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM= hjqubj)}(hhh]h)}(hXHW/driver has support for BSS color collision detection and doesn't need it in software.h]hZHW/driver has support for BSS color collision detection and doesn’t need it in software.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM< hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjubj)}(h``IEEE80211_HW_MLO_MCAST_MULTI_LINK_TX`` Hardware/driver handles transmitting multicast frames on all links, mac80211 should not do that. h](j)}(h(``IEEE80211_HW_MLO_MCAST_MULTI_LINK_TX``h]j)}(hjh]h$IEEE80211_HW_MLO_MCAST_MULTI_LINK_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMA hjubj)}(hhh]h)}(h`Hardware/driver handles transmitting multicast frames on all links, mac80211 should not do that.h]h`Hardware/driver handles transmitting multicast frames on all links, mac80211 should not do that.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM@ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMA hjubj)}(h{``IEEE80211_HW_DISALLOW_PUNCTURING`` HW requires disabling puncturing in EHT and connecting with a lower bandwidth instead h](j)}(h$``IEEE80211_HW_DISALLOW_PUNCTURING``h]j)}(hjh]h IEEE80211_HW_DISALLOW_PUNCTURING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhME hjubj)}(hhh]h)}(hUHW requires disabling puncturing in EHT and connecting with a lower bandwidth insteadh]hUHW requires disabling puncturing in EHT and connecting with a lower bandwidth instead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMD hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhME hjubj)}(h``IEEE80211_HW_DISALLOW_PUNCTURING_5GHZ`` HW requires disabling puncturing in EHT in 5 GHz and connecting with a lower bandwidth instead h](j)}(h)``IEEE80211_HW_DISALLOW_PUNCTURING_5GHZ``h]j)}(hj%h]h%IEEE80211_HW_DISALLOW_PUNCTURING_5GHZ}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMI hjubj)}(hhh]h)}(h^HW requires disabling puncturing in EHT in 5 GHz and connecting with a lower bandwidth insteadh]h^HW requires disabling puncturing in EHT in 5 GHz and connecting with a lower bandwidth instead}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMH hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMI hjubj)}(h``IEEE80211_HW_HANDLES_QUIET_CSA`` HW/driver handles quieting for CSA, so no need to stop queues. This really should be set by a driver that implements MLO, so operation can continue on other links when one link is switching. h](j)}(h"``IEEE80211_HW_HANDLES_QUIET_CSA``h]j)}(hj_h]hIEEE80211_HW_HANDLES_QUIET_CSA}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMO hjYubj)}(hhh]h)}(hHW/driver handles quieting for CSA, so no need to stop queues. This really should be set by a driver that implements MLO, so operation can continue on other links when one link is switching.h]hHW/driver handles quieting for CSA, so no need to stop queues. This really should be set by a driver that implements MLO, so operation can continue on other links when one link is switching.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhML hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMO hjubj)}(h``IEEE80211_HW_STRICT`` strictly enforce certain things mandated by the spec but otherwise ignored/worked around for interoperability. This is a HW flag so drivers can opt in according to their own control, e.g. in testing. h](j)}(h``IEEE80211_HW_STRICT``h]j)}(hjh]hIEEE80211_HW_STRICT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMU hjubj)}(hhh]h)}(hstrictly enforce certain things mandated by the spec but otherwise ignored/worked around for interoperability. This is a HW flag so drivers can opt in according to their own control, e.g. in testing.h]hstrictly enforce certain things mandated by the spec but otherwise ignored/worked around for interoperability. This is a HW flag so drivers can opt in according to their own control, e.g. in testing.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMR hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU hjubj)}(hK``NUM_IEEE80211_HW_FLAGS`` number of hardware flags, used for sizing arraysh](j)}(h``NUM_IEEE80211_HW_FLAGS``h]j)}(hjh]hNUM_IEEE80211_HW_FLAGS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMW hjubj)}(hhh]h)}(h0number of hardware flags, used for sizing arraysh]h0number of hardware flags, used for sizing arrays}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMX hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM[ hhhhubh)}(hX-These flags are used to indicate hardware capabilities to the stack. Generally, flags here should have their meaning done in a way that the simplest hardware doesn't need setting any particular flags. There are some exceptions to this rule, however, so you are advised to review these flags carefully.h]hX/These flags are used to indicate hardware capabilities to the stack. Generally, flags here should have their meaning done in a way that the simplest hardware doesn’t need setting any particular flags. There are some exceptions to this rule, however, so you are advised to review these flags carefully.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM3 hhhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_hw (C struct)c.ieee80211_hwhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h ieee80211_hwh]jI)}(hstruct ieee80211_hwh](jO)}(hstructh]hstruct}(hjThhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjPhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM< ubja)}(h h]h }(hjchhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjPhhhjbhM< ubjr)}(h ieee80211_hwh]jx)}(hjNh]h ieee80211_hw}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjqubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjPhhhjbhM< ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjLhhhjbhM< ubah}(h]jGah ](jjeh"]h$]h&]jj)jhuh1jBhjbhM< hjIhhubj)}(hhh]h)}(hhardware information and stateh]hhardware information and state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMo hjhhubah}(h]h ]h"]h$]h&]uh1jhjIhhhjbhM< ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1j=hhhhhNhNubj)}(hX**Definition**:: struct ieee80211_hw { struct ieee80211_conf conf; struct wiphy *wiphy; const char *rate_control_algorithm; void *priv; unsigned long flags[BITS_TO_LONGS(NUM_IEEE80211_HW_FLAGS)]; unsigned int extra_tx_headroom; unsigned int extra_beacon_tailroom; int vif_data_size; int sta_data_size; int chanctx_data_size; int txq_data_size; u16 queues; u16 max_listen_interval; s8 max_signal; u8 max_rates; u8 max_report_rates; u8 max_rate_tries; u16 max_rx_aggregation_subframes; u16 max_tx_aggregation_subframes; u8 max_tx_fragments; u8 offchannel_tx_hw_queue; u8 radiotap_mcs_details; u16 radiotap_vht_details; struct { int units_pos; s16 accuracy; } radiotap_timestamp; netdev_features_t netdev_features; u8 uapsd_queues; u8 uapsd_max_sp_len; u8 max_nan_de_entries; u8 tx_sk_pacing_shift; u8 weight_multiplier; u32 max_mtu; const s8 *tx_power_levels; u8 max_txpwr_levels_idx; }; **Members** ``conf`` :c:type:`struct ieee80211_conf `, device configuration, don't use. ``wiphy`` This points to the :c:type:`struct wiphy ` allocated for this 802.11 PHY. You must fill in the **perm_addr** and **dev** members of this structure using SET_IEEE80211_DEV() and SET_IEEE80211_PERM_ADDR(). Additionally, all supported bands (with channels, bitrates) are registered here. ``rate_control_algorithm`` rate control algorithm for this hardware. If unset (NULL), the default algorithm will be used. Must be set before calling ieee80211_register_hw(). ``priv`` pointer to private area that was allocated for driver use along with this structure. ``flags`` hardware flags, see :c:type:`enum ieee80211_hw_flags `. ``extra_tx_headroom`` headroom to reserve in each transmit skb for use by the driver (e.g. for transmit headers.) ``extra_beacon_tailroom`` tailroom to reserve in each beacon tx skb. Can be used by drivers to add extra IEs. ``vif_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_vif `. ``sta_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_sta `. ``chanctx_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_chanctx_conf `. ``txq_data_size`` size (in bytes) of the drv_priv data area within **struct** ieee80211_txq. ``queues`` number of available hardware transmit queues for data packets. WMM/QoS requires at least four, these queues need to have configurable access parameters. ``max_listen_interval`` max listen interval in units of beacon interval that HW supports ``max_signal`` Maximum value for signal (rssi) in RX information, used only when **IEEE80211_HW_SIGNAL_UNSPEC** or **IEEE80211_HW_SIGNAL_DB** ``max_rates`` maximum number of alternate rate retry stages the hw can handle. ``max_report_rates`` maximum number of alternate rate retry stages the hw can report back. ``max_rate_tries`` maximum number of tries for each stage ``max_rx_aggregation_subframes`` maximum buffer size (number of sub-frames) to be used for A-MPDU block ack receiver aggregation. This is only relevant if the device has restrictions on the number of subframes, if it relies on mac80211 to do reordering it shouldn't be set. ``max_tx_aggregation_subframes`` maximum number of subframes in an aggregate an HT/HE device will transmit. In HT AddBA we'll advertise a constant value of 64 as some older APs crash if the window size is smaller (an example is LinkSys WRT120N with FW v1.0.07 build 002 Jun 18 2012). For AddBA to HE capable peers this value will be used. ``max_tx_fragments`` maximum number of tx buffers per (A)-MSDU, sum of 1 + skb_shinfo(skb)->nr_frags for each skb in the frag_list. ``offchannel_tx_hw_queue`` HW queue ID to use for offchannel TX (if ``IEEE80211_HW_QUEUE_CONTROL`` is set) ``radiotap_mcs_details`` lists which MCS information can the HW reports, by default it is set to _MCS, _GI and _BW but doesn't include _FMT. Use ``IEEE80211_RADIOTAP_MCS_HAVE_``\* values, only adding _BW is supported today. ``radiotap_vht_details`` lists which VHT MCS information the HW reports, the default is _GI | _BANDWIDTH. Use the ``IEEE80211_RADIOTAP_VHT_KNOWN_``\* values. ``radiotap_timestamp`` Information for the radiotap timestamp field; if the **units_pos** member is set to a non-negative value then the timestamp field will be added and populated from the :c:type:`struct ieee80211_rx_status ` device_timestamp. ``radiotap_timestamp.units_pos`` Must be set to a combination of a IEEE80211_RADIOTAP_TIMESTAMP_UNIT_* and a IEEE80211_RADIOTAP_TIMESTAMP_SPOS_* value. ``radiotap_timestamp.accuracy`` If non-negative, fills the accuracy in the radiotap field and the accuracy known flag will be set. ``netdev_features`` netdev features to be set in each netdev created from this HW. Note that not all features are usable with mac80211, other features will be rejected during HW registration. ``uapsd_queues`` This bitmap is included in (re)association frame to indicate for each access category if it is uAPSD trigger-enabled and delivery- enabled. Use IEEE80211_WMM_IE_STA_QOSINFO_AC_* to set this bitmap. Each bit corresponds to different AC. Value '1' in specific bit means that corresponding AC is both trigger- and delivery-enabled. '0' means neither enabled. ``uapsd_max_sp_len`` maximum number of total buffered frames the WMM AP may deliver to a WMM STA during any Service Period triggered by the WMM STA. Use IEEE80211_WMM_IE_STA_QOSINFO_SP_* for correct values. ``max_nan_de_entries`` maximum number of NAN DE functions supported by the device. ``tx_sk_pacing_shift`` Pacing shift to set on TCP sockets when frames from them are encountered. The default should typically not be changed, unless the driver has good reasons for needing more buffers. ``weight_multiplier`` Driver specific airtime weight multiplier used while refilling deficit of each TXQ. ``max_mtu`` the max mtu could be set. ``tx_power_levels`` a list of power levels supported by the wifi hardware. The power levels can be specified either as integer or fractions. The power level at idx 0 shall be the maximum positive power level. ``max_txpwr_levels_idx`` the maximum valid idx of 'tx_power_levels' list.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMs hjubh literal_block)}(hXstruct ieee80211_hw { struct ieee80211_conf conf; struct wiphy *wiphy; const char *rate_control_algorithm; void *priv; unsigned long flags[BITS_TO_LONGS(NUM_IEEE80211_HW_FLAGS)]; unsigned int extra_tx_headroom; unsigned int extra_beacon_tailroom; int vif_data_size; int sta_data_size; int chanctx_data_size; int txq_data_size; u16 queues; u16 max_listen_interval; s8 max_signal; u8 max_rates; u8 max_report_rates; u8 max_rate_tries; u16 max_rx_aggregation_subframes; u16 max_tx_aggregation_subframes; u8 max_tx_fragments; u8 offchannel_tx_hw_queue; u8 radiotap_mcs_details; u16 radiotap_vht_details; struct { int units_pos; s16 accuracy; } radiotap_timestamp; netdev_features_t netdev_features; u8 uapsd_queues; u8 uapsd_max_sp_len; u8 max_nan_de_entries; u8 tx_sk_pacing_shift; u8 weight_multiplier; u32 max_mtu; const s8 *tx_power_levels; u8 max_txpwr_levels_idx; };h]hXstruct ieee80211_hw { struct ieee80211_conf conf; struct wiphy *wiphy; const char *rate_control_algorithm; void *priv; unsigned long flags[BITS_TO_LONGS(NUM_IEEE80211_HW_FLAGS)]; unsigned int extra_tx_headroom; unsigned int extra_beacon_tailroom; int vif_data_size; int sta_data_size; int chanctx_data_size; int txq_data_size; u16 queues; u16 max_listen_interval; s8 max_signal; u8 max_rates; u8 max_report_rates; u8 max_rate_tries; u16 max_rx_aggregation_subframes; u16 max_tx_aggregation_subframes; u8 max_tx_fragments; u8 offchannel_tx_hw_queue; u8 radiotap_mcs_details; u16 radiotap_vht_details; struct { int units_pos; s16 accuracy; } radiotap_timestamp; netdev_features_t netdev_features; u8 uapsd_queues; u8 uapsd_max_sp_len; u8 max_nan_de_entries; u8 tx_sk_pacing_shift; u8 weight_multiplier; u32 max_mtu; const s8 *tx_power_levels; u8 max_txpwr_levels_idx; };}hjsbah}(h]h ]h"]h$]h&]jjuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMu hjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh](j)}(h\``conf`` :c:type:`struct ieee80211_conf `, device configuration, don't use. h](j)}(h``conf``h]j)}(hjh]hconf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM{ hjubj)}(hhh]h)}(hR:c:type:`struct ieee80211_conf `, device configuration, don't use.h](h)}(h0:c:type:`struct ieee80211_conf `h]j)}(hj%h]hstruct ieee80211_conf}(hj'hhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocdriver-api/80211/mac80211 refdomainjreftypetype refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]sb reftargetieee80211_confuh1hhjhM{ hjubh$, device configuration, don’t use.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM{ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{ hjubj)}(hX.``wiphy`` This points to the :c:type:`struct wiphy ` allocated for this 802.11 PHY. You must fill in the **perm_addr** and **dev** members of this structure using SET_IEEE80211_DEV() and SET_IEEE80211_PERM_ADDR(). Additionally, all supported bands (with channels, bitrates) are registered here. h](j)}(h ``wiphy``h]j)}(hjih]hwiphy}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMy hjcubj)}(hhh]h)}(hX#This points to the :c:type:`struct wiphy ` allocated for this 802.11 PHY. You must fill in the **perm_addr** and **dev** members of this structure using SET_IEEE80211_DEV() and SET_IEEE80211_PERM_ADDR(). Additionally, all supported bands (with channels, bitrates) are registered here.h](hThis points to the }(hjhhhNhNubh)}(h:c:type:`struct wiphy `h]j)}(hjh]h struct wiphy}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKwiphyuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMu hjubh5 allocated for this 802.11 PHY. You must fill in the }(hjhhhNhNubj)}(h **perm_addr**h]h perm_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh members of this structure using SET_IEEE80211_DEV() and SET_IEEE80211_PERM_ADDR(). Additionally, all supported bands (with channels, bitrates) are registered here.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMu hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMy hjubj)}(h``rate_control_algorithm`` rate control algorithm for this hardware. If unset (NULL), the default algorithm will be used. Must be set before calling ieee80211_register_hw(). h](j)}(h``rate_control_algorithm``h]j)}(hjh]hrate_control_algorithm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hrate control algorithm for this hardware. If unset (NULL), the default algorithm will be used. Must be set before calling ieee80211_register_hw().h]hrate control algorithm for this hardware. If unset (NULL), the default algorithm will be used. Must be set before calling ieee80211_register_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h^``priv`` pointer to private area that was allocated for driver use along with this structure. h](j)}(h``priv``h]j)}(hj$h]hpriv}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM~ hjubj)}(hhh]h)}(hTpointer to private area that was allocated for driver use along with this structure.h]hTpointer to private area that was allocated for driver use along with this structure.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM} hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM~ hjubj)}(hV``flags`` hardware flags, see :c:type:`enum ieee80211_hw_flags `. h](j)}(h ``flags``h]j)}(hj^h]hflags}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjXubj)}(hhh]h)}(hKhardware flags, see :c:type:`enum ieee80211_hw_flags `.h](hhardware flags, see }(hjwhhhNhNubh)}(h6:c:type:`enum ieee80211_hw_flags `h]j)}(hjh]henum ieee80211_hw_flags}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_hw_flagsuh1hhjshM hjwubh.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjubj)}(hr``extra_tx_headroom`` headroom to reserve in each transmit skb for use by the driver (e.g. for transmit headers.) h](j)}(h``extra_tx_headroom``h]j)}(hjh]hextra_tx_headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h[headroom to reserve in each transmit skb for use by the driver (e.g. for transmit headers.)h]h[headroom to reserve in each transmit skb for use by the driver (e.g. for transmit headers.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hn``extra_beacon_tailroom`` tailroom to reserve in each beacon tx skb. Can be used by drivers to add extra IEs. h](j)}(h``extra_beacon_tailroom``h]j)}(hjh]hextra_beacon_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hStailroom to reserve in each beacon tx skb. Can be used by drivers to add extra IEs.h]hStailroom to reserve in each beacon tx skb. Can be used by drivers to add extra IEs.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hs``vif_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_vif `. h](j)}(h``vif_data_size``h]j)}(hj.h]h vif_data_size}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj(ubj)}(hhh]h)}(h`size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_vif `.h](h1size (in bytes) of the drv_priv data area within }(hjGhhhNhNubh)}(h.:c:type:`struct ieee80211_vif `h]j)}(hjQh]hstruct ieee80211_vif}(hjShhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjnhM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjubj)}(hs``sta_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_sta `. h](j)}(h``sta_data_size``h]j)}(hjh]h sta_data_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h`size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_sta `.h](h1size (in bytes) of the drv_priv data area within }(hjhhhNhNubh)}(h.:c:type:`struct ieee80211_sta `h]j)}(hjh]hstruct ieee80211_sta}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_stauh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``chanctx_data_size`` size (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_chanctx_conf `. h](j)}(h``chanctx_data_size``h]j)}(hjh]hchanctx_data_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hrsize (in bytes) of the drv_priv data area within :c:type:`struct ieee80211_chanctx_conf `.h](h1size (in bytes) of the drv_priv data area within }(hjhhhNhNubh)}(h@:c:type:`struct ieee80211_chanctx_conf `h]j)}(hj h]hstruct ieee80211_chanctx_conf}(hj hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_chanctx_confuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj(hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h]``txq_data_size`` size (in bytes) of the drv_priv data area within **struct** ieee80211_txq. h](j)}(h``txq_data_size``h]j)}(hjEh]h txq_data_size}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj?ubj)}(hhh]h)}(hJsize (in bytes) of the drv_priv data area within **struct** ieee80211_txq.h](h1size (in bytes) of the drv_priv data area within }(hj^hhhNhNubj)}(h **struct**h]hstruct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh ieee80211_txq.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM hjubj)}(h``queues`` number of available hardware transmit queues for data packets. WMM/QoS requires at least four, these queues need to have configurable access parameters. h](j)}(h ``queues``h]j)}(hjh]hqueues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hnumber of available hardware transmit queues for data packets. WMM/QoS requires at least four, these queues need to have configurable access parameters.h]hnumber of available hardware transmit queues for data packets. WMM/QoS requires at least four, these queues need to have configurable access parameters.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hY``max_listen_interval`` max listen interval in units of beacon interval that HW supports h](j)}(h``max_listen_interval``h]j)}(hjh]hmax_listen_interval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h@max listen interval in units of beacon interval that HW supportsh]h@max listen interval in units of beacon interval that HW supports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``max_signal`` Maximum value for signal (rssi) in RX information, used only when **IEEE80211_HW_SIGNAL_UNSPEC** or **IEEE80211_HW_SIGNAL_DB** h](j)}(h``max_signal``h]j)}(hjh]h max_signal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h~Maximum value for signal (rssi) in RX information, used only when **IEEE80211_HW_SIGNAL_UNSPEC** or **IEEE80211_HW_SIGNAL_DB**h](hBMaximum value for signal (rssi) in RX information, used only when }(hjhhhNhNubj)}(h**IEEE80211_HW_SIGNAL_UNSPEC**h]hIEEE80211_HW_SIGNAL_UNSPEC}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**IEEE80211_HW_SIGNAL_DB**h]hIEEE80211_HW_SIGNAL_DB}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hO``max_rates`` maximum number of alternate rate retry stages the hw can handle. h](j)}(h ``max_rates``h]j)}(hj_h]h max_rates}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjYubj)}(hhh]h)}(h@maximum number of alternate rate retry stages the hw can handle.h]h@maximum number of alternate rate retry stages the hw can handle.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjubj)}(h[``max_report_rates`` maximum number of alternate rate retry stages the hw can report back. h](j)}(h``max_report_rates``h]j)}(hjh]hmax_report_rates}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hEmaximum number of alternate rate retry stages the hw can report back.h]hEmaximum number of alternate rate retry stages the hw can report back.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h:``max_rate_tries`` maximum number of tries for each stage h](j)}(h``max_rate_tries``h]j)}(hjh]hmax_rate_tries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(h&maximum number of tries for each stageh]h&maximum number of tries for each stage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hX``max_rx_aggregation_subframes`` maximum buffer size (number of sub-frames) to be used for A-MPDU block ack receiver aggregation. This is only relevant if the device has restrictions on the number of subframes, if it relies on mac80211 to do reordering it shouldn't be set. h](j)}(h ``max_rx_aggregation_subframes``h]j)}(hj h]hmax_rx_aggregation_subframes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hmaximum buffer size (number of sub-frames) to be used for A-MPDU block ack receiver aggregation. This is only relevant if the device has restrictions on the number of subframes, if it relies on mac80211 to do reordering it shouldn't be set.h]hmaximum buffer size (number of sub-frames) to be used for A-MPDU block ack receiver aggregation. This is only relevant if the device has restrictions on the number of subframes, if it relies on mac80211 to do reordering it shouldn’t be set.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM hjubj)}(hXS``max_tx_aggregation_subframes`` maximum number of subframes in an aggregate an HT/HE device will transmit. In HT AddBA we'll advertise a constant value of 64 as some older APs crash if the window size is smaller (an example is LinkSys WRT120N with FW v1.0.07 build 002 Jun 18 2012). For AddBA to HE capable peers this value will be used. h](j)}(h ``max_tx_aggregation_subframes``h]j)}(hjFh]hmax_tx_aggregation_subframes}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj@ubj)}(hhh]h)}(hX1maximum number of subframes in an aggregate an HT/HE device will transmit. In HT AddBA we'll advertise a constant value of 64 as some older APs crash if the window size is smaller (an example is LinkSys WRT120N with FW v1.0.07 build 002 Jun 18 2012). For AddBA to HE capable peers this value will be used.h]hX3maximum number of subframes in an aggregate an HT/HE device will transmit. In HT AddBA we’ll advertise a constant value of 64 as some older APs crash if the window size is smaller (an example is LinkSys WRT120N with FW v1.0.07 build 002 Jun 18 2012). For AddBA to HE capable peers this value will be used.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjubj)}(h``max_tx_fragments`` maximum number of tx buffers per (A)-MSDU, sum of 1 + skb_shinfo(skb)->nr_frags for each skb in the frag_list. h](j)}(h``max_tx_fragments``h]j)}(hjh]hmax_tx_fragments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjzubj)}(hhh]h)}(hnmaximum number of tx buffers per (A)-MSDU, sum of 1 + skb_shinfo(skb)->nr_frags for each skb in the frag_list.h]hnmaximum number of tx buffers per (A)-MSDU, sum of 1 + skb_shinfo(skb)->nr_frags for each skb in the frag_list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hk``offchannel_tx_hw_queue`` HW queue ID to use for offchannel TX (if ``IEEE80211_HW_QUEUE_CONTROL`` is set) h](j)}(h``offchannel_tx_hw_queue``h]j)}(hjh]hoffchannel_tx_hw_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hOHW queue ID to use for offchannel TX (if ``IEEE80211_HW_QUEUE_CONTROL`` is set)h](h)HW queue ID to use for offchannel TX (if }(hjhhhNhNubj)}(h``IEEE80211_HW_QUEUE_CONTROL``h]hIEEE80211_HW_QUEUE_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``radiotap_mcs_details`` lists which MCS information can the HW reports, by default it is set to _MCS, _GI and _BW but doesn't include _FMT. Use ``IEEE80211_RADIOTAP_MCS_HAVE_``\* values, only adding _BW is supported today. h](j)}(h``radiotap_mcs_details``h]j)}(hjh]hradiotap_mcs_details}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hlists which MCS information can the HW reports, by default it is set to _MCS, _GI and _BW but doesn't include _FMT. Use ``IEEE80211_RADIOTAP_MCS_HAVE_``\* values, only adding _BW is supported today.h](hzlists which MCS information can the HW reports, by default it is set to _MCS, _GI and _BW but doesn’t include _FMT. Use }(hjhhhNhNubj)}(h ``IEEE80211_RADIOTAP_MCS_HAVE_``h]hIEEE80211_RADIOTAP_MCS_HAVE_}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.* values, only adding _BW is supported today.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``radiotap_vht_details`` lists which VHT MCS information the HW reports, the default is _GI | _BANDWIDTH. Use the ``IEEE80211_RADIOTAP_VHT_KNOWN_``\* values. h](j)}(h``radiotap_vht_details``h]j)}(hjRh]hradiotap_vht_details}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjLubj)}(hhh]h)}(hlists which VHT MCS information the HW reports, the default is _GI | _BANDWIDTH. Use the ``IEEE80211_RADIOTAP_VHT_KNOWN_``\* values.h](hYlists which VHT MCS information the HW reports, the default is _GI | _BANDWIDTH. Use the }(hjkhhhNhNubj)}(h!``IEEE80211_RADIOTAP_VHT_KNOWN_``h]hIEEE80211_RADIOTAP_VHT_KNOWN_}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh * values.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM hjubj)}(hX ``radiotap_timestamp`` Information for the radiotap timestamp field; if the **units_pos** member is set to a non-negative value then the timestamp field will be added and populated from the :c:type:`struct ieee80211_rx_status ` device_timestamp. h](j)}(h``radiotap_timestamp``h]j)}(hjh]hradiotap_timestamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hInformation for the radiotap timestamp field; if the **units_pos** member is set to a non-negative value then the timestamp field will be added and populated from the :c:type:`struct ieee80211_rx_status ` device_timestamp.h](h5Information for the radiotap timestamp field; if the }(hjhhhNhNubj)}(h **units_pos**h]h units_pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe member is set to a non-negative value then the timestamp field will be added and populated from the }(hjhhhNhNubh)}(h::c:type:`struct ieee80211_rx_status `h]j)}(hjh]hstruct ieee80211_rx_status}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_rx_statusuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubh device_timestamp.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``radiotap_timestamp.units_pos`` Must be set to a combination of a IEEE80211_RADIOTAP_TIMESTAMP_UNIT_* and a IEEE80211_RADIOTAP_TIMESTAMP_SPOS_* value. h](j)}(h ``radiotap_timestamp.units_pos``h]j)}(hj h]hradiotap_timestamp.units_pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hvMust be set to a combination of a IEEE80211_RADIOTAP_TIMESTAMP_UNIT_* and a IEEE80211_RADIOTAP_TIMESTAMP_SPOS_* value.h]hvMust be set to a combination of a IEEE80211_RADIOTAP_TIMESTAMP_UNIT_* and a IEEE80211_RADIOTAP_TIMESTAMP_SPOS_* value.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM hjubj)}(h``radiotap_timestamp.accuracy`` If non-negative, fills the accuracy in the radiotap field and the accuracy known flag will be set. h](j)}(h``radiotap_timestamp.accuracy``h]j)}(hjGh]hradiotap_timestamp.accuracy}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjAubj)}(hhh]h)}(hbIf non-negative, fills the accuracy in the radiotap field and the accuracy known flag will be set.h]hbIf non-negative, fills the accuracy in the radiotap field and the accuracy known flag will be set.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM hjubj)}(h``netdev_features`` netdev features to be set in each netdev created from this HW. Note that not all features are usable with mac80211, other features will be rejected during HW registration. h](j)}(h``netdev_features``h]j)}(hjh]hnetdev_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj{ubj)}(hhh]h)}(hnetdev features to be set in each netdev created from this HW. Note that not all features are usable with mac80211, other features will be rejected during HW registration.h]hnetdev features to be set in each netdev created from this HW. Note that not all features are usable with mac80211, other features will be rejected during HW registration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hXu``uapsd_queues`` This bitmap is included in (re)association frame to indicate for each access category if it is uAPSD trigger-enabled and delivery- enabled. Use IEEE80211_WMM_IE_STA_QOSINFO_AC_* to set this bitmap. Each bit corresponds to different AC. Value '1' in specific bit means that corresponding AC is both trigger- and delivery-enabled. '0' means neither enabled. h](j)}(h``uapsd_queues``h]j)}(hjh]h uapsd_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hXcThis bitmap is included in (re)association frame to indicate for each access category if it is uAPSD trigger-enabled and delivery- enabled. Use IEEE80211_WMM_IE_STA_QOSINFO_AC_* to set this bitmap. Each bit corresponds to different AC. Value '1' in specific bit means that corresponding AC is both trigger- and delivery-enabled. '0' means neither enabled.h]hXkThis bitmap is included in (re)association frame to indicate for each access category if it is uAPSD trigger-enabled and delivery- enabled. Use IEEE80211_WMM_IE_STA_QOSINFO_AC_* to set this bitmap. Each bit corresponds to different AC. Value ‘1’ in specific bit means that corresponding AC is both trigger- and delivery-enabled. ‘0’ means neither enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``uapsd_max_sp_len`` maximum number of total buffered frames the WMM AP may deliver to a WMM STA during any Service Period triggered by the WMM STA. Use IEEE80211_WMM_IE_STA_QOSINFO_SP_* for correct values. h](j)}(h``uapsd_max_sp_len``h]j)}(hjh]huapsd_max_sp_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hmaximum number of total buffered frames the WMM AP may deliver to a WMM STA during any Service Period triggered by the WMM STA. Use IEEE80211_WMM_IE_STA_QOSINFO_SP_* for correct values.h]hmaximum number of total buffered frames the WMM AP may deliver to a WMM STA during any Service Period triggered by the WMM STA. Use IEEE80211_WMM_IE_STA_QOSINFO_SP_* for correct values.,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hS``max_nan_de_entries`` maximum number of NAN DE functions supported by the device. h](j)}(h``max_nan_de_entries``h]j)}(hj/h]hmax_nan_de_entries}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj)ubj)}(hhh]h)}(h;maximum number of NAN DE functions supported by the device.h]h;maximum number of NAN DE functions supported by the device.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM hjubj)}(h``tx_sk_pacing_shift`` Pacing shift to set on TCP sockets when frames from them are encountered. The default should typically not be changed, unless the driver has good reasons for needing more buffers. h](j)}(h``tx_sk_pacing_shift``h]j)}(hjih]htx_sk_pacing_shift}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjcubj)}(hhh]h)}(hPacing shift to set on TCP sockets when frames from them are encountered. The default should typically not be changed, unless the driver has good reasons for needing more buffers.h]hPacing shift to set on TCP sockets when frames from them are encountered. The default should typically not be changed, unless the driver has good reasons for needing more buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM hjubj)}(hj``weight_multiplier`` Driver specific airtime weight multiplier used while refilling deficit of each TXQ. h](j)}(h``weight_multiplier``h]j)}(hjh]hweight_multiplier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hSDriver specific airtime weight multiplier used while refilling deficit of each TXQ.h]hSDriver specific airtime weight multiplier used while refilling deficit of each TXQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h&``max_mtu`` the max mtu could be set. h](j)}(h ``max_mtu``h]j)}(hjh]hmax_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(hthe max mtu could be set.h]hthe max mtu could be set.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``tx_power_levels`` a list of power levels supported by the wifi hardware. The power levels can be specified either as integer or fractions. The power level at idx 0 shall be the maximum positive power level. h](j)}(h``tx_power_levels``h]j)}(hjh]htx_power_levels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubj)}(hhh]h)}(ha list of power levels supported by the wifi hardware. The power levels can be specified either as integer or fractions. The power level at idx 0 shall be the maximum positive power level.h]ha list of power levels supported by the wifi hardware. The power levels can be specified either as integer or fractions. The power level at idx 0 shall be the maximum positive power level.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjubj)}(hI``max_txpwr_levels_idx`` the maximum valid idx of 'tx_power_levels' list.h](j)}(h``max_txpwr_levels_idx``h]j)}(hjPh]hmax_txpwr_levels_idx}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjJubj)}(hhh]h)}(h0the maximum valid idx of 'tx_power_levels' list.h]h4the maximum valid idx of ‘tx_power_levels’ list.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hhhhubh)}(hUThis structure contains the configuration and hardware information for an 802.11 PHY.h]hUThis structure contains the configuration and hardware information for an 802.11 PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMp hhhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9SET_IEEE80211_DEV (C function)c.SET_IEEE80211_DEVhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(hDvoid SET_IEEE80211_DEV (struct ieee80211_hw *hw, struct device *dev)h]jI)}(hCvoid SET_IEEE80211_DEV(struct ieee80211_hw *hw, struct device *dev)h](hdesc_sig_keyword_type)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM\ ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhM\ ubjr)}(hSET_IEEE80211_DEVh]jx)}(hSET_IEEE80211_DEVh]hSET_IEEE80211_DEV}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhM\ ubhdesc_parameterlist)}(h-(struct ieee80211_hw *hw, struct device *dev)h](hdesc_parameter)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hj"hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj0ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj5modnameN classnameNjCjF)}jI]jD ASTIdentifier)}jIjsbc.SET_IEEE80211_DEVasbuh1hhjubja)}(h h]h }(hjVhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubhdesc_sig_punctuation)}(h*h]h*}(hjfhhhNhNubah}(h]h ]pah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hstruct device *devh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jRc.SET_IEEE80211_DEVasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhM\ ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhM\ ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhM\ hjhhubj)}(hhh]h)}(hset device for 802.11 hardwareh]hset device for 802.11 hardware}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMW hj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1j=hhhhhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` the :c:type:`struct ieee80211_hw ` to set the device for ``struct device *dev`` the :c:type:`struct device ` of this 802.11 deviceh](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM[ hj+ubj)}(hhh](j)}(hc``struct ieee80211_hw *hw`` the :c:type:`struct ieee80211_hw ` to set the device for h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjPh]hstruct ieee80211_hw *hw}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMY hjJubj)}(hhh]h)}(hFthe :c:type:`struct ieee80211_hw ` to set the device forh](hthe }(hjihhhNhNubh)}(h,:c:type:`struct ieee80211_hw `h]j)}(hjsh]hstruct ieee80211_hw}(hjuhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_hwuh1hhjehMY hjiubh to set the device for}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjehMY hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMY hjGubj)}(hQ``struct device *dev`` the :c:type:`struct device ` of this 802.11 deviceh](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM[ hjubj)}(hhh]h)}(h:the :c:type:`struct device ` of this 802.11 deviceh](hthe }(hjhhhNhNubh)}(h :c:type:`struct device `h]j)}(hjh]h struct device}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKdeviceuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMZ hjubh of this 802.11 device}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMZ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[ hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$SET_IEEE80211_PERM_ADDR (C function)c.SET_IEEE80211_PERM_ADDRhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(hFvoid SET_IEEE80211_PERM_ADDR (struct ieee80211_hw *hw, const u8 *addr)h]jI)}(hEvoid SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, const u8 *addr)h](j)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMg ubja)}(h h]h }(hj8hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj%hhhj7hMg ubjr)}(hSET_IEEE80211_PERM_ADDRh]jx)}(hSET_IEEE80211_PERM_ADDRh]hSET_IEEE80211_PERM_ADDR}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjFubah}(h]h ](jjeh"]h$]h&]jjuh1jqhj%hhhj7hMg ubj )}(h)(struct ieee80211_hw *hw, const u8 *addr)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjfhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjbubja)}(h h]h }(hjshhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjbubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjLsbc.SET_IEEE80211_PERM_ADDRasbuh1hhjbubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjbubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjbubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj^ubj)}(hconst u8 *addrh](jO)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.SET_IEEE80211_PERM_ADDRasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hj#hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(haddrh]haddr}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj^ubeh}(h]h ]h"]h$]h&]jjuh1j hj%hhhj7hMg ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj!hhhj7hMg ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhj7hMg hjhhubj)}(hhh]h)}(h1set the permanent MAC address for 802.11 hardwareh]h1set the permanent MAC address for 802.11 hardware}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMb hjWhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj7hMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1j=hhhhhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` the :c:type:`struct ieee80211_hw ` to set the MAC address for ``const u8 *addr`` the address to seth](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMf hjvubj)}(hhh](j)}(hh``struct ieee80211_hw *hw`` the :c:type:`struct ieee80211_hw ` to set the MAC address for h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMd hjubj)}(hhh]h)}(hKthe :c:type:`struct ieee80211_hw ` to set the MAC address forh](hthe }(hjhhhNhNubh)}(h,:c:type:`struct ieee80211_hw `h]j)}(hjh]hstruct ieee80211_hw}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_hwuh1hhjhMd hjubh to set the MAC address for}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMd hjubj)}(h%``const u8 *addr`` the address to seth](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMf hjubj)}(hhh]h)}(hthe address to seth]hthe address to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMe hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMf hjubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_ops (C struct)c.ieee80211_opshNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h ieee80211_opsh]jI)}(hstruct ieee80211_opsh](jO)}(hjVh]hstruct}(hjQhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjMhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM ubja)}(h h]h }(hj_hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjMhhhj^hM ubjr)}(h ieee80211_opsh]jx)}(hjKh]h ieee80211_ops}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjmubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjMhhhj^hM ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjIhhhj^hM ubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1jBhj^hM hjFhhubj)}(hhh]h)}(h%callbacks from mac80211 to the driverh]h%callbacks from mac80211 to the driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhj^hM ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1j=hhhhhNhNubj)}(hX**Definition**:: struct ieee80211_ops { void (*tx)(struct ieee80211_hw *hw,struct ieee80211_tx_control *control, struct sk_buff *skb); int (*start)(struct ieee80211_hw *hw); void (*stop)(struct ieee80211_hw *hw, bool suspend); #ifdef CONFIG_PM; int (*suspend)(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan); int (*resume)(struct ieee80211_hw *hw); void (*set_wakeup)(struct ieee80211_hw *hw, bool enabled); #endif; int (*add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*change_interface)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p); void (*remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*config)(struct ieee80211_hw *hw, u32 changed); void (*bss_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); void (*vif_cfg_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u64 changed); void (*link_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); u64 (*prepare_multicast)(struct ieee80211_hw *hw, struct netdev_hw_addr_list *mc_list); void (*configure_filter)(struct ieee80211_hw *hw,unsigned int changed_flags,unsigned int *total_flags, u64 multicast); void (*config_iface_filter)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int filter_flags, unsigned int changed_flags); int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set); int (*set_key)(struct ieee80211_hw *hw, enum set_key_cmd cmd,struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key); void (*update_tkip_key)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_key_conf *conf,struct ieee80211_sta *sta, u32 iv32, u16 *phase1key); void (*set_rekey_data)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data); void (*set_default_unicast_key)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int idx); int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req); void (*cancel_hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*sched_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies); int (*sched_scan_stop)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sw_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const u8 *mac_addr); void (*sw_scan_complete)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*get_stats)(struct ieee80211_hw *hw, struct ieee80211_low_level_stats *stats); void (*get_key_seq)(struct ieee80211_hw *hw,struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq); int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value); int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value); int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); #ifdef CONFIG_MAC80211_DEBUGFS; void (*vif_add_debugfs)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*link_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct dentry *dir); void (*sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct dentry *dir); void (*link_sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, struct dentry *dir); #endif; void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd, struct ieee80211_sta *sta); int (*sta_set_txpwr)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,struct ieee80211_sta *sta,enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state); void (*sta_pre_rcu_remove)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*link_sta_rc_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, u32 changed); void (*sta_rate_tbl_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*sta_statistics)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct station_info *sinfo); int (*conf_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int link_id, u16 ac, const struct ieee80211_tx_queue_params *params); u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf); void (*offset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 offset); void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*tx_last_beacon)(struct ieee80211_hw *hw); int (*ampdu_action)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params); int (*get_survey)(struct ieee80211_hw *hw, int idx, struct survey_info *survey); void (*rfkill_poll)(struct ieee80211_hw *hw); void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class); #ifdef CONFIG_NL80211_TESTMODE; int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void *data, int len); int (*testmode_dump)(struct ieee80211_hw *hw, struct sk_buff *skb,struct netlink_callback *cb, void *data, int len); #endif; void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop); void (*flush_sta)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); int (*remain_on_channel)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_channel *chan,int duration, enum ieee80211_roc_type type); int (*cancel_remain_on_channel)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx); void (*get_ringparam)(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); bool (*tx_frames_pending)(struct ieee80211_hw *hw); int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask); void (*event_callback)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct ieee80211_event *event); void (*allow_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); void (*release_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); int (*get_et_sset_count)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int sset); void (*get_et_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data); void (*get_et_strings)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u32 sset, u8 *data); void (*mgd_prepare_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_complete_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, unsigned int link_id); int (*add_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*remove_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*change_chanctx)(struct ieee80211_hw *hw,struct ieee80211_chanctx_conf *ctx, u32 changed); int (*assign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); void (*unassign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); int (*switch_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif_chanctx_switch *vifs,int n_vifs, enum ieee80211_chanctx_switch_mode mode); void (*reconfig_complete)(struct ieee80211_hw *hw, enum ieee80211_reconfig_type reconfig_type); #if IS_ENABLED(CONFIG_IPV6); void (*ipv6_addr_change)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct inet6_dev *idev); #endif; void (*channel_switch_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef); int (*pre_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*post_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*abort_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*channel_switch_rx_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); u32 (*get_expected_throughput)(struct ieee80211_hw *hw, struct ieee80211_sta *sta); int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, int *dbm); int (*tdls_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u8 oper_class,struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie); void (*tdls_cancel_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*tdls_recv_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_tdls_ch_sw_params *params); void (*wake_tx_queue)(struct ieee80211_hw *hw, struct ieee80211_txq *txq); void (*sync_rx_queues)(struct ieee80211_hw *hw); int (*start_nan)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf); int (*stop_nan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*nan_change_conf)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf, u32 changes); int (*add_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct cfg80211_nan_func *nan_func); void (*del_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u8 instance_id); bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *hw,struct sk_buff *head, struct sk_buff *skb); int (*get_ftm_responder_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_ftm_responder_stats *ftm_stats); int (*start_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); int (*set_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct cfg80211_tid_config *tid_conf); int (*reset_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, u8 tids); void (*update_vif_offload)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sta_set_4addr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); int (*set_sar_specs)(struct ieee80211_hw *hw, const struct cfg80211_sar_specs *sar); void (*sta_set_decap_offload)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); void (*add_twt_setup)(struct ieee80211_hw *hw,struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt); void (*twt_teardown_request)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 flowid); int (*set_radar_background)(struct ieee80211_hw *hw, struct cfg80211_chan_def *chandef); int (*net_fill_forward_path)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta,struct net_device_path_ctx *ctx, struct net_device_path *path); bool (*can_activate_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u16 active_links); int (*change_vif_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,u16 old_links, u16 new_links, struct ieee80211_bss_conf *old[IEEE80211_MLD_MAX_NUM_LINKS]); int (*change_sta_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u16 old_links, u16 new_links); int (*set_hw_timestamp)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_set_hw_timestamp *hwts); int (*net_setup_tc)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct net_device *dev,enum tc_setup_type type, void *type_data); enum ieee80211_neg_ttlm_res(*can_neg_ttlm)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_neg_ttlm *ttlm); void (*prep_add_interface)(struct ieee80211_hw *hw, enum nl80211_iftype type); }; **Members** ``tx`` Handler that 802.11 module calls for each transmitted frame. skb contains the buffer starting from the IEEE 802.11 header. The low-level driver should send the frame out based on configuration in the TX control data. This handler should, preferably, never fail and stop queues appropriately. Must be atomic. ``start`` Called before the first netdevice attached to the hardware is enabled. This should turn on the hardware and must turn on frame reception (for possibly enabled monitor interfaces.) Returns negative error codes, these may be seen in userspace, or zero. When the device is started it should not have a MAC address to avoid acknowledging frames before a non-monitor device is added. Must be implemented and can sleep. ``stop`` Called after last netdevice attached to the hardware is disabled. This should turn off the hardware (at least it must turn off frame reception.) May be called right after add_interface if that rejects an interface. If you added any work onto the mac80211 workqueue you should ensure to cancel it on this callback. Must be implemented and can sleep. ``suspend`` Suspend the device; mac80211 itself will quiesce before and stop transmitting and doing any other configuration, and then ask the device to suspend. This is only invoked when WoWLAN is configured, otherwise the device is deconfigured completely and reconfigured at resume time. The driver may also impose special conditions under which it wants to use the "normal" suspend (deconfigure), say if it only supports WoWLAN when the device is associated. In this case, it must return 1 from this function. ``resume`` If WoWLAN was configured, this indicates that mac80211 is now resuming its operation, after this the device must be fully functional again. If this returns an error, the only way out is to also unregister the device. If it returns 1, then mac80211 will also go through the regular complete restart on resume. ``set_wakeup`` Enable or disable wakeup when WoWLAN configuration is modified. The reason is that device_set_wakeup_enable() is supposed to be called when the configuration changes, not only in suspend(). ``add_interface`` Called when a netdevice attached to the hardware is enabled. Because it is not called for monitor mode devices, **start** and **stop** must be implemented. The driver should perform any initialization it needs before the device can be enabled. The initial configuration for the interface is given in the conf parameter. The callback may refuse to add an interface by returning a negative error code (which will be seen in userspace.) Must be implemented and can sleep. ``change_interface`` Called when a netdevice changes type. This callback is optional, but only if it is supported can interface types be switched while the interface is UP. The callback may sleep. Note that while an interface is being switched, it will not be found by the interface iteration callbacks. ``remove_interface`` Notifies a driver that an interface is going down. The **stop** callback is called after this if it is the last interface and no monitor interfaces are present. When all interfaces are removed, the MAC address in the hardware must be cleared so the device no longer acknowledges packets, the mac_addr member of the conf structure is, however, set to the MAC address of the device going away. Hence, this callback must be implemented. It can sleep. ``config`` Handler for configuration requests. IEEE 802.11 code calls this function to change hardware configuration, e.g., channel. This function should never fail but returns a negative error code if it does. The callback can sleep. ``bss_info_changed`` Handler for configuration requests related to BSS parameters that may vary during BSS's lifespan, and may affect low level driver (e.g. assoc/disassoc status, erp parameters). This function should not be used if no BSS has been set, unless for association indication. The **changed** parameter indicates which of the bss parameters has changed when a call is made. The callback can sleep. ``vif_cfg_changed`` Handler for configuration requests related to interface (MLD) parameters from :c:type:`struct ieee80211_vif_cfg ` that vary during the lifetime of the interface (e.g. assoc status, IP addresses, etc.) The **changed** parameter indicates which value changed. The callback can sleep. ``link_info_changed`` Handler for configuration requests related to link parameters from :c:type:`struct ieee80211_bss_conf ` that are related to an individual link. e.g. legacy/HT/VHT/... rate information. The **changed** parameter indicates which value changed, and the **link_id** parameter indicates the link ID. Note that the **link_id** will be 0 for non-MLO connections. The callback can sleep. ``start_ap`` Start operation on the AP interface, this is called after all the information in bss_conf is set and beacon can be retrieved. A channel context is bound before this is called. Note that if the driver uses software scan or ROC, this (and **stop_ap**) isn't called when the AP is just "paused" for scanning/ROC, which is indicated by the beacon being disabled/enabled via **bss_info_changed**. ``stop_ap`` Stop operation on the AP interface. ``prepare_multicast`` Prepare for multicast filter configuration. This callback is optional, and its return value is passed to configure_filter(). This callback must be atomic. ``configure_filter`` Configure the device's RX filter. See the section "Frame filtering" for more information. This callback must be implemented and can sleep. ``config_iface_filter`` Configure the interface's RX filter. This callback is optional and is used to configure which frames should be passed to mac80211. The filter_flags is the combination of FIF_* flags. The changed_flags is a bit mask that indicates which flags are changed. This callback can sleep. ``set_tim`` Set TIM bit. mac80211 calls this function when a TIM bit must be set or cleared for a given STA. Must be atomic. ``set_key`` See the section "Hardware crypto acceleration" This callback is only called between add_interface and remove_interface calls, i.e. while the given virtual interface is enabled. Returns a negative error code if the key can't be added. The callback can sleep. ``update_tkip_key`` See the section "Hardware crypto acceleration" This callback will be called in the context of Rx. Called for drivers which set IEEE80211_KEY_FLAG_TKIP_REQ_RX_P1_KEY. The callback must be atomic. ``set_rekey_data`` If the device supports GTK rekeying, for example while the host is suspended, it can assign this callback to retrieve the data necessary to do GTK rekeying, this is the KEK, KCK and replay counter. After rekeying was done it should (for example during resume) notify userspace of the new replay counter using ieee80211_gtk_rekey_notify(). ``set_default_unicast_key`` Set the default (unicast) key index, useful for WEP when the device sends data packets autonomously, e.g. for ARP offloading. The index can be 0-3, or -1 for unsetting it. ``hw_scan`` Ask the hardware to service the scan request, no need to start the scan state machine in stack. The scan must honour the channel configuration done by the regulatory agent in the wiphy's registered bands. The hardware (or the driver) needs to make sure that power save is disabled. The **req** ie/ie_len members are rewritten by mac80211 to contain the entire IEs after the SSID, so that drivers need not look at these at all but just send them after the SSID -- mac80211 includes the (extended) supported rates and HT information (where applicable). When the scan finishes, ieee80211_scan_completed() must be called; note that it also must be called when the scan cannot finish due to any error unless this callback returned a negative error code. This callback is also allowed to return the special return value 1, this indicates that hardware scan isn't desirable right now and a software scan should be done instead. A driver wishing to use this capability must ensure its (hardware) scan capabilities aren't advertised as more capable than mac80211's software scan is. The callback can sleep. ``cancel_hw_scan`` Ask the low-level tp cancel the active hw scan. The driver should ask the hardware to cancel the scan (if possible), but the scan will be completed only after the driver will call ieee80211_scan_completed(). This callback is needed for wowlan, to prevent enqueueing a new scan_work after the low-level driver was already suspended. The callback can sleep. ``sched_scan_start`` Ask the hardware to start scanning repeatedly at specific intervals. The driver must call the ieee80211_sched_scan_results() function whenever it finds results. This process will continue until sched_scan_stop is called. ``sched_scan_stop`` Tell the hardware to stop an ongoing scheduled scan. In this case, ieee80211_sched_scan_stopped() must not be called. ``sw_scan_start`` Notifier function that is called just before a software scan is started. Can be NULL, if the driver doesn't need this notification. The mac_addr parameter allows supporting NL80211_SCAN_FLAG_RANDOM_ADDR, the driver may set the NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR flag if it can use this parameter. The callback can sleep. ``sw_scan_complete`` Notifier function that is called just after a software scan finished. Can be NULL, if the driver doesn't need this notification. The callback can sleep. ``get_stats`` Return low-level statistics. Returns zero if statistics are available. The callback can sleep. ``get_key_seq`` If your device implements encryption in hardware and does IV/PN assignment then this callback should be provided to read the IV/PN for the given key from hardware. The callback must be atomic. ``set_frag_threshold`` Configuration of fragmentation threshold. Assign this if the device does fragmentation by itself. Note that to prevent the stack from doing fragmentation IEEE80211_HW_SUPPORTS_TX_FRAG should be set as well. The callback can sleep. ``set_rts_threshold`` Configuration of RTS threshold (if device needs it) The callback can sleep. ``sta_add`` Notifies low level driver about addition of an associated station, AP, IBSS/WDS/mesh peer etc. This callback can sleep. ``sta_remove`` Notifies low level driver about removal of an associated station, AP, IBSS/WDS/mesh peer etc. Note that after the callback returns it isn't safe to use the pointer, not even RCU protected; no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. This callback can sleep. ``vif_add_debugfs`` Drivers can use this callback to add a debugfs vif directory with its files. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. ``link_add_debugfs`` Drivers can use this callback to add debugfs files when a link is added to a mac80211 vif. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the default bss_conf with the vif's directory rather than a separate subdirectory. ``sta_add_debugfs`` Drivers can use this callback to add debugfs files when a station is added to mac80211's station list. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. ``link_sta_add_debugfs`` Drivers can use this callback to add debugfs files when a link is added to a mac80211 station. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the deflink with the station's directory rather than a separate subdirectory. ``sta_notify`` Notifies low level driver about power state transition of an associated station, AP, IBSS/WDS/mesh peer etc. For a VIF operating in AP mode, this callback will not be called when the flag ``IEEE80211_HW_AP_LINK_PS`` is set. Must be atomic. ``sta_set_txpwr`` Configure the station tx power. This callback set the tx power for the station. This callback can sleep. ``sta_state`` Notifies low level driver about state transition of a station (which can be the AP, a client, IBSS/WDS/mesh peer etc.) This callback is mutually exclusive with **sta_add**/**sta_remove**. It must not fail for down transitions but may fail for transitions up the list of states. Also note that after the callback returns it isn't safe to use the pointer, not even RCU protected - no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. The callback can sleep. ``sta_pre_rcu_remove`` Notify driver about station removal before RCU synchronisation. This is useful if a driver needs to have station pointers protected using RCU, it can then use this call to clear the pointers instead of waiting for an RCU grace period to elapse in **sta_state**. The callback can sleep. ``link_sta_rc_update`` Notifies the driver of changes to the bitrates that can be used to transmit to the station. The changes are advertised with bits from :c:type:`enum ieee80211_rate_control_changed ` and the values are reflected in the station data. This callback should only be used when the driver uses hardware rate control (``IEEE80211_HW_HAS_RATE_CONTROL``) since otherwise the rate control algorithm is notified directly. Must be atomic. ``sta_rate_tbl_update`` Notifies the driver that the rate table changed. This is only used if the configured rate control algorithm actually uses the new rate table API, and is therefore optional. Must be atomic. ``sta_statistics`` Get statistics for this station. For example with beacon filtering, the statistics kept by mac80211 might not be accurate, so let the driver pre-fill the statistics. The driver can fill most of the values (indicating which by setting the filled bitmap), but not all of them make sense - see the source for which ones are possible. Statistics that the driver doesn't fill will be filled by mac80211. The callback can sleep. ``conf_tx`` Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), bursting) for a hardware TX queue. Returns a negative error code on failure. The callback can sleep. ``get_tsf`` Get the current TSF timer value from firmware/hardware. Currently, this is only used for IBSS mode BSSID merging and debugging. Is not a required function. The callback can sleep. ``set_tsf`` Set the TSF timer to the specified value in the firmware/hardware. Currently, this is only used for IBSS mode debugging. Is not a required function. The callback can sleep. ``offset_tsf`` Offset the TSF timer by the specified value in the firmware/hardware. Preferred to set_tsf as it avoids delay between calling set_tsf() and hardware getting programmed, which will show up as TSF delay. Is not a required function. The callback can sleep. ``reset_tsf`` Reset the TSF timer and allow firmware/hardware to synchronize with other STAs in the IBSS. This is only used in IBSS mode. This function is optional if the firmware/hardware takes full care of TSF synchronization. The callback can sleep. ``tx_last_beacon`` Determine whether the last IBSS beacon was sent by us. This is needed only for IBSS mode and the result of this function is used to determine whether to reply to Probe Requests. Returns non-zero if this device sent the last beacon. The callback can sleep. ``ampdu_action`` Perform a certain A-MPDU action. The RA/TID combination determines the destination and TID we want the ampdu action to be performed for. The action is defined through ieee80211_ampdu_mlme_action. When the action is set to ``IEEE80211_AMPDU_TX_OPERATIONAL`` the driver may neither send aggregates containing more subframes than **buf_size** nor send aggregates in a way that lost frames would exceed the buffer size. If just limiting the aggregate size, this would be possible with a buf_size of 8: - ``TX: 1.....7`` - ``RX: 2....7`` (lost frame #1) - ``TX: 8..1...`` which is invalid since #1 was now re-transmitted well past the buffer size of 8. Correct ways to retransmit #1 would be: - ``TX: 1 or`` - ``TX: 18 or`` - ``TX: 81`` Even ``189`` would be wrong since 1 could be lost again. Returns a negative error code on failure. The driver may return ``IEEE80211_AMPDU_TX_START_IMMEDIATE`` for ``IEEE80211_AMPDU_TX_START`` if the session can start immediately. The callback can sleep. ``get_survey`` Return per-channel survey information ``rfkill_poll`` Poll rfkill hardware state. If you need this, you also need to set wiphy->rfkill_poll to ``true`` before registration, and need to call wiphy_rfkill_set_hw_state() in the callback. The callback can sleep. ``set_coverage_class`` Set slot time for given coverage class as specified in IEEE 802.11-2007 section 17.3.8.6 and modify ACK timeout accordingly; coverage class equals to -1 to enable ACK timeout estimation algorithm (dynack). To disable dynack set valid value for coverage class. This callback is not required and may sleep. ``testmode_cmd`` Implement a cfg80211 test mode command. The passed **vif** may be ``NULL``. The callback can sleep. ``testmode_dump`` Implement a cfg80211 test mode dump. The callback can sleep. ``flush`` Flush all pending frames from the hardware queue, making sure that the hardware queues are empty. The **queues** parameter is a bitmap of queues to flush, which is useful if different virtual interfaces use different hardware queues; it may also indicate all queues. If the parameter **drop** is set to ``true``, pending frames may be dropped. Note that vif can be NULL. The callback can sleep. ``flush_sta`` Flush or drop all pending frames from the hardware queue(s) for the given station, as it's about to be removed. The callback can sleep. ``channel_switch`` Drivers that need (or want) to offload the channel switch operation for CSAs received from the AP may implement this callback. They must then call ieee80211_chswitch_done() to indicate completion of the channel switch. ``set_antenna`` Set antenna configuration (tx_ant, rx_ant) on the device. Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may reject TX/RX mask combinations they cannot support by returning -EINVAL (also see nl80211.h **NL80211_ATTR_WIPHY_ANTENNA_TX**). ``get_antenna`` Get current antenna configuration from device (tx_ant, rx_ant). ``remain_on_channel`` Starts an off-channel period on the given channel, must call back to ieee80211_ready_on_channel() when on that channel. Note that normal channel traffic is not stopped as this is intended for hw offload. Frames to transmit on the off-channel channel are transmitted normally except for the ``IEEE80211_TX_CTL_TX_OFFCHAN`` flag. When the duration (which will always be non-zero) expires, the driver must call ieee80211_remain_on_channel_expired(). Note that this callback may be called while the device is in IDLE and must be accepted in this case. This callback may sleep. ``cancel_remain_on_channel`` Requests that an ongoing off-channel period is aborted before it expires. This callback may sleep. ``set_ringparam`` Set tx and rx ring sizes. ``get_ringparam`` Get tx and rx ring current and maximum sizes. ``tx_frames_pending`` Check if there is any pending frame in the hardware queues before entering power save. ``set_bitrate_mask`` Set a mask of rates to be used for rate control selection when transmitting a frame. Currently only legacy rates are handled. The callback can sleep. ``event_callback`` Notify driver about any event in mac80211. See :c:type:`enum ieee80211_event_type ` for the different types. The callback must be atomic. ``allow_buffered_frames`` Prepare device to allow the given number of frames to go out to the given station. The frames will be sent by mac80211 via the usual TX path after this call. The TX information for frames released will also have the ``IEEE80211_TX_CTL_NO_PS_BUFFER`` flag set and the last one will also have ``IEEE80211_TX_STATUS_EOSP`` set. In case frames from multiple TIDs are released and the driver might reorder them between the TIDs, it must set the ``IEEE80211_TX_STATUS_EOSP`` flag on the last frame and clear it on all others and also handle the EOSP bit in the QoS header correctly. Alternatively, it can also call the ieee80211_sta_eosp() function. The **tids** parameter is a bitmap and tells the driver which TIDs the frames will be on; it will at most have two bits set. This callback must be atomic. ``release_buffered_frames`` Release buffered frames according to the given parameters. In the case where the driver buffers some frames for sleeping stations mac80211 will use this callback to tell the driver to release some frames, either for PS-poll or uAPSD. Note that if the **more_data** parameter is ``false`` the driver must check if there are more frames on the given TIDs, and if there are more than the frames being released then it must still set the more-data bit in the frame. If the **more_data** parameter is ``true``, then of course the more-data bit must always be set. The **tids** parameter tells the driver which TIDs to release frames from, for PS-poll it will always have only a single bit set. In the case this is used for a PS-poll initiated release, the **num_frames** parameter will always be 1 so code can be shared. In this case the driver must also set ``IEEE80211_TX_STATUS_EOSP`` flag on the TX status (and must report TX status) so that the PS-poll period is properly ended. This is used to avoid sending multiple responses for a retried PS-poll frame. In the case this is used for uAPSD, the **num_frames** parameter may be bigger than one, but the driver may send fewer frames (it must send at least one, however). In this case it is also responsible for setting the EOSP flag in the QoS header of the frames. Also, when the service period ends, the driver must set ``IEEE80211_TX_STATUS_EOSP`` on the last frame in the SP. Alternatively, it may call the function ieee80211_sta_eosp() to inform mac80211 of the end of the SP. This callback must be atomic. ``get_et_sset_count`` Ethtool API to get string-set count. Note that the wiphy mutex is not held for this callback since it's expected to return a static value. ``get_et_stats`` Ethtool API to get a set of u64 stats. ``get_et_strings`` Ethtool API to get a set of strings to describe stats and perhaps other supported types of ethtool data-sets. Note that the wiphy mutex is not held for this callback since it's expected to return a static value. ``mgd_prepare_tx`` Prepare for transmitting a management frame for association before associated. In multi-channel scenarios, a virtual interface is bound to a channel before it is associated, but as it isn't associated yet it need not necessarily be given airtime, in particular since any transmission to a P2P GO needs to be synchronized against the GO's powersave state. mac80211 will call this function before transmitting a management frame prior to transmitting that frame to allow the driver to give it channel time for the transmission, to get a response and be able to synchronize with the GO. The callback will be called before each transmission and upon return mac80211 will transmit the frame right away. Additional information is passed in the :c:type:`struct ieee80211_prep_tx_info ` data. If duration there is greater than zero, mac80211 hints to the driver the duration for which the operation is requested. The callback is optional and can (should!) sleep. ``mgd_complete_tx`` Notify the driver that the response frame for a previously transmitted frame announced with **mgd_prepare_tx** was received, the data is filled similarly to **mgd_prepare_tx** though the duration is not used. ``mgd_protect_tdls_discover`` Protect a TDLS discovery session. After sending a TDLS discovery-request, we expect a reply to arrive on the AP's channel. We must stay on the channel (no PSM, scan, etc.), since a TDLS setup-response is a direct packet not buffered by the AP. mac80211 will call this function just before the transmission of a TDLS discovery-request. The recommended period of protection is at least 2 * (DTIM period). The callback is optional and can sleep. ``add_chanctx`` Notifies device driver about new channel context creation. This callback may sleep. ``remove_chanctx`` Notifies device driver about channel context destruction. This callback may sleep. ``change_chanctx`` Notifies device driver about channel context changes that may happen when combining different virtual interfaces on the same channel context with different settings This callback may sleep. ``assign_vif_chanctx`` Notifies device driver about channel context being bound to vif. Possible use is for hw queue remapping. This callback may sleep. ``unassign_vif_chanctx`` Notifies device driver about channel context being unbound from vif. This callback may sleep. ``switch_vif_chanctx`` switch a number of vifs from one chanctx to another, as specified in the list of **ieee80211_vif_chanctx_switch** passed to the driver, according to the mode defined in :c:type:`ieee80211_chanctx_switch_mode`. This callback may sleep. ``reconfig_complete`` Called after a call to ieee80211_restart_hw() and during resume, when the reconfiguration has completed. This can help the driver implement the reconfiguration step (and indicate mac80211 is ready to receive frames). This callback may sleep. ``ipv6_addr_change`` IPv6 address assignment on the given interface changed. Currently, this is only called for managed or P2P client interfaces. This callback is optional; it must not sleep. ``channel_switch_beacon`` Starts a channel switch to a new channel. Beacons are modified to include CSA or ECSA IEs before calling this function. The corresponding count fields in these IEs must be decremented, and when they reach 1 the driver must call ieee80211_csa_finish(). Drivers which use ieee80211_beacon_get() get the csa counter decremented by mac80211, but must check if it is 1 using ieee80211_beacon_counter_is_complete() after the beacon has been transmitted and then call ieee80211_csa_finish(). If the CSA count starts as zero or 1, this function will not be called, since there won't be any time to beacon before the switch anyway. ``pre_channel_switch`` This is an optional callback that is called before a channel switch procedure is started (ie. when a STA gets a CSA or a userspace initiated channel-switch), allowing the driver to prepare for the channel switch. ``post_channel_switch`` This is an optional callback that is called after a channel switch procedure is completed, allowing the driver to go back to a normal configuration. ``abort_channel_switch`` This is an optional callback that is called when channel switch procedure was aborted, allowing the driver to go back to a normal configuration. ``channel_switch_rx_beacon`` This is an optional callback that is called when channel switch procedure is in progress and additional beacon with CSA IE was received, allowing driver to track changes in count. ``join_ibss`` Join an IBSS (on an IBSS interface); this is called after all information in bss_conf is set up and the beacon can be retrieved. A channel context is bound before this is called. ``leave_ibss`` Leave the IBSS again. ``get_expected_throughput`` extract the expected throughput towards the specified station. The returned value is expressed in Kbps. It returns 0 if the RC algorithm does not have proper data to provide. ``get_txpower`` get current maximum tx power (in dBm) based on configuration and hardware limits. ``tdls_channel_switch`` Start channel-switching with a TDLS peer. The driver is responsible for continually initiating channel-switching operations and returning to the base channel for communication with the AP. The driver receives a channel-switch request template and the location of the switch-timing IE within the template as part of the invocation. The template is valid only within the call, and the driver can optionally copy the skb for further re-use. ``tdls_cancel_channel_switch`` Stop channel-switching with a TDLS peer. Both peers must be on the base channel when the call completes. ``tdls_recv_channel_switch`` a TDLS channel-switch related frame (request or response) has been received from a remote peer. The driver gets parameters parsed from the incoming frame and may use them to continue an ongoing channel-switch operation. In addition, a channel-switch response template is provided, together with the location of the switch-timing IE within the template. The skb can only be used within the function call. ``wake_tx_queue`` Called when new packets have been added to the queue. ``sync_rx_queues`` Process all pending frames in RSS queues. This is a synchronization which is needed in case driver has in its RSS queues pending frames that were received prior to the control path action currently taken (e.g. disassociation) but are not processed yet. ``start_nan`` join an existing NAN cluster, or create a new one. ``stop_nan`` leave the NAN cluster. ``nan_change_conf`` change NAN configuration. The data in cfg80211_nan_conf contains full new configuration and changes specify which parameters are changed with respect to the last NAN config. The driver gets both full configuration and the changed parameters since some devices may need the full configuration while others need only the changed parameters. ``add_nan_func`` Add a NAN function. Returns 0 on success. The data in cfg80211_nan_func must not be referenced outside the scope of this call. ``del_nan_func`` Remove a NAN function. The driver must call ieee80211_nan_func_terminated() with NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST reason code upon removal. ``can_aggregate_in_amsdu`` Called in order to determine if HW supports aggregating two specific frames in the same A-MSDU. The relation between the skbs should be symmetric and transitive. Note that while skb is always a real frame, head may or may not be an A-MSDU. ``get_ftm_responder_stats`` Retrieve FTM responder statistics, if available. Statistics should be cumulative, currently no way to reset is provided. ``start_pmsr`` start peer measurement (e.g. FTM) (this call can sleep) ``abort_pmsr`` abort peer measurement (this call can sleep) ``set_tid_config`` Apply TID specific configurations. This callback may sleep. ``reset_tid_config`` Reset TID specific configuration for the peer. This callback may sleep. ``update_vif_offload`` Update virtual interface offload flags This callback may sleep. ``sta_set_4addr`` Called to notify the driver when a station starts/stops using 4-address mode ``set_sar_specs`` Update the SAR (TX power) settings. ``sta_set_decap_offload`` Called to notify the driver when a station is allowed to use rx decapsulation offload ``add_twt_setup`` Update hw with TWT agreement parameters received from the peer. This callback allows the hw to check if requested parameters are supported and if there is enough room for a new agreement. The hw is expected to set agreement result in the req_type field of twt structure. ``twt_teardown_request`` Update the hw with TWT teardown request received from the peer. ``set_radar_background`` Configure dedicated offchannel chain available for radar/CAC detection on some hw. This chain can't be used to transmit or receive frames and it is bounded to a running wdev. Background radar/CAC detection allows to avoid the CAC downtime switching to a different channel during CAC detection on the selected radar channel. The caller is expected to set chandef pointer to NULL in order to disable background CAC/radar detection. ``net_fill_forward_path`` Called from .ndo_fill_forward_path in order to resolve a path for hardware flow offloading ``can_activate_links`` Checks if a specific active_links bitmap is supported by the driver. ``change_vif_links`` Change the valid links on an interface, note that while removing the old link information is still valid (link_conf pointer), but may immediately disappear after the function returns. The old or new links bitmaps may be 0 if going from/to a non-MLO situation. The **old** array contains pointers to the old bss_conf structures that were already removed, in case they're needed. This callback can sleep. ``change_sta_links`` Change the valid links of a station, similar to **change_vif_links**. This callback can sleep. Note that a sta can also be inserted or removed with valid links, i.e. passed to **sta_add**/**sta_state** with sta->valid_links not zero. In fact, cannot change from having valid_links and not having them. ``set_hw_timestamp`` Enable/disable HW timestamping of TM/FTM frames. This is not restored at HW reset by mac80211 so drivers need to take care of that. ``net_setup_tc`` Called from .ndo_setup_tc in order to prepare hardware flow offloading for flows originating from the vif. Note that the driver must not assume that the vif driver_data is valid at this point, since the callback can be called during netdev teardown. ``can_neg_ttlm`` for managed interface, requests the driver to determine if the requested TID-To-Link mapping can be accepted or not. If it's not accepted the driver may suggest a preferred mapping and modify **ttlm** parameter with the suggested TID-to-Link mapping. ``prep_add_interface`` prepare for interface addition. This can be used by drivers to prepare for the addition of a new interface, e.g., allocate the needed resources etc. This callback doesn't guarantee that an interface with the specified type would be added, and thus drivers that implement this callback need to handle such cases. The type is the full :c:type:`enum nl80211_iftype `.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjubj)}(hX^5struct ieee80211_ops { void (*tx)(struct ieee80211_hw *hw,struct ieee80211_tx_control *control, struct sk_buff *skb); int (*start)(struct ieee80211_hw *hw); void (*stop)(struct ieee80211_hw *hw, bool suspend); #ifdef CONFIG_PM; int (*suspend)(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan); int (*resume)(struct ieee80211_hw *hw); void (*set_wakeup)(struct ieee80211_hw *hw, bool enabled); #endif; int (*add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*change_interface)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p); void (*remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*config)(struct ieee80211_hw *hw, u32 changed); void (*bss_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); void (*vif_cfg_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u64 changed); void (*link_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); u64 (*prepare_multicast)(struct ieee80211_hw *hw, struct netdev_hw_addr_list *mc_list); void (*configure_filter)(struct ieee80211_hw *hw,unsigned int changed_flags,unsigned int *total_flags, u64 multicast); void (*config_iface_filter)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int filter_flags, unsigned int changed_flags); int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set); int (*set_key)(struct ieee80211_hw *hw, enum set_key_cmd cmd,struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key); void (*update_tkip_key)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_key_conf *conf,struct ieee80211_sta *sta, u32 iv32, u16 *phase1key); void (*set_rekey_data)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data); void (*set_default_unicast_key)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int idx); int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req); void (*cancel_hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*sched_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies); int (*sched_scan_stop)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sw_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const u8 *mac_addr); void (*sw_scan_complete)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*get_stats)(struct ieee80211_hw *hw, struct ieee80211_low_level_stats *stats); void (*get_key_seq)(struct ieee80211_hw *hw,struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq); int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value); int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value); int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); #ifdef CONFIG_MAC80211_DEBUGFS; void (*vif_add_debugfs)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*link_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct dentry *dir); void (*sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct dentry *dir); void (*link_sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, struct dentry *dir); #endif; void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd, struct ieee80211_sta *sta); int (*sta_set_txpwr)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,struct ieee80211_sta *sta,enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state); void (*sta_pre_rcu_remove)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*link_sta_rc_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, u32 changed); void (*sta_rate_tbl_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*sta_statistics)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct station_info *sinfo); int (*conf_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int link_id, u16 ac, const struct ieee80211_tx_queue_params *params); u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf); void (*offset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 offset); void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*tx_last_beacon)(struct ieee80211_hw *hw); int (*ampdu_action)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params); int (*get_survey)(struct ieee80211_hw *hw, int idx, struct survey_info *survey); void (*rfkill_poll)(struct ieee80211_hw *hw); void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class); #ifdef CONFIG_NL80211_TESTMODE; int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void *data, int len); int (*testmode_dump)(struct ieee80211_hw *hw, struct sk_buff *skb,struct netlink_callback *cb, void *data, int len); #endif; void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop); void (*flush_sta)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); int (*remain_on_channel)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_channel *chan,int duration, enum ieee80211_roc_type type); int (*cancel_remain_on_channel)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx); void (*get_ringparam)(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); bool (*tx_frames_pending)(struct ieee80211_hw *hw); int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask); void (*event_callback)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct ieee80211_event *event); void (*allow_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); void (*release_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); int (*get_et_sset_count)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int sset); void (*get_et_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data); void (*get_et_strings)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u32 sset, u8 *data); void (*mgd_prepare_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_complete_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, unsigned int link_id); int (*add_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*remove_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*change_chanctx)(struct ieee80211_hw *hw,struct ieee80211_chanctx_conf *ctx, u32 changed); int (*assign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); void (*unassign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); int (*switch_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif_chanctx_switch *vifs,int n_vifs, enum ieee80211_chanctx_switch_mode mode); void (*reconfig_complete)(struct ieee80211_hw *hw, enum ieee80211_reconfig_type reconfig_type); #if IS_ENABLED(CONFIG_IPV6); void (*ipv6_addr_change)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct inet6_dev *idev); #endif; void (*channel_switch_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef); int (*pre_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*post_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*abort_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*channel_switch_rx_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); u32 (*get_expected_throughput)(struct ieee80211_hw *hw, struct ieee80211_sta *sta); int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, int *dbm); int (*tdls_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u8 oper_class,struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie); void (*tdls_cancel_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*tdls_recv_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_tdls_ch_sw_params *params); void (*wake_tx_queue)(struct ieee80211_hw *hw, struct ieee80211_txq *txq); void (*sync_rx_queues)(struct ieee80211_hw *hw); int (*start_nan)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf); int (*stop_nan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*nan_change_conf)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf, u32 changes); int (*add_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct cfg80211_nan_func *nan_func); void (*del_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u8 instance_id); bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *hw,struct sk_buff *head, struct sk_buff *skb); int (*get_ftm_responder_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_ftm_responder_stats *ftm_stats); int (*start_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); int (*set_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct cfg80211_tid_config *tid_conf); int (*reset_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, u8 tids); void (*update_vif_offload)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sta_set_4addr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); int (*set_sar_specs)(struct ieee80211_hw *hw, const struct cfg80211_sar_specs *sar); void (*sta_set_decap_offload)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); void (*add_twt_setup)(struct ieee80211_hw *hw,struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt); void (*twt_teardown_request)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 flowid); int (*set_radar_background)(struct ieee80211_hw *hw, struct cfg80211_chan_def *chandef); int (*net_fill_forward_path)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta,struct net_device_path_ctx *ctx, struct net_device_path *path); bool (*can_activate_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u16 active_links); int (*change_vif_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,u16 old_links, u16 new_links, struct ieee80211_bss_conf *old[IEEE80211_MLD_MAX_NUM_LINKS]); int (*change_sta_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u16 old_links, u16 new_links); int (*set_hw_timestamp)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_set_hw_timestamp *hwts); int (*net_setup_tc)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct net_device *dev,enum tc_setup_type type, void *type_data); enum ieee80211_neg_ttlm_res(*can_neg_ttlm)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_neg_ttlm *ttlm); void (*prep_add_interface)(struct ieee80211_hw *hw, enum nl80211_iftype type); };h]hX^5struct ieee80211_ops { void (*tx)(struct ieee80211_hw *hw,struct ieee80211_tx_control *control, struct sk_buff *skb); int (*start)(struct ieee80211_hw *hw); void (*stop)(struct ieee80211_hw *hw, bool suspend); #ifdef CONFIG_PM; int (*suspend)(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan); int (*resume)(struct ieee80211_hw *hw); void (*set_wakeup)(struct ieee80211_hw *hw, bool enabled); #endif; int (*add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*change_interface)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p); void (*remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*config)(struct ieee80211_hw *hw, u32 changed); void (*bss_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); void (*vif_cfg_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u64 changed); void (*link_info_changed)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *info, u64 changed); int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); u64 (*prepare_multicast)(struct ieee80211_hw *hw, struct netdev_hw_addr_list *mc_list); void (*configure_filter)(struct ieee80211_hw *hw,unsigned int changed_flags,unsigned int *total_flags, u64 multicast); void (*config_iface_filter)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int filter_flags, unsigned int changed_flags); int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set); int (*set_key)(struct ieee80211_hw *hw, enum set_key_cmd cmd,struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key); void (*update_tkip_key)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_key_conf *conf,struct ieee80211_sta *sta, u32 iv32, u16 *phase1key); void (*set_rekey_data)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data); void (*set_default_unicast_key)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int idx); int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req); void (*cancel_hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*sched_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies); int (*sched_scan_stop)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sw_scan_start)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const u8 *mac_addr); void (*sw_scan_complete)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*get_stats)(struct ieee80211_hw *hw, struct ieee80211_low_level_stats *stats); void (*get_key_seq)(struct ieee80211_hw *hw,struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq); int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value); int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value); int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); #ifdef CONFIG_MAC80211_DEBUGFS; void (*vif_add_debugfs)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*link_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct dentry *dir); void (*sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct dentry *dir); void (*link_sta_add_debugfs)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, struct dentry *dir); #endif; void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd, struct ieee80211_sta *sta); int (*sta_set_txpwr)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,struct ieee80211_sta *sta,enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state); void (*sta_pre_rcu_remove)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*link_sta_rc_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_link_sta *link_sta, u32 changed); void (*sta_rate_tbl_update)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*sta_statistics)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct station_info *sinfo); int (*conf_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,unsigned int link_id, u16 ac, const struct ieee80211_tx_queue_params *params); u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf); void (*offset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 offset); void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*tx_last_beacon)(struct ieee80211_hw *hw); int (*ampdu_action)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params); int (*get_survey)(struct ieee80211_hw *hw, int idx, struct survey_info *survey); void (*rfkill_poll)(struct ieee80211_hw *hw); void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class); #ifdef CONFIG_NL80211_TESTMODE; int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void *data, int len); int (*testmode_dump)(struct ieee80211_hw *hw, struct sk_buff *skb,struct netlink_callback *cb, void *data, int len); #endif; void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop); void (*flush_sta)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); int (*remain_on_channel)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_channel *chan,int duration, enum ieee80211_roc_type type); int (*cancel_remain_on_channel)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx); void (*get_ringparam)(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); bool (*tx_frames_pending)(struct ieee80211_hw *hw); int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask); void (*event_callback)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct ieee80211_event *event); void (*allow_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); void (*release_buffered_frames)(struct ieee80211_hw *hw,struct ieee80211_sta *sta,u16 tids, int num_frames,enum ieee80211_frame_release_type reason, bool more_data); int (*get_et_sset_count)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int sset); void (*get_et_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data); void (*get_et_strings)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u32 sset, u8 *data); void (*mgd_prepare_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_complete_tx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info); void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, unsigned int link_id); int (*add_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*remove_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); void (*change_chanctx)(struct ieee80211_hw *hw,struct ieee80211_chanctx_conf *ctx, u32 changed); int (*assign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); void (*unassign_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx); int (*switch_vif_chanctx)(struct ieee80211_hw *hw,struct ieee80211_vif_chanctx_switch *vifs,int n_vifs, enum ieee80211_chanctx_switch_mode mode); void (*reconfig_complete)(struct ieee80211_hw *hw, enum ieee80211_reconfig_type reconfig_type); #if IS_ENABLED(CONFIG_IPV6); void (*ipv6_addr_change)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct inet6_dev *idev); #endif; void (*channel_switch_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef); int (*pre_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*post_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*abort_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf); void (*channel_switch_rx_beacon)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch); int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); u32 (*get_expected_throughput)(struct ieee80211_hw *hw, struct ieee80211_sta *sta); int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, int *dbm); int (*tdls_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u8 oper_class,struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie); void (*tdls_cancel_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta); void (*tdls_recv_channel_switch)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_tdls_ch_sw_params *params); void (*wake_tx_queue)(struct ieee80211_hw *hw, struct ieee80211_txq *txq); void (*sync_rx_queues)(struct ieee80211_hw *hw); int (*start_nan)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf); int (*stop_nan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); int (*nan_change_conf)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_nan_conf *conf, u32 changes); int (*add_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, const struct cfg80211_nan_func *nan_func); void (*del_nan_func)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u8 instance_id); bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *hw,struct sk_buff *head, struct sk_buff *skb); int (*get_ftm_responder_stats)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_ftm_responder_stats *ftm_stats); int (*start_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *request); int (*set_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, struct cfg80211_tid_config *tid_conf); int (*reset_tid_config)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, u8 tids); void (*update_vif_offload)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void (*sta_set_4addr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); int (*set_sar_specs)(struct ieee80211_hw *hw, const struct cfg80211_sar_specs *sar); void (*sta_set_decap_offload)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled); void (*add_twt_setup)(struct ieee80211_hw *hw,struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt); void (*twt_teardown_request)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 flowid); int (*set_radar_background)(struct ieee80211_hw *hw, struct cfg80211_chan_def *chandef); int (*net_fill_forward_path)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta,struct net_device_path_ctx *ctx, struct net_device_path *path); bool (*can_activate_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, u16 active_links); int (*change_vif_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,u16 old_links, u16 new_links, struct ieee80211_bss_conf *old[IEEE80211_MLD_MAX_NUM_LINKS]); int (*change_sta_links)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_sta *sta, u16 old_links, u16 new_links); int (*set_hw_timestamp)(struct ieee80211_hw *hw,struct ieee80211_vif *vif, struct cfg80211_set_hw_timestamp *hwts); int (*net_setup_tc)(struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct net_device *dev,enum tc_setup_type type, void *type_data); enum ieee80211_neg_ttlm_res(*can_neg_ttlm)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_neg_ttlm *ttlm); void (*prep_add_interface)(struct ieee80211_hw *hw, enum nl80211_iftype type); };}hjsbah}(h]h ]h"]h$]h&]jjuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hX;``tx`` Handler that 802.11 module calls for each transmitted frame. skb contains the buffer starting from the IEEE 802.11 header. The low-level driver should send the frame out based on configuration in the TX control data. This handler should, preferably, never fail and stop queues appropriately. Must be atomic. h](j)}(h``tx``h]j)}(hj h]htx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hX3Handler that 802.11 module calls for each transmitted frame. skb contains the buffer starting from the IEEE 802.11 header. The low-level driver should send the frame out based on configuration in the TX control data. This handler should, preferably, never fail and stop queues appropriately. Must be atomic.h]hX3Handler that 802.11 module calls for each transmitted frame. skb contains the buffer starting from the IEEE 802.11 header. The low-level driver should send the frame out based on configuration in the TX control data. This handler should, preferably, never fail and stop queues appropriately. Must be atomic.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hX``start`` Called before the first netdevice attached to the hardware is enabled. This should turn on the hardware and must turn on frame reception (for possibly enabled monitor interfaces.) Returns negative error codes, these may be seen in userspace, or zero. When the device is started it should not have a MAC address to avoid acknowledging frames before a non-monitor device is added. Must be implemented and can sleep. h](j)}(h ``start``h]j)}(hj: h]hstart}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj4 ubj)}(hhh]h)}(hXCalled before the first netdevice attached to the hardware is enabled. This should turn on the hardware and must turn on frame reception (for possibly enabled monitor interfaces.) Returns negative error codes, these may be seen in userspace, or zero. When the device is started it should not have a MAC address to avoid acknowledging frames before a non-monitor device is added. Must be implemented and can sleep.h]hXCalled before the first netdevice attached to the hardware is enabled. This should turn on the hardware and must turn on frame reception (for possibly enabled monitor interfaces.) Returns negative error codes, these may be seen in userspace, or zero. When the device is started it should not have a MAC address to avoid acknowledging frames before a non-monitor device is added. Must be implemented and can sleep.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjP ubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jhjO hMhjubj)}(hXf``stop`` Called after last netdevice attached to the hardware is disabled. This should turn off the hardware (at least it must turn off frame reception.) May be called right after add_interface if that rejects an interface. If you added any work onto the mac80211 workqueue you should ensure to cancel it on this callback. Must be implemented and can sleep. h](j)}(h``stop``h]j)}(hjt h]hstop}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM!hjn ubj)}(hhh]h)}(hX\Called after last netdevice attached to the hardware is disabled. This should turn off the hardware (at least it must turn off frame reception.) May be called right after add_interface if that rejects an interface. If you added any work onto the mac80211 workqueue you should ensure to cancel it on this callback. Must be implemented and can sleep.h]hX\Called after last netdevice attached to the hardware is disabled. This should turn off the hardware (at least it must turn off frame reception.) May be called right after add_interface if that rejects an interface. If you added any work onto the mac80211 workqueue you should ensure to cancel it on this callback. Must be implemented and can sleep.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjn ubeh}(h]h ]h"]h$]h&]uh1jhj hM!hjubj)}(hX``suspend`` Suspend the device; mac80211 itself will quiesce before and stop transmitting and doing any other configuration, and then ask the device to suspend. This is only invoked when WoWLAN is configured, otherwise the device is deconfigured completely and reconfigured at resume time. The driver may also impose special conditions under which it wants to use the "normal" suspend (deconfigure), say if it only supports WoWLAN when the device is associated. In this case, it must return 1 from this function. h](j)}(h ``suspend``h]j)}(hj h]hsuspend}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM+hj ubj)}(hhh]h)}(hXSuspend the device; mac80211 itself will quiesce before and stop transmitting and doing any other configuration, and then ask the device to suspend. This is only invoked when WoWLAN is configured, otherwise the device is deconfigured completely and reconfigured at resume time. The driver may also impose special conditions under which it wants to use the "normal" suspend (deconfigure), say if it only supports WoWLAN when the device is associated. In this case, it must return 1 from this function.h]hXSuspend the device; mac80211 itself will quiesce before and stop transmitting and doing any other configuration, and then ask the device to suspend. This is only invoked when WoWLAN is configured, otherwise the device is deconfigured completely and reconfigured at resume time. The driver may also impose special conditions under which it wants to use the “normal” suspend (deconfigure), say if it only supports WoWLAN when the device is associated. In this case, it must return 1 from this function.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM#hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM+hjubj)}(hX@``resume`` If WoWLAN was configured, this indicates that mac80211 is now resuming its operation, after this the device must be fully functional again. If this returns an error, the only way out is to also unregister the device. If it returns 1, then mac80211 will also go through the regular complete restart on resume. h](j)}(h ``resume``h]j)}(hj h]hresume}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM1hj ubj)}(hhh]h)}(hX4If WoWLAN was configured, this indicates that mac80211 is now resuming its operation, after this the device must be fully functional again. If this returns an error, the only way out is to also unregister the device. If it returns 1, then mac80211 will also go through the regular complete restart on resume.h]hX4If WoWLAN was configured, this indicates that mac80211 is now resuming its operation, after this the device must be fully functional again. If this returns an error, the only way out is to also unregister the device. If it returns 1, then mac80211 will also go through the regular complete restart on resume.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM-hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM1hjubj)}(h``set_wakeup`` Enable or disable wakeup when WoWLAN configuration is modified. The reason is that device_set_wakeup_enable() is supposed to be called when the configuration changes, not only in suspend(). h](j)}(h``set_wakeup``h]j)}(hj"!h]h set_wakeup}(hj$!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj !ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM6hj!ubj)}(hhh]h)}(hEnable or disable wakeup when WoWLAN configuration is modified. The reason is that device_set_wakeup_enable() is supposed to be called when the configuration changes, not only in suspend().h]hEnable or disable wakeup when WoWLAN configuration is modified. The reason is that device_set_wakeup_enable() is supposed to be called when the configuration changes, not only in suspend().}(hj;!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM3hj8!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj7!hM6hjubj)}(hX``add_interface`` Called when a netdevice attached to the hardware is enabled. Because it is not called for monitor mode devices, **start** and **stop** must be implemented. The driver should perform any initialization it needs before the device can be enabled. The initial configuration for the interface is given in the conf parameter. The callback may refuse to add an interface by returning a negative error code (which will be seen in userspace.) Must be implemented and can sleep. h](j)}(h``add_interface``h]j)}(hj\!h]h add_interface}(hj^!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ!ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM@hjV!ubj)}(hhh]h)}(hXCalled when a netdevice attached to the hardware is enabled. Because it is not called for monitor mode devices, **start** and **stop** must be implemented. The driver should perform any initialization it needs before the device can be enabled. The initial configuration for the interface is given in the conf parameter. The callback may refuse to add an interface by returning a negative error code (which will be seen in userspace.) Must be implemented and can sleep.h](hpCalled when a netdevice attached to the hardware is enabled. Because it is not called for monitor mode devices, }(hju!hhhNhNubj)}(h **start**h]hstart}(hj}!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju!ubh and }(hju!hhhNhNubj)}(h**stop**h]hstop}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju!ubhXN must be implemented. The driver should perform any initialization it needs before the device can be enabled. The initial configuration for the interface is given in the conf parameter. The callback may refuse to add an interface by returning a negative error code (which will be seen in userspace.) Must be implemented and can sleep.}(hju!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM8hjr!ubah}(h]h ]h"]h$]h&]uh1jhjV!ubeh}(h]h ]h"]h$]h&]uh1jhjq!hM@hjubj)}(hX0``change_interface`` Called when a netdevice changes type. This callback is optional, but only if it is supported can interface types be switched while the interface is UP. The callback may sleep. Note that while an interface is being switched, it will not be found by the interface iteration callbacks. h](j)}(h``change_interface``h]j)}(hj!h]hchange_interface}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMFhj!ubj)}(hhh]h)}(hXCalled when a netdevice changes type. This callback is optional, but only if it is supported can interface types be switched while the interface is UP. The callback may sleep. Note that while an interface is being switched, it will not be found by the interface iteration callbacks.h]hXCalled when a netdevice changes type. This callback is optional, but only if it is supported can interface types be switched while the interface is UP. The callback may sleep. Note that while an interface is being switched, it will not be found by the interface iteration callbacks.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMBhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMFhjubj)}(hX``remove_interface`` Notifies a driver that an interface is going down. The **stop** callback is called after this if it is the last interface and no monitor interfaces are present. When all interfaces are removed, the MAC address in the hardware must be cleared so the device no longer acknowledges packets, the mac_addr member of the conf structure is, however, set to the MAC address of the device going away. Hence, this callback must be implemented. It can sleep. h](j)}(h``remove_interface``h]j)}(hj!h]hremove_interface}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMOhj!ubj)}(hhh]h)}(hXNotifies a driver that an interface is going down. The **stop** callback is called after this if it is the last interface and no monitor interfaces are present. When all interfaces are removed, the MAC address in the hardware must be cleared so the device no longer acknowledges packets, the mac_addr member of the conf structure is, however, set to the MAC address of the device going away. Hence, this callback must be implemented. It can sleep.h](h7Notifies a driver that an interface is going down. The }(hj "hhhNhNubj)}(h**stop**h]hstop}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubhX callback is called after this if it is the last interface and no monitor interfaces are present. When all interfaces are removed, the MAC address in the hardware must be cleared so the device no longer acknowledges packets, the mac_addr member of the conf structure is, however, set to the MAC address of the device going away. Hence, this callback must be implemented. It can sleep.}(hj "hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMHhj "ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj "hMOhjubj)}(h``config`` Handler for configuration requests. IEEE 802.11 code calls this function to change hardware configuration, e.g., channel. This function should never fail but returns a negative error code if it does. The callback can sleep. h](j)}(h ``config``h]j)}(hj@"h]hconfig}(hjB"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>"ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMThj:"ubj)}(hhh]h)}(hHandler for configuration requests. IEEE 802.11 code calls this function to change hardware configuration, e.g., channel. This function should never fail but returns a negative error code if it does. The callback can sleep.h]hHandler for configuration requests. IEEE 802.11 code calls this function to change hardware configuration, e.g., channel. This function should never fail but returns a negative error code if it does. The callback can sleep.}(hjY"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMQhjV"ubah}(h]h ]h"]h$]h&]uh1jhj:"ubeh}(h]h ]h"]h$]h&]uh1jhjU"hMThjubj)}(hX``bss_info_changed`` Handler for configuration requests related to BSS parameters that may vary during BSS's lifespan, and may affect low level driver (e.g. assoc/disassoc status, erp parameters). This function should not be used if no BSS has been set, unless for association indication. The **changed** parameter indicates which of the bss parameters has changed when a call is made. The callback can sleep. h](j)}(h``bss_info_changed``h]j)}(hjz"h]hbss_info_changed}(hj|"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx"ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM\hjt"ubj)}(hhh]h)}(hXHandler for configuration requests related to BSS parameters that may vary during BSS's lifespan, and may affect low level driver (e.g. assoc/disassoc status, erp parameters). This function should not be used if no BSS has been set, unless for association indication. The **changed** parameter indicates which of the bss parameters has changed when a call is made. The callback can sleep.h](hXHandler for configuration requests related to BSS parameters that may vary during BSS’s lifespan, and may affect low level driver (e.g. assoc/disassoc status, erp parameters). This function should not be used if no BSS has been set, unless for association indication. The }(hj"hhhNhNubj)}(h **changed**h]hchanged}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubhi parameter indicates which of the bss parameters has changed when a call is made. The callback can sleep.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMVhj"ubah}(h]h ]h"]h$]h&]uh1jhjt"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM\hjubj)}(hXA``vif_cfg_changed`` Handler for configuration requests related to interface (MLD) parameters from :c:type:`struct ieee80211_vif_cfg ` that vary during the lifetime of the interface (e.g. assoc status, IP addresses, etc.) The **changed** parameter indicates which value changed. The callback can sleep. h](j)}(h``vif_cfg_changed``h]j)}(hj"h]hvif_cfg_changed}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMdhj"ubj)}(hhh]h)}(hX,Handler for configuration requests related to interface (MLD) parameters from :c:type:`struct ieee80211_vif_cfg ` that vary during the lifetime of the interface (e.g. assoc status, IP addresses, etc.) The **changed** parameter indicates which value changed. The callback can sleep.h](hNHandler for configuration requests related to interface (MLD) parameters from }(hj"hhhNhNubh)}(h6:c:type:`struct ieee80211_vif_cfg `h]j)}(hj"h]hstruct ieee80211_vif_cfg}(hj"hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_vif_cfguh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM`hj"ubh\ that vary during the lifetime of the interface (e.g. assoc status, IP addresses, etc.) The }(hj"hhhNhNubj)}(h **changed**h]hchanged}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubhA parameter indicates which value changed. The callback can sleep.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj#hM`hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMdhjubj)}(hX``link_info_changed`` Handler for configuration requests related to link parameters from :c:type:`struct ieee80211_bss_conf ` that are related to an individual link. e.g. legacy/HT/VHT/... rate information. The **changed** parameter indicates which value changed, and the **link_id** parameter indicates the link ID. Note that the **link_id** will be 0 for non-MLO connections. The callback can sleep. h](j)}(h``link_info_changed``h]j)}(hj5#h]hlink_info_changed}(hj7#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3#ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMlhj/#ubj)}(hhh]h)}(hXHandler for configuration requests related to link parameters from :c:type:`struct ieee80211_bss_conf ` that are related to an individual link. e.g. legacy/HT/VHT/... rate information. The **changed** parameter indicates which value changed, and the **link_id** parameter indicates the link ID. Note that the **link_id** will be 0 for non-MLO connections. The callback can sleep.h](hCHandler for configuration requests related to link parameters from }(hjN#hhhNhNubh)}(h8:c:type:`struct ieee80211_bss_conf `h]j)}(hjX#h]hstruct ieee80211_bss_conf}(hjZ#hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjV#ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_bss_confuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMfhjN#ubhV that are related to an individual link. e.g. legacy/HT/VHT/... rate information. The }(hjN#hhhNhNubj)}(h **changed**h]hchanged}(hjz#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN#ubh2 parameter indicates which value changed, and the }(hjN#hhhNhNubj)}(h **link_id**h]hlink_id}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN#ubh0 parameter indicates the link ID. Note that the }(hjN#hhhNhNubj)}(h **link_id**h]hlink_id}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN#ubh; will be 0 for non-MLO connections. The callback can sleep.}(hjN#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhju#hMfhjK#ubah}(h]h ]h"]h$]h&]uh1jhj/#ubeh}(h]h ]h"]h$]h&]uh1jhjJ#hMlhjubj)}(hX``start_ap`` Start operation on the AP interface, this is called after all the information in bss_conf is set and beacon can be retrieved. A channel context is bound before this is called. Note that if the driver uses software scan or ROC, this (and **stop_ap**) isn't called when the AP is just "paused" for scanning/ROC, which is indicated by the beacon being disabled/enabled via **bss_info_changed**. h](j)}(h ``start_ap``h]j)}(hj#h]hstart_ap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj#ubj)}(hhh]h)}(hXStart operation on the AP interface, this is called after all the information in bss_conf is set and beacon can be retrieved. A channel context is bound before this is called. Note that if the driver uses software scan or ROC, this (and **stop_ap**) isn't called when the AP is just "paused" for scanning/ROC, which is indicated by the beacon being disabled/enabled via **bss_info_changed**.h](hStart operation on the AP interface, this is called after all the information in bss_conf is set and beacon can be retrieved. A channel context is bound before this is called. Note that if the driver uses software scan or ROC, this (and }(hj#hhhNhNubj)}(h **stop_ap**h]hstop_ap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh) isn’t called when the AP is just “paused” for scanning/ROC, which is indicated by the beacon being disabled/enabled via }(hj#hhhNhNubj)}(h**bss_info_changed**h]hbss_info_changed}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h0``stop_ap`` Stop operation on the AP interface. h](j)}(h ``stop_ap``h]j)}(hj&$h]hstop_ap}(hj($hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$$ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj $ubj)}(hhh]h)}(h#Stop operation on the AP interface.h]h#Stop operation on the AP interface.}(hj?$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;$hMhj<$ubah}(h]h ]h"]h$]h&]uh1jhj $ubeh}(h]h ]h"]h$]h&]uh1jhj;$hMhjubj)}(h``prepare_multicast`` Prepare for multicast filter configuration. This callback is optional, and its return value is passed to configure_filter(). This callback must be atomic. h](j)}(h``prepare_multicast``h]j)}(hj_$h]hprepare_multicast}(hja$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]$ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMphjY$ubj)}(hhh]h)}(hPrepare for multicast filter configuration. This callback is optional, and its return value is passed to configure_filter(). This callback must be atomic.h]hPrepare for multicast filter configuration. This callback is optional, and its return value is passed to configure_filter(). This callback must be atomic.}(hjx$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMnhju$ubah}(h]h ]h"]h$]h&]uh1jhjY$ubeh}(h]h ]h"]h$]h&]uh1jhjt$hMphjubj)}(h``configure_filter`` Configure the device's RX filter. See the section "Frame filtering" for more information. This callback must be implemented and can sleep. h](j)}(h``configure_filter``h]j)}(hj$h]hconfigure_filter}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMthj$ubj)}(hhh]h)}(hConfigure the device's RX filter. See the section "Frame filtering" for more information. This callback must be implemented and can sleep.h]hConfigure the device’s RX filter. See the section “Frame filtering” for more information. This callback must be implemented and can sleep.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMrhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMthjubj)}(hX0``config_iface_filter`` Configure the interface's RX filter. This callback is optional and is used to configure which frames should be passed to mac80211. The filter_flags is the combination of FIF_* flags. The changed_flags is a bit mask that indicates which flags are changed. This callback can sleep. h](j)}(h``config_iface_filter``h]j)}(hj$h]hconfig_iface_filter}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM{hj$ubj)}(hhh]h)}(hXConfigure the interface's RX filter. This callback is optional and is used to configure which frames should be passed to mac80211. The filter_flags is the combination of FIF_* flags. The changed_flags is a bit mask that indicates which flags are changed. This callback can sleep.h]hXConfigure the interface’s RX filter. This callback is optional and is used to configure which frames should be passed to mac80211. The filter_flags is the combination of FIF_* flags. The changed_flags is a bit mask that indicates which flags are changed. This callback can sleep.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMvhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM{hjubj)}(h}``set_tim`` Set TIM bit. mac80211 calls this function when a TIM bit must be set or cleared for a given STA. Must be atomic. h](j)}(h ``set_tim``h]j)}(hj %h]hset_tim}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj %ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM~hj%ubj)}(hhh]h)}(hpSet TIM bit. mac80211 calls this function when a TIM bit must be set or cleared for a given STA. Must be atomic.h]hpSet TIM bit. mac80211 calls this function when a TIM bit must be set or cleared for a given STA. Must be atomic.}(hj&%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM}hj#%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj"%hM~hjubj)}(hX``set_key`` See the section "Hardware crypto acceleration" This callback is only called between add_interface and remove_interface calls, i.e. while the given virtual interface is enabled. Returns a negative error code if the key can't be added. The callback can sleep. h](j)}(h ``set_key``h]j)}(hjG%h]hset_key}(hjI%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE%ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjA%ubj)}(hhh]h)}(hXSee the section "Hardware crypto acceleration" This callback is only called between add_interface and remove_interface calls, i.e. while the given virtual interface is enabled. Returns a negative error code if the key can't be added. The callback can sleep.h]hXSee the section “Hardware crypto acceleration” This callback is only called between add_interface and remove_interface calls, i.e. while the given virtual interface is enabled. Returns a negative error code if the key can’t be added. The callback can sleep.}(hj`%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj]%ubah}(h]h ]h"]h$]h&]uh1jhjA%ubeh}(h]h ]h"]h$]h&]uh1jhj\%hMhjubj)}(h``update_tkip_key`` See the section "Hardware crypto acceleration" This callback will be called in the context of Rx. Called for drivers which set IEEE80211_KEY_FLAG_TKIP_REQ_RX_P1_KEY. The callback must be atomic. h](j)}(h``update_tkip_key``h]j)}(hj%h]hupdate_tkip_key}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj{%ubj)}(hhh]h)}(hSee the section "Hardware crypto acceleration" This callback will be called in the context of Rx. Called for drivers which set IEEE80211_KEY_FLAG_TKIP_REQ_RX_P1_KEY. The callback must be atomic.h]hSee the section “Hardware crypto acceleration” This callback will be called in the context of Rx. Called for drivers which set IEEE80211_KEY_FLAG_TKIP_REQ_RX_P1_KEY. The callback must be atomic.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj%ubah}(h]h ]h"]h$]h&]uh1jhj{%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(hXf``set_rekey_data`` If the device supports GTK rekeying, for example while the host is suspended, it can assign this callback to retrieve the data necessary to do GTK rekeying, this is the KEK, KCK and replay counter. After rekeying was done it should (for example during resume) notify userspace of the new replay counter using ieee80211_gtk_rekey_notify(). h](j)}(h``set_rekey_data``h]j)}(hj%h]hset_rekey_data}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj%ubj)}(hhh]h)}(hXRIf the device supports GTK rekeying, for example while the host is suspended, it can assign this callback to retrieve the data necessary to do GTK rekeying, this is the KEK, KCK and replay counter. After rekeying was done it should (for example during resume) notify userspace of the new replay counter using ieee80211_gtk_rekey_notify().h]hXRIf the device supports GTK rekeying, for example while the host is suspended, it can assign this callback to retrieve the data necessary to do GTK rekeying, this is the KEK, KCK and replay counter. After rekeying was done it should (for example during resume) notify userspace of the new replay counter using ieee80211_gtk_rekey_notify().}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h``set_default_unicast_key`` Set the default (unicast) key index, useful for WEP when the device sends data packets autonomously, e.g. for ARP offloading. The index can be 0-3, or -1 for unsetting it. h](j)}(h``set_default_unicast_key``h]j)}(hj%h]hset_default_unicast_key}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj%ubj)}(hhh]h)}(hSet the default (unicast) key index, useful for WEP when the device sends data packets autonomously, e.g. for ARP offloading. The index can be 0-3, or -1 for unsetting it.h]hSet the default (unicast) key index, useful for WEP when the device sends data packets autonomously, e.g. for ARP offloading. The index can be 0-3, or -1 for unsetting it.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj &ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj &hMhjubj)}(hXV``hw_scan`` Ask the hardware to service the scan request, no need to start the scan state machine in stack. The scan must honour the channel configuration done by the regulatory agent in the wiphy's registered bands. The hardware (or the driver) needs to make sure that power save is disabled. The **req** ie/ie_len members are rewritten by mac80211 to contain the entire IEs after the SSID, so that drivers need not look at these at all but just send them after the SSID -- mac80211 includes the (extended) supported rates and HT information (where applicable). When the scan finishes, ieee80211_scan_completed() must be called; note that it also must be called when the scan cannot finish due to any error unless this callback returned a negative error code. This callback is also allowed to return the special return value 1, this indicates that hardware scan isn't desirable right now and a software scan should be done instead. A driver wishing to use this capability must ensure its (hardware) scan capabilities aren't advertised as more capable than mac80211's software scan is. The callback can sleep. h](j)}(h ``hw_scan``h]j)}(hj/&h]hhw_scan}(hj1&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-&ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)&ubj)}(hhh]h)}(hXIAsk the hardware to service the scan request, no need to start the scan state machine in stack. The scan must honour the channel configuration done by the regulatory agent in the wiphy's registered bands. The hardware (or the driver) needs to make sure that power save is disabled. The **req** ie/ie_len members are rewritten by mac80211 to contain the entire IEs after the SSID, so that drivers need not look at these at all but just send them after the SSID -- mac80211 includes the (extended) supported rates and HT information (where applicable). When the scan finishes, ieee80211_scan_completed() must be called; note that it also must be called when the scan cannot finish due to any error unless this callback returned a negative error code. This callback is also allowed to return the special return value 1, this indicates that hardware scan isn't desirable right now and a software scan should be done instead. A driver wishing to use this capability must ensure its (hardware) scan capabilities aren't advertised as more capable than mac80211's software scan is. The callback can sleep.h](hX Ask the hardware to service the scan request, no need to start the scan state machine in stack. The scan must honour the channel configuration done by the regulatory agent in the wiphy’s registered bands. The hardware (or the driver) needs to make sure that power save is disabled. The }(hjH&hhhNhNubj)}(h**req**h]hreq}(hjP&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH&ubhX* ie/ie_len members are rewritten by mac80211 to contain the entire IEs after the SSID, so that drivers need not look at these at all but just send them after the SSID -- mac80211 includes the (extended) supported rates and HT information (where applicable). When the scan finishes, ieee80211_scan_completed() must be called; note that it also must be called when the scan cannot finish due to any error unless this callback returned a negative error code. This callback is also allowed to return the special return value 1, this indicates that hardware scan isn’t desirable right now and a software scan should be done instead. A driver wishing to use this capability must ensure its (hardware) scan capabilities aren’t advertised as more capable than mac80211’s software scan is. The callback can sleep.}(hjH&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjE&ubah}(h]h ]h"]h$]h&]uh1jhj)&ubeh}(h]h ]h"]h$]h&]uh1jhjD&hMhjubj)}(hXw``cancel_hw_scan`` Ask the low-level tp cancel the active hw scan. The driver should ask the hardware to cancel the scan (if possible), but the scan will be completed only after the driver will call ieee80211_scan_completed(). This callback is needed for wowlan, to prevent enqueueing a new scan_work after the low-level driver was already suspended. The callback can sleep. h](j)}(h``cancel_hw_scan``h]j)}(hj{&h]hcancel_hw_scan}(hj}&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy&ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhju&ubj)}(hhh]h)}(hXcAsk the low-level tp cancel the active hw scan. The driver should ask the hardware to cancel the scan (if possible), but the scan will be completed only after the driver will call ieee80211_scan_completed(). This callback is needed for wowlan, to prevent enqueueing a new scan_work after the low-level driver was already suspended. The callback can sleep.h]hXcAsk the low-level tp cancel the active hw scan. The driver should ask the hardware to cancel the scan (if possible), but the scan will be completed only after the driver will call ieee80211_scan_completed(). This callback is needed for wowlan, to prevent enqueueing a new scan_work after the low-level driver was already suspended. The callback can sleep.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj&ubah}(h]h ]h"]h$]h&]uh1jhju&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h``sched_scan_start`` Ask the hardware to start scanning repeatedly at specific intervals. The driver must call the ieee80211_sched_scan_results() function whenever it finds results. This process will continue until sched_scan_stop is called. h](j)}(h``sched_scan_start``h]j)}(hj&h]hsched_scan_start}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj&ubj)}(hhh]h)}(hAsk the hardware to start scanning repeatedly at specific intervals. The driver must call the ieee80211_sched_scan_results() function whenever it finds results. This process will continue until sched_scan_stop is called.h]hAsk the hardware to start scanning repeatedly at specific intervals. The driver must call the ieee80211_sched_scan_results() function whenever it finds results. This process will continue until sched_scan_stop is called.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h``sched_scan_stop`` Tell the hardware to stop an ongoing scheduled scan. In this case, ieee80211_sched_scan_stopped() must not be called. h](j)}(h``sched_scan_stop``h]j)}(hj&h]hsched_scan_stop}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj&ubj)}(hhh]h)}(huTell the hardware to stop an ongoing scheduled scan. In this case, ieee80211_sched_scan_stopped() must not be called.h]huTell the hardware to stop an ongoing scheduled scan. In this case, ieee80211_sched_scan_stopped() must not be called.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(hXU``sw_scan_start`` Notifier function that is called just before a software scan is started. Can be NULL, if the driver doesn't need this notification. The mac_addr parameter allows supporting NL80211_SCAN_FLAG_RANDOM_ADDR, the driver may set the NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR flag if it can use this parameter. The callback can sleep. h](j)}(h``sw_scan_start``h]j)}(hj)'h]h sw_scan_start}(hj+'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj''ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj#'ubj)}(hhh]h)}(hXBNotifier function that is called just before a software scan is started. Can be NULL, if the driver doesn't need this notification. The mac_addr parameter allows supporting NL80211_SCAN_FLAG_RANDOM_ADDR, the driver may set the NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR flag if it can use this parameter. The callback can sleep.h]hXDNotifier function that is called just before a software scan is started. Can be NULL, if the driver doesn’t need this notification. The mac_addr parameter allows supporting NL80211_SCAN_FLAG_RANDOM_ADDR, the driver may set the NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR flag if it can use this parameter. The callback can sleep.}(hjB'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj?'ubah}(h]h ]h"]h$]h&]uh1jhj#'ubeh}(h]h ]h"]h$]h&]uh1jhj>'hMhjubj)}(h``sw_scan_complete`` Notifier function that is called just after a software scan finished. Can be NULL, if the driver doesn't need this notification. The callback can sleep. h](j)}(h``sw_scan_complete``h]j)}(hjc'h]hsw_scan_complete}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja'ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj]'ubj)}(hhh]h)}(hNotifier function that is called just after a software scan finished. Can be NULL, if the driver doesn't need this notification. The callback can sleep.h]hNotifier function that is called just after a software scan finished. Can be NULL, if the driver doesn’t need this notification. The callback can sleep.}(hj|'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjy'ubah}(h]h ]h"]h$]h&]uh1jhj]'ubeh}(h]h ]h"]h$]h&]uh1jhjx'hMhjubj)}(hm``get_stats`` Return low-level statistics. Returns zero if statistics are available. The callback can sleep. h](j)}(h ``get_stats``h]j)}(hj'h]h get_stats}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'ubj)}(hhh]h)}(h^Return low-level statistics. Returns zero if statistics are available. The callback can sleep.h]h^Return low-level statistics. Returns zero if statistics are available. The callback can sleep.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h``get_key_seq`` If your device implements encryption in hardware and does IV/PN assignment then this callback should be provided to read the IV/PN for the given key from hardware. The callback must be atomic. h](j)}(h``get_key_seq``h]j)}(hj'h]h get_key_seq}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'ubj)}(hhh]h)}(hIf your device implements encryption in hardware and does IV/PN assignment then this callback should be provided to read the IV/PN for the given key from hardware. The callback must be atomic.h]hIf your device implements encryption in hardware and does IV/PN assignment then this callback should be provided to read the IV/PN for the given key from hardware. The callback must be atomic.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h``set_frag_threshold`` Configuration of fragmentation threshold. Assign this if the device does fragmentation by itself. Note that to prevent the stack from doing fragmentation IEEE80211_HW_SUPPORTS_TX_FRAG should be set as well. The callback can sleep. h](j)}(h``set_frag_threshold``h]j)}(hj(h]hset_frag_threshold}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj (ubj)}(hhh]h)}(hConfiguration of fragmentation threshold. Assign this if the device does fragmentation by itself. Note that to prevent the stack from doing fragmentation IEEE80211_HW_SUPPORTS_TX_FRAG should be set as well. The callback can sleep.h]hConfiguration of fragmentation threshold. Assign this if the device does fragmentation by itself. Note that to prevent the stack from doing fragmentation IEEE80211_HW_SUPPORTS_TX_FRAG should be set as well. The callback can sleep.}(hj*(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj'(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj&(hMhjubj)}(hb``set_rts_threshold`` Configuration of RTS threshold (if device needs it) The callback can sleep. h](j)}(h``set_rts_threshold``h]j)}(hjK(h]hset_rts_threshold}(hjM(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI(ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjE(ubj)}(hhh]h)}(hKConfiguration of RTS threshold (if device needs it) The callback can sleep.h]hKConfiguration of RTS threshold (if device needs it) The callback can sleep.}(hjd(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhja(ubah}(h]h ]h"]h$]h&]uh1jhjE(ubeh}(h]h ]h"]h$]h&]uh1jhj`(hMhjubj)}(h``sta_add`` Notifies low level driver about addition of an associated station, AP, IBSS/WDS/mesh peer etc. This callback can sleep. h](j)}(h ``sta_add``h]j)}(hj(h]hsta_add}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj(ubj)}(hhh]h)}(hwNotifies low level driver about addition of an associated station, AP, IBSS/WDS/mesh peer etc. This callback can sleep.h]hwNotifies low level driver about addition of an associated station, AP, IBSS/WDS/mesh peer etc. This callback can sleep.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(hX]``sta_remove`` Notifies low level driver about removal of an associated station, AP, IBSS/WDS/mesh peer etc. Note that after the callback returns it isn't safe to use the pointer, not even RCU protected; no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. This callback can sleep. h](j)}(h``sta_remove``h]j)}(hj(h]h sta_remove}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj(ubj)}(hhh]h)}(hXMNotifies low level driver about removal of an associated station, AP, IBSS/WDS/mesh peer etc. Note that after the callback returns it isn't safe to use the pointer, not even RCU protected; no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. This callback can sleep.h](hXNotifies low level driver about removal of an associated station, AP, IBSS/WDS/mesh peer etc. Note that after the callback returns it isn’t safe to use the pointer, not even RCU protected; no RCU grace period is guaranteed between returning here and freeing the station. See }(hj(hhhNhNubj)}(h**sta_pre_rcu_remove**h]hsta_pre_rcu_remove}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh$ if needed. This callback can sleep.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h``vif_add_debugfs`` Drivers can use this callback to add a debugfs vif directory with its files. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. h](j)}(h``vif_add_debugfs``h]j)}(hj )h]hvif_add_debugfs}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj )ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)ubj)}(hhh]h)}(hDrivers can use this callback to add a debugfs vif directory with its files. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep.h]hDrivers can use this callback to add a debugfs vif directory with its files. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep.}(hj$)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj!)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj )hMhjubj)}(hXS``link_add_debugfs`` Drivers can use this callback to add debugfs files when a link is added to a mac80211 vif. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the default bss_conf with the vif's directory rather than a separate subdirectory. h](j)}(h``link_add_debugfs``h]j)}(hjE)h]hlink_add_debugfs}(hjG)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC)ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj?)ubj)}(hhh]h)}(hX=Drivers can use this callback to add debugfs files when a link is added to a mac80211 vif. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the default bss_conf with the vif's directory rather than a separate subdirectory.h]hX?Drivers can use this callback to add debugfs files when a link is added to a mac80211 vif. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the default bss_conf with the vif’s directory rather than a separate subdirectory.}(hj^)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj[)ubah}(h]h ]h"]h$]h&]uh1jhj?)ubeh}(h]h ]h"]h$]h&]uh1jhjZ)hMhjubj)}(h``sta_add_debugfs`` Drivers can use this callback to add debugfs files when a station is added to mac80211's station list. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. h](j)}(h``sta_add_debugfs``h]j)}(hj)h]hsta_add_debugfs}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj})ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjy)ubj)}(hhh]h)}(hDrivers can use this callback to add debugfs files when a station is added to mac80211's station list. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep.h]hDrivers can use this callback to add debugfs files when a station is added to mac80211’s station list. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)ubah}(h]h ]h"]h$]h&]uh1jhjy)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubj)}(hXV``link_sta_add_debugfs`` Drivers can use this callback to add debugfs files when a link is added to a mac80211 station. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the deflink with the station's directory rather than a separate subdirectory. h](j)}(h``link_sta_add_debugfs``h]j)}(hj)h]hlink_sta_add_debugfs}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)ubj)}(hhh]h)}(hX<Drivers can use this callback to add debugfs files when a link is added to a mac80211 station. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the deflink with the station's directory rather than a separate subdirectory.h]hX>Drivers can use this callback to add debugfs files when a link is added to a mac80211 station. This callback should be within a CONFIG_MAC80211_DEBUGFS conditional. This callback can sleep. For non-MLO the callback will be called once for the deflink with the station’s directory rather than a separate subdirectory.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubj)}(hX``sta_notify`` Notifies low level driver about power state transition of an associated station, AP, IBSS/WDS/mesh peer etc. For a VIF operating in AP mode, this callback will not be called when the flag ``IEEE80211_HW_AP_LINK_PS`` is set. Must be atomic. h](j)}(h``sta_notify``h]j)}(hj)h]h sta_notify}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj)ubj)}(hhh]h)}(hNotifies low level driver about power state transition of an associated station, AP, IBSS/WDS/mesh peer etc. For a VIF operating in AP mode, this callback will not be called when the flag ``IEEE80211_HW_AP_LINK_PS`` is set. Must be atomic.h](hNotifies low level driver about power state transition of an associated station, AP, IBSS/WDS/mesh peer etc. For a VIF operating in AP mode, this callback will not be called when the flag }(hj *hhhNhNubj)}(h``IEEE80211_HW_AP_LINK_PS``h]hIEEE80211_HW_AP_LINK_PS}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj *ubh is set. Must be atomic.}(hj *hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj *ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h{``sta_set_txpwr`` Configure the station tx power. This callback set the tx power for the station. This callback can sleep. h](j)}(h``sta_set_txpwr``h]j)}(hj?*h]h sta_set_txpwr}(hjA*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=*ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9*ubj)}(hhh]h)}(hhConfigure the station tx power. This callback set the tx power for the station. This callback can sleep.h]hhConfigure the station tx power. This callback set the tx power for the station. This callback can sleep.}(hjX*hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjU*ubah}(h]h ]h"]h$]h&]uh1jhj9*ubeh}(h]h ]h"]h$]h&]uh1jhjT*hMhjubj)}(hX``sta_state`` Notifies low level driver about state transition of a station (which can be the AP, a client, IBSS/WDS/mesh peer etc.) This callback is mutually exclusive with **sta_add**/**sta_remove**. It must not fail for down transitions but may fail for transitions up the list of states. Also note that after the callback returns it isn't safe to use the pointer, not even RCU protected - no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. The callback can sleep. h](j)}(h ``sta_state``h]j)}(hjy*h]h sta_state}(hj{*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw*ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjs*ubj)}(hhh]h)}(hX Notifies low level driver about state transition of a station (which can be the AP, a client, IBSS/WDS/mesh peer etc.) This callback is mutually exclusive with **sta_add**/**sta_remove**. It must not fail for down transitions but may fail for transitions up the list of states. Also note that after the callback returns it isn't safe to use the pointer, not even RCU protected - no RCU grace period is guaranteed between returning here and freeing the station. See **sta_pre_rcu_remove** if needed. The callback can sleep.h](hNotifies low level driver about state transition of a station (which can be the AP, a client, IBSS/WDS/mesh peer etc.) This callback is mutually exclusive with }(hj*hhhNhNubj)}(h **sta_add**h]hsta_add}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh/}(hj*hhhNhNubj)}(h**sta_remove**h]h sta_remove}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhX. It must not fail for down transitions but may fail for transitions up the list of states. Also note that after the callback returns it isn’t safe to use the pointer, not even RCU protected - no RCU grace period is guaranteed between returning here and freeing the station. See }(hj*hhhNhNubj)}(h**sta_pre_rcu_remove**h]hsta_pre_rcu_remove}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh# if needed. The callback can sleep.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjs*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(hX5``sta_pre_rcu_remove`` Notify driver about station removal before RCU synchronisation. This is useful if a driver needs to have station pointers protected using RCU, it can then use this call to clear the pointers instead of waiting for an RCU grace period to elapse in **sta_state**. The callback can sleep. h](j)}(h``sta_pre_rcu_remove``h]j)}(hj*h]hsta_pre_rcu_remove}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj*ubj)}(hhh]h)}(hXNotify driver about station removal before RCU synchronisation. This is useful if a driver needs to have station pointers protected using RCU, it can then use this call to clear the pointers instead of waiting for an RCU grace period to elapse in **sta_state**. The callback can sleep.h](hNotify driver about station removal before RCU synchronisation. This is useful if a driver needs to have station pointers protected using RCU, it can then use this call to clear the pointers instead of waiting for an RCU grace period to elapse in }(hj+hhhNhNubj)}(h **sta_state**h]h sta_state}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh. The callback can sleep.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(hX``link_sta_rc_update`` Notifies the driver of changes to the bitrates that can be used to transmit to the station. The changes are advertised with bits from :c:type:`enum ieee80211_rate_control_changed ` and the values are reflected in the station data. This callback should only be used when the driver uses hardware rate control (``IEEE80211_HW_HAS_RATE_CONTROL``) since otherwise the rate control algorithm is notified directly. Must be atomic. h](j)}(h``link_sta_rc_update``h]j)}(hj5+h]hlink_sta_rc_update}(hj7+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3+ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj/+ubj)}(hhh]h)}(hXNotifies the driver of changes to the bitrates that can be used to transmit to the station. The changes are advertised with bits from :c:type:`enum ieee80211_rate_control_changed ` and the values are reflected in the station data. This callback should only be used when the driver uses hardware rate control (``IEEE80211_HW_HAS_RATE_CONTROL``) since otherwise the rate control algorithm is notified directly. Must be atomic.h](hNotifies the driver of changes to the bitrates that can be used to transmit to the station. The changes are advertised with bits from }(hjN+hhhNhNubh)}(hN:c:type:`enum ieee80211_rate_control_changed `h]j)}(hjX+h]h#enum ieee80211_rate_control_changed}(hjZ+hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjV+ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_rate_control_changeduh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjN+ubh and the values are reflected in the station data. This callback should only be used when the driver uses hardware rate control (}(hjN+hhhNhNubj)}(h!``IEEE80211_HW_HAS_RATE_CONTROL``h]hIEEE80211_HW_HAS_RATE_CONTROL}(hjz+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN+ubhR) since otherwise the rate control algorithm is notified directly. Must be atomic.}(hjN+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhju+hMhjK+ubah}(h]h ]h"]h$]h&]uh1jhj/+ubeh}(h]h ]h"]h$]h&]uh1jhjJ+hMhjubj)}(h``sta_rate_tbl_update`` Notifies the driver that the rate table changed. This is only used if the configured rate control algorithm actually uses the new rate table API, and is therefore optional. Must be atomic. h](j)}(h``sta_rate_tbl_update``h]j)}(hj+h]hsta_rate_tbl_update}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj+ubj)}(hhh]h)}(hNotifies the driver that the rate table changed. This is only used if the configured rate control algorithm actually uses the new rate table API, and is therefore optional. Must be atomic.h]hNotifies the driver that the rate table changed. This is only used if the configured rate control algorithm actually uses the new rate table API, and is therefore optional. Must be atomic.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(hX``sta_statistics`` Get statistics for this station. For example with beacon filtering, the statistics kept by mac80211 might not be accurate, so let the driver pre-fill the statistics. The driver can fill most of the values (indicating which by setting the filled bitmap), but not all of them make sense - see the source for which ones are possible. Statistics that the driver doesn't fill will be filled by mac80211. The callback can sleep. h](j)}(h``sta_statistics``h]j)}(hj+h]hsta_statistics}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM!hj+ubj)}(hhh]h)}(hXGet statistics for this station. For example with beacon filtering, the statistics kept by mac80211 might not be accurate, so let the driver pre-fill the statistics. The driver can fill most of the values (indicating which by setting the filled bitmap), but not all of them make sense - see the source for which ones are possible. Statistics that the driver doesn't fill will be filled by mac80211. The callback can sleep.h]hXGet statistics for this station. For example with beacon filtering, the statistics kept by mac80211 might not be accurate, so let the driver pre-fill the statistics. The driver can fill most of the values (indicating which by setting the filled bitmap), but not all of them make sense - see the source for which ones are possible. Statistics that the driver doesn’t fill will be filled by mac80211. The callback can sleep.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM!hjubj)}(h``conf_tx`` Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), bursting) for a hardware TX queue. Returns a negative error code on failure. The callback can sleep. h](j)}(h ``conf_tx``h]j)}(hj,h]hconf_tx}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM&hj,ubj)}(hhh]h)}(hConfigure TX queue parameters (EDCF (aifs, cw_min, cw_max), bursting) for a hardware TX queue. Returns a negative error code on failure. The callback can sleep.h]hConfigure TX queue parameters (EDCF (aifs, cw_min, cw_max), bursting) for a hardware TX queue. Returns a negative error code on failure. The callback can sleep.}(hj1,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM#hj.,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj-,hM&hjubj)}(h``get_tsf`` Get the current TSF timer value from firmware/hardware. Currently, this is only used for IBSS mode BSSID merging and debugging. Is not a required function. The callback can sleep. h](j)}(h ``get_tsf``h]j)}(hjR,h]hget_tsf}(hjT,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM+hjL,ubj)}(hhh]h)}(hGet the current TSF timer value from firmware/hardware. Currently, this is only used for IBSS mode BSSID merging and debugging. Is not a required function. The callback can sleep.h]hGet the current TSF timer value from firmware/hardware. Currently, this is only used for IBSS mode BSSID merging and debugging. Is not a required function. The callback can sleep.}(hjk,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM(hjh,ubah}(h]h ]h"]h$]h&]uh1jhjL,ubeh}(h]h ]h"]h$]h&]uh1jhjg,hM+hjubj)}(h``set_tsf`` Set the TSF timer to the specified value in the firmware/hardware. Currently, this is only used for IBSS mode debugging. Is not a required function. The callback can sleep. h](j)}(h ``set_tsf``h]j)}(hj,h]hset_tsf}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM0hj,ubj)}(hhh]h)}(hSet the TSF timer to the specified value in the firmware/hardware. Currently, this is only used for IBSS mode debugging. Is not a required function. The callback can sleep.h]hSet the TSF timer to the specified value in the firmware/hardware. Currently, this is only used for IBSS mode debugging. Is not a required function. The callback can sleep.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM-hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM0hjubj)}(hX``offset_tsf`` Offset the TSF timer by the specified value in the firmware/hardware. Preferred to set_tsf as it avoids delay between calling set_tsf() and hardware getting programmed, which will show up as TSF delay. Is not a required function. The callback can sleep. h](j)}(h``offset_tsf``h]j)}(hj,h]h offset_tsf}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM6hj,ubj)}(hhh]h)}(hOffset the TSF timer by the specified value in the firmware/hardware. Preferred to set_tsf as it avoids delay between calling set_tsf() and hardware getting programmed, which will show up as TSF delay. Is not a required function. The callback can sleep.h]hOffset the TSF timer by the specified value in the firmware/hardware. Preferred to set_tsf as it avoids delay between calling set_tsf() and hardware getting programmed, which will show up as TSF delay. Is not a required function. The callback can sleep.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM2hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM6hjubj)}(h``reset_tsf`` Reset the TSF timer and allow firmware/hardware to synchronize with other STAs in the IBSS. This is only used in IBSS mode. This function is optional if the firmware/hardware takes full care of TSF synchronization. The callback can sleep. h](j)}(h ``reset_tsf``h]j)}(hj-h]h reset_tsf}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM<hj,ubj)}(hhh]h)}(hReset the TSF timer and allow firmware/hardware to synchronize with other STAs in the IBSS. This is only used in IBSS mode. This function is optional if the firmware/hardware takes full care of TSF synchronization. The callback can sleep.h]hReset the TSF timer and allow firmware/hardware to synchronize with other STAs in the IBSS. This is only used in IBSS mode. This function is optional if the firmware/hardware takes full care of TSF synchronization. The callback can sleep.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM8hj-ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj-hM<hjubj)}(hX``tx_last_beacon`` Determine whether the last IBSS beacon was sent by us. This is needed only for IBSS mode and the result of this function is used to determine whether to reply to Probe Requests. Returns non-zero if this device sent the last beacon. The callback can sleep. h](j)}(h``tx_last_beacon``h]j)}(hj:-h]htx_last_beacon}(hj<-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8-ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMBhj4-ubj)}(hhh]h)}(hDetermine whether the last IBSS beacon was sent by us. This is needed only for IBSS mode and the result of this function is used to determine whether to reply to Probe Requests. Returns non-zero if this device sent the last beacon. The callback can sleep.h]hDetermine whether the last IBSS beacon was sent by us. This is needed only for IBSS mode and the result of this function is used to determine whether to reply to Probe Requests. Returns non-zero if this device sent the last beacon. The callback can sleep.}(hjS-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM>hjP-ubah}(h]h ]h"]h$]h&]uh1jhj4-ubeh}(h]h ]h"]h$]h&]uh1jhjO-hMBhjubj)}(hX``ampdu_action`` Perform a certain A-MPDU action. The RA/TID combination determines the destination and TID we want the ampdu action to be performed for. The action is defined through ieee80211_ampdu_mlme_action. When the action is set to ``IEEE80211_AMPDU_TX_OPERATIONAL`` the driver may neither send aggregates containing more subframes than **buf_size** nor send aggregates in a way that lost frames would exceed the buffer size. If just limiting the aggregate size, this would be possible with a buf_size of 8: - ``TX: 1.....7`` - ``RX: 2....7`` (lost frame #1) - ``TX: 8..1...`` which is invalid since #1 was now re-transmitted well past the buffer size of 8. Correct ways to retransmit #1 would be: - ``TX: 1 or`` - ``TX: 18 or`` - ``TX: 81`` Even ``189`` would be wrong since 1 could be lost again. Returns a negative error code on failure. The driver may return ``IEEE80211_AMPDU_TX_START_IMMEDIATE`` for ``IEEE80211_AMPDU_TX_START`` if the session can start immediately. The callback can sleep. h](j)}(h``ampdu_action``h]j)}(hjt-h]h ampdu_action}(hjv-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr-ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM.hjn-ubj)}(hhh](h)}(hXPerform a certain A-MPDU action. The RA/TID combination determines the destination and TID we want the ampdu action to be performed for. The action is defined through ieee80211_ampdu_mlme_action. When the action is set to ``IEEE80211_AMPDU_TX_OPERATIONAL`` the driver may neither send aggregates containing more subframes than **buf_size** nor send aggregates in a way that lost frames would exceed the buffer size. If just limiting the aggregate size, this would be possible with a buf_size of 8:h](hPerform a certain A-MPDU action. The RA/TID combination determines the destination and TID we want the ampdu action to be performed for. The action is defined through ieee80211_ampdu_mlme_action. When the action is set to }(hj-hhhNhNubj)}(h"``IEEE80211_AMPDU_TX_OPERATIONAL``h]hIEEE80211_AMPDU_TX_OPERATIONAL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubhG the driver may neither send aggregates containing more subframes than }(hj-hhhNhNubj)}(h **buf_size**h]hbuf_size}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh nor send aggregates in a way that lost frames would exceed the buffer size. If just limiting the aggregate size, this would be possible with a buf_size of 8:}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj-ubh bullet_list)}(hhh](h list_item)}(h``TX: 1.....7``h]h)}(hj-h]j)}(hj-h]h TX: 1.....7}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj-ubah}(h]h ]h"]h$]h&]uh1j-hj-ubj-)}(h``RX: 2....7`` (lost frame #1)h]h)}(hj-h](j)}(h``RX: 2....7``h]h RX: 2....7}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh (lost frame #1)}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj-ubah}(h]h ]h"]h$]h&]uh1j-hj-ubj-)}(h``TX: 8..1...`` h]h)}(h``TX: 8..1...``h]j)}(hj.h]hTX: 8..1...}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj.ubah}(h]h ]h"]h$]h&]uh1j-hj-ubeh}(h]h ]h"]h$]h&]bullet-uh1j-hj-hMhj-ubh)}(hxwhich is invalid since #1 was now re-transmitted well past the buffer size of 8. Correct ways to retransmit #1 would be:h]hxwhich is invalid since #1 was now re-transmitted well past the buffer size of 8. Correct ways to retransmit #1 would be:}(hj8.hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM!hj-ubj-)}(hhh](j-)}(h``TX: 1 or``h]h)}(hjL.h]j)}(hjL.h]hTX: 1 or}(hjQ.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN.ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM$hjJ.ubah}(h]h ]h"]h$]h&]uh1j-hjG.ubj-)}(h``TX: 18 or``h]h)}(hjm.h]j)}(hjm.h]hTX: 18 or}(hjr.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo.ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM%hjk.ubah}(h]h ]h"]h$]h&]uh1j-hjG.ubj-)}(h``TX: 81`` h]h)}(h``TX: 81``h]j)}(hj.h]h TX: 81}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM&hj.ubah}(h]h ]h"]h$]h&]uh1j-hjG.ubeh}(h]h ]h"]h$]h&]j6.j7.uh1j-hjd.hM$hj-ubh)}(h8Even ``189`` would be wrong since 1 could be lost again.h](hEven }(hj.hhhNhNubj)}(h``189``h]h189}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh, would be wrong since 1 could be lost again.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM(hj-ubh)}(hReturns a negative error code on failure. The driver may return ``IEEE80211_AMPDU_TX_START_IMMEDIATE`` for ``IEEE80211_AMPDU_TX_START`` if the session can start immediately.h](h@Returns a negative error code on failure. The driver may return }(hj.hhhNhNubj)}(h&``IEEE80211_AMPDU_TX_START_IMMEDIATE``h]h"IEEE80211_AMPDU_TX_START_IMMEDIATE}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh for }(hj.hhhNhNubj)}(h``IEEE80211_AMPDU_TX_START``h]hIEEE80211_AMPDU_TX_START}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh& if the session can start immediately.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM*hj-ubh)}(hThe callback can sleep.h]hThe callback can sleep.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM.hj-ubeh}(h]h ]h"]h$]h&]uh1jhjn-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM.hjubj)}(h5``get_survey`` Return per-channel survey information h](j)}(h``get_survey``h]j)}(hj(/h]h get_survey}(hj*/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&/ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMDhj"/ubj)}(hhh]h)}(h%Return per-channel survey informationh]h%Return per-channel survey information}(hjA/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=/hMDhj>/ubah}(h]h ]h"]h$]h&]uh1jhj"/ubeh}(h]h ]h"]h$]h&]uh1jhj=/hMDhjubj)}(h``rfkill_poll`` Poll rfkill hardware state. If you need this, you also need to set wiphy->rfkill_poll to ``true`` before registration, and need to call wiphy_rfkill_set_hw_state() in the callback. The callback can sleep. h](j)}(h``rfkill_poll``h]j)}(hja/h]h rfkill_poll}(hjc/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_/ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMIhj[/ubj)}(hhh]h)}(hPoll rfkill hardware state. If you need this, you also need to set wiphy->rfkill_poll to ``true`` before registration, and need to call wiphy_rfkill_set_hw_state() in the callback. The callback can sleep.h](hYPoll rfkill hardware state. If you need this, you also need to set wiphy->rfkill_poll to }(hjz/hhhNhNubj)}(h``true``h]htrue}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz/ubhk before registration, and need to call wiphy_rfkill_set_hw_state() in the callback. The callback can sleep.}(hjz/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMFhjw/ubah}(h]h ]h"]h$]h&]uh1jhj[/ubeh}(h]h ]h"]h$]h&]uh1jhjv/hMIhjubj)}(hXH``set_coverage_class`` Set slot time for given coverage class as specified in IEEE 802.11-2007 section 17.3.8.6 and modify ACK timeout accordingly; coverage class equals to -1 to enable ACK timeout estimation algorithm (dynack). To disable dynack set valid value for coverage class. This callback is not required and may sleep. h](j)}(h``set_coverage_class``h]j)}(hj/h]hset_coverage_class}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMOhj/ubj)}(hhh]h)}(hX0Set slot time for given coverage class as specified in IEEE 802.11-2007 section 17.3.8.6 and modify ACK timeout accordingly; coverage class equals to -1 to enable ACK timeout estimation algorithm (dynack). To disable dynack set valid value for coverage class. This callback is not required and may sleep.h]hX0Set slot time for given coverage class as specified in IEEE 802.11-2007 section 17.3.8.6 and modify ACK timeout accordingly; coverage class equals to -1 to enable ACK timeout estimation algorithm (dynack). To disable dynack set valid value for coverage class. This callback is not required and may sleep.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMKhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMOhjubj)}(hu``testmode_cmd`` Implement a cfg80211 test mode command. The passed **vif** may be ``NULL``. The callback can sleep. h](j)}(h``testmode_cmd``h]j)}(hj/h]h testmode_cmd}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMRhj/ubj)}(hhh]h)}(hcImplement a cfg80211 test mode command. The passed **vif** may be ``NULL``. The callback can sleep.h](h3Implement a cfg80211 test mode command. The passed }(hj0hhhNhNubj)}(h**vif**h]hvif}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh may be }(hj0hhhNhNubj)}(h``NULL``h]hNULL}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh. The callback can sleep.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMQhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMRhjubj)}(hO``testmode_dump`` Implement a cfg80211 test mode dump. The callback can sleep. h](j)}(h``testmode_dump``h]j)}(hjE0h]h testmode_dump}(hjG0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC0ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMShj?0ubj)}(hhh]h)}(h1ubah}(h]h ]h"]h$]h&]uh1jhj"1ubeh}(h]h ]h"]h$]h&]uh1jhj=1hMdhjubj)}(hX``set_antenna`` Set antenna configuration (tx_ant, rx_ant) on the device. Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may reject TX/RX mask combinations they cannot support by returning -EINVAL (also see nl80211.h **NL80211_ATTR_WIPHY_ANTENNA_TX**). h](j)}(h``set_antenna``h]j)}(hjb1h]h set_antenna}(hjd1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`1ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMihj\1ubj)}(hhh]h)}(hXSet antenna configuration (tx_ant, rx_ant) on the device. Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may reject TX/RX mask combinations they cannot support by returning -EINVAL (also see nl80211.h **NL80211_ATTR_WIPHY_ANTENNA_TX**).h](hSet antenna configuration (tx_ant, rx_ant) on the device. Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may reject TX/RX mask combinations they cannot support by returning -EINVAL (also see nl80211.h }(hj{1hhhNhNubj)}(h!**NL80211_ATTR_WIPHY_ANTENNA_TX**h]hNL80211_ATTR_WIPHY_ANTENNA_TX}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{1ubh).}(hj{1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMfhjx1ubah}(h]h ]h"]h$]h&]uh1jhj\1ubeh}(h]h ]h"]h$]h&]uh1jhjw1hMihjubj)}(hP``get_antenna`` Get current antenna configuration from device (tx_ant, rx_ant). h](j)}(h``get_antenna``h]j)}(hj1h]h get_antenna}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMkhj1ubj)}(hhh]h)}(h?Get current antenna configuration from device (tx_ant, rx_ant).h]h?Get current antenna configuration from device (tx_ant, rx_ant).}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMkhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMkhjubj)}(hXS``remain_on_channel`` Starts an off-channel period on the given channel, must call back to ieee80211_ready_on_channel() when on that channel. Note that normal channel traffic is not stopped as this is intended for hw offload. Frames to transmit on the off-channel channel are transmitted normally except for the ``IEEE80211_TX_CTL_TX_OFFCHAN`` flag. When the duration (which will always be non-zero) expires, the driver must call ieee80211_remain_on_channel_expired(). Note that this callback may be called while the device is in IDLE and must be accepted in this case. This callback may sleep. h](j)}(h``remain_on_channel``h]j)}(hj1h]hremain_on_channel}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMvhj1ubj)}(hhh]h)}(hX<Starts an off-channel period on the given channel, must call back to ieee80211_ready_on_channel() when on that channel. Note that normal channel traffic is not stopped as this is intended for hw offload. Frames to transmit on the off-channel channel are transmitted normally except for the ``IEEE80211_TX_CTL_TX_OFFCHAN`` flag. When the duration (which will always be non-zero) expires, the driver must call ieee80211_remain_on_channel_expired(). Note that this callback may be called while the device is in IDLE and must be accepted in this case. This callback may sleep.h](hX"Starts an off-channel period on the given channel, must call back to ieee80211_ready_on_channel() when on that channel. Note that normal channel traffic is not stopped as this is intended for hw offload. Frames to transmit on the off-channel channel are transmitted normally except for the }(hj2hhhNhNubj)}(h``IEEE80211_TX_CTL_TX_OFFCHAN``h]hIEEE80211_TX_CTL_TX_OFFCHAN}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh flag. When the duration (which will always be non-zero) expires, the driver must call ieee80211_remain_on_channel_expired(). Note that this callback may be called while the device is in IDLE and must be accepted in this case. This callback may sleep.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMmhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMvhjubj)}(h``cancel_remain_on_channel`` Requests that an ongoing off-channel period is aborted before it expires. This callback may sleep. h](j)}(h``cancel_remain_on_channel``h]j)}(hj32h]hcancel_remain_on_channel}(hj52hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj12ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMxhj-2ubj)}(hhh]h)}(hbRequests that an ongoing off-channel period is aborted before it expires. This callback may sleep.h]hbRequests that an ongoing off-channel period is aborted before it expires. This callback may sleep.}(hjL2hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMwhjI2ubah}(h]h ]h"]h$]h&]uh1jhj-2ubeh}(h]h ]h"]h$]h&]uh1jhjH2hMxhjubj)}(h,``set_ringparam`` Set tx and rx ring sizes. h](j)}(h``set_ringparam``h]j)}(hjm2h]h set_ringparam}(hjo2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk2ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMzhjg2ubj)}(hhh]h)}(hSet tx and rx ring sizes.h]hSet tx and rx ring sizes.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMzhj2ubah}(h]h ]h"]h$]h&]uh1jhjg2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMzhjubj)}(h@``get_ringparam`` Get tx and rx ring current and maximum sizes. h](j)}(h``get_ringparam``h]j)}(hj2h]h get_ringparam}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM|hj2ubj)}(hhh]h)}(h-Get tx and rx ring current and maximum sizes.h]h-Get tx and rx ring current and maximum sizes.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM|hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM|hjubj)}(hm``tx_frames_pending`` Check if there is any pending frame in the hardware queues before entering power save. h](j)}(h``tx_frames_pending``h]j)}(hj2h]htx_frames_pending}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj2ubj)}(hhh]h)}(hVCheck if there is any pending frame in the hardware queues before entering power save.h]hVCheck if there is any pending frame in the hardware queues before entering power save.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM~hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h``set_bitrate_mask`` Set a mask of rates to be used for rate control selection when transmitting a frame. Currently only legacy rates are handled. The callback can sleep. h](j)}(h``set_bitrate_mask``h]j)}(hj3h]hset_bitrate_mask}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj3ubj)}(hhh]h)}(hSet a mask of rates to be used for rate control selection when transmitting a frame. Currently only legacy rates are handled. The callback can sleep.h]hSet a mask of rates to be used for rate control selection when transmitting a frame. Currently only legacy rates are handled. The callback can sleep.}(hj23hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj/3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj.3hMhjubj)}(h``event_callback`` Notify driver about any event in mac80211. See :c:type:`enum ieee80211_event_type ` for the different types. The callback must be atomic. h](j)}(h``event_callback``h]j)}(hjS3h]hevent_callback}(hjU3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ3ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjM3ubj)}(hhh]h)}(hNotify driver about any event in mac80211. See :c:type:`enum ieee80211_event_type ` for the different types. The callback must be atomic.h](h/Notify driver about any event in mac80211. See }(hjl3hhhNhNubh)}(h::c:type:`enum ieee80211_event_type `h]j)}(hjv3h]henum ieee80211_event_type}(hjx3hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjt3ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_event_typeuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjl3ubh6 for the different types. The callback must be atomic.}(hjl3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj3hMhji3ubah}(h]h ]h"]h$]h&]uh1jhjM3ubeh}(h]h ]h"]h$]h&]uh1jhjh3hMhjubj)}(hX9``allow_buffered_frames`` Prepare device to allow the given number of frames to go out to the given station. The frames will be sent by mac80211 via the usual TX path after this call. The TX information for frames released will also have the ``IEEE80211_TX_CTL_NO_PS_BUFFER`` flag set and the last one will also have ``IEEE80211_TX_STATUS_EOSP`` set. In case frames from multiple TIDs are released and the driver might reorder them between the TIDs, it must set the ``IEEE80211_TX_STATUS_EOSP`` flag on the last frame and clear it on all others and also handle the EOSP bit in the QoS header correctly. Alternatively, it can also call the ieee80211_sta_eosp() function. The **tids** parameter is a bitmap and tells the driver which TIDs the frames will be on; it will at most have two bits set. This callback must be atomic. h](j)}(h``allow_buffered_frames``h]j)}(hj3h]hallow_buffered_frames}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj3ubj)}(hhh]h)}(hXPrepare device to allow the given number of frames to go out to the given station. The frames will be sent by mac80211 via the usual TX path after this call. The TX information for frames released will also have the ``IEEE80211_TX_CTL_NO_PS_BUFFER`` flag set and the last one will also have ``IEEE80211_TX_STATUS_EOSP`` set. In case frames from multiple TIDs are released and the driver might reorder them between the TIDs, it must set the ``IEEE80211_TX_STATUS_EOSP`` flag on the last frame and clear it on all others and also handle the EOSP bit in the QoS header correctly. Alternatively, it can also call the ieee80211_sta_eosp() function. The **tids** parameter is a bitmap and tells the driver which TIDs the frames will be on; it will at most have two bits set. This callback must be atomic.h](hPrepare device to allow the given number of frames to go out to the given station. The frames will be sent by mac80211 via the usual TX path after this call. The TX information for frames released will also have the }(hj3hhhNhNubj)}(h!``IEEE80211_TX_CTL_NO_PS_BUFFER``h]hIEEE80211_TX_CTL_NO_PS_BUFFER}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh* flag set and the last one will also have }(hj3hhhNhNubj)}(h``IEEE80211_TX_STATUS_EOSP``h]hIEEE80211_TX_STATUS_EOSP}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhy set. In case frames from multiple TIDs are released and the driver might reorder them between the TIDs, it must set the }(hj3hhhNhNubj)}(h``IEEE80211_TX_STATUS_EOSP``h]hIEEE80211_TX_STATUS_EOSP}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh flag on the last frame and clear it on all others and also handle the EOSP bit in the QoS header correctly. Alternatively, it can also call the ieee80211_sta_eosp() function. The }(hj3hhhNhNubj)}(h**tids**h]htids}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh parameter is a bitmap and tells the driver which TIDs the frames will be on; it will at most have two bits set. This callback must be atomic.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(hX6``release_buffered_frames`` Release buffered frames according to the given parameters. In the case where the driver buffers some frames for sleeping stations mac80211 will use this callback to tell the driver to release some frames, either for PS-poll or uAPSD. Note that if the **more_data** parameter is ``false`` the driver must check if there are more frames on the given TIDs, and if there are more than the frames being released then it must still set the more-data bit in the frame. If the **more_data** parameter is ``true``, then of course the more-data bit must always be set. The **tids** parameter tells the driver which TIDs to release frames from, for PS-poll it will always have only a single bit set. In the case this is used for a PS-poll initiated release, the **num_frames** parameter will always be 1 so code can be shared. In this case the driver must also set ``IEEE80211_TX_STATUS_EOSP`` flag on the TX status (and must report TX status) so that the PS-poll period is properly ended. This is used to avoid sending multiple responses for a retried PS-poll frame. In the case this is used for uAPSD, the **num_frames** parameter may be bigger than one, but the driver may send fewer frames (it must send at least one, however). In this case it is also responsible for setting the EOSP flag in the QoS header of the frames. Also, when the service period ends, the driver must set ``IEEE80211_TX_STATUS_EOSP`` on the last frame in the SP. Alternatively, it may call the function ieee80211_sta_eosp() to inform mac80211 of the end of the SP. This callback must be atomic. h](j)}(h``release_buffered_frames``h]j)}(hj24h]hrelease_buffered_frames}(hj44hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj04ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj,4ubj)}(hhh]h)}(hXRelease buffered frames according to the given parameters. In the case where the driver buffers some frames for sleeping stations mac80211 will use this callback to tell the driver to release some frames, either for PS-poll or uAPSD. Note that if the **more_data** parameter is ``false`` the driver must check if there are more frames on the given TIDs, and if there are more than the frames being released then it must still set the more-data bit in the frame. If the **more_data** parameter is ``true``, then of course the more-data bit must always be set. The **tids** parameter tells the driver which TIDs to release frames from, for PS-poll it will always have only a single bit set. In the case this is used for a PS-poll initiated release, the **num_frames** parameter will always be 1 so code can be shared. In this case the driver must also set ``IEEE80211_TX_STATUS_EOSP`` flag on the TX status (and must report TX status) so that the PS-poll period is properly ended. This is used to avoid sending multiple responses for a retried PS-poll frame. In the case this is used for uAPSD, the **num_frames** parameter may be bigger than one, but the driver may send fewer frames (it must send at least one, however). In this case it is also responsible for setting the EOSP flag in the QoS header of the frames. Also, when the service period ends, the driver must set ``IEEE80211_TX_STATUS_EOSP`` on the last frame in the SP. Alternatively, it may call the function ieee80211_sta_eosp() to inform mac80211 of the end of the SP. This callback must be atomic.h](hRelease buffered frames according to the given parameters. In the case where the driver buffers some frames for sleeping stations mac80211 will use this callback to tell the driver to release some frames, either for PS-poll or uAPSD. Note that if the }(hjK4hhhNhNubj)}(h **more_data**h]h more_data}(hjS4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh parameter is }(hjK4hhhNhNubj)}(h ``false``h]hfalse}(hje4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh the driver must check if there are more frames on the given TIDs, and if there are more than the frames being released then it must still set the more-data bit in the frame. If the }(hjK4hhhNhNubj)}(h **more_data**h]h more_data}(hjw4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh parameter is }hjK4sbj)}(h``true``h]htrue}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh;, then of course the more-data bit must always be set. The }(hjK4hhhNhNubj)}(h**tids**h]htids}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh parameter tells the driver which TIDs to release frames from, for PS-poll it will always have only a single bit set. In the case this is used for a PS-poll initiated release, the }(hjK4hhhNhNubj)}(h**num_frames**h]h num_frames}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubhY parameter will always be 1 so code can be shared. In this case the driver must also set }(hjK4hhhNhNubj)}(h``IEEE80211_TX_STATUS_EOSP``h]hIEEE80211_TX_STATUS_EOSP}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh flag on the TX status (and must report TX status) so that the PS-poll period is properly ended. This is used to avoid sending multiple responses for a retried PS-poll frame. In the case this is used for uAPSD, the }(hjK4hhhNhNubj)}(h**num_frames**h]h num_frames}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubhX parameter may be bigger than one, but the driver may send fewer frames (it must send at least one, however). In this case it is also responsible for setting the EOSP flag in the QoS header of the frames. Also, when the service period ends, the driver must set }(hjK4hhhNhNubj)}(h``IEEE80211_TX_STATUS_EOSP``h]hIEEE80211_TX_STATUS_EOSP}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh on the last frame in the SP. Alternatively, it may call the function ieee80211_sta_eosp() to inform mac80211 of the end of the SP. This callback must be atomic.}(hjK4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjH4ubah}(h]h ]h"]h$]h&]uh1jhj,4ubeh}(h]h ]h"]h$]h&]uh1jhjG4hMhjubj)}(h``get_et_sset_count`` Ethtool API to get string-set count. Note that the wiphy mutex is not held for this callback since it's expected to return a static value. h](j)}(h``get_et_sset_count``h]j)}(hj5h]hget_et_sset_count}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj5ubj)}(hhh]h)}(hEthtool API to get string-set count. Note that the wiphy mutex is not held for this callback since it's expected to return a static value.h]hEthtool API to get string-set count. Note that the wiphy mutex is not held for this callback since it’s expected to return a static value.}(hj'5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj$5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj#5hMhjubj)}(h8``get_et_stats`` Ethtool API to get a set of u64 stats. h](j)}(h``get_et_stats``h]j)}(hjH5h]h get_et_stats}(hjJ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF5ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjB5ubj)}(hhh]h)}(h&Ethtool API to get a set of u64 stats.h]h&Ethtool API to get a set of u64 stats.}(hja5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]5hMhj^5ubah}(h]h ]h"]h$]h&]uh1jhjB5ubeh}(h]h ]h"]h$]h&]uh1jhj]5hMhjubj)}(h``get_et_strings`` Ethtool API to get a set of strings to describe stats and perhaps other supported types of ethtool data-sets. Note that the wiphy mutex is not held for this callback since it's expected to return a static value. h](j)}(h``get_et_strings``h]j)}(hj5h]hget_et_strings}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj{5ubj)}(hhh]h)}(hEthtool API to get a set of strings to describe stats and perhaps other supported types of ethtool data-sets. Note that the wiphy mutex is not held for this callback since it's expected to return a static value.h]hEthtool API to get a set of strings to describe stats and perhaps other supported types of ethtool data-sets. Note that the wiphy mutex is not held for this callback since it’s expected to return a static value.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhj{5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(hX``mgd_prepare_tx`` Prepare for transmitting a management frame for association before associated. In multi-channel scenarios, a virtual interface is bound to a channel before it is associated, but as it isn't associated yet it need not necessarily be given airtime, in particular since any transmission to a P2P GO needs to be synchronized against the GO's powersave state. mac80211 will call this function before transmitting a management frame prior to transmitting that frame to allow the driver to give it channel time for the transmission, to get a response and be able to synchronize with the GO. The callback will be called before each transmission and upon return mac80211 will transmit the frame right away. Additional information is passed in the :c:type:`struct ieee80211_prep_tx_info ` data. If duration there is greater than zero, mac80211 hints to the driver the duration for which the operation is requested. The callback is optional and can (should!) sleep. h](j)}(h``mgd_prepare_tx``h]j)}(hj5h]hmgd_prepare_tx}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj5ubj)}(hhh]h)}(hXPrepare for transmitting a management frame for association before associated. In multi-channel scenarios, a virtual interface is bound to a channel before it is associated, but as it isn't associated yet it need not necessarily be given airtime, in particular since any transmission to a P2P GO needs to be synchronized against the GO's powersave state. mac80211 will call this function before transmitting a management frame prior to transmitting that frame to allow the driver to give it channel time for the transmission, to get a response and be able to synchronize with the GO. The callback will be called before each transmission and upon return mac80211 will transmit the frame right away. Additional information is passed in the :c:type:`struct ieee80211_prep_tx_info ` data. If duration there is greater than zero, mac80211 hints to the driver the duration for which the operation is requested. The callback is optional and can (should!) sleep.h](hXPrepare for transmitting a management frame for association before associated. In multi-channel scenarios, a virtual interface is bound to a channel before it is associated, but as it isn’t associated yet it need not necessarily be given airtime, in particular since any transmission to a P2P GO needs to be synchronized against the GO’s powersave state. mac80211 will call this function before transmitting a management frame prior to transmitting that frame to allow the driver to give it channel time for the transmission, to get a response and be able to synchronize with the GO. The callback will be called before each transmission and upon return mac80211 will transmit the frame right away. Additional information is passed in the }(hj5hhhNhNubh)}(h@:c:type:`struct ieee80211_prep_tx_info `h]j)}(hj5h]hstruct ieee80211_prep_tx_info}(hj5hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_prep_tx_infouh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj5ubh data. If duration there is greater than zero, mac80211 hints to the driver the duration for which the operation is requested. The callback is optional and can (should!) sleep.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h``mgd_complete_tx`` Notify the driver that the response frame for a previously transmitted frame announced with **mgd_prepare_tx** was received, the data is filled similarly to **mgd_prepare_tx** though the duration is not used. h](j)}(h``mgd_complete_tx``h]j)}(hj6h]hmgd_complete_tx}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj6ubj)}(hhh]h)}(hNotify the driver that the response frame for a previously transmitted frame announced with **mgd_prepare_tx** was received, the data is filled similarly to **mgd_prepare_tx** though the duration is not used.h](h\Notify the driver that the response frame for a previously transmitted frame announced with }(hj16hhhNhNubj)}(h**mgd_prepare_tx**h]hmgd_prepare_tx}(hj96hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj16ubh/ was received, the data is filled similarly to }(hj16hhhNhNubj)}(h**mgd_prepare_tx**h]hmgd_prepare_tx}(hjK6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj16ubh! though the duration is not used.}(hj16hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj.6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj-6hMhjubj)}(hX``mgd_protect_tdls_discover`` Protect a TDLS discovery session. After sending a TDLS discovery-request, we expect a reply to arrive on the AP's channel. We must stay on the channel (no PSM, scan, etc.), since a TDLS setup-response is a direct packet not buffered by the AP. mac80211 will call this function just before the transmission of a TDLS discovery-request. The recommended period of protection is at least 2 * (DTIM period). The callback is optional and can sleep. h](j)}(h``mgd_protect_tdls_discover``h]j)}(hjv6h]hmgd_protect_tdls_discover}(hjx6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt6ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjp6ubj)}(hhh]h)}(hXProtect a TDLS discovery session. After sending a TDLS discovery-request, we expect a reply to arrive on the AP's channel. We must stay on the channel (no PSM, scan, etc.), since a TDLS setup-response is a direct packet not buffered by the AP. mac80211 will call this function just before the transmission of a TDLS discovery-request. The recommended period of protection is at least 2 * (DTIM period). The callback is optional and can sleep.h]hXProtect a TDLS discovery session. After sending a TDLS discovery-request, we expect a reply to arrive on the AP’s channel. We must stay on the channel (no PSM, scan, etc.), since a TDLS setup-response is a direct packet not buffered by the AP. mac80211 will call this function just before the transmission of a TDLS discovery-request. The recommended period of protection is at least 2 * (DTIM period). The callback is optional and can sleep.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj6ubah}(h]h ]h"]h$]h&]uh1jhjp6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hd``add_chanctx`` Notifies device driver about new channel context creation. This callback may sleep. h](j)}(h``add_chanctx``h]j)}(hj6h]h add_chanctx}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj6ubj)}(hhh]h)}(hSNotifies device driver about new channel context creation. This callback may sleep.h]hSNotifies device driver about new channel context creation. This callback may sleep.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hf``remove_chanctx`` Notifies device driver about channel context destruction. This callback may sleep. h](j)}(h``remove_chanctx``h]j)}(hj6h]hremove_chanctx}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj6ubj)}(hhh]h)}(hRNotifies device driver about channel context destruction. This callback may sleep.h]hRNotifies device driver about channel context destruction. This callback may sleep.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h``change_chanctx`` Notifies device driver about channel context changes that may happen when combining different virtual interfaces on the same channel context with different settings This callback may sleep. h](j)}(h``change_chanctx``h]j)}(hj$7h]hchange_chanctx}(hj&7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"7ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubj)}(hhh]h)}(hNotifies device driver about channel context changes that may happen when combining different virtual interfaces on the same channel context with different settings This callback may sleep.h]hNotifies device driver about channel context changes that may happen when combining different virtual interfaces on the same channel context with different settings This callback may sleep.}(hj=7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj:7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj97hMhjubj)}(h``assign_vif_chanctx`` Notifies device driver about channel context being bound to vif. Possible use is for hw queue remapping. This callback may sleep. h](j)}(h``assign_vif_chanctx``h]j)}(hj^7h]hassign_vif_chanctx}(hj`7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\7ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjX7ubj)}(hhh]h)}(hNotifies device driver about channel context being bound to vif. Possible use is for hw queue remapping. This callback may sleep.h]hNotifies device driver about channel context being bound to vif. Possible use is for hw queue remapping. This callback may sleep.}(hjw7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjt7ubah}(h]h ]h"]h$]h&]uh1jhjX7ubeh}(h]h ]h"]h$]h&]uh1jhjs7hMhjubj)}(hw``unassign_vif_chanctx`` Notifies device driver about channel context being unbound from vif. This callback may sleep. h](j)}(h``unassign_vif_chanctx``h]j)}(hj7h]hunassign_vif_chanctx}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubj)}(hhh]h)}(h]Notifies device driver about channel context being unbound from vif. This callback may sleep.h]h]Notifies device driver about channel context being unbound from vif. This callback may sleep.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hX``switch_vif_chanctx`` switch a number of vifs from one chanctx to another, as specified in the list of **ieee80211_vif_chanctx_switch** passed to the driver, according to the mode defined in :c:type:`ieee80211_chanctx_switch_mode`. This callback may sleep. h](j)}(h``switch_vif_chanctx``h]j)}(hj7h]hswitch_vif_chanctx}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubj)}(hhh]h)}(hswitch a number of vifs from one chanctx to another, as specified in the list of **ieee80211_vif_chanctx_switch** passed to the driver, according to the mode defined in :c:type:`ieee80211_chanctx_switch_mode`. This callback may sleep.h](hQswitch a number of vifs from one chanctx to another, as specified in the list of }(hj7hhhNhNubj)}(h **ieee80211_vif_chanctx_switch**h]hieee80211_vif_chanctx_switch}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh8 passed to the driver, according to the mode defined in }(hj7hhhNhNubh)}(h':c:type:`ieee80211_chanctx_switch_mode`h]j)}(hj8h]hieee80211_chanctx_switch_mode}(hj 8hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_chanctx_switch_modeuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj7ubh. This callback may sleep.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj$8hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hX``reconfig_complete`` Called after a call to ieee80211_restart_hw() and during resume, when the reconfiguration has completed. This can help the driver implement the reconfiguration step (and indicate mac80211 is ready to receive frames). This callback may sleep. h](j)}(h``reconfig_complete``h]j)}(hjA8h]hreconfig_complete}(hjC8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?8ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj;8ubj)}(hhh]h)}(hCalled after a call to ieee80211_restart_hw() and during resume, when the reconfiguration has completed. This can help the driver implement the reconfiguration step (and indicate mac80211 is ready to receive frames). This callback may sleep.h]hCalled after a call to ieee80211_restart_hw() and during resume, when the reconfiguration has completed. This can help the driver implement the reconfiguration step (and indicate mac80211 is ready to receive frames). This callback may sleep.}(hjZ8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjW8ubah}(h]h ]h"]h$]h&]uh1jhj;8ubeh}(h]h ]h"]h$]h&]uh1jhjV8hMhjubj)}(h``ipv6_addr_change`` IPv6 address assignment on the given interface changed. Currently, this is only called for managed or P2P client interfaces. This callback is optional; it must not sleep. h](j)}(h``ipv6_addr_change``h]j)}(hj{8h]hipv6_addr_change}(hj}8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy8ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhju8ubj)}(hhh]h)}(hIPv6 address assignment on the given interface changed. Currently, this is only called for managed or P2P client interfaces. This callback is optional; it must not sleep.h]hIPv6 address assignment on the given interface changed. Currently, this is only called for managed or P2P client interfaces. This callback is optional; it must not sleep.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj8ubah}(h]h ]h"]h$]h&]uh1jhju8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(hX``channel_switch_beacon`` Starts a channel switch to a new channel. Beacons are modified to include CSA or ECSA IEs before calling this function. The corresponding count fields in these IEs must be decremented, and when they reach 1 the driver must call ieee80211_csa_finish(). Drivers which use ieee80211_beacon_get() get the csa counter decremented by mac80211, but must check if it is 1 using ieee80211_beacon_counter_is_complete() after the beacon has been transmitted and then call ieee80211_csa_finish(). If the CSA count starts as zero or 1, this function will not be called, since there won't be any time to beacon before the switch anyway. h](j)}(h``channel_switch_beacon``h]j)}(hj8h]hchannel_switch_beacon}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj8ubj)}(hhh]h)}(hXnStarts a channel switch to a new channel. Beacons are modified to include CSA or ECSA IEs before calling this function. The corresponding count fields in these IEs must be decremented, and when they reach 1 the driver must call ieee80211_csa_finish(). Drivers which use ieee80211_beacon_get() get the csa counter decremented by mac80211, but must check if it is 1 using ieee80211_beacon_counter_is_complete() after the beacon has been transmitted and then call ieee80211_csa_finish(). If the CSA count starts as zero or 1, this function will not be called, since there won't be any time to beacon before the switch anyway.h]hXpStarts a channel switch to a new channel. Beacons are modified to include CSA or ECSA IEs before calling this function. The corresponding count fields in these IEs must be decremented, and when they reach 1 the driver must call ieee80211_csa_finish(). Drivers which use ieee80211_beacon_get() get the csa counter decremented by mac80211, but must check if it is 1 using ieee80211_beacon_counter_is_complete() after the beacon has been transmitted and then call ieee80211_csa_finish(). If the CSA count starts as zero or 1, this function will not be called, since there won’t be any time to beacon before the switch anyway.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h``pre_channel_switch`` This is an optional callback that is called before a channel switch procedure is started (ie. when a STA gets a CSA or a userspace initiated channel-switch), allowing the driver to prepare for the channel switch. h](j)}(h``pre_channel_switch``h]j)}(hj8h]hpre_channel_switch}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj8ubj)}(hhh]h)}(hThis is an optional callback that is called before a channel switch procedure is started (ie. when a STA gets a CSA or a userspace initiated channel-switch), allowing the driver to prepare for the channel switch.h]hThis is an optional callback that is called before a channel switch procedure is started (ie. when a STA gets a CSA or a userspace initiated channel-switch), allowing the driver to prepare for the channel switch.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjubj)}(h``post_channel_switch`` This is an optional callback that is called after a channel switch procedure is completed, allowing the driver to go back to a normal configuration. h](j)}(h``post_channel_switch``h]j)}(hj)9h]hpost_channel_switch}(hj+9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'9ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj#9ubj)}(hhh]h)}(hThis is an optional callback that is called after a channel switch procedure is completed, allowing the driver to go back to a normal configuration.h]hThis is an optional callback that is called after a channel switch procedure is completed, allowing the driver to go back to a normal configuration.}(hjB9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hj?9ubah}(h]h ]h"]h$]h&]uh1jhj#9ubeh}(h]h ]h"]h$]h&]uh1jhj>9hM hjubj)}(h``abort_channel_switch`` This is an optional callback that is called when channel switch procedure was aborted, allowing the driver to go back to a normal configuration. h](j)}(h``abort_channel_switch``h]j)}(hjc9h]habort_channel_switch}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja9ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj]9ubj)}(hhh]h)}(hThis is an optional callback that is called when channel switch procedure was aborted, allowing the driver to go back to a normal configuration.h]hThis is an optional callback that is called when channel switch procedure was aborted, allowing the driver to go back to a normal configuration.}(hj|9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjy9ubah}(h]h ]h"]h$]h&]uh1jhj]9ubeh}(h]h ]h"]h$]h&]uh1jhjx9hMhjubj)}(h``channel_switch_rx_beacon`` This is an optional callback that is called when channel switch procedure is in progress and additional beacon with CSA IE was received, allowing driver to track changes in count. h](j)}(h``channel_switch_rx_beacon``h]j)}(hj9h]hchannel_switch_rx_beacon}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9ubj)}(hhh]h)}(hThis is an optional callback that is called when channel switch procedure is in progress and additional beacon with CSA IE was received, allowing driver to track changes in count.h]hThis is an optional callback that is called when channel switch procedure is in progress and additional beacon with CSA IE was received, allowing driver to track changes in count.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h``join_ibss`` Join an IBSS (on an IBSS interface); this is called after all information in bss_conf is set up and the beacon can be retrieved. A channel context is bound before this is called. h](j)}(h ``join_ibss``h]j)}(hj9h]h join_ibss}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9ubj)}(hhh]h)}(hJoin an IBSS (on an IBSS interface); this is called after all information in bss_conf is set up and the beacon can be retrieved. A channel context is bound before this is called.h]hJoin an IBSS (on an IBSS interface); this is called after all information in bss_conf is set up and the beacon can be retrieved. A channel context is bound before this is called.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h%``leave_ibss`` Leave the IBSS again. h](j)}(h``leave_ibss``h]j)}(hj:h]h leave_ibss}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj :ubj)}(hhh]h)}(hLeave the IBSS again.h]hLeave the IBSS again.}(hj*:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&:hMhj':ubah}(h]h ]h"]h$]h&]uh1jhj :ubeh}(h]h ]h"]h$]h&]uh1jhj&:hMhjubj)}(h``get_expected_throughput`` extract the expected throughput towards the specified station. The returned value is expressed in Kbps. It returns 0 if the RC algorithm does not have proper data to provide. h](j)}(h``get_expected_throughput``h]j)}(hjJ:h]hget_expected_throughput}(hjL:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH:ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjD:ubj)}(hhh]h)}(hextract the expected throughput towards the specified station. The returned value is expressed in Kbps. It returns 0 if the RC algorithm does not have proper data to provide.h]hextract the expected throughput towards the specified station. The returned value is expressed in Kbps. It returns 0 if the RC algorithm does not have proper data to provide.}(hjc:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj`:ubah}(h]h ]h"]h$]h&]uh1jhjD:ubeh}(h]h ]h"]h$]h&]uh1jhj_:hMhjubj)}(hb``get_txpower`` get current maximum tx power (in dBm) based on configuration and hardware limits. h](j)}(h``get_txpower``h]j)}(hj:h]h get_txpower}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj~:ubj)}(hhh]h)}(hQget current maximum tx power (in dBm) based on configuration and hardware limits.h]hQget current maximum tx power (in dBm) based on configuration and hardware limits.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj:ubah}(h]h ]h"]h$]h&]uh1jhj~:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hX``tdls_channel_switch`` Start channel-switching with a TDLS peer. The driver is responsible for continually initiating channel-switching operations and returning to the base channel for communication with the AP. The driver receives a channel-switch request template and the location of the switch-timing IE within the template as part of the invocation. The template is valid only within the call, and the driver can optionally copy the skb for further re-use. h](j)}(h``tdls_channel_switch``h]j)}(hj:h]htdls_channel_switch}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM%hj:ubj)}(hhh]h)}(hXStart channel-switching with a TDLS peer. The driver is responsible for continually initiating channel-switching operations and returning to the base channel for communication with the AP. The driver receives a channel-switch request template and the location of the switch-timing IE within the template as part of the invocation. The template is valid only within the call, and the driver can optionally copy the skb for further re-use.h]hXStart channel-switching with a TDLS peer. The driver is responsible for continually initiating channel-switching operations and returning to the base channel for communication with the AP. The driver receives a channel-switch request template and the location of the switch-timing IE within the template as part of the invocation. The template is valid only within the call, and the driver can optionally copy the skb for further re-use.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM%hjubj)}(h``tdls_cancel_channel_switch`` Stop channel-switching with a TDLS peer. Both peers must be on the base channel when the call completes. h](j)}(h``tdls_cancel_channel_switch``h]j)}(hj:h]htdls_cancel_channel_switch}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM'hj:ubj)}(hhh]h)}(hhStop channel-switching with a TDLS peer. Both peers must be on the base channel when the call completes.h]hhStop channel-switching with a TDLS peer. Both peers must be on the base channel when the call completes.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM&hj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj ;hM'hjubj)}(hX``tdls_recv_channel_switch`` a TDLS channel-switch related frame (request or response) has been received from a remote peer. The driver gets parameters parsed from the incoming frame and may use them to continue an ongoing channel-switch operation. In addition, a channel-switch response template is provided, together with the location of the switch-timing IE within the template. The skb can only be used within the function call. h](j)}(h``tdls_recv_channel_switch``h]j)}(hj2;h]htdls_recv_channel_switch}(hj4;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0;ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM.hj,;ubj)}(hhh]h)}(hXa TDLS channel-switch related frame (request or response) has been received from a remote peer. The driver gets parameters parsed from the incoming frame and may use them to continue an ongoing channel-switch operation. In addition, a channel-switch response template is provided, together with the location of the switch-timing IE within the template. The skb can only be used within the function call.h]hXa TDLS channel-switch related frame (request or response) has been received from a remote peer. The driver gets parameters parsed from the incoming frame and may use them to continue an ongoing channel-switch operation. In addition, a channel-switch response template is provided, together with the location of the switch-timing IE within the template. The skb can only be used within the function call.}(hjK;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM(hjH;ubah}(h]h ]h"]h$]h&]uh1jhj,;ubeh}(h]h ]h"]h$]h&]uh1jhjG;hM.hjubj)}(hH``wake_tx_queue`` Called when new packets have been added to the queue. h](j)}(h``wake_tx_queue``h]j)}(hjl;h]h wake_tx_queue}(hjn;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj;ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM0hjf;ubj)}(hhh]h)}(h5Called when new packets have been added to the queue.h]h5Called when new packets have been added to the queue.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM0hj;ubah}(h]h ]h"]h$]h&]uh1jhjf;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM0hjubj)}(hX``sync_rx_queues`` Process all pending frames in RSS queues. This is a synchronization which is needed in case driver has in its RSS queues pending frames that were received prior to the control path action currently taken (e.g. disassociation) but are not processed yet. h](j)}(h``sync_rx_queues``h]j)}(hj;h]hsync_rx_queues}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM4hj;ubj)}(hhh]h)}(hProcess all pending frames in RSS queues. This is a synchronization which is needed in case driver has in its RSS queues pending frames that were received prior to the control path action currently taken (e.g. disassociation) but are not processed yet.h]hProcess all pending frames in RSS queues. This is a synchronization which is needed in case driver has in its RSS queues pending frames that were received prior to the control path action currently taken (e.g. disassociation) but are not processed yet.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM1hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM4hjubj)}(hA``start_nan`` join an existing NAN cluster, or create a new one. h](j)}(h ``start_nan``h]j)}(hj;h]h start_nan}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM6hj;ubj)}(hhh]h)}(h2join an existing NAN cluster, or create a new one.h]h2join an existing NAN cluster, or create a new one.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM6hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM6hjubj)}(h$``stop_nan`` leave the NAN cluster. h](j)}(h ``stop_nan``h]j)}(hj<h]hstop_nan}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM7hj<ubj)}(hhh]h)}(hleave the NAN cluster.h]hleave the NAN cluster.}(hj1<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-<hM7hj.<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj-<hM7hjubj)}(hXg``nan_change_conf`` change NAN configuration. The data in cfg80211_nan_conf contains full new configuration and changes specify which parameters are changed with respect to the last NAN config. The driver gets both full configuration and the changed parameters since some devices may need the full configuration while others need only the changed parameters. h](j)}(h``nan_change_conf``h]j)}(hjQ<h]hnan_change_conf}(hjS<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO<ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM=hjK<ubj)}(hhh]h)}(hXRchange NAN configuration. The data in cfg80211_nan_conf contains full new configuration and changes specify which parameters are changed with respect to the last NAN config. The driver gets both full configuration and the changed parameters since some devices may need the full configuration while others need only the changed parameters.h]hXRchange NAN configuration. The data in cfg80211_nan_conf contains full new configuration and changes specify which parameters are changed with respect to the last NAN config. The driver gets both full configuration and the changed parameters since some devices may need the full configuration while others need only the changed parameters.}(hjj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM8hjg<ubah}(h]h ]h"]h$]h&]uh1jhjK<ubeh}(h]h ]h"]h$]h&]uh1jhjf<hM=hjubj)}(h``add_nan_func`` Add a NAN function. Returns 0 on success. The data in cfg80211_nan_func must not be referenced outside the scope of this call. h](j)}(h``add_nan_func``h]j)}(hj<h]h add_nan_func}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM@hj<ubj)}(hhh]h)}(h~Add a NAN function. Returns 0 on success. The data in cfg80211_nan_func must not be referenced outside the scope of this call.h]h~Add a NAN function. Returns 0 on success. The data in cfg80211_nan_func must not be referenced outside the scope of this call.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM>hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM@hjubj)}(h``del_nan_func`` Remove a NAN function. The driver must call ieee80211_nan_func_terminated() with NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST reason code upon removal. h](j)}(h``del_nan_func``h]j)}(hj<h]h del_nan_func}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMChj<ubj)}(hhh]h)}(hRemove a NAN function. The driver must call ieee80211_nan_func_terminated() with NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST reason code upon removal.h]hRemove a NAN function. The driver must call ieee80211_nan_func_terminated() with NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST reason code upon removal.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMAhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMChjubj)}(hX ``can_aggregate_in_amsdu`` Called in order to determine if HW supports aggregating two specific frames in the same A-MSDU. The relation between the skbs should be symmetric and transitive. Note that while skb is always a real frame, head may or may not be an A-MSDU. h](j)}(h``can_aggregate_in_amsdu``h]j)}(hj<h]hcan_aggregate_in_amsdu}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMGhj<ubj)}(hhh]h)}(hCalled in order to determine if HW supports aggregating two specific frames in the same A-MSDU. The relation between the skbs should be symmetric and transitive. Note that while skb is always a real frame, head may or may not be an A-MSDU.h]hCalled in order to determine if HW supports aggregating two specific frames in the same A-MSDU. The relation between the skbs should be symmetric and transitive. Note that while skb is always a real frame, head may or may not be an A-MSDU.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMDhj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMGhjubj)}(h``get_ftm_responder_stats`` Retrieve FTM responder statistics, if available. Statistics should be cumulative, currently no way to reset is provided. h](j)}(h``get_ftm_responder_stats``h]j)}(hj9=h]hget_ftm_responder_stats}(hj;=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7=ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMIhj3=ubj)}(hhh]h)}(hxRetrieve FTM responder statistics, if available. Statistics should be cumulative, currently no way to reset is provided.h]hxRetrieve FTM responder statistics, if available. Statistics should be cumulative, currently no way to reset is provided.}(hjR=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMHhjO=ubah}(h]h ]h"]h$]h&]uh1jhj3=ubeh}(h]h ]h"]h$]h&]uh1jhjN=hMIhjubj)}(hG``start_pmsr`` start peer measurement (e.g. FTM) (this call can sleep) h](j)}(h``start_pmsr``h]j)}(hjs=h]h start_pmsr}(hju=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq=ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMKhjm=ubj)}(hhh]h)}(h7start peer measurement (e.g. FTM) (this call can sleep)h]h7start peer measurement (e.g. FTM) (this call can sleep)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMKhj=ubah}(h]h ]h"]h$]h&]uh1jhjm=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMKhjubj)}(h<``abort_pmsr`` abort peer measurement (this call can sleep) h](j)}(h``abort_pmsr``h]j)}(hj=h]h abort_pmsr}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMLhj=ubj)}(hhh]h)}(h,abort peer measurement (this call can sleep)h]h,abort peer measurement (this call can sleep)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMLhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMLhjubj)}(hO``set_tid_config`` Apply TID specific configurations. This callback may sleep. h](j)}(h``set_tid_config``h]j)}(hj=h]hset_tid_config}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMMhj=ubj)}(hhh]h)}(h;Apply TID specific configurations. This callback may sleep.h]h;Apply TID specific configurations. This callback may sleep.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMMhjubj)}(h]``reset_tid_config`` Reset TID specific configuration for the peer. This callback may sleep. h](j)}(h``reset_tid_config``h]j)}(hj>h]hreset_tid_config}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMOhj>ubj)}(hhh]h)}(hGReset TID specific configuration for the peer. This callback may sleep.h]hGReset TID specific configuration for the peer. This callback may sleep.}(hj7>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMNhj4>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj3>hMOhjubj)}(hW``update_vif_offload`` Update virtual interface offload flags This callback may sleep. h](j)}(h``update_vif_offload``h]j)}(hjX>h]hupdate_vif_offload}(hjZ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV>ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMQhjR>ubj)}(hhh]h)}(h?Update virtual interface offload flags This callback may sleep.h]h?Update virtual interface offload flags This callback may sleep.}(hjq>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMPhjn>ubah}(h]h ]h"]h$]h&]uh1jhjR>ubeh}(h]h ]h"]h$]h&]uh1jhjm>hMQhjubj)}(h_``sta_set_4addr`` Called to notify the driver when a station starts/stops using 4-address mode h](j)}(h``sta_set_4addr``h]j)}(hj>h]h sta_set_4addr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMShj>ubj)}(hhh]h)}(hLCalled to notify the driver when a station starts/stops using 4-address modeh]hLCalled to notify the driver when a station starts/stops using 4-address mode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMRhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMShjubj)}(h6``set_sar_specs`` Update the SAR (TX power) settings. h](j)}(h``set_sar_specs``h]j)}(hj>h]h set_sar_specs}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMThj>ubj)}(hhh]h)}(h#Update the SAR (TX power) settings.h]h#Update the SAR (TX power) settings.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMThj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMThjubj)}(hp``sta_set_decap_offload`` Called to notify the driver when a station is allowed to use rx decapsulation offload h](j)}(h``sta_set_decap_offload``h]j)}(hj?h]hsta_set_decap_offload}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMVhj>ubj)}(hhh]h)}(hUCalled to notify the driver when a station is allowed to use rx decapsulation offloadh]hUCalled to notify the driver when a station is allowed to use rx decapsulation offload}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMUhj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMVhjubj)}(hX!``add_twt_setup`` Update hw with TWT agreement parameters received from the peer. This callback allows the hw to check if requested parameters are supported and if there is enough room for a new agreement. The hw is expected to set agreement result in the req_type field of twt structure. h](j)}(h``add_twt_setup``h]j)}(hj??h]h add_twt_setup}(hjA?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=?ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM[hj9?ubj)}(hhh]h)}(hXUpdate hw with TWT agreement parameters received from the peer. This callback allows the hw to check if requested parameters are supported and if there is enough room for a new agreement. The hw is expected to set agreement result in the req_type field of twt structure.h]hXUpdate hw with TWT agreement parameters received from the peer. This callback allows the hw to check if requested parameters are supported and if there is enough room for a new agreement. The hw is expected to set agreement result in the req_type field of twt structure.}(hjX?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMWhjU?ubah}(h]h ]h"]h$]h&]uh1jhj9?ubeh}(h]h ]h"]h$]h&]uh1jhjT?hM[hjubj)}(hY``twt_teardown_request`` Update the hw with TWT teardown request received from the peer. h](j)}(h``twt_teardown_request``h]j)}(hjy?h]htwt_teardown_request}(hj{?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw?ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM]hjs?ubj)}(hhh]h)}(h?Update the hw with TWT teardown request received from the peer.h]h?Update the hw with TWT teardown request received from the peer.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM\hj?ubah}(h]h ]h"]h$]h&]uh1jhjs?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM]hjubj)}(hX``set_radar_background`` Configure dedicated offchannel chain available for radar/CAC detection on some hw. This chain can't be used to transmit or receive frames and it is bounded to a running wdev. Background radar/CAC detection allows to avoid the CAC downtime switching to a different channel during CAC detection on the selected radar channel. The caller is expected to set chandef pointer to NULL in order to disable background CAC/radar detection. h](j)}(h``set_radar_background``h]j)}(hj?h]hset_radar_background}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMehj?ubj)}(hhh]h)}(hXConfigure dedicated offchannel chain available for radar/CAC detection on some hw. This chain can't be used to transmit or receive frames and it is bounded to a running wdev. Background radar/CAC detection allows to avoid the CAC downtime switching to a different channel during CAC detection on the selected radar channel. The caller is expected to set chandef pointer to NULL in order to disable background CAC/radar detection.h]hXConfigure dedicated offchannel chain available for radar/CAC detection on some hw. This chain can’t be used to transmit or receive frames and it is bounded to a running wdev. Background radar/CAC detection allows to avoid the CAC downtime switching to a different channel during CAC detection on the selected radar channel. The caller is expected to set chandef pointer to NULL in order to disable background CAC/radar detection.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM^hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMehjubj)}(hu``net_fill_forward_path`` Called from .ndo_fill_forward_path in order to resolve a path for hardware flow offloading h](j)}(h``net_fill_forward_path``h]j)}(hj?h]hnet_fill_forward_path}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMghj?ubj)}(hhh]h)}(hZCalled from .ndo_fill_forward_path in order to resolve a path for hardware flow offloadingh]hZCalled from .ndo_fill_forward_path in order to resolve a path for hardware flow offloading}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMfhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMghjubj)}(h\``can_activate_links`` Checks if a specific active_links bitmap is supported by the driver. h](j)}(h``can_activate_links``h]j)}(hj'@h]hcan_activate_links}(hj)@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%@ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMihj!@ubj)}(hhh]h)}(hDChecks if a specific active_links bitmap is supported by the driver.h]hDChecks if a specific active_links bitmap is supported by the driver.}(hj@@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhhj=@ubah}(h]h ]h"]h$]h&]uh1jhj!@ubeh}(h]h ]h"]h$]h&]uh1jhj<@hMihjubj)}(hX``change_vif_links`` Change the valid links on an interface, note that while removing the old link information is still valid (link_conf pointer), but may immediately disappear after the function returns. The old or new links bitmaps may be 0 if going from/to a non-MLO situation. The **old** array contains pointers to the old bss_conf structures that were already removed, in case they're needed. This callback can sleep. h](j)}(h``change_vif_links``h]j)}(hja@h]hchange_vif_links}(hjc@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_@ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMphj[@ubj)}(hhh]h)}(hXChange the valid links on an interface, note that while removing the old link information is still valid (link_conf pointer), but may immediately disappear after the function returns. The old or new links bitmaps may be 0 if going from/to a non-MLO situation. The **old** array contains pointers to the old bss_conf structures that were already removed, in case they're needed. This callback can sleep.h](hXChange the valid links on an interface, note that while removing the old link information is still valid (link_conf pointer), but may immediately disappear after the function returns. The old or new links bitmaps may be 0 if going from/to a non-MLO situation. The }(hjz@hhhNhNubj)}(h**old**h]hold}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz@ubh array contains pointers to the old bss_conf structures that were already removed, in case they’re needed. This callback can sleep.}(hjz@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMjhjw@ubah}(h]h ]h"]h$]h&]uh1jhj[@ubeh}(h]h ]h"]h$]h&]uh1jhjv@hMphjubj)}(hXC``change_sta_links`` Change the valid links of a station, similar to **change_vif_links**. This callback can sleep. Note that a sta can also be inserted or removed with valid links, i.e. passed to **sta_add**/**sta_state** with sta->valid_links not zero. In fact, cannot change from having valid_links and not having them. h](j)}(h``change_sta_links``h]j)}(hj@h]hchange_sta_links}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMuhj@ubj)}(hhh]h)}(hX-Change the valid links of a station, similar to **change_vif_links**. This callback can sleep. Note that a sta can also be inserted or removed with valid links, i.e. passed to **sta_add**/**sta_state** with sta->valid_links not zero. In fact, cannot change from having valid_links and not having them.h](h0Change the valid links of a station, similar to }(hj@hhhNhNubj)}(h**change_vif_links**h]hchange_vif_links}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhl. This callback can sleep. Note that a sta can also be inserted or removed with valid links, i.e. passed to }(hj@hhhNhNubj)}(h **sta_add**h]hsta_add}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh/}(hj@hhhNhNubj)}(h **sta_state**h]h sta_state}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhd with sta->valid_links not zero. In fact, cannot change from having valid_links and not having them.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMqhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMuhjubj)}(h``set_hw_timestamp`` Enable/disable HW timestamping of TM/FTM frames. This is not restored at HW reset by mac80211 so drivers need to take care of that. h](j)}(h``set_hw_timestamp``h]j)}(hjAh]hset_hw_timestamp}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMxhjAubj)}(hhh]h)}(hEnable/disable HW timestamping of TM/FTM frames. This is not restored at HW reset by mac80211 so drivers need to take care of that.h]hEnable/disable HW timestamping of TM/FTM frames. This is not restored at HW reset by mac80211 so drivers need to take care of that.}(hj6AhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMvhj3Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj2AhMxhjubj)}(hX ``net_setup_tc`` Called from .ndo_setup_tc in order to prepare hardware flow offloading for flows originating from the vif. Note that the driver must not assume that the vif driver_data is valid at this point, since the callback can be called during netdev teardown. h](j)}(h``net_setup_tc``h]j)}(hjWAh]h net_setup_tc}(hjYAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUAubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM|hjQAubj)}(hhh]h)}(hCalled from .ndo_setup_tc in order to prepare hardware flow offloading for flows originating from the vif. Note that the driver must not assume that the vif driver_data is valid at this point, since the callback can be called during netdev teardown.h]hCalled from .ndo_setup_tc in order to prepare hardware flow offloading for flows originating from the vif. Note that the driver must not assume that the vif driver_data is valid at this point, since the callback can be called during netdev teardown.}(hjpAhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMyhjmAubah}(h]h ]h"]h$]h&]uh1jhjQAubeh}(h]h ]h"]h$]h&]uh1jhjlAhM|hjubj)}(hX ``can_neg_ttlm`` for managed interface, requests the driver to determine if the requested TID-To-Link mapping can be accepted or not. If it's not accepted the driver may suggest a preferred mapping and modify **ttlm** parameter with the suggested TID-to-Link mapping. h](j)}(h``can_neg_ttlm``h]j)}(hjAh]h can_neg_ttlm}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjAubj)}(hhh]h)}(hfor managed interface, requests the driver to determine if the requested TID-To-Link mapping can be accepted or not. If it's not accepted the driver may suggest a preferred mapping and modify **ttlm** parameter with the suggested TID-to-Link mapping.h](hfor managed interface, requests the driver to determine if the requested TID-To-Link mapping can be accepted or not. If it’s not accepted the driver may suggest a preferred mapping and modify }(hjAhhhNhNubj)}(h**ttlm**h]httlm}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh2 parameter with the suggested TID-to-Link mapping.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM}hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(hX``prep_add_interface`` prepare for interface addition. This can be used by drivers to prepare for the addition of a new interface, e.g., allocate the needed resources etc. This callback doesn't guarantee that an interface with the specified type would be added, and thus drivers that implement this callback need to handle such cases. The type is the full :c:type:`enum nl80211_iftype `.h](j)}(h``prep_add_interface``h]j)}(hjAh]hprep_add_interface}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjAubj)}(hhh]h)}(hX|prepare for interface addition. This can be used by drivers to prepare for the addition of a new interface, e.g., allocate the needed resources etc. This callback doesn't guarantee that an interface with the specified type would be added, and thus drivers that implement this callback need to handle such cases. The type is the full :c:type:`enum nl80211_iftype `.h](hXOprepare for interface addition. This can be used by drivers to prepare for the addition of a new interface, e.g., allocate the needed resources etc. This callback doesn’t guarantee that an interface with the specified type would be added, and thus drivers that implement this callback need to handle such cases. The type is the full }(hjAhhhNhNubh)}(h.:c:type:`enum nl80211_iftype `h]j)}(hjBh]henum nl80211_iftype}(hjBhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKnl80211_iftypeuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjBhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjCBh]h Description}(hjEBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjABubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhhhhubh)}(hThis structure contains various callbacks that the driver may handle or, in some cases, must handle, for example to configure the hardware to a new channel or to transmit a frame.h]hThis structure contains various callbacks that the driver may handle or, in some cases, must handle, for example to configure the hardware to a new channel or to transmit a frame.}(hjYBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhhhhubh)}(h**Note**h]j)}(hjjBh]hNote}(hjlBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhBubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhhhhubj)}(hhh]j)}(h^this callback is called if **vif_cfg_changed** or **link_info_changed** are not implemented. h](j)}(hGthis callback is called if **vif_cfg_changed** or **link_info_changed**h](hthis callback is called if }(hjBhhhNhNubj)}(h**vif_cfg_changed**h]hvif_cfg_changed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh or }(hjBhhhNhNubj)}(h**link_info_changed**h]hlink_info_changed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM^hjBubj)}(hhh]h)}(hare not implemented.h]hare not implemented.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM]hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM^hjBubah}(h]h ]h"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_alloc_hw (C function)c.ieee80211_alloc_hwhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h`struct ieee80211_hw * ieee80211_alloc_hw (size_t priv_data_len, const struct ieee80211_ops *ops)h]jI)}(h^struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, const struct ieee80211_ops *ops)h](jO)}(hjVh]hstruct}(hjBhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjBhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM,ubja)}(h h]h }(hjChhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjBhhhjChM,ubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjCubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjCmodnameN classnameNjCjF)}jI]jQ)}jIieee80211_alloc_hwsbc.ieee80211_alloc_hwasbuh1hhjBhhhjChM,ubja)}(h h]h }(hj3ChhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjBhhhjChM,ubje)}(hjhh]h*}(hjAChhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjBhhhjChM,ubjr)}(hieee80211_alloc_hwh]jx)}(hj0Ch]hieee80211_alloc_hw}(hjRChhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjNCubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjBhhhjChM,ubj )}(h7(size_t priv_data_len, const struct ieee80211_ops *ops)h](j)}(hsize_t priv_data_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hjpChhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjmCubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjrCmodnameN classnameNjCjF)}jI]j.Cc.ieee80211_alloc_hwasbuh1hhjiCubja)}(h h]h }(hjChhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjiCubjx)}(h priv_data_lenh]h priv_data_len}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjiCubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeCubj)}(hconst struct ieee80211_ops *opsh](jO)}(hjh]hconst}(hjChhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjCubja)}(h h]h }(hjChhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjCubjO)}(hjVh]hstruct}(hjChhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjCubja)}(h h]h }(hjChhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjCubh)}(hhh]jx)}(h ieee80211_opsh]h ieee80211_ops}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjCubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjCmodnameN classnameNjCjF)}jI]j.Cc.ieee80211_alloc_hwasbuh1hhjCubja)}(h h]h }(hj DhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjCubje)}(hjhh]h*}(hjDhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjCubjx)}(hopsh]hops}(hj'DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjCubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeCubeh}(h]h ]h"]h$]h&]jjuh1j hjBhhhjChM,ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjBhhhjChM,ubah}(h]jBah ](jjeh"]h$]h&]jj)jhuh1jBhjChM,hjBhhubj)}(hhh]h)}(hAllocate a new hardware deviceh]hAllocate a new hardware device}(hjQDhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjNDhhubah}(h]h ]h"]h$]h&]uh1jhjBhhhjChM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjiDjjiDjjjuh1j=hhhhhNhNubj)}(hX**Parameters** ``size_t priv_data_len`` length of private data ``const struct ieee80211_ops *ops`` callbacks for this device **Description** This must be called once for each hardware device. The returned pointer must be used to refer to this device when calling other functions. mac80211 allocates a private data area for the driver pointed to by **priv** in :c:type:`struct ieee80211_hw `, the size of this area is given as **priv_data_len**. **Return** A pointer to the new hardware device, or ``NULL`` on error.h](h)}(h**Parameters**h]j)}(hjsDh]h Parameters}(hjuDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqDubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM#hjmDubj)}(hhh](j)}(h0``size_t priv_data_len`` length of private data h](j)}(h``size_t priv_data_len``h]j)}(hjDh]hsize_t priv_data_len}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM'hjDubj)}(hhh]h)}(hlength of private datah]hlength of private data}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM'hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM'hjDubj)}(h>``const struct ieee80211_ops *ops`` callbacks for this device h](j)}(h#``const struct ieee80211_ops *ops``h]j)}(hjDh]hconst struct ieee80211_ops *ops}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM(hjDubj)}(hhh]h)}(hcallbacks for this deviceh]hcallbacks for this device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM(hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM(hjDubeh}(h]h ]h"]h$]h&]uh1jhjmDubh)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM*hjmDubh)}(hX=This must be called once for each hardware device. The returned pointer must be used to refer to this device when calling other functions. mac80211 allocates a private data area for the driver pointed to by **priv** in :c:type:`struct ieee80211_hw `, the size of this area is given as **priv_data_len**.h](hThis must be called once for each hardware device. The returned pointer must be used to refer to this device when calling other functions. mac80211 allocates a private data area for the driver pointed to by }(hjEhhhNhNubj)}(h**priv**h]hpriv}(hj$EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh in }(hjEhhhNhNubh)}(h,:c:type:`struct ieee80211_hw `h]j)}(hj8Eh]hstruct ieee80211_hw}(hj:EhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj6Eubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_hwuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM hjEubh$, the size of this area is given as }(hjEhhhNhNubj)}(h**priv_data_len**h]h priv_data_len}(hjZEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjUEhM hjmDubh)}(h **Return**h]j)}(hjtEh]hReturn}(hjvEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrEubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM&hjmDubh)}(h;A pointer to the new hardware device, or ``NULL`` on error.h](h)A pointer to the new hardware device, or }(hjEhhhNhNubj)}(h``NULL``h]hNULL}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh on error.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM*hjmDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9"ieee80211_register_hw (C function)c.ieee80211_register_hwhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h3int ieee80211_register_hw (struct ieee80211_hw *hw)h]jI)}(h2int ieee80211_register_hw(struct ieee80211_hw *hw)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM>ubja)}(h h]h }(hjEhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjEhhhjEhM>ubjr)}(hieee80211_register_hwh]jx)}(hieee80211_register_hwh]hieee80211_register_hw}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjEubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjEhhhjEhM>ubj )}(h(struct ieee80211_hw *hw)h]j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjFhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjFubja)}(h h]h }(hjFhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjFubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hj&FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj#Fubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj(FmodnameN classnameNjCjF)}jI]jQ)}jIjEsbc.ieee80211_register_hwasbuh1hhjFubja)}(h h]h }(hjFFhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjFubje)}(hjhh]h*}(hjTFhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjFubjx)}(hhwh]hhw}(hjaFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFubah}(h]h ]h"]h$]h&]jjuh1j hjEhhhjEhM>ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjEhhhjEhM>ubah}(h]jEah ](jjeh"]h$]h&]jj)jhuh1jBhjEhM>hjEhhubj)}(hhh]h)}(hRegister hardware deviceh]hRegister hardware device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM4hjFhhubah}(h]h ]h"]h$]h&]uh1jhjEhhhjEhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1j=hhhhhNhNubj)}(hXU**Parameters** ``struct ieee80211_hw *hw`` the device to register as returned by ieee80211_alloc_hw() **Description** You must call this function before any other functions in mac80211. Note that before a hardware can be registered, you need to fill the contained wiphy's information. **Return** 0 on success. An error code otherwise.h](h)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM8hjFubj)}(hhh]j)}(hW``struct ieee80211_hw *hw`` the device to register as returned by ieee80211_alloc_hw() h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjFh]hstruct ieee80211_hw *hw}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM:hjFubj)}(hhh]h)}(h:the device to register as returned by ieee80211_alloc_hw()h]h:the device to register as returned by ieee80211_alloc_hw()}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM:hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM:hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjGh]h Description}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM<hjFubh)}(hYou must call this function before any other functions in mac80211. Note that before a hardware can be registered, you need to fill the contained wiphy's information.h]hYou must call this function before any other functions in mac80211. Note that before a hardware can be registered, you need to fill the contained wiphy’s information.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM5hjFubh)}(h **Return**h]j)}(hj.Gh]hReturn}(hj0GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Gubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM9hjFubh)}(h&0 on success. An error code otherwise.h]h&0 on success. An error code otherwise.}(hjDGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhM<hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$ieee80211_unregister_hw (C function)c.ieee80211_unregister_hwhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h6void ieee80211_unregister_hw (struct ieee80211_hw *hw)h]jI)}(h5void ieee80211_unregister_hw(struct ieee80211_hw *hw)h](j)}(hvoidh]hvoid}(hjsGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoGhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMubja)}(h h]h }(hjGhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjoGhhhjGhMubjr)}(hieee80211_unregister_hwh]jx)}(hieee80211_unregister_hwh]hieee80211_unregister_hw}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjGubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjoGhhhjGhMubj )}(h(struct ieee80211_hw *hw)h]j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjGhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjGubja)}(h h]h }(hjGhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjGubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjGubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjGmodnameN classnameNjCjF)}jI]jQ)}jIjGsbc.ieee80211_unregister_hwasbuh1hhjGubja)}(h h]h }(hjGhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjGubje)}(hjhh]h*}(hjGhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjGubjx)}(hhwh]hhw}(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjGubah}(h]h ]h"]h$]h&]jjuh1j hjoGhhhjGhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjkGhhhjGhMubah}(h]jfGah ](jjeh"]h$]h&]jj)jhuh1jBhjGhMhjhGhhubj)}(hhh]h)}(hUnregister a hardware deviceh]hUnregister a hardware device}(hj3HhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhj0Hhhubah}(h]h ]h"]h$]h&]uh1jhjhGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKHjjKHjjjuh1j=hhhhhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` the hardware to unregister **Description** This function instructs mac80211 to free allocated resources and unregister netdevices from the networking subsystem.h](h)}(h**Parameters**h]j)}(hjUHh]h Parameters}(hjWHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSHubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjOHubj)}(hhh]j)}(h7``struct ieee80211_hw *hw`` the hardware to unregister h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjtHh]hstruct ieee80211_hw *hw}(hjvHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrHubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjnHubj)}(hhh]h)}(hthe hardware to unregisterh]hthe hardware to unregister}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjnHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjkHubah}(h]h ]h"]h$]h&]uh1jhjOHubh)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjOHubh)}(huThis function instructs mac80211 to free allocated resources and unregister netdevices from the networking subsystem.h]huThis function instructs mac80211 to free allocated resources and unregister netdevices from the networking subsystem.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjOHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_free_hw (C function)c.ieee80211_free_hwhNtauh1j,hhhhhNhNubj>)}(hhh](jC)}(h0void ieee80211_free_hw (struct ieee80211_hw *hw)h]jI)}(h/void ieee80211_free_hw(struct ieee80211_hw *hw)h](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMubja)}(h h]h }(hjIhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjHhhhjIhMubjr)}(hieee80211_free_hwh]jx)}(hieee80211_free_hwh]hieee80211_free_hw}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjIubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjHhhhjIhMubj )}(h(struct ieee80211_hw *hw)h]j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hj1IhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj-Iubja)}(h h]h }(hj>IhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj-Iubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjOIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjLIubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjQImodnameN classnameNjCjF)}jI]jQ)}jIjIsbc.ieee80211_free_hwasbuh1hhj-Iubja)}(h h]h }(hjoIhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj-Iubje)}(hjhh]h*}(hj}IhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj-Iubjx)}(hhwh]hhw}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj-Iubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj)Iubah}(h]h ]h"]h$]h&]jjuh1j hjHhhhjIhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjHhhhjIhMubah}(h]jHah ](jjeh"]h$]h&]jj)jhuh1jBhjIhMhjHhhubj)}(hhh]h)}(hfree hardware descriptorh]hfree hardware descriptor}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjIhhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1j=hhhhhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` the hardware to free **Description** This function frees everything that was allocated, including the private data for the driver. You must call ieee80211_unregister_hw() before calling this function.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjIubj)}(hhh]j)}(h1``struct ieee80211_hw *hw`` the hardware to free h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjIh]hstruct ieee80211_hw *hw}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjIubj)}(hhh]h)}(hthe hardware to freeh]hthe hardware to free}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj JhMhj Jubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj JhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hj0Jh]h Description}(hj2JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Jubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjIubh)}(hThis function frees everything that was allocated, including the private data for the driver. You must call ieee80211_unregister_hw() before calling this function.h]hThis function frees everything that was allocated, including the private data for the driver. You must call ieee80211_unregister_hw() before calling this function.}(hjFJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.hhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]basic-hardware-handlingah ]h"]basic hardware handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hPHY configurationh]hPHY configuration}(hjgJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdJhhhhhK-ubh)}(hTBDh]hTBD}(hjuJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK/hjdJhhubh)}(hiThis chapter should describe PHY handling including start/stop callbacks and the various structures used.h]hiThis chapter should describe PHY handling including start/stop callbacks and the various structures used.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjdJhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_conf_flags (C enum)c.ieee80211_conf_flagshNtauh1j,hjdJhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhNubj>)}(hhh](jC)}(hieee80211_conf_flagsh]jI)}(henum ieee80211_conf_flagsh](jO)}(hjRh]henum}(hjJhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjJhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhM{ubja)}(h h]h }(hjJhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjJhhhjJhM{ubjr)}(hieee80211_conf_flagsh]jx)}(hjJh]hieee80211_conf_flags}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjJubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjJhhhjJhM{ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjJhhhjJhM{ubah}(h]jJah ](jjeh"]h$]h&]jj)jhuh1jBhjJhM{hjJhhubj)}(hhh]h)}(hconfiguration flagsh]hconfiguration flags}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjJhhubah}(h]h ]h"]h$]h&]uh1jhjJhhhjJhM{ubeh}(h]h ](jenumeh"]h$]h&]jjjjKjjKjjjuh1j=hhhjdJhjJhNubj)}(hXH**Constants** ``IEEE80211_CONF_MONITOR`` there's a monitor interface present -- use this to determine for example whether to calculate timestamps for packets or not, do not use instead of filter flags! ``IEEE80211_CONF_PS`` Enable 802.11 power save mode (managed mode only). This is the power save mode defined by IEEE 802.11-2007 section 11.2, meaning that the hardware still wakes up for beacons, is able to transmit frames and receive the possible acknowledgment frames. Not to be confused with hardware specific wakeup/sleep states, driver is responsible for that. See the section "Powersave support" for more. ``IEEE80211_CONF_IDLE`` The device is running, but idle; if the flag is set the driver should be prepared to handle configuration requests but may turn the device off as much as possible. Typically, this flag will be set when an interface is set UP but not associated or scanning, but it can also be unset in that case when monitor interfaces are active. ``IEEE80211_CONF_OFFCHANNEL`` The device is currently not on its main operating channel.h](h)}(h **Constants**h]j)}(hjKh]h Constants}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Kubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj Kubj)}(hhh](j)}(h``IEEE80211_CONF_MONITOR`` there's a monitor interface present -- use this to determine for example whether to calculate timestamps for packets or not, do not use instead of filter flags! h](j)}(h``IEEE80211_CONF_MONITOR``h]j)}(hj.Kh]hIEEE80211_CONF_MONITOR}(hj0KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Kubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj(Kubj)}(hhh]h)}(hthere's a monitor interface present -- use this to determine for example whether to calculate timestamps for packets or not, do not use instead of filter flags!h]hthere’s a monitor interface present -- use this to determine for example whether to calculate timestamps for packets or not, do not use instead of filter flags!}(hjGKhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjDKubah}(h]h ]h"]h$]h&]uh1jhj(Kubeh}(h]h ]h"]h$]h&]uh1jhjCKhMhj%Kubj)}(hX``IEEE80211_CONF_PS`` Enable 802.11 power save mode (managed mode only). This is the power save mode defined by IEEE 802.11-2007 section 11.2, meaning that the hardware still wakes up for beacons, is able to transmit frames and receive the possible acknowledgment frames. Not to be confused with hardware specific wakeup/sleep states, driver is responsible for that. See the section "Powersave support" for more. h](j)}(h``IEEE80211_CONF_PS``h]j)}(hjhKh]hIEEE80211_CONF_PS}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfKubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjbKubj)}(hhh]h)}(hXEnable 802.11 power save mode (managed mode only). This is the power save mode defined by IEEE 802.11-2007 section 11.2, meaning that the hardware still wakes up for beacons, is able to transmit frames and receive the possible acknowledgment frames. Not to be confused with hardware specific wakeup/sleep states, driver is responsible for that. See the section "Powersave support" for more.h]hXEnable 802.11 power save mode (managed mode only). This is the power save mode defined by IEEE 802.11-2007 section 11.2, meaning that the hardware still wakes up for beacons, is able to transmit frames and receive the possible acknowledgment frames. Not to be confused with hardware specific wakeup/sleep states, driver is responsible for that. See the section “Powersave support” for more.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj~Kubah}(h]h ]h"]h$]h&]uh1jhjbKubeh}(h]h ]h"]h$]h&]uh1jhj}KhMhj%Kubj)}(hXc``IEEE80211_CONF_IDLE`` The device is running, but idle; if the flag is set the driver should be prepared to handle configuration requests but may turn the device off as much as possible. Typically, this flag will be set when an interface is set UP but not associated or scanning, but it can also be unset in that case when monitor interfaces are active. h](j)}(h``IEEE80211_CONF_IDLE``h]j)}(hjKh]hIEEE80211_CONF_IDLE}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjKubj)}(hhh]h)}(hXJThe device is running, but idle; if the flag is set the driver should be prepared to handle configuration requests but may turn the device off as much as possible. Typically, this flag will be set when an interface is set UP but not associated or scanning, but it can also be unset in that case when monitor interfaces are active.h]hXJThe device is running, but idle; if the flag is set the driver should be prepared to handle configuration requests but may turn the device off as much as possible. Typically, this flag will be set when an interface is set UP but not associated or scanning, but it can also be unset in that case when monitor interfaces are active.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj%Kubj)}(hX``IEEE80211_CONF_OFFCHANNEL`` The device is currently not on its main operating channel.h](j)}(h``IEEE80211_CONF_OFFCHANNEL``h]j)}(hjKh]hIEEE80211_CONF_OFFCHANNEL}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjKubj)}(hhh]h)}(h:The device is currently not on its main operating channel.h]h:The device is currently not on its main operating channel.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj%Kubeh}(h]h ]h"]h$]h&]uh1jhj Kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdJhhhjJhNubh)}(h**Description**h]j)}(hjLh]h Description}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjdJhhubh)}(h)Flags to define PHY configuration optionsh]h)Flags to define PHY configuration options}(hj4LhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjdJhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_conf (C struct)c.ieee80211_confhNtauh1j,hjdJhhhjJhNubj>)}(hhh](jC)}(hieee80211_confh]jI)}(hstruct ieee80211_confh](jO)}(hjVh]hstruct}(hj\LhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjXLhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMubja)}(h h]h }(hjjLhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjXLhhhjiLhMubjr)}(hieee80211_confh]jx)}(hjVLh]hieee80211_conf}(hj|LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjxLubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjXLhhhjiLhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjTLhhhjiLhMubah}(h]jOLah ](jjeh"]h$]h&]jj)jhuh1jBhjiLhMhjQLhhubj)}(hhh]h)}(hconfiguration of the deviceh]hconfiguration of the device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jhjQLhhhjiLhMubeh}(h]h ](jstructeh"]h$]h&]jjjjLjjLjjjuh1j=hhhjdJhjJhNubj)}(hX**Definition**:: struct ieee80211_conf { u32 flags; int power_level, dynamic_ps_timeout; u16 listen_interval; u8 ps_dtim_period; u8 long_frame_max_tx_count, short_frame_max_tx_count; struct cfg80211_chan_def chandef; bool radar_enabled; enum ieee80211_smps_mode smps_mode; }; **Members** ``flags`` configuration flags defined above ``power_level`` requested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfaces ``dynamic_ps_timeout`` The dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set. ``listen_interval`` listen interval in units of beacon interval ``ps_dtim_period`` The DTIM period of the AP we're connected to, for use in power saving. Power saving will not be enabled until a beacon has been received and the DTIM period is known. ``long_frame_max_tx_count`` Maximum number of transmissions for a "long" frame (a frame not RTS protected), called "dot11LongRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries ``short_frame_max_tx_count`` Maximum number of transmissions for a "short" frame, called "dot11ShortRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries ``chandef`` the channel definition to tune to ``radar_enabled`` whether radar detection is enabled ``smps_mode`` spatial multiplexing powersave mode; note that ``IEEE80211_SMPS_STATIC`` is used when the device is not configured for an HT channel. Note that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh:}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjLubj)}(hX"struct ieee80211_conf { u32 flags; int power_level, dynamic_ps_timeout; u16 listen_interval; u8 ps_dtim_period; u8 long_frame_max_tx_count, short_frame_max_tx_count; struct cfg80211_chan_def chandef; bool radar_enabled; enum ieee80211_smps_mode smps_mode; };h]hX"struct ieee80211_conf { u32 flags; int power_level, dynamic_ps_timeout; u16 listen_interval; u8 ps_dtim_period; u8 long_frame_max_tx_count, short_frame_max_tx_count; struct cfg80211_chan_def chandef; bool radar_enabled; enum ieee80211_smps_mode smps_mode; };}hjLsbah}(h]h ]h"]h$]h&]jjuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjLubh)}(h **Members**h]j)}(hjLh]hMembers}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjLubj)}(hhh](j)}(h,``flags`` configuration flags defined above h](j)}(h ``flags``h]j)}(hj Mh]hflags}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjMubj)}(hhh]h)}(h!configuration flags defined aboveh]h!configuration flags defined above}(hj$MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj MhMhj!Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj MhMhjMubj)}(h``power_level`` requested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfaces h](j)}(h``power_level``h]j)}(hjDMh]h power_level}(hjFMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBMubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj>Mubj)}(hhh]h)}(hqrequested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfacesh]hqrequested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfaces}(hj]MhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjZMubah}(h]h ]h"]h$]h&]uh1jhj>Mubeh}(h]h ]h"]h$]h&]uh1jhjYMhMhjMubj)}(h``dynamic_ps_timeout`` The dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set. h](j)}(h``dynamic_ps_timeout``h]j)}(hj~Mh]hdynamic_ps_timeout}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Mubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjxMubj)}(hhh]h)}(hThe dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set.h]hThe dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjMubah}(h]h ]h"]h$]h&]uh1jhjxMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(h@``listen_interval`` listen interval in units of beacon interval h](j)}(h``listen_interval``h]j)}(hjMh]hlisten_interval}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjMubj)}(hhh]h)}(h+listen interval in units of beacon intervalh]h+listen interval in units of beacon interval}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(h``ps_dtim_period`` The DTIM period of the AP we're connected to, for use in power saving. Power saving will not be enabled until a beacon has been received and the DTIM period is known. h](j)}(h``ps_dtim_period``h]j)}(hjMh]hps_dtim_period}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjMubj)}(hhh]h)}(hThe DTIM period of the AP we're connected to, for use in power saving. Power saving will not be enabled until a beacon has been received and the DTIM period is known.h]hThe DTIM period of the AP we’re connected to, for use in power saving. Power saving will not be enabled until a beacon has been received and the DTIM period is known.}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubj)}(h``long_frame_max_tx_count`` Maximum number of transmissions for a "long" frame (a frame not RTS protected), called "dot11LongRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries h](j)}(h``long_frame_max_tx_count``h]j)}(hj+Nh]hlong_frame_max_tx_count}(hj-NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Nubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj%Nubj)}(hhh]h)}(hMaximum number of transmissions for a "long" frame (a frame not RTS protected), called "dot11LongRetryLimit" in 802.11, but actually means the number of transmissions not the number of retriesh]hMaximum number of transmissions for a “long” frame (a frame not RTS protected), called “dot11LongRetryLimit” in 802.11, but actually means the number of transmissions not the number of retries}(hjDNhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjANubah}(h]h ]h"]h$]h&]uh1jhj%Nubeh}(h]h ]h"]h$]h&]uh1jhj@NhMhjMubj)}(h``short_frame_max_tx_count`` Maximum number of transmissions for a "short" frame, called "dot11ShortRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries h](j)}(h``short_frame_max_tx_count``h]j)}(hjeNh]hshort_frame_max_tx_count}(hjgNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcNubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj_Nubj)}(hhh]h)}(hMaximum number of transmissions for a "short" frame, called "dot11ShortRetryLimit" in 802.11, but actually means the number of transmissions not the number of retriesh]hMaximum number of transmissions for a “short” frame, called “dot11ShortRetryLimit” in 802.11, but actually means the number of transmissions not the number of retries}(hj~NhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj{Nubah}(h]h ]h"]h$]h&]uh1jhj_Nubeh}(h]h ]h"]h$]h&]uh1jhjzNhMhjMubj)}(h.``chandef`` the channel definition to tune to h](j)}(h ``chandef``h]j)}(hjNh]hchandef}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjNubj)}(hhh]h)}(h!the channel definition to tune toh]h!the channel definition to tune to}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubj)}(h5``radar_enabled`` whether radar detection is enabled h](j)}(h``radar_enabled``h]j)}(hjNh]h radar_enabled}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjNubj)}(hhh]h)}(h"whether radar detection is enabledh]h"whether radar detection is enabled}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubj)}(hX``smps_mode`` spatial multiplexing powersave mode; note that ``IEEE80211_SMPS_STATIC`` is used when the device is not configured for an HT channel. Note that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed.h](j)}(h ``smps_mode``h]j)}(hjOh]h smps_mode}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj Oubj)}(hhh]h)}(hXspatial multiplexing powersave mode; note that ``IEEE80211_SMPS_STATIC`` is used when the device is not configured for an HT channel. Note that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed.h](h/spatial multiplexing powersave mode; note that }(hj*OhhhNhNubj)}(h``IEEE80211_SMPS_STATIC``h]hIEEE80211_SMPS_STATIC}(hj2OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Oubh is used when the device is not configured for an HT channel. Note that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed.}(hj*OhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhj'Oubah}(h]h ]h"]h$]h&]uh1jhj Oubeh}(h]h ]h"]h$]h&]uh1jhj&OhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdJhhhjJhNubh)}(h**Description**h]j)}(hjfOh]h Description}(hjhOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdOubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjdJhhubh)}(hBThis struct indicates how the driver shall configure the hardware.h]hBThis struct indicates how the driver shall configure the hardware.}(hj|OhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:52: ./include/net/mac80211.hhMhjdJhhubeh}(h]phy-configurationah ]h"]phy configurationah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hVirtual interfacesh]hVirtual interfaces}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhK:ubh)}(hTBDh]hTBD}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjOhhubh)}(h4Things related to AP mode should be discussed there.h]h4Things related to AP mode should be discussed there.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjOhhubh)}(hThings related to supporting multiple interfaces should be in the appropriate chapter, a BIG FAT note should be here about this though and the recommendation to allow only a single interface in STA mode at first!h]hThings related to supporting multiple interfaces should be in the appropriate chapter, a BIG FAT note should be here about this though and the recommendation to allow only a single interface in STA mode at first!}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjOhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_vif (C struct)c.ieee80211_vifhNtauh1j,hjOhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhNubj>)}(hhh](jC)}(h ieee80211_vifh]jI)}(hstruct ieee80211_vifh](jO)}(hjVh]hstruct}(hjOhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjOhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhM{ubja)}(h h]h }(hjPhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjOhhhjPhM{ubjr)}(h ieee80211_vifh]jx)}(hjOh]h ieee80211_vif}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjPubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjOhhhjPhM{ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjOhhhjPhM{ubah}(h]jOah ](jjeh"]h$]h&]jj)jhuh1jBhjPhM{hjOhhubj)}(hhh]h)}(hper-interface datah]hper-interface data}(hj8PhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj5Phhubah}(h]h ]h"]h$]h&]uh1jhjOhhhjPhM{ubeh}(h]h ](jstructeh"]h$]h&]jjjjPPjjPPjjjuh1j=hhhjOhjOhNubj)}(hXy **Definition**:: struct ieee80211_vif { enum nl80211_iftype type; struct ieee80211_vif_cfg cfg; struct ieee80211_bss_conf bss_conf; struct ieee80211_bss_conf __rcu *link_conf[IEEE80211_MLD_MAX_NUM_LINKS]; u16 valid_links, active_links, dormant_links, suspended_links; struct ieee80211_neg_ttlm neg_ttlm; u8 addr[ETH_ALEN] ; bool addr_valid; bool p2p; u8 cab_queue; u8 hw_queue[IEEE80211_NUM_ACS]; struct ieee80211_txq *txq; netdev_features_t netdev_features; u32 driver_flags; u32 offload_flags; #ifdef CONFIG_MAC80211_DEBUGFS; struct dentry *debugfs_dir; #endif; bool probe_req_reg; bool rx_mcast_action_reg; struct ieee80211_vif *mbssid_tx_vif; u8 drv_priv[] ; }; **Members** ``type`` type of this virtual interface ``cfg`` vif configuration, see :c:type:`struct ieee80211_vif_cfg ` ``bss_conf`` BSS configuration for this interface, either our own or the BSS we're associated to ``link_conf`` in case of MLD, the per-link BSS configuration, indexed by link ID ``valid_links`` bitmap of valid links, or 0 for non-MLO. ``active_links`` The bitmap of active links, or 0 for non-MLO. The driver shouldn't change this directly, but use the API calls meant for that purpose. ``dormant_links`` subset of the valid links that are disabled/suspended due to advertised or negotiated TTLM respectively. 0 for non-MLO. ``suspended_links`` subset of dormant_links representing links that are suspended due to negotiated TTLM, and could be activated in the future by tearing down the TTLM negotiation. 0 for non-MLO. ``neg_ttlm`` negotiated TID to link mapping info. see :c:type:`struct ieee80211_neg_ttlm `. ``addr`` address of this interface ``addr_valid`` indicates if the address is actively used. Set to false for passive monitor interfaces, true in all other cases. ``p2p`` indicates whether this AP or STA interface is a p2p interface, i.e. a GO or p2p-sta respectively ``cab_queue`` content-after-beacon (DTIM beacon really) queue, AP mode only ``hw_queue`` hardware queue for each AC ``txq`` the multicast data TX queue ``netdev_features`` tx netdev features supported by the hardware for this vif. mac80211 initializes this to hw->netdev_features, and the driver can mask out specific tx features. mac80211 will handle software fixup for masked offloads (GSO, CSUM) ``driver_flags`` flags/capabilities the driver has for this interface, these need to be set (or cleared) when the interface is added or, if supported by the driver, the interface type is changed at runtime, mac80211 will never touch this field ``offload_flags`` 802.3 -> 802.11 enapsulation offload flags, see :c:type:`enum ieee80211_offload_flags `. ``debugfs_dir`` debugfs dentry, can be used by drivers to create own per interface debug files. Note that it will be NULL for the virtual monitor interface (if that is requested.) ``probe_req_reg`` probe requests should be reported to mac80211 for this interface. ``rx_mcast_action_reg`` multicast Action frames should be reported to mac80211 for this interface. ``mbssid_tx_vif`` Pointer to the transmitting interface if MBSSID is enabled. ``drv_priv`` data area for driver use, will always be aligned to sizeof(void \*).h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj\PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXPubh:}(hjXPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTPubj)}(hXstruct ieee80211_vif { enum nl80211_iftype type; struct ieee80211_vif_cfg cfg; struct ieee80211_bss_conf bss_conf; struct ieee80211_bss_conf __rcu *link_conf[IEEE80211_MLD_MAX_NUM_LINKS]; u16 valid_links, active_links, dormant_links, suspended_links; struct ieee80211_neg_ttlm neg_ttlm; u8 addr[ETH_ALEN] ; bool addr_valid; bool p2p; u8 cab_queue; u8 hw_queue[IEEE80211_NUM_ACS]; struct ieee80211_txq *txq; netdev_features_t netdev_features; u32 driver_flags; u32 offload_flags; #ifdef CONFIG_MAC80211_DEBUGFS; struct dentry *debugfs_dir; #endif; bool probe_req_reg; bool rx_mcast_action_reg; struct ieee80211_vif *mbssid_tx_vif; u8 drv_priv[] ; };h]hXstruct ieee80211_vif { enum nl80211_iftype type; struct ieee80211_vif_cfg cfg; struct ieee80211_bss_conf bss_conf; struct ieee80211_bss_conf __rcu *link_conf[IEEE80211_MLD_MAX_NUM_LINKS]; u16 valid_links, active_links, dormant_links, suspended_links; struct ieee80211_neg_ttlm neg_ttlm; u8 addr[ETH_ALEN] ; bool addr_valid; bool p2p; u8 cab_queue; u8 hw_queue[IEEE80211_NUM_ACS]; struct ieee80211_txq *txq; netdev_features_t netdev_features; u32 driver_flags; u32 offload_flags; #ifdef CONFIG_MAC80211_DEBUGFS; struct dentry *debugfs_dir; #endif; bool probe_req_reg; bool rx_mcast_action_reg; struct ieee80211_vif *mbssid_tx_vif; u8 drv_priv[] ; };}hjuPsbah}(h]h ]h"]h$]h&]jjuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTPubh)}(h **Members**h]j)}(hjPh]hMembers}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTPubj)}(hhh](j)}(h(``type`` type of this virtual interface h](j)}(h``type``h]j)}(hjPh]htype}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjPubj)}(hhh]h)}(htype of this virtual interfaceh]htype of this virtual interface}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubj)}(hV``cfg`` vif configuration, see :c:type:`struct ieee80211_vif_cfg ` h](j)}(h``cfg``h]j)}(hjPh]hcfg}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjPubj)}(hhh]h)}(hMvif configuration, see :c:type:`struct ieee80211_vif_cfg `h](hvif configuration, see }(hjPhhhNhNubh)}(h6:c:type:`struct ieee80211_vif_cfg `h]j)}(hjQh]hstruct ieee80211_vif_cfg}(hjQhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_vif_cfguh1hhjPhMhjPubeh}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubj)}(ha``bss_conf`` BSS configuration for this interface, either our own or the BSS we're associated to h](j)}(h ``bss_conf``h]j)}(hj6Qh]hbss_conf}(hj8QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Qubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj0Qubj)}(hhh]h)}(hSBSS configuration for this interface, either our own or the BSS we're associated toh]hUBSS configuration for this interface, either our own or the BSS we’re associated to}(hjOQhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjLQubah}(h]h ]h"]h$]h&]uh1jhj0Qubeh}(h]h ]h"]h$]h&]uh1jhjKQhMhjPubj)}(hQ``link_conf`` in case of MLD, the per-link BSS configuration, indexed by link ID h](j)}(h ``link_conf``h]j)}(hjpQh]h link_conf}(hjrQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnQubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjjQubj)}(hhh]h)}(hBin case of MLD, the per-link BSS configuration, indexed by link IDh]hBin case of MLD, the per-link BSS configuration, indexed by link ID}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjQubah}(h]h ]h"]h$]h&]uh1jhjjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubj)}(h9``valid_links`` bitmap of valid links, or 0 for non-MLO. h](j)}(h``valid_links``h]j)}(hjQh]h valid_links}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjQubj)}(hhh]h)}(h(bitmap of valid links, or 0 for non-MLO.h]h(bitmap of valid links, or 0 for non-MLO.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubj)}(h``active_links`` The bitmap of active links, or 0 for non-MLO. The driver shouldn't change this directly, but use the API calls meant for that purpose. h](j)}(h``active_links``h]j)}(hjQh]h active_links}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjQubj)}(hhh]h)}(hThe bitmap of active links, or 0 for non-MLO. The driver shouldn't change this directly, but use the API calls meant for that purpose.h]hThe bitmap of active links, or 0 for non-MLO. The driver shouldn’t change this directly, but use the API calls meant for that purpose.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubj)}(h``dormant_links`` subset of the valid links that are disabled/suspended due to advertised or negotiated TTLM respectively. 0 for non-MLO. h](j)}(h``dormant_links``h]j)}(hjRh]h dormant_links}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjRubj)}(hhh]h)}(hwsubset of the valid links that are disabled/suspended due to advertised or negotiated TTLM respectively. 0 for non-MLO.h]hwsubset of the valid links that are disabled/suspended due to advertised or negotiated TTLM respectively. 0 for non-MLO.}(hj6RhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj3Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj2RhMhjPubj)}(h``suspended_links`` subset of dormant_links representing links that are suspended due to negotiated TTLM, and could be activated in the future by tearing down the TTLM negotiation. 0 for non-MLO. h](j)}(h``suspended_links``h]j)}(hjWRh]hsuspended_links}(hjYRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjURubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjQRubj)}(hhh]h)}(hsubset of dormant_links representing links that are suspended due to negotiated TTLM, and could be activated in the future by tearing down the TTLM negotiation. 0 for non-MLO.h]hsubset of dormant_links representing links that are suspended due to negotiated TTLM, and could be activated in the future by tearing down the TTLM negotiation. 0 for non-MLO.}(hjpRhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjmRubah}(h]h ]h"]h$]h&]uh1jhjQRubeh}(h]h ]h"]h$]h&]uh1jhjlRhMhjPubj)}(hp``neg_ttlm`` negotiated TID to link mapping info. see :c:type:`struct ieee80211_neg_ttlm `. h](j)}(h ``neg_ttlm``h]j)}(hjRh]hneg_ttlm}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjRubj)}(hhh]h)}(hbnegotiated TID to link mapping info. see :c:type:`struct ieee80211_neg_ttlm `.h](h)negotiated TID to link mapping info. see }(hjRhhhNhNubh)}(h8:c:type:`struct ieee80211_neg_ttlm `h]j)}(hjRh]hstruct ieee80211_neg_ttlm}(hjRhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_neg_ttlmuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjPubj)}(h#``addr`` address of this interface h](j)}(h``addr``h]j)}(hjRh]haddr}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjRubj)}(hhh]h)}(haddress of this interfaceh]haddress of this interface}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjPubj)}(h``addr_valid`` indicates if the address is actively used. Set to false for passive monitor interfaces, true in all other cases. h](j)}(h``addr_valid``h]j)}(hj'Sh]h addr_valid}(hj)ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Subah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj!Subj)}(hhh]h)}(hpindicates if the address is actively used. Set to false for passive monitor interfaces, true in all other cases.h]hpindicates if the address is actively used. Set to false for passive monitor interfaces, true in all other cases.}(hj@ShhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj=Subah}(h]h ]h"]h$]h&]uh1jhj!Subeh}(h]h ]h"]h$]h&]uh1jhjnetdev_features, and the driver can mask out specific tx features. mac80211 will handle software fixup for masked offloads (GSO, CSUM) h](j)}(h``netdev_features``h]j)}(hjFTh]hnetdev_features}(hjHThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDTubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj@Tubj)}(hhh]h)}(htx netdev features supported by the hardware for this vif. mac80211 initializes this to hw->netdev_features, and the driver can mask out specific tx features. mac80211 will handle software fixup for masked offloads (GSO, CSUM)h]htx netdev features supported by the hardware for this vif. mac80211 initializes this to hw->netdev_features, and the driver can mask out specific tx features. mac80211 will handle software fixup for masked offloads (GSO, CSUM)}(hj_ThhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj\Tubah}(h]h ]h"]h$]h&]uh1jhj@Tubeh}(h]h ]h"]h$]h&]uh1jhj[ThMhjPubj)}(h``driver_flags`` flags/capabilities the driver has for this interface, these need to be set (or cleared) when the interface is added or, if supported by the driver, the interface type is changed at runtime, mac80211 will never touch this field h](j)}(h``driver_flags``h]j)}(hjTh]h driver_flags}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Tubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjzTubj)}(hhh]h)}(hflags/capabilities the driver has for this interface, these need to be set (or cleared) when the interface is added or, if supported by the driver, the interface type is changed at runtime, mac80211 will never touch this fieldh]hflags/capabilities the driver has for this interface, these need to be set (or cleared) when the interface is added or, if supported by the driver, the interface type is changed at runtime, mac80211 will never touch this field}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTubah}(h]h ]h"]h$]h&]uh1jhjzTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjPubj)}(h``offload_flags`` 802.3 -> 802.11 enapsulation offload flags, see :c:type:`enum ieee80211_offload_flags `. h](j)}(h``offload_flags``h]j)}(hjTh]h offload_flags}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTubj)}(hhh]h)}(hq802.3 -> 802.11 enapsulation offload flags, see :c:type:`enum ieee80211_offload_flags `.h](h0802.3 -> 802.11 enapsulation offload flags, see }(hjThhhNhNubh)}(h@:c:type:`enum ieee80211_offload_flags `h]j)}(hjTh]henum ieee80211_offload_flags}(hjThhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_offload_flagsuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjPubj)}(h``debugfs_dir`` debugfs dentry, can be used by drivers to create own per interface debug files. Note that it will be NULL for the virtual monitor interface (if that is requested.) h](j)}(h``debugfs_dir``h]j)}(hjUh]h debugfs_dir}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjUubj)}(hhh]h)}(hdebugfs dentry, can be used by drivers to create own per interface debug files. Note that it will be NULL for the virtual monitor interface (if that is requested.)h]hdebugfs dentry, can be used by drivers to create own per interface debug files. Note that it will be NULL for the virtual monitor interface (if that is requested.)}(hj0UhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhj-Uubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj,UhMhjPubj)}(hT``probe_req_reg`` probe requests should be reported to mac80211 for this interface. h](j)}(h``probe_req_reg``h]j)}(hjQUh]h probe_req_reg}(hjSUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOUubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjKUubj)}(hhh]h)}(hAprobe requests should be reported to mac80211 for this interface.h]hAprobe requests should be reported to mac80211 for this interface.}(hjjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjgUubah}(h]h ]h"]h$]h&]uh1jhjKUubeh}(h]h ]h"]h$]h&]uh1jhjfUhMhjPubj)}(hc``rx_mcast_action_reg`` multicast Action frames should be reported to mac80211 for this interface. h](j)}(h``rx_mcast_action_reg``h]j)}(hjUh]hrx_mcast_action_reg}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjUubj)}(hhh]h)}(hJmulticast Action frames should be reported to mac80211 for this interface.h]hJmulticast Action frames should be reported to mac80211 for this interface.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjPubj)}(hN``mbssid_tx_vif`` Pointer to the transmitting interface if MBSSID is enabled. h](j)}(h``mbssid_tx_vif``h]j)}(hjUh]h mbssid_tx_vif}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjUubj)}(hhh]h)}(h;Pointer to the transmitting interface if MBSSID is enabled.h]h;Pointer to the transmitting interface if MBSSID is enabled.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjPubj)}(hQ``drv_priv`` data area for driver use, will always be aligned to sizeof(void \*).h](j)}(h ``drv_priv``h]j)}(hjUh]hdrv_priv}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjUubj)}(hhh]h)}(hDdata area for driver use, will always be aligned to sizeof(void \*).h]hDdata area for driver use, will always be aligned to sizeof(void *).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjPubeh}(h]h ]h"]h$]h&]uh1jhjTPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhjOhNubh)}(h**Description**h]j)}(hj@Vh]h Description}(hjBVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Vubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjOhhubh)}(hdData in this structure is continually present for driver use during the life of a virtual interface.h]hdData in this structure is continually present for driver use during the life of a virtual interface.}(hjVVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:74: ./include/net/mac80211.hhMhjOhhubeh}(h]virtual-interfacesah ]h"]virtual interfacesah$]h&]uh1hhhhhhhhK:ubh)}(hhh](h)}(hReceive and transmit processingh]hReceive and transmit processing}(hjpVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmVhhhhhKNubh)}(hhh](h)}(hwhat should be hereh]hwhat should be here}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~VhhhhhKQubh)}(hTBDh]hTBD}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShj~Vhhubh)}(hpThis should describe the receive and transmit paths in mac80211/the drivers as well as transmit status handling.h]hpThis should describe the receive and transmit paths in mac80211/the drivers as well as transmit status handling.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhj~Vhhubeh}(h]what-should-be-hereah ]h"]what should be hereah$]h&]uh1hhjmVhhhhhKQubh)}(hhh](h)}(h Frame formath]h Frame format}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhhhhhKYubh)}(hAs a general rule, when frames are passed between mac80211 and the driver, they start with the IEEE 802.11 header and include the same octets that are sent over the air except for the FCS which should be calculated by the hardware.h]hAs a general rule, when frames are passed between mac80211 and the driver, they start with the IEEE 802.11 header and include the same octets that are sent over the air except for the FCS which should be calculated by the hardware.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:91: ./include/net/mac80211.hhK:hjVhhubh)}(hJThere are, however, various exceptions to this rule for advanced features:h]hJThere are, however, various exceptions to this rule for advanced features:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:91: ./include/net/mac80211.hhK?hjVhhubh)}(hThe first exception is for hardware encryption and decryption offload where the IV/ICV may or may not be generated in hardware.h]hThe first exception is for hardware encryption and decryption offload where the IV/ICV may or may not be generated in hardware.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:91: ./include/net/mac80211.hhKAhjVhhubh)}(hzSecondly, when the hardware handles fragmentation, the frame handed to the driver from mac80211 is the MSDU, not the MPDU.h]hzSecondly, when the hardware handles fragmentation, the frame handed to the driver from mac80211 is the MSDU, not the MPDU.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:91: ./include/net/mac80211.hhKDhjVhhubeh}(h] frame-formatah ]h"] frame formatah$]h&]uh1hhjmVhhhhhKYubh)}(hhh](h)}(hPacket alignmenth]hPacket alignment}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhhhhhK_ubh)}(hYDrivers always need to pass packets that are aligned to two-byte boundaries to the stack.h]hYDrivers always need to pass packets that are aligned to two-byte boundaries to the stack.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:97: ./net/mac80211/rx.chMhjWhhubh)}(hX Additionally, they should, if possible, align the payload data in a way that guarantees that the contained IP header is aligned to a four-byte boundary. In the case of regular frames, this simply means aligning the payload to a four-byte boundary (because either the IP header is directly contained, or IV/RFC1042 headers that have a length divisible by four are in front of it). If the payload data is not properly aligned and the architecture doesn't support efficient unaligned operations, mac80211 will align the data.h]hX Additionally, they should, if possible, align the payload data in a way that guarantees that the contained IP header is aligned to a four-byte boundary. In the case of regular frames, this simply means aligning the payload to a four-byte boundary (because either the IP header is directly contained, or IV/RFC1042 headers that have a length divisible by four are in front of it). If the payload data is not properly aligned and the architecture doesn’t support efficient unaligned operations, mac80211 will align the data.}(hj(WhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:97: ./net/mac80211/rx.chMhjWhhubh)}(hX[With A-MSDU frames, however, the payload data address must yield two modulo four because there are 14-byte 802.3 headers within the A-MSDU frames that push the IP header further back to a multiple of four again. Thankfully, the specs were sane enough this time around to require padding each A-MSDU subframe to a length that is a multiple of four.h]hX[With A-MSDU frames, however, the payload data address must yield two modulo four because there are 14-byte 802.3 headers within the A-MSDU frames that push the IP header further back to a multiple of four again. Thankfully, the specs were sane enough this time around to require padding each A-MSDU subframe to a length that is a multiple of four.}(hj7WhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:97: ./net/mac80211/rx.chMhjWhhubh)}(hPadding like Atheros hardware adds which is between the 802.11 header and the payload is not supported; the driver is required to move the 802.11 header to be directly in front of the payload in that case.h]hPadding like Atheros hardware adds which is between the 802.11 header and the payload is not supported; the driver is required to move the 802.11 header to be directly in front of the payload in that case.}(hjFWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:97: ./net/mac80211/rx.chMhjWhhubeh}(h]packet-alignmentah ]h"]packet alignmentah$]h&]uh1hhjmVhhhhhK_ubh)}(hhh](h)}(h%Calling into mac80211 from interruptsh]h%Calling into mac80211 from interrupts}(hj`WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]WhhhhhKeubh)}(hXOnly ieee80211_tx_status_irqsafe() and ieee80211_rx_irqsafe() can be called in hardware interrupt context. The low-level driver must not call any other functions in hardware interrupt context. If there is a need for such call, the low-level driver should first ACK the interrupt and perform the IEEE 802.11 code call after this, e.g. from a scheduled workqueue or even tasklet function.h]hXOnly ieee80211_tx_status_irqsafe() and ieee80211_rx_irqsafe() can be called in hardware interrupt context. The low-level driver must not call any other functions in hardware interrupt context. If there is a need for such call, the low-level driver should first ACK the interrupt and perform the IEEE 802.11 code call after this, e.g. from a scheduled workqueue or even tasklet function.}(hjnWhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:103: ./include/net/mac80211.hhK%hj]Whhubj)}(hhh]j)}(hjNOTE: If the driver opts to use the _irqsafe() functions, it may not also use the non-IRQ-safe functions! h](j)}(hINOTE: If the driver opts to use the _irqsafe() functions, it may not alsoh]hINOTE: If the driver opts to use the _irqsafe() functions, it may not also}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:103: ./include/net/mac80211.hhK-hjWubj)}(hhh]h)}(huse the non-IRQ-safe functions!h]huse the non-IRQ-safe functions!}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhK-hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhK-hj}Wubah}(h]h ]h"]h$]h&]uh1jhj]WhhhNhNubeh}(h]%calling-into-mac80211-from-interruptsah ]h"]%calling into mac80211 from interruptsah$]h&]uh1hhjmVhhhhhKeubh)}(hhh](h)}(hfunctions/definitionsh]hfunctions/definitions}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhhhhhKkubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9mac80211_tx_info_flags (C enum)c.mac80211_tx_info_flagshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hmac80211_tx_info_flagsh]jI)}(henum mac80211_tx_info_flagsh](jO)}(hjRh]henum}(hjWhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjWhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhKubja)}(h h]h }(hjWhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjWhhhjWhKubjr)}(hmac80211_tx_info_flagsh]jx)}(hjWh]hmac80211_tx_info_flags}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjXubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjWhhhjWhKubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjWhhhjWhKubah}(h]jWah ](jjeh"]h$]h&]jj)jhuh1jBhjWhKhjWhhubj)}(hhh]h)}(h1flags to describe transmission information/statush]h1flags to describe transmission information/status}(hj*XhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMXhj'Xhhubah}(h]h ]h"]h$]h&]uh1jhjWhhhjWhKubeh}(h]h ](jenumeh"]h$]h&]jjjjBXjjBXjjjuh1j=hhhjWhNhNubj)}(hX**Constants** ``IEEE80211_TX_CTL_REQ_TX_STATUS`` require TX status callback for this frame. ``IEEE80211_TX_CTL_ASSIGN_SEQ`` The driver has to assign a sequence number to this frame, taking care of not overwriting the fragment number and increasing the sequence number only when the IEEE80211_TX_CTL_FIRST_FRAGMENT flag is set. mac80211 will properly assign sequence numbers to QoS-data frames but cannot do so correctly for non-QoS-data and management frames because beacons need them from that counter as well and mac80211 cannot guarantee proper sequencing. If this flag is set, the driver should instruct the hardware to assign a sequence number to the frame or assign one itself. Cf. IEEE 802.11-2007 7.1.3.4.1 paragraph 3. This flag will always be set for beacons and always be clear for frames without a sequence number field. ``IEEE80211_TX_CTL_NO_ACK`` tell the low level not to wait for an ack ``IEEE80211_TX_CTL_CLEAR_PS_FILT`` clear powersave filter for destination station ``IEEE80211_TX_CTL_FIRST_FRAGMENT`` this is a first fragment of the frame ``IEEE80211_TX_CTL_SEND_AFTER_DTIM`` send this frame after DTIM beacon ``IEEE80211_TX_CTL_AMPDU`` this frame should be sent as part of an A-MPDU ``IEEE80211_TX_CTL_INJECTED`` Frame was injected, internal to mac80211. ``IEEE80211_TX_STAT_TX_FILTERED`` The frame was not transmitted because the destination STA was in powersave mode. Note that to avoid race conditions, the filter must be set by the hardware or firmware upon receiving a frame that indicates that the station went to sleep (must be done on device to filter frames already on the queue) and may only be unset after mac80211 gives the OK for that by setting the IEEE80211_TX_CTL_CLEAR_PS_FILT (see above), since only then is it guaranteed that no more frames are in the hardware queue. ``IEEE80211_TX_STAT_ACK`` Frame was acknowledged ``IEEE80211_TX_STAT_AMPDU`` The frame was aggregated, so status is for the whole aggregation. ``IEEE80211_TX_STAT_AMPDU_NO_BACK`` no block ack was returned, so consider using block ack request (BAR). ``IEEE80211_TX_CTL_RATE_CTRL_PROBE`` internal to mac80211, can be set by rate control algorithms to indicate probe rate, will be cleared for fragmented frames (except on the last fragment) ``IEEE80211_TX_INTFL_OFFCHAN_TX_OK`` Internal to mac80211. Used to indicate that a frame can be transmitted while the queues are stopped for off-channel operation. ``IEEE80211_TX_CTL_HW_80211_ENCAP`` This frame uses hardware encapsulation (header conversion) ``IEEE80211_TX_INTFL_RETRIED`` completely internal to mac80211, used to indicate that a frame was already retried due to PS ``IEEE80211_TX_INTFL_DONT_ENCRYPT`` completely internal to mac80211, used to indicate frame should not be encrypted ``IEEE80211_TX_CTL_NO_PS_BUFFER`` This frame is a response to a poll frame (PS-Poll or uAPSD) or a non-bufferable MMPDU and must be sent although the station is in powersave mode. ``IEEE80211_TX_CTL_MORE_FRAMES`` More frames will be passed to the transmit function after the current frame, this can be used by drivers to kick the DMA queue only if unset or when the queue gets full. ``IEEE80211_TX_INTFL_RETRANSMISSION`` This frame is being retransmitted after TX status because the destination was asleep, it must not be modified again (no seqno assignment, crypto, etc.) ``IEEE80211_TX_INTFL_MLME_CONN_TX`` This frame was transmitted by the MLME code for connection establishment, this indicates that its status should kick the MLME state machine. ``IEEE80211_TX_INTFL_NL80211_FRAME_TX`` Frame was requested through nl80211 MLME command (internal to mac80211 to figure out whether to send TX status to user space) ``IEEE80211_TX_CTL_LDPC`` tells the driver to use LDPC for this frame ``IEEE80211_TX_CTL_STBC`` Enables Space-Time Block Coding (STBC) for this frame and selects the maximum number of streams that it can use. ``IEEE80211_TX_CTL_TX_OFFCHAN`` Marks this packet to be transmitted on the off-channel channel when a remain-on-channel offload is done in hardware -- normal packets still flow and are expected to be handled properly by the device. ``IEEE80211_TX_INTFL_TKIP_MIC_FAILURE`` Marks this packet to be used for TKIP testing. It will be sent out with incorrect Michael MIC key to allow TKIP countermeasures to be tested. ``IEEE80211_TX_CTL_NO_CCK_RATE`` This frame will be sent at non CCK rate. This flag is actually used for management frame especially for P2P frames not being sent at CCK rate in 2GHz band. ``IEEE80211_TX_STATUS_EOSP`` This packet marks the end of service period, when its status is reported the service period ends. For frames in an SP that mac80211 transmits, it is already set; for driver frames the driver may set this flag. It is also used to do the same for PS-Poll responses. ``IEEE80211_TX_CTL_USE_MINRATE`` This frame will be sent at lowest rate. This flag is used to send nullfunc frame at minimum rate when the nullfunc is used for connection monitoring purpose. ``IEEE80211_TX_CTL_DONTFRAG`` Don't fragment this packet even if it would be fragmented by size (this is optional, only used for monitor injection). ``IEEE80211_TX_STAT_NOACK_TRANSMITTED`` A frame that was marked with IEEE80211_TX_CTL_NO_ACK has been successfully transmitted without any errors (like issues specific to the driver/HW). This flag must not be set for frames that don't request no-ack behaviour with IEEE80211_TX_CTL_NO_ACK.h](h)}(h **Constants**h]j)}(hjLXh]h Constants}(hjNXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJXubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM\hjFXubj)}(hhh](j)}(hN``IEEE80211_TX_CTL_REQ_TX_STATUS`` require TX status callback for this frame. h](j)}(h"``IEEE80211_TX_CTL_REQ_TX_STATUS``h]j)}(hjkXh]hIEEE80211_TX_CTL_REQ_TX_STATUS}(hjmXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiXubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM_hjeXubj)}(hhh]h)}(h*require TX status callback for this frame.h]h*require TX status callback for this frame.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM_hjXubah}(h]h ]h"]h$]h&]uh1jhjeXubeh}(h]h ]h"]h$]h&]uh1jhjXhM_hjbXubj)}(hX``IEEE80211_TX_CTL_ASSIGN_SEQ`` The driver has to assign a sequence number to this frame, taking care of not overwriting the fragment number and increasing the sequence number only when the IEEE80211_TX_CTL_FIRST_FRAGMENT flag is set. mac80211 will properly assign sequence numbers to QoS-data frames but cannot do so correctly for non-QoS-data and management frames because beacons need them from that counter as well and mac80211 cannot guarantee proper sequencing. If this flag is set, the driver should instruct the hardware to assign a sequence number to the frame or assign one itself. Cf. IEEE 802.11-2007 7.1.3.4.1 paragraph 3. This flag will always be set for beacons and always be clear for frames without a sequence number field. h](j)}(h``IEEE80211_TX_CTL_ASSIGN_SEQ``h]j)}(hjXh]hIEEE80211_TX_CTL_ASSIGN_SEQ}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMlhjXubj)}(hhh]h)}(hXThe driver has to assign a sequence number to this frame, taking care of not overwriting the fragment number and increasing the sequence number only when the IEEE80211_TX_CTL_FIRST_FRAGMENT flag is set. mac80211 will properly assign sequence numbers to QoS-data frames but cannot do so correctly for non-QoS-data and management frames because beacons need them from that counter as well and mac80211 cannot guarantee proper sequencing. If this flag is set, the driver should instruct the hardware to assign a sequence number to the frame or assign one itself. Cf. IEEE 802.11-2007 7.1.3.4.1 paragraph 3. This flag will always be set for beacons and always be clear for frames without a sequence number field.h]hXThe driver has to assign a sequence number to this frame, taking care of not overwriting the fragment number and increasing the sequence number only when the IEEE80211_TX_CTL_FIRST_FRAGMENT flag is set. mac80211 will properly assign sequence numbers to QoS-data frames but cannot do so correctly for non-QoS-data and management frames because beacons need them from that counter as well and mac80211 cannot guarantee proper sequencing. If this flag is set, the driver should instruct the hardware to assign a sequence number to the frame or assign one itself. Cf. IEEE 802.11-2007 7.1.3.4.1 paragraph 3. This flag will always be set for beacons and always be clear for frames without a sequence number field.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMbhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMlhjbXubj)}(hF``IEEE80211_TX_CTL_NO_ACK`` tell the low level not to wait for an ack h](j)}(h``IEEE80211_TX_CTL_NO_ACK``h]j)}(hjXh]hIEEE80211_TX_CTL_NO_ACK}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMohjXubj)}(hhh]h)}(h)tell the low level not to wait for an ackh]h)tell the low level not to wait for an ack}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMohjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMohjbXubj)}(hR``IEEE80211_TX_CTL_CLEAR_PS_FILT`` clear powersave filter for destination station h](j)}(h"``IEEE80211_TX_CTL_CLEAR_PS_FILT``h]j)}(hjYh]hIEEE80211_TX_CTL_CLEAR_PS_FILT}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMshjYubj)}(hhh]h)}(h.clear powersave filter for destination stationh]h.clear powersave filter for destination station}(hj0YhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMrhj-Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj,YhMshjbXubj)}(hJ``IEEE80211_TX_CTL_FIRST_FRAGMENT`` this is a first fragment of the frame h](j)}(h#``IEEE80211_TX_CTL_FIRST_FRAGMENT``h]j)}(hjQYh]hIEEE80211_TX_CTL_FIRST_FRAGMENT}(hjSYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOYubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMvhjKYubj)}(hhh]h)}(h%this is a first fragment of the frameh]h%this is a first fragment of the frame}(hjjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfYhMvhjgYubah}(h]h ]h"]h$]h&]uh1jhjKYubeh}(h]h ]h"]h$]h&]uh1jhjfYhMvhjbXubj)}(hG``IEEE80211_TX_CTL_SEND_AFTER_DTIM`` send this frame after DTIM beacon h](j)}(h$``IEEE80211_TX_CTL_SEND_AFTER_DTIM``h]j)}(hjYh]h IEEE80211_TX_CTL_SEND_AFTER_DTIM}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMyhjYubj)}(hhh]h)}(h!send this frame after DTIM beaconh]h!send this frame after DTIM beacon}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMyhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMyhjbXubj)}(hJ``IEEE80211_TX_CTL_AMPDU`` this frame should be sent as part of an A-MPDU h](j)}(h``IEEE80211_TX_CTL_AMPDU``h]j)}(hjYh]hIEEE80211_TX_CTL_AMPDU}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM|hjYubj)}(hhh]h)}(h.this frame should be sent as part of an A-MPDUh]h.this frame should be sent as part of an A-MPDU}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM|hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM|hjbXubj)}(hH``IEEE80211_TX_CTL_INJECTED`` Frame was injected, internal to mac80211. h](j)}(h``IEEE80211_TX_CTL_INJECTED``h]j)}(hjYh]hIEEE80211_TX_CTL_INJECTED}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjYubj)}(hhh]h)}(h)Frame was injected, internal to mac80211.h]h)Frame was injected, internal to mac80211.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjbXubj)}(hX``IEEE80211_TX_STAT_TX_FILTERED`` The frame was not transmitted because the destination STA was in powersave mode. Note that to avoid race conditions, the filter must be set by the hardware or firmware upon receiving a frame that indicates that the station went to sleep (must be done on device to filter frames already on the queue) and may only be unset after mac80211 gives the OK for that by setting the IEEE80211_TX_CTL_CLEAR_PS_FILT (see above), since only then is it guaranteed that no more frames are in the hardware queue. h](j)}(h!``IEEE80211_TX_STAT_TX_FILTERED``h]j)}(hj5Zh]hIEEE80211_TX_STAT_TX_FILTERED}(hj7ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Zubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj/Zubj)}(hhh]h)}(hXThe frame was not transmitted because the destination STA was in powersave mode. Note that to avoid race conditions, the filter must be set by the hardware or firmware upon receiving a frame that indicates that the station went to sleep (must be done on device to filter frames already on the queue) and may only be unset after mac80211 gives the OK for that by setting the IEEE80211_TX_CTL_CLEAR_PS_FILT (see above), since only then is it guaranteed that no more frames are in the hardware queue.h]hXThe frame was not transmitted because the destination STA was in powersave mode. Note that to avoid race conditions, the filter must be set by the hardware or firmware upon receiving a frame that indicates that the station went to sleep (must be done on device to filter frames already on the queue) and may only be unset after mac80211 gives the OK for that by setting the IEEE80211_TX_CTL_CLEAR_PS_FILT (see above), since only then is it guaranteed that no more frames are in the hardware queue.}(hjNZhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjKZubah}(h]h ]h"]h$]h&]uh1jhj/Zubeh}(h]h ]h"]h$]h&]uh1jhjJZhMhjbXubj)}(h1``IEEE80211_TX_STAT_ACK`` Frame was acknowledged h](j)}(h``IEEE80211_TX_STAT_ACK``h]j)}(hjoZh]hIEEE80211_TX_STAT_ACK}(hjqZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmZubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjiZubj)}(hhh]h)}(hFrame was acknowledgedh]hFrame was acknowledged}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjiZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjbXubj)}(h^``IEEE80211_TX_STAT_AMPDU`` The frame was aggregated, so status is for the whole aggregation. h](j)}(h``IEEE80211_TX_STAT_AMPDU``h]j)}(hjZh]hIEEE80211_TX_STAT_AMPDU}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZubj)}(hhh]h)}(hAThe frame was aggregated, so status is for the whole aggregation.h]hAThe frame was aggregated, so status is for the whole aggregation.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjbXubj)}(hj``IEEE80211_TX_STAT_AMPDU_NO_BACK`` no block ack was returned, so consider using block ack request (BAR). h](j)}(h#``IEEE80211_TX_STAT_AMPDU_NO_BACK``h]j)}(hjZh]hIEEE80211_TX_STAT_AMPDU_NO_BACK}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZubj)}(hhh]h)}(hEno block ack was returned, so consider using block ack request (BAR).h]hEno block ack was returned, so consider using block ack request (BAR).}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjbXubj)}(h``IEEE80211_TX_CTL_RATE_CTRL_PROBE`` internal to mac80211, can be set by rate control algorithms to indicate probe rate, will be cleared for fragmented frames (except on the last fragment) h](j)}(h$``IEEE80211_TX_CTL_RATE_CTRL_PROBE``h]j)}(hj[h]h IEEE80211_TX_CTL_RATE_CTRL_PROBE}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubj)}(hhh]h)}(hinternal to mac80211, can be set by rate control algorithms to indicate probe rate, will be cleared for fragmented frames (except on the last fragment)h]hinternal to mac80211, can be set by rate control algorithms to indicate probe rate, will be cleared for fragmented frames (except on the last fragment)}(hj5[hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj2[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj1[hMhjbXubj)}(h``IEEE80211_TX_INTFL_OFFCHAN_TX_OK`` Internal to mac80211. Used to indicate that a frame can be transmitted while the queues are stopped for off-channel operation. h](j)}(h$``IEEE80211_TX_INTFL_OFFCHAN_TX_OK``h]j)}(hjV[h]h IEEE80211_TX_INTFL_OFFCHAN_TX_OK}(hjX[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT[ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjP[ubj)}(hhh]h)}(h~Internal to mac80211. Used to indicate that a frame can be transmitted while the queues are stopped for off-channel operation.h]h~Internal to mac80211. Used to indicate that a frame can be transmitted while the queues are stopped for off-channel operation.}(hjo[hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjl[ubah}(h]h ]h"]h$]h&]uh1jhjP[ubeh}(h]h ]h"]h$]h&]uh1jhjk[hMhjbXubj)}(h_``IEEE80211_TX_CTL_HW_80211_ENCAP`` This frame uses hardware encapsulation (header conversion) h](j)}(h#``IEEE80211_TX_CTL_HW_80211_ENCAP``h]j)}(hj[h]hIEEE80211_TX_CTL_HW_80211_ENCAP}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jchj[ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubj)}(hhh]h)}(h:This frame uses hardware encapsulation (header conversion)h]h:This frame uses hardware encapsulation (header conversion)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjbXubj)}(h|``IEEE80211_TX_INTFL_RETRIED`` completely internal to mac80211, used to indicate that a frame was already retried due to PS h](j)}(h``IEEE80211_TX_INTFL_RETRIED``h]j)}(hj[h]hIEEE80211_TX_INTFL_RETRIED}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubj)}(hhh]h)}(h\completely internal to mac80211, used to indicate that a frame was already retried due to PSh]h\completely internal to mac80211, used to indicate that a frame was already retried due to PS}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjbXubj)}(ht``IEEE80211_TX_INTFL_DONT_ENCRYPT`` completely internal to mac80211, used to indicate frame should not be encrypted h](j)}(h#``IEEE80211_TX_INTFL_DONT_ENCRYPT``h]j)}(hj\h]hIEEE80211_TX_INTFL_DONT_ENCRYPT}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[ubj)}(hhh]h)}(hOcompletely internal to mac80211, used to indicate frame should not be encryptedh]hOcompletely internal to mac80211, used to indicate frame should not be encrypted}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjbXubj)}(h``IEEE80211_TX_CTL_NO_PS_BUFFER`` This frame is a response to a poll frame (PS-Poll or uAPSD) or a non-bufferable MMPDU and must be sent although the station is in powersave mode. h](j)}(h!``IEEE80211_TX_CTL_NO_PS_BUFFER``h]j)}(hj>\h]hIEEE80211_TX_CTL_NO_PS_BUFFER}(hj@\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj8\ubj)}(hhh]h)}(hThis frame is a response to a poll frame (PS-Poll or uAPSD) or a non-bufferable MMPDU and must be sent although the station is in powersave mode.h]hThis frame is a response to a poll frame (PS-Poll or uAPSD) or a non-bufferable MMPDU and must be sent although the station is in powersave mode.}(hjW\hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjT\ubah}(h]h ]h"]h$]h&]uh1jhj8\ubeh}(h]h ]h"]h$]h&]uh1jhjS\hMhjbXubj)}(h``IEEE80211_TX_CTL_MORE_FRAMES`` More frames will be passed to the transmit function after the current frame, this can be used by drivers to kick the DMA queue only if unset or when the queue gets full. h](j)}(h ``IEEE80211_TX_CTL_MORE_FRAMES``h]j)}(hjx\h]hIEEE80211_TX_CTL_MORE_FRAMES}(hjz\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjr\ubj)}(hhh]h)}(hMore frames will be passed to the transmit function after the current frame, this can be used by drivers to kick the DMA queue only if unset or when the queue gets full.h]hMore frames will be passed to the transmit function after the current frame, this can be used by drivers to kick the DMA queue only if unset or when the queue gets full.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhjr\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjbXubj)}(h``IEEE80211_TX_INTFL_RETRANSMISSION`` This frame is being retransmitted after TX status because the destination was asleep, it must not be modified again (no seqno assignment, crypto, etc.) h](j)}(h%``IEEE80211_TX_INTFL_RETRANSMISSION``h]j)}(hj\h]h!IEEE80211_TX_INTFL_RETRANSMISSION}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\ubj)}(hhh]h)}(hThis frame is being retransmitted after TX status because the destination was asleep, it must not be modified again (no seqno assignment, crypto, etc.)h]hThis frame is being retransmitted after TX status because the destination was asleep, it must not be modified again (no seqno assignment, crypto, etc.)}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjbXubj)}(h``IEEE80211_TX_INTFL_MLME_CONN_TX`` This frame was transmitted by the MLME code for connection establishment, this indicates that its status should kick the MLME state machine. h](j)}(h#``IEEE80211_TX_INTFL_MLME_CONN_TX``h]j)}(hj\h]hIEEE80211_TX_INTFL_MLME_CONN_TX}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\ubj)}(hhh]h)}(hThis frame was transmitted by the MLME code for connection establishment, this indicates that its status should kick the MLME state machine.h]hThis frame was transmitted by the MLME code for connection establishment, this indicates that its status should kick the MLME state machine.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjbXubj)}(h``IEEE80211_TX_INTFL_NL80211_FRAME_TX`` Frame was requested through nl80211 MLME command (internal to mac80211 to figure out whether to send TX status to user space) h](j)}(h'``IEEE80211_TX_INTFL_NL80211_FRAME_TX``h]j)}(hj&]h]h#IEEE80211_TX_INTFL_NL80211_FRAME_TX}(hj(]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$]ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj ]ubj)}(hhh]h)}(h}Frame was requested through nl80211 MLME command (internal to mac80211 to figure out whether to send TX status to user space)h]h}Frame was requested through nl80211 MLME command (internal to mac80211 to figure out whether to send TX status to user space)}(hj?]hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj<]ubah}(h]h ]h"]h$]h&]uh1jhj ]ubeh}(h]h ]h"]h$]h&]uh1jhj;]hMhjbXubj)}(hF``IEEE80211_TX_CTL_LDPC`` tells the driver to use LDPC for this frame h](j)}(h``IEEE80211_TX_CTL_LDPC``h]j)}(hj`]h]hIEEE80211_TX_CTL_LDPC}(hjb]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^]ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZ]ubj)}(hhh]h)}(h+tells the driver to use LDPC for this frameh]h+tells the driver to use LDPC for this frame}(hjy]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju]hMhjv]ubah}(h]h ]h"]h$]h&]uh1jhjZ]ubeh}(h]h ]h"]h$]h&]uh1jhju]hMhjbXubj)}(h``IEEE80211_TX_CTL_STBC`` Enables Space-Time Block Coding (STBC) for this frame and selects the maximum number of streams that it can use. h](j)}(h``IEEE80211_TX_CTL_STBC``h]j)}(hj]h]hIEEE80211_TX_CTL_STBC}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]ubj)}(hhh]h)}(hpEnables Space-Time Block Coding (STBC) for this frame and selects the maximum number of streams that it can use.h]hpEnables Space-Time Block Coding (STBC) for this frame and selects the maximum number of streams that it can use.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjbXubj)}(h``IEEE80211_TX_CTL_TX_OFFCHAN`` Marks this packet to be transmitted on the off-channel channel when a remain-on-channel offload is done in hardware -- normal packets still flow and are expected to be handled properly by the device. h](j)}(h``IEEE80211_TX_CTL_TX_OFFCHAN``h]j)}(hj]h]hIEEE80211_TX_CTL_TX_OFFCHAN}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]ubj)}(hhh]h)}(hMarks this packet to be transmitted on the off-channel channel when a remain-on-channel offload is done in hardware -- normal packets still flow and are expected to be handled properly by the device.h]hMarks this packet to be transmitted on the off-channel channel when a remain-on-channel offload is done in hardware -- normal packets still flow and are expected to be handled properly by the device.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjbXubj)}(h``IEEE80211_TX_INTFL_TKIP_MIC_FAILURE`` Marks this packet to be used for TKIP testing. It will be sent out with incorrect Michael MIC key to allow TKIP countermeasures to be tested. h](j)}(h'``IEEE80211_TX_INTFL_TKIP_MIC_FAILURE``h]j)}(hj ^h]h#IEEE80211_TX_INTFL_TKIP_MIC_FAILURE}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ^ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^ubj)}(hhh]h)}(hMarks this packet to be used for TKIP testing. It will be sent out with incorrect Michael MIC key to allow TKIP countermeasures to be tested.h]hMarks this packet to be used for TKIP testing. It will be sent out with incorrect Michael MIC key to allow TKIP countermeasures to be tested.}(hj&^hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj#^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj"^hMhjbXubj)}(h``IEEE80211_TX_CTL_NO_CCK_RATE`` This frame will be sent at non CCK rate. This flag is actually used for management frame especially for P2P frames not being sent at CCK rate in 2GHz band. h](j)}(h ``IEEE80211_TX_CTL_NO_CCK_RATE``h]j)}(hjG^h]hIEEE80211_TX_CTL_NO_CCK_RATE}(hjI^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE^ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjA^ubj)}(hhh]h)}(hThis frame will be sent at non CCK rate. This flag is actually used for management frame especially for P2P frames not being sent at CCK rate in 2GHz band.h]hThis frame will be sent at non CCK rate. This flag is actually used for management frame especially for P2P frames not being sent at CCK rate in 2GHz band.}(hj`^hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]^ubah}(h]h ]h"]h$]h&]uh1jhjA^ubeh}(h]h ]h"]h$]h&]uh1jhj\^hMhjbXubj)}(hX%``IEEE80211_TX_STATUS_EOSP`` This packet marks the end of service period, when its status is reported the service period ends. For frames in an SP that mac80211 transmits, it is already set; for driver frames the driver may set this flag. It is also used to do the same for PS-Poll responses. h](j)}(h``IEEE80211_TX_STATUS_EOSP``h]j)}(hj^h]hIEEE80211_TX_STATUS_EOSP}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj{^ubj)}(hhh]h)}(hXThis packet marks the end of service period, when its status is reported the service period ends. For frames in an SP that mac80211 transmits, it is already set; for driver frames the driver may set this flag. It is also used to do the same for PS-Poll responses.h]hXThis packet marks the end of service period, when its status is reported the service period ends. For frames in an SP that mac80211 transmits, it is already set; for driver frames the driver may set this flag. It is also used to do the same for PS-Poll responses.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^ubah}(h]h ]h"]h$]h&]uh1jhj{^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjbXubj)}(h``IEEE80211_TX_CTL_USE_MINRATE`` This frame will be sent at lowest rate. This flag is used to send nullfunc frame at minimum rate when the nullfunc is used for connection monitoring purpose. h](j)}(h ``IEEE80211_TX_CTL_USE_MINRATE``h]j)}(hj^h]hIEEE80211_TX_CTL_USE_MINRATE}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^ubj)}(hhh]h)}(hThis frame will be sent at lowest rate. This flag is used to send nullfunc frame at minimum rate when the nullfunc is used for connection monitoring purpose.h]hThis frame will be sent at lowest rate. This flag is used to send nullfunc frame at minimum rate when the nullfunc is used for connection monitoring purpose.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjbXubj)}(h``IEEE80211_TX_CTL_DONTFRAG`` Don't fragment this packet even if it would be fragmented by size (this is optional, only used for monitor injection). h](j)}(h``IEEE80211_TX_CTL_DONTFRAG``h]j)}(hj^h]hIEEE80211_TX_CTL_DONTFRAG}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^ubj)}(hhh]h)}(hvDon't fragment this packet even if it would be fragmented by size (this is optional, only used for monitor injection).h]hxDon’t fragment this packet even if it would be fragmented by size (this is optional, only used for monitor injection).}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj _ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj _hMhjbXubj)}(hX!``IEEE80211_TX_STAT_NOACK_TRANSMITTED`` A frame that was marked with IEEE80211_TX_CTL_NO_ACK has been successfully transmitted without any errors (like issues specific to the driver/HW). This flag must not be set for frames that don't request no-ack behaviour with IEEE80211_TX_CTL_NO_ACK.h](j)}(h'``IEEE80211_TX_STAT_NOACK_TRANSMITTED``h]j)}(hj/_h]h#IEEE80211_TX_STAT_NOACK_TRANSMITTED}(hj1_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-_ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj)_ubj)}(hhh]h)}(hA frame that was marked with IEEE80211_TX_CTL_NO_ACK has been successfully transmitted without any errors (like issues specific to the driver/HW). This flag must not be set for frames that don't request no-ack behaviour with IEEE80211_TX_CTL_NO_ACK.h]hA frame that was marked with IEEE80211_TX_CTL_NO_ACK has been successfully transmitted without any errors (like issues specific to the driver/HW). This flag must not be set for frames that don’t request no-ack behaviour with IEEE80211_TX_CTL_NO_ACK.}(hjH_hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjE_ubah}(h]h ]h"]h$]h&]uh1jhj)_ubeh}(h]h ]h"]h$]h&]uh1jhjD_hMhjbXubeh}(h]h ]h"]h$]h&]uh1jhjFXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjr_h]h Description}(hjt_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp_ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubh)}(hNThese flags are used with the **flags** member of :c:type:`ieee80211_tx_info`.h](hThese flags are used with the }(hj_hhhNhNubj)}(h **flags**h]hflags}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh member of }(hj_hhhNhNubh)}(h:c:type:`ieee80211_tx_info`h]j)}(hj_h]hieee80211_tx_info}(hj_hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMYhj_ubh.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj_hMYhjWhhubh)}(h**Note**h]j)}(hj_h]hNote}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM[hjWhhubj)}(hhh]j)}(hIf you have to add new flags to the enumeration, then don't forget to update ``IEEE80211_TX_TEMPORARY_FLAGS`` when necessary. h](j)}(h;If you have to add new flags to the enumeration, then don'th]h=If you have to add new flags to the enumeration, then don’t}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj_ubj)}(hhh]h)}(hAforget to update ``IEEE80211_TX_TEMPORARY_FLAGS`` when necessary.h](hforget to update }(hj_hhhNhNubj)}(h ``IEEE80211_TX_TEMPORARY_FLAGS``h]hIEEE80211_TX_TEMPORARY_FLAGS}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh when necessary.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9"mac80211_tx_control_flags (C enum)c.mac80211_tx_control_flagshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hmac80211_tx_control_flagsh]jI)}(henum mac80211_tx_control_flagsh](jO)}(hjRh]henum}(hjI`hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjE`hhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjW`hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjE`hhhjV`hMubjr)}(hmac80211_tx_control_flagsh]jx)}(hjC`h]hmac80211_tx_control_flags}(hji`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhje`ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjE`hhhjV`hMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjA`hhhjV`hMubah}(h]j<`ah ](jjeh"]h$]h&]jj)jhuh1jBhjV`hMhj>`hhubj)}(hhh]h)}(h"flags to describe transmit controlh]h"flags to describe transmit control}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj`hhubah}(h]h ]h"]h$]h&]uh1jhj>`hhhjV`hMubeh}(h]h ](jenumeh"]h$]h&]jjjj`jj`jjjuh1j=hhhjWhNhNubj)}(hXy**Constants** ``IEEE80211_TX_CTRL_PORT_CTRL_PROTO`` this frame is a port control protocol frame (e.g. EAP) ``IEEE80211_TX_CTRL_PS_RESPONSE`` This frame is a response to a poll frame (PS-Poll or uAPSD). ``IEEE80211_TX_CTRL_RATE_INJECT`` This frame is injected with rate information ``IEEE80211_TX_CTRL_AMSDU`` This frame is an A-MSDU frame ``IEEE80211_TX_CTRL_FAST_XMIT`` This frame is going through the fast_xmit path ``IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP`` This frame skips mesh path lookup ``IEEE80211_TX_INTCFL_NEED_TXPROCESSING`` completely internal to mac80211, used to indicate that a pending frame requires TX processing before it can be sent out. ``IEEE80211_TX_CTRL_NO_SEQNO`` Do not overwrite the sequence number that has already been assigned to this frame. ``IEEE80211_TX_CTRL_DONT_REORDER`` This frame should not be reordered relative to other frames that have this flag set, independent of their QoS TID or other priority field values. ``IEEE80211_TX_CTRL_MCAST_MLO_FIRST_TX`` first MLO TX, used mostly internally for sequence number assignment ``IEEE80211_TX_CTRL_DONT_USE_RATE_MASK`` Don't use rate mask for this frame which is transmitted due to scanning or offchannel TX, not in normal operation on the interface. ``IEEE80211_TX_CTRL_MLO_LINK`` If not **IEEE80211_LINK_UNSPECIFIED**, this frame should be transmitted on the specific link. This really is only relevant for frames that do not have data present, and is also not used for 802.3 format frames. Note that even if the frame is on a specific link, address translation might still apply if it's intended for an MLD.h](h)}(h **Constants**h]j)}(hj`h]h Constants}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj`ubj)}(hhh](j)}(h]``IEEE80211_TX_CTRL_PORT_CTRL_PROTO`` this frame is a port control protocol frame (e.g. EAP) h](j)}(h%``IEEE80211_TX_CTRL_PORT_CTRL_PROTO``h]j)}(hj`h]h!IEEE80211_TX_CTRL_PORT_CTRL_PROTO}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj`ubj)}(hhh]h)}(h6this frame is a port control protocol frame (e.g. EAP)h]h6this frame is a port control protocol frame (e.g. EAP)}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubj)}(h_``IEEE80211_TX_CTRL_PS_RESPONSE`` This frame is a response to a poll frame (PS-Poll or uAPSD). h](j)}(h!``IEEE80211_TX_CTRL_PS_RESPONSE``h]j)}(hjah]hIEEE80211_TX_CTRL_PS_RESPONSE}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjaubj)}(hhh]h)}(haubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj:aubj)}(hhh]h)}(h,This frame is injected with rate informationh]h,This frame is injected with rate information}(hjYahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUahMhjVaubah}(h]h ]h"]h$]h&]uh1jhj:aubeh}(h]h ]h"]h$]h&]uh1jhjUahMhj`ubj)}(h:``IEEE80211_TX_CTRL_AMSDU`` This frame is an A-MSDU frame h](j)}(h``IEEE80211_TX_CTRL_AMSDU``h]j)}(hjyah]hIEEE80211_TX_CTRL_AMSDU}(hj{ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwaubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjsaubj)}(hhh]h)}(hThis frame is an A-MSDU frameh]hThis frame is an A-MSDU frame}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjsaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj`ubj)}(hO``IEEE80211_TX_CTRL_FAST_XMIT`` This frame is going through the fast_xmit path h](j)}(h``IEEE80211_TX_CTRL_FAST_XMIT``h]j)}(hjah]hIEEE80211_TX_CTRL_FAST_XMIT}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjaubj)}(hhh]h)}(h.This frame is going through the fast_xmit pathh]h.This frame is going through the fast_xmit path}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj`ubj)}(hJ``IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP`` This frame skips mesh path lookup h](j)}(h'``IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP``h]j)}(hjah]h#IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjaubj)}(hhh]h)}(h!This frame skips mesh path lookuph]h!This frame skips mesh path lookup}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj`ubj)}(h``IEEE80211_TX_INTCFL_NEED_TXPROCESSING`` completely internal to mac80211, used to indicate that a pending frame requires TX processing before it can be sent out. h](j)}(h)``IEEE80211_TX_INTCFL_NEED_TXPROCESSING``h]j)}(hj$bh]h%IEEE80211_TX_INTCFL_NEED_TXPROCESSING}(hj&bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"bubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjbubj)}(hhh]h)}(hxcompletely internal to mac80211, used to indicate that a pending frame requires TX processing before it can be sent out.h]hxcompletely internal to mac80211, used to indicate that a pending frame requires TX processing before it can be sent out.}(hj=bhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj:bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj9bhMhj`ubj)}(hr``IEEE80211_TX_CTRL_NO_SEQNO`` Do not overwrite the sequence number that has already been assigned to this frame. h](j)}(h``IEEE80211_TX_CTRL_NO_SEQNO``h]j)}(hj^bh]hIEEE80211_TX_CTRL_NO_SEQNO}(hj`bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\bubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjXbubj)}(hhh]h)}(hRDo not overwrite the sequence number that has already been assigned to this frame.h]hRDo not overwrite the sequence number that has already been assigned to this frame.}(hjwbhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjtbubah}(h]h ]h"]h$]h&]uh1jhjXbubeh}(h]h ]h"]h$]h&]uh1jhjsbhMhj`ubj)}(h``IEEE80211_TX_CTRL_DONT_REORDER`` This frame should not be reordered relative to other frames that have this flag set, independent of their QoS TID or other priority field values. h](j)}(h"``IEEE80211_TX_CTRL_DONT_REORDER``h]j)}(hjbh]hIEEE80211_TX_CTRL_DONT_REORDER}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjbubj)}(hhh]h)}(hThis frame should not be reordered relative to other frames that have this flag set, independent of their QoS TID or other priority field values.h]hThis frame should not be reordered relative to other frames that have this flag set, independent of their QoS TID or other priority field values.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj`ubj)}(hm``IEEE80211_TX_CTRL_MCAST_MLO_FIRST_TX`` first MLO TX, used mostly internally for sequence number assignment h](j)}(h(``IEEE80211_TX_CTRL_MCAST_MLO_FIRST_TX``h]j)}(hjbh]h$IEEE80211_TX_CTRL_MCAST_MLO_FIRST_TX}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hjbubj)}(hhh]h)}(hCfirst MLO TX, used mostly internally for sequence number assignmenth]hCfirst MLO TX, used mostly internally for sequence number assignment}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hj`ubj)}(h``IEEE80211_TX_CTRL_DONT_USE_RATE_MASK`` Don't use rate mask for this frame which is transmitted due to scanning or offchannel TX, not in normal operation on the interface. h](j)}(h(``IEEE80211_TX_CTRL_DONT_USE_RATE_MASK``h]j)}(hj ch]h$IEEE80211_TX_CTRL_DONT_USE_RATE_MASK}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj cubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjcubj)}(hhh]h)}(hDon't use rate mask for this frame which is transmitted due to scanning or offchannel TX, not in normal operation on the interface.h]hDon’t use rate mask for this frame which is transmitted due to scanning or offchannel TX, not in normal operation on the interface.}(hj%chhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj"cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj!chMhj`ubj)}(hXg``IEEE80211_TX_CTRL_MLO_LINK`` If not **IEEE80211_LINK_UNSPECIFIED**, this frame should be transmitted on the specific link. This really is only relevant for frames that do not have data present, and is also not used for 802.3 format frames. Note that even if the frame is on a specific link, address translation might still apply if it's intended for an MLD.h](j)}(h``IEEE80211_TX_CTRL_MLO_LINK``h]j)}(hjFch]hIEEE80211_TX_CTRL_MLO_LINK}(hjHchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDcubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj@cubj)}(hhh]h)}(hXHIf not **IEEE80211_LINK_UNSPECIFIED**, this frame should be transmitted on the specific link. This really is only relevant for frames that do not have data present, and is also not used for 802.3 format frames. Note that even if the frame is on a specific link, address translation might still apply if it's intended for an MLD.h](hIf not }(hj_chhhNhNubj)}(h**IEEE80211_LINK_UNSPECIFIED**h]hIEEE80211_LINK_UNSPECIFIED}(hjgchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_cubhX%, this frame should be transmitted on the specific link. This really is only relevant for frames that do not have data present, and is also not used for 802.3 format frames. Note that even if the frame is on a specific link, address translation might still apply if it’s intended for an MLD.}(hj_chhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj\cubah}(h]h ]h"]h$]h&]uh1jhj@cubeh}(h]h ]h"]h$]h&]uh1jhj[chMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubh)}(h/These flags are used in tx_info->control.flags.h]h/These flags are used in tx_info->control.flags.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$mac80211_rate_control_flags (C enum)c.mac80211_rate_control_flagshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hmac80211_rate_control_flagsh]jI)}(h enum mac80211_rate_control_flagsh](jO)}(hjRh]henum}(hjchhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjchhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjchhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjchhhjchMubjr)}(hmac80211_rate_control_flagsh]jx)}(hjch]hmac80211_rate_control_flags}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjcubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjchhhjchMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjchhhjchMubah}(h]jcah ](jjeh"]h$]h&]jj)jhuh1jBhjchMhjchhubj)}(hhh]h)}(h1per-rate flags set by the Rate Control algorithm.h]h1per-rate flags set by the Rate Control algorithm.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM.hjdhhubah}(h]h ]h"]h$]h&]uh1jhjchhhjchMubeh}(h]h ](jenumeh"]h$]h&]jjjj3djj3djjjuh1j=hhhjWhNhNubj)}(hX4**Constants** ``IEEE80211_TX_RC_USE_RTS_CTS`` Use RTS/CTS exchange for this rate. ``IEEE80211_TX_RC_USE_CTS_PROTECT`` CTS-to-self protection is required. This is set if the current BSS requires ERP protection. ``IEEE80211_TX_RC_USE_SHORT_PREAMBLE`` Use short preamble. ``IEEE80211_TX_RC_MCS`` HT rate. ``IEEE80211_TX_RC_GREEN_FIELD`` Indicates whether this rate should be used in Greenfield mode. ``IEEE80211_TX_RC_40_MHZ_WIDTH`` Indicates if the Channel Width should be 40 MHz. ``IEEE80211_TX_RC_DUP_DATA`` The frame should be transmitted on both of the adjacent 20 MHz channels, if the current channel type is NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS. ``IEEE80211_TX_RC_SHORT_GI`` Short Guard interval should be used for this rate. ``IEEE80211_TX_RC_VHT_MCS`` VHT MCS rate, in this case the idx field is split into a higher 4 bits (Nss) and lower 4 bits (MCS number) ``IEEE80211_TX_RC_80_MHZ_WIDTH`` Indicates 80 MHz transmission ``IEEE80211_TX_RC_160_MHZ_WIDTH`` Indicates 160 MHz transmission (80+80 isn't supported yet)h](h)}(h **Constants**h]j)}(hj=dh]h Constants}(hj?dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;dubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM2hj7dubj)}(hhh](j)}(hD``IEEE80211_TX_RC_USE_RTS_CTS`` Use RTS/CTS exchange for this rate. h](j)}(h``IEEE80211_TX_RC_USE_RTS_CTS``h]j)}(hj\dh]hIEEE80211_TX_RC_USE_RTS_CTS}(hj^dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZdubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM5hjVdubj)}(hhh]h)}(h#Use RTS/CTS exchange for this rate.h]h#Use RTS/CTS exchange for this rate.}(hjudhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqdhM5hjrdubah}(h]h ]h"]h$]h&]uh1jhjVdubeh}(h]h ]h"]h$]h&]uh1jhjqdhM5hjSdubj)}(h``IEEE80211_TX_RC_USE_CTS_PROTECT`` CTS-to-self protection is required. This is set if the current BSS requires ERP protection. h](j)}(h#``IEEE80211_TX_RC_USE_CTS_PROTECT``h]j)}(hjdh]hIEEE80211_TX_RC_USE_CTS_PROTECT}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM9hjdubj)}(hhh]h)}(h[CTS-to-self protection is required. This is set if the current BSS requires ERP protection.h]h[CTS-to-self protection is required. This is set if the current BSS requires ERP protection.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM8hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM9hjSdubj)}(h;``IEEE80211_TX_RC_USE_SHORT_PREAMBLE`` Use short preamble. h](j)}(h&``IEEE80211_TX_RC_USE_SHORT_PREAMBLE``h]j)}(hjdh]h"IEEE80211_TX_RC_USE_SHORT_PREAMBLE}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM<hjdubj)}(hhh]h)}(hUse short preamble.h]hUse short preamble.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM<hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM<hjSdubj)}(h!``IEEE80211_TX_RC_MCS`` HT rate. h](j)}(h``IEEE80211_TX_RC_MCS``h]j)}(hjeh]hIEEE80211_TX_RC_MCS}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM?hjeubj)}(hhh]h)}(hHT rate.h]hHT rate.}(hj!ehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM?hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM?hjSdubj)}(h_``IEEE80211_TX_RC_GREEN_FIELD`` Indicates whether this rate should be used in Greenfield mode. h](j)}(h``IEEE80211_TX_RC_GREEN_FIELD``h]j)}(hjAeh]hIEEE80211_TX_RC_GREEN_FIELD}(hjCehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?eubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMChj;eubj)}(hhh]h)}(h>Indicates whether this rate should be used in Greenfield mode.h]h>Indicates whether this rate should be used in Greenfield mode.}(hjZehhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMBhjWeubah}(h]h ]h"]h$]h&]uh1jhj;eubeh}(h]h ]h"]h$]h&]uh1jhjVehMChjSdubj)}(hR``IEEE80211_TX_RC_40_MHZ_WIDTH`` Indicates if the Channel Width should be 40 MHz. h](j)}(h ``IEEE80211_TX_RC_40_MHZ_WIDTH``h]j)}(hj{eh]hIEEE80211_TX_RC_40_MHZ_WIDTH}(hj}ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyeubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMFhjueubj)}(hhh]h)}(h0Indicates if the Channel Width should be 40 MHz.h]h0Indicates if the Channel Width should be 40 MHz.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMFhjeubah}(h]h ]h"]h$]h&]uh1jhjueubeh}(h]h ]h"]h$]h&]uh1jhjehMFhjSdubj)}(h``IEEE80211_TX_RC_DUP_DATA`` The frame should be transmitted on both of the adjacent 20 MHz channels, if the current channel type is NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS. h](j)}(h``IEEE80211_TX_RC_DUP_DATA``h]j)}(hjeh]hIEEE80211_TX_RC_DUP_DATA}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMKhjeubj)}(hhh]h)}(hThe frame should be transmitted on both of the adjacent 20 MHz channels, if the current channel type is NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS.h]hThe frame should be transmitted on both of the adjacent 20 MHz channels, if the current channel type is NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMIhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMKhjSdubj)}(hP``IEEE80211_TX_RC_SHORT_GI`` Short Guard interval should be used for this rate. h](j)}(h``IEEE80211_TX_RC_SHORT_GI``h]j)}(hjeh]hIEEE80211_TX_RC_SHORT_GI}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMNhjeubj)}(hhh]h)}(h2Short Guard interval should be used for this rate.h]h2Short Guard interval should be used for this rate.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMNhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhMNhjSdubj)}(h``IEEE80211_TX_RC_VHT_MCS`` VHT MCS rate, in this case the idx field is split into a higher 4 bits (Nss) and lower 4 bits (MCS number) h](j)}(h``IEEE80211_TX_RC_VHT_MCS``h]j)}(hj'fh]hIEEE80211_TX_RC_VHT_MCS}(hj)fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%fubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMRhj!fubj)}(hhh]h)}(hjVHT MCS rate, in this case the idx field is split into a higher 4 bits (Nss) and lower 4 bits (MCS number)h]hjVHT MCS rate, in this case the idx field is split into a higher 4 bits (Nss) and lower 4 bits (MCS number)}(hj@fhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMQhj=fubah}(h]h ]h"]h$]h&]uh1jhj!fubeh}(h]h ]h"]h$]h&]uh1jhj)}(hhh](jC)}(hieee80211_tx_rateh]jI)}(hstruct ieee80211_tx_rateh](jO)}(hjVh]hstruct}(hj,ghhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj(ghhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM5ubja)}(h h]h }(hj:ghhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj(ghhhj9ghM5ubjr)}(hieee80211_tx_rateh]jx)}(hj&gh]hieee80211_tx_rate}(hjLghhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjHgubah}(h]h ](jjeh"]h$]h&]jjuh1jqhj(ghhhj9ghM5ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj$ghhhj9ghM5ubah}(h]jgah ](jjeh"]h$]h&]jj)jhuh1jBhj9ghM5hj!ghhubj)}(hhh]h)}(hrate selection/statush]hrate selection/status}(hjnghhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMdhjkghhubah}(h]h ]h"]h$]h&]uh1jhj!ghhhj9ghM5ubeh}(h]h ](jstructeh"]h$]h&]jjjjgjjgjjjuh1j=hhhjWhNhNubj)}(hXL**Definition**:: struct ieee80211_tx_rate { s8 idx; u16 count:5, flags:11; }; **Members** ``idx`` rate index to attempt to send with ``count`` number of tries in this rate before going to the next rate ``flags`` rate control flags (:c:type:`enum mac80211_rate_control_flags `)h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh:}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhhjgubj)}(hDstruct ieee80211_tx_rate { s8 idx; u16 count:5, flags:11; };h]hDstruct ieee80211_tx_rate { s8 idx; u16 count:5, flags:11; };}hjgsbah}(h]h ]h"]h$]h&]jjuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMjhjgubh)}(h **Members**h]j)}(hjgh]hMembers}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMohjgubj)}(hhh](j)}(h+``idx`` rate index to attempt to send with h](j)}(h``idx``h]j)}(hjgh]hidx}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMghjgubj)}(hhh]h)}(h"rate index to attempt to send withh]h"rate index to attempt to send with}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMghjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMghjgubj)}(hE``count`` number of tries in this rate before going to the next rate h](j)}(h ``count``h]j)}(hjhh]hcount}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMihjhubj)}(hhh]h)}(h:number of tries in this rate before going to the next rateh]h:number of tries in this rate before going to the next rate}(hj-hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hhMihj*hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj)hhMihjgubj)}(hg``flags`` rate control flags (:c:type:`enum mac80211_rate_control_flags `)h](j)}(h ``flags``h]j)}(hjMhh]hflags}(hjOhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKhubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMghjGhubj)}(hhh]h)}(h]rate control flags (:c:type:`enum mac80211_rate_control_flags `)h](hrate control flags (}(hjfhhhhNhNubh)}(hH:c:type:`enum mac80211_rate_control_flags `h]j)}(hjphh]h enum mac80211_rate_control_flags}(hjrhhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjnhubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKmac80211_rate_control_flagsuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhhjfhubh)}(hjfhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhhMhhjchubah}(h]h ]h"]h$]h&]uh1jhjGhubeh}(h]h ]h"]h$]h&]uh1jhjbhhMghjgubeh}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMkhjWhhubh)}(hA value of -1 for **idx** indicates an invalid rate and, if used in an array of retry rates, that no more rates should be tried.h](hA value of -1 for }(hjhhhhNhNubj)}(h**idx**h]hidx}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhg indicates an invalid rate and, if used in an array of retry rates, that no more rates should be tried.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMjhjWhhubh)}(hoWhen used for transmit status reporting, the driver should always report the rate along with the flags it used.h]hoWhen used for transmit status reporting, the driver should always report the rate along with the flags it used.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMmhjWhhubh)}(hX#:c:type:`struct ieee80211_tx_info ` contains an array of these structs in the control information, and it will be filled by the rate control algorithm according to what should be sent. For example, if this array contains, in the format { , } the information::h](h)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjhh]hstruct ieee80211_tx_info}(hjihhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMphjhubh contains an array of these structs in the control information, and it will be filled by the rate control algorithm according to what should be sent. For example, if this array contains, in the format { , } the information:}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjihMphjWhhubj)}(h2{ 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 }h]h2{ 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 }}hj'isbah}(h]h ]h"]h$]h&]jjuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMvhjWhhubh)}(hX then this means that the frame should be transmitted up to twice at rate 3, up to twice at rate 2, and up to four times at rate 1 if it doesn't get acknowledged. Say it gets acknowledged by the peer after the fifth attempt, the status information should then contain::h]hX then this means that the frame should be transmitted up to twice at rate 3, up to twice at rate 2, and up to four times at rate 1 if it doesn’t get acknowledged. Say it gets acknowledged by the peer after the fifth attempt, the status information should then contain:}(hj6ihhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMxhjWhhubj)}(h+{ 3, 2 }, { 2, 2 }, { 1, 1 }, { -1, 0 } ...h]h+{ 3, 2 }, { 2, 2 }, { 1, 1 }, { -1, 0 } ...}hjEisbah}(h]h ]h"]h$]h&]jjuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM~hjWhhubh)}(hxsince it was transmitted twice at rate 3, twice at rate 2 and once at rate 1 after which we received an acknowledgement.h]hxsince it was transmitted twice at rate 3, twice at rate 2 and once at rate 1 after which we received an acknowledgement.}(hjTihhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_tx_info (C struct)c.ieee80211_tx_infohNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hieee80211_tx_infoh]jI)}(hstruct ieee80211_tx_infoh](jO)}(hjVh]hstruct}(hj|ihhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjxihhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjihhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjxihhhjihMubjr)}(hieee80211_tx_infoh]jx)}(hjvih]hieee80211_tx_info}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjiubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjxihhhjihMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjtihhhjihMubah}(h]joiah ](jjeh"]h$]h&]jj)jhuh1jBhjihMhjqihhubj)}(hhh]h)}(hskb transmit informationh]hskb transmit information}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjihhubah}(h]h ]h"]h$]h&]uh1jhjqihhhjihMubeh}(h]h ](jstructeh"]h$]h&]jjjjijjijjjuh1j=hhhjWhNhNubj)}(hX**Definition**:: struct ieee80211_tx_info { u32 flags; u32 band:3,status_data_idr:1,status_data:13,hw_queue:4, tx_time_est:10; union { struct { union { struct { struct ieee80211_tx_rate rates[ IEEE80211_TX_MAX_RATES]; s8 rts_cts_rate_idx; u8 use_rts:1; u8 use_cts_prot:1; u8 short_preamble:1; u8 skip_table:1; u8 antennas:2; }; unsigned long jiffies; }; struct ieee80211_vif *vif; struct ieee80211_key_conf *hw_key; u32 flags; codel_time_t enqueue_time; } control; struct { u64 cookie; } ack; struct { struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; s32 ack_signal; u8 ampdu_ack_len; u8 ampdu_len; u8 antenna; u8 pad; u16 tx_time; u8 flags; u8 pad2; void *status_driver_data[16 / sizeof(void *)]; } status; struct { struct ieee80211_tx_rate driver_rates[ IEEE80211_TX_MAX_RATES]; u8 pad[4]; void *rate_driver_data[ IEEE80211_TX_INFO_RATE_DRIVER_DATA_SIZE / sizeof(void *)]; }; void *driver_data[ IEEE80211_TX_INFO_DRIVER_DATA_SIZE / sizeof(void *)]; }; }; **Members** ``flags`` transmit info flags, defined above ``band`` the band to transmit on (use e.g. for checking for races), not valid if the interface is an MLD since we won't know which link the frame will be transmitted on ``status_data_idr`` indicates status data is IDR allocated ID for ack frame ``status_data`` internal data for TX status handling, assigned privately, see also :c:type:`enum ieee80211_status_data ` for the internal documentation ``hw_queue`` HW queue to put the frame on, skb_get_queue_mapping() gives the AC ``tx_time_est`` TX time estimate in units of 4us, used internally ``{unnamed_union}`` anonymous ``control`` union part for control data ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``control.rates`` TX rates array to try ``control.rts_cts_rate_idx`` rate for RTS or CTS ``control.use_rts`` use RTS ``control.use_cts_prot`` use RTS/CTS ``control.short_preamble`` use short preamble (CCK only) ``control.skip_table`` skip externally configured rate table ``control.jiffies`` timestamp for expiry on powersave clients ``control.vif`` virtual interface (may be NULL) ``control.hw_key`` key to encrypt with (may be NULL) ``control.flags`` control flags, see :c:type:`enum mac80211_tx_control_flags ` ``control.enqueue_time`` enqueue time (for iTXQs) ``ack`` union part for pure ACK data ``ack.cookie`` cookie for the ACK ``status`` union part for status data ``status.rates`` attempted rates ``status.ack_signal`` ACK signal ``status.ampdu_ack_len`` AMPDU ack length ``status.ampdu_len`` AMPDU length ``status.antenna`` (legacy, kept only for iwlegacy) ``status.tx_time`` airtime consumed for transmission; note this is only used for WMM AC, not for airtime fairness ``status.flags`` status flags, see :c:type:`enum mac80211_tx_status_flags ` ``status.status_driver_data`` driver use area ``{unnamed_struct}`` anonymous ``driver_rates`` alias to **control.rates** to reserve space ``pad`` padding ``rate_driver_data`` driver use area if driver needs **control.rates** ``driver_data`` array of driver_data pointersh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh:}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjiubj)}(hXstruct ieee80211_tx_info { u32 flags; u32 band:3,status_data_idr:1,status_data:13,hw_queue:4, tx_time_est:10; union { struct { union { struct { struct ieee80211_tx_rate rates[ IEEE80211_TX_MAX_RATES]; s8 rts_cts_rate_idx; u8 use_rts:1; u8 use_cts_prot:1; u8 short_preamble:1; u8 skip_table:1; u8 antennas:2; }; unsigned long jiffies; }; struct ieee80211_vif *vif; struct ieee80211_key_conf *hw_key; u32 flags; codel_time_t enqueue_time; } control; struct { u64 cookie; } ack; struct { struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; s32 ack_signal; u8 ampdu_ack_len; u8 ampdu_len; u8 antenna; u8 pad; u16 tx_time; u8 flags; u8 pad2; void *status_driver_data[16 / sizeof(void *)]; } status; struct { struct ieee80211_tx_rate driver_rates[ IEEE80211_TX_MAX_RATES]; u8 pad[4]; void *rate_driver_data[ IEEE80211_TX_INFO_RATE_DRIVER_DATA_SIZE / sizeof(void *)]; }; void *driver_data[ IEEE80211_TX_INFO_DRIVER_DATA_SIZE / sizeof(void *)]; }; }; h]hXstruct ieee80211_tx_info { u32 flags; u32 band:3,status_data_idr:1,status_data:13,hw_queue:4, tx_time_est:10; union { struct { union { struct { struct ieee80211_tx_rate rates[ IEEE80211_TX_MAX_RATES]; s8 rts_cts_rate_idx; u8 use_rts:1; u8 use_cts_prot:1; u8 short_preamble:1; u8 skip_table:1; u8 antennas:2; }; unsigned long jiffies; }; struct ieee80211_vif *vif; struct ieee80211_key_conf *hw_key; u32 flags; codel_time_t enqueue_time; } control; struct { u64 cookie; } ack; struct { struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; s32 ack_signal; u8 ampdu_ack_len; u8 ampdu_len; u8 antenna; u8 pad; u16 tx_time; u8 flags; u8 pad2; void *status_driver_data[16 / sizeof(void *)]; } status; struct { struct ieee80211_tx_rate driver_rates[ IEEE80211_TX_MAX_RATES]; u8 pad[4]; void *rate_driver_data[ IEEE80211_TX_INFO_RATE_DRIVER_DATA_SIZE / sizeof(void *)]; }; void *driver_data[ IEEE80211_TX_INFO_DRIVER_DATA_SIZE / sizeof(void *)]; }; };}hjisbah}(h]h ]h"]h$]h&]jjuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjiubh)}(h **Members**h]j)}(hj jh]hMembers}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj jubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjiubj)}(hhh](j)}(h-``flags`` transmit info flags, defined above h](j)}(h ``flags``h]j)}(hj+jh]hflags}(hj-jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)jubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj%jubj)}(hhh]h)}(h"transmit info flags, defined aboveh]h"transmit info flags, defined above}(hjDjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@jhMhjAjubah}(h]h ]h"]h$]h&]uh1jhj%jubeh}(h]h ]h"]h$]h&]uh1jhj@jhMhj"jubj)}(h``band`` the band to transmit on (use e.g. for checking for races), not valid if the interface is an MLD since we won't know which link the frame will be transmitted on h](j)}(h``band``h]j)}(hjdjh]hband}(hjfjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj^jubj)}(hhh]h)}(hthe band to transmit on (use e.g. for checking for races), not valid if the interface is an MLD since we won't know which link the frame will be transmitted onh]hthe band to transmit on (use e.g. for checking for races), not valid if the interface is an MLD since we won’t know which link the frame will be transmitted on}(hj}jhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjzjubah}(h]h ]h"]h$]h&]uh1jhj^jubeh}(h]h ]h"]h$]h&]uh1jhjyjhMhj"jubj)}(hL``status_data_idr`` indicates status data is IDR allocated ID for ack frame h](j)}(h``status_data_idr``h]j)}(hjjh]hstatus_data_idr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjjubj)}(hhh]h)}(h7indicates status data is IDR allocated ID for ack frameh]h7indicates status data is IDR allocated ID for ack frame}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhj"jubj)}(h``status_data`` internal data for TX status handling, assigned privately, see also :c:type:`enum ieee80211_status_data ` for the internal documentation h](j)}(h``status_data``h]j)}(hjjh]h status_data}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjjubj)}(hhh]h)}(hinternal data for TX status handling, assigned privately, see also :c:type:`enum ieee80211_status_data ` for the internal documentationh](hCinternal data for TX status handling, assigned privately, see also }(hjjhhhNhNubh)}(h<:c:type:`enum ieee80211_status_data `h]j)}(hjjh]henum ieee80211_status_data}(hjjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_status_datauh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjjubh for the internal documentation}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjkhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhj"jubj)}(hP``hw_queue`` HW queue to put the frame on, skb_get_queue_mapping() gives the AC h](j)}(h ``hw_queue``h]j)}(hj4kh]hhw_queue}(hj6khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2kubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj.kubj)}(hhh]h)}(hBHW queue to put the frame on, skb_get_queue_mapping() gives the ACh]hBHW queue to put the frame on, skb_get_queue_mapping() gives the AC}(hjMkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIkhMhjJkubah}(h]h ]h"]h$]h&]uh1jhj.kubeh}(h]h ]h"]h$]h&]uh1jhjIkhMhj"jubj)}(hB``tx_time_est`` TX time estimate in units of 4us, used internally h](j)}(h``tx_time_est``h]j)}(hjmkh]h tx_time_est}(hjokhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkkubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjgkubj)}(hhh]h)}(h1TX time estimate in units of 4us, used internallyh]h1TX time estimate in units of 4us, used internally}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjgkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj"jubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjkh]h{unnamed_union}}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjkubj)}(hhh]h)}(h anonymoush]h anonymous}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj"jubj)}(h(``control`` union part for control data h](j)}(h ``control``h]j)}(hjkh]hcontrol}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjkubj)}(hhh]h)}(hunion part for control datah]hunion part for control data}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj"jubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjlh]h{unnamed_union}}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjlubj)}(hhh]h)}(h anonymoush]h anonymous}(hj1lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-lhMhj.lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj-lhMhj"jubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjQlh]h{unnamed_struct}}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjKlubj)}(hhh]h)}(h anonymoush]h anonymous}(hjjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjflhMhjglubah}(h]h ]h"]h$]h&]uh1jhjKlubeh}(h]h ]h"]h$]h&]uh1jhjflhMhj"jubj)}(h(``control.rates`` TX rates array to try h](j)}(h``control.rates``h]j)}(hjlh]h control.rates}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjlubj)}(hhh]h)}(hTX rates array to tryh]hTX rates array to try}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj"jubj)}(h1``control.rts_cts_rate_idx`` rate for RTS or CTS h](j)}(h``control.rts_cts_rate_idx``h]j)}(hjlh]hcontrol.rts_cts_rate_idx}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjlubj)}(hhh]h)}(hrate for RTS or CTSh]hrate for RTS or CTS}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj"jubj)}(h``control.use_rts`` use RTS h](j)}(h``control.use_rts``h]j)}(hjlh]hcontrol.use_rts}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjlubj)}(hhh]h)}(huse RTSh]huse RTS}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj"jubj)}(h%``control.use_cts_prot`` use RTS/CTS h](j)}(h``control.use_cts_prot``h]j)}(hj5mh]hcontrol.use_cts_prot}(hj7mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3mubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj/mubj)}(hhh]h)}(h use RTS/CTSh]h use RTS/CTS}(hjNmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJmhMhjKmubah}(h]h ]h"]h$]h&]uh1jhj/mubeh}(h]h ]h"]h$]h&]uh1jhjJmhMhj"jubj)}(h9``control.short_preamble`` use short preamble (CCK only) h](j)}(h``control.short_preamble``h]j)}(hjnmh]hcontrol.short_preamble}(hjpmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlmubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhmubj)}(hhh]h)}(huse short preamble (CCK only)h]huse short preamble (CCK only)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjhmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj"jubj)}(h=``control.skip_table`` skip externally configured rate table h](j)}(h``control.skip_table``h]j)}(hjmh]hcontrol.skip_table}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjmubj)}(hhh]h)}(h%skip externally configured rate tableh]h%skip externally configured rate table}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj"jubj)}(h>``control.jiffies`` timestamp for expiry on powersave clients h](j)}(h``control.jiffies``h]j)}(hjmh]hcontrol.jiffies}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjmubj)}(hhh]h)}(h)timestamp for expiry on powersave clientsh]h)timestamp for expiry on powersave clients}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj"jubj)}(h0``control.vif`` virtual interface (may be NULL) h](j)}(h``control.vif``h]j)}(hjnh]h control.vif}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjnubj)}(hhh]h)}(hvirtual interface (may be NULL)h]hvirtual interface (may be NULL)}(hj2nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.nhMhj/nubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj.nhMhj"jubj)}(h5``control.hw_key`` key to encrypt with (may be NULL) h](j)}(h``control.hw_key``h]j)}(hjRnh]hcontrol.hw_key}(hjTnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPnubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjLnubj)}(hhh]h)}(h!key to encrypt with (may be NULL)h]h!key to encrypt with (may be NULL)}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgnhMhjhnubah}(h]h ]h"]h$]h&]uh1jhjLnubeh}(h]h ]h"]h$]h&]uh1jhjgnhMhj"jubj)}(hj``control.flags`` control flags, see :c:type:`enum mac80211_tx_control_flags ` h](j)}(h``control.flags``h]j)}(hjnh]h control.flags}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjnubj)}(hhh]h)}(hWcontrol flags, see :c:type:`enum mac80211_tx_control_flags `h](hcontrol flags, see }(hjnhhhNhNubh)}(hD:c:type:`enum mac80211_tx_control_flags `h]j)}(hjnh]henum mac80211_tx_control_flags}(hjnhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKmac80211_tx_control_flagsuh1hhjnhMhjnubeh}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhj"jubj)}(h2``control.enqueue_time`` enqueue time (for iTXQs) h](j)}(h``control.enqueue_time``h]j)}(hjnh]hcontrol.enqueue_time}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjnubj)}(hhh]h)}(henqueue time (for iTXQs)h]henqueue time (for iTXQs)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhj"jubj)}(h%``ack`` union part for pure ACK data h](j)}(h``ack``h]j)}(hjoh]hack}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjoubj)}(hhh]h)}(hunion part for pure ACK datah]hunion part for pure ACK data}(hj5ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1ohMhj2oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj1ohMhj"jubj)}(h"``ack.cookie`` cookie for the ACK h](j)}(h``ack.cookie``h]j)}(hjUoh]h ack.cookie}(hjWohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSoubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjOoubj)}(hhh]h)}(hcookie for the ACKh]hcookie for the ACK}(hjnohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjohMhjkoubah}(h]h ]h"]h$]h&]uh1jhjOoubeh}(h]h ]h"]h$]h&]uh1jhjjohMhj"jubj)}(h&``status`` union part for status data h](j)}(h ``status``h]j)}(hjoh]hstatus}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjoubj)}(hhh]h)}(hunion part for status datah]hunion part for status data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhj"jubj)}(h!``status.rates`` attempted rates h](j)}(h``status.rates``h]j)}(hjoh]h status.rates}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjoubj)}(hhh]h)}(hattempted ratesh]hattempted rates}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhj"jubj)}(h!``status.ack_signal`` ACK signal h](j)}(h``status.ack_signal``h]j)}(hjph]hstatus.ack_signal}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjoubj)}(hhh]h)}(h ACK signalh]h ACK signal}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphMhj"jubj)}(h*``status.ampdu_ack_len`` AMPDU ack length h](j)}(h``status.ampdu_ack_len``h]j)}(hj9ph]hstatus.ampdu_ack_len}(hj;phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7pubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj3pubj)}(hhh]h)}(hAMPDU ack lengthh]hAMPDU ack length}(hjRphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNphMhjOpubah}(h]h ]h"]h$]h&]uh1jhj3pubeh}(h]h ]h"]h$]h&]uh1jhjNphMhj"jubj)}(h"``status.ampdu_len`` AMPDU length h](j)}(h``status.ampdu_len``h]j)}(hjrph]hstatus.ampdu_len}(hjtphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjppubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjlpubj)}(hhh]h)}(h AMPDU lengthh]h AMPDU length}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjlpubeh}(h]h ]h"]h$]h&]uh1jhjphMhj"jubj)}(h4``status.antenna`` (legacy, kept only for iwlegacy) h](j)}(h``status.antenna``h]j)}(hjph]hstatus.antenna}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjpubj)}(hhh]h)}(h (legacy, kept only for iwlegacy)h]h (legacy, kept only for iwlegacy)}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhj"jubj)}(hr``status.tx_time`` airtime consumed for transmission; note this is only used for WMM AC, not for airtime fairness h](j)}(h``status.tx_time``h]j)}(hjph]hstatus.tx_time}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjpubj)}(hhh]h)}(h^airtime consumed for transmission; note this is only used for WMM AC, not for airtime fairnessh]h^airtime consumed for transmission; note this is only used for WMM AC, not for airtime fairness}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhj"jubj)}(hf``status.flags`` status flags, see :c:type:`enum mac80211_tx_status_flags ` h](j)}(h``status.flags``h]j)}(hjqh]h status.flags}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjqubj)}(hhh]h)}(hTstatus flags, see :c:type:`enum mac80211_tx_status_flags `h](hstatus flags, see }(hj7qhhhNhNubh)}(hB:c:type:`enum mac80211_tx_status_flags `h]j)}(hjAqh]henum mac80211_tx_status_flags}(hjCqhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj?qubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKmac80211_tx_status_flagsuh1hhj3qhMhj7qubeh}(h]h ]h"]h$]h&]uh1hhj3qhMhj4qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj3qhMhj"jubj)}(h.``status.status_driver_data`` driver use area h](j)}(h``status.status_driver_data``h]j)}(hjvqh]hstatus.status_driver_data}(hjxqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtqubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjpqubj)}(hhh]h)}(hdriver use areah]hdriver use area}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjpqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj"jubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjqh]h{unnamed_struct}}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjqubj)}(hhh]h)}(h anonymoush]h anonymous}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj"jubj)}(h=``driver_rates`` alias to **control.rates** to reserve space h](j)}(h``driver_rates``h]j)}(hjqh]h driver_rates}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjqubj)}(hhh]h)}(h+alias to **control.rates** to reserve spaceh](h alias to }(hjrhhhNhNubj)}(h**control.rates**h]h control.rates}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh to reserve space}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj"jubj)}(h``pad`` padding h](j)}(h``pad``h]j)}(hj3rh]hpad}(hj5rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1rubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj-rubj)}(hhh]h)}(hpaddingh]hpadding}(hjLrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHrhMhjIrubah}(h]h ]h"]h$]h&]uh1jhj-rubeh}(h]h ]h"]h$]h&]uh1jhjHrhMhj"jubj)}(hG``rate_driver_data`` driver use area if driver needs **control.rates** h](j)}(h``rate_driver_data``h]j)}(hjlrh]hrate_driver_data}(hjnrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjrubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjfrubj)}(hhh]h)}(h1driver use area if driver needs **control.rates**h](h driver use area if driver needs }(hjrhhhNhNubj)}(h**control.rates**h]h control.rates}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjfrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj"jubj)}(h-``driver_data`` array of driver_data pointersh](j)}(h``driver_data``h]j)}(hjrh]h driver_data}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjrubj)}(hhh]h)}(harray of driver_data pointersh]harray of driver_data pointers}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj"jubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubj)}(hhh]j)}(hThis structure is placed in skb->cb for three uses: (1) mac80211 TX control - mac80211 tells the driver what to do (2) driver internal use (if applicable) (3) TX status information - driver tells mac80211 what happened h](j)}(h3This structure is placed in skb->cb for three uses:h]h3This structure is placed in skb->cb for three uses:}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjsubj)}(hhh]henumerated_list)}(hhh](j-)}(h:mac80211 TX control - mac80211 tells the driver what to doh]h)}(hj,sh]h:mac80211 TX control - mac80211 tells the driver what to do}(hj.shhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj*subah}(h]h ]h"]h$]h&]uh1j-hj'subj-)}(h#driver internal use (if applicable)h]h)}(hjDsh]h#driver internal use (if applicable)}(hjFshhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjBsubah}(h]h ]h"]h$]h&]uh1j-hj'subj-)}(h=TX status information - driver tells mac80211 what happened h]h)}(h;TX status information - driver tells mac80211 what happenedh]h;TX status information - driver tells mac80211 what happened}(hj^shhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjZsubah}(h]h ]h"]h$]h&]uh1j-hj'subeh}(h]h ]h"]h$]h&]enumtypearabicprefix(suffix)uh1j%shj"subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj!shMhj subah}(h]h ]h"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9+ieee80211_tx_info_clear_status (C function) c.ieee80211_tx_info_clear_statushNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hDvoid ieee80211_tx_info_clear_status (struct ieee80211_tx_info *info)h]jI)}(hCvoid ieee80211_tx_info_clear_status(struct ieee80211_tx_info *info)h](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMyubja)}(h h]h }(hjshhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjshhhjshMyubjr)}(hieee80211_tx_info_clear_statush]jx)}(hieee80211_tx_info_clear_statush]hieee80211_tx_info_clear_status}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjsubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjshhhjshMyubj )}(h (struct ieee80211_tx_info *info)h]j)}(hstruct ieee80211_tx_info *infoh](jO)}(hjVh]hstruct}(hjshhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjsubja)}(h h]h }(hjshhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjsubh)}(hhh]jx)}(hieee80211_tx_infoh]hieee80211_tx_info}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjtubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjtmodnameN classnameNjCjF)}jI]jQ)}jIjssb c.ieee80211_tx_info_clear_statusasbuh1hhjsubja)}(h h]h }(hj%thhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjsubje)}(hjhh]h*}(hj3thhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjsubjx)}(hinfoh]hinfo}(hj@thhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjsubah}(h]h ]h"]h$]h&]jjuh1j hjshhhjshMyubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjshhhjshMyubah}(h]jsah ](jjeh"]h$]h&]jj)jhuh1jBhjshMyhjshhubj)}(hhh]h)}(hclear TX statush]hclear TX status}(hjjthhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMlhjgthhubah}(h]h ]h"]h$]h&]uh1jhjshhhjshMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1j=hhhjWhNhNubj)}(hXI**Parameters** ``struct ieee80211_tx_info *info`` The :c:type:`struct ieee80211_tx_info ` to be cleared. **Description** When the driver passes an skb back to mac80211, it must report a number of things in TX status. This function clears everything in the TX status but the rate control information (it does clear the count since you need to fill that in anyway). **NOTE** While the rates array is kept intact, this will wipe all of the driver_data fields in info, so it's up to the driver to restore any fields it needs after calling this helper.h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMphjtubj)}(hhh]j)}(hm``struct ieee80211_tx_info *info`` The :c:type:`struct ieee80211_tx_info ` to be cleared. h](j)}(h"``struct ieee80211_tx_info *info``h]j)}(hjth]hstruct ieee80211_tx_info *info}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMnhjtubj)}(hhh]h)}(hIThe :c:type:`struct ieee80211_tx_info ` to be cleared.h](hThe }(hjthhhNhNubh)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjth]hstruct ieee80211_tx_info}(hjthhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hhjthMnhjtubh to be cleared.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjthMnhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMnhjtubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hj uh]h Description}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMphjtubh)}(hWhen the driver passes an skb back to mac80211, it must report a number of things in TX status. This function clears everything in the TX status but the rate control information (it does clear the count since you need to fill that in anyway).h]hWhen the driver passes an skb back to mac80211, it must report a number of things in TX status. This function clears everything in the TX status but the rate control information (it does clear the count since you need to fill that in anyway).}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMphjtubh)}(h**NOTE**h]j)}(hj0uh]hNOTE}(hj2uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.uubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMuhjtubj)}(hhh]j)}(hWhile the rates array is kept intact, this will wipe all of the driver_data fields in info, so it's up to the driver to restore any fields it needs after calling this helper.h](j)}(h?While the rates array is kept intact, this will wipe all of theh]h?While the rates array is kept intact, this will wipe all of the}(hjMuhhhNhNubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMvhjIuubj)}(hhh]h)}(hndriver_data fields in info, so it's up to the driver to restore any fields it needs after calling this helper.h]hpdriver_data fields in info, so it’s up to the driver to restore any fields it needs after calling this helper.}(hj_uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[uhMvhj\uubah}(h]h ]h"]h$]h&]uh1jhjIuubeh}(h]h ]h"]h$]h&]uh1jhj[uhMvhjFuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9mac80211_rx_flags (C enum)c.mac80211_rx_flagshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hmac80211_rx_flagsh]jI)}(henum mac80211_rx_flagsh](jO)}(hjRh]henum}(hjuhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjuhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM|ubja)}(h h]h }(hjuhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjuhhhjuhM|ubjr)}(hmac80211_rx_flagsh]jx)}(hjuh]hmac80211_rx_flags}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjuubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjuhhhjuhM|ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjuhhhjuhM|ubah}(h]juah ](jjeh"]h$]h&]jj)jhuh1jBhjuhM|hjuhhubj)}(hhh]h)}(h receive flagsh]h receive flags}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjuhhubah}(h]h ]h"]h$]h&]uh1jhjuhhhjuhM|ubeh}(h]h ](jenumeh"]h$]h&]jjjjujjujjjuh1j=hhhjWhNhNubj)}(hX|**Constants** ``RX_FLAG_MMIC_ERROR`` Michael MIC error was reported on this frame. Use together with ``RX_FLAG_MMIC_STRIPPED``. ``RX_FLAG_DECRYPTED`` This frame was decrypted in hardware. ``RX_FLAG_ONLY_MONITOR`` Report frame only to monitor interfaces without processing it in any regular way. This is useful if drivers offload some frames but still want to report them for sniffing purposes. ``RX_FLAG_MMIC_STRIPPED`` the Michael MIC is stripped off this frame, verification has been done by the hardware. ``RX_FLAG_IV_STRIPPED`` The IV and ICV are stripped from this frame. If this flag is set, the stack cannot do any replay detection hence the driver or hardware will have to do that. ``RX_FLAG_FAILED_FCS_CRC`` Set this flag if the FCS check failed on the frame. ``RX_FLAG_FAILED_PLCP_CRC`` Set this flag if the PCLP check failed on the frame. ``RX_FLAG_MACTIME_IS_RTAP_TS64`` The timestamp passed in the RX status **mactime** is only for use in the radiotap timestamp header, not otherwise a valid **mactime** value. Note this is a separate flag so that we continue to see ``RX_FLAG_MACTIME`` as unset. Also note that in this case the timestamp is reported to be 64 bits wide, not just 32. ``RX_FLAG_NO_SIGNAL_VAL`` The signal strength value is not present. Valid only for data frames (mainly A-MPDU) ``RX_FLAG_AMPDU_DETAILS`` A-MPDU details are known, in particular the reference number (**ampdu_reference**) must be populated and be a distinct number for each A-MPDU ``RX_FLAG_PN_VALIDATED`` Currently only valid for CCMP/GCMP frames, this flag indicates that the PN was verified for replay protection. Note that this flag is also currently only supported when a frame is also decrypted (ie. **RX_FLAG_DECRYPTED** must be set) ``RX_FLAG_DUP_VALIDATED`` The driver should set this flag if it did de-duplication by itself. ``RX_FLAG_AMPDU_LAST_KNOWN`` last subframe is known, should be set on all subframes of a single A-MPDU ``RX_FLAG_AMPDU_IS_LAST`` this subframe is the last subframe of the A-MPDU ``RX_FLAG_AMPDU_DELIM_CRC_ERROR`` A delimiter CRC error has been detected on this subframe ``RX_FLAG_MACTIME`` The timestamp passed in the RX status (**mactime** field) is valid if this field is non-zero, and the position where the timestamp was sampled depends on the value. ``RX_FLAG_MACTIME_PLCP_START`` The timestamp passed in the RX status (**mactime** field) is valid and contains the time the SYNC preamble was received. ``RX_FLAG_MACTIME_START`` The timestamp passed in the RX status (**mactime** field) is valid and contains the time the first symbol of the MPDU was received. This is useful in monitor mode and for proper IBSS merging. ``RX_FLAG_MACTIME_END`` The timestamp passed in the RX status (**mactime** field) is valid and contains the time the last symbol of the MPDU (including FCS) was received. ``RX_FLAG_SKIP_MONITOR`` Process and report frame to all interfaces except monitor interfaces. This is useful if drivers offload some frames but still want to report them for sniffing purposes. ``RX_FLAG_AMSDU_MORE`` Some drivers may prefer to report separate A-MSDU subframes instead of a one huge frame for performance reasons. All, but the last MSDU from an A-MSDU should have this flag set. E.g. if an A-MSDU has 3 frames, the first 2 must have the flag set, while the 3rd (last) one must not have this flag set. The flag is used to deal with retransmission/duplication recovery properly since A-MSDU subframes share the same sequence number. Reported subframes can be either regular MSDU or singly A-MSDUs. Subframes must not be interleaved with other frames. ``RX_FLAG_RADIOTAP_TLV_AT_END`` This frame contains radiotap TLVs in the skb->data (before the 802.11 header). If used, the SKB's mac_header pointer must be set to point to the 802.11 header after the TLVs, and any padding added after TLV data to align to 4 must be cleared by the driver putting the TLVs in the skb. ``RX_FLAG_MIC_STRIPPED`` The mic was stripped of this packet. Decryption was done by the hardware ``RX_FLAG_ALLOW_SAME_PN`` Allow the same PN as same packet before. This is used for AMSDU subframes which can have the same PN as the first subframe. ``RX_FLAG_ICV_STRIPPED`` The ICV is stripped from this frame. CRC checking must be done in the hardware. ``RX_FLAG_AMPDU_EOF_BIT`` Value of the EOF bit in the A-MPDU delimiter for this frame ``RX_FLAG_AMPDU_EOF_BIT_KNOWN`` The EOF value is known ``RX_FLAG_RADIOTAP_HE`` HE radiotap data is present (:c:type:`struct ieee80211_radiotap_he `, mac80211 will fill in - DATA3_DATA_MCS - DATA3_DATA_DCM - DATA3_CODING - DATA5_GI - DATA5_DATA_BW_RU_ALLOC - DATA6_NSTS - DATA3_STBC from the RX info data, so leave those zeroed when building this data) ``RX_FLAG_RADIOTAP_HE_MU`` HE MU radiotap data is present (:c:type:`struct ieee80211_radiotap_he_mu `) ``RX_FLAG_RADIOTAP_LSIG`` L-SIG radiotap data is present ``RX_FLAG_NO_PSDU`` use the frame only for radiotap reporting, with the "0-length PSDU" field included there. The value for it is in :c:type:`struct ieee80211_rx_status `. Note that if this value isn't known the frame shouldn't be reported. ``RX_FLAG_8023`` the frame has an 802.3 header (decap offload performed by hardware or driver)h](h)}(h **Constants**h]j)}(hjvh]h Constants}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjuubj)}(hhh](j)}(hr``RX_FLAG_MMIC_ERROR`` Michael MIC error was reported on this frame. Use together with ``RX_FLAG_MMIC_STRIPPED``. h](j)}(h``RX_FLAG_MMIC_ERROR``h]j)}(hj"vh]hRX_FLAG_MMIC_ERROR}(hj$vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj vubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubj)}(hhh]h)}(hZMichael MIC error was reported on this frame. Use together with ``RX_FLAG_MMIC_STRIPPED``.h](h@Michael MIC error was reported on this frame. Use together with }(hj;vhhhNhNubj)}(h``RX_FLAG_MMIC_STRIPPED``h]hRX_FLAG_MMIC_STRIPPED}(hjCvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;vubh.}(hj;vhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj8vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj7vhMhjvubj)}(h<``RX_FLAG_DECRYPTED`` This frame was decrypted in hardware. h](j)}(h``RX_FLAG_DECRYPTED``h]j)}(hjnvh]hRX_FLAG_DECRYPTED}(hjpvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlvubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhvubj)}(hhh]h)}(h%This frame was decrypted in hardware.h]h%This frame was decrypted in hardware.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjhvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(h``RX_FLAG_ONLY_MONITOR`` Report frame only to monitor interfaces without processing it in any regular way. This is useful if drivers offload some frames but still want to report them for sniffing purposes. h](j)}(h``RX_FLAG_ONLY_MONITOR``h]j)}(hjvh]hRX_FLAG_ONLY_MONITOR}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubj)}(hhh]h)}(hReport frame only to monitor interfaces without processing it in any regular way. This is useful if drivers offload some frames but still want to report them for sniffing purposes.h]hReport frame only to monitor interfaces without processing it in any regular way. This is useful if drivers offload some frames but still want to report them for sniffing purposes.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(hr``RX_FLAG_MMIC_STRIPPED`` the Michael MIC is stripped off this frame, verification has been done by the hardware. h](j)}(h``RX_FLAG_MMIC_STRIPPED``h]j)}(hjvh]hRX_FLAG_MMIC_STRIPPED}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubj)}(hhh]h)}(hWthe Michael MIC is stripped off this frame, verification has been done by the hardware.h]hWthe Michael MIC is stripped off this frame, verification has been done by the hardware.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(h``RX_FLAG_IV_STRIPPED`` The IV and ICV are stripped from this frame. If this flag is set, the stack cannot do any replay detection hence the driver or hardware will have to do that. h](j)}(h``RX_FLAG_IV_STRIPPED``h]j)}(hjwh]hRX_FLAG_IV_STRIPPED}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubj)}(hhh]h)}(hThe IV and ICV are stripped from this frame. If this flag is set, the stack cannot do any replay detection hence the driver or hardware will have to do that.h]hThe IV and ICV are stripped from this frame. If this flag is set, the stack cannot do any replay detection hence the driver or hardware will have to do that.}(hj4whhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj1wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj0whMhjvubj)}(hO``RX_FLAG_FAILED_FCS_CRC`` Set this flag if the FCS check failed on the frame. h](j)}(h``RX_FLAG_FAILED_FCS_CRC``h]j)}(hjUwh]hRX_FLAG_FAILED_FCS_CRC}(hjWwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSwubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjOwubj)}(hhh]h)}(h3Set this flag if the FCS check failed on the frame.h]h3Set this flag if the FCS check failed on the frame.}(hjnwhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjkwubah}(h]h ]h"]h$]h&]uh1jhjOwubeh}(h]h ]h"]h$]h&]uh1jhjjwhMhjvubj)}(hQ``RX_FLAG_FAILED_PLCP_CRC`` Set this flag if the PCLP check failed on the frame. h](j)}(h``RX_FLAG_FAILED_PLCP_CRC``h]j)}(hjwh]hRX_FLAG_FAILED_PLCP_CRC}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubj)}(hhh]h)}(h4Set this flag if the PCLP check failed on the frame.h]h4Set this flag if the PCLP check failed on the frame.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjvubj)}(hX[``RX_FLAG_MACTIME_IS_RTAP_TS64`` The timestamp passed in the RX status **mactime** is only for use in the radiotap timestamp header, not otherwise a valid **mactime** value. Note this is a separate flag so that we continue to see ``RX_FLAG_MACTIME`` as unset. Also note that in this case the timestamp is reported to be 64 bits wide, not just 32. h](j)}(h ``RX_FLAG_MACTIME_IS_RTAP_TS64``h]j)}(hjwh]hRX_FLAG_MACTIME_IS_RTAP_TS64}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubj)}(hhh]h)}(hX9The timestamp passed in the RX status **mactime** is only for use in the radiotap timestamp header, not otherwise a valid **mactime** value. Note this is a separate flag so that we continue to see ``RX_FLAG_MACTIME`` as unset. Also note that in this case the timestamp is reported to be 64 bits wide, not just 32.h](h&The timestamp passed in the RX status }(hjwhhhNhNubj)}(h **mactime**h]hmactime}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubhI is only for use in the radiotap timestamp header, not otherwise a valid }(hjwhhhNhNubj)}(h **mactime**h]hmactime}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh@ value. Note this is a separate flag so that we continue to see }(hjwhhhNhNubj)}(h``RX_FLAG_MACTIME``h]hRX_FLAG_MACTIME}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubha as unset. Also note that in this case the timestamp is reported to be 64 bits wide, not just 32.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjvubj)}(ho``RX_FLAG_NO_SIGNAL_VAL`` The signal strength value is not present. Valid only for data frames (mainly A-MPDU) h](j)}(h``RX_FLAG_NO_SIGNAL_VAL``h]j)}(hj9xh]hRX_FLAG_NO_SIGNAL_VAL}(hj;xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7xubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj3xubj)}(hhh]h)}(hTThe signal strength value is not present. Valid only for data frames (mainly A-MPDU)h]hTThe signal strength value is not present. Valid only for data frames (mainly A-MPDU)}(hjRxhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjOxubah}(h]h ]h"]h$]h&]uh1jhj3xubeh}(h]h ]h"]h$]h&]uh1jhjNxhMhjvubj)}(h``RX_FLAG_AMPDU_DETAILS`` A-MPDU details are known, in particular the reference number (**ampdu_reference**) must be populated and be a distinct number for each A-MPDU h](j)}(h``RX_FLAG_AMPDU_DETAILS``h]j)}(hjsxh]hRX_FLAG_AMPDU_DETAILS}(hjuxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqxubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjmxubj)}(hhh]h)}(hA-MPDU details are known, in particular the reference number (**ampdu_reference**) must be populated and be a distinct number for each A-MPDUh](h>A-MPDU details are known, in particular the reference number (}(hjxhhhNhNubj)}(h**ampdu_reference**h]hampdu_reference}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh<) must be populated and be a distinct number for each A-MPDU}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhjmxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjvubj)}(hX``RX_FLAG_PN_VALIDATED`` Currently only valid for CCMP/GCMP frames, this flag indicates that the PN was verified for replay protection. Note that this flag is also currently only supported when a frame is also decrypted (ie. **RX_FLAG_DECRYPTED** must be set) h](j)}(h``RX_FLAG_PN_VALIDATED``h]j)}(hjxh]hRX_FLAG_PN_VALIDATED}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjxubj)}(hhh]h)}(hCurrently only valid for CCMP/GCMP frames, this flag indicates that the PN was verified for replay protection. Note that this flag is also currently only supported when a frame is also decrypted (ie. **RX_FLAG_DECRYPTED** must be set)h](hCurrently only valid for CCMP/GCMP frames, this flag indicates that the PN was verified for replay protection. Note that this flag is also currently only supported when a frame is also decrypted (ie. }(hjxhhhNhNubj)}(h**RX_FLAG_DECRYPTED**h]hRX_FLAG_DECRYPTED}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh must be set)}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjvubj)}(h^``RX_FLAG_DUP_VALIDATED`` The driver should set this flag if it did de-duplication by itself. h](j)}(h``RX_FLAG_DUP_VALIDATED``h]j)}(hj yh]hRX_FLAG_DUP_VALIDATED}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj yubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjyubj)}(hhh]h)}(hCThe driver should set this flag if it did de-duplication by itself.h]hCThe driver should set this flag if it did de-duplication by itself.}(hj$yhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj!yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj yhMhjvubj)}(hg``RX_FLAG_AMPDU_LAST_KNOWN`` last subframe is known, should be set on all subframes of a single A-MPDU h](j)}(h``RX_FLAG_AMPDU_LAST_KNOWN``h]j)}(hjEyh]hRX_FLAG_AMPDU_LAST_KNOWN}(hjGyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCyubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj?yubj)}(hhh]h)}(hIlast subframe is known, should be set on all subframes of a single A-MPDUh]hIlast subframe is known, should be set on all subframes of a single A-MPDU}(hj^yhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj[yubah}(h]h ]h"]h$]h&]uh1jhj?yubeh}(h]h ]h"]h$]h&]uh1jhjZyhMhjvubj)}(hK``RX_FLAG_AMPDU_IS_LAST`` this subframe is the last subframe of the A-MPDU h](j)}(h``RX_FLAG_AMPDU_IS_LAST``h]j)}(hjyh]hRX_FLAG_AMPDU_IS_LAST}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}yubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjyyubj)}(hhh]h)}(h0this subframe is the last subframe of the A-MPDUh]h0this subframe is the last subframe of the A-MPDU}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjvubj)}(h[``RX_FLAG_AMPDU_DELIM_CRC_ERROR`` A delimiter CRC error has been detected on this subframe h](j)}(h!``RX_FLAG_AMPDU_DELIM_CRC_ERROR``h]j)}(hjyh]hRX_FLAG_AMPDU_DELIM_CRC_ERROR}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjyubj)}(hhh]h)}(h8A delimiter CRC error has been detected on this subframeh]h8A delimiter CRC error has been detected on this subframe}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjvubj)}(h``RX_FLAG_MACTIME`` The timestamp passed in the RX status (**mactime** field) is valid if this field is non-zero, and the position where the timestamp was sampled depends on the value. h](j)}(h``RX_FLAG_MACTIME``h]j)}(hjyh]hRX_FLAG_MACTIME}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjyubj)}(hhh]h)}(hThe timestamp passed in the RX status (**mactime** field) is valid if this field is non-zero, and the position where the timestamp was sampled depends on the value.h](h'The timestamp passed in the RX status (}(hj zhhhNhNubj)}(h **mactime**h]hmactime}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj zubhr field) is valid if this field is non-zero, and the position where the timestamp was sampled depends on the value.}(hj zhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjvubj)}(h``RX_FLAG_MACTIME_PLCP_START`` The timestamp passed in the RX status (**mactime** field) is valid and contains the time the SYNC preamble was received. h](j)}(h``RX_FLAG_MACTIME_PLCP_START``h]j)}(hj>zh]hRX_FLAG_MACTIME_PLCP_START}(hj@zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdata (before the 802.11 header). If used, the SKB's mac_header pointer must be set to point to the 802.11 header after the TLVs, and any padding added after TLV data to align to 4 must be cleared by the driver putting the TLVs in the skb. h](j)}(h``RX_FLAG_RADIOTAP_TLV_AT_END``h]j)}(hj{h]hRX_FLAG_RADIOTAP_TLV_AT_END}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj{ubj)}(hhh]h)}(hXThis frame contains radiotap TLVs in the skb->data (before the 802.11 header). If used, the SKB's mac_header pointer must be set to point to the 802.11 header after the TLVs, and any padding added after TLV data to align to 4 must be cleared by the driver putting the TLVs in the skb.h]hXThis frame contains radiotap TLVs in the skb->data (before the 802.11 header). If used, the SKB’s mac_header pointer must be set to point to the 802.11 header after the TLVs, and any padding added after TLV data to align to 4 must be cleared by the driver putting the TLVs in the skb.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjvubj)}(hb``RX_FLAG_MIC_STRIPPED`` The mic was stripped of this packet. Decryption was done by the hardware h](j)}(h``RX_FLAG_MIC_STRIPPED``h]j)}(hj{h]hRX_FLAG_MIC_STRIPPED}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj{ubj)}(hhh]h)}(hHThe mic was stripped of this packet. Decryption was done by the hardwareh]hHThe mic was stripped of this packet. Decryption was done by the hardware}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjvubj)}(h``RX_FLAG_ALLOW_SAME_PN`` Allow the same PN as same packet before. This is used for AMSDU subframes which can have the same PN as the first subframe. h](j)}(h``RX_FLAG_ALLOW_SAME_PN``h]j)}(hj |h]hRX_FLAG_ALLOW_SAME_PN}(hj |hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj|ubj)}(hhh]h)}(h{Allow the same PN as same packet before. This is used for AMSDU subframes which can have the same PN as the first subframe.h]h{Allow the same PN as same packet before. This is used for AMSDU subframes which can have the same PN as the first subframe.}(hj#|hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj |ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjvubj)}(hi``RX_FLAG_ICV_STRIPPED`` The ICV is stripped from this frame. CRC checking must be done in the hardware. h](j)}(h``RX_FLAG_ICV_STRIPPED``h]j)}(hjD|h]hRX_FLAG_ICV_STRIPPED}(hjF|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB|ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hj>|ubj)}(hhh]h)}(hOThe ICV is stripped from this frame. CRC checking must be done in the hardware.h]hOThe ICV is stripped from this frame. CRC checking must be done in the hardware.}(hj]|hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hjZ|ubah}(h]h ]h"]h$]h&]uh1jhj>|ubeh}(h]h ]h"]h$]h&]uh1jhjY|hM hjvubj)}(hV``RX_FLAG_AMPDU_EOF_BIT`` Value of the EOF bit in the A-MPDU delimiter for this frame h](j)}(h``RX_FLAG_AMPDU_EOF_BIT``h]j)}(hj~|h]hRX_FLAG_AMPDU_EOF_BIT}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj||ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjx|ubj)}(hhh]h)}(h;Value of the EOF bit in the A-MPDU delimiter for this frameh]h;Value of the EOF bit in the A-MPDU delimiter for this frame}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj|ubah}(h]h ]h"]h$]h&]uh1jhjx|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjvubj)}(h7``RX_FLAG_AMPDU_EOF_BIT_KNOWN`` The EOF value is known h](j)}(h``RX_FLAG_AMPDU_EOF_BIT_KNOWN``h]j)}(hj|h]hRX_FLAG_AMPDU_EOF_BIT_KNOWN}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj|ubj)}(hhh]h)}(hThe EOF value is knownh]hThe EOF value is known}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjvubj)}(hXI``RX_FLAG_RADIOTAP_HE`` HE radiotap data is present (:c:type:`struct ieee80211_radiotap_he `, mac80211 will fill in - DATA3_DATA_MCS - DATA3_DATA_DCM - DATA3_CODING - DATA5_GI - DATA5_DATA_BW_RU_ALLOC - DATA6_NSTS - DATA3_STBC from the RX info data, so leave those zeroed when building this data) h](j)}(h``RX_FLAG_RADIOTAP_HE``h]j)}(hj|h]hRX_FLAG_RADIOTAP_HE}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM!hj|ubj)}(hhh](h)}(hrHE radiotap data is present (:c:type:`struct ieee80211_radiotap_he `, mac80211 will fill inh](hHE radiotap data is present (}(hj }hhhNhNubh)}(h>:c:type:`struct ieee80211_radiotap_he `h]j)}(hj}h]hstruct ieee80211_radiotap_he}(hj}hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_radiotap_heuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj }ubh, mac80211 will fill in}(hj }hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj1}hMhj}ubh block_quote)}(ho- DATA3_DATA_MCS - DATA3_DATA_DCM - DATA3_CODING - DATA5_GI - DATA5_DATA_BW_RU_ALLOC - DATA6_NSTS - DATA3_STBC h]j-)}(hhh](j-)}(hDATA3_DATA_MCSh]h)}(hjG}h]hDATA3_DATA_MCS}(hjI}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjE}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(hDATA3_DATA_DCMh]h)}(hj_}h]hDATA3_DATA_DCM}(hja}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj]}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(h DATA3_CODINGh]h)}(hjw}h]h DATA3_CODING}(hjy}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhju}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(hDATA5_GIh]h)}(hj}h]hDATA5_GI}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(hDATA5_DATA_BW_RU_ALLOCh]h)}(hj}h]hDATA5_DATA_BW_RU_ALLOC}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(h DATA6_NSTSh]h)}(hj}h]h DATA6_NSTS}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubj-)}(h DATA3_STBC h]h)}(h DATA3_STBCh]h DATA3_STBC}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj}ubah}(h]h ]h"]h$]h&]uh1j-hjB}ubeh}(h]h ]h"]h$]h&]j6.j7.uh1j-hjV}hMhj>}ubah}(h]h ]h"]h$]h&]uh1j<}hjV}hMhj}ubh)}(hEfrom the RX info data, so leave those zeroed when building this data)h]hEfrom the RX info data, so leave those zeroed when building this data)}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM!hj}ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hM!hjvubj)}(h``RX_FLAG_RADIOTAP_HE_MU`` HE MU radiotap data is present (:c:type:`struct ieee80211_radiotap_he_mu `) h](j)}(h``RX_FLAG_RADIOTAP_HE_MU``h]j)}(hj~h]hRX_FLAG_RADIOTAP_HE_MU}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM%hj~ubj)}(hhh]h)}(heHE MU radiotap data is present (:c:type:`struct ieee80211_radiotap_he_mu `)h](h HE MU radiotap data is present (}(hj3~hhhNhNubh)}(hD:c:type:`struct ieee80211_radiotap_he_mu `h]j)}(hj=~h]hstruct ieee80211_radiotap_he_mu}(hj?~hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj;~ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_radiotap_he_muuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM$hj3~ubh)}(hj3~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjZ~hM$hj0~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj/~hM%hjvubj)}(h9``RX_FLAG_RADIOTAP_LSIG`` L-SIG radiotap data is present h](j)}(h``RX_FLAG_RADIOTAP_LSIG``h]j)}(hjw~h]hRX_FLAG_RADIOTAP_LSIG}(hjy~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju~ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM(hjq~ubj)}(hhh]h)}(hL-SIG radiotap data is presenth]hL-SIG radiotap data is present}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hM(hj~ubah}(h]h ]h"]h$]h&]uh1jhjq~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM(hjvubj)}(hX``RX_FLAG_NO_PSDU`` use the frame only for radiotap reporting, with the "0-length PSDU" field included there. The value for it is in :c:type:`struct ieee80211_rx_status `. Note that if this value isn't known the frame shouldn't be reported. h](j)}(h``RX_FLAG_NO_PSDU``h]j)}(hj~h]hRX_FLAG_NO_PSDU}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM.hj~ubj)}(hhh]h)}(huse the frame only for radiotap reporting, with the "0-length PSDU" field included there. The value for it is in :c:type:`struct ieee80211_rx_status `. Note that if this value isn't known the frame shouldn't be reported.h](hvuse the frame only for radiotap reporting, with the “0-length PSDU” field included there. The value for it is in }(hj~hhhNhNubh)}(h::c:type:`struct ieee80211_rx_status `h]j)}(hj~h]hstruct ieee80211_rx_status}(hj~hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_rx_statusuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM+hj~ubhK. Note that if this value isn’t known the frame shouldn’t be reported.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj~hM+hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM.hjvubj)}(h^``RX_FLAG_8023`` the frame has an 802.3 header (decap offload performed by hardware or driver)h](j)}(h``RX_FLAG_8023``h]j)}(hj h]h RX_FLAG_8023}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM1hjubj)}(hhh]h)}(hMthe frame has an 802.3 header (decap offload performed by hardware or driver)h]hMthe frame has an 802.3 header (decap offload performed by hardware or driver)}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hM1hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM1hjvubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM5hjWhhubh)}(hlThese flags are used with the **flag** member of :c:type:`struct ieee80211_rx_status `.h](hThese flags are used with the }(hjehhhNhNubj)}(h**flag**h]hflag}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh member of }(hjehhhNhNubh)}(h::c:type:`struct ieee80211_rx_status `h]j)}(hjh]hstruct ieee80211_rx_status}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_rx_statusuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjWhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9#mac80211_rx_encoding_flags (C enum)c.mac80211_rx_encoding_flagshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hmac80211_rx_encoding_flagsh]jI)}(henum mac80211_rx_encoding_flagsh](jO)}(hjRh]henum}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hmac80211_rx_encoding_flagsh]jx)}(hjh]hmac80211_rx_encoding_flags}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(hMCS & bandwidth flagsh]hMCS & bandwidth flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX **Constants** ``RX_ENC_FLAG_SHORTPRE`` Short preamble was used for this frame ``RX_ENC_FLAG_SHORT_GI`` Short guard interval was used ``RX_ENC_FLAG_HT_GF`` This frame was received in a HT-greenfield transmission, if the driver fills this value it should add ``IEEE80211_RADIOTAP_MCS_HAVE_FMT`` to **hw.radiotap_mcs_details** to advertise that fact. ``RX_ENC_FLAG_STBC_MASK`` STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3 ``RX_ENC_FLAG_LDPC`` LDPC was used ``RX_ENC_FLAG_BF`` packet was beamformedh](h)}(h **Constants**h]j)}(hj&h]h Constants}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj ubj)}(hhh](j)}(h@``RX_ENC_FLAG_SHORTPRE`` Short preamble was used for this frame h](j)}(h``RX_ENC_FLAG_SHORTPRE``h]j)}(hjEh]hRX_ENC_FLAG_SHORTPRE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj?ubj)}(hhh]h)}(h&Short preamble was used for this frameh]h&Short preamble was used for this frame}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h7``RX_ENC_FLAG_SHORT_GI`` Short guard interval was used h](j)}(h``RX_ENC_FLAG_SHORT_GI``h]j)}(hj~h]hRX_ENC_FLAG_SHORT_GI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM!hjxubj)}(hhh]h)}(hShort guard interval was usedh]hShort guard interval was used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM!hj<ubj)}(h``RX_ENC_FLAG_HT_GF`` This frame was received in a HT-greenfield transmission, if the driver fills this value it should add ``IEEE80211_RADIOTAP_MCS_HAVE_FMT`` to **hw.radiotap_mcs_details** to advertise that fact. h](j)}(h``RX_ENC_FLAG_HT_GF``h]j)}(hjh]hRX_ENC_FLAG_HT_GF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM'hjubj)}(hhh]h)}(hThis frame was received in a HT-greenfield transmission, if the driver fills this value it should add ``IEEE80211_RADIOTAP_MCS_HAVE_FMT`` to **hw.radiotap_mcs_details** to advertise that fact.h](hfThis frame was received in a HT-greenfield transmission, if the driver fills this value it should add }(hjЀhhhNhNubj)}(h#``IEEE80211_RADIOTAP_MCS_HAVE_FMT``h]hIEEE80211_RADIOTAP_MCS_HAVE_FMT}(hj؀hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЀubh to }(hjЀhhhNhNubj)}(h**hw.radiotap_mcs_details**h]hhw.radiotap_mcs_details}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЀubh to advertise that fact.}(hjЀhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM$hj̀ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̀hM'hj<ubj)}(hN``RX_ENC_FLAG_STBC_MASK`` STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3 h](j)}(h``RX_ENC_FLAG_STBC_MASK``h]j)}(hjh]hRX_ENC_FLAG_STBC_MASK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM*hjubj)}(hhh]h)}(h3STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3h]h3STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hM*hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM*hj<ubj)}(h#``RX_ENC_FLAG_LDPC`` LDPC was used h](j)}(h``RX_ENC_FLAG_LDPC``h]j)}(hjNh]hRX_ENC_FLAG_LDPC}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM-hjHubj)}(hhh]h)}(h LDPC was usedh]h LDPC was used}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM-hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM-hj<ubj)}(h(``RX_ENC_FLAG_BF`` packet was beamformedh](j)}(h``RX_ENC_FLAG_BF``h]j)}(hjh]hRX_ENC_FLAG_BF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM/hjubj)}(hhh]h)}(hpacket was beamformedh]hpacket was beamformed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_rx_status (C struct)c.ieee80211_rx_statushNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hieee80211_rx_statush]jI)}(hstruct ieee80211_rx_statush](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj݁hhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM6ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj݁hhhjhM6ubjr)}(hieee80211_rx_statush]jx)}(hjہh]hieee80211_rx_status}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhj݁hhhjhM6ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjفhhhjhM6ubah}(h]jԁah ](jjeh"]h$]h&]jj)jhuh1jBhjhM6hjցhhubj)}(hhh]h)}(hreceive statush]hreceive status}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM7hj hhubah}(h]h ]h"]h$]h&]uh1jhjցhhhjhM6ubeh}(h]h ](jstructeh"]h$]h&]jjjj;jj;jjjuh1j=hhhjWhNhNubj)}(hX **Definition**:: struct ieee80211_rx_status { u64 mactime; union { u64 boottime_ns; ktime_t ack_tx_hwtstamp; }; u32 device_timestamp; u32 ampdu_reference; u32 flag; u16 freq: 13, freq_offset: 1; u8 enc_flags; u8 encoding:3, bw:4; union { struct { u8 he_ru:3; u8 he_gi:2; u8 he_dcm:1; }; struct { u8 ru:4; u8 gi:2; } eht; }; u8 rate_idx; u8 nss; u8 rx_flags; u8 band; u8 antenna; s8 signal; u8 chains; s8 chain_signal[IEEE80211_MAX_CHAINS]; u8 zero_length_psdu_type; u8 link_valid:1, link_id:4; }; **Members** ``mactime`` value in microseconds of the 64-bit Time Synchronization Function (TSF) timer when the first data symbol (MPDU) arrived at the hardware. ``{unnamed_union}`` anonymous ``boottime_ns`` CLOCK_BOOTTIME timestamp the frame was received at, this is needed only for beacons and probe responses that update the scan cache. ``ack_tx_hwtstamp`` Hardware timestamp for the ack TX in nanoseconds. Only needed for Timing measurement and Fine timing measurement action frames. Only reported by devices that have timestamping enabled. ``device_timestamp`` arbitrary timestamp for the device, mac80211 doesn't use it but can store it and pass it back to the driver for synchronisation ``ampdu_reference`` A-MPDU reference number, must be a different value for each A-MPDU but the same for each subframe within one A-MPDU ``flag`` ``RX_FLAG_``\* ``freq`` frequency the radio was tuned to when receiving this frame, in MHz This field must be set for management frames, but isn't strictly needed for data (other) frames - for those it only affects radiotap reporting. ``freq_offset`` **freq** has a positive offset of 500Khz. ``enc_flags`` uses bits from :c:type:`enum mac80211_rx_encoding_flags ` ``encoding`` :c:type:`enum mac80211_rx_encoding ` ``bw`` :c:type:`enum rate_info_bw ` ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``he_ru`` HE RU, from :c:type:`enum nl80211_he_ru_alloc ` ``he_gi`` HE GI, from :c:type:`enum nl80211_he_gi ` ``he_dcm`` HE DCM value ``eht`` EHT specific rate information ``eht.ru`` EHT RU, from :c:type:`enum nl80211_eht_ru_alloc ` ``eht.gi`` EHT GI, from :c:type:`enum nl80211_eht_gi ` ``rate_idx`` index of data rate into band's supported rates or MCS index if HT or VHT is used (``RX_FLAG_HT``/``RX_FLAG_VHT``) ``nss`` number of streams (VHT, HE and EHT only) ``rx_flags`` internal RX flags for mac80211 ``band`` the active band when this frame was received ``antenna`` antenna used ``signal`` signal strength when receiving this frame, either in dBm, in dB or unspecified depending on the hardware capabilities flags **IEEE80211_HW_SIGNAL_*** ``chains`` bitmask of receive chains for which separate signal strength values were filled. ``chain_signal`` per-chain signal strength, in dBm (unlike **signal**, doesn't support dB or unspecified units) ``zero_length_psdu_type`` radiotap type of the 0-length PSDU ``link_valid`` if the link which is identified by **link_id** is valid. This flag is set only when connection is MLO. ``link_id`` id of the link used to receive the packet. This is used along with **link_valid**.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh:}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM;hj?ubj)}(hXstruct ieee80211_rx_status { u64 mactime; union { u64 boottime_ns; ktime_t ack_tx_hwtstamp; }; u32 device_timestamp; u32 ampdu_reference; u32 flag; u16 freq: 13, freq_offset: 1; u8 enc_flags; u8 encoding:3, bw:4; union { struct { u8 he_ru:3; u8 he_gi:2; u8 he_dcm:1; }; struct { u8 ru:4; u8 gi:2; } eht; }; u8 rate_idx; u8 nss; u8 rx_flags; u8 band; u8 antenna; s8 signal; u8 chains; s8 chain_signal[IEEE80211_MAX_CHAINS]; u8 zero_length_psdu_type; u8 link_valid:1, link_id:4; };h]hXstruct ieee80211_rx_status { u64 mactime; union { u64 boottime_ns; ktime_t ack_tx_hwtstamp; }; u32 device_timestamp; u32 ampdu_reference; u32 flag; u16 freq: 13, freq_offset: 1; u8 enc_flags; u8 encoding:3, bw:4; union { struct { u8 he_ru:3; u8 he_gi:2; u8 he_dcm:1; }; struct { u8 ru:4; u8 gi:2; } eht; }; u8 rate_idx; u8 nss; u8 rx_flags; u8 band; u8 antenna; s8 signal; u8 chains; s8 chain_signal[IEEE80211_MAX_CHAINS]; u8 zero_length_psdu_type; u8 link_valid:1, link_id:4; };}hj`sbah}(h]h ]h"]h$]h&]jjuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM=hj?ubh)}(h **Members**h]j)}(hjqh]hMembers}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM`hj?ubj)}(hhh](j)}(h``mactime`` value in microseconds of the 64-bit Time Synchronization Function (TSF) timer when the first data symbol (MPDU) arrived at the hardware. h](j)}(h ``mactime``h]j)}(hjh]hmactime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM?hjubj)}(hhh]h)}(hvalue in microseconds of the 64-bit Time Synchronization Function (TSF) timer when the first data symbol (MPDU) arrived at the hardware.h]hvalue in microseconds of the 64-bit Time Synchronization Function (TSF) timer when the first data symbol (MPDU) arrived at the hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjʂh]h{unnamed_union}}(hĵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȂubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMBhjĂubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj߂hMBhjubah}(h]h ]h"]h$]h&]uh1jhjĂubeh}(h]h ]h"]h$]h&]uh1jhj߂hMBhjubj)}(h``boottime_ns`` CLOCK_BOOTTIME timestamp the frame was received at, this is needed only for beacons and probe responses that update the scan cache. h](j)}(h``boottime_ns``h]j)}(hjh]h boottime_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMAhjubj)}(hhh]h)}(hCLOCK_BOOTTIME timestamp the frame was received at, this is needed only for beacons and probe responses that update the scan cache.h]hCLOCK_BOOTTIME timestamp the frame was received at, this is needed only for beacons and probe responses that update the scan cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h``ack_tx_hwtstamp`` Hardware timestamp for the ack TX in nanoseconds. Only needed for Timing measurement and Fine timing measurement action frames. Only reported by devices that have timestamping enabled. h](j)}(h``ack_tx_hwtstamp``h]j)}(hj=h]hack_tx_hwtstamp}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMDhj7ubj)}(hhh]h)}(hHardware timestamp for the ack TX in nanoseconds. Only needed for Timing measurement and Fine timing measurement action frames. Only reported by devices that have timestamping enabled.h]hHardware timestamp for the ack TX in nanoseconds. Only needed for Timing measurement and Fine timing measurement action frames. Only reported by devices that have timestamping enabled.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMBhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMDhjubj)}(h``device_timestamp`` arbitrary timestamp for the device, mac80211 doesn't use it but can store it and pass it back to the driver for synchronisation h](j)}(h``device_timestamp``h]j)}(hjwh]hdevice_timestamp}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMFhjqubj)}(hhh]h)}(harbitrary timestamp for the device, mac80211 doesn't use it but can store it and pass it back to the driver for synchronisationh]harbitrary timestamp for the device, mac80211 doesn’t use it but can store it and pass it back to the driver for synchronisation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMEhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h``ampdu_reference`` A-MPDU reference number, must be a different value for each A-MPDU but the same for each subframe within one A-MPDU h](j)}(h``ampdu_reference``h]j)}(hjh]hampdu_reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMchjubj)}(hhh]h)}(hsA-MPDU reference number, must be a different value for each A-MPDU but the same for each subframe within one A-MPDUh]hsA-MPDU reference number, must be a different value for each A-MPDU but the same for each subframe within one A-MPDU}(hjʃhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMbhjǃubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƃhMchjubj)}(h``flag`` ``RX_FLAG_``\* h](j)}(h``flag``h]j)}(hjh]hflag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMWhjubj)}(hhh]h)}(h``RX_FLAG_``\*h](j)}(h ``RX_FLAG_``h]hRX_FLAG_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh*}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h``freq`` frequency the radio was tuned to when receiving this frame, in MHz This field must be set for management frames, but isn't strictly needed for data (other) frames - for those it only affects radiotap reporting. h](j)}(h``freq``h]j)}(hj2h]hfreq}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMJhj,ubj)}(hhh]h)}(hfrequency the radio was tuned to when receiving this frame, in MHz This field must be set for management frames, but isn't strictly needed for data (other) frames - for those it only affects radiotap reporting.h]hfrequency the radio was tuned to when receiving this frame, in MHz This field must be set for management frames, but isn’t strictly needed for data (other) frames - for those it only affects radiotap reporting.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMHhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMJhjubj)}(h:``freq_offset`` **freq** has a positive offset of 500Khz. h](j)}(h``freq_offset``h]j)}(hjlh]h freq_offset}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMKhjfubj)}(hhh]h)}(h)**freq** has a positive offset of 500Khz.h](j)}(h**freq**h]hfreq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! has a positive offset of 500Khz.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hd``enc_flags`` uses bits from :c:type:`enum mac80211_rx_encoding_flags ` h](j)}(h ``enc_flags``h]j)}(hjh]h enc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMZhjubj)}(hhh]h)}(hUuses bits from :c:type:`enum mac80211_rx_encoding_flags `h](huses bits from }(hj̄hhhNhNubh)}(hF:c:type:`enum mac80211_rx_encoding_flags `h]j)}(hjքh]henum mac80211_rx_encoding_flags}(hj؄hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjԄubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKmac80211_rx_encoding_flagsuh1hhjȄhMZhj̄ubeh}(h]h ]h"]h$]h&]uh1hhjȄhMZhjɄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȄhMZhjubj)}(hH``encoding`` :c:type:`enum mac80211_rx_encoding ` h](j)}(h ``encoding``h]j)}(hj h]hencoding}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMXhjubj)}(hhh]h)}(h::c:type:`enum mac80211_rx_encoding `h]h)}(hj&h]j)}(hj&h]henum mac80211_rx_encoding}(hj+hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKmac80211_rx_encodinguh1hhj hMXhj$ubah}(h]h ]h"]h$]h&]uh1hhj hMXhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMXhjubj)}(h2``bw`` :c:type:`enum rate_info_bw ` h](j)}(h``bw``h]j)}(hj^h]hbw}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMYhjXubj)}(hhh]h)}(h*:c:type:`enum rate_info_bw `h]h)}(hjyh]j)}(hjyh]henum rate_info_bw}(hj~hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK rate_info_bwuh1hhjshMYhjwubah}(h]h ]h"]h$]h&]uh1hhjshMYhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMYhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM\hjubj)}(hhh]h)}(h anonymoush]h anonymous}(hjʅhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƅhM\hjDžubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƅhM\hjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM_hjubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubj)}(hO``he_ru`` HE RU, from :c:type:`enum nl80211_he_ru_alloc ` h](j)}(h ``he_ru``h]j)}(hj#h]hhe_ru}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM[hjubj)}(hhh]h)}(hDHE RU, from :c:type:`enum nl80211_he_ru_alloc `h](h HE RU, from }(hj<hhhNhNubh)}(h8:c:type:`enum nl80211_he_ru_alloc `h]j)}(hjFh]henum nl80211_he_ru_alloc}(hjHhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKnl80211_he_ru_allocuh1hhj8hM[hj<ubeh}(h]h ]h"]h$]h&]uh1hhj8hM[hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM[hjubj)}(hC``he_gi`` HE GI, from :c:type:`enum nl80211_he_gi ` h](j)}(h ``he_gi``h]j)}(hj{h]hhe_gi}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM\hjuubj)}(hhh]h)}(h8HE GI, from :c:type:`enum nl80211_he_gi `h](h HE GI, from }(hjhhhNhNubh)}(h,:c:type:`enum nl80211_he_gi `h]j)}(hjh]henum nl80211_he_gi}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK nl80211_he_giuh1hhjhM\hjubeh}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h``he_dcm`` HE DCM value h](j)}(h ``he_dcm``h]j)}(hjӆh]hhe_dcm}(hjՆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjцubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM]hj͆ubj)}(hhh]h)}(h HE DCM valueh]h HE DCM value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhj͆ubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h&``eht`` EHT specific rate information h](j)}(h``eht``h]j)}(hj h]heht}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM^hjubj)}(hhh]h)}(hEHT specific rate informationh]hEHT specific rate information}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hM^hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM^hjubj)}(hS``eht.ru`` EHT RU, from :c:type:`enum nl80211_eht_ru_alloc ` h](j)}(h ``eht.ru``h]j)}(hjEh]heht.ru}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM_hj?ubj)}(hhh]h)}(hGEHT RU, from :c:type:`enum nl80211_eht_ru_alloc `h](h EHT RU, from }(hj^hhhNhNubh)}(h::c:type:`enum nl80211_eht_ru_alloc `h]j)}(hjhh]henum nl80211_eht_ru_alloc}(hjjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKnl80211_eht_ru_allocuh1hhjZhM_hj^ubeh}(h]h ]h"]h$]h&]uh1hhjZhM_hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM_hjubj)}(hG``eht.gi`` EHT GI, from :c:type:`enum nl80211_eht_gi ` h](j)}(h ``eht.gi``h]j)}(hjh]heht.gi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM`hjubj)}(hhh]h)}(h;EHT GI, from :c:type:`enum nl80211_eht_gi `h](h EHT GI, from }(hjhhhNhNubh)}(h.:c:type:`enum nl80211_eht_gi `h]j)}(hjh]henum nl80211_eht_gi}(hj‡hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKnl80211_eht_giuh1hhjhM`hjubeh}(h]h ]h"]h$]h&]uh1hhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubj)}(h``rate_idx`` index of data rate into band's supported rates or MCS index if HT or VHT is used (``RX_FLAG_HT``/``RX_FLAG_VHT``) h](j)}(h ``rate_idx``h]j)}(hjh]hrate_idx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMUhjubj)}(hhh]h)}(hqindex of data rate into band's supported rates or MCS index if HT or VHT is used (``RX_FLAG_HT``/``RX_FLAG_VHT``)h](hTindex of data rate into band’s supported rates or MCS index if HT or VHT is used (}(hjhhhNhNubj)}(h``RX_FLAG_HT``h]h RX_FLAG_HT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/}(hjhhhNhNubj)}(h``RX_FLAG_VHT``h]h RX_FLAG_VHT}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMThj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMUhjubj)}(h1``nss`` number of streams (VHT, HE and EHT only) h](j)}(h``nss``h]j)}(hjSh]hnss}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMVhjMubj)}(hhh]h)}(h(number of streams (VHT, HE and EHT only)h]h(number of streams (VHT, HE and EHT only)}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMVhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMVhjubj)}(h,``rx_flags`` internal RX flags for mac80211 h](j)}(h ``rx_flags``h]j)}(hjh]hrx_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMahjubj)}(hhh]h)}(hinternal RX flags for mac80211h]hinternal RX flags for mac80211}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h6``band`` the active band when this frame was received h](j)}(h``band``h]j)}(hjňh]hband}(hjLjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÈubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMGhjubj)}(hhh]h)}(h,the active band when this frame was receivedh]h,the active band when this frame was received}(hjވhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڈhMGhjۈubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڈhMGhjubj)}(h``antenna`` antenna used h](j)}(h ``antenna``h]j)}(hjh]hantenna}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMShjubj)}(hhh]h)}(h antenna usedh]h antenna used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h``signal`` signal strength when receiving this frame, either in dBm, in dB or unspecified depending on the hardware capabilities flags **IEEE80211_HW_SIGNAL_*** h](j)}(h ``signal``h]j)}(hj7h]hsignal}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMNhj1ubj)}(hhh]h)}(hsignal strength when receiving this frame, either in dBm, in dB or unspecified depending on the hardware capabilities flags **IEEE80211_HW_SIGNAL_***h](h|signal strength when receiving this frame, either in dBm, in dB or unspecified depending on the hardware capabilities flags }(hjPhhhNhNubj)}(h**IEEE80211_HW_SIGNAL_***h]hIEEE80211_HW_SIGNAL_*}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMLhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMNhjubj)}(h\``chains`` bitmask of receive chains for which separate signal strength values were filled. h](j)}(h ``chains``h]j)}(hjh]hchains}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMPhjyubj)}(hhh]h)}(hPbitmask of receive chains for which separate signal strength values were filled.h]hPbitmask of receive chains for which separate signal strength values were filled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMOhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(hp``chain_signal`` per-chain signal strength, in dBm (unlike **signal**, doesn't support dB or unspecified units) h](j)}(h``chain_signal``h]j)}(hjh]h chain_signal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMRhjubj)}(hhh]h)}(h^per-chain signal strength, in dBm (unlike **signal**, doesn't support dB or unspecified units)h](h*per-chain signal strength, in dBm (unlike }(hj҉hhhNhNubj)}(h **signal**h]hsignal}(hjډhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj҉ubh,, doesn’t support dB or unspecified units)}(hj҉hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMQhjωubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΉhMRhjubj)}(h=``zero_length_psdu_type`` radiotap type of the 0-length PSDU h](j)}(h``zero_length_psdu_type``h]j)}(hjh]hzero_length_psdu_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMdhjubj)}(hhh]h)}(h"radiotap type of the 0-length PSDUh]h"radiotap type of the 0-length PSDU}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(hv``link_valid`` if the link which is identified by **link_id** is valid. This flag is set only when connection is MLO. h](j)}(h``link_valid``h]j)}(hj>h]h link_valid}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMfhj8ubj)}(hhh]h)}(hfif the link which is identified by **link_id** is valid. This flag is set only when connection is MLO.h](h#if the link which is identified by }(hjWhhhNhNubj)}(h **link_id**h]hlink_id}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh8 is valid. This flag is set only when connection is MLO.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMehjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMfhjubj)}(h^``link_id`` id of the link used to receive the packet. This is used along with **link_valid**.h](j)}(h ``link_id``h]j)}(hjh]hlink_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMghjubj)}(hhh]h)}(hRid of the link used to receive the packet. This is used along with **link_valid**.h](hCid of the link used to receive the packet. This is used along with }(hjhhhNhNubj)}(h**link_valid**h]h link_valid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubh)}(h**Description**h]j)}(hjފh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj܊ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMkhjWhhubh)}(hThe low-level driver should provide this information (the subset supported by hardware) to the 802.11 code with each received frame, in the skb's control buffer (cb).h]hThe low-level driver should provide this information (the subset supported by hardware) to the 802.11 code with each received frame, in the skb’s control buffer (cb).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM8hjWhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_rx (C function)c.ieee80211_rxhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h@void ieee80211_rx (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(h?void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM9ubja)}(h h]h }(hj+hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhj*hM9ubjr)}(h ieee80211_rxh]jx)}(h ieee80211_rxh]h ieee80211_rx}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj9ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhj*hM9ubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjYhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjUubja)}(h h]h }(hjfhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjUubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjtubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjymodnameN classnameNjCjF)}jI]jQ)}jIj?sbc.ieee80211_rxasbuh1hhjUubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjUubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjUubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hjˋhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjNjubja)}(h h]h }(hj؋hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjNjubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_rxasbuh1hhjNjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjNjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqa%h"]h$]h&]uh1jdhjNjubjx)}(hskbh]hskb}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjNjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhj*hM9ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhj*hM9ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhj*hM9hjhhubj)}(hhh]h)}(h receive frameh]h receive frame}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM&hjIhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj*hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1j=hhhjWhNhNubj)}(hXo**Parameters** ``struct ieee80211_hw *hw`` the hardware this frame came in on ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call **Description** Use this function to hand received frames to mac80211. The receive buffer in **skb** must start with an IEEE 802.11 header. In case of a paged **skb** is used, the driver is recommended to put the ieee80211 header of the frame on the linear part of the **skb** to avoid memory allocation and/or memcpy by the stack. This function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_rx_ni() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni(). In process context use instead ieee80211_rx_ni().h](h)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM*hjhubj)}(hhh](j)}(h?``struct ieee80211_hw *hw`` the hardware this frame came in on h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM6hjubj)}(hhh]h)}(h"the hardware this frame came in onh]h"the hardware this frame came in on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(hQ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hjƌh]hstruct sk_buff *skb}(hjȌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjČubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM7hjubj)}(hhh]h)}(h8the buffer to receive, owned by mac80211 after this callh]h8the buffer to receive, owned by mac80211 after this call}(hjߌhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjیhM7hj܌ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjیhM7hjubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM9hjhubh)}(hX;Use this function to hand received frames to mac80211. The receive buffer in **skb** must start with an IEEE 802.11 header. In case of a paged **skb** is used, the driver is recommended to put the ieee80211 header of the frame on the linear part of the **skb** to avoid memory allocation and/or memcpy by the stack.h](hMUse this function to hand received frames to mac80211. The receive buffer in }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; must start with an IEEE 802.11 header. In case of a paged }(hjhhhNhNubj)}(h**skb**h]hskb}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhg is used, the driver is recommended to put the ieee80211 header of the frame on the linear part of the }(hjhhhNhNubj)}(h**skb**h]hskb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 to avoid memory allocation and/or memcpy by the stack.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM'hjhubh)}(hXHThis function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_rx_ni() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().h]hXHThis function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_rx_ni() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM-hjhubh)}(h1In process context use instead ieee80211_rx_ni().h]h1In process context use instead ieee80211_rx_ni().}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM3hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9!ieee80211_rx_irqsafe (C function)c.ieee80211_rx_irqsafehNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hHvoid ieee80211_rx_irqsafe (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(hGvoid ieee80211_rx_irqsafe(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMKubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMKubjr)}(hieee80211_rx_irqsafeh]jx)}(hieee80211_rx_irqsafeh]hieee80211_rx_irqsafe}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMKubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hj׍hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjӍubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjӍubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_rx_irqsafeasbuh1hhjӍubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjӍubje)}(hjhh]h*}(hj#hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjӍubjx)}(hhwh]hhw}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjӍubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjύubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hjIhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjEubja)}(h h]h }(hjVhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjEubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjdubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjimodnameN classnameNjCjF)}jI]jc.ieee80211_rx_irqsafeasbuh1hhjEubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjEubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjEubjx)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjύubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMKubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMKhjhhubj)}(hhh]h)}(h receive frameh]h receive frame}(hjʎhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM?hjǎhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` the hardware this frame came in on ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call **Description** Like ieee80211_rx() but can be called in IRQ context (internally defers to a tasklet.) Calls to this function, ieee80211_rx() or ieee80211_rx_ni() may not be mixed for a single hardware.Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMChjubj)}(hhh](j)}(h?``struct ieee80211_hw *hw`` the hardware this frame came in on h](j)}(h``struct ieee80211_hw *hw``h]j)}(hj h]hstruct ieee80211_hw *hw}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMHhjubj)}(hhh]h)}(h"the hardware this frame came in onh]h"the hardware this frame came in on}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMHhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMHhjubj)}(hQ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hjDh]hstruct sk_buff *skb}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMIhj>ubj)}(hhh]h)}(h8the buffer to receive, owned by mac80211 after this callh]h8the buffer to receive, owned by mac80211 after this call}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMIhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMIhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMKhjubh)}(hVLike ieee80211_rx() but can be called in IRQ context (internally defers to a tasklet.)h]hVLike ieee80211_rx() but can be called in IRQ context (internally defers to a tasklet.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM@hjubh)}(hCalls to this function, ieee80211_rx() or ieee80211_rx_ni() may not be mixed for a single hardware.Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().h]hCalls to this function, ieee80211_rx() or ieee80211_rx_ni() may not be mixed for a single hardware.Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_rx_ni (C function)c.ieee80211_rx_nihNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hCvoid ieee80211_rx_ni (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(hBvoid ieee80211_rx_ni(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjӏhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϏhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMZubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjϏhhhjhMZubjr)}(hieee80211_rx_nih]jx)}(hieee80211_rx_nih]hieee80211_rx_ni}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjϏhhhjhMZubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj ubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj0modnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_rx_niasbuh1hhj ubja)}(h h]h }(hjNhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj ubje)}(hjhh]h*}(hj\hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj ubjx)}(hhwh]hhw}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj~ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj~ubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jJc.ieee80211_rx_niasbuh1hhj~ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj~ubje)}(hjhh]h*}(hj̐hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj~ubjx)}(hskbh]hskb}(hjِhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj~ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjϏhhhjhMZubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjˏhhhjhMZubah}(h]jƏah ](jjeh"]h$]h&]jj)jhuh1jBhjhMZhjȏhhubj)}(hhh]h)}(h"receive frame (in process context)h]h"receive frame (in process context)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMNhjhhubah}(h]h ]h"]h$]h&]uh1jhjȏhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` the hardware this frame came in on ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call **Description** Like ieee80211_rx() but can be called in process context (internally disables bottom halves). Calls to this function, ieee80211_rx() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().h](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMRhjubj)}(hhh](j)}(h?``struct ieee80211_hw *hw`` the hardware this frame came in on h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjDh]hstruct ieee80211_hw *hw}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMWhj>ubj)}(hhh]h)}(h"the hardware this frame came in onh]h"the hardware this frame came in on}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMWhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMWhj;ubj)}(hQ``struct sk_buff *skb`` the buffer to receive, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hj}h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMXhjwubj)}(hhh]h)}(h8the buffer to receive, owned by mac80211 after this callh]h8the buffer to receive, owned by mac80211 after this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMZhjubh)}(h]Like ieee80211_rx() but can be called in process context (internally disables bottom halves).h]h]Like ieee80211_rx() but can be called in process context (internally disables bottom halves).}(hjΑhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMOhjubh)}(hCalls to this function, ieee80211_rx() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().h]hCalls to this function, ieee80211_rx() and ieee80211_rx_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status_skb() or ieee80211_tx_status_ni().}(hjݑhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMRhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$ieee80211_tx_status_skb (C function)c.ieee80211_tx_status_skbhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hKvoid ieee80211_tx_status_skb (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(hJvoid ieee80211_tx_status_skb(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_tx_status_skbh]jx)}(hieee80211_tx_status_skbh]hieee80211_tx_status_skb}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj)ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjIhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjEubja)}(h h]h }(hjVhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjEubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjdubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjimodnameN classnameNjCjF)}jI]jQ)}jIj/sbc.ieee80211_tx_status_skbasbuh1hhjEubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjEubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjEubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjȒhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjْhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj֒ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjےmodnameN classnameNjCjF)}jI]jc.ieee80211_tx_status_skbasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(htransmit status callbackh]htransmit status callback}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` the hardware the frame was transmitted by ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call **Description** Call this function for all transmitted frames after they have been transmitted. It is permissible to not call this function for multicast frames but this can affect statistics. This function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_tx_status_ni() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_rx() or ieee80211_rx_ni().h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hjXubj)}(hhh](j)}(hF``struct ieee80211_hw *hw`` the hardware the frame was transmitted by h](j)}(h``struct ieee80211_hw *hw``h]j)}(hj}h]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwubj)}(hhh]h)}(h)the hardware the frame was transmitted byh]h)the hardware the frame was transmitted by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hZ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hAthe frame that was transmitted, owned by mac80211 after this callh]hAthe frame that was transmitted, owned by mac80211 after this call}(hjϓhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˓hMhj̓ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˓hMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjXubh)}(hCall this function for all transmitted frames after they have been transmitted. It is permissible to not call this function for multicast frames but this can affect statistics.h]hCall this function for all transmitted frames after they have been transmitted. It is permissible to not call this function for multicast frames but this can affect statistics.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjXubh)}(hXDThis function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_tx_status_ni() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_rx() or ieee80211_rx_ni().h]hXDThis function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_tx_status_ni() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware. Must not run concurrently with ieee80211_rx() or ieee80211_rx_ni().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9#ieee80211_tx_status_ni (C function)c.ieee80211_tx_status_nihNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hJvoid ieee80211_tx_status_ni (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(hIvoid ieee80211_tx_status_ni(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMPubja)}(h h]h }(hjThhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjAhhhjShMPubjr)}(hieee80211_tx_status_nih]jx)}(hieee80211_tx_status_nih]hieee80211_tx_status_ni}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjbubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjAhhhjShMPubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj~ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj~ubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjhsbc.ieee80211_tx_status_niasbuh1hhj~ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj~ubje)}(hjhh]h*}(hjΔhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj~ubjx)}(hhwh]hhw}(hj۔hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj~ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjzubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_tx_status_niasbuh1hhjubja)}(h h]h }(hj0hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hj>hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hskbh]hskb}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjzubeh}(h]h ]h"]h$]h&]jjuh1j hjAhhhjShMPubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj=hhhjShMPubah}(h]j8ah ](jjeh"]h$]h&]jj)jhuh1jBhjShMPhj:hhubj)}(hhh]h)}(h-transmit status callback (in process context)h]h-transmit status callback (in process context)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMEhjrhhubah}(h]h ]h"]h$]h&]uh1jhj:hhhjShMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` the hardware the frame was transmitted by ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call **Description** Like ieee80211_tx_status_skb() but can be called in process context. Calls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMIhjubj)}(hhh](j)}(hF``struct ieee80211_hw *hw`` the hardware the frame was transmitted by h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMMhjubj)}(hhh]h)}(h)the hardware the frame was transmitted byh]h)the hardware the frame was transmitted by}(hjϕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˕hMMhj̕ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˕hMMhjubj)}(hZ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMNhjubj)}(hhh]h)}(hAthe frame that was transmitted, owned by mac80211 after this callh]hAthe frame that was transmitted, owned by mac80211 after this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMPhjubh)}(hDLike ieee80211_tx_status_skb() but can be called in process context.h]hDLike ieee80211_tx_status_skb() but can be called in process context.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMFhjubh)}(h{Calls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware.h]h{Calls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9(ieee80211_tx_status_irqsafe (C function)c.ieee80211_tx_status_irqsafehNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hOvoid ieee80211_tx_status_irqsafe (struct ieee80211_hw *hw, struct sk_buff *skb)h]jI)}(hNvoid ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMdubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjzhhhjhMdubjr)}(hieee80211_tx_status_irqsafeh]jx)}(hieee80211_tx_status_irqsafeh]hieee80211_tx_status_irqsafe}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjzhhhjhMdubj )}(h.(struct ieee80211_hw *hw, struct sk_buff *skb)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjȖhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjٖhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj֖ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjۖmodnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_tx_status_irqsafeasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct sk_buff *skbh](jO)}(hjVh]hstruct}(hj-hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj)ubja)}(h h]h }(hj:hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj)ubh)}(hhh]jx)}(hsk_buffh]hsk_buff}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjHubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjMmodnameN classnameNjCjF)}jI]jc.ieee80211_tx_status_irqsafeasbuh1hhj)ubja)}(h h]h }(hjihhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj)ubje)}(hjhh]h*}(hjwhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj)ubjx)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjzhhhjhMdubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjvhhhjhMdubah}(h]jqah ](jjeh"]h$]h&]jj)jhuh1jBhjhMdhjshhubj)}(hhh]h)}(h!IRQ-safe transmit status callbackh]h!IRQ-safe transmit status callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMYhjhhubah}(h]h ]h"]h$]h&]uh1jhjshhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjƗjjƗjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` the hardware the frame was transmitted by ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call **Description** Like ieee80211_tx_status_skb() but can be called in IRQ context (internally defers to a tasklet.) Calls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_ni() may not be mixed for a single hardware.h](h)}(h**Parameters**h]j)}(hjЗh]h Parameters}(hjҗhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΗubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM]hjʗubj)}(hhh](j)}(hF``struct ieee80211_hw *hw`` the hardware the frame was transmitted by h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMahjubj)}(hhh]h)}(h)the hardware the frame was transmitted byh]h)the hardware the frame was transmitted by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(hZ``struct sk_buff *skb`` the frame that was transmitted, owned by mac80211 after this call h](j)}(h``struct sk_buff *skb``h]j)}(hj(h]hstruct sk_buff *skb}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMbhj"ubj)}(hhh]h)}(hAthe frame that was transmitted, owned by mac80211 after this callh]hAthe frame that was transmitted, owned by mac80211 after this call}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMbhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMbhjubeh}(h]h ]h"]h$]h&]uh1jhjʗubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMdhjʗubh)}(haLike ieee80211_tx_status_skb() but can be called in IRQ context (internally defers to a tasklet.)h]haLike ieee80211_tx_status_skb() but can be called in IRQ context (internally defers to a tasklet.)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMZhjʗubh)}(hvCalls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_ni() may not be mixed for a single hardware.h]hvCalls to this function, ieee80211_tx_status_skb() and ieee80211_tx_status_ni() may not be mixed for a single hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhM]hjʗubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_rts_get (C function)c.ieee80211_rts_gethNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hvoid ieee80211_rts_get (struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts)h]jI)}(hvoid ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjƘhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjŘhMubjr)}(hieee80211_rts_geth]jx)}(hieee80211_rts_geth]hieee80211_rts_get}(hjؘhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjԘubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjŘhMubj )}(h(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjژsbc.ieee80211_rts_getasbuh1hhjubja)}(h h]h }(hj2hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hj@hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_vif *vifh](jO)}(hjVh]hstruct}(hjfhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjbubja)}(h h]h }(hjshhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjbubh)}(hhh]jx)}(h ieee80211_vifh]h ieee80211_vif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]j.c.ieee80211_rts_getasbuh1hhjbubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjbubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjbubjx)}(hvifh]hvif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst void *frameh](jO)}(hjh]hconst}(hj֙hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjҙubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjҙubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҙubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjҙubje)}(hjhh]h*}(hj hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjҙubjx)}(hframeh]hframe}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjҙubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hsize_t frame_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj8modnameN classnameNjCjF)}jI]j.c.ieee80211_rts_getasbuh1hhj/ubja)}(h h]h }(hjThhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj/ubjx)}(h frame_lenh]h frame_len}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h+const struct ieee80211_tx_info *frame_txctlh](jO)}(hjh]hconst}(hj{hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjwubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjwubjO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjwubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjwubh)}(hhh]jx)}(hieee80211_tx_infoh]hieee80211_tx_info}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]j.c.ieee80211_rts_getasbuh1hhjwubja)}(h h]h }(hjҚhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjwubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjwubjx)}(h frame_txctlh]h frame_txctl}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjwubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_rts *rtsh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_rtsh]h ieee80211_rts}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj&modnameN classnameNjCjF)}jI]j.c.ieee80211_rts_getasbuh1hhjubja)}(h h]h }(hjBhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjPhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hrtsh]hrts}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjŘhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjŘhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjŘhMhjhhubj)}(hhh]h)}(hRTS frame generation functionh]hRTS frame generation function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjŘhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX<**Parameters** ``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). ``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. ``const void *frame`` pointer to the frame that is going to be protected by the RTS. ``size_t frame_len`` the frame length (in octets). ``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. ``struct ieee80211_rts *rts`` The buffer where to store the RTS frame. **Description** If the RTS frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next RTS frame from the 802.11 code. The low-level is responsible for calling this function before and RTS frame is needed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hH``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjțh]hstruct ieee80211_hw *hw}(hjʛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƛubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj›ubj)}(hhh]h)}(h+pointer obtained from ieee80211_alloc_hw().h]h+pointer obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjݛhMhjޛubah}(h]h ]h"]h$]h&]uh1jhj›ubeh}(h]h ]h"]h$]h&]uh1jhjݛhMhjubj)}(hv``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. h](j)}(h``struct ieee80211_vif *vif``h]j)}(hjh]hstruct ieee80211_vif *vif}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hW:c:type:`struct ieee80211_vif ` pointer from the add_interface callback.h](h)}(h.:c:type:`struct ieee80211_vif `h]j)}(hj h]hstruct ieee80211_vif}(hj"hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hhjhMhjubh) pointer from the add_interface callback.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const void *frame`` pointer to the frame that is going to be protected by the RTS. h](j)}(h``const void *frame``h]j)}(hjYh]hconst void *frame}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjSubj)}(hhh]h)}(h>pointer to the frame that is going to be protected by the RTS.h]h>pointer to the frame that is going to be protected by the RTS.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(h3``size_t frame_len`` the frame length (in octets). h](j)}(h``size_t frame_len``h]j)}(hjh]hsize_t frame_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hthe frame length (in octets).h]hthe frame length (in octets).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hu``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. h](j)}(h/``const struct ieee80211_tx_info *frame_txctl``h]j)}(hj˜h]h+const struct ieee80211_tx_info *frame_txctl}(hj͜hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɜubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjŜubj)}(hhh]h)}(hD:c:type:`struct ieee80211_tx_info ` of the frame.h](h)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjh]hstruct ieee80211_tx_info}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hhjhMhjubh of the frame.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjŜubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``struct ieee80211_rts *rts`` The buffer where to store the RTS frame. h](j)}(h``struct ieee80211_rts *rts``h]j)}(hj#h]hstruct ieee80211_rts *rts}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h(The buffer where to store the RTS frame.h]h(The buffer where to store the RTS frame.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(hXIf the RTS frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next RTS frame from the 802.11 code. The low-level is responsible for calling this function before and RTS frame is needed.h]hXIf the RTS frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next RTS frame from the 802.11 code. The low-level is responsible for calling this function before and RTS frame is needed.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9#ieee80211_rts_duration (C function)c.ieee80211_rts_durationhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h__le16 ieee80211_rts_duration (struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h]jI)}(h__le16 ieee80211_rts_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h](h)}(hhh]jx)}(h__le16h]h__le16}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIieee80211_rts_durationsbc.ieee80211_rts_durationasbuh1hhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjȝhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjǝhMubjr)}(hieee80211_rts_durationh]jx)}(hjĝh]hieee80211_rts_duration}(hjڝhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj֝ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjǝhMubj )}(hs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_rts_durationasbuh1hhjubja)}(h h]h }(hj1hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hj?hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_vif *vifh](jO)}(hjVh]hstruct}(hjehhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjaubja)}(h h]h }(hjrhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjaubh)}(hhh]jx)}(h ieee80211_vifh]h ieee80211_vif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_rts_durationasbuh1hhjaubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjaubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjaubjx)}(hvifh]hvif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hsize_t frame_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hj؞hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj՞ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjڞmodnameN classnameNjCjF)}jI]jc.ieee80211_rts_durationasbuh1hhjўubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjўubjx)}(h frame_lenh]h frame_len}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjўubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h+const struct ieee80211_tx_info *frame_txctlh](jO)}(hjh]hconst}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hj*hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjO)}(hjVh]hstruct}(hj8hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjEhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hieee80211_tx_infoh]hieee80211_tx_info}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjSubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjXmodnameN classnameNjCjF)}jI]jc.ieee80211_rts_durationasbuh1hhjubja)}(h h]h }(hjthhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(h frame_txctlh]h frame_txctl}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjǝhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjǝhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjǝhMhjhhubj)}(hhh]h)}(h'Get the duration field for an RTS frameh]h'Get the duration field for an RTS frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjǝhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjџjjџjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). ``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. ``size_t frame_len`` the length of the frame that is going to be protected by the RTS. ``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. **Description** If the RTS is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder. **Return** The duration.h](h)}(h**Parameters**h]j)}(hj۟h]h Parameters}(hjݟhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٟubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj՟ubj)}(hhh](j)}(hH``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h+pointer obtained from ieee80211_alloc_hw().h]h+pointer obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hv``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. h](j)}(h``struct ieee80211_vif *vif``h]j)}(hj3h]hstruct ieee80211_vif *vif}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj-ubj)}(hhh]h)}(hW:c:type:`struct ieee80211_vif ` pointer from the add_interface callback.h](h)}(h.:c:type:`struct ieee80211_vif `h]j)}(hjRh]hstruct ieee80211_vif}(hjThhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hhjHhMhjLubh) pointer from the add_interface callback.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(hW``size_t frame_len`` the length of the frame that is going to be protected by the RTS. h](j)}(h``size_t frame_len``h]j)}(hjh]hsize_t frame_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hAthe length of the frame that is going to be protected by the RTS.h]hAthe length of the frame that is going to be protected by the RTS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hu``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. h](j)}(h/``const struct ieee80211_tx_info *frame_txctl``h]j)}(hjĠh]h+const struct ieee80211_tx_info *frame_txctl}(hjƠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hD:c:type:`struct ieee80211_tx_info ` of the frame.h](h)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjh]hstruct ieee80211_tx_info}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hhj٠hMhjݠubh of the frame.}(hjݠhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj٠hMhjڠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj٠hMhjubeh}(h]h ]h"]h$]h&]uh1jhj՟ubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj՟ubh)}(hIf the RTS is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder.h]hIf the RTS is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj՟ubh)}(h **Return**h]j)}(hjEh]hReturn}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj՟ubh)}(h The duration.h]h The duration.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj՟ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$ieee80211_ctstoself_get (C function)c.ieee80211_ctstoself_gethNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(hvoid ieee80211_ctstoself_get (struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_cts *cts)h]jI)}(hvoid ieee80211_ctstoself_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_cts *cts)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_ctstoself_geth]jx)}(hieee80211_ctstoself_geth]hieee80211_ctstoself_get}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_cts *cts)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjǡhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjáubja)}(h h]h }(hjԡhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjáubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_ctstoself_getasbuh1hhjáubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjáubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjáubjx)}(hhwh]hhw}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjáubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_vif *vifh](jO)}(hjVh]hstruct}(hj9hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj5ubja)}(h h]h }(hjFhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj5ubh)}(hhh]jx)}(h ieee80211_vifh]h ieee80211_vif}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjTubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjYmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_getasbuh1hhj5ubja)}(h h]h }(hjuhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj5ubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj5ubjx)}(hvifh]hvif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst void *frameh](jO)}(hjh]hconst}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubj)}(hvoidh]hvoid}(hjĢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubja)}(h h]h }(hjҢhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hframeh]hframe}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hsize_t frame_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj modnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_getasbuh1hhjubja)}(h h]h }(hj'hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjx)}(h frame_lenh]h frame_len}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h+const struct ieee80211_tx_info *frame_txctlh](jO)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjJubja)}(h h]h }(hj[hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjJubjO)}(hjVh]hstruct}(hjihhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjJubja)}(h h]h }(hjvhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjJubh)}(hhh]jx)}(hieee80211_tx_infoh]hieee80211_tx_info}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_getasbuh1hhjJubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjJubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjJubjx)}(h frame_txctlh]h frame_txctl}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_cts *ctsh](jO)}(hjVh]hstruct}(hj٣hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjգubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjգubh)}(hhh]jx)}(h ieee80211_ctsh]h ieee80211_cts}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_getasbuh1hhjգubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjգubje)}(hjhh]h*}(hj#hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjգubjx)}(hctsh]hcts}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjգubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]j}ah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(h%CTS-to-self frame generation functionh]h%CTS-to-self frame generation function}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjWhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1j=hhhjWhNhNubj)}(hXd**Parameters** ``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). ``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. ``const void *frame`` pointer to the frame that is going to be protected by the CTS-to-self. ``size_t frame_len`` the frame length (in octets). ``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. ``struct ieee80211_cts *cts`` The buffer where to store the CTS-to-self frame. **Description** If the CTS-to-self frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next CTS-to-self frame from the 802.11 code. The low-level is responsible for calling this function before and CTS-to-self frame is needed.h](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubj)}(hhh](j)}(hH``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h+pointer obtained from ieee80211_alloc_hw().h]h+pointer obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hv``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. h](j)}(h``struct ieee80211_vif *vif``h]j)}(hjԤh]hstruct ieee80211_vif *vif}(hj֤hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҤubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjΤubj)}(hhh]h)}(hW:c:type:`struct ieee80211_vif ` pointer from the add_interface callback.h](h)}(h.:c:type:`struct ieee80211_vif `h]j)}(hjh]hstruct ieee80211_vif}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hhjhMhjubh) pointer from the add_interface callback.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΤubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h]``const void *frame`` pointer to the frame that is going to be protected by the CTS-to-self. h](j)}(h``const void *frame``h]j)}(hj,h]hconst void *frame}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj&ubj)}(hhh]h)}(hFpointer to the frame that is going to be protected by the CTS-to-self.h]hFpointer to the frame that is going to be protected by the CTS-to-self.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h3``size_t frame_len`` the frame length (in octets). h](j)}(h``size_t frame_len``h]j)}(hjeh]hsize_t frame_len}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj_ubj)}(hhh]h)}(hthe frame length (in octets).h]hthe frame length (in octets).}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(hu``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. h](j)}(h/``const struct ieee80211_tx_info *frame_txctl``h]j)}(hjh]h+const struct ieee80211_tx_info *frame_txctl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hD:c:type:`struct ieee80211_tx_info ` of the frame.h](h)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjh]hstruct ieee80211_tx_info}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hhjhMhjubh of the frame.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hO``struct ieee80211_cts *cts`` The buffer where to store the CTS-to-self frame. h](j)}(h``struct ieee80211_cts *cts``h]j)}(hjh]hstruct ieee80211_cts *cts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h0The buffer where to store the CTS-to-self frame.h]h0The buffer where to store the CTS-to-self frame.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubh)}(hXIf the CTS-to-self frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next CTS-to-self frame from the 802.11 code. The low-level is responsible for calling this function before and CTS-to-self frame is needed.h]hXIf the CTS-to-self frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next CTS-to-self frame from the 802.11 code. The low-level is responsible for calling this function before and CTS-to-self frame is needed.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9)ieee80211_ctstoself_duration (C function)c.ieee80211_ctstoself_durationhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h__le16 ieee80211_ctstoself_duration (struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h]jI)}(h__le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h](h)}(hhh]jx)}(h__le16h]h__le16}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjvubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj{modnameN classnameNjCjF)}jI]jQ)}jIieee80211_ctstoself_durationsbc.ieee80211_ctstoself_durationasbuh1hhjrhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjrhhhjhMubjr)}(hieee80211_ctstoself_durationh]jx)}(hjh]hieee80211_ctstoself_duration}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjrhhhjhMubj )}(hs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjȦhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjĦubja)}(h h]h }(hjզhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjĦubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_durationasbuh1hhjĦubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjĦubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjĦubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjĦubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_vif *vifh](jO)}(hjVh]hstruct}(hj8hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj4ubja)}(h h]h }(hjEhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj4ubh)}(hhh]jx)}(h ieee80211_vifh]h ieee80211_vif}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjSubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjXmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_durationasbuh1hhj4ubja)}(h h]h }(hjthhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj4ubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj4ubjx)}(hvifh]hvif}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hsize_t frame_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_durationasbuh1hhjubja)}(h h]h }(hjɧhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjx)}(h frame_lenh]h frame_len}(hjקhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h+const struct ieee80211_tx_info *frame_txctlh](jO)}(hjh]hconst}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjO)}(hjVh]hstruct}(hj hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(hieee80211_tx_infoh]hieee80211_tx_info}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj+modnameN classnameNjCjF)}jI]jc.ieee80211_ctstoself_durationasbuh1hhjubja)}(h h]h }(hjGhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjUhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(h frame_txctlh]h frame_txctl}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjrhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjnhhhjhMubah}(h]jiah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjkhhubj)}(hhh]h)}(h.Get the duration field for a CTS-to-self frameh]h.Get the duration field for a CTS-to-self frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjkhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX**Parameters** ``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). ``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. ``size_t frame_len`` the length of the frame that is going to be protected by the CTS-to-self. ``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. **Description** If the CTS-to-self is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder. **Return** The duration.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hH``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjͨh]hstruct ieee80211_hw *hw}(hjϨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˨ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjǨubj)}(hhh]h)}(h+pointer obtained from ieee80211_alloc_hw().h]h+pointer obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(hv``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. h](j)}(h``struct ieee80211_vif *vif``h]j)}(hjh]hstruct ieee80211_vif *vif}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hW:c:type:`struct ieee80211_vif ` pointer from the add_interface callback.h](h)}(h.:c:type:`struct ieee80211_vif `h]j)}(hj%h]hstruct ieee80211_vif}(hj'hhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hhjhMhjubh) pointer from the add_interface callback.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h_``size_t frame_len`` the length of the frame that is going to be protected by the CTS-to-self. h](j)}(h``size_t frame_len``h]j)}(hj^h]hsize_t frame_len}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjXubj)}(hhh]h)}(hIthe length of the frame that is going to be protected by the CTS-to-self.h]hIthe length of the frame that is going to be protected by the CTS-to-self.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjĨubj)}(hu``const struct ieee80211_tx_info *frame_txctl`` :c:type:`struct ieee80211_tx_info ` of the frame. h](j)}(h/``const struct ieee80211_tx_info *frame_txctl``h]j)}(hjh]h+const struct ieee80211_tx_info *frame_txctl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hD:c:type:`struct ieee80211_tx_info ` of the frame.h](h)}(h6:c:type:`struct ieee80211_tx_info `h]j)}(hjh]hstruct ieee80211_tx_info}(hjhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjKieee80211_tx_infouh1hhjhMhjubh of the frame.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(hIf the CTS-to-self is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder.h]hIf the CTS-to-self is generated in firmware, but the host system must provide the duration field, the low-level driver uses this function to receive the duration field value in little-endian byteorder.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h The duration.h]h The duration.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9-ieee80211_generic_frame_duration (C function)"c.ieee80211_generic_frame_durationhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h__le16 ieee80211_generic_frame_duration (struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_band band, size_t frame_len, struct ieee80211_rate *rate)h]jI)}(h__le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_band band, size_t frame_len, struct ieee80211_rate *rate)h](h)}(hhh]jx)}(h__le16h]h__le16}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjbmodnameN classnameNjCjF)}jI]jQ)}jI ieee80211_generic_frame_durationsb"c.ieee80211_generic_frame_durationasbuh1hhjYhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjYhhhjhMubjr)}(h ieee80211_generic_frame_durationh]jx)}(hj~h]h ieee80211_generic_frame_duration}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjYhhhjhMubj )}(h{(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_band band, size_t frame_len, struct ieee80211_rate *rate)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjͪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjʪubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjϪmodnameN classnameNjCjF)}jI]j|"c.ieee80211_generic_frame_durationasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_vif *vifh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hj,hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_vifh]h ieee80211_vif}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj:ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj?modnameN classnameNjCjF)}jI]j|"c.ieee80211_generic_frame_durationasbuh1hhjubja)}(h h]h }(hj[hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjihhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hvifh]hvif}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum nl80211_band bandh](jO)}(hjRh]henum}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h nl80211_bandh]h nl80211_band}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]j|"c.ieee80211_generic_frame_durationasbuh1hhjubja)}(h h]h }(hj˫hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjx)}(hbandh]hband}(hj٫hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hsize_t frame_lenh](h)}(hhh]jx)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]j|"c.ieee80211_generic_frame_durationasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubjx)}(h frame_lenh]h frame_len}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ieee80211_rate *rateh](jO)}(hjVh]hstruct}(hj:hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj6ubja)}(h h]h }(hjGhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj6ubh)}(hhh]jx)}(hieee80211_rateh]hieee80211_rate}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjUubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjZmodnameN classnameNjCjF)}jI]j|"c.ieee80211_generic_frame_durationasbuh1hhj6ubja)}(h h]h }(hjvhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj6ubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj6ubjx)}(hrateh]hrate}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjYhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjUhhhjhMubah}(h]jPah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjRhhubj)}(hhh]h)}(h(Calculate the duration field for a frameh]h(Calculate the duration field for a frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjRhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӬjjӬjjjuh1j=hhhjWhNhNubj)}(hX>**Parameters** ``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). ``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. ``enum nl80211_band band`` the band to calculate the frame duration on ``size_t frame_len`` the length of the frame. ``struct ieee80211_rate *rate`` the rate at which the frame is going to be transmitted. **Description** Calculate the duration field of some generic frame, given its length and transmission rate (in 100kbps). **Return** The duration.h](h)}(h**Parameters**h]j)}(hjݬh]h Parameters}(hj߬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۬ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj׬ubj)}(hhh](j)}(hH``struct ieee80211_hw *hw`` pointer obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h+pointer obtained from ieee80211_alloc_hw().h]h+pointer obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hv``struct ieee80211_vif *vif`` :c:type:`struct ieee80211_vif ` pointer from the add_interface callback. h](j)}(h``struct ieee80211_vif *vif``h]j)}(hj5h]hstruct ieee80211_vif *vif}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj/ubj)}(hhh]h)}(hW:c:type:`struct ieee80211_vif ` pointer from the add_interface callback.h](h)}(h.:c:type:`struct ieee80211_vif `h]j)}(hjTh]hstruct ieee80211_vif}(hjVhhhNhNubah}(h]h ](j1jc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj= refdomainjreftypetype refexplicitrefwarnjCjGjK ieee80211_vifuh1hhjJhMhjNubh) pointer from the add_interface callback.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(hG``enum nl80211_band band`` the band to calculate the frame duration on h](j)}(h``enum nl80211_band band``h]j)}(hjh]henum nl80211_band band}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h+the band to calculate the frame duration onh]h+the band to calculate the frame duration on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``size_t frame_len`` the length of the frame. h](j)}(h``size_t frame_len``h]j)}(hjƭh]hsize_t frame_len}(hjȭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĭubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(hthe length of the frame.h]hthe length of the frame.}(hj߭hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjۭhMhjܭubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۭhMhjubj)}(hX``struct ieee80211_rate *rate`` the rate at which the frame is going to be transmitted. h](j)}(h``struct ieee80211_rate *rate``h]j)}(hjh]hstruct ieee80211_rate *rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h7the rate at which the frame is going to be transmitted.h]h7the rate at which the frame is going to be transmitted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj׬ubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj׬ubh)}(hhCalculate the duration field of some generic frame, given its length and transmission rate (in 100kbps).h]hhCalculate the duration field of some generic frame, given its length and transmission rate (in 100kbps).}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj׬ubh)}(h **Return**h]j)}(hjah]hReturn}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj׬ubh)}(h The duration.h]h The duration.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj׬ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9!ieee80211_wake_queue (C function)c.ieee80211_wake_queuehNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h>void ieee80211_wake_queue (struct ieee80211_hw *hw, int queue)h]jI)}(h=void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_wake_queueh]jx)}(hieee80211_wake_queueh]hieee80211_wake_queue}(hjǮhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjîubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h$(struct ieee80211_hw *hw, int queue)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj߮ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj߮ubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjɮsbc.ieee80211_wake_queueasbuh1hhj߮ubja)}(h h]h }(hj!hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj߮ubje)}(hjhh]h*}(hj/hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj߮ubjx)}(hhwh]hhw}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj߮ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjۮubj)}(h int queueh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubja)}(h h]h }(hjchhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjQubjx)}(hqueueh]hqueue}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjۮubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(hwake specific queueh]hwake specific queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). ``int queue`` queue number (counted from zero). **Description** Drivers must use this function instead of netif_wake_queue.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hK``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjܯh]hstruct ieee80211_hw *hw}(hjޯhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjگubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj֯ubj)}(hhh]h)}(h.pointer as obtained from ieee80211_alloc_hw().h]h.pointer as obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj֯ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjӯubj)}(h0``int queue`` queue number (counted from zero). h](j)}(h ``int queue``h]j)}(hjh]h int queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h!queue number (counted from zero).h]h!queue number (counted from zero).}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjӯubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h;Drivers must use this function instead of netif_wake_queue.h]h;Drivers must use this function instead of netif_wake_queue.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9!ieee80211_stop_queue (C function)c.ieee80211_stop_queuehNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h>void ieee80211_stop_queue (struct ieee80211_hw *hw, int queue)h]jI)}(h=void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_stop_queueh]jx)}(hieee80211_stop_queueh]hieee80211_stop_queue}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h$(struct ieee80211_hw *hw, int queue)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjҰhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjΰubja)}(h h]h }(hj߰hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjΰubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_stop_queueasbuh1hhjΰubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjΰubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjΰubjx)}(hhwh]hhw}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjΰubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjʰubj)}(h int queueh](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubja)}(h h]h }(hjRhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj@ubjx)}(hqueueh]hqueue}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjʰubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(hstop specific queueh]hstop specific queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). ``int queue`` queue number (counted from zero). **Description** Drivers must use this function instead of netif_stop_queue.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hK``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hj˱h]hstruct ieee80211_hw *hw}(hjͱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɱubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjűubj)}(hhh]h)}(h.pointer as obtained from ieee80211_alloc_hw().h]h.pointer as obtained from ieee80211_alloc_hw().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjűubeh}(h]h ]h"]h$]h&]uh1jhjhMhj±ubj)}(h0``int queue`` queue number (counted from zero). h](j)}(h ``int queue``h]j)}(hjh]h int queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h!queue number (counted from zero).h]h!queue number (counted from zero).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj±ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h;Drivers must use this function instead of netif_stop_queue.h]h;Drivers must use this function instead of netif_stop_queue.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9$ieee80211_queue_stopped (C function)c.ieee80211_queue_stoppedhNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h@int ieee80211_queue_stopped (struct ieee80211_hw *hw, int queue)h]jI)}(h?int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_queue_stoppedh]jx)}(hieee80211_queue_stoppedh]hieee80211_queue_stopped}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h$(struct ieee80211_hw *hw, int queue)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjβhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hj߲hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjܲubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjsbc.ieee80211_queue_stoppedasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hj hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int queueh](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubja)}(h h]h }(hjAhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj/ubjx)}(hqueueh]hqueue}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj|hhhjhMubah}(h]jwah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjyhhubj)}(hhh]h)}(htest status of the queueh]htest status of the queue}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjvhhubah}(h]h ]h"]h$]h&]uh1jhjyhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(hX$**Parameters** ``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). ``int queue`` queue number (counted from zero). **Description** Drivers must use this function instead of netif_queue_stopped. **Return** ``true`` if the queue is stopped. ``false`` otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh](j)}(hK``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h.pointer as obtained from ieee80211_alloc_hw().h]h.pointer as obtained from ieee80211_alloc_hw().}(hjӳhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjϳhMhjгubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϳhMhjubj)}(h0``int queue`` queue number (counted from zero). h](j)}(h ``int queue``h]j)}(hjh]h int queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h!queue number (counted from zero).h]h!queue number (counted from zero).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h>Drivers must use this function instead of netif_queue_stopped.h]h>Drivers must use this function instead of netif_queue_stopped.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h **Return**h]j)}(hjUh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(h6``true`` if the queue is stopped. ``false`` otherwise.h](j)}(h``true``h]htrue}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh if the queue is stopped. }(hjkhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh otherwise.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9"ieee80211_stop_queues (C function)c.ieee80211_stop_queueshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h4void ieee80211_stop_queues (struct ieee80211_hw *hw)h]jI)}(h3void ieee80211_stop_queues(struct ieee80211_hw *hw)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjɴhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjȴhMubjr)}(hieee80211_stop_queuesh]jx)}(hieee80211_stop_queuesh]hieee80211_stop_queues}(hj۴hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj״ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjȴhMubj )}(h(struct ieee80211_hw *hw)h]j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjݴsbc.ieee80211_stop_queuesasbuh1hhjubja)}(h h]h }(hj5hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjChhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hhwh]hhw}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1j hjhhhjȴhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjȴhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjȴhMhjhhubj)}(hhh]h)}(hstop all queuesh]hstop all queues}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjwhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjȴhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). **Description** Drivers must use this function instead of netif_tx_stop_all_queues.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]j)}(hK``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.h/hMhjubj)}(hhh]h)}(h.pointer as obtained from ieee80211_alloc_hw().h]h.pointer as obtained from ieee80211_alloc_hw().}(hjԵhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjеhMhjѵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjеhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(hCDrivers must use this function instead of netif_tx_stop_all_queues.h]hCDrivers must use this function instead of netif_tx_stop_all_queues.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9"ieee80211_wake_queues (C function)c.ieee80211_wake_queueshNtauh1j,hjWhhhNhNubj>)}(hhh](jC)}(h4void ieee80211_wake_queues (struct ieee80211_hw *hw)h]jI)}(h3void ieee80211_wake_queues(struct ieee80211_hw *hw)h](j)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMubja)}(h h]h }(hjJhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj7hhhjIhMubjr)}(hieee80211_wake_queuesh]jx)}(hieee80211_wake_queuesh]hieee80211_wake_queues}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjXubah}(h]h ](jjeh"]h$]h&]jjuh1jqhj7hhhjIhMubj )}(h(struct ieee80211_hw *hw)h]j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjxhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjtubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjtubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIj^sbc.ieee80211_wake_queuesasbuh1hhjtubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjtubje)}(hjhh]h*}(hjĶhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjtubjx)}(hhwh]hhw}(hjѶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjpubah}(h]h ]h"]h$]h&]jjuh1j hj7hhhjIhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj3hhhjIhMubah}(h]j.ah ](jjeh"]h$]h&]jj)jhuh1jBhjIhMhj0hhubj)}(hhh]h)}(hwake all queuesh]hwake all queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhj0hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1j=hhhjWhNhNubj)}(h**Parameters** ``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). **Description** Drivers must use this function instead of netif_tx_wake_all_queues.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubj)}(hhh]j)}(hK``struct ieee80211_hw *hw`` pointer as obtained from ieee80211_alloc_hw(). h](j)}(h``struct ieee80211_hw *hw``h]j)}(hj<h]hstruct ieee80211_hw *hw}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhj6ubj)}(hhh]h)}(h.pointer as obtained from ieee80211_alloc_hw().h]h.pointer as obtained from ieee80211_alloc_hw().}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubh)}(hCDrivers must use this function instead of netif_tx_wake_all_queues.h]hCDrivers must use this function instead of netif_tx_wake_all_queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjWhhhNhNubeh}(h]functions-definitionsah ]h"]functions/definitionsah$]h&]uh1hhjmVhhhhhKkubeh}(h]receive-and-transmit-processingah ]h"]receive and transmit processingah$]h&]uh1hhhhhhhhKNubh)}(hhh](h)}(hFrame filteringh]hFrame filtering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hX;mac80211 requires to see many management frames for proper operation, and users may want to see many more frames when in monitor mode. However, for best CPU usage and power consumption, having as few frames as possible percolate through the stack is desirable. Hence, the hardware should filter as much as possible.h]hX;mac80211 requires to see many management frames for proper operation, and users may want to see many more frames when in monitor mode. However, for best CPU usage and power consumption, having as few frames as possible percolate through the stack is desirable. Hence, the hardware should filter as much as possible.}(hjķhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:140: ./include/net/mac80211.hhMv hjhhubh)}(hTo achieve this, mac80211 uses filter flags (see below) to tell the driver's configure_filter() function which frames should be passed to mac80211 and which should be filtered out.h]hTo achieve this, mac80211 uses filter flags (see below) to tell the driver’s configure_filter() function which frames should be passed to mac80211 and which should be filtered out.}(hjӷhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:140: ./include/net/mac80211.hhM| hjhhubh)}(hXBefore configure_filter() is invoked, the prepare_multicast() callback is invoked with the parameters **mc_count** and **mc_list** for the combined multicast address list of all virtual interfaces. It's use is optional, and it returns a u64 that is passed to configure_filter(). Additionally, configure_filter() has the arguments **changed_flags** telling which flags were changed and **total_flags** with the new flag states.h](hfBefore configure_filter() is invoked, the prepare_multicast() callback is invoked with the parameters }(hjhhhNhNubj)}(h **mc_count**h]hmc_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **mc_list**h]hmc_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for the combined multicast address list of all virtual interfaces. It’s use is optional, and it returns a u64 that is passed to configure_filter(). Additionally, configure_filter() has the arguments }(hjhhhNhNubj)}(h**changed_flags**h]h changed_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& telling which flags were changed and }(hjhhhNhNubj)}(h**total_flags**h]h total_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the new flag states.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:140: ./include/net/mac80211.hhM hjhhubh)}(hIf your device has no multicast address filters your driver will need to check both the ``FIF_ALLMULTI`` flag and the **mc_count** parameter to see whether multicast frames should be accepted or dropped.h](hXIf your device has no multicast address filters your driver will need to check both the }(hj9hhhNhNubj)}(h``FIF_ALLMULTI``h]h FIF_ALLMULTI}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh flag and the }(hj9hhhNhNubj)}(h **mc_count**h]hmc_count}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhI parameter to see whether multicast frames should be accepted or dropped.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:140: ./include/net/mac80211.hhM hjhhubh)}(hXAll unsupported flags in **total_flags** must be cleared. Hardware does not support a flag if it is incapable of _passing_ the frame to the stack. Otherwise the driver must ignore the flag, but not clear it. You must _only_ clear the flag (announce no support for the flag to mac80211) if you are not able to pass the packet type to the stack (so the hardware always filters it). So for example, you should clear **FIF_CONTROL**, if your hardware always filters control frames. If your hardware always passes control frames to the kernel and is incapable of filtering them, you do _not_ clear the **FIF_CONTROL** flag. This rule applies to all other FIF flags as well.h](hAll unsupported flags in }(hjlhhhNhNubj)}(h**total_flags**h]h total_flags}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubhXu must be cleared. Hardware does not support a flag if it is incapable of _passing_ the frame to the stack. Otherwise the driver must ignore the flag, but not clear it. You must _only_ clear the flag (announce no support for the flag to mac80211) if you are not able to pass the packet type to the stack (so the hardware always filters it). So for example, you should clear }(hjlhhhNhNubj)}(h**FIF_CONTROL**h]h FIF_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh, if your hardware always filters control frames. If your hardware always passes control frames to the kernel and is incapable of filtering them, you do _not_ clear the }(hjlhhhNhNubj)}(h**FIF_CONTROL**h]h FIF_CONTROL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh8 flag. This rule applies to all other FIF flags as well.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:140: ./include/net/mac80211.hhM hjhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9ieee80211_filter_flags (C enum)c.ieee80211_filter_flagshNtauh1j,hjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhNubj>)}(hhh](jC)}(hieee80211_filter_flagsh]jI)}(henum ieee80211_filter_flagsh](jO)}(hjRh]henum}(hj˸hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjǸhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM ubja)}(h h]h }(hjٸhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjǸhhhjظhM ubjr)}(hieee80211_filter_flagsh]jx)}(hjŸh]hieee80211_filter_flags}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjǸhhhjظhM ubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjøhhhjظhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjظhM hjhhubj)}(hhh]h)}(hhardware filter flagsh]hhardware filter flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM6hj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjظhM ubeh}(h]h ](jenumeh"]h$]h&]jjjj%jj%jjjuh1j=hhhjhjhNubj)}(hX**Constants** ``FIF_ALLMULTI`` pass all multicast frames, this is used if requested by the user or if the hardware is not capable of filtering by multicast address. ``FIF_FCSFAIL`` pass frames with failed FCS (but you need to set the ``RX_FLAG_FAILED_FCS_CRC`` for them) ``FIF_PLCPFAIL`` pass frames with failed PLCP CRC (but you need to set the ``RX_FLAG_FAILED_PLCP_CRC`` for them ``FIF_BCN_PRBRESP_PROMISC`` This flag is set during scanning to indicate to the hardware that it should not filter beacons or probe responses by BSSID. Filtering them can greatly reduce the amount of processing mac80211 needs to do and the amount of CPU wakeups, so you should honour this flag if possible. ``FIF_CONTROL`` pass control frames (except for PS Poll) addressed to this station ``FIF_OTHER_BSS`` pass frames destined to other BSSes ``FIF_PSPOLL`` pass PS Poll frames ``FIF_PROBE_REQ`` pass probe request frames ``FIF_MCAST_ACTION`` pass multicast Action framesh](h)}(h **Constants**h]j)}(hj/h]h Constants}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM:hj)ubj)}(hhh](j)}(h``FIF_ALLMULTI`` pass all multicast frames, this is used if requested by the user or if the hardware is not capable of filtering by multicast address. h](j)}(h``FIF_ALLMULTI``h]j)}(hjNh]h FIF_ALLMULTI}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM?hjHubj)}(hhh]h)}(hpass all multicast frames, this is used if requested by the user or if the hardware is not capable of filtering by multicast address.h]hpass all multicast frames, this is used if requested by the user or if the hardware is not capable of filtering by multicast address.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM=hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM?hjEubj)}(hj``FIF_FCSFAIL`` pass frames with failed FCS (but you need to set the ``RX_FLAG_FAILED_FCS_CRC`` for them) h](j)}(h``FIF_FCSFAIL``h]j)}(hjh]h FIF_FCSFAIL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMChjubj)}(hhh]h)}(hYpass frames with failed FCS (but you need to set the ``RX_FLAG_FAILED_FCS_CRC`` for them)h](h5pass frames with failed FCS (but you need to set the }(hjhhhNhNubj)}(h``RX_FLAG_FAILED_FCS_CRC``h]hRX_FLAG_FAILED_FCS_CRC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for them)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjEubj)}(hp``FIF_PLCPFAIL`` pass frames with failed PLCP CRC (but you need to set the ``RX_FLAG_FAILED_PLCP_CRC`` for them h](j)}(h``FIF_PLCPFAIL``h]j)}(hjԹh]h FIF_PLCPFAIL}(hjֹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҹubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMGhjιubj)}(hhh]h)}(h^pass frames with failed PLCP CRC (but you need to set the ``RX_FLAG_FAILED_PLCP_CRC`` for themh](h:pass frames with failed PLCP CRC (but you need to set the }(hjhhhNhNubj)}(h``RX_FLAG_FAILED_PLCP_CRC``h]hRX_FLAG_FAILED_PLCP_CRC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for them}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMFhjubah}(h]h ]h"]h$]h&]uh1jhjιubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjEubj)}(hX3``FIF_BCN_PRBRESP_PROMISC`` This flag is set during scanning to indicate to the hardware that it should not filter beacons or probe responses by BSSID. Filtering them can greatly reduce the amount of processing mac80211 needs to do and the amount of CPU wakeups, so you should honour this flag if possible. h](j)}(h``FIF_BCN_PRBRESP_PROMISC``h]j)}(hj h]hFIF_BCN_PRBRESP_PROMISC}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMNhjubj)}(hhh]h)}(hXThis flag is set during scanning to indicate to the hardware that it should not filter beacons or probe responses by BSSID. Filtering them can greatly reduce the amount of processing mac80211 needs to do and the amount of CPU wakeups, so you should honour this flag if possible.h]hXThis flag is set during scanning to indicate to the hardware that it should not filter beacons or probe responses by BSSID. Filtering them can greatly reduce the amount of processing mac80211 needs to do and the amount of CPU wakeups, so you should honour this flag if possible.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMJhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMNhjEubj)}(hS``FIF_CONTROL`` pass control frames (except for PS Poll) addressed to this station h](j)}(h``FIF_CONTROL``h]j)}(hjZh]h FIF_CONTROL}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMRhjTubj)}(hhh]h)}(hBpass control frames (except for PS Poll) addressed to this stationh]hBpass control frames (except for PS Poll) addressed to this station}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMQhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMRhjEubj)}(h6``FIF_OTHER_BSS`` pass frames destined to other BSSes h](j)}(h``FIF_OTHER_BSS``h]j)}(hjh]h FIF_OTHER_BSS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMUhjubj)}(hhh]h)}(h#pass frames destined to other BSSesh]h#pass frames destined to other BSSes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjEubj)}(h#``FIF_PSPOLL`` pass PS Poll frames h](j)}(h``FIF_PSPOLL``h]j)}(hjͺh]h FIF_PSPOLL}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˺ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMXhjǺubj)}(hhh]h)}(hpass PS Poll framesh]hpass PS Poll frames}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjǺubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjEubj)}(h,``FIF_PROBE_REQ`` pass probe request frames h](j)}(h``FIF_PROBE_REQ``h]j)}(hjh]h FIF_PROBE_REQ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM[hjubj)}(hhh]h)}(hpass probe request framesh]hpass probe request frames}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjEubj)}(h1``FIF_MCAST_ACTION`` pass multicast Action framesh](j)}(h``FIF_MCAST_ACTION``h]j)}(hj?h]hFIF_MCAST_ACTION}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM]hj9ubj)}(hhh]h)}(hpass multicast Action framesh]hpass multicast Action frames}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM^hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM]hjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhjhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhMahjhhubh)}(hThese flags determine what the filter in hardware should be programmed to let through and what should not be passed to the stack. It is always safe to pass more frames than requested, but this has negative impact on power consumption.h]hThese flags determine what the filter in hardware should be programmed to let through and what should not be passed to the stack. It is always safe to pass more frames than requested, but this has negative impact on power consumption.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:143: ./include/net/mac80211.hhM7hjhhubeh}(h]frame-filteringah ]h"]frame filteringah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe mac80211 workqueueh]hThe mac80211 workqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hX"mac80211 provides its own workqueue for drivers and internal mac80211 use. The workqueue is a single threaded workqueue and can only be accessed by helpers for sanity checking. Drivers must ensure all work added onto the mac80211 workqueue should be cancelled on the driver stop() callback.h]hX"mac80211 provides its own workqueue for drivers and internal mac80211 use. The workqueue is a single threaded workqueue and can only be accessed by helpers for sanity checking. Drivers must ensure all work added onto the mac80211 workqueue should be cancelled on the driver stop() callback.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:149: ./include/net/mac80211.hhKKhjhhubh)}(hLmac80211 will flush the workqueue upon interface removal and during suspend.h]hLmac80211 will flush the workqueue upon interface removal and during suspend.}(hjϻhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:149: ./include/net/mac80211.hhKPhjhhubh)}(hLAll work performed on the mac80211 workqueue must not acquire the RTNL lock.h]hLAll work performed on the mac80211 workqueue must not acquire the RTNL lock.}(hj޻hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:149: ./include/net/mac80211.hhKShjhhubj-)}(hhh]h}(h]h ]h"]h$]h&]entries](j9!ieee80211_queue_work (C function)c.ieee80211_queue_workhNtauh1j,hjhhhNhNubj>)}(hhh](jC)}(hMvoid ieee80211_queue_work (struct ieee80211_hw *hw, struct work_struct *work)h]jI)}(hLvoid ieee80211_queue_work(struct ieee80211_hw *hw, struct work_struct *work)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjhhhjhMubjr)}(hieee80211_queue_workh]jx)}(hieee80211_queue_workh]hieee80211_queue_work}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj#ubah}(h]h ](jjeh"]h$]h&]jjuh1jqhjhhhjhMubj )}(h3(struct ieee80211_hw *hw, struct work_struct *work)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjChhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj?ubja)}(h h]h }(hjPhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj?ubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj^ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjcmodnameN classnameNjCjF)}jI]jQ)}jIj)sbc.ieee80211_queue_workasbuh1hhj?ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj?ubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj?ubjx)}(hhwh]hhw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubj)}(hstruct work_struct *workh](jO)}(hjVh]hstruct}(hjhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjubja)}(h h]h }(hj¼hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubh)}(hhh]jx)}(h work_structh]h work_struct}(hjӼhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjмubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjռmodnameN classnameNjCjF)}jI]j}c.ieee80211_queue_workasbuh1hhjubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjubjx)}(hworkh]hwork}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubeh}(h]h ]h"]h$]h&]jjuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jBhjhMhjhhubj)}(hhh]h)}(h$add work onto the mac80211 workqueueh]h$add work onto the mac80211 workqueue}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1j=hhhjhNhNubj)}(hXb**Parameters** ``struct ieee80211_hw *hw`` the hardware struct for the interface we are adding work for ``struct work_struct *work`` the work we want to add onto the mac80211 workqueue **Description** Drivers and mac80211 use this to add work onto the mac80211 workqueue. This helper ensures drivers are not queueing work when they should not be.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhjRubj)}(hhh](j)}(hY``struct ieee80211_hw *hw`` the hardware struct for the interface we are adding work for h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjwh]hstruct ieee80211_hw *hw}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhjqubj)}(hhh]h)}(h)}(hhh](jC)}(hlvoid ieee80211_queue_delayed_work (struct ieee80211_hw *hw, struct delayed_work *dwork, unsigned long delay)h]jI)}(hkvoid ieee80211_queue_delayed_work(struct ieee80211_hw *hw, struct delayed_work *dwork, unsigned long delay)h](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMubja)}(h h]h }(hj?hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj,hhhj>hMubjr)}(hieee80211_queue_delayed_workh]jx)}(hieee80211_queue_delayed_workh]hieee80211_queue_delayed_work}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjMubah}(h]h ](jjeh"]h$]h&]jjuh1jqhj,hhhj>hMubj )}(hJ(struct ieee80211_hw *hw, struct delayed_work *dwork, unsigned long delay)h](j)}(hstruct ieee80211_hw *hwh](jO)}(hjVh]hstruct}(hjmhhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhjiubja)}(h h]h }(hjzhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjiubh)}(hhh]jx)}(h ieee80211_hwh]h ieee80211_hw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jQ)}jIjSsbc.ieee80211_queue_delayed_workasbuh1hhjiubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjiubje)}(hjhh]h*}(hjhhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhjiubjx)}(hhwh]hhw}(hjƾhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubj)}(hstruct delayed_work *dworkh](jO)}(hjVh]hstruct}(hj߾hhhNhNubah}(h]h ]j[ah"]h$]h&]uh1jNhj۾ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj۾ubh)}(hhh]jx)}(h delayed_workh]h delayed_work}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjCjF)}jI]jc.ieee80211_queue_delayed_workasbuh1hhj۾ubja)}(h h]h }(hjhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hj۾ubje)}(hjhh]h*}(hj)hhhNhNubah}(h]h ]jqah"]h$]h&]uh1jdhj۾ubjx)}(hdworkh]hdwork}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhj۾ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubj)}(hunsigned long delayh](j)}(hunsignedh]hunsigned}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubja)}(h h]h }(hj]hhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjKubj)}(hlongh]hlong}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubja)}(h h]h }(hjyhhhNhNubah}(h]h ]jmah"]h$]h&]uh1j`hjKubjx)}(hdelayh]hdelay}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jwhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubeh}(h]h ]h"]h$]h&]jjuh1j hj,hhhj>hMubeh}(h]h ]h"]h$]h&]jjjuh1jHjjhj(hhhj>hMubah}(h]j#ah ](jjeh"]h$]h&]jj)jhuh1jBhj>hMhj%hhubj)}(hhh]h)}(h$add work onto the mac80211 workqueueh]h$add work onto the mac80211 workqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhj%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɿjjɿjjjuh1j=hhhjhNhNubj)}(hXh**Parameters** ``struct ieee80211_hw *hw`` the hardware struct for the interface we are adding work for ``struct delayed_work *dwork`` delayable work to queue onto the mac80211 workqueue ``unsigned long delay`` number of jiffies to wait before queueing **Description** Drivers and mac80211 use this to queue delayed work onto the mac80211 workqueue.h](h)}(h**Parameters**h]j)}(hjӿh]h Parameters}(hjտhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѿubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhjͿubj)}(hhh](j)}(hY``struct ieee80211_hw *hw`` the hardware struct for the interface we are adding work for h](j)}(h``struct ieee80211_hw *hw``h]j)}(hjh]hstruct ieee80211_hw *hw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/80211/mac80211:152: ./include/net/mac80211.hhMhjubj)}(hhh]h)}(h