id
stringlengths
4
63
text
stringlengths
153
8.81M
idpf_xdp_tx_finalize(9)
NAME idpf_xdp_tx_finalize - finalize sending over XDPSQ SYNOPSIS void idpf_xdp_tx_finalize (void *_xdpsq , bool sent , bool flush ); ARGUMENTS _xdpsq XDP Tx queue sent whether any frames were sent flush whether to update RS bit and the tail register DESCRIPTION Set the RS bit ("end ...
idpf_xdp_tx_xmit(9)
NAME idpf_xdp_tx_xmit - produce a single HW Tx descriptor out of XDP desc SYNOPSIS void idpf_xdp_tx_xmit (struct libeth_xdp_tx_desc desc , u32 i , const struct libeth_xdpsq *sq , u64 priv ); ARGUMENTS desc XDP descriptor to pull the DMA address and length from i descriptor index on the queue ...
idr_alloc(9)
NAME idr_alloc - Allocate an ID. SYNOPSIS int idr_alloc (struct idr *idr , void *ptr , int start , int end , gfp_t gfp ); ARGUMENTS idr IDR handle. ptr Pointer to be associated with the new ID. start The minimum ID (inclusive). end The maximum ID (exclusive). ...
idr_alloc_cyclic(9)
NAME idr_alloc_cyclic - Allocate an ID cyclically. SYNOPSIS int idr_alloc_cyclic (struct idr *idr , void *ptr , int start , int end , gfp_t gfp ); ARGUMENTS idr IDR handle. ptr Pointer to be associated with the new ID. start The minimum ID (inclusive). end The max...
idr_alloc_u32(9)
NAME idr_alloc_u32 - Allocate an ID. SYNOPSIS int idr_alloc_u32 (struct idr *idr , void *ptr , u32 *nextid , unsigned long max , gfp_t gfp ); ARGUMENTS idr IDR handle. ptr Pointer to be associated with the new ID. nextid Pointer to an ID. max The maximum ID to allo...
idr_destroy(9)
NAME idr_destroy - release all internal memory from an IDR SYNOPSIS void idr_destroy (struct idr *idr ); ARGUMENTS idr idr handle DESCRIPTION After this function is called, the IDR is empty, and may be reused or the data structure containing it may be freed. A typical clean-up sequence for objects store...
idr_find(9)
NAME idr_find - Return pointer for given ID. SYNOPSIS void * idr_find (const struct idr *idr , unsigned long id ); ARGUMENTS idr IDR handle. id Pointer ID. DESCRIPTION Looks up the pointer associated with this ID. A NULL pointer may indicate that id is not allocated or that the NULL poin...
idr_for_each(9)
NAME idr_for_each - Iterate through all stored pointers. SYNOPSIS int idr_for_each (const struct idr *idr , int (*fn)(int id, void *p, void *data) , void *data ); ARGUMENTS idr IDR handle. fn Function to be called for each pointer. data Data passed to callback function. DESCRI...
idr_for_each_entry(9)
NAME idr_for_each_entry - Iterate over an IDR's elements of a given type. SYNOPSIS idr_for_each_entry (idr , entry , id ); ARGUMENTS idr IDR handle. entry The type * to use as cursor id Entry ID. DESCRIPTION entry and id do not need to be initialized before the loop, and after ...
idr_for_each_entry_continue(9)
NAME idr_for_each_entry_continue - Continue iteration over an IDR's elements of a given type SYNOPSIS idr_for_each_entry_continue (idr , entry , id ); ARGUMENTS idr IDR handle. entry The type * to use as a cursor. id Entry ID. DESCRIPTION Continue to iterate over entries, conti...
idr_for_each_entry_continue_ul(9)
NAME idr_for_each_entry_continue_ul - Continue iteration over an IDR's elements of a given type SYNOPSIS idr_for_each_entry_continue_ul (idr , entry , tmp , id ); ARGUMENTS idr IDR handle. entry The type * to use as a cursor. tmp A temporary placeholder for ID. id ...
idr_for_each_entry_ul(9)
NAME idr_for_each_entry_ul - Iterate over an IDR's elements of a given type. SYNOPSIS idr_for_each_entry_ul (idr , entry , tmp , id ); ARGUMENTS idr IDR handle. entry The type * to use as cursor. tmp A temporary placeholder for ID. id Entry ID. DESCRIPTION entry...
idr_get_cursor(9)
NAME idr_get_cursor - Return the current position of the cyclic allocator SYNOPSIS unsigned int idr_get_cursor (const struct idr *idr ); ARGUMENTS idr idr handle DESCRIPTION The value returned is the value that will be next returned from idr_alloc_cyclic if it is free (otherwise the search will start from th...
idr_get_next(9)
NAME idr_get_next - Find next populated entry. SYNOPSIS void * idr_get_next (struct idr *idr , int *nextid ); ARGUMENTS idr IDR handle. nextid Pointer to an ID. DESCRIPTION Returns the next populated entry in the tree with an ID greater than or equal to the value pointed to by nextid. On exit,...
idr_get_next_ul(9)
NAME idr_get_next_ul - Find next populated entry. SYNOPSIS void * idr_get_next_ul (struct idr *idr , unsigned long *nextid ); ARGUMENTS idr IDR handle. nextid Pointer to an ID. DESCRIPTION Returns the next populated entry in the tree with an ID greater than or equal to the value pointed to by n...
idr_init(9)
NAME idr_init - Initialise an IDR. SYNOPSIS void idr_init (struct idr *idr ); ARGUMENTS idr IDR handle. DESCRIPTION Initialise a dynamically allocated IDR. To initialise a statically allocated IDR, use DEFINE_IDR. SEE ALSO Kernel file ./include/linux/idr.h IDR_INIT(9), DEFINE_IDR(9), idr_get_cursor(9), ...
idr_init_base(9)
NAME idr_init_base - Initialise an IDR. SYNOPSIS void idr_init_base (struct idr *idr , int base ); ARGUMENTS idr IDR handle. base The base value for the IDR. DESCRIPTION This variation of idr_init creates an IDR which will allocate IDs starting at base. SEE ALSO Kernel file ./include/linux/...
idr_is_empty(9)
NAME idr_is_empty - Are there any IDs allocated? SYNOPSIS bool idr_is_empty (const struct idr *idr ); ARGUMENTS idr IDR handle. RETURN true if any IDs have been allocated from this IDR. SEE ALSO Kernel file ./include/linux/idr.h IDR_INIT(9), DEFINE_IDR(9), idr_get_cursor(9), idr_set_cursor(9), Kernel...
idr_preload(9)
NAME idr_preload - preload for idr_alloc() SYNOPSIS void idr_preload (gfp_t gfp_mask ); ARGUMENTS gfp_mask allocation mask to use for preloading DESCRIPTION Preallocate memory to use for the next call to idr_alloc. This function returns with preemption disabled. It will be enabled by idr_preload_end. SEE ALSO ...
idr_preload_end(9)
NAME idr_preload_end - end preload section started with idr_preload() SYNOPSIS void idr_preload_end (void ); ARGUMENTS void no arguments DESCRIPTION Each idr_preload should be matched with an invocation of this function. See idr_preload for details. SEE ALSO Kernel file ./include/linux/idr.h IDR_INIT(9),...
idr_remove(9)
NAME idr_remove - Remove an ID from the IDR. SYNOPSIS void * idr_remove (struct idr *idr , unsigned long id ); ARGUMENTS idr IDR handle. id Pointer ID. DESCRIPTION Removes this ID from the IDR. If the ID was not previously in the IDR, this function returns NULL. Since this function modifie...
idr_replace(9)
NAME idr_replace - replace pointer for given ID. SYNOPSIS void * idr_replace (struct idr *idr , void *ptr , unsigned long id ); ARGUMENTS idr IDR handle. ptr New pointer to associate with the ID. id ID to change. DESCRIPTION Replace the pointer registered with an ID and retur...
idr_set_cursor(9)
NAME idr_set_cursor - Set the current position of the cyclic allocator SYNOPSIS void idr_set_cursor (struct idr *idr , unsigned int val ); ARGUMENTS idr idr handle val new position DESCRIPTION The next call to idr_alloc_cyclic will return val if it is free (otherwise the search will start fro...
idt_invalidate(9)
NAME idt_invalidate - Invalidate interrupt descriptor table SYNOPSIS void idt_invalidate (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/kernel/idt.c idt_setup_early_traps(9), idt_setup_traps(9), idt_setup_early_pf(9), idt_setup_apic_and_irq_gates(9), idt_setup_early_handler(9) April 202...
idt_setup_apic_and_irq_gates(9)
NAME idt_setup_apic_and_irq_gates - Setup APIC/SMP and normal interrupt gates SYNOPSIS void idt_setup_apic_and_irq_gates (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/kernel/idt.c idt_setup_early_traps(9), idt_setup_traps(9), idt_setup_early_pf(9), idt_setup_early_handler(9), idt_invali...
idt_setup_early_handler(9)
NAME idt_setup_early_handler - Initializes the idt table with early handlers SYNOPSIS void idt_setup_early_handler (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/kernel/idt.c idt_setup_early_traps(9), idt_setup_traps(9), idt_setup_early_pf(9), idt_setup_apic_and_irq_gates(9), idt_invalid...
idt_setup_early_pf(9)
NAME idt_setup_early_pf - Initialize the idt table with early pagefault handler SYNOPSIS void idt_setup_early_pf (void ); ARGUMENTS void no arguments DESCRIPTION On X8664 this does not use interrupt stacks as they can't work before cpu_init is invoked and sets up TSS. The IST variant is installed after that....
idt_setup_early_traps(9)
NAME idt_setup_early_traps - Initialize the idt table with early traps SYNOPSIS void idt_setup_early_traps (void ); ARGUMENTS void no arguments DESCRIPTION On X8664 these traps do not use interrupt stacks as they can't work before cpu_init is invoked and sets up TSS. The IST variants are installed after that....
idt_setup_traps(9)
NAME idt_setup_traps - Initialize the idt table with default traps SYNOPSIS void idt_setup_traps (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/kernel/idt.c idt_setup_early_traps(9), idt_setup_early_pf(9), idt_setup_apic_and_irq_gates(9), idt_setup_early_handler(9), idt_invalidate(9) Ap...
idte_crste(9)
NAME idte_crste - invalidate a crste entry using idte SYNOPSIS void idte_crste (union crste *crstep , gfn_t gfn , unsigned long opt , union asce asce , int local ); ARGUMENTS crstep pointer to the crste to be invalidated gfn a gfn mapped by the crste opt options for the idte instr...
idx2vol_id(9)
NAME idx2vol_id - get volume ID by table index. SYNOPSIS int idx2vol_id (const struct ubi_device *ubi , int idx ); ARGUMENTS ubi UBI device description object idx table index SEE ALSO Kernel file ./drivers/mtd/ubi/ubi.h struct ubi_vid_io_buf(9), struct ubi_wl_entry(9), struct ubi_ltree_entry(...
idxd_copy_cr(9)
NAME idxd_copy_cr - copy completion record to user address space found by wq and PASID SYNOPSIS int idxd_copy_cr (struct idxd_wq *wq , ioasid_t pasid , unsigned long addr , void *cr , int len ); ARGUMENTS wq work queue pasid PASID addr user fault address to write cr ...
ieee80211_action_contains_tpc(9)
NAME ieee80211_action_contains_tpc - checks if the frame contains TPC element SYNOPSIS bool ieee80211_action_contains_tpc (struct sk_buff *skb ); ARGUMENTS skb the skb containing the frame, length will be checked RETURN true if the frame contains a TPC element, false otherwise DESCRIPTION This function chec...
ieee80211_alloc_hw(9)
NAME ieee80211_alloc_hw - Allocate a new hardware device SYNOPSIS struct ieee80211_hw * ieee80211_alloc_hw (size_t priv_data_len , const struct ieee80211_ops *ops ); ARGUMENTS priv_data_len length of private data ops callbacks for this device DESCRIPTION This must be called once for each hardwa...
ieee80211_alloc_hw_nm(9)
NAME ieee80211_alloc_hw_nm - Allocate a new hardware device SYNOPSIS struct ieee80211_hw * ieee80211_alloc_hw_nm (size_t priv_data_len , const struct ieee80211_ops *ops , const char *requested_name ); ARGUMENTS priv_data_len length of private data ops callbacks for this device requested_name ...
ieee80211_amsdu_to_8023s(9)
NAME ieee80211_amsdu_to_8023s - decode an IEEE 802.11n A-MSDU frame SYNOPSIS void ieee80211_amsdu_to_8023s (struct sk_buff *skb , struct sk_buff_head *list , const u8 *addr , enum nl80211_iftype iftype , const unsigned int extra_headroom , const u8 *check_da , const u8 *check_sa , u8 mesh_control ); ARGUMENTS skb ...
ieee80211_ap_probereq_get(9)
NAME ieee80211_ap_probereq_get - retrieve a Probe Request template SYNOPSIS struct sk_buff * ieee80211_ap_probereq_get (struct ieee80211_hw *hw , struct ieee80211_vif *vif ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. vif struct ieee80211_vif pointer from the add_interface callbac...
ieee80211_ave_rssi(9)
NAME ieee80211_ave_rssi - report the average RSSI for the specified interface SYNOPSIS int ieee80211_ave_rssi (struct ieee80211_vif *vif , int link_id ); ARGUMENTS vif the specified virtual interface link_id the link ID for MLO, or -1 for non-MLO NOTE This function assumes that the given vif is v...
ieee80211_beacon_cntdwn_is_complete(9)
NAME ieee80211_beacon_cntdwn_is_complete - find out if countdown reached 1 SYNOPSIS bool ieee80211_beacon_cntdwn_is_complete (struct ieee80211_vif *vif , unsigned int link_id ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. link_id valid link_id during MLO or 0 for no...
ieee80211_beacon_free_ema_list(9)
NAME ieee80211_beacon_free_ema_list - free an EMA beacon template list SYNOPSIS void ieee80211_beacon_free_ema_list (struct ieee80211_ema_beacons *ema_beacons ); ARGUMENTS ema_beacons list of EMA beacons of type struct ieee80211_ema_beacons pointers. DESCRIPTION This function will free a list previously acquired by ...
ieee80211_beacon_get(9)
NAME ieee80211_beacon_get - beacon generation function SYNOPSIS struct sk_buff * ieee80211_beacon_get (struct ieee80211_hw *hw , struct ieee80211_vif *vif , unsigned int link_id ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. vif struct ieee80211_vif pointer from the add_interface c...
ieee80211_beacon_get_template(9)
NAME ieee80211_beacon_get_template - beacon template generation function SYNOPSIS struct sk_buff * ieee80211_beacon_get_template (struct ieee80211_hw *hw , struct ieee80211_vif *vif , struct ieee80211_mutable_offsets *offs , unsigned int link_id ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. ...
ieee80211_beacon_get_template_ema_index(9)
NAME ieee80211_beacon_get_template_ema_index - EMA beacon template generation SYNOPSIS struct sk_buff * ieee80211_beacon_get_template_ema_index (struct ieee80211_hw *hw , struct ieee80211_vif *vif , struct ieee80211_mutable_offsets *offs , unsigned int link_id , u8 ema_index ); ARGUMENTS hw pointer obtained ...
ieee80211_beacon_get_template_ema_list(9)
NAME ieee80211_beacon_get_template_ema_list - EMA beacon template generation SYNOPSIS struct ieee80211_ema_beacons * ieee80211_beacon_get_template_ema_list (struct ieee80211_hw *hw , struct ieee80211_vif *vif , unsigned int link_id ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. vif ...
ieee80211_beacon_get_tim(9)
NAME ieee80211_beacon_get_tim - beacon generation function SYNOPSIS struct sk_buff * ieee80211_beacon_get_tim (struct ieee80211_hw *hw , struct ieee80211_vif *vif , u16 *tim_offset , u16 *tim_length , unsigned int link_id ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. vif struct ie...
ieee80211_beacon_loss(9)
NAME ieee80211_beacon_loss - inform hardware does not receive beacons SYNOPSIS void ieee80211_beacon_loss (struct ieee80211_vif *vif ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. DESCRIPTION When beacon filtering is enabled with IEEE80211_VIF_BEACON_FILTER and IEEE80211_CONF_...
ieee80211_beacon_set_cntdwn(9)
NAME ieee80211_beacon_set_cntdwn - request mac80211 to set beacon countdown SYNOPSIS void ieee80211_beacon_set_cntdwn (struct ieee80211_vif *vif , u8 counter ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. counter the new value for the counter DESCRIPTION The beaco...
ieee80211_beacon_update_cntdwn(9)
NAME ieee80211_beacon_update_cntdwn - request mac80211 to decrement the beacon countdown SYNOPSIS u8 ieee80211_beacon_update_cntdwn (struct ieee80211_vif *vif , unsigned int link_id ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. link_id valid link_id during MLO or 0...
ieee80211_bss_get_elem(9)
NAME ieee80211_bss_get_elem - find element with given ID SYNOPSIS const struct element * ieee80211_bss_get_elem (struct cfg80211_bss *bss , u8 id ); ARGUMENTS bss the bss to search id the element ID DESCRIPTION Note that the return value is an RCU-protected pointer, so rcu_read_lock must be ...
ieee80211_bss_get_ie(9)
NAME ieee80211_bss_get_ie - find IE with given ID SYNOPSIS const u8 * ieee80211_bss_get_ie (struct cfg80211_bss *bss , u8 id ); ARGUMENTS bss the bss to search id the element ID DESCRIPTION Note that the return value is an RCU-protected pointer, so rcu_read_lock must be held when calling thi...
ieee80211_build_hdr(9)
NAME ieee80211_build_hdr - build 802.11 header in the given frame SYNOPSIS struct sk_buff * ieee80211_build_hdr (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb , u32 info_flags , struct sta_info *sta , u32 ctrl_flags , u64 *cookie ); ARGUMENTS sdata virtual interface to build the header for s...
ieee80211_calc_rx_airtime(9)
NAME ieee80211_calc_rx_airtime - calculate estimated transmission airtime for RX. SYNOPSIS u32 ieee80211_calc_rx_airtime (struct ieee80211_hw *hw , struct ieee80211_rx_status *status , int len ); ARGUMENTS hw pointer as obtained from ieee80211_alloc_hw status struct ieee80211_rx_status containin...
ieee80211_calc_tx_airtime(9)
NAME ieee80211_calc_tx_airtime - calculate estimated transmission airtime for TX. SYNOPSIS u32 ieee80211_calc_tx_airtime (struct ieee80211_hw *hw , struct ieee80211_tx_info *info , int len ); ARGUMENTS hw pointer as obtained from ieee80211_alloc_hw info struct ieee80211_tx_info of the frame. ...
ieee80211_calculate_rx_timestamp(9)
NAME ieee80211_calculate_rx_timestamp - calculate timestamp in frame SYNOPSIS u64 ieee80211_calculate_rx_timestamp (struct ieee80211_local *local , struct ieee80211_rx_status *status , unsigned int mpdu_len , unsigned int mpdu_offset ); ARGUMENTS local mac80211 hw info struct status RX status ...
ieee80211_chan_width_to_rx_bw(9)
NAME ieee80211_chan_width_to_rx_bw - convert channel width to STA RX bandwidth SYNOPSIS enum ieee80211_sta_rx_bandwidth ieee80211_chan_width_to_rx_bw (enum nl80211_chan_width width ); ARGUMENTS width the channel width value to convert RETURN the STA RX bandwidth value for the channel width SEE ALSO Kernel fi...
ieee80211_chandef_max_power(9)
NAME ieee80211_chandef_max_power - maximum transmission power for the chandef SYNOPSIS int ieee80211_chandef_max_power (struct cfg80211_chan_def *chandef ); ARGUMENTS chandef channel definition for the channel DESCRIPTION In some regulations, the transmit power may depend on the configured channel bandwidth whic...
ieee80211_chandef_to_khz(9)
NAME ieee80211_chandef_to_khz - convert chandef to frequency in KHz SYNOPSIS u32 ieee80211_chandef_to_khz (const struct cfg80211_chan_def *chandef ); ARGUMENTS chandef the chandef to convert RETURN the center frequency of chandef (1st segment) in KHz. SEE ALSO Kernel file ./include/net/cfg80211.h Kernel API(9)...
ieee80211_chandef_to_operating_class(9)
NAME ieee80211_chandef_to_operating_class - convert chandef to operation class SYNOPSIS bool ieee80211_chandef_to_operating_class (struct cfg80211_chan_def *chandef , u8 *op_class ); ARGUMENTS chandef the chandef to convert op_class a pointer to the resulting operating class RETURN true if the convers...
ieee80211_channel_equal(9)
NAME ieee80211_channel_equal - compare two struct ieee80211_channel SYNOPSIS bool ieee80211_channel_equal (struct ieee80211_channel *a , struct ieee80211_channel *b ); ARGUMENTS a 1st struct ieee80211_channel b 2nd struct ieee80211_channel RETURN true if center frequency of a == b SEE AL...
ieee80211_channel_switch_disconnect(9)
NAME ieee80211_channel_switch_disconnect - disconnect due to channel switch error SYNOPSIS void ieee80211_channel_switch_disconnect (struct ieee80211_vif *vif ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. DESCRIPTION Instruct mac80211 to disconnect due to a channel switch err...
ieee80211_channel_to_freq_khz(9)
NAME ieee80211_channel_to_freq_khz - convert channel number to frequency SYNOPSIS u32 ieee80211_channel_to_freq_khz (int chan , enum nl80211_band band ); ARGUMENTS chan channel number band band, necessary due to channel number overlap RETURN The corresponding frequency (in KHz), or 0 if the con...
ieee80211_channel_to_frequency(9)
NAME ieee80211_channel_to_frequency - convert channel number to frequency SYNOPSIS int ieee80211_channel_to_frequency (int chan , enum nl80211_band band ); ARGUMENTS chan channel number band band, necessary due to channel number overlap RETURN The corresponding frequency (in MHz), or 0 if the c...
ieee80211_channel_to_khz(9)
NAME ieee80211_channel_to_khz - convert ieee80211_channel to frequency in KHz SYNOPSIS u32 ieee80211_channel_to_khz (const struct ieee80211_channel *chan ); ARGUMENTS chan struct ieee80211_channel to convert RETURN The corresponding frequency (in KHz) SEE ALSO Kernel file ./include/net/cfg80211.h Kernel API...
ieee80211_check_tim(9)
NAME ieee80211_check_tim - check if AID bit is set in TIM SYNOPSIS bool ieee80211_check_tim (const struct ieee80211_tim_ie *tim , u8 tim_len , u16 aid , bool s1g ); ARGUMENTS tim the TIM IE tim_len length of the TIM IE aid the AID to look for s1g whether the TIM is ...
ieee80211_chswitch_done(9)
NAME ieee80211_chswitch_done - Complete channel switch process SYNOPSIS void ieee80211_chswitch_done (struct ieee80211_vif *vif , bool success , unsigned int link_id ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. success make the channel switch successful or not ...
ieee80211_color_change_finish(9)
NAME ieee80211_color_change_finish - notify mac80211 about color change SYNOPSIS void ieee80211_color_change_finish (struct ieee80211_vif *vif , u8 link_id ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. link_id valid link_id during MLO or 0 for non-MLO DESCRIPTION ...
ieee80211_connection_loss(9)
NAME ieee80211_connection_loss - inform hardware has lost connection to the AP SYNOPSIS void ieee80211_connection_loss (struct ieee80211_vif *vif ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. DESCRIPTION When beacon filtering is enabled with IEEE80211_VIF_BEACON_FILTER, and I...
ieee80211_cqm_beacon_loss_notify(9)
NAME ieee80211_cqm_beacon_loss_notify - inform CQM of beacon loss SYNOPSIS void ieee80211_cqm_beacon_loss_notify (struct ieee80211_vif *vif , gfp_t gfp ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. gfp context flags SEE ALSO Kernel file ./include/net/mac8021...
ieee80211_cqm_rssi_notify(9)
NAME ieee80211_cqm_rssi_notify - inform a configured connection quality monitoring rssi threshold triggered SYNOPSIS void ieee80211_cqm_rssi_notify (struct ieee80211_vif *vif , enum nl80211_cqm_rssi_threshold_event rssi_event , s32 rssi_level , gfp_t gfp ); ARGUMENTS vif struct ieee80211_vif pointer from the ...
ieee80211_create_tpt_led_trigger(9)
NAME ieee80211_create_tpt_led_trigger - create throughput LED trigger SYNOPSIS const char * ieee80211_create_tpt_led_trigger (struct ieee80211_hw *hw , unsigned int flags , const struct ieee80211_tpt_blink *blink_table , unsigned int blink_table_len ); ARGUMENTS hw the hardware to create the trigger for ...
ieee80211_csa_finish(9)
NAME ieee80211_csa_finish - notify mac80211 about channel switch SYNOPSIS void ieee80211_csa_finish (struct ieee80211_vif *vif , unsigned int link_id ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. link_id valid link_id during MLO or 0 for non-MLO DESCRIPTION After ...
ieee80211_ctstoself_duration(9)
NAME ieee80211_ctstoself_duration - Get the duration field for a CTS-to-self frame SYNOPSIS __le16 ieee80211_ctstoself_duration (struct ieee80211_hw *hw , struct ieee80211_vif *vif , size_t frame_len , const struct ieee80211_tx_info *frame_txctl ); ARGUMENTS hw pointer obtained from ieee80211_alloc_hw. ...
ieee80211_ctstoself_get(9)
NAME ieee80211_ctstoself_get - CTS-to-self frame generation function SYNOPSIS void 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 ); ARGUMENTS hw pointer obtained fro...
ieee80211_data_to_8023(9)
NAME ieee80211_data_to_8023 - convert an 802.11 data frame to 802.3 SYNOPSIS int ieee80211_data_to_8023 (struct sk_buff *skb , const u8 *addr , enum nl80211_iftype iftype ); ARGUMENTS skb the 802.11 data frame addr the device MAC address iftype the virtual interface type RETURN 0 ...
ieee80211_data_to_8023_exthdr(9)
NAME ieee80211_data_to_8023_exthdr - convert an 802.11 data frame to 802.3 SYNOPSIS int ieee80211_data_to_8023_exthdr (struct sk_buff *skb , struct ethhdr *ehdr , const u8 *addr , enum nl80211_iftype iftype , u8 data_offset , bool is_amsdu ); ARGUMENTS skb the 802.11 data frame ehdr pointer to ...
ieee80211_disconnect(9)
NAME ieee80211_disconnect - request disconnection SYNOPSIS void ieee80211_disconnect (struct ieee80211_vif *vif , bool reconnect ); ARGUMENTS vif struct ieee80211_vif pointer from the add_interface callback. reconnect immediate reconnect is desired DESCRIPTION Request disconnection from the current...
ieee80211_eml_trans_timeout_in_us(9)
NAME ieee80211_eml_trans_timeout_in_us - Fetch the EMLSR Transition timeout value in microseconds SYNOPSIS u32 ieee80211_eml_trans_timeout_in_us (u16 eml_cap ); ARGUMENTS eml_cap EML capabilities field value from common info field of the Multi-link element RETURN the EMLSR Transition timeout (in microseconds) en...
ieee80211_emlsr_pad_delay_in_us(9)
NAME ieee80211_emlsr_pad_delay_in_us - Fetch the EMLSR Padding delay in microseconds SYNOPSIS u32 ieee80211_emlsr_pad_delay_in_us (u16 eml_cap ); ARGUMENTS eml_cap EML capabilities field value from common info field of the Multi-link element RETURN the EMLSR Padding delay (in microseconds) encoded in the EML Cap...
ieee80211_emlsr_trans_delay_in_us(9)
NAME ieee80211_emlsr_trans_delay_in_us - Fetch the EMLSR Transition delay in microseconds SYNOPSIS u32 ieee80211_emlsr_trans_delay_in_us (u16 eml_cap ); ARGUMENTS eml_cap EML capabilities field value from common info field of the Multi-link element RETURN the EMLSR Transition delay (in microseconds) encoded in t...
ieee80211_fill_mesh_addresses(9)
NAME ieee80211_fill_mesh_addresses - fill addresses of a locally originated mesh frame SYNOPSIS int ieee80211_fill_mesh_addresses (struct ieee80211_hdr *hdr , __le16 *fc , const u8 *meshda , const u8 *meshsa ); ARGUMENTS hdr 802.11 frame header fc frame control field meshda desti...
ieee80211_finalize_rx_omi_bw(9)
NAME ieee80211_finalize_rx_omi_bw - finalize BW RX OMI update SYNOPSIS void ieee80211_finalize_rx_omi_bw (struct ieee80211_link_sta *link_sta ); ARGUMENTS link_sta the link STA the OMI was sent to DESCRIPTION See ieee80211_client_prepare_rx_omi_bw. Context is the same here as well. SEE ALSO Kernel file ./inclu...
ieee80211_find_sta(9)
NAME ieee80211_find_sta - find a station SYNOPSIS struct ieee80211_sta * ieee80211_find_sta (struct ieee80211_vif *vif , const u8 *addr ); ARGUMENTS vif virtual interface to look for station on addr station's address RETURN The station, if found. NULL otherwise. NOTE This function must be cal...
ieee80211_find_sta_by_ifaddr(9)
NAME ieee80211_find_sta_by_ifaddr - find a station on hardware SYNOPSIS struct ieee80211_sta * ieee80211_find_sta_by_ifaddr (struct ieee80211_hw *hw , const u8 *addr , const u8 *localaddr ); ARGUMENTS hw pointer as obtained from ieee80211_alloc_hw addr remote station's address localadd...
ieee80211_find_sta_by_link_addrs(9)
NAME ieee80211_find_sta_by_link_addrs - find STA by link addresses SYNOPSIS struct ieee80211_sta * ieee80211_find_sta_by_link_addrs (struct ieee80211_hw *hw , const u8 *addr , const u8 *localaddr , unsigned int *link_id ); ARGUMENTS hw pointer as obtained from ieee80211_alloc_hw addr remote st...
ieee80211_fix_reserved_tid(9)
NAME ieee80211_fix_reserved_tid - return the TID to use if this one is reserved SYNOPSIS u8 ieee80211_fix_reserved_tid (u8 tid ); ARGUMENTS tid the assumed-reserved TID RETURN the alternative TID to use, or 0 on error SEE ALSO Kernel file ./net/mac80211/wme.c ieee80211_set_qos_hdr(9) April 2026 ...
ieee80211_fragment_element(9)
NAME ieee80211_fragment_element - fragment the last element in skb SYNOPSIS void ieee80211_fragment_element (struct sk_buff *skb , u8 *len_pos , u8 frag_id ); ARGUMENTS skb The skbuf that the element was added to len_pos Pointer to length of the element to fragment frag_id The element ...
ieee80211_free_hw(9)
NAME ieee80211_free_hw - free hardware descriptor SYNOPSIS void ieee80211_free_hw (struct ieee80211_hw *hw ); ARGUMENTS 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 ...
ieee80211_free_txskb(9)
NAME ieee80211_free_txskb - free TX skb SYNOPSIS void ieee80211_free_txskb (struct ieee80211_hw *hw , struct sk_buff *skb ); ARGUMENTS hw the hardware skb the skb DESCRIPTION Free a transmit skb. Use this function when some failure to transmit happened and thus status cannot be reported. SE...
ieee80211_freq_khz_to_channel(9)
NAME ieee80211_freq_khz_to_channel - convert frequency to channel number SYNOPSIS int ieee80211_freq_khz_to_channel (u32 freq ); ARGUMENTS freq center frequency in KHz RETURN The corresponding channel, or 0 if the conversion failed. SEE ALSO Kernel file ./include/net/cfg80211.h Kernel API(9), Kernel AP...
ieee80211_frequency_to_channel(9)
NAME ieee80211_frequency_to_channel - convert frequency to channel number SYNOPSIS int ieee80211_frequency_to_channel (int freq ); ARGUMENTS freq center frequency in MHz RETURN The corresponding channel, or 0 if the conversion failed. SEE ALSO Kernel file ./include/net/cfg80211.h Kernel API(9), Kernel API(9...
ieee80211_generic_frame_duration(9)
NAME ieee80211_generic_frame_duration - Calculate the duration field for a frame SYNOPSIS __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 ); ARGUMENTS hw pointer obtained from ieee80211_allo...
ieee80211_get_8023_tunnel_proto(9)
NAME ieee80211_get_8023_tunnel_proto - get RFC1042 or bridge tunnel encap protocol SYNOPSIS bool ieee80211_get_8023_tunnel_proto (const void *hdr , __be16 *proto ); ARGUMENTS hdr pointer to the MSDU payload proto destination pointer to store the protocol DESCRIPTION Check for RFC1042 or bridge ...
ieee80211_get_DA(9)
NAME ieee80211_get_DA - get pointer to DA SYNOPSIS u8 * ieee80211_get_DA (struct ieee80211_hdr *hdr ); ARGUMENTS hdr the frame RETURN a pointer to the destination address (DA) DESCRIPTION Given an 802.11 frame, this function returns the offset to the destination address (DA). It does not verify that the ...
ieee80211_get_SA(9)
NAME ieee80211_get_SA - get pointer to SA SYNOPSIS u8 * ieee80211_get_SA (struct ieee80211_hdr *hdr ); ARGUMENTS hdr the frame RETURN a pointer to the source address (SA) DESCRIPTION Given an 802.11 frame, this function returns the offset to the source address (SA). It does not verify that the header is lon...
ieee80211_get_assoc_led_name(9)
NAME ieee80211_get_assoc_led_name - get name of association LED SYNOPSIS const char * ieee80211_get_assoc_led_name (struct ieee80211_hw *hw ); ARGUMENTS hw the hardware to get the LED trigger name for DESCRIPTION mac80211 creates a association LED trigger for each wireless hardware that can be used to drive...
ieee80211_get_buffered_bc(9)
NAME ieee80211_get_buffered_bc - accessing buffered broadcast and multicast frames SYNOPSIS struct sk_buff * ieee80211_get_buffered_bc (struct ieee80211_hw *hw , struct ieee80211_vif *vif ); ARGUMENTS hw pointer as obtained from ieee80211_alloc_hw. vif struct ieee80211_vif pointer from the ad...
ieee80211_get_channel(9)
NAME ieee80211_get_channel - get channel struct from wiphy for specified frequency SYNOPSIS struct ieee80211_channel * ieee80211_get_channel (struct wiphy *wiphy , int freq ); ARGUMENTS wiphy the struct wiphy to get the channel for freq the center frequency (in MHz) of the channel RETURN The cha...
ieee80211_get_channel_khz(9)
NAME ieee80211_get_channel_khz - get channel struct from wiphy for specified frequency SYNOPSIS struct ieee80211_channel * ieee80211_get_channel_khz (struct wiphy *wiphy , u32 freq ); ARGUMENTS wiphy the struct wiphy to get the channel for freq the center frequency (in KHz) of the channel RETURN...
ieee80211_get_eht_iftype_cap(9)
NAME ieee80211_get_eht_iftype_cap - return EHT capabilities for an sband's iftype SYNOPSIS const struct ieee80211_sta_eht_cap * ieee80211_get_eht_iftype_cap (const struct ieee80211_supported_band *sband , enum nl80211_iftype iftype ); ARGUMENTS sband the sband to search for the iftype on iftype enu...
ieee80211_get_eht_iftype_cap_vif(9)
NAME ieee80211_get_eht_iftype_cap_vif - return EHT capabilities for sband/vif SYNOPSIS const struct ieee80211_sta_eht_cap * ieee80211_get_eht_iftype_cap_vif (const struct ieee80211_supported_band *sband , struct ieee80211_vif *vif ); ARGUMENTS sband the sband to search for the iftype on vif the ...