mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
mac80211: Reorganize kerneldoc parameter names
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://patch.msgid.link/20240930112121.95324-28-Julia.Lawall@inria.fr Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
bd9813d13b
commit
b0b6646a9d
@ -220,12 +220,12 @@ static void prepare_frame_for_deferred_tx(struct ieee80211_sub_if_data *sdata,
|
||||
/**
|
||||
* mesh_path_error_tx - Sends a PERR mesh management frame
|
||||
*
|
||||
* @sdata: local mesh subif
|
||||
* @ttl: allowed remaining hops
|
||||
* @target: broken destination
|
||||
* @target_sn: SN of the broken destination
|
||||
* @target_rcode: reason code for this PERR
|
||||
* @ra: node this frame is addressed to
|
||||
* @sdata: local mesh subif
|
||||
*
|
||||
* Note: This function may be called with driver locks taken that the driver
|
||||
* also acquires in the TX path. To avoid a deadlock we don't transmit the
|
||||
@ -1137,8 +1137,8 @@ void mesh_path_start_discovery(struct ieee80211_sub_if_data *sdata)
|
||||
/**
|
||||
* mesh_nexthop_resolve - lookup next hop; conditionally start path discovery
|
||||
*
|
||||
* @skb: 802.11 frame to be sent
|
||||
* @sdata: network subif the frame will be sent through
|
||||
* @skb: 802.11 frame to be sent
|
||||
*
|
||||
* Lookup next hop for given skb and start path discovery if no
|
||||
* forwarding information is found.
|
||||
@ -1245,8 +1245,8 @@ void mesh_path_refresh(struct ieee80211_sub_if_data *sdata,
|
||||
* this function is considered "using" the associated mpath, so preempt a path
|
||||
* refresh if this mpath expires soon.
|
||||
*
|
||||
* @skb: 802.11 frame to be sent
|
||||
* @sdata: network subif the frame will be sent through
|
||||
* @skb: 802.11 frame to be sent
|
||||
*
|
||||
* Returns: 0 if the next hop was found. Nonzero otherwise.
|
||||
*/
|
||||
|
@ -300,8 +300,8 @@ __mesh_path_lookup_by_idx(struct mesh_table *tbl, int idx)
|
||||
|
||||
/**
|
||||
* mesh_path_lookup_by_idx - look up a path in the mesh path table by its index
|
||||
* @idx: index
|
||||
* @sdata: local subif, or NULL for all entries
|
||||
* @idx: index
|
||||
*
|
||||
* Returns: pointer to the mesh path structure, or NULL if not found.
|
||||
*
|
||||
@ -315,8 +315,8 @@ mesh_path_lookup_by_idx(struct ieee80211_sub_if_data *sdata, int idx)
|
||||
|
||||
/**
|
||||
* mpp_path_lookup_by_idx - look up a path in the proxy path table by its index
|
||||
* @idx: index
|
||||
* @sdata: local subif, or NULL for all entries
|
||||
* @idx: index
|
||||
*
|
||||
* Returns: pointer to the proxy path structure, or NULL if not found.
|
||||
*
|
||||
@ -670,8 +670,8 @@ void mesh_fast_tx_flush_addr(struct ieee80211_sub_if_data *sdata,
|
||||
|
||||
/**
|
||||
* mesh_path_add - allocate and add a new path to the mesh path table
|
||||
* @dst: destination address of the path (ETH_ALEN length)
|
||||
* @sdata: local subif
|
||||
* @dst: destination address of the path (ETH_ALEN length)
|
||||
*
|
||||
* Returns: 0 on success
|
||||
*
|
||||
@ -916,8 +916,8 @@ static int table_path_del(struct mesh_table *tbl,
|
||||
/**
|
||||
* mesh_path_del - delete a mesh path from the table
|
||||
*
|
||||
* @addr: dst address (ETH_ALEN length)
|
||||
* @sdata: local subif
|
||||
* @addr: dst address (ETH_ALEN length)
|
||||
*
|
||||
* Returns: 0 if successful
|
||||
*/
|
||||
@ -996,8 +996,8 @@ int mesh_path_send_to_gates(struct mesh_path *mpath)
|
||||
/**
|
||||
* mesh_path_discard_frame - discard a frame whose path could not be resolved
|
||||
*
|
||||
* @skb: frame to discard
|
||||
* @sdata: network subif the frame was to be sent through
|
||||
* @skb: frame to discard
|
||||
*
|
||||
* Locking: the function must me called within a rcu_read_lock region
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user