cfg80211: rename offchannel_chain structs to background_chain to avoid confusion with ETSI standard
ETSI standard defines "Offchannel CAC" as: "Off-Channel CAC is performed by a number of non-continuous checks spread over a period in time. This period, which is required to determine the presence of radar signals, is defined as the Off-Channel CAC Time.. Minimum Off-Channel CAC Time 6 minutes and Maximum Off-Channel CAC Time 4 hours..". mac80211 implementation refers to a dedicated hw chain used for continuous radar monitoring. Rename offchannel_* references to background_* in order to avoid confusion with ETSI standard. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://lore.kernel.org/r/4204cc1d648d76b44557981713231e030a3bd991.1638190762.git.lorenzo@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
852a07c10d
commit
a95bfb876f
+10
-10
@@ -4073,14 +4073,14 @@ struct mgmt_frame_regs {
|
||||
* those to decrypt (Re)Association Request and encrypt (Re)Association
|
||||
* Response frame.
|
||||
*
|
||||
* @set_radar_offchan: Configure dedicated offchannel chain available for
|
||||
* @set_radar_background: Configure dedicated offchannel chain available for
|
||||
* radar/CAC detection on some hw. This chain can't be used to transmit
|
||||
* or receive frames and it is bounded to a running wdev.
|
||||
* Offchannel radar/CAC detection allows to avoid the CAC downtime
|
||||
* Background radar/CAC detection allows to avoid the CAC downtime
|
||||
* switching to a different channel during CAC detection on the selected
|
||||
* radar channel.
|
||||
* The caller is expected to set chandef pointer to NULL in order to
|
||||
* disable offchannel CAC/radar detection.
|
||||
* disable background CAC/radar detection.
|
||||
*/
|
||||
struct cfg80211_ops {
|
||||
int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
|
||||
@@ -4413,8 +4413,8 @@ struct cfg80211_ops {
|
||||
struct cfg80211_color_change_settings *params);
|
||||
int (*set_fils_aad)(struct wiphy *wiphy, struct net_device *dev,
|
||||
struct cfg80211_fils_aad *fils_aad);
|
||||
int (*set_radar_offchan)(struct wiphy *wiphy,
|
||||
struct cfg80211_chan_def *chandef);
|
||||
int (*set_radar_background)(struct wiphy *wiphy,
|
||||
struct cfg80211_chan_def *chandef);
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -7626,9 +7626,9 @@ cfg80211_radar_event(struct wiphy *wiphy,
|
||||
}
|
||||
|
||||
static inline void
|
||||
cfg80211_offchan_radar_event(struct wiphy *wiphy,
|
||||
struct cfg80211_chan_def *chandef,
|
||||
gfp_t gfp)
|
||||
cfg80211_background_radar_event(struct wiphy *wiphy,
|
||||
struct cfg80211_chan_def *chandef,
|
||||
gfp_t gfp)
|
||||
{
|
||||
__cfg80211_radar_event(wiphy, chandef, true, gfp);
|
||||
}
|
||||
@@ -7663,13 +7663,13 @@ void cfg80211_cac_event(struct net_device *netdev,
|
||||
enum nl80211_radar_event event, gfp_t gfp);
|
||||
|
||||
/**
|
||||
* cfg80211_offchan_cac_abort - Channel Availability Check offchan abort event
|
||||
* cfg80211_background_cac_abort - Channel Availability Check offchan abort event
|
||||
* @wiphy: the wiphy
|
||||
*
|
||||
* This function is called by the driver when a Channel Availability Check
|
||||
* (CAC) is aborted by a offchannel dedicated chain.
|
||||
*/
|
||||
void cfg80211_offchan_cac_abort(struct wiphy *wiphy);
|
||||
void cfg80211_background_cac_abort(struct wiphy *wiphy);
|
||||
|
||||
/**
|
||||
* cfg80211_gtk_rekey_notify - notify userspace about driver rekeying
|
||||
|
||||
@@ -3939,14 +3939,14 @@ struct ieee80211_prep_tx_info {
|
||||
* twt structure.
|
||||
* @twt_teardown_request: Update the hw with TWT teardown request received
|
||||
* from the peer.
|
||||
* @set_radar_offchan: Configure dedicated offchannel chain available for
|
||||
* @set_radar_background: Configure dedicated offchannel chain available for
|
||||
* radar/CAC detection on some hw. This chain can't be used to transmit
|
||||
* or receive frames and it is bounded to a running wdev.
|
||||
* Offchannel radar/CAC detection allows to avoid the CAC downtime
|
||||
* Background radar/CAC detection allows to avoid the CAC downtime
|
||||
* switching to a different channel during CAC detection on the selected
|
||||
* radar channel.
|
||||
* The caller is expected to set chandef pointer to NULL in order to
|
||||
* disable offchannel CAC/radar detection.
|
||||
* disable background CAC/radar detection.
|
||||
* @net_fill_forward_path: Called from .ndo_fill_forward_path in order to
|
||||
* resolve a path for hardware flow offloading
|
||||
*/
|
||||
@@ -4277,8 +4277,8 @@ struct ieee80211_ops {
|
||||
struct ieee80211_twt_setup *twt);
|
||||
void (*twt_teardown_request)(struct ieee80211_hw *hw,
|
||||
struct ieee80211_sta *sta, u8 flowid);
|
||||
int (*set_radar_offchan)(struct ieee80211_hw *hw,
|
||||
struct cfg80211_chan_def *chandef);
|
||||
int (*set_radar_background)(struct ieee80211_hw *hw,
|
||||
struct cfg80211_chan_def *chandef);
|
||||
int (*net_fill_forward_path)(struct ieee80211_hw *hw,
|
||||
struct ieee80211_vif *vif,
|
||||
struct ieee80211_sta *sta,
|
||||
|
||||
Reference in New Issue
Block a user