linux/drivers/net/wireless
Kalle Valo 2703bc8513 wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb()
make htmldocs warns:

Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.h:5170: WARNING: Duplicate C declaration, also defined at mac80211:1117.
Declaration is '.. c:function:: void ieee80211_tx_status (struct ieee80211_hw *hw, struct sk_buff *skb)'.

This is because there's a function named ieee80211_tx_status() and a struct named
ieee80211_tx_status. This has been discussed previously but no solution found:

https://lore.kernel.org/all/20220521114629.6ee9fc06@coco.lan/

There's also a bug open for three years with no solution in sight:

https://github.com/sphinx-doc/sphinx/pull/8313

So I guess we have no other solution than to a workaround this in the code,
for example to rename the function to ieee80211_tx_status_skb() to avoid the
name conflict. I got the idea for the name from ieee80211_tx_status_noskb() in
which the skb is not provided as an argument, instead with
ieee80211_tx_status_skb() the skb is provided.

Compile tested only.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231012114229.2931808-2-kvalo@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-10-23 12:26:51 +02:00
..
admtek
ath wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
atmel wifi: atmel: remove unused ioctl function 2023-10-14 09:41:21 +03:00
broadcom wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
cisco
intel wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
intersil wifi: hostap: remove unused ioctl function 2023-10-14 09:41:22 +03:00
legacy
marvell Merge wireless into wireless-next 2023-10-06 17:08:47 +03:00
mediatek wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
microchip wifi: wilc1000: use vmm_table as array in wilc struct 2023-10-19 10:30:34 +03:00
purelifi
quantenna wifi: cfg80211: split struct cfg80211_ap_settings 2023-09-25 09:00:39 +02:00
ralink wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
realtek wifi: rtlwifi: drop chk_switch_dmdp() from HAL interface 2023-10-19 10:29:45 +03:00
rsi
silabs wifi: wfx: fix case where rates are out of order 2023-10-09 09:54:14 +03:00
st wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
ti wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
virtual wifi: mac80211_hwsim: Handle BSS_CHANGED_VALID_LINKS 2023-09-25 09:12:33 +02:00
zydas
Kconfig
Makefile