From: Israel Kozitz Date: Mon, 4 May 2026 09:17:40 +0000 (+0300) Subject: wifi: cfg80211: fix max_channel_switch_time documentation unit X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0814869dc26e7f82b31683fdfc5d43dcf3331f9f;p=thirdparty%2Fkernel%2Flinux.git wifi: cfg80211: fix max_channel_switch_time documentation unit The max_channel_switch_time field in struct wiphy_nan_capa was documented as being in milliseconds, but it is actually in microseconds as defined in the Wi-Fi Aware specification and as indicated in the nl80211 NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME attribute. Fix the documentation to say microseconds. Signed-off-by: Israel Kozitz Reviewed-by: Ilan Peer Signed-off-by: Miri Korenblit Link: https://patch.msgid.link/20260504121734.d0a0152f7d8c.I47e5c91f7ead4f8006fb13f9194d95a55cf9c398@changeid Signed-off-by: Johannes Berg --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index a40ab36b8edb..51eded4204cf 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -6027,7 +6027,7 @@ enum wiphy_nan_flags { * nibble indicates the number of TX antennas and upper nibble indicates the * number of RX antennas. Value 0 indicates the information is not * available. - * @max_channel_switch_time: maximum channel switch time in milliseconds. + * @max_channel_switch_time: maximum channel switch time in microseconds. * @dev_capabilities: NAN device capabilities as defined in Wi-Fi Aware (TM) * specification Table 79 (Capabilities field). * @phy: Band-agnostic capabilities for NAN data interfaces. Since NAN