aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
authorJohannes Berg <johannes.berg@intel.com>2025-03-13 13:49:39 +0100
committerJohannes Berg <johannes.berg@intel.com>2025-04-23 15:09:25 +0200
commit76a853f86c97b348dc96e75a6e6f94d8750715ee (patch)
tree4cab54b71da847f5f11e52ffc7242756385019ab /include
parent46380bf020790643d880a750f25c5cce720e0ac5 (diff)
downloadath-76a853f86c97b348dc96e75a6e6f94d8750715ee.tar.gz
wifi: free SKBTX_WIFI_STATUS skb tx_flags flag
Jason mentioned at netdevconf that we've run out of tx_flags in the skb_shinfo(). Gain one bit back by removing the wifi bit. We can do that because the only userspace application for it (hostapd) doesn't change the setting on the socket, it just uses different sockets, and normally doesn't even use this any more, sending the frames over nl80211 instead. Reviewed-by: Jason Xing <kerneljasonxing@gmail.com> Link: https://patch.msgid.link/20250313134942.52ff54a140ec.If390bbdc46904cf451256ba989d7a056c457af6e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/skbuff.h3
-rw-r--r--include/net/sock.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index b974a277975a8..9ee39670e8f40 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -481,9 +481,6 @@ enum {
/* generate software time stamp on packet tx completion */
SKBTX_COMPLETION_TSTAMP = 1 << 3,
- /* generate wifi status information (where possible) */
- SKBTX_WIFI_STATUS = 1 << 4,
-
/* determine hardware time stamp based on time or cycles */
SKBTX_HW_TSTAMP_NETDEV = 1 << 5,
diff --git a/include/net/sock.h b/include/net/sock.h
index 694f954258d43..36b2191097908 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -2736,8 +2736,6 @@ static inline void _sock_tx_timestamp(struct sock *sk,
*tskey = atomic_inc_return(&sk->sk_tskey) - 1;
}
}
- if (unlikely(sock_flag(sk, SOCK_WIFI_STATUS)))
- *tx_flags |= SKBTX_WIFI_STATUS;
}
static inline void sock_tx_timestamp(struct sock *sk,