mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
wifi: nl80211: transmit control port frames without wiphy mutex
Only mac80211 currently implements tx_control_port, and it no longer needs the wiphy mutex, so don't take it here. Link: https://patch.msgid.link/20261009201417.d89a3bc2b1ec.I30d12968a0d4ab7a4ac8d0995a9ab7583b0ce2ef@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
5b8528cb74
commit
1b6713fe8f
|
|
@ -5271,6 +5271,7 @@ struct mgmt_frame_regs {
|
|||
* @tx_control_port: TX a control port frame (EAPoL). The noencrypt parameter
|
||||
* tells the driver that the frame should not be encrypted. A @cookie
|
||||
* value of 0 means the caller does not want TX status reporting.
|
||||
* Called without the wiphy mutex.
|
||||
*
|
||||
* @get_ftm_responder_stats: Retrieve FTM responder statistics, if available.
|
||||
* Statistics should be cumulative, currently no way to reset is provided.
|
||||
|
|
|
|||
|
|
@ -21070,7 +21070,8 @@ static const struct genl_small_ops nl80211_small_ops[] = {
|
|||
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
|
||||
.doit = nl80211_tx_control_port,
|
||||
.flags = GENL_UNS_ADMIN_PERM,
|
||||
.internal_flags = IFLAGS(NL80211_FLAG_NEED_NETDEV_UP),
|
||||
.internal_flags = IFLAGS(NL80211_FLAG_NEED_NETDEV_UP |
|
||||
NL80211_FLAG_NO_WIPHY_MTX),
|
||||
},
|
||||
{
|
||||
.cmd = NL80211_CMD_GET_FTM_RESPONDER_STATS,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user